]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove __ASSUME_STAT64_SYSCALL.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ad845c0b
JM
12012-08-27 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6 Remove conditional code.
7 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9 Remove conditional code.
10 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11 * sysdeps/unix/sysv/linux/i386/fxstat.c
12 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17 * sysdeps/unix/sysv/linux/i386/lxstat.c
18 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21 Remove conditional code.
22 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24 Remove conditional code.
25 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27 <kernel-features.h>.
28 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29 Remove.
30 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31 Remove conditional code.
32 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34 Remove conditional.
35
5dbf56af
MF
362012-08-27 Mike Frysinger <vapier@gentoo.org>
37
38 [BZ #5400]
39 * NEWS: Add fixed bug number.
40
d6e70f43
JM
412012-08-27 Joseph Myers <joseph@codesourcery.com>
42
7efb4737
JM
43 [BZ #14519]
44 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45 underflowing exponent in case of negative sign.
46 * stdlib/tst-strtod-round-data: Add more tests.
47 * stdlib/tst-strtod-round.c (tests): Regenerated.
48
af92131a
JM
49 [BZ #3479]
50 * stdlib/strtod_l.c (NDIG): Remove.
51 (HEXNDIG): Likewise.
52 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53 smallest representable value.
54 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
55 lie within an exact representation of 1/2 ulp of the result.
56 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57 unconditionally.
58 (TENS_P9_IDX): Define unconditionally.
59 (TENS_P9_SIZE): Likewise.
60 (TENS_P10_IDX): Likewise.
61 (TENS_P10_SIZE): Likewise.
62 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
65 entries for 10^2^13 and 10^2^14.
66 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67 (TENS_P13_IDX): Define.
68 (TENS_P13_SIZE): Likewise.
69 (TENS_P14_IDX): Likewise.
70 (TENS_P14_SIZE): Likewise.
71 (_fpioconst_pow10): Change array size to
72 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
73 unconditional.
74 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
75 1024]: Add entries for 10^2^13 and 10^2^14.
76 [LAST_POW10 > _LAST_POW10]: Remove #error.
77 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
78 (_fpioconst_pow10): Change array size to
79 FPIOCONST_POW10_ARRAY_SIZE.
80 * stdlib/gen-fpioconst.c: New file.
81 * stdlib/gen-tst-strtod-round.c: Likewise.
82 * stdlib/tst-strtod-round-data: Likewise.
83 * stdlib/tst-strtod-round.c: Likewise.
84 * stdlib/Makefile (tests): Add tst-strtod-round.
85
d6e70f43
JM
86 [BZ #14459]
87 * stdlib/strtod_l.c: Include <stdint.h>.
88 (NDEBUG): Do not define.
89 (round_and_return): Change EXPONENT parameter to type intmax_t.
90 Rearrange calculations to avoid internal overflow possibilities.
91 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
92 Rearrange calculations to avoid internal overflow possibilities.
93 Assert that number fits inside MPNSIZE limbs.
94 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
95 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
96 calculations and add assertions to avoid internal overflow
97 possibilities. Add casts to avoid signed/unsigned operations.
98 * stdlib/tst-strtod-overflow.c: New file.
99 * stdlib/Makefile (tests): Add tst-strtod-overflow.
100
1f529f7d
MP
1012012-08-25 Marek Polacek <polacek@redhat.com>
102
103 * time/time.h: Fix some typos in comments.
104
59a629f1
RM
1052012-08-23 Roland McGrath <roland@hack.frob.com>
106
107 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
108 * posix/tst-rfc3484-2.c: Likewise.
109 * posix/tst-rfc3484-3.c: Likewise.
110
d3bafbc9
SM
1112012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
112
113 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
114 (EF_ARM_ABI_FLOAT_HARD): Likewise.
115
4efcc022
JM
1162012-08-23 Joseph Myers <joseph@codesourcery.com>
117
118 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
119 #include of fxstatat64.c.
120
3cc3ef96
RM
1212012-08-22 Roland McGrath <roland@hack.frob.com>
122
f04e2132
RM
123 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
124 * shadow/getspent_r.c: Likewise.
125 * shadow/getspnam.c: Likewise.
126 * shadow/getspnam_r.c: Likewise.
127 * gshadow/getsgent.c: Likewise.
128 * gshadow/getsgent_r.c: Likewise.
129 * gshadow/getsgnam.c: Likewise.
130 * gshadow/getsgnam_r.c: Likewise.
131 * inet/getnetbyad.c: Likewise.
132 * inet/getnetbyad_r.c: Likewise.
133 * inet/getnetbynm.c: Likewise.
134 * inet/getnetbynm_r.c: Likewise.
135 * inet/getnetent.c: Likewise.
136 * inet/getnetent_r.c: Likewise.
137 * inet/getproto.c: Likewise.
138 * inet/getproto_r.c: Likewise.
139 * inet/getprtent.c: Likewise.
140 * inet/getprtent_r.c: Likewise.
141 * inet/getprtname.c: Likewise.
142 * inet/getprtname_r.c: Likewise.
143 * inet/getrpcbyname.c: Likewise.
144 * inet/getrpcbyname_r.c: Likewise.
145 * inet/getrpcbynumber.c: Likewise.
146 * inet/getrpcbynumber_r.c: Likewise.
147 * inet/getrpcent.c: Likewise.
148 * inet/getrpcent_r.c: Likewise.
149 * inet/getaliasent.c: Likewise.
150 * inet/getaliasent_r.c: Likewise.
151 * inet/getaliasname.c: Likewise.
152 * inet/getaliasname_r.c: Likewise.
153 * nscd/getgrgid_r.c: Likewise.
154 * nscd/getgrnam_r.c: Likewise.
155 * nscd/gethstbyad_r.c: Likewise.
156 * nscd/gethstbynm3_r.c: Likewise.
157 * nscd/getpwnam_r.c: Likewise.
158 * nscd/getpwuid_r.c: Likewise.
159 * nscd/getsrvbynm_r.c: Likewise.
160 * nscd/getsrvbypt_r.c: Likewise.
161 * nscd/gai.c: Likewise.
162
c53d909c
RM
163 * configure.in (build_nscd): New substituted variable, set
164 by --disable-build-nscd and defaults to $use_nscd.
165 * configure: Regenerated.
166 * config.make.in (build-nscd): New substituted variable.
167 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
168 Change conditional to require [$(build-nscd) = yes] as well.
169 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
170
3cc3ef96
RM
171 [BZ# 13696]
172 * configure.in (use_nscd): New substituted variable, set by
173 --disable-nscd. If enabled, define USE_NSCD.
174 * configure: Regenerated.
175 * config.h.in: Add USE_NSCD.
176 * config.make.in (use-nscd): New substituted variable.
177 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
178 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
179 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
180 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
181 (CFLAGS-getgrnam_r.c): Likewise.
182 (CFLAGS-initgroups.c): Likewise.
183 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
184 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
185 Variables removed.
186 * inet/getnetgrent_r.c
187 (nscd_setnetgrent): New function, broken out of ...
188 (setnetgrent): ... here. Call it.
189 (innetgr): Conditionalize nscd bits on [USE_NSCD].
190 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
191 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
192 * nscd/Makefile (routines, aux): Move definitions after include of
193 Makeconfig. Conditionalize on [$(use-nscd) != no].
194 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
195 Conditionalize on [USE_NSCD].
196 (is_nscd, nscd_init_cb): Likewise.
197 (nss_load_library): Conditionalize init callback on [USE_NSCD].
198 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
199 * nss/nss_db/db-init.c: Likewise.
200 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
201 [USE_NSCD].
202 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
203 (make_request): Use it.
204 (cache_valid_p): New function.
205 (__check_pf): Use it.
206 * NEWS: Add item for --disable-nscd.
207
07e51550
DL
2082012-08-22 Dmitry V. Levin <ldv@altlinux.org>
209
210 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
211 to support sed >= 4.2.1-20-ga9bf076.
212 * configure: Regenerated.
213
35a5b08b
RM
2142012-08-22 Roland McGrath <roland@hack.frob.com>
215
216 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
217 Conditionalize whole body on [IREL].
218
8479f23a
JL
2192012-08-22 Jeff Law <law@redhat.com>
220
221 [BZ #14505]
222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
223 if the family is PF_UNSPEC.
224
48da0b21
MF
2252012-08-22 Mike Frysinger <vapier@gentoo.org>
226
227 * Makerules (lib-version): Rename from V.
228 (install-lib-nosubdir): Change V to lib-version.
229
15d0da8c
WS
2302012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
231
232 [BZ #14252]
233 * powerpc32/power6/wcschr.c: New file.
234 * powerpc32/power6/wcscpy.c: New file.
235 * powerpc32/power6/wcsrchr.c: New file.
236 * powerpc64/power6/wcschr.c: New file.
237 * powerpc64/power6/wcscpy.c: New file.
238 * powerpc64/power6/wcsrchr.c: New file.
239
bcca0895
MK
2402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
241
242 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
243 (two_way_short_needle): Use it.
5a4aaa33
RM
244 * string/strstr.c (AVAILABLE1_USES_J): Define.
245 * string/strcasestr.c: Likewise.
99677e57
MK
246
247 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
248 array references.
249 * string/strcasestr.c (TOLOWER): Make side-effect safe.
250
400726de
MK
251 [BZ #11607]
252 * NEWS: Add an entry.
253 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
254 define their defaults.
255 (two_way_short_needle): Detect end-of-string on-the-fly.
256 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
257 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
258 * string/bug-strcasestr1.c: New test.
259 * string/Makefile: Run it.
260
20a71f2c
MK
2612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
262
263 [BZ #11607]
264 * string/str-two-way.h (two_way_short_needle): Optimize matching of
265 the first character.
266
21ad0558
RM
2672012-08-21 Roland McGrath <roland@hack.frob.com>
268
269 * csu/elf-init.c (__libc_csu_irel): Function removed.
270 * csu/libc-start.c (apply_irel): New function.
271 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
272
0e1d9911
JM
2732012-08-21 Joseph Myers <joseph@codesourcery.com>
274
275 * sysdeps/unix/sysv/linux/kernel-features.h
276 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
277 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
278 <kernel-features.h>.
279 [__NR_fadvise64_64]: Make code unconditional.
280 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
281 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
282 !__NR_fadvise64_64)]: Likewise.
283 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
284 !__NR_fadvise64_64))]: Likewise.
285 [__NR_fadvise64]: Make code unconditional.
286 [!__NR_fadvise64]: Remove conditional code.
287 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
288 <kernel-features.h>.
289 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
290 unconditional.
291 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
292 conditional code.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
294 not include <kernel-features.h>.
295 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
296 unconditional.
297 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
298 conditional code.
299 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
300 include <kernel-features.h>.
301 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
302 unconditional.
303 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
304 conditional code.
305
14a50c9d
WS
3062012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
307
308 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
309 slight instruction rearrangements per scrollpipe analysis.
310 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
311
c0f4faf0
RM
3122012-08-20 Roland McGrath <roland@hack.frob.com>
313
696da859
RM
314 * manual/syslog.texi (syslog; vsyslog, closelog):
315 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
316 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
317
c0f4faf0
RM
318 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
319 DSOCAPS to match condition on defining it.
320
348363b2
JM
3212012-08-20 Joseph Myers <joseph@codesourcery.com>
322
a35cbf28
JM
323 * sysdeps/unix/sysv/linux/kernel-features.h
324 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
326 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
327 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
329 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
330 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
332 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
333 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
334
445f7ecd
JM
335 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
336 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
337
348363b2
JM
338 * sysdeps/unix/sysv/linux/kernel-features.h
339 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
340 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
341 unconditional.
342 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
343 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
344 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
345 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
346 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
347 Make code unconditional.
348 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
349 (__mmap64) [!__NR_mmap2]: Likewise.
350 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
351 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
352 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
353 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
354 [__NR_mmap2]: Make code unconditional.
355 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
356 (__mmap64) [!__NR_mmap2]: Likewise.
357
bc5bc0e5
AK
3582012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
359
360 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
361
88d506de
AJ
3622012-08-18 Andreas Jaeger <aj@suse.de>
363
364 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
365
493387d2
MF
3662012-08-18 Mike Frysinger <vapier@gentoo.org>
367
368 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
369 * include/unistd.h (__have_sock_cloexec): Likewise.
370 (__have_pipe2): Likewise.
371 (__have_dup3): Likewise.
372
a277af22
MF
3732012-08-18 Mike Frysinger <vapier@gentoo.org>
374
375 [BZ #9685]
376 * include/unistd.h (__have_pipe2): Change define into an extern int.
377 (__have_dup3): Likewise.
378 * socket/have_sock_cloexec.c: Include fcntl.h.
379 (__have_pipe2): New variable.
380 (__have_dup3): Likewise.
381
fdab8fd3
MF
3822012-08-17 Mike Frysinger <vapier@gentoo.org>
383
384 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
385
31035e80
MP
3862012-08-17 Marek Polacek <polacek@redhat.com>
387
388 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
389 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
390
3bd9e993
RM
3912012-08-17 Roland McGrath <roland@hack.frob.com>
392
c91c505f
RM
393 * configure.in: Add AC_SUBST for sysheaders.
394 * configure: Regenerated.
395 * config.make.in (sysheaders): New substituted variable.
396
7c6f9d53
RM
397 * sysdeps/unix/mkfifo.c: Moved ...
398 * sysdeps/posix/mkfifo.c: ... here.
399 * sysdeps/unix/mkfifoat.c: Moved ...
400 * sysdeps/posix/mkfifoat.c: ... here.
401
402 * sysdeps/unix/utime.c: Moved ...
403 * sysdeps/posix/utime.c: ... here.
404
405 * sysdeps/unix/time.c: Moved ...
406 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
407 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
408 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
409
410 * sysdeps/unix/nice.c: Moved ...
411 * sysdeps/posix/nice.c: ... here.
412
413 * sysdeps/unix/alarm.c: Moved ...
414 * sysdeps/posix/alarm.c: ... here.
415
3bd9e993
RM
416 * intl/Makefile ($(codeset_mo)): Depend on the input file.
417
d1f09384
JL
4182012-08-17 Jeff Law <law@redhat.com>
419
420 * intl/Makefile (codeset_mo): New variable.
421 ($(codeset_mo)): New target.
422 (tst-codeset.out): Depend on that. Remove explicit rule.
423 (tst-gettext3.out, tst-gettext5.out): Likewise.
424 (LOCPATH-ENV, tst-codeset-ENV): New variables.
425 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
426 * intl/tst-codeset.sh: Remove.
427 * intl/tst-gettext3.sh: Likewise.
428 * intl/tst-gettext5.sh: Likewise.
429
2ae1ae5c
RM
4302012-08-17 Roland McGrath <roland@hack.frob.com>
431
c31fdb83
RM
432 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
433 * sysdeps/unix/syscalls.list: ... here.
434
a0844057
RM
435 * sysdeps/posix/getaddrinfo.c
436 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
437 (gaiconf_init, gaiconf_reload): Use them.
438 [!_STATBUF_ST_NSEC]
439 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
440 Define using time_t rather than struct timespec.
441
750c1f2a
RM
442 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
443 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
444 Macros removed.
445 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
446 [!NO_THREADS].
447 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
448 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
449 Likewise.
450
2ae1ae5c
RM
451 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
452 __libc_cleanup_push argument.
453
e66a42f5
RM
454 * bits/param.h: New file.
455 * misc/sys/param.h: New file.
456 * include/sys/param.h: New file.
457 * misc/Makefile (headers): Add bits/param.h.
458 * sysdeps/generic/sys/param.h: File removed.
459 * sysdeps/unix/sysv/linux/bits/param.h: New file.
460 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
461 * sysdeps/mach/hurd/bits/param.h: New file.
462 * sysdeps/mach/hurd/sys/param.h: New file.
463
b7c08a66
RM
464 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
465 last change.
466
b2e1c562
RM
467 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
468 [_IO_MTSAFE_IO].
469 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
470 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
471 New macros.
472
c75ccd4c
RM
473 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
474 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
475 rather than -D_IO_MTSAFE_IO conditionally.
476 * stdio-common/Makefile (CPPFLAGS): Likewise.
477 * wcsmbs/Makefile (CPPFLAGS): Likewise.
478 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
479 Use $(libio-mtsafe).
480 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
481 of -D_IO_MTSAFE_IO.
482 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
483 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
484 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
485 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
486 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
487 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
488 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
489 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
490 (CFLAGS-fread_u_chk.c): Likewise.
491 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
492 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
493 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
494 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
495 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
496 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
497 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
498 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
499 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
500
501 * libio/Makefile: Test [$(libc-reentrant) = yes]
502 instead of [$(filter %REENTRANT, $(defines)) nonempty].
503
504 * Makeconfig
505 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
506 * sysdeps/pthread/configure: File removed.
507 * sysdeps/pthread/Makeconfig: New file.
508 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
509 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
510
d9195db8
GB
5112012-08-16 Gary Benson <gbenson@redhat.com>
512
513 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
514 unmapping the first object in a namespace.
515
86466cd9
RM
5162012-08-16 Roland McGrath <roland@hack.frob.com>
517
518 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
519 (__internal_setnetgrent): ... this. Add internal_function to
520 definition. Add libc_hidden_def.
521 (setnetgrent): Update caller.
522 (internal_endnetgrent): Renamed to ...
523 (__internal_endnetgrent): ... this. Add internal_function to
524 definition. Add libc_hidden_def.
525 (endnetgrent): Update caller.
526 (internal_getnetgrent_r): Renamed to ...
527 (__internal_getnetgrent_r): ... this. Add internal_function to
528 definition. Add libc_hidden_def.
529 (__getnetgrent_r): Update caller.
530 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
531
c3c8283c
JM
5322012-08-16 Joseph Myers <joseph@codesourcery.com>
533
534 * stdlib/longlong.h: Update from GCC.
535
db1ee0a8
RM
5362012-08-16 Roland McGrath <roland@hack.frob.com>
537
538 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
539 on _QL, which is set by umul_ppmm but never used.
540 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
541 variables, which are set by GMP macros but never used.
542 * stdio-common/_itowa.c (_itowa): Likewise.
543 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
544 * stdlib/mod_1.c (mpn_mod_1): Likewise.
545
30f69637
CD
5462012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
547
548 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
549 struct La_sh_regs is not constant.
550 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
551 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
552 and struct La_sparc64_regs are not constant.
553
93a78ac4
JM
5542012-08-16 Joseph Myers <joseph@codesourcery.com>
555
556 * sysdeps/unix/sysv/linux/kernel-features.h
557 (__ASSUME_POSIX_TIMERS): Remove.
558 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
559 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
560 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
561 Make code unconditional.
562 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
563 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
564 Make code unconditional.
565 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
566 * sysdeps/unix/sysv/linux/clock_nanosleep.c
567 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
568 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
569 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
570 Make code unconditional.
571 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
572 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
573 (__libc_missing_posix_timers): Remove.
574
dd924cd7
RM
5752012-08-15 Roland McGrath <roland@hack.frob.com>
576
4b4f2771
RM
577 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
578 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
579
601c888b
RM
580 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
581
176790a7
RM
582 * elf/dl-sym.c: Include <stdlib.h>.
583
329bc018
RM
584 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
585 constants, which avoids warnings in 32-bit builds.
586
e04e272d
RM
587 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
588 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
589
952bf94a
RM
590 * misc/lseek.c: File moved to ...
591 * io/lseek.c: ... here.
592
7c99b50a
RM
593 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
594
dd924cd7
RM
595 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
596 shifting LEN more than 31 bits at once.
597
b3f479a8
LD
5982012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
599
600 [BZ #14195]
8c4ae0d4
RM
601 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
602 segmentation fault for a case of two empty input strings.
b3f479a8
LD
603 * string/test-strncasecmp.c (check1): Renamed to...
604 (bz12205): ...this.
605 (bz14195): Add new testcase for two empty input strings and N > 0.
606 (test_main): Call new testcase, adapt for renamed function.
607
9c55864e
AJ
6082012-08-15 Andreas Jaeger <aj@suse.de>
609
610 [BZ #14090]
611 * crypt/md5test2.c: New test, based on test supplied by Serge
612 Belyshev <belyshev@depni.sinp.msu.ru>.
613 * crypt/Makefile (xtests): Add md5test-giant..
614 * crypt/Makefile ($(objpfx)md5test-giant): Add.
615
02dcb6c5
PE
6162012-08-15 Paul Eggert <eggert@cs.ucla.edu>
617
618 [BZ #14090]
619 * crypt/md5.c (md5_process_block): Don't assume the buffer
620 length is less than 2**32.
621 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
622 length is less than 2**64.
623
a3f95dcc
RM
6242012-08-15 Roland McGrath <roland@hack.frob.com>
625
be75d758
RM
626 * string/str-two-way.h: Include <sys/param.h>.
627 (MAX): Macro removed.
628
7312ca90
RM
629 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
630 Move #define and #undef of memmove to just before and after
631 including <string.h>.
632
9a0a5486
RM
633 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
634 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
635 and after including <string.h>. Move declarations of
636 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
637 to before #include "string/memmove.c".
638
67cc348d
RM
639 * include/dirent.h: Declare __getdirentries.
640
a3f95dcc
RM
641 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
642 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
643
ca98e171
MF
6442012-08-14 Mike Frysinger <vapier@gentoo.org>
645
646 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
647 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
648 * sysdeps/i386/configure: Regenerated.
649 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
650 STABS_CURRENT_FILE, and STABS_FUN.
651 (END): Remove call to STABS_FUN_END.
652 (STABS_CURRENT_FILE1): Delete.
653 (STABS_CURRENT_FILE): Likewise.
654 (STABS_FUN): Likewise.
655 (STABS_FUN_END): Likewise.
656 (STABS_FUN2): Likewise.
657 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
658 * sysdeps/x86_64/configure: Regenerated.
659
5908bf46
RM
6602012-08-14 Roland McGrath <roland@hack.frob.com>
661
662 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 663 * elf/dl-lookup.c: Likewise.
5908bf46 664
f2c05b9e
JM
6652012-08-14 Joseph Myers <joseph@codesourcery.com>
666
667 * sysdeps/unix/sysv/linux/kernel-features.h
668 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
669 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
670 unconditionally.
671 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
672 unconditionally.
673 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
674 condition on __ASSUME_CLONE_THREAD_FLAGS.
675
e11f5155
AJ
6762012-08-14 Andreas Jaeger <aj@suse.de>
677
678 * sysdeps/i386/fpu/libm-test-ulps: Update.
679
51a9ba86
MK
6802012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
681
2fdd4f78
AJ
682 * include/atomic.h (atomic_exchange_and_add): Split into ...
683 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
684 New atomic macros.
51a9ba86 685
ba6cba9e
MT
6862012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
687
688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
689
42443a47
JL
6902012-08-13 Jeff Law <law@redhat.com>
691
692 * manual/stdio.texi (snprintf): Clarify handling of the trailing
693 null byte in the output string.
694
121dce05
JM
6952012-08-10 Joseph Myers <joseph@codesourcery.com>
696
697 * sysdeps/unix/sysv/linux/kernel-features.h
698 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
699 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
700 (__ASSUME_ARG_MAX_STACK_BASED): Define.
701 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
702 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
703 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
704 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
705
bf51f568
JL
7062012-08-09 Jeff Law <law@redhat.com>
707
708 [BZ #13939]
709 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
710 When avoid_arena is set, don't retry in the that arena. Pick the
711 next one, whatever it might be.
712 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
713 (arena_lock): Pass in new parameter to arena_get2.
714 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
715 arena_get2.
716 (__libc_malloc): Unify retrying after main arena failure with
717 __libc_memalign version.
718 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
719
f85fa270
L
7202012-08-09 H.J. Lu <hongjiu.lu@intel.com>
721
722 [BZ #14166]
723 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
724 to __redirect_strstr.
725 (__strstr_sse42): Use typeof __redirect_strstr.
726 (__strstr_ia32): Likewise.
727 (__libc_strstr): New prototype.
728 (strstr): Renamed to ...
729 (__libc_strstr): This.
730 (strstr): New strong alias of __libc_strstr.
731 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
732 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
733 __redirect_time.
734 Include <time.h>.
735 (__libc_time): New prototype.
736 (time_ifunc): Replace time with __libc_time.
737 (time): New strong alias and hidden definition of __libc_time.
738 (__GI_time): Remove strong alias.
739 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
740 Include <stddef.h>.
741 (memmove): Redefined to __redirect_memmove.
742 (__memmove_sse2): Use typeof __redirect_memmove.
743 (__memmove_ssse3): Likewise.
744 (__memmove_ssse3_back): Likewise.
745 (__libc_memmove): New prototype.
746 (memmove): Renamed to ...
747 (__libc_memmove): This.
748 (memmove): New strong alias of __libc_memmove.
749
33b4a91e
MS
7502012-08-08 Mark Salter <msalter@redhat.com>
751
752 * elf/elf.h
753 (R_MN10300_TLS_GD): Define.
754 (R_MN10300_TLS_LD): Likewise.
755 (R_MN10300_TLS_LDO): Likewise.
756 (R_MN10300_TLS_GOTIE): Likewise.
757 (R_MN10300_TLS_IE): Likewise.
758 (R_MN10300_TLS_LE): Likewise.
759 (R_MN10300_TLS_DTPMOD): Likewise.
760 (R_MN10300_TLS_DTPOFF): Likewise.
761 (R_MN10300_TLS_TPOFF): Likewise.
762 (R_MN10300_SYM_DIFF): Likewise.
763 (R_MN10300_ALIGN): Likewise.
764 (R_MN10300_NUM): Update.
765
b36137f1
JM
7662012-08-08 Joseph Myers <joseph@codesourcery.com>
767
768 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
769 Remove.
770
cdd915fd
RM
7712012-08-08 Roland McGrath <roland@hack.frob.com>
772
a2433aac
RM
773 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
774
cdd915fd
RM
775 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
776 sysdeps/unix -> sysdeps/posix move.
777 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
778
bf9b740a
AM
7792012-08-07 Allan McRae <allan@archlinux.org>
780
781 [BZ #14303]
782 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
783 (SUNOS_CPP): Likewise.
784 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
785 not found.
786 (open_input): Call CPP using execvp.
787
93df14ee
JM
7882012-08-07 Joseph Myers <joseph@codesourcery.com>
789
790 * sysdeps/unix/sysv/linux/kernel-features.h
791 (__ASSUME_PROT_GROWSUPDOWN): Remove.
792 (__ASSUME_NO_CLONE_DETACHED): Likewise.
793 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
794 (__ASSUME_WAITID_SYSCALL): Likewise.
795 * sysdeps/unix/sysv/linux/dl-execstack.c
796 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
797 code unconditional.
798 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
799 conditional code.
800 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
801 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
802 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
803 code.
804 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
805 unconditional.
806 [__ASSUME_WAITID_SYSCALL]: Likewise.
807 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
808
d34689de
RM
8092012-08-07 Roland McGrath <roland@hack.frob.com>
810
a281decc
RM
811 * sysdeps/unix/closedir.c: Renamed to ...
812 * sysdeps/posix/closedir.c: ... here.
813 * sysdeps/unix/dirfd.c: Renamed to ...
814 * sysdeps/posix/dirfd.c: ... here.
815 * sysdeps/unix/dirstream.h: Renamed to ...
816 * sysdeps/posix/dirstream.h: ... here.
817 * sysdeps/unix/fdopendir.c: Renamed to ...
818 * sysdeps/posix/fdopendir.c: ... here.
819 * sysdeps/unix/opendir.c: Renamed to ...
820 * sysdeps/posix/opendir.c: ... here.
821 * sysdeps/unix/readdir.c: Renamed to ...
822 * sysdeps/posix/readdir.c: ... here.
823 * sysdeps/unix/readdir_r.c: Renamed to ...
824 * sysdeps/posix/readdir_r.c: ... here.
825 * sysdeps/unix/rewinddir.c: Renamed to ...
826 * sysdeps/posix/rewinddir.c: ... here.
827 * sysdeps/unix/seekdir.c: Renamed to ...
828 * sysdeps/posix/seekdir.c: ... here.
829 * sysdeps/unix/telldir.c: Renamed to ...
830 * sysdeps/posix/telldir.c: ... here.
831 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
832 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
833 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
834 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
835
22895b47
RM
836 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
837 * bits/fcntl.h: ... here.
838
707a53b6
RM
839 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
840 not 0.
841 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
842 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
843 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
844 (struct flock): Move l_start, l_len to the beginning.
845 Use __pid_t for l_pid.
846 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
847 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
848 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
849 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
850 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
851 [__USE_LARGEFILE64] (struct flock64): New type.
852 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
853
f0bd3e25
RM
854 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
855 * bits/dirent.h: ... here.
856
d34689de
RM
857 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
858 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
859
6dad2c06
JM
8602012-08-07 Joseph Myers <joseph@codesourcery.com>
861
862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
863 Change from 2.6.0 to 2.6.16.
864 * sysdeps/unix/sysv/linux/configure: Regenerated.
865 * sysdeps/unix/sysv/linux/kernel-features.h
866 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
867 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
868 version.
869 (__ASSUME_UTIMES): Likewise.
870 (__ASSUME_CLONE_STOPPED): Remove.
871 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
872 architectures, not kernel version.
873 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
874 (__ASSUME_NO_CLONE_DETACHED): Likewise.
875 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
876 (__ASSUME_WAITID_SYSCALL): Likewise.
877 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
878 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
879 * README: State 2.6.16 as minimum Linux kernel version. Do not
880 refer to older versions.
881
03af9520
RM
8822012-08-06 Roland McGrath <roland@hack.frob.com>
883
8e49df1d
RM
884 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
885 Define alphasort64 as an alias.
886 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
887 Define versionsort64 as an alias.
888 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
889 Define scandir64 as an alias.
890 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
891 Define scandirat64 as an alias.
892 * dirent/alphasort64.c (alphasort64):
893 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
894 * dirent/versionsort64.c: Likewise.
895 * dirent/scandir64.c: Likewise.
896 * dirent/scandirat64.c: Likewise.
897 * sysdeps/wordsize-64/alphasort.c: File removed.
898 * sysdeps/wordsize-64/alphasort64.c: File removed.
899 * sysdeps/wordsize-64/scandir.c: File removed.
900 * sysdeps/wordsize-64/scandir64.c: File removed.
901 * sysdeps/wordsize-64/scandirat.c: File removed.
902 * sysdeps/wordsize-64/scandirat64.c: File removed.
903 * sysdeps/wordsize-64/versionsort.c: File removed.
904 * sysdeps/wordsize-64/versionsort64.c: File removed.
905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
906 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
907 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
908 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
909 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
910 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
912 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
913
914 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
915 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
916 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
917 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
918 [defined __arch64__ || defined __sparcv9]
919 (__INO_T_MATCHES_INO64_T): New macro.
920 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
921 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
922 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
923 * sysdeps/unix/sysv/linux/bits/dirent.h
924 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
925 (_DIRENT_MATCHES_DIRENT64): New macro.
926
03af9520
RM
927 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
928 Define lockf64 as an alias.
929 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
930 Define fseeko64 as an alias.
931 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
932 Define ftello64 as an alias.
933 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
934 Define _IO_fgetpos64 and fgetpos64 as aliases.
935 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
936 Define _IO_fsetpos64 and fsetpos64 as aliases.
937 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
938 Conditionalize body on this.
939 * libio/fseeko64.c: Likewise.
940 * libio/ftello64.c: Likewise.
941 * libio/iofgetpos64.c: Likewise.
942 * libio/iofsetpos64.c: Likewise.
943 * sysdeps/wordsize-64/lockf.c: File removed.
944 * sysdeps/wordsize-64/lockf64.c: File removed.
945 * sysdeps/wordsize-64/fseeko.c: File removed.
946 * sysdeps/wordsize-64/fseeko64.c: File removed.
947 * sysdeps/wordsize-64/ftello.c: File removed.
948 * sysdeps/wordsize-64/ftello64.c: File removed.
949 * sysdeps/wordsize-64/iofgetpos.c: File removed.
950 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
951 * sysdeps/wordsize-64/iofsetpos.c: File removed.
952 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
953 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
954 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
955 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
956 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
957 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
958 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
959 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
960 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
961 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
962 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
963
964 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
965 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
966 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
967 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
968 [defined __arch64__ || defined __sparcv9]
969 (__OFF_T_MATCHES_OFF64_T): New macro.
970 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
971 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
973 (__OFF_T_MATCHES_OFF64_T): New macro.
974
c5757acd
L
9752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
976
977 * stdlib/secure-getenv.c (__secure_getenv): Replace
978 GLIBC_2_16 with GLIBC_2_17.
979
3a31811e
L
9802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
981
982 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
983 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
984
faa2bccb
DM
9852012-08-03 David S. Miller <davem@davemloft.net>
986
987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
988
85fe1997
JM
9892012-08-03 Joseph Myers <joseph@codesourcery.com>
990
991 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
992 Remove.
993 (__ASSUME_CORRECT_SI_PID): Likewise.
994 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
995 (__ASSUME_TMPFS_NAME): Likewise.
996 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
997 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
998 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
999 (HAVE_AUX_SECURE): Make definition unconditional.
1000 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1001 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1002
4f75b7a0
RM
10032012-08-03 Roland McGrath <roland@hack.frob.com>
1004
1005 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1006 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1007 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1008 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1009 __eloop_threshold instead of SYMLOOP_MAX.
1010
1011 * sysdeps/generic/eloop-threshold.h: New file.
1012 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1013 of MAXSYMLINKS.
1014 * elf/chroot_canon.c (chroot_canon): Likewise.
1015
7aab07e4
JM
10162012-08-03 Joseph Myers <joseph@codesourcery.com>
1017
1018 [BZ #13717]
1019 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1020 Change to 2.6.0 everywhere.
1021 * sysdeps/unix/sysv/linux/configure: Regenerated.
1022 * sysdeps/unix/sysv/linux/kernel-features.h
1023 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1024 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1025 kernel versions.
1026 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1027 (__ASSUME_FUTEX_REQUEUE): Remove.
1028 (__ASSUME_STATFS64): Define unconditionally.
1029 (__ASSUME_AT_SECURE): Likewise.
1030 (__ASSUME_CORRECT_SI_PID): Likewise.
1031 (__ASSUME_TGKILL): Define without depending on kernel version for
1032 i386.
1033 (__ASSUME_UTIMES): Likewise.
1034 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1035 kernel version.
1036 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1037 (__ASSUME_TMPFS_NAME): Likewise.
1038 * README: Update reference to Linux kernel versions.
1039
b67e9372
MP
10402012-08-02 Marek Polacek <polacek@redhat.com>
1041
1f529f7d 1042 [BZ# 14150]
b67e9372
MP
1043 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1044 libc_cv_asm_type_prefix with %.
1045 * configure: Regenerated.
d2441631
RM
1046 * include/libc-symbols.h: Remove comment about
1047 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1048 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1049 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1050 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1051 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1052 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1053 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1054 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1055 * elf/tst-unique2mod1.c: Likewise.
1056 * elf/tst-unique1mod2.c: Likewise.
1057 * elf/tst-unique1mod1.c: Likewise.
1058 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1059 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1060 Replace ASM_TYPE_DIRECTIVE with .type.
1061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1062 * sysdeps/i386/sysdep.h: Likewise.
1063 * sysdeps/x86_64/sysdep.h: Likewise.
1064 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1066 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1067 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1068 * sysdeps/powerpc/powerpc32/sysdep.h:
1069 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1070 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1071 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1072 * sysdeps/i386/fpu/e_powf.S: Likewise.
1073 * sysdeps/i386/fpu/e_expl.S: Likewise.
1074 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1075 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1076 * sysdeps/i386/fpu/e_pow.S: Likewise.
1077 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1078 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1079 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1080 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1081 * sysdeps/i386/fpu/e_log2.S: Likewise.
1082 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1083 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1084 * sysdeps/i386/fpu/e_powl.S: Likewise.
1085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1086 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1087 * sysdeps/i386/fpu/e_logl.S: Likewise.
1088 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1089 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1090 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1091 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1092 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1093 * sysdeps/i386/fpu/e_log.S: Likewise.
1094 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1095 * sysdeps/i386/fpu/e_logf.S: Likewise.
1096 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1097 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1098 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1099 * sysdeps/i386/fpu/e_log10.S: Likewise.
1100 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1101 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1102 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1103 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1104 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1105 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1106 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1107 * sysdeps/i386/i686/strtok.S: Likewise.
1108 * sysdeps/i386/i386-mcount.S: Likewise.
1109 * sysdeps/i386/strtok.S: Likewise.
1110 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1111 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1112 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1113 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1114 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1115 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1116 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1117 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1118 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1119 * sysdeps/x86_64/_mcount.S: Likewise.
1120 * sysdeps/x86_64/strtok.S: Likewise.
1121 * sysdeps/sh/_mcount.S: Likewise.
1122
2747bf9a
RM
11232012-08-01 Roland McGrath <roland@hack.frob.com>
1124
1125 * libio/iofopen.c: Include <fcntl.h>.
1126 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1127 (_IO_fopen64, fopen64): Define as aliases.
1128 * libio/iofopen64.c: Include <fcntl.h>.
1129 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1130 Conditionalize body on this.
1131 * sysdeps/wordsize-64/iofopen.c: File removed.
1132 * sysdeps/wordsize-64/iofopen64.c: File removed.
1133
3fb791b8
MP
11342012-08-01 Marek Polacek <polacek@redhat.com>
1135
1136 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1137 Use dlfcn directly instead of a variable.
1138 (binfmt-subdir): Do not define.
1139 (dlfcn): Likewise.
1140
a9f1039f
JM
11412012-08-01 Joseph Myers <joseph@codesourcery.com>
1142
23bddc06
JM
1143 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1144 Remove all definitions.
1145 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1146 <kernel-features.h>.
1147 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1148 (miss_F_GETOWN_EX): Remove all definitions.
1149 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1150 macro definition.
1151 [!__ASSUME_FCNTL64]: Remove conditional code.
1152 [__ASSUME_FCNTL64]: Make code unconditional.
1153 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1154 <kernel-features.h>.
1155 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1156 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1157 (lockf64) [__NR_fcntl64]: Make code unconditional.
1158 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1159
a9f1039f
JM
1160 * sysdeps/unix/sysv/linux/kernel-features.h
1161 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1162 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1163 Make code unconditional.
1164 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1165 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1167 [__NR_vfork]: Make code unconditional.
1168 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1169 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1171 [__NR_vfork]: Make code unconditional.
1172 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1173 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1174
09c0ee5f
RM
11752012-08-01 Roland McGrath <roland@hack.frob.com>
1176
48aec5b9
RM
1177 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1178 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1179
cd97c966
RM
1180 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1181 Define mkstemp64 as an alias.
3f55550c
RM
1182 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1183 Define mkstemps64 as an alias.
cd97c966
RM
1184 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1185 Define mkostemp64 as an alias.
b8625cfc
RM
1186 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1187 Define mkostemps64 as an alias.
cd97c966
RM
1188 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1189 Conditionalize body on this.
1190 * misc/mkostemp64.c: Likewise.
b8625cfc 1191 * misc/mkostemps64.c: Likewise.
3f55550c 1192 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1193 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1194 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1195 * sysdeps/wordsize-64/mkostemp.c: File removed.
1196 * sysdeps/wordsize-64/mkstemp.c: File removed.
1197 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1199 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1201
09c0ee5f
RM
1202 [BZ #14138]
1203 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1204 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1205 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1206 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1207
1208 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1209 compat_symbol macros from <shlib-compat.h> rather than the underlying
1210 default_symbol_version and symbol_version macros, so that DEFAULT
1211 lines in shlib-versions are respected.
1212 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1213
7e66ee51
FW
12142012-08-01 Florian Weimer <fweimer@redhat.com>
1215
1216 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1217 Declare with warn_unused_result.
1218 (setgid, setregid, setegid, setresgid): Likewise.
1219 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1220 Likewise.
1221 * WUR-REPORT: Remove set*id functions.
1222
d2a54255
PT
12232012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1224
1225 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1226
7ecdb005
RM
12272012-07-31 Roland McGrath <roland@hack.frob.com>
1228
789bd351
RM
1229 * include/sys/socket.h (__libc_accept, __libc_accept4):
1230 Add attribute_hidden.
1231 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1232
40ce302d
RM
1233 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1234 use of PTR_MANGLE.
1235 * inet/getnetgrent_r.c (setup): Likewise.
1236
7ecdb005
RM
1237 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1238
e2eabb2c
DM
12392012-07-31 David S. Miller <davem@davemloft.net>
1240
1241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1242
d0419dbf
JM
12432012-07-31 Joseph Myers <joseph@codesourcery.com>
1244
1245 [BZ #13629]
1246 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1247 value between 1.0 and 2.0 and smaller part has absolute value less
1248 than 1.0.
1249 * math/s_clog10.c (__clog10): Likewise.
1250 * math/s_clog10f.c (__clog10f): Likewise.
1251 * math/s_clog10l.c (__clog10l): Likewise.
1252 * math/s_clogf.c (__clogf): Likewise.
1253 * math/s_clogl.c (__clogl): Likewise.
1254 * math/libm-test.inc (clog_test): Add more tests.
1255 (clog10_test): Likewise.
1256 * sysdeps/i386/fpu/libm-test-ulps: Update.
1257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1258
2bc13872
FW
12592012-07-31 Florian Weimer <fweimer@redhat.com>
1260
1261 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1262 Exit with zero in case no suitable GID is found, and write a
1263 message to standard error.
1264
bea9b193
RM
12652012-07-30 Roland McGrath <roland@hack.frob.com>
1266
1267 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1268 rather than to 1.
1269 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1270 (MAXPATHLEN): Removed.
1271 (NOGROUP, NODEV): New macros.
1272 (setbit, clrbit, isset, isclr): New macros.
1273 (howmany, roundup, powerof2): New macros.
1274 (DEV_BSIZE): New macro.
1275
1276 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1277 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1278
1279 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1280 definition on [!__NO_LONG_DOUBLE_MATH].
1281
1282 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1283 PTR_MANGLE and PTR_DEMANGLE.
1284
1285 * socket/accept4.c (accept4): Rename to __libc_accept4.
1286 Define accept4 as a weak alias.
1287
1288 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1289 on [_DIRENT_HAVE_D_TYPE].
1290 * io/ftw.c (ftw_dir): Likewise.
1291
1292 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1293
1294 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1295
1296 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1297 Use the BSD numbers rather than the arbitrary ones we had.
1298 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1299 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1300 (SIGXCPU, SIGXFSZ): New macros.
1301 (_NSIG): Now 32.
1302
1303 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1304 initializer on [_LIBC_REENTRANT].
1305
1306 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1307 definitions inside [_POSIX_MAPPED_FILES].
1308
1309 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1310
1311 * dirent/opendir.c: Include <fcntl.h>.
1312
1313 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1314 (__libc_getspecific): Likewise.
1315 (__libc_key_create): Likewise.
1316
1317 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1318 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1319 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1320 (tmpfile64): Define as alias.
1321 * sysdeps/wordsize-64/tmpfile.c: File removed.
1322 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1323 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1325
1326 * stdio-common/vfscanf.c: Include <stdbool.h>.
1327 * nss/makedb.c: Likewise.
1328 * stdio-common/_i18n_number.h: Likewise.
1329 * argp/argp-help.c: Likewise.
1330 * posix/wordexp.c: Likewise.
1331 * sysdeps/posix/spawni.c: Likewise.
1332 * nss/nss_files/files-initgroups.c: Likewise.
1333 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1334 * nss/nss_files/files-initgroups.c: Likewise.
1335 * nss/nss_db/db-netgrp.c: Likewise.
1336 * nss/nss_db/db-initgroups.c: Likewise.
1337 * io/fchmodat.c: Include <sys/stat.h>.
1338
1339 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1340 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1341
1342 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1343 [HAVE_MMAP].
1344
1345 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1346 Add multiple inclusion protection.
1347
e5abc686
DM
13482012-07-27 David S. Miller <davem@davemloft.net>
1349
1350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1351
815e6fa3
GB
13522012-07-27 Gary Benson <gbenson@redhat.com>
1353
1354 [BZ #14298]
1355 * elf/rtld.c: Include <stap-probe.h>.
1356 (dl_main): Added static probes "init_start" and "init_complete".
1357 * elf/dl-load.c: Include <stap-probe.h>.
1358 (lose): Take new parameter "nsid".
1359 Added static probe "map_failed".
1360 (_dl_map_object_from_fd): Pass namespace id to lose.
1361 Added static probe "map_start".
1362 (open_verify): Pass namespace id to lose.
1363 * elf/dl-open.c: Include <stap-probe.h>.
1364 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1365 and "reloc_complete".
1366 * elf/dl-close.c: Include <stap-probe.h>.
1367 (_dl_close_worker): Added static probes "unmap_start" and
1368 "unmap_complete".
1369 * elf/rtld-debugger-interface.txt: New file documenting the above.
1370
9f98c16c
RM
13712012-07-26 Roland McGrath <roland@hack.frob.com>
1372
1373 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1374 rather than a string variable.
1375 * sunrpc/rpc_main.c (h_output): Likewise.
1376 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1377
f3c22df3
PT
13782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1379
1380 * inet/check_native.c: New file.
1381
3129cfc6
JM
13822012-07-26 Joseph Myers <joseph@codesourcery.com>
1383
da865e95
JM
1384 [BZ #13629]
1385 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1386 if larger part has absolute value 1.0.
1387 * math/s_clog10.c (__clog10): Likewise.
1388 * math/s_clog10f.c (__clog10f): Likewise.
1389 * math/s_clog10l.c (__clog10l): Likewise.
1390 * math/s_clogf.c (__clogf): Likewise.
1391 * math/s_clogl.c (__clogl): Likewise.
1392 * math/libm-test.inc (clog_test): Add more tests.
1393 (clog10_test): Likewise.
1394 * sysdeps/i386/fpu/libm-test-ulps: Update.
1395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1396
3129cfc6
JM
1397 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1398 (pltexit): Likewise.
1399 (La_regs): Likewise.
1400 (La_retval): Likewise.
1401 (int_retval): Likewise.
1402 Update #error for removed macros to refer only to definitions in
1403 tst-audit.h.
1404 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1405 macro.
1406 (pltexit): Likewise.
1407 (La_regs): Likewise.
1408 (La_retval): Likewise.
1409 (int_retval): Likewise.
1410 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1411 macro.
1412 (pltexit): Likewise.
1413 (La_regs): Likewise.
1414 (La_retval): Likewise.
1415 (int_retval): Likewise.
1416 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1417 macro.
1418 (pltexit): Likewise.
1419 (La_regs): Likewise.
1420 (La_retval): Likewise.
1421 (int_retval): Likewise.
1422 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1423 macro.
1424 (pltexit): Likewise.
1425 (La_regs): Likewise.
1426 (La_retval): Likewise.
1427 (int_retval): Likewise.
1428 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1429 macro.
1430 (pltexit): Likewise.
1431 (La_regs): Likewise.
1432 (La_retval): Likewise.
1433 (int_retval): Likewise.
1434 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1435 macro.
1436 (pltexit): Likewise.
1437 (La_regs): Likewise.
1438 (La_retval): Likewise.
1439 (int_retval): Likewise.
1440 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1441 macro definitions in tst-audit.h.
1442 * sysdeps/i386/tst-audit.h: New file.
1443 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1444 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1445 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1446 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1447 * sysdeps/sh/tst-audit.h: Likewise.
1448 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1449 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1450 * sysdeps/x86_64/tst-audit.h: Likewise.
1451
bfc07087
AJ
14522012-07-26 Andreas Jaeger <aj@suse.de>
1453
b1b2aaf8
AJ
1454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1455 ptrace.
1456
1457 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1458 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1459 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1460 PTRACE_O_MASK.
1461 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1462 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1463 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1464
bfc07087
AJ
1465 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1466 value.
1467
1468 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1469 _sigsys.
1470 (si_call_addr, si_syscall, si_arch): Define new macro.
1471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1472 _sigsys.
1473 (si_call_addr, si_syscall, si_arch): Define new marcro.
1474 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1475 _sigsys.
1476 (si_call_addr, si_syscall, si_arch): Define new macro.
1477 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1478 _sigsys.
1479 (si_call_addr, si_syscall, si_arch): Define new macro.
1480
89b4b02f
JM
14812012-07-25 Joseph Myers <joseph@codesourcery.com>
1482
1483 [BZ #13717]
1484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1485 Change to 2.4.21 where previously 2.4.1.
1486 * sysdeps/unix/sysv/linux/configure: Regenerated.
1487 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1488 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1489 Linux kernel version.
1490 (__ASSUME_STD_AUXV): Remove.
1491 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1492 kernel version.
1493 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1494 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1495 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1496 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1497 (__ASSUME_NETLINK_SUPPORT): Likewise.
1498 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1499 (__no_netlink_support): Remove conditional definition.
1500 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1501 Remove.
1502 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1503 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1504 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1505 (if_nameindex_ioctl): Remove.
1506 (if_nameindex_netlink): Do not handle __no_netlink_support.
1507 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1508 code.
1509 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1510 Remove conditional code.
1511 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1512 code.
1513 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1514 unconditional.
1515 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1516 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1517 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1518 Remove.
1519 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1520 [!__ASSUME_STD_AUXV]: Remove conditional code.
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1522 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1523 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1525 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1526 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1527 code.
1528 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1530 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1531 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1532 conditional code.
1533 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1535 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1536 code.
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1538 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1539 conditional code.
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1541 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1542 code unconditional.
1543 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1544 conditional code.
1545 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1546 unconditional.
1547 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1548 conditional code.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1550 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1551 unconditional.
1552 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1553 conditional code.
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1555 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1556 code unconditional.
1557 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1558 conditional code.
1559 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1560 unconditional.
1561 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1562 conditional code.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1564 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1565 code unconditional.
1566 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1567 conditional code.
1568 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1569 unconditional.
1570 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1571 conditional code.
1572
842a39cd
AS
15732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1574
1575 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1576 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1577 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1578 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1579 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1580 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1581 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1582 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1583 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1584 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1585 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1586 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1587 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1588 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1590 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1591 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1593 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1595 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1596 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1597 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1598
84b3fd84
FW
15992012-07-25 Florian Weimer <fweimer@redhat.com>
1600
1601 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1602 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1603 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1604 Introduce __libc_secure_getenv.
0c7936d5
FW
1605 * stdlib/Versions (2.17): Add secure_getenv
1606 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1607 * stdlib/secure-getenv.c: Rename __secure_getenv to
1608 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1609 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1610 * stdlib/tst-secure-getenv.c: New.
1611 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1612 * manual/startup.texi (Environment Access): Document
1613 secure_getenv.
84b3fd84
FW
1614 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1615 __libc_secure_getenv.
1616 * inet/ruserpass.c (ruserpass): Likewise.
1617 * malloc/mtrace.c (mtrace): Likewise.
1618 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1619 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1620 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1621 * sysdeps/posix/tempname.c: Likewise. Evaluate
1622 HAVE_SECURE_GETENV.
1623 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1624 __secure_getenv to __libc_secure_getenv.
84b3fd84 1625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1627 Likewise.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1629 Likewise.
1630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1637
56e49b71
JM
16382012-07-25 Joseph Myers <joseph@codesourcery.com>
1639
1640 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1641 (struct La_i86_retval): Likewise.
1642 (struct La_x86_64_regs): Likewise.
1643 (struct La_x86_64_retval): Likewise.
1644 (struct La_x32_regs): Likewise.
1645 (struct La_x32_retval): Likewise.
1646 (struct La_ppc32_regs): Likewise.
1647 (struct La_ppc32_retval): Likewise.
1648 (struct La_ppc64_regs): Likewise.
1649 (struct La_ppc64_retval): Likewise.
1650 (struct La_sh_regs): Likewise.
1651 (struct La_sh_retval): Likewise.
1652 (struct La_s390_32_regs): Likewise.
1653 (struct La_s390_32_retval): Likewise.
1654 (struct La_s390_64_regs): Likewise.
1655 (struct La_s390_64_retval): Likewise.
1656 (struct La_sparc32_regs): Likewise.
1657 (struct La_sparc32_retval): Likewise.
1658 (struct La_sparc64_regs): Likewise.
1659 (struct La_sparc64_retval): Likewise.
1660 (struct audit_ifaces): Remove architecture-specific pltenter and
1661 pltexit members.
1662 * sysdeps/i386/ldsodefs.h: New file.
1663 * sysdeps/powerpc/ldsodefs.h: Likewise.
1664 * sysdeps/s390/ldsodefs.h: Likewise.
1665 * sysdeps/sh/ldsodefs.h: Likewise.
1666 * sysdeps/sparc/ldsodefs.h: Likewise.
1667 * sysdeps/x86_64/ldsodefs.h: Likewise.
1668
354691b7
MP
16692012-07-25 Marek Polacek <polacek@redhat.com>
1670
1671 [BZ #6808]
1672 * math/libm-test.inc (yn_test): Add another test.
1673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1674 to ERANGE when the result is +-Inf.
1675 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1677 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1678 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1679
bf9e2071
JM
16802012-07-24 Joseph Myers <joseph@codesourcery.com>
1681
1682 * conform/data/time.h-data (NULL): Use macro-constant. Require
1683 equal to 0.
1684 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1685 clock_t.
1686 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1687
57633811
TS
16882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1689
1690 * configure.in <sysdeps resolving>: Correct printing
1691 Implies_before.
1692 * configure: Regenerate.
1693
c23c33b0
TS
16942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1695
1696 * math/w_ilogb.c: Include <limits.h>.
1697 * math/w_ilogbl.c: Likewise.
1698
b5982523
JM
16992012-07-20 Joseph Myers <joseph@codesourcery.com>
1700
1701 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1702 va_copy. Document allowing for unavailable va_copy only as
1703 pre-C99 compatibility.
1704 * manual/string.texi (Copying and Concatenation): Use va_copy
1705 instead of __va_copy in concat example.
1706
ac4ea442
PT
17072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1708
1709 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1710 (__sendto): Use create_address_port. Initialize APORT and deallocate
1711 it if not null.
1712
f98eafbd
PT
1713 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1714 with O_NOLINK passed to __file_name_lookup.
1715
898c7aab
PT
1716 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1717 with O_NOLINK passed to __file_name_lookup.
1718
0ced335a
PT
1719 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1720 negative N or less than NGIDS.
1721
b3404dbd
PT
1722 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1723 type to string_t. Set ERANGE as errno and return it if NAME is not big
1724 enough. Use memcpy instead of strncpy.
1725
0f48659e
JM
17262012-07-20 Joseph Myers <joseph@codesourcery.com>
1727
1728 * elf/Makefile (check-data): Remove.
1729 (localplt.data): New vpath directive.
1730 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1731 instead of $(check-data).
1732 * scripts/data/localplt-generic.data: Move to ...
1733 * sysdeps/generic/localplt.data: ... here.
1734 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1735 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1736 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1738 ... here.
1739 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1741 ... here.
1742 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1744 ... here.
1745 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1747 ... here.
1748 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1750 ... here.
1751 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1753 ... here.
1754
d37cbdaa
AZ
17552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1756
1757 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1758 PPC32 and PPC64 files.
1759 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1760 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1761
46f85fc2
AK
17622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1763
1764 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1765 __makecontext_ret to ...
1766 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1767 ... here and call exit if uc_link is NULL. New file.
1768 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1769 __makecontext_ret.S.
1770 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1771 __makecontext_ret to ...
1772 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1773 ... here and call exit if uc_link is NULL. New file.
1774 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1775 __makecontext_ret.S.
1776
08f43f9b
AK
17772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1778
1779 * elf/elf.h (R_390_IRELATIVE): New definition.
1780 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1781 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1782 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1784 (elf_machine_lazy_rel): Likewise.
1785 * sysdeps/s390/dl-irel.h: New file.
1786 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1787 * sysdeps/s390/s390-64/memset.S: New asm code.
1788 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1789 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1790 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1791 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1792 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1793 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1794 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1795 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1796 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1797 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1798 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1799 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1800 * sysdeps/s390/s390-32/memset.S: New asm code.
1801 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1802
3b05db33
MP
18032012-07-17 Marek Polacek <polacek@redhat.com>
1804
1805 [BZ #14349]
1806 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1807 * sysdeps/s390/s390-64/configure.in: Likewise.
1808 * sysdeps/sparc/configure.in: Likewise.
1809 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1810 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1811 * sysdeps/i386/configure.in: Likewise.
1812 * sysdeps/x86_64/configure.in: Likewise.
1813 * sysdeps/sh/configure.in: Likewise.
1814 * sysdeps/s390/s390-32/configure: Regenerated.
1815 * sysdeps/s390/s390-64/configure: Likewise.
1816 * sysdeps/x86_64/configure: Likewise.
1817 * sysdeps/sh/configure: Likewise.
1818 * sysdeps/powerpc/powerpc64/configure: Likewise.
1819 * sysdeps/powerpc/powerpc32/configure: Likewise.
1820 * sysdeps/sparc/configure: Likwise.
1821 * sysdeps/i386/configure: Likewise.
1822
a66877c6
MP
1823 * elf/dl-open.c: Comment fixes.
1824
cfc82fd8
JM
18252012-07-17 Joseph Myers <joseph@codesourcery.com>
1826
bd29910a
JM
1827 * Makefile [CXX] (check-data): Remove.
1828 [CXX] (c++-types.data): New vpath directive.
1829 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1830 vpath. Do not allow for C++ type data being missing.
1831 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1832 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1833 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1834 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1835 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1836 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1837 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1839 ... here.
1840 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1842 ... here.
1843 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1845 ... here.
1846 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1848 ... here.
1849 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1851 ... here.
1852 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1854 ... here.
1855 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1857 ... here.
1858 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1860
cfc82fd8
JM
1861 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1862 definitions to architecture-specific files.
1863 (TLS_IE): Likewise.
1864 (TLS_LD): Likewise.
1865 (TLS_GD): Likewise.
1866 * sysdeps/i386/tls-macros.h: New file.
1867 * sysdeps/powerpc/tls-macros.h: Likewise.
1868 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1869 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1870 * sysdeps/sh/tls-macros.h: Likewise.
1871 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1872 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1873 * sysdeps/x86_64/tls-macros.h: Likewise.
1874
f7db3170
TS
18752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1876
07cbfc23
TS
1877 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1878 zero value for regular exit case.
1879
f7db3170
TS
1880 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1881 (__start_context): Preserve zero value for regular exit case.
1882
dc97c227
TS
18832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1884 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1885
1886 * manual/setjmp.texi (setcontext): Clarify normal process
1887 termination when uc_link is the null pointer.
1888 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1889 exit call.
1890
d0cd7d02
AS
18912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1892
1893 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1894 preprocessor. Test for each exception mask separately.
1895
dd318934
AJ
18962012-07-16 Andreas Jaeger <aj@suse.de>
1897
1898 * po/ru.po: Update from translation team.
1899
8048311a
JM
19002012-07-15 Joseph Myers <joseph@codesourcery.com>
1901
1902 * conform/data/string.h-data (NULL): Use macro-constant. Require
1903 equal to 0.
1904 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1905 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1906 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1907 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1909
b637d46e
AJ
19102012-07-13 Andreas Jaeger <aj@suse.de>
1911
1912 * po/fr.po: Update from translation team.
1913
541428fe
MP
19142012-07-12 Marek Polacek <polacek@redhat.com>
1915
1916 [BZ #14173]
1917 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1918 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1919 loop condition.
1920
ec332e94
JM
19212012-07-12 Joseph Myers <joseph@codesourcery.com>
1922
1923 [BZ #13717]
1924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1925 Change to 2.4.1 where previously 2.4.0.
1926 * sysdeps/unix/sysv/linux/configure: Regenerated.
1927 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1928 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1929 version.
1930 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1931 (__ASSUME_AT_CLKTCK): Remove.
1932 (__ASSUME_AT_PAGESIZE): Likewise.
1933 (__ASSUME_AT_XID): Likewise.
1934 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1935 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1936 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1937 unconditionally.
1938 (HAVE_AUX_PAGESIZE): Likewise.
1939 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1940 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1941 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1942
7b6e99be
JB
19432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1944
1945 [BZ #14307]
1946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1947 the temporary buffer used to invoke __gethostbyname2_r,
1948 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1949 host_data / struct gaih_addrtuple.
1950 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1951 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1952 header file nss/nsswitch.h.
1953 * nss/nsswitch.h (global scope): Add definition of implementation
1954 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1955 resolv/nss_dns/dns-host.c).
1956
608404eb
AJ
19572012-07-11 Andreas Jaeger <aj@suse.de>
1958
1959 * po/fr.po: Update from translation team.
1960
71220aca
AJ
1961 * po/sv.po: Update from translation team
1962 * po/fr.po: Another update from translation team.
1963
28cfe843
AZ
19642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965
1966 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1967 for subnormals or multiply small sinh result by itself.
1968 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1970
6b90f981
DM
19712012-07-11 David S. Miller <davem@davemloft.net>
1972
1973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1974
c6825772
AS
19752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1976
1977 [BZ #14347]
1978 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1979 (INTERNAL_MARK): Shift it here.
1980
7b8e0d49
MP
19812012-07-10 Marek Polacek <polacek@redhat.com>
1982
1983 [BZ #14151]
1984 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1985 libc_cv_asm_global_directive with .globl.
1986 * configure: Regenerated.
1987 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1988 with .globl.
1989 * sysdeps/i386/configure: Regenerated.
1990 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1991 with .globl.
1992 * sysdeps/x86_64/configure: Regenerated.
1993 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1994 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1995 * elf/tst-unique2mod2.c: Likewise.
1996 * elf/tst-unique2mod1.c: Likewise.
1997 * elf/tst-unique1mod2.c: Likewise.
1998 * elf/tst-unique1mod1.c: Likewise.
1999 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2000 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2002 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2003 * sysdeps/mach/sysdep.h: Likewise.
2004 * sysdeps/i386/sysdep.h: Likewise.
2005 * sysdeps/i386/i386-mcount.S: Likewise.
2006 * sysdeps/x86_64/_mcount.S: Likewise.
2007 * sysdeps/x86_64/sysdep.h: Likewise.
2008 * sysdeps/sh/_mcount.S: Likewise.
2009 * sysdeps/sh/sysdep.h: Likewise.
2010 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2011 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2012 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2013 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2014 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2015 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2016 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2017 * locale/localeinfo.h: Likewise.
2018 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2019 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2020
6c55cda3
RM
20212012-07-09 Roland McGrath <roland@hack.frob.com>
2022
2023 [BZ #14336]
2024 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2025 system".
2026 * manual/message.texi (The Uniforum approach): Likewise.
2027 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2028 (glibc iconv Implementation): Likewise.
2029
638a572e
JM
20302012-07-09 Joseph Myers <joseph@codesourcery.com>
2031
2032 [BZ #14337]
2033 * math/s_clog.c (__clog): Avoid scaling a value down where that
2034 could result in underflow.
2035 * math/s_clog10.c (__clog10): Likewise.
2036 * math/s_clog10f.c (__clog10f): Likewise.
2037 * math/s_clog10l.c (__clog10l): Likewise.
2038 * math/s_clogf.c (__clogf): Likewise.
2039 * math/s_clogl.c (__clogl): Likewise.
2040 * math/libm-test.inc (clog_test): Add more tests.
2041 (clog10_test): Likewise.
2042 * sysdeps/i386/fpu/libm-test-ulps: Update.
2043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2044
261f4859
AS
20452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2046
0abaf3e4
AS
2047 [BZ #14283]
2048 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2049 by 7 not 8 to examine high bit of fractional part.
2050
261f4859
AS
2051 [BZ #14042]
2052 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2053 for call to __mcount_internal.
2054 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2055 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2056 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2057
f17ac40d
JM
20582012-07-06 Joseph Myers <joseph@codesourcery.com>
2059
9ad63c23
JM
2060 [BZ #14154]
2061 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2062 approximation for values within 0x1p-13f of an odd multiple of
2063 pi/4.
2064 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2065 exception. Add more tests.
2066 * sysdeps/i386/fpu/libm-test-ulps: Update.
2067
f17ac40d
JM
2068 [BZ #6778]
2069 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2070 inputs and return -1 for them. Do not check for +Inf in case not
2071 reachable for +Inf.
2072 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2073 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2074 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2075 and return -1 for them. Do not check for +Inf in case not
2076 reachable for +Inf.
2077 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2078 define.
2079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2080 and return -1 for them. Do not check for +Inf in case not
2081 reachable for +Inf.
2082 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2083 spurious underflow.
2084 * sysdeps/i386/fpu/libm-test-ulps: Update.
2085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2086
fb21f89b
MF
20872012-07-06 Mike Frysinger <vapier@gentoo.org>
2088
2089 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2090
cdfe2c5e
JM
20912012-07-05 Joseph Myers <joseph@codesourcery.com>
2092
2093 [BZ #14157]
2094 [BZ #14331]
2095 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2096 could result in spurious underflow. Scale down values above
2097 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2098 * math/s_csqrtf.c (__csqrtf): Likewise.
2099 * math/s_csqrtl.c (__csqrtl): Likewise.
2100 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2101 spurious underflow.
2102 * sysdeps/i386/fpu/libm-test-ulps: Update.
2103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2104
70d35b67
AS
21052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2106
704bc459
AS
2107 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2108 xopen-msg.sed.
2109 * catgets/xopen-msg.awk: New file.
2110 * catgets/xopen-msg.sed: Removed.
2111
70d35b67
AS
2112 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2113 po2text.sed.
2114 * intl/po2test.awk: New file.
2115 * intl/po2test.sed: Removed.
2116
ca61cf32
JM
21172012-07-04 Joseph Myers <joseph@codesourcery.com>
2118
2119 [BZ #14328]
2120 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2121 or multiply small sinh result by itself.
2122 * math/s_ctanf.c (__ctanf): Likewise.
2123 * math/s_ctanh.c (__ctanh): Likewise.
2124 * math/s_ctanhf.c (__ctanhf): Likewise.
2125 * math/s_ctanhl.c (__ctanhl): Likewise.
2126 * math/s_ctanl.c (__ctanl): Likewise.
2127 * math/libm-test.inc (ctan_test_tonearest): New function.
2128 (ctan_test_towardzero): Likewise.
2129 (ctan_test_downward): Likewise.
2130 (ctan_test_upward): Likewise.
2131 (ctanh_test_tonearest): Likewise.
2132 (ctanh_test_towardzero): Likewise.
2133 (ctanh_test_downward): Likewise.
2134 (ctanh_test_upward): Likewise.
2135 (main): Call these new functions.
2136 * sysdeps/i386/fpu/libm-test-ulps: Update.
2137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2138
ca48a46a
MF
21392012-07-03 Mike Frysinger <vapier@gentoo.org>
2140
2141 * .gitignore: Delete /ports entry.
2142
9d63d37d
AJ
21432012-07-03 Andreas Jaeger <aj@suse.de>
2144
2145 * po/bg.po: Update from translation team.
2146 * po/cs.po: Likewise.
2147 * po/de.po: Likewise.
2148 * po/hr.po: Likewise.
2149 * po/nl.pl: Likewise.
2150 * po/pl.po: Likewise.
2151 * po/vi.po: Likewise.
2152
370ca3d2
JM
21532012-07-03 Joseph Myers <joseph@codesourcery.com>
2154
95f5a9a8
JM
2155 * Makeconfig [!+link] (+link-before-libc): New variable.
2156 [!+link] (+link-after-libc): Likewise.
2157 [!+link] (+link-tests): Likewise.
2158 [!+link] (+link): Define in terms of $(+link-before-libc) and
2159 $(+link-after-libc).
2160 [!+link-static] (+link-static-before-libc): New variable.
2161 [!+link-static] (+link-static-after-libc): Likewise.
2162 [!+link-static] (+link-static-tests): Likewise.
2163 [!+link-static] (+link-static): Define in terms of
2164 $(+link-static-before-libc) and $(+link-static-after-libc).
2165 [build-shared] (link-libc-before-gnulib): New variable.
2166 [build-shared] (link-libc-tests): Likewise.
2167 [build-shared] (link-libc): Define in terms of
2168 $(link-libc-before-gnulib).
2169 [!build-shared] (link-libc-tests): New variable.
2170 (link-libc-static-tests): New variable.
2171 [!gnulib] (gnulib-arch): New variable.
2172 [!gnulib] (gnulib-tests): Likewise.
2173 [!gnulib] (static-gnulib-arch): Likewise.
2174 [!gnulib] (static-gnulib-tests): Likewise.
2175 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2176 Define with "=" instead of ":=".
2177 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2178 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2179 * Rules (binaries-all-notests): New variable.
2180 (binaries-all-tests): Likewise.
2181 (binaries-static-notests): Likewise.
2182 (binaries-static-tests): Likewise.
2183 (binaries-all): Define using $(binaries-all-notests) and
2184 $(binaries-all-tests).
2185 (binaries-static): Define using $(binaries-static-notests) and
2186 $(binaries-static-tests).
2187 (binaries-shared-tests): New variable.
2188 (binaries-shared-notests): Likewise.
2189 (binaries-shared): Remove variable.
2190 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2191 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2192 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2193 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2194 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2195 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2196 * elf/Makefile (sln-modules): New variable.
2197 (extra-objs): Add $(sln-modules:=.o).
2198 (ldconfig-modules): Add static-stubs.
2199 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2200 * elf/static-stubs.c: New file.
2201
7a845b2c
JM
2202 [BZ #14283]
2203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2204 by 7 not 8 to examine high bit of fractional part. Use volatile
2205 variables when splitting into final array of floats if
2206 __FLT_EVAL_METHOD__ != 0.
2207 * math/libm-test.inc (cos_test): Add another test.
2208 (sin_test): Likewise.
2209 * sysdeps/i386/fpu/libm-test-ulps: Update.
2210
e2283f38
JM
2211 [BZ #14273]
2212 * math/libm-test.inc (cosh_test): Add more tests.
2213
370ca3d2
JM
2214 * version.h (RELEASE): Set to "development".
2215 (VERSION): Set to "2.16.90".
2216
ee9247c3
CD
22172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2218
2219 * NEWS: Update copyright. Remove last-updated date.
2220 Mention math library bug fixes and timezone data changes.
2221 * README: Mention GNU/Hurd, x32, and HPPA support status.
2222
4648c381
TS
22232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2224
2225 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2226
aac78a43
AJ
22272012-06-27 Andreas Jaeger <aj@suse.de>
2228
2229 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2230
ed3dbfad
AJ
22312012-06-25 Andreas Jaeger <aj@suse.de>
2232
2233 * sysdeps/s390/fpu/libm-test-ulps: Update.
2234
4d0ee855
AS
22352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2236 Thomas Schwinge <thomas@codesourcery.com>
2237
2238 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2239 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2241 fanotify_mark.
2242
af1bce34
TS
22432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2244
a9fa33ba
TS
2245 * sysdeps/mach/start.c: Remove file.
2246 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2247 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2248 * sysdeps/sh/init-first.c: Likewise.
2249
58f902b8
TS
2250 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2251 registers for frame unwinding purposes, add CFI directives.
2252 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2253 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2254 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2255 Likewise.
2256
1518f58b
TS
2257 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2258 __fortify_fail returning.
2259 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2260
db9b5059
TS
2261 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2262 sysdeps/sh/____longjmp_chk.S.
2263 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2264 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2265 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2266 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2267
967705fe
TS
2268 * sysdeps/sh/abort-instr.h: New file.
2269 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2270 process in case exit returns.
2271
a9def8c4
TS
2272 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2273 initialize the GOT register before use.
2274
2a649725
TS
2275 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2276 calculation of ARGC > 4.
2277
af1bce34
TS
2278 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2279 meaningful names to some local labels.
2280
d230f50a
KK
22812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2282 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2283
2284 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2285 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2286 (__arch_compare_and_exchange_val_16_acq): Likewise.
2287 (__arch_compare_and_exchange_val_32_acq): Likewise.
2288 (atomic_exchange_and_add): Fix gUSA sequence.
2289 (atomic_add): Likewise.
2290 (atomic_add_negative): Likewise.
2291 (atomic_add_zero): Likewise.
2292 (atomic_bit_test_set): Likewise.
2293
0479b305
AS
22942012-06-22 Andreas Schwab <schwab@redhat.com>
2295
2296 [BZ #13579]
2297 * include/link.h (struct link_map): Add l_free_initfini.
2298 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2299 l_initfini.
2300 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2301 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2302 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2303 set.
2304
0e3933b9
CD
23052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2306
2307 * configure.in: Use AC_LANG_SOURCE.
2308 * configure: Regenerate.
2309
4248b1b1
RM
23102012-06-22 Roland McGrath <roland@hack.frob.com>
2311
2312 * configure.in (libc_cv_localstatedir): New substituted variable.
2313 * configure: Regenerated.
2314 * config.make.in (localstatedir): New variable, substituted from
2315 libc_cv_localstatedir.
2316 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2317 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2318 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2319 * sysdeps/gnu/configure: Regenerated.
2320
006dd861
JL
23212012-06-21 Jeff Law <law@redhat.com>
2322
2323 [BZ #14277]
2324 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2325 free. Simplify list management for _LIBC case.
2326
79662d42
JM
23272012-06-21 Joseph Myers <joseph@codesourcery.com>
2328
b7abb4bf
JM
2329 [BZ #14273]
2330 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2331 Clear sign bit of 64-bit integer value before comparing against
2332 overflow value.
2333
79662d42
JM
2334 * sysdeps/mach/configure: Regenerated.
2335
1f150908
L
23362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2337
2338 [BZ #14278]
2339 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2340
28363bbf
JL
23412012-06-21 Jeff Law <law@redhat.com>
2342
2343 [BZ #13882]
2344 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2345 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2347 * elf/dl-open.c (dl_open_worker): Likewise.
2348
09615db4
CD
23492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2350
2351 * scripts/list-sources.sh: Scan PORTS for translations.
2352 * po/libc.pot: Regenerated.
2353
2174c6dd
AJ
23542012-06-21 Andreas Jaeger <aj@suse.de>
2355
2356 [BZ #12194]
2357 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2358 warning.
2359 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2360 * bits/byteswap-16.h (__bswap_16): Likewise.
2361 * bits/byteswap.h (__bswap_constant_16): Likewise.
2362
3ee947b1
L
23632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2364
2365 [BZ #14117]
a2f34833
L
2366 * sysdeps/i386/fpu_control.h: Removed.
2367 * sysdeps/x86_64/fpu_control.h: Moved to ...
2368 * sysdeps/x86/fpu_control.h: Here.
2369
3ee947b1
L
2370 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2371 (_FPU_SETCW): Likewise.
2372
ed1825f8
L
23732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2374
25f1282a
L
2375 [BZ #14117]
2376 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2377 * sysdeps/x86/fpu/bits/mathinline.h: This.
2378 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2379
ed1825f8
L
2380 [BZ #14050]
2381 [BZ #14117]
2382 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2383 functions if __x86_64__ is defined.
2384
36d54b74
CLT
23852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2386
2387 * string/endian.h: Add !__ASSEMBLER__ condition for including
2388 conversion interfaces.
2389
10285c21
JM
23902012-06-15 Joseph Myers <joseph@codesourcery.com>
2391
2392 [BZ #14241]
2393 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2394 of ABS(x) in calculating zero to negative powers other than odd
2395 integers.
2396 * math/libm-test.inc (pow_test): Add more tests.
2397
06c5abbd
AJ
23982012-06-15 Andreas Jaeger <aj@suse.de>
2399
2400 * manual/contrib.texi (Contributors): Update entry of Liubov
2401 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2402 Machado Filho.
2403
a3aeac40
CH
24042012-06-15 Cyril Hrubis <metan@ucw.cz>
2405
2406 * string/string.h: Add __wur to GNU version of strerror_r.
2407
49bdf4c1
L
24082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2409
2410 [BZ #14229]
2411 * string/Makefile (tests): Add tst-strtok_r.
2412 * string/tst-strtok_r.c: New file.
2413 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2414 RAX_LP/RDX_LP on SAVE_PTR.
2415
834f9b8d
RM
24162012-06-14 Roland McGrath <roland@hack.frob.com>
2417
2418 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2419
75fa1921
JM
24202012-06-14 Joseph Myers <joseph@codesourcery.com>
2421
2422 * libm_test.inc (csqrt_test): Allow more spurious underflow
2423 exceptions.
2424 (j0_test): Likewise.
2425 (j1_test): Likewise.
2426 (y0_test): Likewise.
2427 (y1_test): Likewise.
2428
771766df
CD
24292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2430
2431 * po/Makefile (libc.pot): Use UTF-8 charset.
2432
ceb9e56b
PP
24332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2434
2435 [BZ #14210]
2436 Suppress sign-conversion warning from FD_SET.
2437 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2438 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2439 not unsigned long int.
2440 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2441
ddb28975
L
24422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2443
2444 [BZ #14050]
2445 [BZ #14117]
2446 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2447 __extern_always_inline instead of __extern_inline.
2448 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2449 (__signbit): Likewise.
2450 (__signbitl): Support C++ namespace.
2451 (lrintf): New inline function.
2452 (lrint): Likewise.
2453 (llrintf): Likewise.
2454 (llrint): Likewise.
2455 (fmaxf): Likewise.
2456 (fmax): Likewise.
2457 (fminf): Likewise.
2458 (fmin): Likewise.
2459 (rint): Likewise.
2460 (rintf): Likewise.
2461 (ceil): Likewise.
2462 (ceilf): Likewise.
2463 (floor): Likewise.
2464 (floorf): Likewise.
2465 (nearbyint): Likewise.
2466 (nearbyintf): Likewise.
2467
d7b4fb26
TS
24682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2469
2470 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2471 non-default versions.
2472
eb55f5c2
RM
24732012-06-11 Roland McGrath <roland@hack.frob.com>
2474
2475 [BZ #14218]
2476 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2477
366af02c
TS
24782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2479
99ff6e5c
TS
2480 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2481 (FE_UPWARD, FE_DOWNWARD): Don't define.
2482 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2483 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2484
366af02c
TS
2485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2486 reading it.
2487 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2488 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2489
793ea851
KK
24902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2491
2492 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2494 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2496
a728a38f
L
24972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2498
2499 [BZ #14117]
c08010c7
L
2500 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2501 * sysdeps/i386/fpu/Implies: New file.
2502 * sysdeps/x86_64/fpu/Implies: Likewise.
2503 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2504 * sysdeps/x86/fpu/bits/fenv.h: This.
2505
a728a38f
L
2506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2507 __SSE_MATH__.
2508
6e230d11
SP
25092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2510
2511 [BZ #14134]
2512 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2513 character 0xffff that matches the last element of the
2514 conversion table.
2515
1b671feb
AZ
25162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2517
2518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2519 fmodl commit.
2520
6043738b
AZ
25212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2522
2523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2524 values higher than 25.6283.
2525
34ae0b32
AZ
25262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527
2528 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2529 subnormal exponent extraction and add some __builtin_expect.
2530 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2531 Fix for subnormal mantissa calculation.
2532
1214ec8f
MF
25332012-06-04 Mike Frysinger <vapier@gentoo.org>
2534
2535 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2536 cpu2 is -1 and errno is not ENOSYS.
2537
f3d1f93c
L
25382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2539
2540 [BZ #14117]
0e4a3cd7
L
2541 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2542 * sysdeps/x86/bits/string.h: This.
2543 * sysdeps/x86_64/bits/string.h: Removed.
2544
6704c645
L
2545 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2546 if not compiling for x86-64, but compiling for >= i486.
2547
48495318
L
2548 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2549 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2550
14adcbfc
L
2551 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2552 New macro from Linux kernel 3.4.0.
2553 (FP_XSTATE_MAGIC2): Likewise.
2554 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2555 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2556 (struct _fpx_sw_bytes): New struct.
2557 (struct _xsave_hdr): Likewise.
2558 (struct _ymmh_state): Likewise.
2559 (struct _xstate): Likewise.
2560
68e408ab
L
2561 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2562 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2564 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2565 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2566 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2567
f3d1f93c
L
2568 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2569 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2570 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2571 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2572 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2573 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2574
d9dc34cd
TMQMF
25752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2576
2577 [BZ #13743]
2578 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2579 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2580 (sysdep_headers): Include sys/platform/ppc.h.
2581 * sysdeps/powerpc/test-gettimebase.c: Test for
2582 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2583 * manual/Makefile (appendices): Include platform.texi.
2584 * manual/contrib.texi (Contributors): Update @node pointers.
2585 * manual/maint.texi (Maintenance): Likewise.
2586 (Platform): New node.
2587 * manual/platform.texi: New file. Document the new features.
2588
4af3879c
SP
25892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2590 Jakub Jelinek <jakub@redhat.com>
2591
2592 [BZ #14188]
2593 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2594 where __builtin_expect is unavailable.
2595
2fd6ff13
DM
25962012-06-03 David S. Miller <davem@davemloft.net>
2597
2598 * stdlib/longlong.h: Updated from GCC.
2599
173f7220
AS
26002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2601
2602 [BZ #14042]
2603 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2604 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2605 __mcount_internal.
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2607 (GLIBC_2.16): Likewise.
2608
f34a1c6f
L
26092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2610
2611 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2612
88a4576f
JM
26132012-06-01 Joseph Myers <joseph@codesourcery.com>
2614
ea32bcdd
JM
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2616 (default-abi): New variable.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2618 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2619 variable.
2620 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2621 Likewise.
2622 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2623 Likewise.
2624 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2625 Likewise.
2626
88a4576f
JM
2627 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2628 definition. Document in comment.
2629
402fe938
DM
26302012-06-01 David S. Miller <davem@davemloft.net>
2631
2632 * stdlib/longlong.h: Updated from GCC.
2633
3553723f
L
26342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2635
2636 [BZ #14117]
3bd872c4
L
2637 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2638 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2639 sys/debugreg.h sys/io.h here.
2640 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2641 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2642 sys/io.h.
2643 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2644 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2645 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2646 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2647 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2648 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2649
3553723f
L
2650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2651 Define only if __x86_64__ is defined.
2652
4842e4fe
JM
26532012-06-01 Joseph Myers <joseph@codesourcery.com>
2654
c5bfe3d5
JM
2655 [BZ #14048]
2656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2657 Use int64_t for variable i.
2658 * math/libm-test.inc (fmod_test): Add more tests.
2659
4842e4fe
JM
2660 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2661 z computation is not scheduled after fetestexcept.
2662 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2663 Use math_force_eval instead of asm to ensure calculation scheduled
2664 before exception test.
2665 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2666 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2667
efb73488
AJ
26682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2669
2670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2671 computation is not scheduled after fetestexcept.
2672
29bcce7c
L
26732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2674
2675 [BZ #14117]
2676 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2677 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2678
73a68f94
AZ
26792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680
2681 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2682 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2683
67b6df78
L
26842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2685
edf2933a 2686 [BZ #14117]
ebc64a18
L
2687 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2688 <bits/wordsize.h>.
2689 (__WCHAR_MIN): Support __WORDSIZE == 64.
2690 (__WCHAR_MAX): Likewise.
2691
edf2933a
L
2692 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2693 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2694
57c6cf40
L
2695 [BZ #14183]
2696 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2697 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2698
67b6df78 2699 [BZ #14117]
8eb6281e
L
2700 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2701 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2702
aac639f4
L
2703 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2704 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2705
67b6df78
L
2706 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2707 Defined to 1 if __x86_64__ isn't defined.
2708 (_STAT_VER_LINUX_OLD): New.
2709 (st_atime): Remove duplicate.
2710 (st_mtime): Likewise.
2711 (st_ctime): Likewise.
2712
1c2cfe81
DM
27132012-05-31 David S. Miller <davem@davemloft.net>
2714
2715 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2716 entries.
2717
5be8418c
AS
27182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2719
e7725326
AS
2720 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2721 gen-libm-test.pl.
2722
5be8418c
AS
2723 [BZ #14132]
2724 * elf/dl-reloc.c: Include <_itoa.h>.
2725 (_dl_reloc_bad_type): Remove use of INTUSE.
2726 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2727 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2728 * stdio-common/psiginfo.c (psiginfo): Likewise.
2729 * stdio-common/psignal.c (psignal): Likewise.
2730 * string/strsignal.c (strsignal): Likewise.
2731 * include/signal.h (_sys_siglist): Declare hidden proto.
2732 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2733 INTVARDEF with libc_hidden_data_def.
2734 * stdio-common/itoa-udigits.c: Likewise.
2735 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2736 (_itoa_lower_digits_internal): Remove declaration.
2737 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2738 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2739 (_sys_sigabbrev_internal): Remove aliases.
2740 (_sys_siglist): Define hidden alias.
2741
507352f1
MT
27422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2743
2744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2745 bits/sysctl.h.
2746
42bbb1c3
L
27472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2748
2749 [BZ #14117]
6bd784b6
L
2750 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2751 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2752
8bca20f0
L
2753 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2754 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2755 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2756 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2757 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2758 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2759
f9e890a9
L
2760 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2761 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2762 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2763
471101a1
L
2764 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2765 with __addr.
2766 (insw): Likewise.
2767 (insl): Likewise.
2768 (outsb): Likewise.
2769 (outsw): Likewise.
2770 (outsl): Likewise.
2771
6451c862
L
2772 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2773 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2774 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2775
a254b8c9
L
2776 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2777 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2779 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2780 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2781 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2782
b8dfdd92
L
2783 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2784 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2785
578cd270
L
2786 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2787 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2788
de662f5f
L
2789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2791 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2792
25653439
L
2793 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2794 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2795 to ...
2796 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2797
6bad24a0
L
2798 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2799 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2800 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2801
42bbb1c3
L
2802 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2803 for x86-64.
2804 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2805
2d10d547
JM
28062012-05-31 Joseph Myers <joseph@codesourcery.com>
2807
2808 * math/math.h (M_El): Use two more decimal places.
2809 (M_LOG2El): Likewise.
2810 (M_LOG10El): Likewise.
2811 (M_LN2l): Likewise.
2812 (M_LN10l): Likewise.
2813 (M_PIl): Likewise.
2814 (M_PI_2l): Likewise.
2815 (M_PI_4l): Likewise.
2816 (M_1_PIl): Likewise.
2817 (M_2_PIl): Likewise.
2818 (M_2_SQRTPIl): Likewise.
2819 (M_SQRT2l): Likewise.
2820 (M_SQRT1_2l): Likewise.
2821
f230c29b
DM
28222012-05-31 David S. Miller <davem@davemloft.net>
2823
2824 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2825 values between float registers.
2826 * sysdeps/sparc/sparc64/memset.S: Likewise.
2827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2828
fed806c3
MF
28292012-05-31 Mike Frysinger <vapier@gentoo.org>
2830
2831 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2832 -D_FORTIFY_SOURCE=1.
2833 (CPPFLAGS-tst-longjmp_chk.c): Define.
2834 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2835 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2836 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2837 CFLAGS-tst-wchar-h.c.
2838
30917259
MP
28392012-05-31 Marek Polacek <polacek@redhat.com>
2840
2841 [BZ #14132]
2842 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2843 __endmntent_internal): Remove declaration.
2844 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2845 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2846 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2847
1c58d5dc
DM
28482012-05-30 David S. Miller <davem@davemloft.net>
2849
2850 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2851 (___Q_simulate_exceptions): Use real FP ops rather than writing
2852 into the %fsr.
2853 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2854 Likewise.
2855
7dc00e0d
L
28562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 [BZ #14117]
0bd53985
L
2859 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2860 * sysdeps/x86/bits/xtitypes.h: This.
2861
3a257e66
L
2862 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2863 * sysdeps/x86/bits/wordsize.h: This.
2864
62f62904
L
2865 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2866 * sysdeps/x86/bits/huge_vall.h: This.
2867
404fe9d9
L
2868 * sysdeps/i386/bits/select.h: Removed.
2869 * sysdeps/x86_64/bits/select.h: Renamed to ...
2870 * sysdeps/x86/bits/select.h: This.
2871
d48d0446
L
2872 * sysdeps/i386/bits/setjmp.h: Removed.
2873 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2874 * sysdeps/x86/bits/setjmp.h: This.
2875
7dc00e0d
L
2876 * sysdeps/i386/bits/mathdef.h: Removed.
2877 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2878 * sysdeps/x86/bits/mathdef.h: This.
2879
03277f8f
AS
28802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2881
2882 [BZ #14132]
2883 * include/sys/socket.h (__connect_internal)
2884 (__libc_sa_len_internal): Remove declaration.
2885 (__connect, __libc_sa_len): Declare hidden_proto.
2886 (SA_LEN): Remove use of INTUSE.
2887 * socket/connect.c: Add libc_hidden_def.
2888 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2889 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2890 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2891 alias.
2892 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2893 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2894 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2895 of adding _internal alias.
2896
13764867
L
28972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 [BZ #14117]
6bd97696
L
2900 * sysdeps/i386/bits/link.h: Removed.
2901 * sysdeps/i386/bits/linkmap.h: Likewise.
2902 * sysdeps/x86_64/bits/link.h: Renamed to ...
2903 * sysdeps/x86/bits/link.h: This.
2904 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2905 * sysdeps/x86/bits/linkmap.h: This.
2906
f726f0bb
L
2907 * sysdeps/i386/bits/endian.h: Removed.
2908 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2909 * sysdeps/x86/bits/endian.h: This.
2910
13764867
L
2911 * sysdeps/i386/bits/byteswap.h: Removed.
2912 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2913 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2914 * sysdeps/x86/bits/byteswap.h: This.
2915 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2916 * sysdeps/x86/bits/byteswap-16.h: This.
2917 * sysdeps/i386/Implies: Add x86.
2918 * sysdeps/x86_64/Implies: Likewise.
2919
ae251b0b
DM
29202012-05-30 David S. Miller <davem@davemloft.net>
2921
2922 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2923 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2924 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2925 (FP_TRAPPING_EXCEPTIONS): Define.
2926 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2927 (FP_TRAPPING_EXCEPTIONS): Define.
2928 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2929 subnormals only when inexact has been signalled or underflow
2930 exceptions are enabled.
2931 (_FP_PACK_CANONICAL): Likewise.
2932
d5c90867
L
29332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2934
2935 [BZ #14183]
2936 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2937 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2938
63f1549e
RH
29392012-05-30 Richard Henderson <rth@twiddle.net>
2940
8d8f2279
RH
2941 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2942 with #ifndef NOT_IN_libc.
2943
63f1549e
RH
2944 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2945 marked to avoid plt entry.
2946
0ab0291b
L
29472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 [BZ #14112]
2950 * Makeconfig (default-abi): New macro.
2951 (abi-includes): Likewise.
2952 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2953 $(abi-$(default-abi)-lib-soname) for soname if defined.
2954 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2955 abi-variants.
2956 * Makefile (installed-stubs): Likewise.
2957 * include/stubs-biarch.h: Removed.
2958 * scripts/lib-names.awk: Only handle one library at a time.
2959 * scripts/soversions.awk: Remove WORDSIZE support.
2960 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2961 entries.
2962 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2963 Removed.
2964 (syscall-list-default-condition): Likewise.
2965 (syscall-list-default-condition): Likewise.
2966 (syscall-list-includes): Likewise.
2967 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2968 syscall-list-* with abi-*. Handle undefined abi-variants.
2969 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2970 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2971 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2972 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2973 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2974 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2975 Removed.
2976 (syscall-list-32-options): Likewise.
2977 (syscall-list-32-condition): Likewise.
2978 (syscall-list-64-options): Likewise.
2979 (syscall-list-64-condition): Likewise.
2980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2981 macro.
2982 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2983 Renamed to ...
2984 (abi-*): This.
2985 (abi-64-ld-soname): New macro.
2986 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2987 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2988 Renamed to ...
2989 (abi-*): This.
2990 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2991 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2992
4da0431d
JM
29932012-05-30 Joseph Myers <joseph@codesourcery.com>
2994
3a85279c
JM
2995 * sysdeps/unix/sysv/linux/kernel-features.h
2996 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2997 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2998 include <kernel-features.h>.
2999 [!__NR_ftruncate64]: Remove conditional code.
3000 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3001 [__NR_ftruncate64]: Make code unconditional.
3002 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3003 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3004 include <kernel-features.h>.
3005 [!__NR_ftruncate64]: Remove conditional code.
3006 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3007 [__NR_ftruncate64]: Make code unconditional.
3008 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3010 include <kernel-features.h>.
3011 [!__NR_ftruncate64]: Remove conditional code.
3012 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3013 [__NR_ftruncate64]: Make code unconditional.
3014 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3016 include <kernel-features.h>.
3017 [!__NR_ftruncate64]: Remove conditional code.
3018 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3019 [__NR_ftruncate64]: Make code unconditional.
3020 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3021
4da0431d
JM
3022 * configure.in (libc_cv_fpie): Weaken to a compile test using
3023 LIBC_TRY_CC_OPTION.
3024 * configure: Regenerated.
3025
11ef492c
AK
30262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3027
3028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3032 Refreshed.
3033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3039 Refreshed.
3040
d66ef399
DM
30412012-05-27 David S. Miller <davem@davemloft.net>
3042
3043 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3044 (___Q_zero): New.
3045 (__Q_simulate_exceptions): Return void. Change to simulate
3046 exceptions by writing into the %fsr.
3047 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3048 (__Qp_handle_exceptions): Likewise.
3049 (numbers): Delete.
3050 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3051 __Qp_handle_exceptions.
3052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3053 __Qp_handle_exceptions.
3054 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3055 as unused and give dummy FP_RND_NEAREST initializer.
3056 (FP_INHIBIT_RESULTS): Define.
3057 (___Q_simulate_exceptions): Update declaration.
3058 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3059 formatting.
3060 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3061 as unused and give dummy FP_RND_NEAREST initializer.
3062 (__Qp_handle_exceptions): Update declaration.
3063 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3064 formatting.
3065
04fb54b5
TS
30662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3067
3068 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3069 the temporary FPU control word.
3070 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3071 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3072 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3073 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3074 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3075 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3076 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3077 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3078 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3079 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3080 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3081
3f99608f
KK
30822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3083
3084 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3085 fields.
3086
65a4de4e
CLT
30872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3088
3089 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3090 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3091 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3092 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3093 Likewise.
3094 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3095 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3096 Likewise.
3097
15749d40
UD
30982012-05-27 Ulrich Drepper <drepper@gmail.com>
3099
3100 * po/h.po: Update from translation team.
3101
25dbcb27
AS
31022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3103
3d3f8e55
AS
3104 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3105
25dbcb27
AS
3106 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3107 handling of denormals.
3108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3109 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3110 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3111 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3115 Likewise.
3116
7ad47a80 31172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3118
3119 [BZ #14152]
3120 * math/libm-test.inc (fma_test): Don't always expect underflow
3121 exception.
3122
9c6ea9fa
SP
31232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3124
3125 [BZ #12416]
3126 * elf/tst-execstack.c: Include stackinfo.h.
3127 (do_test): Adjust test case to ensure that pthread_getattr_np
3128 behaviour remains the same after marking stack executable.
3129
a8239222
JM
31302012-05-25 Joseph Myers <joseph@codesourcery.com>
3131
3132 * sysdeps/unix/sysv/linux/kernel-features.h
3133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3134 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3135 kernel-features.h.
3136 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3137 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3138 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3139 kernel-features.h.
3140 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3141 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3142
918b5606
L
31432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3144
3145 * configure.in: Define the default includes to being none.
3146 * configure: Regenerated.
3147
3a097cc7
RM
31482012-05-25 Roland McGrath <roland@hack.frob.com>
3149
8422c9a5
RM
3150 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3151 * sysdeps/x86_64/setjmp.S: Likewise.
3152 * sysdeps/i386/bsd-setjmp.S: Likewise.
3153 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3154 * sysdeps/i386/setjmp.S: Likewise.
3155 * sysdeps/i386/__longjmp.S: Likewise.
3156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3157 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3158
3a097cc7
RM
3159 * include/stap-probe.h: New file.
3160 * configure.in: Handle --enable-systemtap.
3161 * configure: Regenerated.
3162 * config.h.in (USE_STAP_PROBE): New #undef.
3163 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3164 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3165 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3166
21708942
JM
31672012-05-25 Joseph Myers <joseph@codesourcery.com>
3168
3169 [BZ #13717]
3170 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3171 to 2.4.0 where earlier.
3172 * sysdeps/unix/sysv/linux/configure: Regenerated.
3173 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3174 <kernel-features.h>.
3175 [__ASSUME_32BITUIDS]: Make code unconditional.
3176 [!__ASSUME_32BITUIDS]: Remove conditional code.
3177 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3178 <kernel-features.h>.
3179 [__ASSUME_32BITUIDS]: Make code unconditional.
3180 [!__ASSUME_32BITUIDS]: Remove conditional code.
3181 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3182 [__ASSUME_32BITUIDS]: Make code unconditional.
3183 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3184 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3185 <kernel-features.h>.
3186 [__ASSUME_32BITUIDS]: Make code unconditional.
3187 [!__ASSUME_32BITUIDS]: Remove conditional code.
3188 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3189 <kernel-features.h>.
3190 [__ASSUME_32BITUIDS]: Make code unconditional.
3191 [!__ASSUME_32BITUIDS]: Remove conditional code.
3192 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3193 <kernel-features.h>.
3194 [__ASSUME_32BITUIDS]: Make code unconditional.
3195 [!__ASSUME_32BITUIDS]: Remove conditional code.
3196 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3197 <kernel-features.h>.
3198 [__ASSUME_32BITUIDS]: Make code unconditional.
3199 [!__ASSUME_32BITUIDS]: Remove conditional code.
3200 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3201 <kernel-features.h>.
3202 [__ASSUME_32BITUIDS]: Make code unconditional.
3203 [!__ASSUME_32BITUIDS]: Remove conditional code.
3204 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3205 <kernel-features.h>.
3206 [__ASSUME_32BITUIDS]: Make code unconditional.
3207 [!__ASSUME_32BITUIDS]: Remove conditional code.
3208 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3209 <kernel-features.h>.
3210 [__ASSUME_32BITUIDS]: Make code unconditional.
3211 [!__ASSUME_32BITUIDS]: Remove conditional code.
3212 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3213 <kernel-features.h>.
3214 [__ASSUME_32BITUIDS]: Make code unconditional.
3215 [!__ASSUME_32BITUIDS]: Remove conditional code.
3216 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3217 <kernel-features.h>.
3218 [__ASSUME_32BITUIDS]: Make code unconditional.
3219 [!__ASSUME_32BITUIDS]: Remove conditional code.
3220 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3221 <kernel-features.h>.
3222 [__ASSUME_32BITUIDS]: Make code unconditional.
3223 [!__ASSUME_32BITUIDS]: Remove conditional code.
3224 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3225 <kernel-features.h>.
3226 [__NR_setresgid] (__setresgid): Do not declare.
3227 [__ASSUME_32BITUIDS]: Make code unconditional.
3228 [!__ASSUME_32BITUIDS]: Remove conditional code.
3229 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3230 <kernel-features.h>.
3231 [__NR_setresuid] (__setresuid): Do not declare.
3232 [__ASSUME_32BITUIDS]: Make code unconditional.
3233 [!__ASSUME_32BITUIDS]: Remove conditional code.
3234 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3235 <kernel-features.h>.
3236 [__ASSUME_32BITUIDS]: Make code unconditional.
3237 [!__ASSUME_32BITUIDS]: Remove conditional code.
3238 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3239 <kernel-features.h>.
3240 [__ASSUME_32BITUIDS]: Make code unconditional.
3241 [!__ASSUME_32BITUIDS]: Remove conditional code.
3242 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3243 <kernel-features.h>.
3244 [__ASSUME_32BITUIDS]: Make code unconditional.
3245 [!__ASSUME_32BITUIDS]: Remove conditional code.
3246 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3247 <kernel-features.h>.
3248 [__ASSUME_32BITUIDS]: Make code unconditional.
3249 [!__ASSUME_32BITUIDS]: Remove conditional code.
3250 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3251 <kernel-features.h>.
3252 [__ASSUME_32BITUIDS]: Make code unconditional.
3253 [!__ASSUME_32BITUIDS]: Remove conditional code.
3254 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3255 <kernel-features.h>.
3256 [__ASSUME_32BITUIDS]: Make code unconditional.
3257 [!__ASSUME_32BITUIDS]: Remove conditional code.
3258 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3259 <kernel-features.h>.
3260 [__ASSUME_32BITUIDS]: Make code unconditional.
3261 [!__ASSUME_32BITUIDS]: Remove conditional code.
3262 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3263 <kernel-features.h>.
3264 [__ASSUME_32BITUIDS]: Make code unconditional.
3265 [!__ASSUME_32BITUIDS]: Remove conditional code.
3266 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3267 <kernel-features.h>.
3268 [__ASSUME_32BITUIDS]: Make code unconditional.
3269 [!__ASSUME_32BITUIDS]: Remove conditional code.
3270 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3271 <kernel-features.h>.
3272 [__ASSUME_32BITUIDS]: Make code unconditional.
3273 [!__ASSUME_32BITUIDS]: Remove conditional code.
3274 * sysdeps/unix/sysv/linux/kernel-features.h
3275 (__ASSUME_SETRESUID_SYSCALL): Remove.
3276 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3277 (__ASSUME_32BITUIDS): Likewise.
3278 (__ASSUME_LDT_WORKS): Likewise.
3279 (__ASSUME_O_DIRECTORY): Likewise.
3280 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3281 architecture but not kernel version.
3282 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3283 (__ASSUME_MMAP2_SYSCALL): Likewise.
3284 (__ASSUME_STAT64_SYSCALL): Likewise.
3285 (__ASSUME_IPC64): Likewise.
3286 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3287 <kernel-features.h>.
3288 [__ASSUME_32BITUIDS]: Make code unconditional.
3289 [!__ASSUME_32BITUIDS]: Remove conditional code.
3290 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3291 <kernel-features.h>.
3292 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3293 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3294 132096]: Remove conditional code.
3295 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3296 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3297 <kernel-features.h>.
3298 [__ASSUME_32BITUIDS]: Make code unconditional.
3299 [!__ASSUME_32BITUIDS]: Remove conditional code.
3300 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3301 <kernel-features.h>.
3302 [__ASSUME_32BITUIDS]: Make code unconditional.
3303 [!__ASSUME_32BITUIDS]: Remove conditional code.
3304 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3305 <kernel-features.h>.
3306 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3307 unconditional.
3308 (__setresgid): Do not declare.
3309 [__ASSUME_32BITUIDS]: Make code unconditional.
3310 [!__ASSUME_32BITUIDS]: Remove conditional code.
3311 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3312 <kernel-features.h>.
3313 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3314 unconditional.
3315 (__setresuid): Do not declare.
3316 [__ASSUME_32BITUIDS]: Make code unconditional.
3317 [!__ASSUME_32BITUIDS]: Remove conditional code.
3318 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3319 <kernel-features.h>.
3320 [__ASSUME_32BITUIDS]: Make code unconditional.
3321 [!__ASSUME_32BITUIDS]: Remove conditional code.
3322 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3323 <kernel-features.h>.
3324 [__ASSUME_32BITUIDS]: Make code unconditional.
3325 [!__ASSUME_32BITUIDS]: Remove conditional code.
3326
a386f1cc
RH
33272012-05-25 Richard Henderson <rth@twiddle.net>
3328
3329 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3330 dl_hwcap to ifunc resolver.
3331 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3332 elf_ifunc_invoke.
3333 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3334 dl_hwcap to ifunc resolver.
3335 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3336
b6550497
JM
33372012-05-24 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #14153]
3340 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3341 for |x| <= 2**-26, not 2**-57.
3342 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3343 exception.
3344
b0bc23a1
JL
33452012-05-24 Jeff Law <law@redhat.com>
3346
3347 * stdio-common/Makefile (tests): Add bug25.
3348 * stdio-common/bug25.c: New test.
3349
347c92e9
L
33502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 [BZ #13576]
3353 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3354 multiple of MALLOC_ALIGNMENT in size.
3355 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3356
6bcc8b3f
JM
33572012-05-24 Joseph Myers <joseph@codesourcery.com>
3358
3359 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3360 Require >= 256.
3361 (FILENAME_MAX): Use macro-int-constant.
3362 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3363 (_IOFBF): Use macro-int-constant.
3364 (_IOLBF): Likewise.
3365 (_IONBF): Likewise.
3366 (SEEK_CUR): Likewise.
3367 (SEEK_END): Likewise.
3368 (SEEK_SET): Likewise.
3369 (TMP_MAX): Likewise.
3370 (EOF): Use macro-int-constant. Require < 0.
3371 (NULL): Use macro-constant. Require == 0.
3372 (stdin): Require type to be FILE *.
3373 (stdout): Likewise.
3374 (stderr): Likewise.
3375 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3376 macro-int-constant.
3377 (EXIT_SUCCESS): Likewise.
3378 (NULL): Use macro-constant. Require == 0.
3379 (RAND_MAX): Use macro-int-constant.
3380 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3381 [C99-based standards] (strtof): Require function.
3382 [C99-based standards] (strtold): Likewise.
3383 [C99-based standards] (strtoll): Likewise.
3384 [C99-based standards] (strtoull): Likewise.
3385 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3386 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3387 [ISO || ISO99 || ISO11] (math.h): Likewise.
3388 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3389 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3391
d18ea0c5
AS
33922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3393
3394 [BZ #14132]
56d25bb8
AS
3395 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3396 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3397 * intl/dgettext.c (DCGETTEXT): Likewise.
3398 * intl/gettext.c (DCGETTEXT): Likewise.
3399 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3400 * posix/regex_internal.h (gettext): Likewise.
3401 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3402 Remove declaration.
3403 * include/argz.h (__argz_count_internal)
3404 (__argz_stringify_internal): Remove declaration.
3405 (__argz_count, __argz_stringify): Declare hidden proto.
3406 * intl/dcgettext.c: Remove use of INTDEF.
3407 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3408 * string/argz-stringify.c: Likewise.
3409 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3410 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3411 Declare hidden proto.
d18ea0c5
AS
3412 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3413 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3414 Declare hidden proto.
3415 * include/stdio.h (__asprintf_internal): Don't declare.
3416 (__asprintf): Don't define as macro. Declare hidden proto.
3417 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3418 (__fsetlocking): Declare hidden proto.
3419 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3420 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3421 hidden proto.
3422 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3423 (_IO_setlinebuf): Remove use of INTUSE.
3424 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3425 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3426 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3427 Remove declaration.
3428 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3429 (_IO_do_flush): Remove use of INTUSE.
3430 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3431 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3432 (_IO_adjust_column, _IO_least_wmarker)
3433 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3434 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3435 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3436 (_IO_default_doallocate, _IO_wdefault_doallocate)
3437 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3438 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3439 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3440 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3441 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3442 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3443 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3444 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3445 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3446 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3447 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3448 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3449 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3450 proto.
3451 (_IO_flush_all_internal, _IO_adjust_column_internal)
3452 (_IO_default_uflow_internal, _IO_default_finish_internal)
3453 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3454 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3455 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3456 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3457 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3458 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3459 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3460 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3461 (_IO_file_close_internal, _IO_file_close_it_internal)
3462 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3463 (_IO_file_init_internal, _IO_file_attach_internal)
3464 (_IO_file_fopen_internal, _IO_file_read_internal)
3465 (_IO_file_sync_internal, _IO_file_seek_internal)
3466 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3467 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3468 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3469 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3470 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3471 (_IO_list_all_internal, _IO_link_in_internal)
3472 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3473 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3474 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3475 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3476 (_IO_do_write_internal, _IO_padn_internal)
3477 (_IO_getline_info_internal, _IO_getline_internal)
3478 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3479 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3480 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3481 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3482 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3483 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3484 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3485 with libc_hidden_ver, remove use of INTUSE.
3486 * libio/genops.c: Likewise.
3487 * libio/freopen.c: Likewise.
3488 * libio/freopen64.c: Likewise.
3489 * libio/iofclose.c: Likewise.
3490 * libio/iofdopen.c: Likewise.
3491 * libio/iofflush.c: Likewise.
3492 * libio/iofflush_u.c: Likewise.
3493 * libio/iofgets.c: Likewise.
3494 * libio/iofgets_u.c: Likewise.
3495 * libio/iofopen.c: Likewise.
3496 * libio/iofopncook.c: Likewise.
3497 * libio/iofread.c: Likewise.
3498 * libio/iofread_u.c: Likewise.
3499 * libio/ioftell.c: Likewise.
3500 * libio/iofwrite.c: Likewise.
3501 * libio/iogetline.c: Likewise.
3502 * libio/iogets.c: Likewise.
3503 * libio/iogetwline.c: Likewise.
3504 * libio/iopadn.c: Likewise.
3505 * libio/iopopen.c: Likewise.
3506 * libio/ioseekoff.c: Likewise.
3507 * libio/ioseekpos.c: Likewise.
3508 * libio/iosetbuffer.c: Likewise.
3509 * libio/iosetvbuf.c: Likewise.
3510 * libio/ioungetc.c: Likewise.
3511 * libio/ioungetwc.c: Likewise.
3512 * libio/iovdprintf.c: Likewise.
3513 * libio/iovsprintf.c: Likewise.
3514 * libio/iovsscanf.c: Likewise.
3515 * libio/memstream.c: Likewise.
3516 * libio/obprintf.c: Likewise.
3517 * libio/oldfileops.c: Likewise.
3518 * libio/oldiofclose.c: Likewise.
3519 * libio/oldiofdopen.c: Likewise.
3520 * libio/oldiofopen.c: Likewise.
3521 * libio/oldiopopen.c: Likewise.
3522 * libio/oldstdfiles.c: Likewise.
3523 * libio/putc.c: Likewise.
3524 * libio/setbuf.c: Likewise.
3525 * libio/setlinebuf.c: Likewise.
3526 * libio/stdfiles.c: Likewise.
3527 * libio/strops.c: Likewise.
3528 * libio/vasprintf.c: Likewise.
3529 * libio/vscanf.c: Likewise.
3530 * libio/vsnprintf.c: Likewise.
3531 * libio/vswprintf.c: Likewise.
3532 * libio/wfiledoalloc.c: Likewise.
3533 * libio/wfileops.c: Likewise.
3534 * libio/wgenops.c: Likewise.
3535 * libio/wmemstream.c: Likewise.
3536 * libio/wstrops.c: Likewise.
3537 * libio/__fpurge.c: Likewise.
3538 * libio/__fsetlocking.c: Likewise.
3539 * assert/assert.c: Likewise.
3540 * debug/fgets_chk.c: Likewise.
3541 * debug/fgets_u_chk.c: Likewise.
3542 * debug/fread_chk.c: Likewise.
3543 * debug/fread_u_chk.c: Likewise.
3544 * debug/gets_chk.c: Likewise.
3545 * debug/obprintf_chk.c: Likewise.
3546 * debug/vasprintf_chk.c: Likewise.
3547 * debug/vdprintf_chk.c: Likewise.
3548 * debug/vsnprintf_chk.c: Likewise.
3549 * debug/vsprintf_chk.c: Likewise.
3550 * malloc/mtrace.c: Likewise.
3551 * misc/error.c: Likewise.
3552 * misc/syslog.c: Likewise.
3553 * stdio-common/asprintf.c: Likewise.
3554 * stdio-common/fxprintf.c: Likewise.
3555 * stdio-common/getw.c: Likewise.
3556 * stdio-common/isoc99_fscanf.c: Likewise.
3557 * stdio-common/isoc99_scanf.c: Likewise.
3558 * stdio-common/isoc99_vfscanf.c: Likewise.
3559 * stdio-common/isoc99_vscanf.c: Likewise.
3560 * stdio-common/isoc99_vsscanf.c: Likewise.
3561 * stdio-common/printf-prs.c: Likewise.
3562 * stdio-common/printf_fp.c: Likewise.
3563 * stdio-common/printf_fphex.c: Likewise.
3564 * stdio-common/printf_size.c: Likewise.
3565 * stdio-common/putw.c: Likewise.
3566 * stdio-common/scanf.c: Likewise.
3567 * stdio-common/sprintf.c: Likewise.
3568 * stdio-common/tmpfile.c: Likewise.
3569 * stdio-common/vfprintf.c: Likewise.
3570 * stdio-common/vfscanf.c: Likewise.
3571 * stdlib/strfmon_l.c: Likewise.
3572 * sunrpc/openchild.c: Likewise.
3573 * sunrpc/xdr_stdio.c: Likewise.
3574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3575 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3576
d6c33fda
RM
35772012-05-24 Roland McGrath <roland@hack.frob.com>
3578
c1487492
RM
3579 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3580
3581 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3582 in the third column, to generate for the shared library an IFUNC
3583 that uses _dl_vdso_vsym.
3584 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3585 * Makeconfig (object-suffixes-noshared): New variable.
3586
3587 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3588 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3589 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3590 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3591
d6c33fda
RM
3592 [BZ #14132]
3593 * include/sys/time.h (__gettimeofday): Remove macro.
3594 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3595 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3596 Remove INTDEF.
3597 (__gettimeofday): Add libc_hidden_def.
3598 (gettimeofday): Add libc_hidden_weak.
3599 * sysdeps/mach/gettimeofday.c: Likewise.
3600 * sysdeps/posix/gettimeofday.c: Likewise.
3601 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3602 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3604 (__gettimeofday_internal): Remove strong_alias.
3605 (__gettimeofday): Add libc_hidden_def.
3606 (gettimeofday): Add libc_hidden_weak.
3607 * sysdeps/unix/syscalls.list (gettimeofday):
3608 Remove __gettimeofday_internal alias.
3609
b5a2bbe6
L
36102012-05-24 Daniel Jacobowitz <drow@false.org>
3611 H.J. Lu <hongjiu.lu@intel.com>
3612
3613 [BZ #12495]
3614 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3615 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3616 (largebin_index_32_big): New.
3617 (largebin_index): Use it for 16-byte alignment.
3618 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3619 correction with front_misalign.
3620
cfba4fda
L
36212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3622
7f907421
L
3623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3625 Likewise.
3626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3627 Likewise.
3628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3629 Likewise.
3630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3635 Likewise.
3636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3637 Likewise.
3638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3639 Likewise.
3640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3641 Likewise.
3642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3643 Likewise.
3644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3645 Likewise.
3646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3647 Likewise.
3648
cfba4fda
L
3649 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3650 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3651
80bad0cc
JM
36522012-05-24 Joseph Myers <joseph@codesourcery.com>
3653
7a25eb06
JM
3654 [BZ #10846]
3655 [BZ #14036]
3656 * math/libm-test.inc (exp_test): Add test from bug 14036.
3657 (pow_test): Add test from bug 10846.
3658
795405f9
JM
3659 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3660 and other flags.
3661 (special_function): Do not include flags in test name.
3662 (parse_args): Likewise.
3663 * sysdeps/i386/fpu/libm-test-ulps: Update.
3664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3665 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3666 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3668
80bad0cc
JM
3669 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3670 exceptions.
3671 * math/libm-test.inc ("Philosophy"): Update comment about
3672 exception testing.
3673 (UNDERFLOW_EXCEPTION): New macro.
3674 (UNDERFLOW_EXCEPTION_OK): Likewise.
3675 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3676 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3677 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3678 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3679 (INVALID_EXCEPTION_OK): Update value.
3680 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3681 (OVERFLOW_EXCEPTION_OK): Likewise.
3682 (IGNORE_ZERO_INF_SIGN): Likewise.
3683 (test_exceptions): Handle underflow exceptions.
3684 (acos_test): Update for underflow exception expectations.
3685 (cexp_test): Likewise.
3686 (clog_test): Likewise.
3687 (clog10_test): Likewise.
3688 (csqrt_test): Likewise.
3689 (ctan_test): Likewise.
3690 (ctanh_test): Likewise.
3691 (exp_test): Likewise.
3692 (exp10_test): Likewise.
3693 (exp2_test): Likewise.
3694 (expm1_test): Likewise.
3695 (fma_test): Likewise.
3696 (j0_test): Likewise.
3697 (jn_test): Likewise.
3698 (nexttoward_test): Likewise.
3699 (pow_test): Likewise.
3700 (scalbn_test): Likewise.
3701 (scalbln_test): Likewise.
3702 (tan_test): Likewise.
3703 (y1_test): Likewise.
3704 * sysdeps/i386/fpu/libm-test-ulps: Update.
3705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3706
9e0e3d0b
DM
37072012-05-23 David S. Miller <davem@davemloft.net>
3708
3709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3710 (__libc_sigaction): Remove unused local variables.
3711
ccd0a08f
L
37122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3713
3714 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3715
62bdf9a6
PE
37162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3717
f8591f80
PE
3718 mktime: avoid signed integer overflow
3719 * time/mktime.c (__mktime_internal): Do not mishandle the case
3720 where diff == INT_MIN.
3721
94c7d826
PE
3722 mktime: simplify computation of average
3723 * time/mktime.c (ranged_convert): Use new time_t_avg function
3724 instead of rolling our own (probably-slower) code.
3725
ce73d683
PE
3726 mktime: do not assume signed right shift propagates sign bit
3727 * time/mktime.c (isdst_differ): New static function.
3728 (__mktime_internal): No need to normalize tm_isdst now.
3729 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3730 tm_isdst values.
3731
72a22e59
PE
3732 mktime: merge another wrapv change from gnulib
3733 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3734 from some compilers.
3735
68605433
PE
3736 mktime: remove incorrect attempt at unusual arithmetics
3737 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3738 The code didn't really work on such machines anyway.
3739 (TYPE_MINIMUM): Assume two's complement.
3740 (twos_complement_arithmetic): Verify that long_int and time_t
3741 are two's complement (or unsigned, in the latter case).
3742
03cf7fe3
PE
3743 mktime: check signed shifts on long_int and time_t, too
3744 * time/mktime.c (SHR): Check that shifts work as desired
3745 on the types long_int and time_t too, as SHR is used on
3746 such types.
3747
f04dfbc2
PE
3748 mktime: do not assume 'long' is wide enough
3749 * time/mktime.c (verify): Move decl up.
3750 (long_int): New type.
3751 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3752 to remove assumption in the code that 'long' is wide enough to
3753 store year values. This assumption is not true on x32 and on
3754 some non-glibc platforms.
3755
62bdf9a6
PE
3756 mktime: merge wrapv change from gnulib
3757 * time/mktime.c (WRAPV): New macro.
3758 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3759 (guess_time_tm, __mktime_internal): Do not assume that signed
3760 integer overflow wraps around; modern compilers generate code
3761 where this assumption is no longer valid.
3762
5e292e4f
L
37632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3766 Replace "jmp L(pseudo_end)" with "ret".
3767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3768 Likewise.
3769
8caf8c87
AJ
37702012-05-23 Andreas Jaeger <aj@suse.de>
3771
3772 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3773 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3774
1a09dc56
AJ
37752012-05-23 Andreas Jaeger <aj@suse.de>
3776 Maximilian Attems <max@stro.at>
3777
3778 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3779 New macros.
3780
1c87aba0
L
37812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3782
3783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3784 code so that pseudo_end is just ret and the stack pointer is
3785 correct also for static library in error case.
3786
40e45bd5
JM
37872012-05-23 Joseph Myers <joseph@codesourcery.com>
3788
c2670533
JM
3789 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3790 move to syscalls.list.
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3795
40e45bd5
JM
3796 * manual/install.texi (Running make install): Do not mention Linux
3797 kernel version for which pt_chown is not needed.
3798 (Linux): Do not mention problems with nscd with 2.0 kernels.
3799 * INSTALL: Regenerated.
3800
be08eda5
AJ
38012012-05-23 Andreas Jaeger <aj@suse.de>
3802
3803 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3804 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3805 macro.
3806 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3807 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3808 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3810 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3812 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3813 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3815 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3816 * sysdeps/unix/sysv/linux/bits/in.h
3817 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3818
a6a056bb
RM
38192012-05-22 Roland McGrath <roland@hack.frob.com>
3820
3821 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3822 (PREPARE_VERSION): Just use assert instead, it will be elided
3823 under [NDEBUG] anyway.
3824
c9009328
L
38252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3826
3827 * sysdeps/unix/sysv/linux/Makefile: Include
3828 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3829 (sysdep_routines): Remove sysctl.
c9009328
L
3830 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3831 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3832 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3833 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3834 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3835
73338355
AJ
38362012-05-22 Andreas Jaeger <aj@suse.de>
3837
3838 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3839 that pseudo_end is just ret and the stack pointer is correct also
3840 for static library in error case.
3841
d44638b0
PP
38422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3843
3844 [BZ #14122]
3845 * nss/nsswitch.c (defconfig_entries): New variable.
3846 (__nss_database_lookup): Don't leak defconfig entries.
3847 (nss_parse_service_list): Don't leak on error paths.
3848 (free_database_entries): New function.
3849 (free_defconfig): New function.
3850 (free_mem): Move common code to free_database_entries.
3851
31a39bd8
L
38522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3853
da0331a8
L
3854 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3855 Add arch_prctl.
3856 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3857
31a39bd8
L
3858 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3859 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3861 New macro.
3862 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3863 (INTERNAL_SYSCALL_TYPES): Likewise.
3864 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3865 (LOAD_REGS_TYPES_[1-6]): Likewise.
3866 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3867 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3868
45470df3
AZ
38692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3870
3871 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3872 copysignl for GLIBC_2_0.
3873 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3874 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3875 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3876 logbl for GLIBC_2_0.
3877 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3878 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3879
98a61bcb
L
38802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3881
a4f6e481
L
3882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3883 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3884
f63d5db6
L
3885 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3886 Use "neg %eax".
3887
98a61bcb
L
3888 * time/mktime.c: Update copyright years.
3889
95770f14
PE
38902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3891
6226efbd
PE
3892 mktime: merge comment-quoting-style change from gnulib
3893 * time/mktime.c: Quote 'like this' in comments.
3894 The GNU coding standards suggest that we no longer quote `like this',
3895 as "`" and "'" are typically rendered asymmetrically nowadays.
3896 The typical gnulib style is to quote 'like this' when quoting
3897 code, and "like this" when quoting English.
3898
b99e4f78
PE
3899 * time/mktime.c (compile-command): Add "-I.".
3900
643e01e6
PE
3901 mktime: merge mktime-internal.h change from gnulib
3902 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3903
2554247d
PE
3904 mktime: merge time_r change from gnulib
3905 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3906
826dd0ab
PE
3907 mktime: merge DEBUG change from gnulib
3908 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3909 case system <time.h> has a #define.
3910
bd83aabe
PE
3911 mktime: merge <sys/types.h> change from gnulib
3912 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3913 since <time.t> is now guaranteed to define time_t.
3914
95770f14
PE
3915 mktime: merge HAVE_CONFIG_H change from gnulib
3916 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3917
5e1a27a9
L
39182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3919
0e44a77e
L
3920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3921 Use "neg %eax".
3922
5e1a27a9
L
3923 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3924 __rlim_t cast.
3925 (struct rusage): Use anonymous union to pad each field to
3926 __syscall_slong_t.
3927
46259bec
DM
39282012-05-21 David S. Miller <davem@davemloft.net>
3929
3930 * Makefules (o-iterator): Remove .s cases.
3931 (compile-command.s): Delete.
3932 (COMPILE.s): Delete.
3933 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3934
59f0c22e
JM
39352012-05-21 Joseph Myers <joseph@codesourcery.com>
3936
3937 * configure.in (libc_cv_predef_stack_protector): Only consider
3938 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3939 * configure: Regenerated.
3940
20c07380
L
39412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3942
bbb3154b
L
3943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3944 New macro. Use R*LP on int and pointer.
3945 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3946 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3947 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3948 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3949
20c07380
L
3950 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3951 [__WORDSIZE_TIME64_COMPAT32] instead of
3952 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3953 (struct utmp): Likewise.
3954 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3955 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3956 Renamed to ...
3957 (__WORDSIZE_TIME64_COMPAT32): This.
3958 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3959 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3960 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3961 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3962 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3963 (__WORDSIZE_TIME64_COMPAT32): New macro.
3964
d8d1017e
AJ
39652012-05-21 Andreas Jaeger <aj@suse.de>
3966
3967 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3968 only if [SHARED]. Add prototype for __wcschr_ia32.
3969
6c7fb145
RM
39702012-05-21 Roland McGrath <roland@hack.frob.com>
3971
3972 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3973 of %rbp unmolested in the jmp_buf while mangling the low bits.
3974 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3975 unmolested high bits of %rbp while demangling the low bits.
3976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3977
66274218
AJ
39782012-05-21 Andreas Jaeger <aj@suse.de>
3979
07c58f8f
AJ
3980 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3981 * sunrpc/svc_simple.c: Use it for registerrpc.
3982 * sunrpc/xcrypt.c: Use it for passwd2des.
3983
66274218
AJ
3984 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3985
61f65140
L
39862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3987
3988 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3989 Don't define if [__SYSCALL_WORDSIZE != 32].
3990 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3991 New macro.
3992
5fefb436
AJ
39932012-05-21 Bruno Haible <bruno@clisp.org>
3994 Andreas Jaeger <aj@suse.de>
3995
3996 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3997 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3998 inptr and inend for must_buffer_ch.
3999 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4000 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4001 * stdio-common/Makefile (tests): Remove bug15.
4002 (bug15-ENV): Remove macro.
4003 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4004 anymore.
4005
d8e272ab
AJ
40062012-05-19 Andreas Jaeger <aj@suse.de>
4007 Roland McGrath <roland@hack.frob.com>
4008
4009 * manual/contrib.texi: Completely rewritten. It contains now an
4010 alphabetical list of contributors and their contributions.
4011
4a56a162
RH
40122012-05-21 Richard Henderson <rth@twiddle.net>
4013
4014 * misc/getauxval.c (__getauxval): Use unsigned long int.
4015 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4016 (getauxval): Use unsigned long int.
4017
d024d23c
L
40182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4019
4020 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4021
cbc00a03
RM
40222012-05-21 Roland McGrath <roland@hack.frob.com>
4023
4024 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4025 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4026 __alignof__ (long double).
4027
478143fa
AZ
40282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029
4030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4031
c7683a6d
RH
40322012-05-20 Richard Henderson <rth@twiddle.net>
4033
4034 * misc/getauxval.c: New file.
4035 * misc/sys/auxv.h: New file.
4036 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4037 (routines): Add getauxval.
4038 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4039 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4040 * elf/dl-sysdep.c (_dl_auxv): Remove.
4041 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4042 * elf/dl-support.c (_dl_auxv): New variable.
4043 (_dl_aux_init): Initialize it.
4044 * manual/startup.texi (Auxiliary Vector): New node.
4045 * sysdeps/generic/bits/hwcap.h: New file.
4046 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4047 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4048 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4049 * sysdeps/sparc/sysdep.h: ... here. Include it.
4050 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4053 Update.
c7683a6d
RH
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4057 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4062
a6f1845d
AZ
40632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4064
4065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4066
cbcbe830
DM
40672012-05-19 David S. Miller <davem@davemloft.net>
4068
4069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4070
e0b16cc2
JM
40712012-05-19 Joseph Myers <joseph@codesourcery.com>
4072
4073 [BZ #14123]
4074 * math/s_ccosh.c: Include <float.h>
4075 (__ccosh): Avoid internal overflow calculating sinh and cosh
4076 values before multiplying by sin and cos values.
4077 * math/s_ccoshf.c: Likewise.
4078 * math/s_ccoshl.c: Likewise.
4079 * math/s_csin.c: Likewise.
4080 * math/s_csinf.c: Likewise.
4081 * math/s_csinl.c: Likewise.
4082 * math/s_csinh.c: Likewise.
4083 * math/s_csinhf.c: Likewise.
4084 * math/s_csinhl.c: Likewise.
4085 * math/libm-test.inc (ccos_test): Add more tests.
4086 (ccosh_test): Likewise.
4087 (csin_test): Likewise.
4088 (csinh_test): Likewise.
4089 * sysdeps/i386/fpu/libm-test-ulps: Update.
4090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4091
6ad13e08
L
40922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4093
f66f0ce8
L
4094 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4095 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4096
6ad13e08
L
4097 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4098
b1d072a7
JM
40992012-05-19 Joseph Myers <joseph@codesourcery.com>
4100
4101 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4102 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4103 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4104 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4105 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4106 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4107 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4108 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4109 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4110 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4111 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4112 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4113 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4114 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4115 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4116 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4117 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4118 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4119 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4120 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4121 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4122 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4123 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4124 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4125 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4126 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4127 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4128 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4129 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4130 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4131 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4132
9eae47cb
AJ
41332012-05-18 Andreas Jaeger <aj@suse.de>
4134
4135 * csu/.gitignore: Delete.
4136
bb07f69f
L
41372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4138
4139 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4140 (timex): Use __syscall_slong_t.
4141
e6bdb741
AJ
41422012-05-18 Andreas Jaeger <aj@suse.de>
4143 Carlos O'Donell <carlos_odonell@mentor.com>
4144
4145 * manual/install.texi (Configuring and compiling): Update
4146 description about files modified in the source directory.
d6c33fda 4147 * INSTALL: Regenerated.
e6bdb741 4148
1b74487e
L
41492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4150
4151 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4152 value. Use "or" to set return value to -1.
4153 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4154 negate return value.
4155
a88b64b9
TMQMF
41562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4157
4158 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4159 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4160 failure if the compiler has Graphite support disabled.
4161 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4162 Likewise.
4163 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4164 CFLAGS-memmove.c): Likewise.
4165 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4166 Likewise.
4167
3707636e
L
41682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4169
610b8622
L
4170 * sysdeps/x86_64/x32/_itoa.h: New file.
4171
7cd195df
L
4172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4173 getdents system call only if kernel and user dirents have the
4174 same d_ino and d_off.
4175
94b07d20
L
4176 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4177 LLONG_MAX != LONG_MAX.
4178 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4179 (_fitoa_word): Likewise.
4180
18298070
L
4181 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4182 years.
4183 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4184 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4185 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4186
553c7ea4
L
4187 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4188 include <bits/wordsize.h>. Check __x86_64__ instead of
4189 __WORDSIZE.
4190 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4191 if __x86_64__ is defined. Use anonymous union on fpstate.
4192
3707636e
L
4193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4194 anonymous union.
4195
b53ef01a
AS
41962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4197
37fb1dc0
AS
4198 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4199 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4200 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4201 Refer to _rtld_local_ro instead of _rtld_global_ro.
4202 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4203 Likewise.
4204 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4205 Likewise.
4206 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4207 Likewise.
4208 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4209 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4210 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4211
b53ef01a
AS
4212 * sysdeps/powerpc/powerpc32/dl-machine.c
4213 (__elf_machine_runtime_setup) [PROF]: Don't reference
4214 _dl_prof_resolve.
4215
7a185db2
AJ
42162012-05-18 Andreas Jaeger <aj@suse.de>
4217
4218 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4219 function only available for GCCs before 3.4 since GCC 3.4
4220 introduced a builtin.
4221 (lrint): Likewise.
4222 (llrintf): Likewise.
4223 (llrint): Likewise.
4224 (fmaxf): Likewise.
4225 (fmax): Likewise.
4226 (fminf): Likewise.
4227 (fmin): Likewise.
4228 (rint): Likewise.
4229 (rintf): Likewise.
4230 (nearbyint): Likewise.
4231 (nearbyintf): Likewise.
4232 (ceil): Likewise.
4233 (ceilf): Likewise.
4234 (floor): Likewise.
4235 (floorf): Likewise.
4236
3e5aef87
L
42372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4238
428bd707
L
4239 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4240 on both fields and cast pointer to __syscall_ulong_t.
4241
3e5aef87
L
4242 * bits/types.h (__fsword_t): New type.
4243 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4244 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4246 (__FSWORD_T_TYPE): Likewise.
4247 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4248 (__FSWORD_T_TYPE): Likewise.
4249 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4250 (__FSWORD_T_TYPE): Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4252 (__FSWORD_T_TYPE): Likewise.
4253 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4254 __SWORD_TYPE with __fsword_t.
4255 (statfs64): Likewise.
4256
1ba7c3dc
DM
42572012-05-17 David S. Miller <davem@davemloft.net>
4258
4259 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4260
59910343
AJ
42612012-05-17 Andreas Jaeger <aj@suse.de>
4262
4263 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4264 warning.
4265
2e4c1e9e
L
42662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4269
de7f5ce7
AJ
42702012-05-17 Andreas Jaeger <aj@suse.de>
4271
4272 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4273 when it is used.
4274
286abc3d
CM
42752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4276
4277 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4278
477cc68e
L
42792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4280
4281 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4282 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4283
1a0994f5
CD
42842012-05-17 Andreas Jaeger <aj@suse.de>
4285 Carlos O'Donell <carlos_odonell@mentor.com>
4286
4287 [BZ #14059]
4288 * sysdeps/x86_64/multiarch/init-arch.h
4289 (bit_YMM_Usable): Rename to...
4290 (bit_AVX_Usable): ... this.
4291 (bit_FMA4_Usable): New macro.
4292 (bit_XMM_state): New macro.
4293 (bit_YMM_state): New macro.
4294 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4295 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4296 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4297 (CPUID_OSXSAVE): New macro.
4298 (CPUID_AVX): New macro.
4299 (CPUID_FMA4): New macro.
4300 (index_YMM_Usable): Rename to...
4301 (index_AVX_Usable): ... this.
4302 (HAS_AVX): Use HAS_ARCH_FEATURE.
4303 (HAS_FMA4): Likewise.
4304 (HAS_YMM_USABLE): Remove.
4305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4306 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4307 are present.
4308 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4309 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4310 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4311 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4312 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4313
0af797de
CM
43142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4315
4316 * math/libm-test.c: Support platforms without multiple rounding modes.
4317 * math/bug-nextafter.c: Support platforms without FP exceptions.
4318 * math/bug-nexttoward.c: Likewise.
4319 * math/test-fenv.c: Likewise.
4320 * math/test-misc.c: Likewise.
4321 * stdlib/bug-getcontext.c: Likewise.
4322
e39745ff
AJ
43232012-05-17 Andreas Jaeger <aj@suse.de>
4324
4325 * manual/examples/search.c (critter_cmp): Change signature to
4326 avoid warnings.
4327 * manual/string.texi (Collation Functions): Likewise.
4328
48970aba
L
43292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4330
4331 * bits/types.h: Fold copyright years.
4332 * bits/typesizes.h: Likewise.
4333 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4337 * time/time.h: Likewise.
4338
bedee953
PP
43392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4340
4341 [BZ #208]
4342 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4343 in instead of returning them. Return void.
4344 (__libc_mallinfo): Accumulate over all arenas.
4345 (__malloc_stats): Adjust for change in int_mallinfo interface.
4346
61653dfb
RM
43472012-05-16 Roland McGrath <roland@hack.frob.com>
4348
30b99d79
RM
4349 [BZ #10375]
4350 * configure.in (NM): Add AC_CHECK_TOOL for it.
4351 (libc_extra_cflags): New substituted variable.
4352 Check for -fstack-protector being used implicitly.
4353 * configure: Regenerated.
4354 * config.make.in (config-extra-cflags): New variable,
4355 gets @libc_extra_cflags@.
4356 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4357
61653dfb
RM
4358 [BZ #10375]
4359 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4360 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4361 * configure: Regenerated.
4362 * config.make.in (CPPUNDEFS): New substituted variable.
4363 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4364 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4365 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4366
661768bb
L
43672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4368
4369 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4370 (mq_attr): Use __syscall_slong_t.
4371
d4261567
L
43722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4375 Check __x86_64__ instead of __WORDSIZE.
4376 (_STAT_VER_LINUX): Likewise.
4377 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4378 __syscall_ulong_t and __syscall_slong_t.
4379 (stat64): Likewise.
4380
cf3ff365
L
43812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4382
4383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4384
76cf3e4d
L
43852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4388
a637753a
L
43892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4392 __syscall_ulong_t.
4393
d5e05119
L
4394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4395 include <bits/wordsize.h>. Check __x86_64__ instead of
4396 __WORDSIZE.
4397 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4398 defined.
4399 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4400
f62ee380
L
4401 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4402 include <bits/wordsize.h>. Check __x86_64__ instead of
4403 __WORDSIZE.
4404 (user_regs_struct): Use "__extension__ unsigned long long"
4405 instead of "unsigned long" if __x86_64__ is defined.
4406 (user): Likewise. Pad after pointer field if __ILP32__ is
4407 defined.
4408
4e124ced
JM
44092012-05-16 Joseph Myers <joseph@codesourcery.com>
4410
6a3951a0
JM
4411 * configure.in (makeinfo): Require version 4.5 or later. Allow
4412 versions 5 to 9.
4413 * configure: Regenerated.
4414 * manual/install.texi (texinfo): Increase version requirement to
4415 4.5 or later.
4416 * INSTALL: Regenerated.
4417
4e124ced
JM
4418 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4419
953ca31a
L
44202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4421
4422 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4423
617aca05
L
4424 * sysdeps/x86_64/x32/ffs.c: New file.
4425
5762f7ae
L
4426 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4427 __syscall_ulong_t.
4428 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4429 defined. Use __syscall_ulong_t.
4430 (shminfo): Use __syscall_ulong_t.
4431 (shm_info): Likewise.
4432
a26b6856
L
4433 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4434 __syscall_ulong_t.
4435
cb2b9ef7
L
4436 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4437 <bits/wordsize.h>.
4438 (msgqnum_t): Use __syscall_ulong_t.
4439 (msglen_t): Likewise.
4440 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4441 __syscall_ulong_t.
4442
34683bb0
L
4443 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4444 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4445
84a68786
L
4446 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4447
48baa5f1
L
4448 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4449 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4450
180be88b
L
4451 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4452 __syscall_slong_t.
4453
5e90c8ad
L
4454 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4455 include <bits/wordsize.h>. Check __x86_64__ instead of
4456 __WORDSIZE.
4457
23dfb58b
L
4458 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4459 "unsigned long long int" if __x86_64__ is defined.
4460 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4461
ce5d54b0
L
4462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4463 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4464 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4465
13dc9eac
L
4466 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4467 <stdint.h>.
4468 (GET_PC): Cast to uintptr_t first.
4469 (GET_FRAME): Likewise.
4470 (GET_STACK): Likewise.
4471
a7895d15
L
4472 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4475 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4477 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4478 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4479 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4480 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4481 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4482 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4483 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4484 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4485 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4486 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4487 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4488 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4489 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4490 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4491 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4492 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4497 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4498 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4500 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4501
656416c9
AS
45022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4503
5bd66283
AS
4504 * Makerules (+depfiles): Also collect depfiles from .oS in
4505 $(extra-objs).
4506 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4507 .oS, $(libnldbl-routines)).
4508
656416c9
AS
4509 * Makerules (native-compile-mkdep-flags): Define.
4510 * sunrpc/Makefile (extra-objs): Add $(addprefix
4511 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4512 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4513 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4514 calling $(make-target-directory).
4515
a46f2169
L
45162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4517
4518 * bits/types.h (__snseconds_t): Removed.
4519 * time/time.h (struct timespec): Replace __snseconds_t with
4520 __syscall_slong_t.
4521 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4522 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4523 Likewise.
4524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4525 (__SNSECONDS_T_TYPE): Likewise.
4526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4527 (__SNSECONDS_T_TYPE): Likewise.
4528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4529 (__SNSECONDS_T_TYPE): Likewise.
4530
6af6528b
L
45312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4532
4533 * sysdeps/mach/hurd/bits/typesizes.h
4534 (__SYSCALL_SLONG_TYPE): New macro.
4535 (__SYSCALL_ULONG_TYPE): Likewise.
4536
de986b56
L
45372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4538
4539 * bits/types.h (__syscall_slong_t): New type.
4540 (__syscall_ulong_t): Likewise.
4541
4542 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4543 (__SYSCALL_ULONG_TYPE): Likewise.
4544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4545 (__SYSCALL_SLONG_TYPE): Likewise.
4546 (__SYSCALL_ULONG_TYPE): Likewise.
4547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4548 (__SYSCALL_SLONG_TYPE): Likewise.
4549 (__SYSCALL_ULONG_TYPE): Likewise.
4550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4551 (__SYSCALL_SLONG_TYPE): Likewise.
4552 (__SYSCALL_ULONG_TYPE): Likewise.
4553
85736dc7
L
45542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4555
4556 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4557 Add sigaltstack-offsets.sym.
4558 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4559 <sigaltstack-offsets.h>.
4560 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4561 longjmp_msg pointer.
4562 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4563 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4564 signal stack.
4565 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4566
cc03b296
JM
45672012-05-15 Joseph Myers <joseph@codesourcery.com>
4568
a9538892
JM
4569 * elf/stackguard-macros.h: Remove file.
4570 * sysdeps/generic/stackguard-macros.h: New file.
4571 * sysdeps/i386/stackguard-macros.h: Likewise.
4572 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4573 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4574 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4575 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4576 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4577 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4578 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4579 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4580 <elf/stackguard-macros.h>.
4581
cc03b296
JM
4582 [BZ #14109]
4583 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4584 __aligned__ in attribute.
4585 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4586 (gregset_t): Likewise.
4587
93171016
L
45882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4589
4590 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4591 * sysdeps/x86_64/64/Implies-after: Here. New file.
4592 * sysdeps/x86_64/x32/Implies-after: New file.
4593
d86813a0
L
45942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4597 and access return value for _dl_profile_fixup. Use R10_LP to
4598 load frame size.
4599
2953ec75
L
46002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4601
4602 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4603
3b550e9e
L
46042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4605
4606 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4607 * sysdeps/x86_64/x32/sysdep.h: New file.
4608
eda41706
L
46092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4610
4611 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4612 * sysdeps/x86_64/setjmp.S: Likewise.
4613
9ea01d93
AZ
46142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4615
4616 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4617 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4618 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4619 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4620 remove unused global constant.
4621
02a91938
CM
46222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4623
4624 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4625 include of <not-cancel.h>.
4626
6540185f
RM
46272012-05-15 Roland McGrath <roland@hack.frob.com>
4628
4629 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4630
509072a0
AJ
46312012-05-15 Jeff Law <law@redhat.com>
4632 Andreas Jaeger <aj@suse.de>
4633
4634 [BZ #13594]
4635 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4636 out from...
4637 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4638 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4640 code changing __hst_map_handle.map.
4641
ba75122d
RM
46422012-05-15 Roland McGrath <roland@hack.frob.com>
4643
4644 * configure.in (sysnames): Look for Implies-before and Implies-after
4645 files.
4646 * configure: Regenerated.
4647
890d8bd8
L
46482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4649
4650 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4651 8-byte data alignment with LP_SIZE alignment.
4652
f6ee6623
L
46532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4654
4655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4656 into R10_LP.
4657
ea2626f6
L
46582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4659
4660 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4661
085f715e
L
46622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4663
4664 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4665 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4667 Likewise.
4668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4669
be8498fc
L
46702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4671
4672 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4673 (stackinfo_sub_sp): Likewise.
4674
70bc83b9
L
46752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4676
4677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4678 RAX_LP.
4679
9bc0b730
L
46802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4681
4682 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4683 into R*_LP.
4684
6d2850e7
L
46852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4686
4687 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4688 sizes into R*_LP.
4689
3cb84561
L
46902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4691
4692 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4693
54e2ed81
L
46942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4695
4696 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4697 into R11_LP and load __x86_64_shared_cache_size_half into
4698 R8_LP.
4699
8a17f349
L
47002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4703 R8_LP.
4704
777b1eea
AZ
47052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4706
4707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4708 logb for POWER7.
4709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4710 logbf for POWER7.
4711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4712 logbl for POWER7.
4713 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4714 powerpc32/power7/fpu/s_logb.c via #include.
4715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4716 powerpc32/power7/fpu/s_logbf.c via #include.
4717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4718 powerpc32/power7/fpu/s_logbl.c via #include.
4719
d20d4ac2
JM
47202012-05-15 Joseph Myers <joseph@codesourcery.com>
4721
4722 * README.libm: Remove file.
4723
6cdef1ab
L
47242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4725
4726 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4727 count for x32. Use R*_LP and omit operand-size suffix.
4728
0b254d8f
L
47292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4730
4731 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4732 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4733 * sysdeps/x86_64/x32/shlib-versions: New file.
4734
ceb809dc
RM
47352012-05-14 Roland McGrath <roland@hack.frob.com>
4736
4737 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4738 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4739 Use _dl_fatal_printf instead.
4740
37f1abd4
JM
47412012-05-14 Joseph Myers <joseph@codesourcery.com>
4742
4743 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4744 set if not set by the user. Do not allow for being unset.
4745 * sysdeps/unix/sysv/linux/configure: Regenerated.
4746
11de3a33
L
47472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4748
4749 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4750 the `q' suffix from lea and replace .quad with ASM_ADDR.
4751
e02f153a
L
47522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4753
4754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4755 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4756 instead of $17.
4757 (PTR_DEMANGLE): Likewise.
4758
520ae0fd
L
47592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4760
4761 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4762 (LP_OP): Likewise.
4763 (ASM_ADDR): Likewise.
4764 (RAX_LP): Likewise.
4765 (RBP_LP): Likewise.
4766 (RBX_LP): Likewise.
4767 (RCX_LP): Likewise.
4768 (RDI_LP): Likewise.
4769 (RSI_LP): Likewise.
4770 (RSP_LP): Likewise.
4771 (R8_LP): Likewise.
4772 (R9_LP): Likewise.
4773 (R10_LP): Likewise.
4774 (R10_LP): Likewise.
4775 (R11_LP): Likewise.
4776 (R12_LP): Likewise.
4777 (R13_LP): Likewise.
4778 (R14_LP): Likewise.
4779 (R15_LP): Likewise.
4780
b985be81
L
47812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4782
4783 * sysdeps/x86_64/x32/dl-machine.h: New file.
4784
6a4888ff
AJ
47852012-05-14 Andreas Jaeger <aj@suse.de>
4786
4787 * manual/Makefile (subdir): Remove export of subdir.
4788 (all): Remove target.
4789 (.PHONY): Remove all from list.
4790 (mkinstalldirs): Remove.
4791 (.PHONY): Remove installdirs from list.
4792 ($(inst_infodir)/libc.info): Use make-target-directory.
4793 (installdirs): Remove.
4794 (subdir_%): Remove.
4795 (glibc-targets): Remove.
4796 (lib): Remove.
4797 (stubs): Remove.
4798 ($(objpfx)stubs ../po/manual.pot): Remove.
4799 ($(objpfx)stamp%): Remove.
4800 (make-target-directory): Remove.
4801 (subdir_install): Remove.
4802 (routines): Remove.
4803 (aux): Remove.
4804 (sources): Remove.
4805 (objects): Remove.
4806 (headers): Remove.
4807
4808 [BZ #13750]
4809 * manual/.gitignore: Remove, it's not needed anymore.
4810 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4811 all files in it.
4812 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4813 directory.
4814 (texis): Renamed to $(objpfx)texis.
4815 (texis-path): New, contains path to generated files.
4816 (chapters.%): Use texis-path for complete path, add extra argument
4817 libc-texinfo.sh.
4818 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4819 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4820 (summary,texi, stamp-summary): Use complete path of
4821 files. Generate files in build dir.
4822 (dir-add.texi): Build in build dir.
4823 (libm-err.texi,stamp-libm-err): Likewise.
4824 (version.texi, stamp-version): Likewise.
4825 (.%c.texi): Likewise.
4826 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4827 (mostlyclean): Remove target.
4828 (realclean): Remove target.
4829 (generated): Add new variable with contents from mostlyclean and
4830 realclean, remove entries duplicated in common-mostlyclean, add
4831 stamp-libm-err and stamp-version.
4832 (generated-dirs): Add libc directory.
4833 ($(inst_infodir)/libc.info): Install files from build dir.
4834
4835 * manual/install.texi (Configuring and compiling): Adjust since
4836 the info files are not part of the tar ball anymore.
4837
7ac77294
AJ
48382012-05-14 Andreas Jaeger <aj@suse.de>
4839
4840 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4841 variable.
4842
ffb7875d
JM
48432012-05-14 Joseph Myers <joseph@codesourcery.com>
4844
4845 [BZ #13717]
4846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4847 to 2.2.0 where earlier.
4848 * sysdeps/unix/sysv/linux/configure: Regenerated.
4849 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4850 Remove conditional code.
4851 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4852 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4853 Remove conditional code.
4854 [!__NR_lchown]: Likewise.
4855 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4856 [__NR_lchown]: Likewise.
4857 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4858 comment referencing __ASSUME_LCHOWN_SYSCALL.
4859 * sysdeps/unix/sysv/linux/i386/sigaction.c
4860 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4861 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4862 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4863 Remove conditional code.
4864 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4865 (__protocol_available): Remove #if 0 code.
4866 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4867 conditional code.
4868 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4869 * sysdeps/unix/sysv/linux/kernel-features.h
4870 (__ASSUME_GETCWD_SYSCALL): Don't define.
4871 (__ASSUME_REALTIME_SIGNALS): Likewise.
4872 (__ASSUME_PREAD_SYSCALL): Likewise.
4873 (__ASSUME_PWRITE_SYSCALL): Likewise.
4874 (__ASSUME_POLL_SYSCALL): Likewise.
4875 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4876 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4877 non-SPARC.
4878 (__ASSUME_SIOCGIFNAME): Don't define.
4879 (__ASSUME_MSG_NOSIGNAL): Likewise.
4880 (__ASSUME_SENDFILE): Define unconditionally.
4881 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4882 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4883 conditional code.
4884 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4885 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4886 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4887 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4888 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4889 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4890 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4892 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4895 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4896 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4901 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4902 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4904 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4907 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4908 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4910 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4913 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4915 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4916 Remove conditional code.
4917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4918 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4919 Remove conditional code.
4920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4921 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4922 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4923 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4924 Remove conditional code.
4925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4926 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4927 Remove conditional code.
4928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4929 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4930 Remove conditional code.
4931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4932 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4933 Remove conditional code.
4934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4935 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4936 Remove conditional code.
4937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4938 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4939 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4940 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4941 * sysdeps/unix/sysv/linux/sigaction.c
4942 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4943 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4944 * sysdeps/unix/sysv/linux/sigpending.c
4945 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4946 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4947 * sysdeps/unix/sysv/linux/sigprocmask.c
4948 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4949 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4950 * sysdeps/unix/sysv/linux/sigsuspend.c
4951 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4952 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4953 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4954 (__libc_missing_rt_sigs): Remove.
4955 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4956 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4957 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4958 Remove conditional code.
4959 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4960 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4961 return 1.
4962 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4963 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4964 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4965 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4966
1bfb7291
AJ
49672012-05-14 Andreas Jaeger <aj@suse.de>
4968
caae5a81
AJ
4969 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4970 it's not used in glibc.
4971 (__coshm1): Likewise.
4972 (__acosh1p): Likewise.
4973 (__sgn): Likewise.
4974
1bfb7291
AJ
4975 * manual/string.texi (Copying and Concatenation): Add missing
4976 variable in concat example.
4977 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4978
c044d724
L
49792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4980
144c5467 4981 [BZ #14103]
c044d724
L
4982 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4983 __builtin_clzl with __builtin_clzll.
4984
2523c62b
L
49852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4986
4987 [BZ #14104]
4988 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4989 libc_freeres_ptr.
4990
d7bb4c42
LD
49912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4992
4993 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4994 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4995 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4996 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4997
9dc4e1fb
MF
49982012-05-14 Mike Frysinger <vapier@gentoo.org>
4999
5000 * NEWS: Update ia64 info.
5001
c7df0112
AS
50022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5003
5004 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5005 used as bcopy.
5006
dc70356c
TS
50072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5008
5009 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5010 * sysdeps/unix/syscalls.list (dup3): Likewise.
5011 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5012 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5013
9fb1a21f
L
50142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5015
5016 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5017 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5018
4822a2a5
L
50192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5020
5021 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5022 thread pointer.
5023 (TLS_IE): Use mov/add instead of movq/addq to load thread
5024 pointer.
5025 (TLS_GD_PREFIX): New.
5026 (TLS_GD): Use it.
5027
842b81d6
DM
50282012-05-11 David S. Miller <davem@davemloft.net>
5029
5030 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5031 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5032 (_FPU_SETCW): Likewise.
5033
1cf463cd
L
50342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5035
5036 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5037 is 32-byte aligned.
5038
60cc4a18
AS
50392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5040
5041 [BZ #11837]
5042 * iconvdata/gb18030.c: Update tables.
5043 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5044 characters specially.
5045 (BODY for TO_LOOP): Add encoding of missing ranges.
5046
febb44a4
TS
50472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5048
5049 [BZ #13673]
5050 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5051 * sysdeps/mach/hurd/dup3.c: Likewise.
5052 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5053 * sysdeps/powerpc/memmove.c:: Likewise.
5054
0a10fb9e
L
50552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5056
5057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5058 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5059
df8a552f
L
50602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5061
5062 * elf/elf.h (R_X86_64_RELATIVE64): New.
5063 (R_X86_64_NUM): Updated.
5064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5065 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5066 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5067 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5068 tst-quad1pie tst-quad2pie
5069 (modules-names): Add tst-quadmod1 tst-quadmod2.
5070 ($(objpfx)tst-quad1): New dependency.
5071 ($(objpfx)tst-quad2): Likewise.
5072 ($(objpfx)tst-quad1pie): Likewise.
5073 ($(objpfx)tst-quad2pie): Likewise.
5074 * sysdeps/x86_64/tst-quad1.c: New file.
5075 * sysdeps/x86_64/tst-quad1pie.c: New file.
5076 * sysdeps/x86_64/tst-quad2.c: Likewise.
5077 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5078 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5079 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5080 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5081 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5082
f34d6f84
ST
50832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5084
f42d41d1
ST
5085 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5086 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5087 * streams/stropts.h (t_scalar_t): Define type.
5088
3c3571fc
ST
5089 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5090 (_PATH_PRESERVE): Set to "/var/lib".
5091 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5092
61f06bd3
ST
5093 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5094 instead of int.
5095
918d4d71
ST
5096 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5097 if __dir_mkfile succeeded.
5098
f34d6f84
ST
5099 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5100 checking for _hurd_dtablesize. Unlock it right after having
5101 finished _hurd_dtable allocation.
5102
10589b4a
TS
51032012-05-10 Thomas Schwinge <thomas@schwinge.name>
5104
674cdbc7
TS
5105 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5106 * sysdeps/mach/hurd/configure: Regenerated.
5107 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5108 special-casing to...
5109 * sysdeps/gnu/configure.in: ... this new file.
5110 * sysdeps/unix/sysv/linux/configure: Regenerated.
5111 * sysdeps/gnu/configure: New generated file.
5112
8e41b99f
TS
5113 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5114 for Linux: use nsec instead of usec, as well as:
5115 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5116 members of type struct timespec.
5117 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5118 New macros.
5119 (struct stat64): Likewise.
5120 (_STATBUF_ST_NSEC): New macro.
5121 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5122
10589b4a
TS
5123 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5124 __strtoul_internal rather than strtoul.
5125
63643c85
PT
51262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5127
5128 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5129 and reject them.
5130
3faebe6a
ST
51312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5132
5133 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5134 which preserves existing values.
5135 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5136
c6474b07
PT
51372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5138
5139 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5140 TIMEOUT values. Return EINVAL for NFDS values either negative or
5141 greater than FD_SETSIZE.
5142
1043890b
ST
51432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5144
5145 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5146 allocated, call __vm_protect to finish enabling the existing space, and
5147 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5148 allocate the remainder.
5149
37ed8b9b
PT
51502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5151
5152 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5153 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5154
db653660
ST
51552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5156
37ed8b9b
PT
5157 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5158 sysdeps/mach/hurd/readlink.c.
b29d4053 5159
db653660
ST
5160 * posix/tst-sysconf.c (posix_options): Only use
5161 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5162 _POSIX_SYNCHRONIZED_IO when they are defined
5163 * sysdeps/mach/hurd/bits/posix_opt.h:
5164 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5165 (_XOPEN_REALTIME): Undefine macro.
5166 (_XOPEN_REALTIME_THREADS): Undefine macro.
5167 (_XOPEN_SHM): Undefine macro.
5168 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5169 macro to -1.
5170 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5171 macro to -1.
5172 (_POSIX_ASYNC_IO): Undefine macro.
5173 (_POSIX_PRIORITIZED_IO): Undefine macro.
5174 (_POSIX_SPIN_LOCKS): Define macro to -1.
5175
ee16e894
ST
5176 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5177 SA_NODEFER, SA_RESETHAND.
5178 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5179 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5180 F_DUPFD_CLOEXEC.
5181
6103ae3b
TS
51822012-05-10 Thomas Schwinge <thomas@schwinge.name>
5183
5184 * elf/Makefile (pldd-modules): Define unconditionally.
5185
80b4e5f3
TS
51862012-05-10 Thomas Schwinge <thomas@schwinge.name>
5187
5188 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5189
edadcbd6
ST
51902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5191
5192 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5193 Return ENOENT when name is empty.
5194 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5195
80694780
TS
51962012-05-10 Thomas Schwinge <thomas@schwinge.name>
5197
1792c087
TS
5198 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5199
80694780
TS
5200 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5201
6b645f0d
ST
52022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5203
80694780
TS
5204 Fix mlock in all cases except non-readable pages.
5205 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5206 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5207
6b645f0d
ST
5208 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5209 (__mkdir): When path is `/', just fail with EEXIST.
5210 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5211
e468f8a3
TS
52122012-05-10 Thomas Schwinge <thomas@schwinge.name>
5213
5214 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5215 <sys/uio.h> (for writev).
5216 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5217 and <sys/param.h> (for MIN).
5218
a4186cff
PT
52192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5220
5221 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5222 REQUESTED_TIME. Properly set the remaining time and return EINTR
5223 if interrupted.
5224
510bbf14
TS
52252012-05-10 Thomas Schwinge <thomas@schwinge.name>
5226
5227 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5228 Depend on against $(link-rpcuserlibs).
5229
5d5722e8
ST
52302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5231
a4186cff
PT
5232 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5233 (__libc_stack_end): Do not use attribute_relro.
5234 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5235 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5236 to libthread-provided value.
a4186cff
PT
5237 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5238 attribute_relro.
5d5722e8 5239
37233df9
TS
52402012-05-10 Thomas Schwinge <thomas@schwinge.name>
5241
be971a2b
TS
5242 [BZ #3748]
5243 * bits/libc-lock.h (__libc_once_get): New macro.
5244 * sysdeps/mach/bits/libc-lock.h: Likewise.
5245 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5246 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5247 instead of using implementation details.
5248
37233df9
TS
5249 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5250 * libio/freopen.c: Likewise.
5251 * libio/freopen64.c: Likewise.
5252 * misc/syslog.c: Likewise.
5253 * nscd/connections.c: Likewise.
5254 * nscd/netgroupcache.c: Likewise.
5255 * sysdeps/posix/getcwd.c: Likewise.
5256
38de94a5
RM
52572012-05-10 Roland McGrath <roland@hack.frob.com>
5258
5259 * math/w_ilogbf.c: Add #include <limits.h>.
5260
67530489
ST
52612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5262
a4186cff 5263 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5264 path instead of returning without unlocking.
5265
67530489
ST
5266 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5267 immediate-write ioctls.
5268 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5269
5aa3a74a
TS
52702012-05-10 Thomas Schwinge <thomas@schwinge.name>
5271
18bad2ae
TS
5272 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5273 __builtin_frame_address instead of making assumptions about the
5274 location of the return address relative to DATA. Force early load of
5275 the return address.
5276 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5277 __builtin_frame_address.
5278
5aa3a74a
TS
5279 dup3 for GNU Hurd.
5280 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5281 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5282 implement dup3 and do some further code clean-ups.
5283 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5284 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5285
ecd0de9a
ST
52862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5287
cd9fa985
ST
5288 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5289
a4186cff
PT
5290 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5291 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5292 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5293 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5294 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5295 d->port.lock.
802ca5a5 5296
a4186cff
PT
5297 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5298 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5299 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5300
bcf55240
TS
53012012-05-10 Thomas Schwinge <thomas@schwinge.name>
5302
6960eb42
TS
5303 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5304 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5305 definitions.
5306
eb43375f
TS
5307 accept4 for GNU Hurd.
5308 * include/sys/socket.h (__libc_accept4): New prototype.
5309 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5310 to implement __libc_accept4.
5311 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5312 __libc_accept4.
5313 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5314
bcf55240
TS
5315 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5316 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5317 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5318 signal-defines.sym.
5319
6178c55b
ST
53202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5321
a4186cff 5322 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5323
6f080c2f
TS
53242012-05-10 Thomas Schwinge <thomas@schwinge.name>
5325
5326 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5327 assertion on O_CLOEXEC flag.
5328 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5329 * hurd/intern-fd.c: Likewise.
5330 * hurd/port2fd.c: Likewise.
5331
bcfe3a54
ST
53322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5333
5334 [BZ #3906]
5335 * bits/in.h (IPV6_PKTINFO): Define new macro.
5336 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5337
89c9aa49
AZ
53382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5339
5340 [BZ #13954]
5341 [BZ #13955]
5342 [BZ #13956]
5343 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5344 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5345 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5346 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5348 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5349 * math/libm-test.inc (logb_test) : Additional logb tests.
5350
021db4be
AJ
53512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5352 Andreas Jaeger <aj@suse.de>
5353
5354 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5355 * configure: Regenerated.
5356 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5357 * config.make.in (link-obsolete-rpc): New substituted variable.
5358 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5359 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5360 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5361 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5362 so that libc.a contains the symbols.
5363 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5364 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5365 * sunrpc/auth_none.c: Likewise.
5366 * sunrpc/auth_unix.c: Likewise.
5367 * sunrpc/authdes_prot.c: Likewise.
5368 * sunrpc/authuxprot.c: Likewise.
5369 * sunrpc/clnt_gen.c: Likewise.
5370 * sunrpc/clnt_perr.c: Likewise.
5371 * sunrpc/clnt_raw.c: Likewise.
5372 * sunrpc/clnt_simp.c: Likewise.
5373 * sunrpc/clnt_tcp.c: Likewise.
5374 * sunrpc/clnt_udp.c: Likewise.
5375 * sunrpc/clnt_unix.c: Likewise.
5376 * sunrpc/des_crypt.c: Likewise.
5377 * sunrpc/des_soft.c: Likewise.
5378 * sunrpc/get_myaddr.c: Likewise.
5379 * sunrpc/key_call.c: Likewise.
5380 * sunrpc/key_prot.c: Likewise.
5381 * sunrpc/netname.c: Likewise.
5382 * sunrpc/pm_getmaps.c: Likewise.
5383 * sunrpc/pm_getport.c: Likewise.
5384 * sunrpc/pmap_clnt.c: Likewise.
5385 * sunrpc/pmap_prot.c: Likewise.
5386 * sunrpc/pmap_prot2.c: Likewise.
5387 * sunrpc/pmap_rmt.c: Likewise.
5388 * sunrpc/publickey.c: Likewise.
5389 * sunrpc/rpc_cmsg.c: Likewise.
5390 * sunrpc/rpc_common.c: Likewise.
5391 * sunrpc/rpc_dtable.c: Likewise.
5392 * sunrpc/rpc_prot.c: Likewise.
5393 * sunrpc/rpc_thread.c: Likewise.
5394 * sunrpc/rtime.c: Likewise.
5395 * sunrpc/svc.c: Likewise.
5396 * sunrpc/svc_auth.c: Likewise.
5397 * sunrpc/svc_raw.c: Likewise.
5398 * sunrpc/svc_run.c: Likewise.
5399 * sunrpc/svc_tcp.c: Likewise.
5400 * sunrpc/svc_udp.c: Likewise.
5401 * sunrpc/svc_unix.c: Likewise.
5402 * sunrpc/svcauth_des.c: Likewise.
5403 * sunrpc/xcrypt.c: Likewise.
5404 * sunrpc/xdr.c: Likewise.
5405 * sunrpc/xdr_array.c: Likewise.
5406 * sunrpc/xdr_float.c: Likewise.
5407 * sunrpc/xdr_intXX_t.c: Likewise.
5408 * sunrpc/xdr_mem.c: Likewise.
5409 * sunrpc/xdr_rec.c: Likewise.
5410 * sunrpc/xdr_ref.c: Likewise.
5411 * sunrpc/xdr_sizeof.c: Likewise.
5412 * sunrpc/xdr_stdio.c: Likewise.
5413
b5c086a2
RM
54142012-05-10 Roland McGrath <roland@hack.frob.com>
5415
5416 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5417 change. Update copyright years.
5418
6d74dd09
JM
54192012-05-10 Joseph Myers <joseph@codesourcery.com>
5420
5421 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5422
28e72501
MK
54232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5424 Joseph Myers <joseph@codesourcery.com>
5425 Paul Pluzhnikov <ppluzhnikov@google.com>
5426
5427 [BZ #14012]
5428 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5429 requiring rpcgen.
5430 [cross-compiling] (extra-libs): Likewise.
5431 [cross-compiling] (extra-libs-others): Likewise.
5432 [cross-compiling] (librpcsvc-routines): Likewise.
5433 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5434 [cross-compiling] (omit-deps): Likewise.
5435 (sunrpc-CPPFLAGS): New variable.
5436 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5437 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5438 (cross-rpcgen-objs): New variable.
5439 (extra-objs): Append $(cross-rpcgen-objs).
5440 ($(cross-rpcgen-objs)): New rule.
5441 ($(objpfx)cross-rpcgen): Likewise.
5442 (rpcgen-cmd): Define to use $(built-program-file). Expand
5443 comment.
5444 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5445 ($(objpfx)x%.stmp): Likewise.
5446 * sunrpc/proto.h [IS_IN_build] (_): Define.
5447 [IS_IN_build] (_libc_intl_domainname): Likewise.
5448
c8c59454
L
54492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5450
5451 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5452 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5453 and R_X86_64_TPOFF64.
5454
6f27cd16
JM
54552012-05-10 Joseph Myers <joseph@codesourcery.com>
5456
5457 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5458 sysdeps/unix/sysv/syscalls.list.
5459 (stime): Likewise.
5460 (utime): Likewise.
5461 * sysdeps/unix/sysv/syscalls.list: Remove file.
5462
02467e1c
PE
54632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5464
5465 [BZ #3440]
5466 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5467 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5468 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5469 (__LC_IDENTIFICATION): Make these macros useful in #if
5470 expressions, as required by C99.
5471
da392631
AS
54722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5473
5474 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5475 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5476 after this.
5477
8115f29b
L
54782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5479
5480 * stdlib/longlong.h: Updated from GCC.
5481
bdd74070
AJ
54822012-05-09 Andreas Jaeger <aj@suse.de>
5483
edfe0dbe
AJ
5484 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5485 default is first entry.
5486 (run_mode): Set type.
5487 (main): Remove informal message about syslog.
5488 (options): Fix typo.
5489
bcfe3a54
ST
5490 [BZ #14053]
5491 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5492 to asm.
bcfe3a54
ST
5493 (lrint): Likewise.
5494 (llrintf): Likewise.
5495 (llrint): Likewise.
5496 (rint): Likewise.
5497 (rintf): Likewise.
5498 (nearbyint): Likewise.
5499 (nearbyintf): Likewise.
bdd74070 5500
91d8d69e
AJ
55012012-05-09 Andreas Jaeger <aj@suse.de>
5502 Pedro Alves <palves@redhat.com>
5503
5504 * nscd/nscd.c (run_mode): Use enum.
5505 (main): Cleanup coding style issue.
5506
bb90b80b
AJ
55072012-05-09 Alexandre Oliva <aoliva@redhat.com>
5508 Andreas Jaeger <aj@suse.de>
5509
bcfe3a54
ST
5510 * nscd/nscd.c (go_background): Replaced with...
5511 (run_mode): ... this.
bb90b80b 5512 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5513 (options): Add -F --foreground.
5514 (main): Implement it.
5515 (parse_opt): Parse it.
bb90b80b 5516
1a4b75a1
AJ
55172012-05-09 Andreas Jaeger <aj@suse.de>
5518
5519 [BZ #14083]
5520 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5521 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5522 -Wconversion warning.
5523 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5524 Likewise.
5525
b1cc2472
JM
55262012-05-09 Joseph Myers <joseph@codesourcery.com>
5527
5528 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5529 == 0.
5530 (LC_ALL): Use macro-int-constant.
5531 (LC_COLLATE): Likewise.
5532 (LC_CTYPE): Likewise.
5533 (LC_MESSAGES): Likewise.
5534 (LC_MONETARY): Likewise.
5535 (LC_NUMERIC): Likewise.
5536 (LC_TIME): Likewise.
5537 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5538 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5540 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5541 Specify type.
5542 [C99-based standards] (float_t): Expect type.
5543 [C99-based standards] (double_t): Expect type.
5544 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5545 type.
5546 [C99-based standards] (HUGE_VALL): Likewise.
5547 [C99-based standards] (INFINITY): Likewise.
5548 [C99-based standards] (NAN): Likewise.
5549 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5550 [C99-based standards] (FP_NAN): Likewise.
5551 [C99-based standards] (FP_NORMAL): Likewise.
5552 [C99-based standards] (FP_SUBNORMAL): Likewise.
5553 [C99-based standards] (FP_ZERO): Likewise.
5554 [C99-based standards] (FP_FAST_FMA): Use
5555 optional-macro-int-constant. Specify type. Require == 1.
5556 [C99-based standards] (FP_FAST_FMAF): Likewise.
5557 [C99-based standards] (FP_FAST_FMAL): Likewise.
5558 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5559 [C99-based standards] (FP_ILOGBNAN): Likewise.
5560 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5561 Specify type.
5562 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5563 [C99-based standards] (math_errhandling): Specify type.
5564 [ISO99 || ISO11] (signgam): Do not allow.
5565 [non-C99-based standards] (copysignf): Do not allow.
5566 [non-C99-based standards] (exp2f): Likewise.
5567 [non-C99-based standards] (log2f): Likewise.
5568 [non-C99-based standards] (modff): Allow.
5569 [non-C99-based standards] (erff): Do not allow.
5570 [non-C99-based standards] (erfcf): Likewise.
5571 [non-C99-based standards] (gammaf): Likewise.
5572 [non-C99-based standards] (hypotf): Likewise.
5573 [non-C99-based standards] (j0f): Likewise.
5574 [non-C99-based standards] (j1f): Likewise.
5575 [non-C99-based standards] (jnf): Likewise.
5576 [non-C99-based standards] (lgammaf): Likewise.
5577 [non-C99-based standards] (tgammaf): Likewise.
5578 [non-C99-based standards] (y0f): Likewise.
5579 [non-C99-based standards] (y1f): Likewise.
5580 [non-C99-based standards] (ynf): Likewise.
5581 [non-C99-based standards] (isnanf): Likewise.
5582 [non-C99-based standards] (acoshf): Likewise.
5583 [non-C99-based standards] (asinhf): Likewise.
5584 [non-C99-based standards] (atanhf): Likewise.
5585 [non-C99-based standards] (cbrtf): Likewise.
5586 [non-C99-based standards] (expm1f): Likewise.
5587 [non-C99-based standards] (ilogbf): Likewise.
5588 [non-C99-based standards] (log1pf): Likewise.
5589 [non-C99-based standards] (logbf): Likewise.
5590 [non-C99-based standards] (nextafterf): Likewise.
5591 [non-C99-based standards] (remainderf): Likewise.
5592 [non-C99-based standards] (rintf): Likewise.
5593 [non-C99-based standards] (scalbf): Likewise.
5594 [non-C99-based standards] (copysignl): Likewise.
5595 [non-C99-based standards] (exp2l): Likewise.
5596 [non-C99-based standards] (log2l): Likewise.
5597 [non-C99-based standards] (modfl): Allow.
5598 [non-C99-based standards] (erfl): Do not allow.
5599 [non-C99-based standards] (erfcl): Likewise.
5600 [non-C99-based standards] (gammal): Likewise.
5601 [non-C99-based standards] (hypotl): Likewise.
5602 [non-C99-based standards] (j0l): Likewise.
5603 [non-C99-based standards] (j1l): Likewise.
5604 [non-C99-based standards] (jnl): Likewise.
5605 [non-C99-based standards] (lgammal): Likewise.
5606 [non-C99-based standards] (tgammal): Likewise.
5607 [non-C99-based standards] (y0l): Likewise.
5608 [non-C99-based standards] (y1l): Likewise.
5609 [non-C99-based standards] (ynl): Likewise.
5610 [non-C99-based standards] (isnanl): Likewise.
5611 [non-C99-based standards] (acoshl): Likewise.
5612 [non-C99-based standards] (asinhl): Likewise.
5613 [non-C99-based standards] (atanhl): Likewise.
5614 [non-C99-based standards] (cbrtl): Likewise.
5615 [non-C99-based standards] (expm1l): Likewise.
5616 [non-C99-based standards] (ilogbl): Likewise.
5617 [non-C99-based standards] (log1pl): Likewise.
5618 [non-C99-based standards] (logbl): Likewise.
5619 [non-C99-based standards] (nextafterl): Likewise.
5620 [non-C99-based standards] (remainderl): Likewise.
5621 [non-C99-based standards] (rintl): Likewise.
5622 [non-C99-based standards] (scalbl): Likewise.
5623 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5624 [non-C99-based standards] (FP_*): Do not allow.
5625 [C99-based standards] (FP_*): Change to
5626 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5627 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5628 allow.
5629 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5630 (SIG_ERR): Likewise.
5631 [X/Open-based standards] (SIG_HOLD): Likewise.
5632 (SIG_IGN): Likewise.
5633 (SIGABRT): Use macro-int-constant. Specify type. Require
5634 positive value.
5635 (SIGFPE): Likewise.
5636 (SIGILL): Likewise.
5637 (SIGINT): Likewise.
5638 (SIGSEGV): Likewise.
5639 (SIGTER): Likewise.
5640 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5641 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5642 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5643 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5644 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5645 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5646 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5647 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5648 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5649 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5650 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5651 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5652 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5653 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5654 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5655 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5656 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5657 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5658 [X/Open-based standards] (SIGTRAP): Likewise.
5659 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5660 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5661 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5662 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5663 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5664 allow.
5665
b9f1922d
IW
56662012-05-08 Ian Wienand <ianw@vmware.com>
5667
5668 [BZ #14080]
5669 * time/tzset.c (__tzset_parse_tz): Update default rules for
5670 daylight time changes in the Energy Policy Act of 2005.
5671
1db86e88
AJ
56722012-05-09 Andreas Jaeger <aj@suse.de>
5673
5674 [BZ #13983]
5675 * elf/ldconfig.c (parse_conf): Change string to make clear that
5676 ldconfig only issued a warning if ld.so.conf does not exist.
5677
dee4a4e3
DM
56782012-05-08 David S. Miller <davem@davemloft.net>
5679
ee0db190
DM
5680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5681 movxtod instead of popping the value on the stack.
5682
dee4a4e3
DM
5683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5684
6a43ec98
CD
56852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5686
5687 * config.h.in: Add HAVE_ARM_PCS_VFP.
5688
05c2c961
RMG
56892012-05-08 Roland Mc Grath <roland@hack.frob.com>
5690
bcfe3a54
ST
5691 [BZ #13979]
5692 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5693 checking but the checks are disabled for any reason.
05c2c961 5694
4b30f61a
L
56952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5696
5697 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5698 and ELF64_R_TYPE with ELFW(R_TYPE).
5699
eee2bc67
JM
57002012-05-08 Joseph Myers <joseph@codesourcery.com>
5701
7ea5391a
JM
5702 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5703 (ulimit): Likewise.
5704
eee2bc67
JM
5705 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5706 (settimeofday): Likewise.
5707
abb66a67
MF
57082012-05-08 Mike Frysinger <vapier@gentoo.org>
5709
5710 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5711 a struct th_u2 inside the union, and move tu_block/tu_code into
5712 a new th_u3 union of tu_block/tu_code inside of that. Move
5713 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5714 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5715 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5716 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5717 (th_stuff): Change to th_u1.tu_stuff.
5718 (th_data): Define.
5719 (th_msg): Change to th_u1.th_u2.tu_data.
5720
7f18b530
DM
57212012-05-07 David S. Miller <davem@davemloft.net>
5722
05760585
DM
5723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5724
7f18b530
DM
5725 [BZ #14074]
5726 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5727 (SETUP_PIC_REG): Use it.
5728 (SETUP_PIC_REG_LEAF): Use it.
5729
495fd99f
JM
57302012-05-07 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #13885]
5733 [BZ #13923]
5734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5735 USE_AS_EXPM1L.
5736 (EXPL_FINITE): Likewise.
5737 (FLDLOG): Likewise.
5738 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5739 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5740 e_expl.S.
5741 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5742 USE_AS_EXPM1L.
5743 (EXPL_FINITE): Likewise.
5744 (FLDLOG): Likewise.
5745 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5746 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5747 e_expl.S.
5748 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5749 test of -max_value argument for long double.
5750 * sysdeps/i386/fpu/libm-test-ulps: Update.
5751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5752
6693d694
DM
57532012-05-06 David S. Miller <davem@davemloft.net>
5754
5755 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5756 quad soft-float symbols whose references which are compiler
5757 generated.
5758 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5759
6c23e11c
JM
57602012-05-06 Joseph Myers <joseph@codesourcery.com>
5761
d8b82cad
JM
5762 [BZ #13884]
5763 [BZ #13914]
5764 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5765 USE_AS_EXP10L.
5766 (EXPL_FINITE): Likewise.
5767 (FLDLOG): Likewise.
5768 (c0): Likewise.
5769 (c1): Likewise.
5770 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5771 Adjust comments for base varying.
5772 (__expl_finite): Change alias to EXPL_FINITE.
5773 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5774 e_expl.S.
5775 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5776 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5778 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5779 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5780 USE_AS_EXP10L.
5781 (EXPL_FINITE): Likewise.
5782 (FLDLOG): Likewise.
5783 (c0): Likewise.
5784 (c1): Likewise.
5785 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5786 Adjust comments for base varying.
5787 (__expl_finite): Change alias to EXPL_FINITE.
5788 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5789 tests for bugs.
5790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5791
6c23e11c
JM
5792 [BZ #14064]
5793 * math/libm-test.inc (check_float_internal): Correct ulp
5794 calculation for subnormal expected results.
5795
29ba805c
AJ
57962012-05-06 Andreas Jaeger <aj@suse.de>
5797
5798 * Makeconfig (+math-flags): New, set to -frounding-math.
5799 (+cflags): Add +math-flags so that all of glibc gets compiled with
5800 it.
5801
5802 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5803
7b17aeda
JM
58042012-05-05 Joseph Myers <joseph@codesourcery.com>
5805
5779f134
JM
5806 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5807 Disable one test.
5808
41498f4d
JM
5809 [BZ #13787]
5810 [BZ #13922]
5811 [BZ #14036]
5812 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5813 (__ieee754_expl): Allow for and saturate large arguments.
5814 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5815 (u_threshold): Likewise.
5816 (__exp): Call __ieee754_exp before checking for overflow and
5817 underflow.
5818 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5819 (u_threshold): Likewise.
5820 (__expf): Call __ieee754_expf before checking for overflow and
5821 underflow.
5822 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5823 (u_threshold): Likewise.
5824 (__expl): Call __ieee754_expl before checking for overflow and
5825 underflow.
5826 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5827 (__ieee754_expl): Allow for and saturate large arguments.
5828 * math/libm-test.inc (exp_test): Add another test. Do not allow
5829 missing overflow exception on overflow.
5830 (expm1_test): Do not allow missing overflow exception on overflow.
5831
6698b8bf
JM
5832 * sysdeps/i386/fpu/e_expl.c: Move to ...
5833 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5834 rather than using inline asm.
5835 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5836 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5837 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5838
7b17aeda
JM
5839 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5840 (nice): Likewise.
5841 (poll): Likewise.
5842 (signal): Likewise.
5843 (time): Likewise.
5844 (times): Likewise.
5845
f7c85819
JM
58462012-05-04 Joseph Myers <joseph@codesourcery.com>
5847
5848 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5849 sysdeps/unix/common/syscalls.list.
5850 (fchmod): Likewise.
5851 (fchown): Likewise.
5852 (ftruncate): Likewise.
5853 (getrusage): Likewise.
5854 (gettimeofday): Likewise.
5855 (setpgid): Likewise.
5856 (setregid): Likewise.
5857 (setreuid): Likewise.
5858 (sigaction): Likewise.
5859 (truncate): Likewise.
5860 (vhangup): Likewise.
5861 * sysdeps/unix/common/syscalls.list: Remove file.
5862 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5863 * sysdeps/unix/sysv/linux/Implies: Likewise.
5864
336270d0
L
58652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5866
5867 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5869 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5870 Moved to ...
5871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5872 Here.
5873 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5874 to ...
5875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5876 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5877 to ...
5878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5879 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5880 to ...
5881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5882 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5883 to ...
5884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5885 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5886 to ...
5887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5888 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5889 to ...
5890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5891 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5892 to ...
5893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5894 Here.
5895 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5896 to ...
5897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5898 Here.
5899 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5900 to ...
5901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5902 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5903 Moved to ...
5904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5905 Here.
5906 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5907 to ...
5908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5909
d128e450
JM
59102012-05-04 Joseph Myers <joseph@codesourcery.com>
5911
fa8ee516
JM
5912 * sysdeps/unix/common/bits/dirent.h: Remove file.
5913 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5914
d128e450
JM
5915 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5916 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5917 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5918 * sysdeps/unix/bsd/isatty.c: Likewise.
5919 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5920 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5921 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5922
ff8faaf0 59232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5924
62881be4 5925 [BZ #13563]
31dc8730
AZ
5926 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5927 long double comparison inaccuracies.
5928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5930
6fef930c
AS
59312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5932
5933 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5935
8f203e6c
JM
59362012-05-04 Joseph Myers <joseph@codesourcery.com>
5937
5938 [BZ #14049]
5939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5940 nonzero digits before rounding a hex value.
5941 * stdlib/tst-strtod.c (tests): Add another test.
5942
5197d9c2
AK
59432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5944
5945 * sysdeps/s390/fpu/libm-test-ulps: Update.
5946
f0c1dedf
AJ
59472012-05-03 Andreas Jaeger <aj@suse.de>
5948
5949 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5950 does not get optimized out.
5951 (malloc_opt_barrier): New.
5952
a65ef2ae 59532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5954 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5955
2b942cb7 5956 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5957 intermediate file deletion.
2b942cb7 5958 (generated): Add .symlist files.
a65ef2ae 5959
54b71e02
JM
59602012-05-03 Joseph Myers <joseph@codesourcery.com>
5961
5962 [BZ #13775]
5963 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5964 Redirect under this condition.
5965 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5966 [__USE_GNU] (__dprintf_chk): Not under this condition.
5967 [__USE_GNU] (__vdprintf_chk): Likewise.
5968 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5969 under this condition.
5970 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5971 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5972 [__USE_XOPEN2K8] (vdprintf): Likewise.
5973 [__USE_GNU] (__dprintf_chk): Not under this condition.
5974 [__USE_GNU] (__vdprintf_chk): Likewise.
5975 [__USE_GNU] (dprintf): Likewise.
5976 [__USE_GNU] (vdprintf): Likewise.
5977
d3dfcc41
RM
59782012-05-03 Roland McGrath <roland@hack.frob.com>
5979
5980 * elf/Makefile (common-generated): Set this instead of generated for
5981 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5982 $(all-built-dso)-derived lists.
5983
7ac30cc5
AJ
59842012-05-03 Andreas Jaeger <aj@suse.de>
5985
0c51e550
AJ
5986 * sysdeps/i386/fpu/libm-test-ulps: Update.
5987
7ac30cc5
AJ
5988 * FAQ: Removed.
5989 * FAQ.in: Likewise.
5990 * scripts/gen-FAQ.pl: Likewise.
5991 * manual/install.texi (Installation): Point to online location of
5992 FAQ.
5993 * Makefile (files-for-dist): Remove FAQ.
5994 (FAQ): Remove.
5995
d4c2917f
AM
59962012-05-02 Allan McRae <allan@archlinux.org>
5997
5998 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5999 (LDFLAGS-reldepmod5.so): Likewise.
6000 (LDFLAGS-reldep6mod1.so): Likewise.
6001 (LDFLAGS-reldep6mod4.so): Likewise.
6002 (LDFLAGS-reldep8mod3.so): Likewise.
6003 (LDFLAGS-unload4mod1.so): Likewise.
6004 (LDFLAGS-unload4mod2.so): Likewise.
6005 (LDFLAGS-tst-initorder): Likewise.
6006 (LDFLAGS-tst-initordera2.so): Likewise.
6007 (LDFLAGS-tst-initordera3.so): Likewise.
6008 (LDFLAGS-tst-initordera4.so): Likewise.
6009 (LDFLAGS-tst-initorderb2.so): Likewise.
6010 (LDFLAGS-noload): Likewise.
6011 (LDFLAGS-next): Likewise.
6012 (LDFLAGS-order2mod1.so): Likewise.
6013 (LDFLAGS-order2mod2.so): Likewise.
6014 (LDFLAGS-tst-initorder2): Likewise.
6015 (LDFLAGS-tst-initorder2a.so): Likewise.
6016 (LDFLAGS-tst-initorder2b.so): Likewise.
6017 (LDFLAGS-tst-initorder2c.so): Likewise.
6018 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6019
d77f993f
DM
60202012-05-02 David S. Miller <davem@davemloft.net>
6021
6022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6023
171a70b4
PP
60242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6025
6026 [BZ #14055]
6027 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6028
0be196ad
AJ
60292012-05-02 Andreas Jaeger <aj@suse.de>
6030
6031 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6032 since we manipulate rounding mode.
6033 (CPPFLAGS-test-idouble.c): Likewise.
6034 (CPPFLAGS-test-ifloat.c): Likewise.
6035 (CFLAGS-test-ldouble.c): Likewise.
6036 (CFLAGS-test-double.c): Likewise.
6037 (CFLAGS-test-float.c): Likewise.
6038 (CFLAGS-test-misc.c): Likewise.
6039 (CFLAGS-test-test-fenv.c): Likewise.
6040
4f9d04aa
AZ
60412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042
2b942cb7
RM
6043 [BZ #2550]
6044 [BZ #2570]
6045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6046 comparisons to determine direction to adjust input.
4f9d04aa 6047
82a79e7d
RM
60482012-05-01 Roland McGrath <roland@hack.frob.com>
6049
f5a01ca9
RM
6050 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6051 output to the target.
6052
90fe4186
RM
6053 * scripts/localplt.awk: New file.
6054 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6055 (check-localplt-CFLAGS): Variable removed.
6056 ($(all-built-dso:=.jmprel)): New static pattern rule.
6057 (generated): Add those targets.
6058 (localplt-built-dso): New variable.
6059 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6060
6061 * elf/check-localplt.c: File removed.
6062
82397ed6
RM
6063 * scripts/check-execstack.awk: New file.
6064 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6065 (check-execstack-CFLAGS): Variable removed.
6066 ($(objpfx)check-execstack.h): Target removed.
6067 ($(objpfx)execstack-default): New target.
6068 (generated): Add that instead of check-execstack.h.
6069 ($(all-built-dso:=.phdr)): New static pattern rule.
6070 (generated): Add those targets.
6071 * elf/check-execstack.c: File removed.
6072
82a79e7d
RM
6073 * scripts/check-textrel.awk: New file.
6074 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6075 (check-textrel-CFLAGS): Variable removed.
6076 (all-built-dso): Use := to define.o
6077 ($(all-built-dso:=.dyn)): New static pattern rule.
6078 (generated): Add those targets.
6079 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6080 * config.make.in (READELF): New substituted variable.
6081 * elf/check-textrel.c: File removed.
6082
62fde54f 60832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6084
615605c9
JM
6085 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6086 allow.
6087 * conform/data/ctype.h-data [C99-based standards] (isblank):
6088 Expect function.
6089 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6090 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6092 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6093 Specify type. Require positive value.
6094 (EILSEQ): Likewise.
6095 (ERANGE): Likewise.
6096 [ISO || POSIX] (EILSEQ): Do not expect.
6097 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6098 Specify type. Require positive value.
6099 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6100 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6101 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6102 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6103 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6104 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6105 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6106 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6107 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6108 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6109 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6110 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6111 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6112 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6113 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6114 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6115 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6116 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6117 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6118 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6119 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6120 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6121 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6122 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6123 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6124 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6125 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6126 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6127 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6128 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6129 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6130 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6131 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6132 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6133 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6134 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6135 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6136 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6137 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6138 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6139 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6140 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6141 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6142 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6143 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6144 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6145 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6146 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6147 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6148 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6149 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6150 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6151 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6152 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6153 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6154 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6155 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6156 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6157 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6158 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6159 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6160 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6161 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6162 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6163 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6164 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6165 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6166 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6167 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6168 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6169 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6170 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6171 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6172 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6173 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6174 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6175 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6176 Require >= 2.
6177 (FLT_ROUNDS): Expect as macro, not constant.
6178 (FLT_MANT_DIG): Use macro-int-constant.
6179 (DBL_MANT_DIG): Likewise.
6180 (LDBL_MANT_DIG): Likewise.
6181 (FLT_DIG): Likewise.
6182 (DBL_DIG): Likewise.
6183 (LDBL_DIG): Likewise.
6184 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6185 (DBL_MIN_EXP): Likewise.
6186 (LDBL_MIN_EXP): Likewise.
6187 (FLT_MAX_EXP): Use macro-int-constant.
6188 (DBL_MAX_EXP): Likewise.
6189 (LDBL_MAX_EXP): Likewise.
6190 (FLT_MAX_10_EXP): Likewise.
6191 (DBL_MAX_10_EXP): Likewise.
6192 (LDBL_MAX_10_EXP): Likewise.
6193 (FLT_MAX): Use macro-constant.
6194 (DBL_MAX): Likewise.
6195 (LDBL_MAX): Likewise.
6196 (FLT_EPSILON): Use macro-constant. Give upper bound.
6197 (DBL_EPSILON): Likewise.
6198 (LDBL_EPSILON): Likewise.
6199 (FLT_MIN): Likewise.
6200 (DBL_MIN): Likewise.
6201 (LDBL_MIN): Likewise.
6202 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6203 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6204 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6205 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6206 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6207 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6208 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6209 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6210 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6211 [ISO11] (FLT_TRUE_MIN): Likewise.
6212 [ISO11] (LDBL_TRUE_MIN): Likewise.
6213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6214 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6215 (SCHAR_MIN): Use macro-int-constant. Specify type.
6216 (SCHAR_MAX): Likewise.
6217 (UCHAR_MAX): Likewise.
6218 (CHAR_MIN): Likewise.
6219 (CHAR_MAX): Likewise.
6220 (MB_LEN_MAX): Use macro-int-constant.
6221 (SHRT_MIN): Use macro-int-constant. Specify type.
6222 (SHRT_MAX): Likewise.
6223 (USHRT_MAX): Likewise.
6224 (INT_MAX): Likewise.
6225 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6226 bound negative.
6227 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6228 bound with "U".
6229 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6230 bound with "L".
6231 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6232 bound negative. Suffix upper bound with "L".
6233 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6234 bound with "UL".
6235 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6236 Specify type.
6237 [C99-based standards] (LLONG_MAX): Likewise.
6238 [C99-based standards] (ULLONG_MAX): Likewise.
6239 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6240 == 0.
6241 [ISO11] (max_align_t): Require type.
6242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6243
c9140a62
JM
6244 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6245 from $CFLAGS, without defining away __attribute__ calls.
6246 (checknamespace): Use $CFLAGS_namespace.
6247
9af0bf29
JM
6248 * conform/conformtest.pl (@keywords): Only include C99 keywords
6249 for standards based on C99 or C11.
6250
343222a2
JM
6251 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6252 Disable tests.
6253 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6254 UNIX98]: Likewise.
6255
661f8cf0
JM
6256 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6257 usability of symbols in #if.
6258
ee74b9cb
JM
6259 * conform/conformtest.pl: If macro or constant types start
6260 "promoted:", expect the symbol to be of the following type
6261 promoted by the integer promotions.
62fde54f 6262
aafc49b3
JM
6263 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6264 in one place. Also handle "macro-constant".
6265
fefdf574
JM
6266 * conform/conformtest.pl: Only accept expected macro values with
6267 "==". Parse all "macro" lines in one place.
6268 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6269
f2d922fe
JM
6270 * conform/conformtest.pl: Handle braced types on "constant" lines
6271 instead of handling "typed-constant".
6272 * conform/data/signal.h-data: Use "constant" instead of
6273 "typed-constant".
6274
d22956c9
JM
6275 * conform/conformtest.pl: Handle "optional-" at start of lines in
6276 one place rather than duplicating several cases. Handle each
6277 format of "macro" line with initial "optional-".
6278
028e2e38
JM
6279 * conform/conformtest.pl: Only accept expected constant or
6280 optional-constant values with "==". Parse all "constant" lines in
6281 one place. Parse all "optional-constant" lines in one place.
6282 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6283 * conform/data/fmtmsg.h-data: Likewise.
6284 * conform/data/netinet/in.h-data: Likewise.
6285 * conform/data/tar.h-data: Likewise.
6286 * conform/data/limits.h-data: Use "==" form on "constant" and
6287 "optional-constant" lines.
6288
1b8f2850
JM
6289 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6290 Use -std=c99 for XOPEN2K.
6291 (@knownproblems): Remove.
6292 (newtoken): Don't check %isknown.
6293
a05a144b
JM
6294 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6295 Do not expect macro.
6296 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6297 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6298 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6299 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6300 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6301 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6302 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6303 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6304 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6305 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6306 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6307 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6308 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6309 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6310 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6311 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6312 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6313 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6314 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6315 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6316 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6317 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6318 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6319 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6320 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6321 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6322 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6323 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6324 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6325 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6326 [XPG3] (acosh): Likewise.
6327 [XPG3] (asinh): Likewise.
6328 [XPG3] (atanh): Likewise.
6329 [XPG3] (cbrt): Likewise.
6330 [XPG3] (expm1): Likewise.
6331 [XPG3] (ilogb): Likewise.
6332 [XPG3] (log1p): Likewise.
6333 [XPG3] (logb): Likewise.
6334 [XPG3] (nextafter): Likewise.
6335 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6336 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6337 [XPG3] (remainder): Likewise.
6338 [XPG3] (rint): Likewise.
6339 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6340 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6341 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6342 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6343 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6344 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6345 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6346 [UNIX98 || XOPEN2K] (scalb): Expect.
6347 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6348 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6349 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6353 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6354 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6361 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6362 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6365 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6366 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6368 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6369 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6370 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6371 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6372 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6373 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6374 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6375 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6376 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6377 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6378 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6379 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6380 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6381 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6382 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6383 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6384 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6385 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6386 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6387 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6388 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6389 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6390 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6391 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6392 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6393 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6394 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6395 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6396 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6397 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6398 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6399 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6400 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6401 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6402 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6403 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6404 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6405 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6407 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6408 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6409 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6410 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6411 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6412 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6414 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6415 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6416 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6417 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6418 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6419 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6420 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6421 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6422 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6423 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6424 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6425 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6426 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6427 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6428 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6430 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6431 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6433 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6434 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6435 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6436 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6437 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6439 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6440 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6441 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6451 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6452 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6453 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6454 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6455 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6459 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6460 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6461 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6462 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6463 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6464 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6465 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6466 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6467 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6469 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6470 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6471 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6481 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6484
73c5ebe3
JM
6485 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6486 _XOPEN_SOURCE_EXTENDED for XPG4.
6487
39c33b6c
JM
6488 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6489
62fde54f
JM
6490 * Makeconfig (localtime): Remove variable.
6491 (inst_localtime-file): Likewise.
6492
0741d64c
AS
64932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6494
6495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6496 Update.
6497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6498 Update.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6500 Update.
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6502 Update.
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6504 Update.
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6506 Update.
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6508 Update.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6510 Update.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6512 Update.
6513
7cb029ee
JM
65142012-05-01 Joseph Myers <joseph@codesourcery.com>
6515
6516 [BZ #2550]
6517 [BZ #2570]
6518 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6519 comparisons to determine direction to adjust input.
6520 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6521 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6522 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6523 Likewise.
6524 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6525 Likewise.
6526 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6527 Likewise.
6528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6530 Likewise.
6531 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6532 Likewise.
6533 * math/libm-test.inc (nexttoward_test): Add more tests.
6534
412bd966
AS
65352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6536
6537 [BZ #14040]
6538 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6539 in version GLIBC_2.1, not GLIBC_2.0.
6540 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6541 Likewise.
6542
9568c0c2
JM
65432012-04-30 Joseph Myers <joseph@codesourcery.com>
6544
adfbc8ac
JM
6545 [BZ #13942]
6546 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6547 (1 - x) * (1 + x).
6548 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6549 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6550 * math/libm-test.inc (acos_test): Add more tests.
6551 (asin_test): Likewise.
6552 * sysdeps/i386/fpu/libm-test-ulps: Update.
6553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6554
5ba3cc69
JM
6555 [BZ #14034]
6556 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6557 of square root.
6558 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6559 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6560 * math/libm-test.inc (acos_test_tonearest): New function.
6561 (acos_test_towardzero): Likewise.
6562 (acos_test_downward): Likewise.
6563 (acos_test_upward): Likewise.
6564 (asin_test_tonearest): Likewise.
6565 (asin_test_towardzero): Likewise.
6566 (asin_test_downward): Likewise.
6567 (asin_test_upward): Likewise.
6568 (main): Call the new functions.
6569 * sysdeps/i386/fpu/libm-test-ulps: Update.
6570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6571
9568c0c2
JM
6572 [BZ #13884]
6573 [BZ #13924]
6574 * math/e_exp10.c: Include <float.h>.
6575 (__ieee754_exp10): Handle underflow here rather than multiplying
6576 large negative argument by M_LN10.
6577 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6578 of __ieee754_expf.
6579 * math/e_exp10l.c: Include <float.h>.
6580 (__ieee754_exp10l): Handle underflow here rather than multiplying
6581 large negative argument by M_LN10l.
6582 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6583 spurious overflow exception on underflow.
6584
5ac3ea17
MP
65852012-04-29 Marek Polacek <polacek@redhat.com>
6586
6587 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6588 (__fortify_function): New macro.
6589 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6590 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6591 __extern_always_inline.
6592 * libio/bits/stdio2.h: Likewise.
6593 * libio/bits/stdio.h: Likewise.
6594 * string/string.h: Likewise.
6595 * string/bits/string3.h: Likewise.
6596 * include/stdio.h: Likewise.
6597 * stdlib/bits/stdlib.h: Likewise.
6598 * stdlib/stdlib.h: Likewise.
6599 * rt/bits/mqueue2.h: Likewise.
6600 * rt/mqueue.h: Likewise.
6601 * posix/bits/unistd.h: Likewise.
6602 * posix/unistd.h: Likewise.
6603 * io/bits/poll2.h: Likewise.
6604 * io/bits/fcntl2.h: Likewise.
6605 * io/fcntl.h: Likewise.
6606 * io/sys/poll.h: Likewise.
6607 * misc/bits/syslog.h: Likewise.
6608 * misc/bits/syslog-ldbl.h: Likewise.
6609 * misc/sys/syslog.h: Likewise.
6610 * socket/bits/socket2.h: Likewise.
6611 * socket/sys/socket.h: Likewise.
6612 * debug/tst-chk1.c: Likewise.
6613 * wcsmbs/bits/wchar2.h: Likewise.
6614 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6615 * wcsmbs/wchar.h: Likewise.
6616
ecf0ebfb
AJ
66172012-04-29 Andreas Jaeger <aj@suse.de>
6618
6619 * Makerules (tests): Remove enable-check-abi protection.
6620 (check-abi-warn): Remove.
6621 (check-abi-%): Remove check-abi-warn usage.
6622
6623 * configure.in: Remove check-abi configure option.
6624 * configure: Regenerated.
6625 * config.make.in (enable-check-abi): Remove.
6626
6d5c57fa
AS
66272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6628
24c5d07e 6629 [BZ #14033]
ded5180a
AS
6630 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6631 double functions to double *_finite functions.
6632
7e0d315d
AS
6633 [BZ #13941]
6634 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6635 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6636 LDBL_MIN_EXP.
6637 * stdio-common/Makefile (tests): Add tst-sprintf3.
6638 * stdio-common/tst-sprintf3.c: New file.
6639
6d5c57fa
AS
6640 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6641 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6642
0749ff8b
JM
66432012-04-28 Joseph Myers <joseph@codesourcery.com>
6644
6645 * conform/conformtest.pl: Remove duplicate typed-constant
6646 handling.
6647
8dbd5d7b
DM
66482012-04-28 David S. Miller <davem@davemloft.net>
6649
6650 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6651 (check-abi-%): Remove AWK script prerequisite and explicit
6652 abilist directory.
6653 (check-abi): Rewrite to just diff the symlist with the abilist.
6654 (config-tls, config-abi-config): Delete, no longer used.
6655 (update-abi-%): Remove AWK script and explicit abilist directory.
6656 (update-abi): Rewrite to simply compare and conditionally copy the
6657 symlist and the sysdep abilist file. Remove update-abi-config
6658 checks.
6659 * abilist/ld.abilist: Remove.
6660 * abilist/libBrokenLocale.abilist: Remove.
6661 * abilist/libanl.abilist: Remove.
6662 * abilist/libcrypt.abilist: Remove.
6663 * abilist/libdl.abilist: Remove.
6664 * abilist/librt.abilist: Remove.
6665 * abilist/libthread_db.abilist: Remove.
6666 * abilist/libutil.abilist: Remove.
6667 * scripts/extract-abilist.awk: Remove.
6668 * scripts/merge-abilist.awk: Remove.
6669 * sysdeps/generic/libcidn.abilist: New file.
6670 * sysdeps/generic/libnss_compat.abilist: New file.
6671 * sysdeps/generic/libnss_db.abilist: New file.
6672 * sysdeps/generic/libnss_dns.abilist: New file.
6673 * sysdeps/generic/libnss_files.abilist: New file.
6674 * sysdeps/generic/libnss_hesiod.abilist: New file.
6675 * sysdeps/generic/libnss_nis.abilist: New file.
6676 * sysdeps/generic/libnss_nisplus.abilist: New file.
6677 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6678 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6679 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6680 file.
6681 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6682 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6683 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6684 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6685 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6686 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6687 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6688 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6689 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6690 file.
6691 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6692 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6693 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6694 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6695 file.
6696 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6697 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6698 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6699 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6700 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6701 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6702 file.
6703 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6704 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6705 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6706 file.
6707 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6709 New file.
6710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6711 New file.
6712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6713 New file.
6714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6715 New file.
6716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6717 New file.
6718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6719 New file.
6720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6721 New file.
6722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6723 New file.
6724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6725 New file.
6726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6727 New file.
6728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6729 New file.
6730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6731 New file.
6732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6733 New file.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6735 file.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6737 New file.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6739 New file.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6741 file.
6742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6743 New file.
6744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6745 New file.
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6747 file.
6748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6749 New file.
6750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6751 New file.
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6753 New file.
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6755 New file.
6756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6757 New file.
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6759 New file.
6760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6762 file.
6763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6764 New file.
6765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6766 file.
6767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6768 file.
6769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6770 file.
6771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6772 file.
6773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6774 file.
6775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6776 New file.
6777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6778 file.
6779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6780 file.
6781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6782 New file.
6783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6784 file.
6785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6787 file.
6788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6789 New file.
6790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6791 file.
6792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6793 file.
6794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6795 file.
6796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6797 file.
6798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6799 file.
6800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6801 New file.
6802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6803 file.
6804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6805 file.
6806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6807 New file.
6808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6809 file.
6810 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6811 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6812 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6813 file.
6814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6815 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6816 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6817 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6818 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6819 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6820 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6821 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6822 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6823 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6826 file.
6827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6828 New file.
6829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6830 file.
6831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6832 file.
6833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6834 file.
6835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6836 file.
6837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6838 file.
6839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6840 New file.
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6842 New file.
6843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6844 file.
6845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6846 New file.
6847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6848 file.
6849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6851 file.
6852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6853 New file.
6854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6855 file.
6856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6857 file.
6858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6859 file.
6860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6861 file.
6862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6863 file.
6864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6865 New file.
6866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6867 New file.
6868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6869 file.
6870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6871 New file.
6872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6873 file.
6874
41d73a1b
JM
68752012-04-28 Joseph Myers <joseph@codesourcery.com>
6876
6877 * conform/conformtest.pl: Fix typo in handling typed-constant from
6878 allow-header.
6879
28aeeda4
JM
68802012-04-27 Joseph Myers <joseph@codesourcery.com>
6881
adae8f5e
JM
6882 * README: Cut down references to pre-2.6 Linux kernels and
6883 Linuxthreads. Update lists of configurations in libc and ports
6884 and sort alphabetically. Say "or newer" with Linux kernel version
6885 requirements.
6886
28aeeda4
JM
6887 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6888
a462cb63
RA
68892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6890
6891 [BZ #887]
6892 * math/libm-test.inc (logb_test_downward): New test to expose
6893 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6894 rounding mode.
6895
6ad3493e
JM
68962012-04-27 Joseph Myers <joseph@codesourcery.com>
6897
6898 [BZ #14027]
6899 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6900 to be done.
6901 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6902 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6903
2ce4f015
JM
69042012-04-26 Joseph Myers <joseph@codesourcery.com>
6905
5aeb141a
JM
6906 * sysdeps/unix/i386/brk.S: Remove file.
6907 * sysdeps/unix/i386/dl-brk.S: Likewise.
6908 * sysdeps/unix/i386/pipe.S: Likewise.
6909 * sysdeps/unix/i386/sigreturn.S: Likewise.
6910 * sysdeps/unix/i386/syscall.S: Likewise.
6911 * sysdeps/unix/i386/vfork.S: Likewise.
6912 * sysdeps/unix/i386/wait.S: Likewise.
6913
7143acae
JM
6914 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6915 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6916
2ce4f015
JM
6917 * configure.in (arm*-none*): Do not allow without
6918 --enable-hacker-mode.
6919 (netbsd*): Remove case setting base_os.
6920 (386bsd*): Likewise.
6921 (freebsd*): Likewise.
6922 (bsdi*): Likewise.
6923 (osf*): Likewise.
6924 (sunos*): Likewise.
6925 (ultrix*): Likewise.
6926 (newsos*): Likewise.
6927 (dynix*): Likewise.
6928 (*bsd*): Likewise.
6929 (sysv*): Likewise.
6930 (isc*): Likewise.
6931 (esix*): Likewise.
6932 (sco*): Likewise.
6933 (minix*): Likewise.
6934 (irix4*): Likewise.
6935 (irix6*): Likewise.
6936 (solaris[2-9]*): Likewise.
6937 (none): Likewise.
6938 * configure: Regenerated.
6939
0ac229c8
AZ
69402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6941
6942 [BZ #11521]
6943 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6944 overflow or cancellation in calculating denominator.
6945 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6946 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6947 down expression to avoid unexpected rounding in newer GCCs.
6948 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6949
33f244f4
DM
69502012-04-26 David S. Miller <davem@davemloft.net>
6951
6952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6953 long-double compat symbols.
6954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6967
cfa1f3e8
DM
69682012-04-25 David S. Miller <davem@davemloft.net>
6969
6970 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6971 HWCAP_* values only after the memory barriers have been defined.
6972 (atomic_full_barrier): Define.
6973 (atomic_read_barrier): Define.
6974 (atomic_write_barrier): Define.
6975
6e236b92
SP
69762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6977
6978 * shlib-versions: Add libgcc_s version information.
6979 * sysdeps/generic/libgcc_s.h: Remove.
6980 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6981 libgcc_s.h.
6982 * sysdeps/gnu/unwind-resume.c: Likewise.
6983 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6984
aab39a09
DM
69852012-04-25 David S. Miller <davem@davemloft.net>
6986
6987 * sysdeps/unix/sparc/brk.S: Delete.
6988 * sysdeps/unix/sparc/dl-brk.S: Delete.
6989 * sysdeps/unix/sparc/pipe.S: Delete.
6990 * sysdeps/unix/sparc/sysdep.S: Delete.
6991 * sysdeps/unix/sparc/sysdep.h: Delete.
6992 * sysdeps/unix/sparc/vfork.S: Delete.
6993 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6994 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6996 ret_ERRVAL, r0, r1, MOVE): Define.
6997 (JUMPTARGET): Remove.
6998 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6999 sysdeps/unix/sparc/sysdep.h
7000 (ENTRY, END): Remove.
7001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7002
a3cc4f48
JM
70032012-04-25 Joseph Myers <joseph@codesourcery.com>
7004
2ed8cda2
JM
7005 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7006 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7007 -DIS_IN_build.
7008
35d76d59
JM
7009 * timezone/README: Update upstream location and email address for
7010 tzcode and tzdata.
7011 * timezone/zdump.c: Update from tzcode 2012b.
7012 * timezone/zic.c: Likewise.
7013
a3cc4f48
JM
7014 * configure.in (libc_cv_as_needed): Remove test.
7015 * configure: Regenerated.
7016 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7017 conditional definition.
7018 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7019 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7020 * config.make.in (have-as-needed): Remove variable.
7021
ceab42c3
SP
70222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7023 Paul Pluzhnikov <ppluzhnikov@google.com>
7024
7025 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7026 strings correctly.
7027
3ce2865f
CLT
70282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7029
7030 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7031 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7032 * sysdeps/sh/strlen.S: Likewise.
7033
f37e0d68
JM
70342012-04-24 Joseph Myers <joseph@codesourcery.com>
7035
ae186e9a
JM
7036 * sysdeps/unix/fork.S: Remove file.
7037 * sysdeps/unix/i386/fork.S: Likewise.
7038 * sysdeps/unix/sparc/fork.S: Likewise.
7039
b96914af
JM
7040 * sysdeps/unix/system.c: Remove file.
7041 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7042
f37e0d68
JM
7043 * sysdeps/unix/getegid.S: Remove file.
7044 * sysdeps/unix/geteuid.S: Likewise.
7045
87ef29ca
RM
70462012-04-24 Roland McGrath <roland@hack.frob.com>
7047
83bcd236
RM
7048 * scripts/check-localplt.awk: New file.
7049 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7050 of diff.
7051 * scripts/data/localplt-generic.data: Add a comment.
7052
87ef29ca
RM
7053 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7054 NODE when __dir_mkfile failed.
7055 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7056 Reported by Ludovic Courtès <ludo@gnu.org>.
7057
e5a6e567
AJ
70582012-04-24 Andreas Jaeger <aj@suse.de>
7059
7060 * Makerules (common-clean): Also remove gen-as-const-headers
7061 files.
7062
c1820385
JM
70632012-04-24 Joseph Myers <joseph@codesourcery.com>
7064
7065 * Makerules (native-compile): Do not change working directory for
7066 build. Use $(OUTPUT_OPTION) in command.
7067 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7068
94e02fc4
AZ
70692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7070
7071 [BZ #13886]
7072 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7073 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7074 * math/libm-test.inc (floor_test): Add more tests.
7075 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7076
3a533ca3
JM
70772012-04-24 Joseph Myers <joseph@codesourcery.com>
7078
940ab4b3
JM
7079 * sysdeps/unix/getdents.c: Remove file.
7080 * sysdeps/unix/sysv/getdents.c: Likewise.
7081 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7082
90e037bd
JM
7083 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7084 sysdeps/unix/mman/syscalls.list.
7085 (mmap): Likewise.
7086 (mprotect): Likewise.
7087 (msync): Likewise.
7088 (munmap): Likewise.
7089 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7090 * sysdeps/unix/mman/syscalls.list: Remove.
7091 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7092
3a533ca3
JM
7093 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7094 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7095 * configure: Regenerated.
7096 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7097 $(libgcc_s_suffix).
7098 * config.make.in (libgcc_s_suffix): Remove variable.
7099
1ad743de
JM
71002012-04-23 Joseph Myers <joseph@codesourcery.com>
7101
4ad451e2
JM
7102 * sysdeps/unix/sysv/gethostname.c: Move to ...
7103 * sysdeps/posix/gethostname.c: ... here.
7104
5e37ce39
JM
7105 * sysdeps/unix/execve.S: Remove file.
7106
1ad743de
JM
7107 * sysdeps/unix/_exit.S: Remove file.
7108
4e681b5b
AJ
71092012-04-23 Andreas Jaeger <aj@suse.de>
7110
7111 [BZ #13739]
7112 * manual/Makefile: Remove make dist support, there's no
7113 need for a stand-alone documentation tar ball.
7114 (TEXI2DVI): Define always, it's not in Makeconfig.
7115 (dist): Removed.
7116 (tar-it): Removed.
7117 (edition): Removed.
7118 (glibc-doc-$(edition).tar): Removed
7119 (%.Z): Removed.
7120 (%.gz): Removed.
7121 (%.uu): Removed.
7122 (ETAGS): Remove, it's in Makeconfig.
7123 (move-if-change): Remove, it's in Makeconfig.
7124
c0baea34
PE
71252013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7126
7127 [BZ #13970]
7128 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7129 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7130 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7131 (strtod_l, strtof_l, strtold_l): Remove __wur.
7132 It is not necessarily an error to ignore strtol's return value.
7133 One can reliably look at the stored endptr to decide whether
7134 the number had valid syntax.
7135
7c0616fa
AJ
71362012-04-21 Andreas Jaeger <aj@suse.de>
7137
803cb6b7 7138 [BZ #13739]
7c0616fa
AJ
7139 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7140
b0fe253f
JM
71412012-04-21 Joseph Myers <joseph@codesourcery.com>
7142
7143 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7144 * sysdeps/unix/sysv/Versions: Remove file.
7145
8280f22d
MT
71462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7147
7148 [BZ #13927]
7149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7150
75ce411f 71512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7152
7153 [BZ #7064]
7154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7155 version from __vm86.
7156
097d59fa
JM
71572012-04-20 Joseph Myers <joseph@codesourcery.com>
7158
a90f3bcb
JM
7159 * sysdeps/unix/common/lxstat.c: Remove file.
7160 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7161
edc7ea78
JM
7162 * sysdeps/unix/sysv/Makefile: Remove file.
7163
cb78c221
JM
7164 * sysdeps/unix/sysv/direct.h: Remove file.
7165
efa6a45f
JM
7166 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7167 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7168 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7169 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7170 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7171 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7172 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7173
9c9f2d0c
JM
7174 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7175
4541c83b
JM
7176 * sysdeps/unix/xmknod.c: Remove file.
7177 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7178
f5d153a0
JM
7179 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7180
aa746595
JM
7181 * sysdeps/unix/sysv/i386/time.S: Remove file.
7182
cce5905e
JM
7183 * sysdeps/unix/fxstat.c: Remove file.
7184 * sysdeps/unix/xstat.c: Likewise.
7185 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7186
37fa3841
JM
7187 * sysdeps/unix/sysv/sigaction.c: Remove file.
7188
ff1962a3
JM
7189 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7190 (sysdep_headers): Remove variable.
7191 [termio.h not in sysdep_headers] (generated): Likewise.
7192 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7193 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7194 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7195 * sysdeps/unix/sysv/tcflow.c: Likewise.
7196 * sysdeps/unix/sysv/tcflush.c: Likewise.
7197 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7198 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7199 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7200 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7201 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7202
e7740d31
JM
7203 * sysdeps/unix/siglist.c: Remove file.
7204
ee06f18b
JM
7205 * sysdeps/unix/getppid.S: Remove file.
7206
097d59fa
JM
7207 * sysdeps/unix/mkdir.c: Remove file.
7208 * sysdeps/unix/rmdir.c: Likewise.
7209
ff3d51ec
AS
72102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7211
7212 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7213 ERR_MAX value.
7214 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7215 errlist-compat value.
7216
50f81fd7
DM
72172012-04-18 David S. Miller <davem@davemloft.net>
7218
7219 * sysdeps/generic/memcopy.h (reg_char): Delete.
7220 * debug/strcat_chk.c: Use char, not reg_char.
7221 * debug/strcpy_chk.c: Likewise.
7222 * debug/strncat_chk.c: Likewise.
7223 * debug/strncpy_chk.c: Likewise.
7224 * string/memchr.c: Likewise.
7225 * string/memrchr.c: Likewise.
7226 * string/rawmemchr.c: Likewise.
7227 * string/strcat.c: Likewise.
7228 * string/strchr.c: Likewise.
7229 * string/strchrnul.c: Likewise.
7230 * string/strcmp.c: Likewise.
7231 * string/strcpy.c: Likewise.
7232 * string/strncat.c: Likewise.
7233 * string/strncmp.c: Likewise.
7234 * string/strncpy.c: Likewise.
7235
8ff41c46
WS
72362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7237
7238 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7239 __builtin_memcopy is called when src and dest ranges are known to not
7240 overlap.
7241
6b652f46
WS
72422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7243
7244 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7245 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7246 fwd_align_merge macro call.
7247 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7248 bwd_align_merge macro call.
7249 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7250
b282631e
WS
72512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7252
7253 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7254 bwd_align_merge macros.
7255 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7256 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7257 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7258
95aa737c
DM
72592012-04-18 David S. Miller <davem@davemloft.net>
7260
7261 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7262
7a99a614
AJ
72632012-04-18 Andreas Jaeger <aj@suse.de>
7264
7265 [BZ# 6794]
7266 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7267 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7268 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7269
7270 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7271 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7272 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7273
7274 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7275 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7276 Adjust for changed ldbl-128 files.
7277
7278 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7279 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7280 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7281
e5270c23
DM
72822012-04-17 David S. Miller <davem@davemloft.net>
7283
7284 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7285
fb5e92c9
AS
72862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7287
7288 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7289 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7290 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7291 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7292 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7293 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7294
76da7265
AZ
72952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7296
7297 [BZ #6794]
7298 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7299 * math/libm-test.inc: Add ilogb errno and exception tests.
7300 * math/w_ilogb.c: New file: ilogb wrapper.
7301 * math/w_ilogbf.c: New file: ilogbf wrapper.
7302 * math/w_ilogbl.c: New file: ilogbl wrapper.
7303 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7304 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7305 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7306 exception being thrown with 0.0 as argument.
7307 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7308 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7309 exception being thrown with 0.0 as argument.
7310 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7311 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7312 exception being thrown with 0.0 as argument.
7313 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7314 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7315 exception being thrown with 0.0 as argument.
7316 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7317 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7318 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7319 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7320 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7321 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7322 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7323 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7324 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7325
0396e69d
PB
73262012-04-17 Petr Baudis <pasky@ucw.cz>
7327
7328 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7329 with altivec.
7330
750b5926
MP
73312012-04-16 Marek Polacek <polacek@redhat.com>
7332
7333 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7334
751728a1
MP
73352012-04-16 Marek Polacek <polacek@redhat.com>
7336
7337 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7338 operands of fdivp instruction.
7339
34a27407
L
73402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7341
7342 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7343 * elf/tst-auditmod3b.c: Likewise.
7344 * elf/tst-auditmod4b.c: Likewise.
7345 * elf/tst-auditmod5b.c: Likewise.
7346 * elf/tst-auditmod6b.c: Likewise.
7347 * elf/tst-auditmod6c.c: Likewise.
7348 * elf/tst-auditmod7b.c: Likewise.
7349 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7350 * sysdeps/x86_64/preconfigure.in: Likewise.
7351 * sysdeps/x86_64/preconfigure: Regenerated.
7352
7e73e17d
L
73532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7354
7355 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7356 __ILP32__.
7357
c7a6ab72
AB
73582012-04-13 Antoine Balestrat <merkil33@gmail.com>
7359
7360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7361 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7362
a9e8e0e0
CL
73632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7364
7365 [BZ #13973]
7366 * locale/iso-639.def: Fix gl language name. Spotted by
7367 Yaron Shahrabani.
7368
ec98af7d
RM
73692012-04-12 Roland McGrath <roland@hack.frob.com>
7370
7371 [BZ #2074]
7372 * libio/libio.h (__io_write_fn): Update comment.
7373
247c3ede
PB
73742012-04-12 Petr Baudis <pasky@ucw.cz>
7375
7376 [BZ #2074]
7377 * stdio.texi (Hook Functions): The user provided writer function
7378 is not allowed to return -1.
7379
55939d6d
DM
73802012-04-11 David S. Miller <davem@davemloft.net>
7381
7382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7383
90020f5a
MF
73842012-04-11 Mike Frysinger <vapier@gentoo.org>
7385
7386 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7387 Add a leading slash to rtkaio.
7388
288f9098
JM
73892012-04-11 Jim Meyering <meyering@redhat.com>
7390
90020f5a
MF
7391 [BZ #11959]
7392 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7393 It is not necessarily an error to ignore fwrite's return
7394 value. One can reliably use ferror to test for errors after
7395 the fact.
288f9098 7396
4be2b570
L
73972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7398
7399 * bits/types.h (__snseconds_t): New type.
7400 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7401
7402 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7404 (__SNSECONDS_T_TYPE): Likewise.
7405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7406 (__SNSECONDS_T_TYPE): Likewise.
7407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7408 (__SNSECONDS_T_TYPE): Likewise.
7409
288f9098 74102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7411
7412 [BZ #2636]
7413 * manual/time.texi (Processor Time): Return type of times is
7414 elapsed real time since an arbitrary point in the past.
7415 (CPU Time): Move CLK_TCK from here...
7416 (Processor Time): ...to here. Correct description.
7417 * manual/conf.texi (Constants for Sysconf): Correct description of
7418 _SC_CLK_TCK.
7419
d7dd4413
DM
74202012-04-10 David S. Miller <davem@davemloft.net>
7421
7422 [BZ #13967]
7423 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7424 where the is a gap between DT_REL(A) and DT_JMPREL.
7425
b46068fc
L
74262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7429 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7430 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7431
73d65cc3
SP
74322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7433
7434 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7435 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7436 (dl_main): Handle --inhibit-cache.
7437 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7438 _dl_inhibit_cache.
7439 * elf/dl-load.c (_dl_map_object): Use it.
7440 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7441
bcc8d661
JM
74422012-04-09 Joseph Myers <joseph@codesourcery.com>
7443
8f9a2fae
JM
7444 [BZ #13872]
7445 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7446 (__ieee754_powl): Saturate large exponents rather than testing for
7447 overflow of y*log2(x).
7448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7449 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7450 exceptions.
7451
bcc8d661
JM
7452 [BZ #11521]
7453 * math/s_ctan.c: Include <float.h>.
7454 (__ctan): Avoid internal overflow or cancellation in calculating
7455 denominator.
7456 * math/s_ctanf.c: Likewise.
7457 * math/s_ctanl.c: Likewise.
7458 * math/s_ctanh.c: Likewise.
7459 * math/s_ctanhf.c: Likewise.
7460 * math/s_ctanhl.c: Likewise.
7461 * math/libm-test.inc (ctan_test): Add more tests.
7462 (ctanh_test): Likewise.
7463 * sysdeps/i386/fpu/libm-test-ulps: Update.
7464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7465
823fbbb4
AJ
74662012-04-09 Andreas Jaeger <aj@suse.de>
7467
03879793
AJ
7468 [BZ #6894]
7469 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7470 is an optional BSD extension.
7471
823fbbb4
AJ
7472 [BZ #10254]
7473 * manual/stdio.texi (Opening Streams): Document additional fopen
7474 parameters.
7475
8de131cb
RM
74762012-04-09 Roland McGrath <roland@hack.frob.com>
7477
7478 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7479 %eax without telling the compiler.
7480
c0ed9d7d
CD
74812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7482
7483 [BZ # 13963]
7484 * manual/install.texi: Use sourceware.org.
7485
c483f6b4
JM
74862012-04-09 Joseph Myers <joseph@codesourcery.com>
7487
d7dd9453
JM
7488 [BZ #13873]
7489 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7490 (__ieee754_pow): Generate overflow and underflow using huge*huge
7491 and tiny*tiny rather than just returning constant infinity or zero
7492 for large exponents.
7493 * math/libm-test.inc (pow_test): Require overflow exceptions for
7494 applicable cases of large exponents.
7495
c483f6b4
JM
7496 [BZ #706]
7497 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7498 (__ieee754_pow): Use iterative multiplication algorithm only for
7499 integer exponents with absolute value below 1024. Check for odd
7500 integer exponents when using algorithm for real exponents.
7501 * math/libm-test.inc (pow_test): Add more tests.
7502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7503
d2de7579
JM
75042012-04-08 Joseph Myers <joseph@codesourcery.com>
7505
7506 [BZ #13705]
7507 * math/libm-test.inc (exp_test): Do not allow overflow exception
7508 on underflow test.
7509
f77f1232
AJ
75102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7511
7512 [BZ #13705]
7513 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7514 instead of __kernel_standard_f.
7515
3884932b
MF
75162012-04-08 Mike Frysinger <vapier@gentoo.org>
7517
7518 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7519 * sysdeps/x86_64/memset_chk.S: Likewise.
7520
54472e9c
AJ
75212012-04-08 Andreas Jaeger <aj@suse.de>
7522
6ab0fbfc
AJ
7523 [BZ #10153]
7524 * manual/startup.texi (Environment Access): Describe return value
7525 for putenv and setenv.
7526
61efba8c
AJ
7527 [BZ #6895]
7528 * manual/filesys.texi (Directory Entries): Add description for
7529 DT_LNK.
7530
95c3f29a
AJ
7531 [BZ #6890]
7532 * manual/filesys.texi (Directory Entries): Clarify that it's file
7533 system not operating system in the description of DT_UNKNOWN.
7534
54472e9c
AJ
7535 [BZ #6578]
7536 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7537
624254b1
SC
75382012-04-08 Stephen Compall <s11@member.fsf.org>
7539
7540 [BZ #6649]
7541 * manual/llio.texi (Opening and Closing Files): Add cross
7542 reference to explain mode argument.
7543
1e4920e0
MF
75442012-04-07 Mike Frysinger <vapier@gentoo.org>
7545
7546 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7547 * sysdeps/x86_64/memset_chk.S: Likewise.
7548
5ed848f3
DM
75492012-04-07 David S. Miller <davem@davemloft.net>
7550
7551 * elf/elf.h (R_SPARC_WDISP10): Define.
7552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7553 R_SPARC_SIZE32.
7554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7555 R_SPARC_SIZE64 and R_SPARC_H34.
7556
96154cd8
CD
75572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7558
7559 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7560 conditions and remove no longer applicable assertion.
7561
9904dc47
L
75622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7563
7564 * bits/byteswap.h: Include <features.h>.
7565 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7566 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7567
f8887d0a
L
75682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7569
7570 * bits/byteswap.h (__bswap_16): Removed.
7571 Include <bits/byteswap-16.h> to get __bswap_16.
7572 * sysdeps/i386/bits/byteswap.h: Likewise.
7573 * sysdeps/s390/bits/byteswap.h: Likewise.
7574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7575 * bits/byteswap-16.h: New file.
7576 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7577 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7578 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7579 * string/Makefile (headers): Add bits/byteswap-16.h.
7580
62470f60
PP
75812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7582
7583 [BZ #13895]
7584 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7585 extra indirection.
7586 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7587 * nss/tst-nss-static.c: New.
7588
4dad7bab
RM
75892012-04-06 Robert Millan <rmh@gnu.org>
7590
7591 [BZ #6486]
7592 * manual/llio.texi (File Position Primitive): lseek
7593 refers to WHENCE when it really means OFFSET.
7594
e9142a17
AJ
75952012-04-06 Andreas Jaeger <aj@suse.de>
7596
2c040eff
AJ
7597 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7598 strncmp declarations.
7599
e9142a17
AJ
7600 * abilist/libc.abilist: Add __poll and __ppoll.
7601
ff9f1c5f
DM
76022012-04-05 David S. Miller <davem@davemloft.net>
7603
dcd2ae90
DM
7604 * scripts/check-local-headers.sh: Accept a host triplet in the
7605 path matched by the exclude regexp.
7606
993eb054
DM
7607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7608 definition.
7609 * sysdeps/powerpc/powerpc32/dl-machine.h
7610 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7611 * sysdeps/s390/s390-32/dl-machine.h
7612 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7613 * sysdeps/sparc/sparc32/dl-machine.h
7614 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7615 * sysdeps/sparc/sparc64/dl-machine.h
7616 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7617
ff9f1c5f
DM
7618 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7619 lazy binding.
48e2e132 7620 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7621 undefined symbol errors.
7622
48e2e132 7623 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7624 DT_NEEDED entries.
7625
e80d6f94
MM
76262012-04-05 Michael Matz <matz@suse.de>
7627
7628 [BZ #13592]
7629 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7630
349fa79f
AJ
76312012-04-05 Andreas Jaeger <aj@suse.de>
7632
7633 [BZ #13908]
7634 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7635 comment.
7636
f402708f
KK
76372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7638
7639 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7640 which ROUND is no valid rounding mode.
7641
2ecccfc9
KK
76422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7643
7644 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7645 read again.
7646 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7647
8a53f50f
KK
76482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7649
7650 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7651 an exception using FPU order intentionally.
7652
76532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7654
7655 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7656 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7657 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7658 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7659
d653abb7
SJ
76602012-04-05 Simon Josefsson <simon@josefsson.org>
7661
7662 [BZ #12340]
7663 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7664 EINVAL when BUFLEN is too smal.
7665
c3b1bf7d
TS
76662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7667
7668 [BZ #13553]
7669 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7670 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7671
b1aa60f3
AJ
76722012-04-03 Andreas Jaeger <aj@suse.de>
7673
c3b1bf7d 7674 [BZ #13938]
67f60a26
AJ
7675 * manual/setjmp.texi (System V contexts): Fix sentence.
7676
b1aa60f3
AJ
7677 [BZ #13926]
7678 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7679 New macro for this case.
7680 [!__GNUC__] (__bswap_64): New inline function for this case.
7681 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7682 * bits/byteswap.h: Likewise.
7683 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7684 ull, guard with __GLIBC_HAVE_LONG_LONG.
7685
7686 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7687 __GLIBC_HAVE_LONG_LONG.
7688
7689 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7690 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7691
39c59c35
TMQMF
76922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7693
7694 [BZ #13691]
7695 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7696 inptr and inend, rather than using last_ch.
7697
135ffda8
DM
76982012-04-02 David S. Miller <davem@davemloft.net>
7699
7700 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7701 * stdio-common/printf-parse.h (read_int): Change return type to
7702 'int', return -1 on INT_MAX overflow.
7703 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7704 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7705 overflows INT_MAX. Check for overflow of in-format-string precision
7706 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7707 SIZE_MAX not INT_MAX for integer overflow test.
7708 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7709 skip the construct in the format string but do not record anything.
7710 * stdio-common/bug22.c: Adjust to test both width/prevision
7711 INT_MAX overflow as well as total length INT_MAX overflow. Check
7712 explicitly for proper errno values.
7713
228c019e
TS
77142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7715
302cadd3
TS
7716 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7717 CHAR_MAX.
7718 * string/test-strcmp.c [! WIDE]: Likewise.
7719 * time/tst-mktime2.c: Likewise for INT_MAX.
7720 * string/test-string.h: #include <sys/param.h> for MIN.
7721
228c019e
TS
7722 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7723 * sysdeps/i386/init-first.c (init): Likewise.
7724 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7725 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7726 * sysdeps/sh/init-first.c (init): Likewise.
7727
cfa633f5
UD
77282012-04-01 Ulrich Drepper <drepper@gmail.com>
7729
7730 * po/ru.po: Update from translation team.
d1635ef8 7731 * po/vi.po: Likewise.
cfa633f5 7732
6cd0a5ea
SP
77332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7734
7735 * resolv/nss_dns/dns-host.c: Merge copyright years.
7736
4b43400f
LD
77372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7738
7739 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7740 Optimize memcpy with prefetch if
7741 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7742 src, dst pointers have unequal 16 byte alignments.
7743
48c41d04
SP
77442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7745
7746 [BZ #13928]
7747 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7748 from a CNAME entry and return the minimum ttl for the query.
7749 (gaih_getanswer_slice): Likewise.
7750
b8dc394d
JL
77512012-03-30 Jeff Law <law@redhat.com>
7752
7753 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7754 due to long keys.
7755 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7756 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7757
2f5a5ed0
JL
7758 * resolv/nss_dns/dns-host.c: Update copyright year.
7759
1d39e359
UD
77602012-03-30 Ulrich Drepper <drepper@gmail.com>
7761
c030f70c 7762 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7763 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7764
1d39e359
UD
7765 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7766 comments for sendmmsg.
7767
77682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7769
7770 [BZ #13691]
7771 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7772 with only 1 character between 0x0041 and 0x01b0.
7773 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7774 * wcsmbs/tst-mbsnrtowcs.c: New file.
7775
20fde227
DM
77762012-03-29 David S. Miller <davem@davemloft.net>
7777
7778 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7779 small copies by hand.
7780
984a4237
JL
77812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7782
7783 [BZ #13761]
7784 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7785 _nss_compat_initgroups_dyn): Fall back to malloc/free
7786 for large group memberships.
7787
18c9d62b
DM
77882012-03-28 David S. Miller <davem@davemloft.net>
7789
88d85d4f
DM
7790 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7791 that branches into memcpy.
7792 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7794 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7795 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7797 bits.
7798 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7799 implementation too.
7800 * sysdeps/sparc/mempcpy.S: New file.
7801
e5aa83e1
DM
7802 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7803 the IFUNC routine in the libc case.
7804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7805
88570753
DM
7806 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7807 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7808 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7809 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7810 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7811 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7812 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7813 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7814
249d7567
DM
7815 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7816 loop to 256 bytes instead of 64 bytes and fix test signedness.
7817
18c9d62b
DM
7818 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7819 * sysdeps/sparc/sparc32/Makefile: rather than here...
7820 * sysdeps/sparc/sparc64/Makefile: and here.
7821
05f3d1f6
UD
78222012-03-28 Ulrich Drepper <drepper@gmail.com>
7823
7824 * malloc/mallocbug.c: Avoid warnings about unused variables.
7825
86ae07a8
JL
78262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7827
7828 [BZ #13760]
7829 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7830 in the right place. Discard and retry query if response is
7831 larger than input buffer size.
7832
41bf21a1
JM
78332012-03-28 Joseph Myers <joseph@codesourcery.com>
7834
d6270972
JM
7835 [BZ #369]
7836 [BZ #2678]
7837 [BZ #3866]
7838 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7839 x for large integer exponent.
7840 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7841 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7842 sign of result as needed afterwards.
7843 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7844 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7845 result for underflowing pow the same as for overflow.
7846 (__kernel_standard_l): Handle powl overflow and underflow here
7847 rather than calling __kernel_standard.
7848 * math/libm-test.inc (pow_test): Add more tests.
7849
414fca03 7850 [BZ #3868]
41bf21a1
JM
7851 [BZ #13879]
7852 [BZ #13910]
7853 [BZ #13911]
7854 [BZ #13912]
7855 [BZ #13913]
7856 [BZ #13915]
7857 [BZ #13916]
7858 [BZ #13917]
7859 [BZ #13918]
7860 [BZ #13919]
7861 [BZ #13920]
7862 [BZ #13921]
7863 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7864 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7865 (__kernel_standard_l): New function.
7866 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7867 __kernel_standard.
7868 * math/w_acosl.c (__acosl): Likewise.
7869 * math/w_asinl.c (__asinl): Likewise.
7870 * math/w_atan2l.c (__atan2l): Likewise.
7871 * math/w_atanhl.c (__atanhl): Likewise.
7872 * math/w_coshl.c (__coshl): Likewise.
7873 * math/w_exp10l.c (__exp10l): Likewise.
7874 * math/w_exp2l.c (__exp2l): Likewise.
7875 * math/w_fmodl.c (__fmodl): Likewise.
7876 * math/w_hypotl.c (__hypotl): Likewise.
7877 * math/w_j0l.c (__j0l, __y0l): Likewise.
7878 * math/w_j1l.c (__j1l, __y1l): Likewise.
7879 * math/w_jnl.c (__jnl, __ynl): Likewise.
7880 * math/w_lgammal.c (__lgammal): Likewise.
7881 * math/w_log10l.c (__log10l): Likewise.
7882 * math/w_log2l.c (__log2l): Likewise.
7883 * math/w_logl.c (__logl): Likewise.
7884 * math/w_powl.c (__powl): Likewise.
7885 * math/w_remainderl.c (__remainderl): Likewise.
7886 * math/w_scalbl.c (sysv_scalbl): Likewise.
7887 * math/w_sinhl.c (__sinhl): Likewise.
7888 * math/w_sqrtl.c (__sqrtl): Likewise.
7889 * math/w_tgammal.c (__tgammal): Likewise.
7890 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7891 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7892 * math/libm-test.inc (acos_test): Add more tests.
7893 (acosh_test): Likewise.
7894 (asin_test): Likewise.
7895 (atanh_test): Likewise.
7896 (exp_test): Likewise.
7897 (exp10_test): Likewise.
7898 (exp2_test): Likewise.
7899 (expm1_test): Likewise.
7900 (lgamma_test): Likewise.
7901 (log_test): Likewise.
7902 (log10_test): Likewise.
7903 (log1p_test): Likewise.
7904 (log2_test): Likewise.
7905 (pow_test): Do not allow some spurious overflow exceptions.
7906 (sqrt_test): Add more tests.
7907 (tgamma_test): Likewise.
7908 (y0_test): Likewise.
7909 (y1_test): Likewise.
7910 (yn_test): Likewise.
7911
dd62fda6
AB
79122012-03-27 Anton Blanchard <anton@samba.org>
7913
7914 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7915 MAP_HUGETLB.
7916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7917 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7919
1e3cdfda
AJ
79202012-03-27 David S. Miller <davem@davemloft.net>
7921
b855ab85
DM
7922 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7923
1e3cdfda
AJ
7924 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7925 have-as-vis3 check.
7926
79272012-03-27 Andreas Jaeger <aj@suse.de>
7928
7929 * sysdeps/x86_64/elf/configure.in: Moved to ...
7930 * sysdeps/x86_64/configure.in: ... here.
7931 * sysdeps/x86_64/elf/start.S: Moved to ...
7932 * sysdeps/x86_64/start.S: ... here.
7933 * sysdeps/x86_64/elf/configure: Delete.
7934
7935 * sysdeps/x86_64/configure.in: Merge contents from
7936 sysdeps/i386/configure.in (without i686 check).
7937
7938 * sysdeps/i386/elf/Versions: Merge into ...
7939 * sysdeps/i386/Versions: ... this.
7940 * sysdeps/i386/elf/Versions: Delete file.
7941 * sysdeps/i386/elf/start.S: Moved to ...
7942 * sysdeps/i386/start.S: ...here.
7943 * sysdeps/i386/elf/configure.in: Merge into...
7944 * sysdeps/i386/configure.in: ...here.
7945 * sysdeps/i386/elf/configure.in: Delete file.
7946 * sysdeps/i386/elf/configure: Delete file.
7947
7948 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7949 * debug/backtracesyms.c: ... here.
7950 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7951 * debug/backtracesymsfd.c: ... here.
7952 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7953 * sysdeps/generic/ifunc-sel.h: ... here.
7954
7955 * sysdeps/unix/i386/start.c: Delete file.
7956 * sysdeps/unix/sparc/start.c: Delete file.
7957 * sysdeps/unix/start.c: Delete file.
7958
7959 * sysdeps/sh/elf/configure.in: Moved to ...
7960 * sysdeps/sh/configure.in: ... here.
7961 * sysdeps/sh/elf/start.S: Moved to ...
7962 * sysdeps/sh/start.S: ... here.
7963 * sysdeps/sh/elf/configure: Delete file.
7964
7965 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7966 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7967 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7968 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7969 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7970 * sysdeps/powerpc/powerpc64/start.S: here.
7971 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7972 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7973 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7974 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7975 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7976
7977 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7978 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7979 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7980 * sysdeps/powerpc/powerpc32/start.S: ... here.
7981 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7982 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7983 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7984
7985 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7986 * sysdeps/powerpc/ifunc-sel.h: ... here.
7987 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7988 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7989
7990 * sysdeps/sparc/elf/configure.in: Moved to ...
7991 * sysdeps/sparc/configure.in: ... here.
7992 * sysdeps/sparc/elf/configure: Delete file.
7993 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7994 * sysdeps/sparc/sparc32/start.S: ... here.
7995 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7996 * sysdeps/sparc/sparc64/start.S: ... here.
7997 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7998 * sysdeps/sparc/sparc32/Makefile: ... this.
7999 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8000 * sysdeps/sparc/sparc64/Makefile: ... this.
8001
8002 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8003 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8004 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8005 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8006 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8007 * sysdeps/s390/s390-32/setjmp.S: ... here.
8008 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8009 * sysdeps/s390/s390-32/configure.in: ... here.
8010 * sysdeps/s390/s390-32/elf/configure: Delete file.
8011 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8012 * sysdeps/s390/s390-32/start.S: ... here.
8013
8014 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8015 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8016 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8017 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8018 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8019 * sysdeps/s390/s390-64/setjmp.S: ... here.
8020 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8021 * sysdeps/s390/s390-64/configure.in: ... here
8022 * sysdeps/s390/s390-64/elf/configure: Delete file.
8023 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8024 * sysdeps/s390/s390-64/start.S: ... here.
8025 * sysdeps/s390/s390-64/elf/configure: Delete.
8026
8027 * configure.in: Remove support for elf directories in sysdeps.
8028
8029 * configure: Regenerated.
8030 * sysdeps/i386/configure: Regenerated.
8031 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8032 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8033 * sysdeps/s390/s390-32/configure: Regenerated.
8034 * sysdeps/s390/s390-64/configure: Regenerated.
8035 * sysdeps/sh/configure: Regenerated.
8036 * sysdeps/sparc/configure: Regenerated.
8037 * sysdeps/x86_64/configure: Regenerated.
8038
a3f61311
AS
80392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8040
c876e002
AS
8041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8042
a3f61311
AS
8043 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8044 denormal result into account.
8045
ac4c54f0
RM
80462012-03-25 Roland McGrath <roland@hack.frob.com>
8047
8048 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8049 Reported by Allan McRae <allan@archlinux.org>.
8050
6a9b9c02
JL
80512012-03-23 Jeff Law <law@redhat.com>
8052
8053 * nss/getnssent.c (__nss_getent): Fix typo.
8054
4c42a0c1
DM
80552012-03-23 David S. Miller <davem@davemloft.net>
8056
8057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8058
1532c7ac
L
80592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8060
8061 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8062 to pad to uint64_t for each field.
8063 (dl_tls_index): Replace unsigned long with uint64_t.
8064
3ff42526
PP
80652012-03-23 Daniel Jacobowitz <dmj@google.com>
8066 Paul Pluzhnikov <ppluzhnikov@google.com>
8067
8068 [BZ #6528]
8069 * grp/Makefile (otherlibs): Don't set it.
8070 * inet/Makefile (otherlibs): Likewise.
8071 * login/Makefile (otherlibs): Likewise.
8072 * nscd/Makefile (otherlibs): Likewise.
8073 * posix/Makefile (otherlibs): Likewise.
8074 * pwd/Makefile (otherlibs): Likewise.
8075 * rt/Makefile (otherlibs): Likewise.
8076 * sunrpc/Makefile (otherlibs): Likewise.
8077 * nss/Makefile (otherlibs): Likewise.
8078 Add libnss_files to routines and static-only-routines.
8079 ($(objpfx)getent): Remove rule.
8080 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8081 static-only-routines.
8082
7c69cd14
JM
80832012-03-22 Joseph Myers <joseph@codesourcery.com>
8084
8085 [BZ #13892]
8086 * math/s_cexp.c: Include <float.h>.
8087 (__cexp): Handle exp result overflowing not necessarily
8088 overflowing both real and imaginary parts of result.
8089 * math/s_cexpf.c: Likewise.
8090 * math/s_cexpl.c: Likewise.
8091 * math/libm-test.inc (cexp_test): Add more tests.
8092 * sysdeps/i386/fpu/libm-test-ulps: Update.
8093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8094
81b035fe
L
80952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * include/link.h (ELFW): New macro.
8098 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8099 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8100
1da7940c
L
81012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8104 with uint64_t.
8105
b749dbb9
L
81062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8109 declaration.
8110 (struct La_x32_retval): Likewise.
8111
2ff87f3f
L
81122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8113
8114 * sysdeps/x86_64/preconfigure.in: New file.
8115 * sysdeps/x86_64/preconfigure: New generated file.
8116
c0df8e69
JM
81172012-03-22 Joseph Myers <joseph@codesourcery.com>
8118
48e44791
JM
8119 [BZ #13824]
8120 * math/e_exp2l.c: Include <float.h>.
8121 (__ieee754_exp2l): Handle overflow and underflow cases
8122 separately. Only pass fractional part of argument to
8123 __ieee754_expl.
8124 * math/libm-test.inc (exp2_test): Add more tests.
8125
c0df8e69
JM
8126 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8127 negating x to take absolute value.
8128 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8129 Likewise.
8130 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8131 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8132 Likewise.
8133 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8134 computing low part if x was negated.
8135 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8136
c8e43ba7
L
81372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8138
8139 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8140 la_x32_gnu_pltexit.
8141 (pltexit): Cast int_retval to ptrdiff_t.
8142 * elf/tst-auditmod3b.c: Likewise.
8143 * elf/tst-auditmod4b.c: Likewise.
8144 * elf/tst-auditmod5b.c: Likewise.
8145 * elf/tst-auditmod6b.c: Likewise.
8146 * elf/tst-auditmod6c.c: Likewise.
8147 * elf/tst-auditmod7b.c: Likewise.
8148
8149 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8150 and x32_gnu_pltexit.
8151
8152 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8153 __ELF_NATIVE_CLASS.
8154 (La_x32_regs): New macro.
8155 (La_x32_retval): Likewise.
8156 (la_x32_gnu_pltenter): New function prototype.
8157 (la_x32_gnu_pltexit): Likewise.
8158
7998fa78
AS
81592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8160
dcb33988
AS
8161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8162 exponent.
8163
233fc563
AS
8164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8165
7998fa78
AS
8166 * configure.in (libc_cv_cc_nofma): Check for option to disable
8167 generation of FMA instructions.
8168 * configure: Regenerate.
8169 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8170 * sysdeps/ieee754/dbl-64/Makefile: New file.
8171 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8172 Remove brandred-fma4.
8173 (CFLAGS-brandred-fma4.c): Remove.
8174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8176 define.
8177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8178 define.
8179
8e95c99a
L
81802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8181
8182 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8183 LLONG_MAX != LONG_MAX.
8184 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8185 (_fitoa_word): Likewise.
8186 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8187 LLONG_MAX != LONG_MAX.
8188 * stdio-common/_itowa.h: Include <_itoa.h>.
8189 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8190 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8191 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8192 only if not defined.
8193 (_ITOA_WORD_TYPE): Likewise.
8194 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8195 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8196
6f4db457
DM
81972012-03-21 David S. Miller <davem@davemloft.net>
8198
8199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8200
7785fe5a
L
82012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8202
8203 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8204 of x86_64 when setting libc_cv_slibdir, libdir and
8205 libc_cv_localedir.
8206 * sysdeps/unix/sysv/linux/configure: Regenerated.
8207
4535cd55
JM
82082012-03-21 Joseph Myers <joseph@codesourcery.com>
8209
8210 * manual/lang.texi (Old Varargs): Remove section.
8211 (How Variadic): Update menu.
8212 (va_start): Do not mention varargs.h.
8213
17228132
TS
82142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8215 Joseph Myers <joseph@codesourcery.com>
8216
8217 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8218 link test.
8219 * configure: Regenerated.
8220
8149f976
TS
82212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8222
05f3d1f6
UD
8223 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8224 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8225 conformtest.pl
8149f976 8226
1a4ac776
JM
82272012-03-21 Joseph Myers <joseph@codesourcery.com>
8228
be22ce65
JM
8229 * NOTES: Remove.
8230 * Makefile (files-for-dist): Remove NOTES.
8231 (NOTES): Remove rule.
8232 * README: Don't refer to NOTES.
8233 * manual/creature.texi: Don't include macros.texi.
8234 * manual/intro.texi (creature.texi): Remove comment referring to
8235 NOTES.
8236
40b601fb
JM
8237 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8238 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8239 * configure: Regenerated.
8240 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8241 LIBC_TRY_CC_OPTION.
8242 (libc_cv_as_i686): Likewise.
8243 (libc_cv_cc_avx): Likewise.
8244 (libc_cv_cc_sse2avx): Likewise.
8245 (libc_cv_cc_fma4): Likewise.
8246 (libc_cv_cc_novzeroupper): Likewise.
8247 * sysdeps/i386/configure: Regenerated.
8248
1a4ac776
JM
8249 [BZ #13883]
8250 * sysdeps/i386/fpu/s_cexp.S: Remove.
8251 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8252 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8253 * math/libm-test.inc (cexp_test): Add more tests.
8254 * sysdeps/i386/fpu/libm-test-ulps: Update.
8255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8256
a458e7fe
AM
82572012-03-21 Allan McRae <allan@archlinux.org>
8258
8259 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8260
0cb7efc5
JM
82612012-03-21 Joseph Myers <joseph@codesourcery.com>
8262
8263 [BZ #13871]
8264 * math/w_exp2.c: Do not include <float.h>.
8265 (o_threshold, u_threshold): Remove.
8266 (__exp2): Calculate result before checking finiteness and calling
8267 __kernel_standard.
8268 * math/w_exp2f.c: Likewise.
8269 * math/w_exp2l.c: Likewise.
8270 * math/libm-test.inc (exp2_test): Require overflow exception for
8271 1e6 input.
2460d3aa
JM
8272
8273 [BZ #3866]
8274 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8275 range of signed 64-bit integers before using fistpll. Remove
8276 checks for whether integers fit in mantissa bits.
8277 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8278 the range of signed 32-bit integers before using fistpl. Remove
8279 checks for whether integers fit in mantissa bits.
8280 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8281 (__ieee754_powl): Test for y outside the range of signed 64-bit
8282 integers before using fistpll. Reduce 64-bit values to 63-bit
8283 ones as needed.
8284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8285 divide-by-zero is raised for zero to large negative powers.
8286 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8287 (__ieee754_powl): Test for y outside the range of signed 64-bit
8288 integers before using fistpll. Reduce 64-bit values to 63-bit
8289 ones as needed.
8290 * math/libm-test.inc (pow_test): Add more tests.
8291
eb96ffb0
L
82922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8293
8294 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8295 <stdio-common/_itoa.h>.
8296 * debug/segfault.c: Likewise.
8297 * elf/dl-cache.c: Likewise.
8298 * elf/dl-minimal.c: Likewise.
8299 * elf/dl-misc.c: Likewise.
8300 * elf/dl-sysdep.c: Likewise.
8301 * elf/dl-version.c: Likewise.
8302 * elf/rtld.c: Likewise.
8303 * hurd/hurdsock.c: Likewise.
8304 * hurd/lookup-retry.c: Likewise.
8305 * malloc/malloc.c: Likewise.
8306 * malloc/mtrace.c: Likewise.
8307 * nscd/nscd_getgr_r.c: Likewise.
8308 * nscd/nscd_getpw_r.c: Likewise.
8309 * nscd/nscd_getserv_r.c: Likewise.
8310 * posix/getopt_init.c: Likewise.
8311 * posix/wordexp.c: Likewise.
8312 * stdio-common/_itoa.c: Likewise.
8313 * stdio-common/printf_fphex.c: Likewise.
8314 * stdio-common/vfprintf.c: Likewise.
8315 * string/_strerror.c: Likewise.
8316 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8317 * sysdeps/i386/i686/hp-timing.h: Likewise.
8318 * sysdeps/mach/_strerror.c: Likewise.
8319 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8320 * sysdeps/mach/hurd/sethostid.c: Likewise.
8321 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8322 * sysdeps/mach/xpg-strerror.c: Likewise.
8323 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8325 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8326 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8327 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8328 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8329 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8330 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8331 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8332 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8333 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8334 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8335 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8336 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8337 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8338 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8339 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8341 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8342 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8343 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8344
8345 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8346
8347 * stdio-common/_itoa.h: Moved to ...
8348 * sysdeps/generic/_itoa.h: Here.
8349
8350 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8351
8352 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8353 instead of "_itoa.h" and "_itowa.h".
8354 * stdio-common/vfprintf.: Likewise.
8355
d1af992d
L
83562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8357
8358 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8359 <bits/wordsize.h>.
8360 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8361 (__signbit): Likwise.
8362 (llrintf): Likwise.
8363 (llrint): Likwise.
8364
114883e0
L
83652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8366
8367 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8368 __WORDSIZE != 64.
8369
c135cc1b
JM
83702012-03-20 Joseph Myers <joseph@codesourcery.com>
8371
8372 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8373 OVERFLOW_EXCEPTION_OK.
8374 * math/libm-test.inc ("Philosophy"): Update comment about
8375 exception testing.
8376 (OVERFLOW_EXCEPTION): Define.
8377 (OVERFLOW_EXCEPTION_OK): Likewise.
8378 (INVALID_EXCEPTION_OK): Renumber.
8379 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8380 (IGNORE_ZERO_INF_SIGN): Likewise.
8381 (test_exceptions): Handle FE_OVERFLOW.
8382 (exp10_test): Expect overflow exceptions.
8383 (exp2_test): Likewise.
8384 (expm1_test): Likewise.
8385 (nextafter_test): Likewise.
8386 (pow_test): Likewise.
8387 (scalbn_test): Likewise.
8388 (scalbln_test): Likewise.
8389
95443d88
L
83902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8391
8392 * sysdeps/x86_64/bits/atomic.h
8393 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8394 64bit integer.
8395 (atomic_exchange_acq): Likewise.
8396 (__arch_exchange_and_add_body): Likewise.
8397 (__arch_add_body): Likewise.
8398 (atomic_add_negative): Likewise.
8399 (atomic_add_zero): Likewise.
8400
490df6c4
L
84012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8402
c2722551 8403 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8404 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8405
5e52b189
L
84062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8407
8408 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8409 Check __x86_64__ instead of __WORDSIZE.
8410
a9879d4c
L
84112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8412
8413 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8414
5df98260
DM
84152012-03-19 David S. Miller <davem@davemloft.net>
8416
e1497744
DM
8417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8418
5df98260
DM
8419 * sysdeps/sparc/fpu/fenv_private.h: New file.
8420 * sysdeps/sparc/fpu/math_private.h: Use it.
8421 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8422 Remove.
8423 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8424 (libc_feholdexcept_setroundl): Remove.
8425 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8426 Remove.
8427 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8428 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8429
b4c35121
L
84302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8431
8432 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8433 int64_t instead of long int.
8434 (INSERT_WORDS64): Likwise.
8435
56965fd7
L
84362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8437
8438 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8439 _Unwind_GetCFA return to _Unwind_Ptr first.
8440
83d1aec8
JM
84412012-03-19 Joseph Myers <joseph@codesourcery.com>
8442
1897ad44
JM
8443 [BZ #13629]
8444 * math/s_clog.c: Include <float.h>.
8445 (__clog): Scale large or subnormal inputs.
8446 * math/s_clogf.c: Likewise.
8447 * math/s_clogl.c: Likewise.
8448 * math/s_clog10.c: Include <float.h>.
8449 (M_LOG10_2): Define.
8450 (__clog10): Scale large or subnormal inputs.
8451 * math/s_clog10f.c: Likewise.
8452 * math/s_clog10l.c: Likewise.
8453 * math/libm-test.inc (clog_test): Add more tests.
8454 (clog10_test): Likewise.
8455 * sysdeps/i386/fpu/libm-test-ulps: Update.
8456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8457
7726d6a9
JM
8458 [BZ #11451]
8459 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8460 x and y.
8461 * math/libm-test.inc (atan2_test): Add another test.
8462
83d1aec8
JM
8463 * Makerules (common-objdir-compile): Remove.
8464 * sysdeps/unix/Makefile (config-generated): Do not add
8465 $(unix-generated) to variable.
8466 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8467 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8468 Remove rule.
8469 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8470 Likewise.
8471 [generic bits/local_lim.h] (before-compile): Do not append to
8472 variable.
8473 [generic bits/local_lim.h] (common-generated): Likewise.
8474 [generic sys/param.h] (before-compile): Do not append to variable.
8475 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8476 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8477 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8478 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8479 include.
8480 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8481 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8482 [generic sys/param.h] ($(addprefix
8483 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8484 [generic sys/param.h] (common-generated): Do not append to
8485 variable.
8486 [generic sys/param.h] (sysdep_headers): Likewise.
8487 [generic bits/errno.h] (before-compile): Do not append to
8488 variable.
8489 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8490 rule.
8491 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8492 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8493 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8494 [generic bits/errno.h] (common-generated): Do not append to
8495 variable.
8496 [generic bits/ioctls.h] (before-compile): Do not append to
8497 variable.
8498 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8499 rule.
8500 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8501 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8502 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8503 rule.
8504 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8505 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8506 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8507 [generic bits/ioctls.h] (common-generated): Do not append to
8508 variable.
8509 [generic sys/syscall.h] (syscall.h): Remove variable.
8510 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8511 rule.
8512 [generic sys/syscall.h] (before-compile): Do not append to
8513 variable.
8514 [generic sys/syscall.h] (common-generated): Likewise.
8515 * sysdeps/unix/errnos-tmpl.c: Remove file.
8516 * sysdeps/unix/errnos.awk: Likewise.
8517 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8518 * sysdeps/unix/ioctls.awk: Likewise.
8519 * sysdeps/unix/mk-local_lim.c: Likewise.
8520 * sysdeps/unix/snarf-ioctls: Likewise.
8521
4851a949
RH
85222012-03-19 Richard Henderson <rth@twiddle.net>
8523
bd37f2ee
RH
8524 * sysdeps/i386/fpu/fenv_private.h: New file.
8525 * sysdeps/i386/fpu/math_private.h: Use it.
8526 (math_opt_barrier, math_force_eval): Remove.
8527 (libc_feholdexcept_setround_53bit): Remove.
8528 (libc_feupdateenv_53bit): Remove.
8529 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8530 (math_opt_barrier, math_force_eval): Remove.
8531 (libc_feholdexcept): Remove.
8532 (libc_feholdexcept_setround): Remove.
8533 (libc_fetestexcept, libc_fesetenv): Remove.
8534 (libc_feupdateenv_test): Remove.
8535 (libc_feupdateenv, libc_feholdsetround): Remove.
8536 (libc_feresetround): Remove.
8537
d0adc922
RH
8538 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8539 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8540
0fe0f1f8
RH
8541 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8542 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8543 (libc_feupdateenv_testl): New.
8544 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8545 (libc_feupdateenv_testf): New.
8546 (libc_feupdateenv): Use libc_feupdateenv_test.
8547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8549
eb92c487
RH
8550 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8551 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8552 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8553 (libc_feresetround_noex): New.
8554 (libc_feresetround_noexf): New.
8555 (libc_feresetround_noexl): New.
8556 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8557 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8558 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8559 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8560 SET_RESTORE_ROUND.
8561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8563 (__cos): Likewise.
8564 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8565 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8566 SET_RESTORE_ROUND_NOEX.
8567 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8568 SET_RESTORE_ROUND_NOEXF.
8569 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8570 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8571 (libc_feholdsetroundf): New.
8572 (libc_feresetround, libc_feresetroundf): New.
8573
7d2e8012
RH
8574 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8575 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8576 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8577
b4dabbb4
RH
8578 * sysdeps/generic/math_private.h: Include <fenv.h>.
8579 (default_libc_feholdexcept): New.
8580 (default_libc_feholdexcept_setround): New.
8581 (default_libc_fesetenv, default_libc_feupdateenv): New.
8582 (libc_feholdexcept): Only define if undefined.
8583 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8584 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8585 (libc_feholdexcept_setroundl): Likewise.
8586 (libc_feholdexcept_setround_53bit): Likewise.
8587 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8588 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8589 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8590 (libc_feupdateenv_53bit): Likewise.
8591 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8592 (libc_feholdexcept): Convert from macro to inline function.
8593 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8594 (libc_fesetenv, libc_feupdateenv): Likewise.
8595
4851a949
RH
8596 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8597 not previously defined.
8598 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8599 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8600 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8601 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8602 * sysdeps/ieee754/flt-32/math_private.h: New file.
8603 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8604 math_private.h below SET_FLOAT_WORD.
8605 (__isnan, __isinf_ns, __finite): Remove.
8606 (__isnanf, __isinf_nsf, __finitef): Remove.
8607
e79d442e
AS
86082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8609
8610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8611
90b80344
DM
86122012-03-17 David S. Miller <davem@davemloft.net>
8613
8614 [BZ #6471]
8615 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8616 for 2.16.
8617
edc21804
DM
86182012-03-16 David S. Miller <davem@davemloft.net>
8619
77e927af
DM
8620 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8621 warnings.
8622
374976dd
DM
8623 [BZ #6471]
8624 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8625 properly.
8626 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8627 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8628 sysdep_routines when subdir is sysvipc.
8629 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8630 __getshmlba helper.
8631
edc21804
DM
8632 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8633
473c3ef3
L
86342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8635
8636 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8637 [__LP64__].
8638
eb0f39b6
L
86392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8640
8641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8642 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8643 (__lround): Renamed to ...
8644 (__llround): This. Replace long int with long long int.
8645 Define lround functions as aliases of llround functions.
8646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8647
6b6cd74b
L
86482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8649
8650 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8651 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8652 adresses to uintptr_t. Replace "long int" and "unsigned long
8653 int" with "greg_t" on va_arg.
8654
f1a77b01
L
86552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8658 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8659
8660 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8661 Move e_machine check before EI_CLASS check. Handle x32
8662 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8663 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8664 SKIP_EM_IA_64 and include
8665 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8666
8667 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8668 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8669 (add_system_dir): New macro.
8670
8671 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8672 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8673
11b90b9f
JM
86742012-03-16 Joseph Myers <joseph@codesourcery.com>
8675
c36e1d23
JM
8676 [BZ #2551]
8677 [BZ #2552]
8678 [BZ #2553]
8679 [BZ #2554]
8680 [BZ #2562]
8681 [BZ #2563]
8682 [BZ #2565]
8683 [BZ #2566]
8684 [BZ #2576]
8685 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8686 (y0): Likewise.
8687 * math/w_j0f.c (j0f): Likewise.
8688 (y0f): Likewise.
8689 * math/w_j0l.c (__j0l): Likewise.
8690 (__y0l): Likewise.
8691 * math/w_j1.c (j1): Likewise.
8692 (y1): Likewise.
8693 * math/w_j1f.c (j1f): Likewise.
8694 (y1f): Likewise.
8695 * math/w_j1l.c (__j1l): Likewise.
8696 (__y1l): Likewise.
8697 * math/w_jn.c (jn): Likewise.
8698 (yn): Likewise.
8699 * math/w_jnf.c (jnf): Likewise.
8700 (ynf): Likewise.
8701 * math/w_jnl.c (__jnl): Likewise.
8702 (__ynl): Likewise.
8703 * math/libm-test.inc (j0_test): Add more tests.
8704 (j1_test): Likewise.
8705 (jn_test): Likewise. Add trailing semicolon to existing test.
8706 (y0_test): Likewise.
8707 (y1_test): Likewise.
8708 * sysdeps/i386/fpu/libm-test-ulps: Update.
8709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8710
11b90b9f
JM
8711 [BZ #13851]
8712 [BZ #13854]
8713 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8714 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8715 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8717 (__tanl): Set errno for infinite argument.
8718 * sysdeps/i386/fpu/mptan.c: Remove.
8719 * sysdeps/i386/fpu/s_tan.S: Likewise.
8720 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8721 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8722 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8723 * math/libm-test.inc (tan_test): Add more tests and enable more
8724 tests for double and long double.
8725 * sysdeps/i386/fpu/libm-test-ulps: Update.
8726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8727
6a1bd2a1
JK
87282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8729
8730 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8731 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8732
10a803e0
RM
87332012-03-16 Roland McGrath <roland@hack.frob.com>
8734
8735 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8736 * configure.in: Use it for both main tree and add-ons.
8737 * configure: Regenerated.
8738
f196c7f7
L
87392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8740
8741 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8742
8848d99d
JM
87432012-03-16 Joseph Myers <joseph@codesourcery.com>
8744
96cbe7f4
JM
8745 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8746 in comment.
8747
8848d99d
JM
8748 [BZ #13851]
8749 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8750 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8754 infinite argument.
8755 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8757 != 0 for prec == 2.
8758 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8759 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8760 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8761 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8762 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8763 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8764 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8765 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8766 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8767 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8768 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8769 * math/libm-test.inc (cos_test): Add more tests and enable more
8770 tests for long double.
8771 (sin_test): Likewise.
8772 (sincos_test): Likewise.
8773 * sysdeps/i386/fpu/libm-test-ulps: Update.
8774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8775
dd7f4703
DM
87762012-03-16 David S. Miller <davem@davemloft.net>
8777
8778 * sysdeps/sparc/fpu/math_private.h: New file.
8779
006f1daa
DM
87802012-03-15 David S. Miller <davem@davemloft.net>
8781
c0c83bc8
DM
8782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8783 file.
e6a62e18 8784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8786 file.
e6a62e18
DM
8787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8793 sysdep routines.
8794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8795
88cb87d9
DM
8796 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8797 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8798
006f1daa 8799 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8801 sparc-ifunc.h
006f1daa 8802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8804 Likewise.
8805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8806 Likewise.
006f1daa
DM
8807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8811 Likewise.
006f1daa
DM
8812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8817 Likewise.
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8819 Likewise.
006f1daa
DM
8820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8844
11e0098e
AS
88452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8846
8847 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8848 scaling.
8849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8850
e85b09d0
AJ
88512012-03-15 Andreas Jaeger <aj@suse.de>
8852
8853 [BZ #13852]
8854 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8855 ieee754/flt-32 implementation for sin, cos and sincos.
8856 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8857 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8858 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8859 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8860 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8861 ieee754/flt-32 implementation for tan.
8862
8863 * math/libm-test.inc (cos_test): Enable some large input tests for
8864 float as well
8865 (sin_test): Likewise.
8866 (sincos_test): Likewise.
8867 (tan_test): Add tests for large input.
8868
8869 * sysdeps/i386/fpu/libm-test-ulps: Update.
8870
81c64153
AJ
88712012-03-15 Andreas Jaeger <aj@suse.de>
8872
8873 [BZ #13658]
8874 * math/libm-test.inc (cos_test): Add more test cases.
8875 (sin_test): Likewise.
8876 (sincos_test): Likewise.
8877
7bbfa5c6
AJ
88782012-03-15 Andreas Jaeger <aj@suse.de>
8879
8880 [BZ #13837]
8881 * math/libm-test.inc (cos_test): Add a test case for large input
8882 value.
8883 (sin_test): Likewise.
8884 (sincos_test): Likewise.
8885
88862012-03-15 Andreas Jaeger <aj@suse.de>,
8887 Joseph Myers <joseph@codesourcery.com>
8888
8889 [BZ #13658]
0671f479 8890 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8891 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8892 * sysdeps/i386/fpu/branred.c: Likewise.
8893 * sysdeps/i386/fpu/dosincos.c: Likewise.
8894 * sysdeps/i386/fpu/mpa.c: Likewise.
8895 * sysdeps/i386/fpu/s_cos.S: Likewise.
8896 * sysdeps/i386/fpu/s_sin.S: Likewise.
8897 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8898 * sysdeps/i386/fpu/sincos32.c: Likewise.
8899
8900 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8901 Define.
8902 (libc_feupdateenv_53bit): Define.
8903 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8904 Define.
8905 (libc_feupdateenv_53bit): Define.
8906
8907 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8908 53 bit (without extend i386 double precision).
8909
8910 * math/libm-test.inc (sincos_test): Add tests for large input.
8911 (sin): Likewise.
8912 (cos): Likewise.
8913
8914 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8915
9cad04ea
AS
89162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8917
8918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8919
f7062b9a
DM
89202012-03-15 David S. Miller <davem@davemloft.net>
8921
8922 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8923 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8924 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8925 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8938 file.
f7062b9a 8939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8941 file.
f7062b9a 8942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8944 file.
f7062b9a 8945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8947 file.
f7062b9a
DM
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8950 fmin/fmax sysdep routines.
8951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8952
7bd951ff
DM
89532012-03-14 David S. Miller <davem@davemloft.net>
8954
559398ab
DM
8955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8984 routines.
8985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8986 file.
559398ab 8987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8989 file.
559398ab 8990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8992 file.
559398ab 8993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8995 file.
559398ab 8996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8998 file.
559398ab 8999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9001 file.
9002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9003 file.
9004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9005 file.
9006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9007 file.
9008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9009 New file.
9010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9011 file.
9012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9013 file.
559398ab 9014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9016 file.
559398ab 9017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9019 file.
559398ab 9020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9022 file.
559398ab 9023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9025 VIS3 routines.
559398ab
DM
9026
9027 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9028 New file.
9029
5a1c1e32
DM
9030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9031
eae47a36
DM
9032 * sysdeps/sparc/configure.in: New file.
9033 * sysdeps/sparc/configure: Generate.
9034 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9035 * configure: Regenerate.
9036 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9037 * config.make.in (have-as-vis3): New.
9038 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9039 available use -Av9d instead of -Av9a.
9040 * sysdeps/sparc/sparc64/Makefile: Likewise.
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9043 New file.
9044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9045 file.
9046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9047 New file.
9048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9049 file.
eae47a36
DM
9050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9055
c0c83bc8
DM
9056 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9057 fzeros/fnegs to load 0x80000000 into a float register instead of
9058 using the stack.
7bd951ff
DM
9059 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9060
bd951ccb
JM
90612012-03-14 Joseph Myers <joseph@codesourcery.com>
9062
9063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9064 bits/syscall.h.
9065 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9066 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9067 ($(inst_includedir)/bits/syscall.h): Remove rule.
9068 ($(objpfx)bits/syscall.d): Include instead of
9069 $(objpfx)syscall-list.d.
9070 (generated): Change syscall-list.h and syscall-list.d to
9071 bits/syscall.h and bits/syscall.d.
9072
bb4e6db2
RM
90732012-03-14 Roland McGrath <roland@hack.frob.com>
9074
9075 [BZ #13846]
9076 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9077
aa4a2ae1
JM
90782012-03-14 Joseph Myers <joseph@codesourcery.com>
9079
e456826d
JM
9080 [BZ #13841]
9081 * math/s_csqrt.c: Include <float.h>.
9082 (__csqrt): Scale large or subnormal inputs.
9083 * math/s_csqrtf.c: Likewise.
9084 * math/s_csqrtl.c: Likewise.
9085 * math/libm-test.inc (csqrt_test): Add more tests.
9086 * sysdeps/i386/fpu/libm-test-ulps: Update.
9087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9088
aa4a2ae1
JM
9089 [BZ #13840]
9090 * math/libm-test.inc (hypot_test): Add more tests.
9091
7c10fd35
DM
90922012-03-13 David S. Miller <davem@davemloft.net>
9093
9094 [BZ #13840]
9095 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9096 double-precision for the calculation instead of scaling.
9097
f453b98b
JM
90982012-03-13 Joseph Myers <joseph@codesourcery.com>
9099
9100 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9101 manipulate bits before adding and subtracting TWO52[sx].
9102 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9103 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9104 Likewise.
9105 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9106
09a3453f
DM
91072012-03-13 David S. Miller <davem@davemloft.net>
9108
8e59da90
DM
9109 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9110 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9112 rtld-global-offsets.h
9113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9114
2a8ab7f2
DM
9115 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9116 large parameters.
9117
10f62770
DM
9118 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9119
5f0bdb18
DM
9120 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9121 'err' in the ifdef scope in which it is actually used.
9122
09a3453f
DM
9123 * nss/nss_db/db-init.c: Include string.h
9124
b4b2eb5e
DM
91252012-03-12 David S. Miller <davem@davemloft.net>
9126
98bb2f1c
DM
9127 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9128 masking out of the most significant byte of random value used.
9129 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9130 Fix coding style in previous change.
9131
b4b2eb5e
DM
9132 * sysdeps/unix/sysv/linux/kernel-features.h
9133 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9134 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9135 expression.
9136 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9137 later.
9138
6e226b09
DM
91392012-03-11 David S. Miller <davem@davemloft.net>
9140
a1bcbd40
DM
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9142 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9143 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9144 for 'resultvar' otherwise things get truncated on 64-bit.
9145
cb9d6174
DM
9146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9147 Fix masking out of the most significant byte of random value used.
9148
6e226b09
DM
9149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9150
058c132d
AS
91512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9152
9153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9154
2d2cd515
DM
91552012-03-09 David S. Miller <davem@davemloft.net>
9156
9157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9158 variables with appropriate CPP guards.
9159 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9160 frame pointer, not the stack pointer. Correct layout comments. Fix test
9161 on resulting framesize and the management of the outregs buffer for pltexit.
9162 Preserve floating point return values across _dl_call_pltexit call.
9163 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9164 framesize and the management of the outregs buffer for pltexit.
9165 Preserve floating point return values across _dl_call_pltexit
9166 call.
9167 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9168 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9169 (print_exit): Fix format string for return register value.
9170
9a07f9d0
JM
91712012-03-10 Joseph Myers <joseph@codesourcery.com>
9172
9173 * sunrpc/Makefile (others): Add rpcgen.
9174 ($(objpfx)rpcgen): Remove special build rule and dependency on
9175 libc.
9176 * sunrpc/rpcgen.c: New file.
9177
547b5e30
PE
91782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9179
c524201a
PE
9180 [BZ #13673]
9181 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9182 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9183 * sysdeps/i386/crti.S: Likewise.
9184 * sysdeps/i386/crtn.S: Likewise.
9185 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9186 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9187 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9188 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9189 * sysdeps/sh/crti.S: Likewise.
9190 * sysdeps/sh/crtn.S: Likewise.
9191 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9192
7b6235f2
PE
9193 [BZ #13673]
9194 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9195 with URL.
9196 * locale/programs/locfile-kw.gperf: Likewise.
9197 * locale/programs/charmap-kw.h: Regenerated.
9198 * locale/programs/locfile-kw.h: Likewise.
9199
547b5e30
PE
9200 [BZ #13673]
9201 * intl/plural.y: Replace FSF snail mail address with URL.
9202 * intl/plural.c: Regenerated.
9203
5f0a5dae
RH
92042012-03-09 Richard Henderson <rth@twiddle.net>
9205
9206 * include/math_private.h: Remove file.
9207 * math/math_private.h: Move file ...
9208 * sysdeps/generic/math_private.h: ... here.
9209
b8c03620
RH
9210 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9211 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9212 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9213
4e234f5d 9214 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9215 and <math_private.h>.
9216 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9217 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9218 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9219 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9220 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9221 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9227 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9231 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9232 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9233 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9234 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9254 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9303 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9304 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9307 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9309 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9310 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9311 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9312 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9313 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9314 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9315 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9316 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9317 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9318 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9319 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9320 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9321 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9322 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9323 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9324 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9325 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9326 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9327 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9328 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9329 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9330 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9331 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9333 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9334 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9335 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9336 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9337 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9338 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9339 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9340 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9341 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9342 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9343 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9344 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9345 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9346 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9347 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9348 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9349 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9350 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9351 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9352 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9354 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9355 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9356 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9357 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9358 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9359 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9360 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9361 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9362 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9363 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9364 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9365 * sysdeps/ieee754/k_standard.c: Likewise.
9366 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9367 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9370 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9371 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9372 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9373 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9374 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9375 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9378 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9379 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9380 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9381 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9382 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9383 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9385 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9386 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9387 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9388 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9389 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9390 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9391 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9392 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9393 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9401 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9412 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9417 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9469 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9485 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9486 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9488 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9490 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9492 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9493 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9498 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9515 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9516 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9526 * sysdeps/ieee754/s_lib_version.c: Likewise.
9527 * sysdeps/ieee754/s_matherr.c: Likewise.
9528 * sysdeps/ieee754/s_signgam.c: Likewise.
9529 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9530 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9531 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9532 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9533 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9534 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9535 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9536 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9537 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9538 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9539 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9540 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9541 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9542 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9543 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9546 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9547 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9550
1991fa03
JM
95512012-03-09 Joseph Myers <joseph@codesourcery.com>
9552
9553 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9554 * sunrpc/rpc_main.c: Likewise.
9555 * sunrpc/rpc_svcout.c: Likewise.
9556
60d6f5a6
DM
95572012-03-09 David S. Miller <davem@davemloft.net>
9558
9559 * include/math_private.h: New file.
9560
4962050e
JM
95612012-03-09 Joseph Myers <joseph@codesourcery.com>
9562
02a6f887
JM
9563 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9564 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9565 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9566 from <bits/socket_type.h>.
9567 (enum __socket_type): Don't define here.
9568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9570 bits/socket_type.h.
9571
c6e013c1
JM
9572 [BZ #13566]
9573 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9574 checking __USE_GNU.
9575
4962050e
JM
9576 * Makerules ($(inst_includedir)/%.h): New rule.
9577 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9578 (install-others): Remove variable setting.
9579 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9580
38842f45
RH
95812012-03-08 Richard Henderson <rth@twiddle.net>
9582
67bb6da6
RH
9583 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9584 from macro to inline function; merge with the
9585 !__LIBC_INTERNAL_MATH_INLINES version.
9586 (__ieee754_sqrtf): Likewise.
9587
15194b4b
RH
9588 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9589 to inline function.
9590 (__rintf, __floor, __floorf): Likewise.
9591
64e21ede
RH
9592 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9593 macro to inline function.
9594 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9595
38842f45
RH
9596 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9597 not <math/math_private.h>.
9598
c64bf5fe
DM
95992012-03-08 David S. Miller <davem@davemloft.net>
9600
9601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9602 copyright year.
9603 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9604
82d86f28
TS
96052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9606
9607 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9608 normalization.
9609 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9610 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9611
aea5d727
UD
96122012-03-08 Ulrich Drepper <drepper@gmail.com>
9613
9614 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9615 be defined individually, they must be defined as a block. Define
9616 S for printing a string instead of hidint the different by using a
9617 macro for adding the 'l'.
9618 * stdio-common/tst-fphex-wide.c: Adjust.
9619
70bca0a3
MP
96202012-03-07 Marek Polacek <polacek@redhat.com>
9621
9622 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9623
65b81130
MP
96242012-03-08 Marek Polacek <polacek@redhat.com>
9625
9626 [BZ #13806]
9627 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9628 * stdio-common/tst-fphex.c: Define a few macros to make the
9629 test reusable. Use them.
9630 * stdio-common/tst-fphex-wide.c: New file.
9631
07037eeb
JM
96322012-03-08 Joseph Myers <joseph@codesourcery.com>
9633
a7a93d50
JM
9634 [BZ #6911]
9635 * manual/macros.texi (gnusystems): New macro.
9636 (nongnusystems): Likewise.
9637 (gnulinuxhurdsystems): Likewise.
9638 (gnuhurdsystems): Likewise..
9639 (gnulinuxsystems): Likewise.
9640 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9641 variants of the GNU system, not "GNU system".
9642 * manual/conf.texi: Likewise.
9643 * manual/errno.texi: Likewise. Update example of errno macro
9644 expansion.
9645 * manual/filesys.texi: Likewise.
9646 (getumask): Document as specific to GNU/Hurd.
9647 * manual/install.texi: Likewise. Reword some references to
9648 GNU/Linux.
9649 * manual/intro.texi: Likewise.
9650 * manual/io.texi: Likewise.
9651 (File Name Portability): Detail which constraints are inapplicable
9652 to all GNU systems and which are only inapplicable to GNU/Hurd.
9653 * manual/job.texi: Likewise.
9654 * manual/llio.texi: Likewise.
9655 (O_NOCTTY): Document as present on GNU/Linux.
9656 * manual/maint.texi: Likewise.
9657 * manual/memory.texi: Likewise.
9658 * manual/pattern.texi: Likewise.
9659 * manual/pipe.texi: Likewise.
9660 * manual/process.texi: Likewise.
9661 * manual/resource.texi: Likewise.
9662 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9663 child on GNU/Hurd.
9664 * manual/setjmp.texi: Likewise.
9665 * manual/signal.texi: Likewise.
9666 * manual/startup.texi: Likewise.
9667 * manual/stdio.texi: Likewise.
9668 * manual/terminal.texi: Likewise.
9669 (ONLCR): Document as POSIX.
9670 (OXTABS): Document availability on GNU/Linux as XTABS.
9671 (ONOEOT): Document availability separately from other bits.
9672 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9673 * manual/time.texi: Likewise.
9674 * manual/users.texi: Likewise.
9675 * INSTALL: Regenerated.
9676 * sysdeps/gnu/errlist.c: Regenerated.
9677
07037eeb
JM
9678 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9679 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9680 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9681 puts.
9682 * configure: Regenerated.
9683
d1d3431a
JM
96842012-03-07 Joseph Myers <joseph@codesourcery.com>
9685
af6a1e37
JM
9686 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9687 default includes instead of AC_HEADER_CHECK.
9688 * sysdeps/i386/configure: Regenerated.
9689
d1d3431a
JM
9690 [BZ #10716]
9691 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9692 * math/s_cacoshf.c (__cacoshf): Likewise.
9693 * math/s_cacoshl.c (__cacoshl): Likewise.
9694 * math/s_casinh.c (__casinh): Set signs of result from argument.
9695 * math/s_casinhf.c (__casinhf): Likewise.
9696 * math/s_casinhl.c (__casinhl): Likewise.
9697 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9698 (casinh_test): Add more tests.
9699 * sysdeps/i386/fpu/libm-test-ulps: Update.
9700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9701
482ff4da
UD
97022012-03-07 Ulrich Drepper <drepper@gmail.com>
9703
872fda05
UD
9704 * po/zh_TW.po: Update from translation team.
9705
a4300c7a
UD
9706 * login/Makefile (distribute): Remove variable.
9707 * catgets/Makefile: Likewise.
9708 * mach/Makefile: Likewise.
9709 * malloc/Makefile: Likewise.
9710 * misc/Makefile: Likewise.
9711 * iconv/Makefile: Likewise.
9712 * nscd/Makefile: Likewise.
9713 * hurd/Makefile: Likewise.
9714 * manual/Makefile: Likewise.
9715 * locale/Makefile: Likewise.
9716 * intl/Makefile: Likewise.
9717 * conform/Makefile: Likewise.
9718 * nss/Makefile: Likewise.
9719 * time/Makefile: Likewise.
9720 * soft-fp/Makefile: Likewise.
9721 * dirent/Makefile: Likewise.
9722 * gmon/Makefile: Likewise.
9723 * po/Makefile: Likewise.
9724 * rt/Makefile: Likewise.
9725 * socket/Makefile: Likewise.
9726 * math/Makefile: Likewise.
9727 * signal/Makefile: Likewise.
9728 * debug/Makefile: Likewise.
9729 * elf/Makefile: Likewise.
9730 * timezone/Makefile: Likewise.
9731 * stdlib/Makefile: Likewise.
9732 * iconvdata/Makefile: Likewise.
9733 * sunrpc/Makefile: Likewise.
9734 * io/Makefile: Likewise.
9735 * argp/Makefile: Likewise.
9736 * inet/Makefile: Likewise.
9737 * hesiod/Makefile: Likewise.
9738 * grp/Makefile: Likewise.
9739 * csu/Makefile: Likewise.
9740 * wctype/Makefile: Likewise.
9741 * crypt/Makefile: Likewise.
9742 * libio/Makefile: Likewise.
9743 * string/Makefile: Likewise.
9744 * nis/Makefile: Likewise.
9745 * resolv/Makefile: Likewise.
9746 * stdio-common/Makefile: Likewise.
9747 * wcsmbs/Makefile: Likewise.
9748 * dlfcn/Makefile: Likewise.
9749 * posix/Makefile: Likewise.
9750
3b7c4e74 9751 [BZ #6959]
482ff4da
UD
9752 * timezone/Makefile: Don't install timezone files, just the programs
9753 and scripts.
9754
f72ed77d
UD
97552012-03-06 Ulrich Drepper <drepper@gmail.com>
9756
a000466f
UD
9757 * nss/databases.def: Add missing gshadow entry.
9758
f72ed77d
UD
9759 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9760
a53b7a4e
MP
97612012-03-06 Marek Polacek <polacek@redhat.com>
9762
9763 [BZ #13726]
9764 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9765 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9766 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9767 * stdio-common/tst-long-dbl-fphex.c: New file.
9768
e9258400
DM
97692012-03-06 David S. Miller <davem@davemloft.net>
9770
9771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9772 (set_obp_int): New function.
9773 (get_obp_int): New function.
9774 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9776 Avoid unused variable warnings on 'val' and use builtin_expect.
9777 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9778 __builtin_expect.
e9258400
DM
9779 (INLINE_CLONE_SYSCALL): Likewise.
9780
3bd2c723
DM
97812012-03-05 David S. Miller <davem@davemloft.net>
9782
9783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9784
bbb78d03
AS
97852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9786
884c5db4
AS
9787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9788
bbb78d03
AS
9789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9790 only for |x| >= 40.
9791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9792
1c9f702a 97932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9794
9795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9796 Replace gettimeofday with __vdso_gettimeofday.
9797
7be16f82
RM
9798 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9799 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9800 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9801
9802 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9803 time with __vdso_time.
9804
ed58a00f
JM
98052012-03-05 Joseph Myers <joseph@codesourcery.com>
9806
9807 * manual/lang.texi (size_t): Note types to which size_t may be
9808 equivalent with the GNU C Library, but do not describe when
9809 differences between them are significant.
9810
30ee4ced
AJ
98112012-03-05 Andreas Jaeger <aj@suse.de>
9812
9813 * sysdeps/i386/fpu/libm-test-ulps: Update.
9814
b7cd39e8
JM
98152012-03-05 Joseph Myers <joseph@codesourcery.com>
9816
9817 [BZ #3976]
9818 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9819 (__ieee754_pow): Save and restore rounding mode and use
9820 round-to-nearest for main computations.
9821 * math/libm-test.inc (pow_test_tonearest): New function.
9822 (pow_test_towardzero): Likewise.
9823 (pow_test_downward): Likewise.
9824 (pow_test_upward): Likewise.
9825 (main): Call the new functions.
9826 * sysdeps/i386/fpu/libm-test-ulps: Update.
9827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9828
9829 [BZ #3976]
9830 * math/libm-test.inc (cosh_test_tonearest): New function.
9831 (cosh_test_towardzero): Likewise.
9832 (cosh_test_downward): Likewise.
9833 (cosh_test_upward): Likewise.
9834 (sinh_test_tonearest): Likewise.
9835 (sinh_test_towardzero): Likewise.
9836 (sinh_test_downward): Likewise.
9837 (sinh_test_upward): Likewise.
9838 (main): Call the new functions.
9839 * sysdeps/i386/fpu/libm-test-ulps: Update.
9840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9841
6c6a98c9
TV
98422012-03-05 Tom de Vries <tom@codesourcery.com>
9843
9844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9845 default stack guard is set in last bytes.
9846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9847
21bb2d2e 98482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9849
21bb2d2e 9850 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9851
21bb2d2e
AJ
9852 [BZ #13656]
9853 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9854 possibly allocate from heap instead of stack.
9855 * stdio-common/bug-vfprintf-nargs.c: New file.
9856 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9857
c6922934
AS
98582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9859
9860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9861
bc957d53
MP
98622012-03-03 Marek Polacek <polacek@redhat.com>
9863
9864 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9865 * math/math_private.h: Likewise.
9866 * stdlib/tst-strtod.c: Likewise.
9867 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9868 * sysdeps/x86_64/bits/atomic.h: Likewise.
9869
6358490d
DM
98702012-03-02 David S. Miller <davem@davemloft.net>
9871
9872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9876 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9877 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9878 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9879 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9880
01ae168d
RM
98812012-03-02 Roland McGrath <roland@hack.frob.com>
9882
d9a17c07
RM
9883 [BZ #13792]
9884 * manual/examples/README: New file, says the example source files
9885 can be used under GPL>=2.
9886 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9887 line containing just "*/".
9888 * manual/examples/add.c: Add copyright header (GPL>=2).
9889 * manual/examples/argp-ex1.c: Likewise.
9890 * manual/examples/argp-ex2.c: Likewise.
9891 * manual/examples/argp-ex3.c: Likewise.
9892 * manual/examples/argp-ex4.c: Likewise.
9893 * manual/examples/atexit.c: Likewise.
9894 * manual/examples/db.c: Likewise.
9895 * manual/examples/dir.c: Likewise.
9896 * manual/examples/dir2.c: Likewise.
9897 * manual/examples/execinfo.c: Likewise.
9898 * manual/examples/filecli.c: Likewise.
9899 * manual/examples/filesrv.c: Likewise.
9900 * manual/examples/fmtmsgexpl.c: Likewise.
9901 * manual/examples/genpass.c: Likewise.
9902 * manual/examples/inetcli.c: Likewise.
9903 * manual/examples/inetsrv.c: Likewise.
9904 * manual/examples/isockad.c: Likewise.
9905 * manual/examples/longopt.c: Likewise.
9906 * manual/examples/memopen.c: Likewise.
9907 * manual/examples/memstrm.c: Likewise.
9908 * manual/examples/mkfsock.c: Likewise.
9909 * manual/examples/mkisock.c: Likewise.
9910 * manual/examples/mygetpass.c: Likewise.
9911 * manual/examples/pipe.c: Likewise.
9912 * manual/examples/popen.c: Likewise.
9913 * manual/examples/rprintf.c: Likewise.
9914 * manual/examples/search.c: Likewise.
9915 * manual/examples/select.c: Likewise.
9916 * manual/examples/setjmp.c: Likewise.
9917 * manual/examples/sigh1.c: Likewise.
9918 * manual/examples/sigusr.c: Likewise.
9919 * manual/examples/stpcpy.c: Likewise.
9920 * manual/examples/strdupa.c: Likewise.
9921 * manual/examples/strftim.c: Likewise.
9922 * manual/examples/strncat.c: Likewise.
9923 * manual/examples/subopt.c: Likewise.
9924 * manual/examples/swapcontext.c: Likewise.
9925 * manual/examples/termios.c: Likewise.
9926 * manual/examples/testopt.c: Likewise.
9927 * manual/examples/testpass.c: Likewise.
9928 * manual/examples/timeval_subtract.c: Likewise.
9929
01ae168d
RM
9930 [BZ #13792]
9931 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9932 function to ...
9933 * manual/timeval_subtract.c.texi: ... here, new file.
9934
49efa33d
DM
99352012-03-02 David S. Miller <davem@davemloft.net>
9936
9937 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9938
28afd92d
JM
99392012-03-02 Joseph Myers <joseph@codesourcery.com>
9940
804360ed
JM
9941 [BZ #3976]
9942 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9943 (__sin): Save and restore rounding mode and use round-to-nearest
9944 for all computations.
9945 (__cos): Save and restore rounding mode and use round-to-nearest
9946 for all computations.
9947 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9948 <fenv.h>.
9949 (tan): Save and restore rounding mode and use round-to-nearest for
9950 all computations.
9951 * math/libm-test.inc (cos_test_tonearest): New function.
9952 (cos_test_towardzero): Likewise.
9953 (cos_test_downward): Likewise.
9954 (cos_test_upward): Likewise.
9955 (sin_test_tonearest): Likewise.
9956 (sin_test_towardzero): Likewise.
9957 (sin_test_downward): Likewise.
9958 (sin_test_upward): Likewise.
9959 (tan_test_tonearest): Likewise.
9960 (tan_test_towardzero): Likewise.
9961 (tan_test_downward): Likewise.
9962 (tan_test_upward): Likewise.
9963 (main): Call the new functions.
9964 * sysdeps/i386/fpu/libm-test-ulps: Update.
9965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9966
a6d06d7b
JM
9967 [BZ #10135]
9968 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9969 small n, then large n, before computing and testing k+n.
9970 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9972 Likewise.
9973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9974 Likewise.
9975 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9976 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9977 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9978 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9981 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9982 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9983 * math/libm-test.inc (scalbn_test): Add more tests.
9984 (scalbln_test): Likewise.
9985
07e12bb3
JM
9986 * manual/filesys.texi (mode_t): Describe constraints on size and
9987 signedness, not exact equivalence to a particular type.
9988 (ino_t): Likewise.
9989 (ino64_t): Likewise.
9990 (dev_t): Likewise.
9991 (nlink_t): Likewise.
9992 (blkcnt_t): Likewise.
9993 (blkcnt64_t): Likewise.
9994 * manual/llio.texi (off_t): Likewise.
9995
28afd92d
JM
9996 [BZ #3976]
9997 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9998 (__ieee754_exp): Save and restore rounding mode and use
9999 round-to-nearest for all computations.
10000 * math/libm-test.inc (exp_test_tonearest): New function.
10001 (exp_test_towardzero): Likewise.
10002 (exp_test_downward): Likewise.
10003 (exp_test_upward): Likewise.
10004 (main): Call the new functions.
10005 * sysdeps/i386/fpu/libm-test-ulps: Update.
10006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10007
b1eeb65d
CD
100082012-03-01 Chris Demetriou <cgd@google.com>
10009
10010 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10011 have predictable order.
10012
53362a4b
DM
100132012-03-01 David S. Miller <davem@davemloft.net>
10014
3c969083
DM
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10016
759707de
DM
10017 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10018 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10019 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10020 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10021
dfdb8ff2
DM
10022 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10023 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10024 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10026 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10027 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10028 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10029 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10030 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10031
ead89f96
DM
10032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10033
7f66bd07
DM
10034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10035 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10036 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10037
53362a4b
DM
10038 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10039 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10041 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10042 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10044 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10045 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10046 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10047 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10048 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10049 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10051 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10052 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10054 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10055 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10056 * sysdeps/sparc/elf/configure: Regenerated.
10057
7b1902cb
JM
100582012-03-01 Joseph Myers <joseph@codesourcery.com>
10059
bec039bc
JM
10060 * configure.in (AS, LD): Require binutils 2.20 or later.
10061 * configure: Regenerated.
10062 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10063 as required minimum version.
10064 * INSTALL: Regenerated.
10065
7b1902cb
JM
10066 [BZ #2541]
10067 [BZ #4108]
10068 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10069 before squaring exponent.
10070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10071 bottom long double and 27 bits of top long double before squaring
10072 exponent.
10073 * math/libm-test.inc (erfc_test): Add more tests.
10074 * sysdeps/i386/fpu/libm-test-ulps: Update.
10075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10077
f775c276
KT
100782012-03-01 Kai Tietz <ktietz@redhat.com>
10079
10080 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10081 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10082 containing bit-fields.
10083 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10084 * soft-fp/single.h (_FP_UNION_S): Likewise.
10085 * soft-fp/double.h (_FP_UNION_D): Likewise.
10086
5b8a4d4a
JM
100872012-02-29 Joseph Myers <joseph@codesourcery.com>
10088
0bab47b6
JM
10089 [BZ #13786]
10090 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10091 not include ../strcmp.S.
10092 [USE_AS_STRNCASECMP_L]: Likewise.
10093 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10094 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10095 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10096 (__strncasecmp_l_ia32): Define as alias to
10097 __strncasecmp_l_nonascii.
10098
0fcad3e2
JM
10099 [BZ #5794]
10100 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10101 * sysdeps/i386/fpu/libm-test-ulps: Update.
10102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10103
5b8a4d4a
JM
10104 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10106
8fdceb2e
JL
101072012-02-29 Jeff Law <law@redhat.com>
10108
10109 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10110 out of bounds read.
10111
1f393a11
MP
101122012-02-29 Marek Polacek <polacek@redhat.com>
10113
10114 [BZ #13706]
10115 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10116 * elf/Makefile: Add rules to run tst-unused-dep.out.
10117
8847f037
DM
101182012-02-28 David S. Miller <davem@davemloft.net>
10119
10120 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10121 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10124 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10125 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10126
169d7f11
JM
101272012-02-29 Joseph Myers <joseph@codesourcery.com>
10128
10129 * math/libm-test.inc (llround_test): Move one test from
10130 lround_test. Use TEST_f_L in moved test.
10131 (lround_test): Move misplaced test to llround_test. Add testcase
10132 from bug 2561.
10133
39adf059
UD
101342012-02-28 Ulrich Drepper <drepper@gmail.com>
10135
10136 * sysdeps/x86_64/fpu/e_expf.S: New file.
10137 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10138
71b5d1c5
SB
101392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10140
10141 [BZ #13637]
10142 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10143 of remain_len that may cause incomplete multi-byte character and
10144 false match.
10145 * posix/bug-regex33.c: New file.
10146 * posix/Makefile (tests): Add bug-regex33.
10147
1f77f049
JM
101482012-02-28 Joseph Myers <joseph@codesourcery.com>
10149
10150 * manual/macros.texi: New file.
10151 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10152 * manual/libc.texinfo: Include macros.texi.
10153 * manual/creatute.texi: Likewise.
10154 * manual/install.texi: Likewise.
10155 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10156 @glibcadj{} in references to the GNU C Library.
10157 * manual/charset.texi: Likewise.
10158 * manual/conf.texi: Likewise.
10159 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10160 when not using those macros.
10161 * manual/creature.texi: Likewise.
10162 * manual/crypt.texi: Likewise.
10163 * manual/errno.texi: Likewise.
10164 * manual/filesys.texi: Likewise.
10165 * manual/header.texi: Likewise.
10166 * manual/install.texi: Likewise.
10167 * manual/intro.texi: Likewise.
10168 * manual/io.texi: Likewise.
10169 * manual/job.texi: Likewise.
10170 * manual/lang.texi: Likewise.
10171 * manual/libc.texiinfo: Likewise.
10172 * manual/llio.texi: Likewise.
10173 * manual/locale.texi: Likewise.
10174 * manual/maint.texi: Likewise.
10175 * manual/math.texi: Likewise.
10176 * manual/memory.texi: Likewise.
10177 * manual/message.texi: Likewise.
10178 * manual/nss.texi: Likewise.
10179 * manual/pattern.texi: Likewise.
10180 * manual/process.texi: Likewise.
10181 * manual/resource.texi: Likewise.
10182 * manual/search.texi: Likewise.
10183 * manual/setjmp.texi: Likewise.
10184 * manual/signal.texi: Likewise.
10185 * manual/socket.texi: Likewise.
10186 * manual/startup.texi: Likewise.
10187 * manual/stdio.texi: Likewise.
10188 * manual/string.texi: Likewise.
10189 * manual/sysinfo.texi: Likewise.
10190 * manual/syslog.texi: Likewise.
10191 * manual/terminal.texi: Likewise.
10192 * manual/time.texi: Likewise.
10193 * manual/users.texi: Likewise.
10194 * INSTALL: Regenerated.
10195 * NOTES: Regenerated.
d40c5d54 10196 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10197
450bf206
AS
101982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10199
10200 * include/dirent.h: Include <dirstream.h> before
10201 <dirent/dirent.h>.
10202
741a235b
DM
102032012-02-28 David S. Miller <davem@davemloft.net>
10204
10205 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10206 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10207 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10208 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10209
d6b5aa58
DM
102102012-02-27 David S. Miller <davem@davemloft.net>
10211
1aff59a3
DM
10212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10214 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10215 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10216
d6b5aa58
DM
10217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10218 frame pointer instead of stack pointer relative arg slot.
10219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10220 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10221 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10222
433f48bf
CD
102232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10224
10225 [BZ #3992]
10226 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10227
d674b76d
DM
102282012-02-27 David S. Miller <davem@davemloft.net>
10229
10230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10236 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10237 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10238
0e7727f7
JM
102392012-02-27 Joseph Myers <joseph@codesourcery.com>
10240
10241 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10242 later. Allow versions 5-9.
43be4ca2 10243 * configure: Regenerated.
0e7727f7
JM
10244 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10245 required minimum version and 4.6 as recommended version. Do not
10246 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10247 * INSTALL: Regenerated.
0e7727f7 10248
a78bc654
DM
102492012-02-27 David S. Miller <davem@davemloft.net>
10250
428d5830
DM
10251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10255 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10256 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10257 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10258 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10259
a78bc654
DM
10260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10261 manipulate bits before adding and subtracting TWO112[sx].
10262 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10263
4579f81c
RM
102642012-02-27 Roland McGrath <roland@hack.frob.com>
10265
36c8acb4
RM
10266 [BZ #13775]
10267 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10268 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10269 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10270 being in POSIX, because they are in 1003.1-2008.
10271
84ad622b
RM
10272 * rt/tst-aio.c: Include <fcntl.h>.
10273 * rt/tst-aio7.c: Likewise.
10274 * rt/tst-aio64.c: Likewise.
10275
4579f81c
RM
10276 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10277
abd923db
JM
102782012-02-27 Joseph Myers <joseph@codesourcery.com>
10279
10280 * manual/install.texi (--with-headers): Describe headers as
10281 interface headers, not private headers.
10282 (Specific advice for GNU/Linux systems): Describe use of headers
10283 from "make headers_install", not private headers from older
10284 kernels.
43be4ca2 10285 * INSTALL: Regenerated.
abd923db
JM
10286 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10287 Change to 2.6.19.
10288 * sysdeps/unix/sysv/linux/configure: Regenerated.
10289
6664049b
JM
10290 * manual/llio.texi (fclean): Remove documentation.
10291
bb8b6697
JM
10292 * manual/Makefile (libc-texi-generated): New variable. Include
10293 version.texi.
10294 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10295 $(libc-texi-generated), not duplicated list of files.
10296 (version.texi, stamp-version): New rules.
10297 (realclean): Remove $(libc-texi-generated), not individual files
10298 from that list. Do not remove dir-add.texinfo.
10299 * manual/libc.texinfo: Comment out uses of edition numbers and
10300 references to printed manual. Remove last-updated dates.
10301 (EDITION): Comment out.
10302 (ISBN): Likewise.
10303 (VERSION, UPDATED): Remove.
10304 (version.texi): Include.
10305
12e5c3b9
AS
103062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10307
10308 * sysdeps/posix/spawni.c: Include <signal.h>.
10309 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10310 * sysdeps/pthread/aio_fsync.c: Likewise.
10311
4efeffc1 103122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10313
ba63ba08
UD
10314 * conform/Makefile (tests): Run only when not cross-compiling and
10315 when fast-check is not defined.
10316
d94a4670
UD
10317 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10318 * conform/data/limits.h-data: Fixes for POSIX2008.
10319 * conform/run-conformtest.sh: Run all tests.
10320 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10321 headers.
10322 * include/bits/dlfcn.h: Likewise.
10323 * include/langinfo.h: Likewise.
10324 * include/monetary.h: Likewise.
10325 * include/sys/poll.h: Likewise.
10326
10327 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10328 for __USE_GNU.
10329 * posix/spawn.h: Define __need_sigset_t.
10330 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10331 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10332 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10333 to get sigevent_t only.
10334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10335 only for __USE_GNU.
10336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10337 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10338 process_vm_writev only for __USE_GNU.
10339 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10340
10341 * conform/Makefile: For now ignore errors from run-conformtest.
10342 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10343 POSIX to avoid namespace pollution. Don't prepend headers.
10344 * conform/data/aio.h-data: Fixes for POSIX testing.
10345 * conform/data/fcntl.h-data: Likewise.
10346 * conform/data/glob.h-data: Likewise.
10347 * conform/data/grp.h-data: Likewise.
10348 * conform/data/pthread.h-data: Likewise.
10349 * conform/data/pwd.h-data: Likewise.
10350 * conform/data/signal.h-data: Likewise.
10351 * conform/data/spawn.h-data: Likewise.
10352 * conform/data/stdio.h-data: Likewise.
10353 * conform/data/stdlib.h-data: Likewise.
10354 * conform/data/stropts.h-data: Likewise.
10355 * conform/data/sys/mman.h-data: Likewise.
10356 * conform/data/sys/stat.h-data: Likewise.
10357 * conform/data/sys/types.h-data: Likewise.
10358 * conform/data/sys/wait.h-data: Likewise.
10359 * conform/data/time.h-data: Likewise.
10360 * conform/data/unistd.h-data: Likewise.
10361 * conform/data/utime.h-data: Likewise.
10362
10363 * io/sys/stat.h: fchmod was always in POSIX.
10364 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10365 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10366 * rt/aio.h: Define __need_timespec before including <time.h>.
10367 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10368 struct. Add forward declaration of pthread_attr_t and use it in
10369 sigevent.
10370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10372 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10373 always remove CLK_TCK definition.
10374
c20105c3
AS
103752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10376
10377 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10378
7a270350
UD
103792012-02-25 Ulrich Drepper <drepper@gmail.com>
10380
31341567
UD
10381 * conform/run-conformtest.sh: New file.
10382 * conform/Makefile: Run run-conformtest for tests.
10383 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10384 support.
10385
10386 * conform/data/uchar.h-data: New file.
10387 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10388 * conform/data/arpa/inet.h-data: Likewise.
10389 * conform/data/assert.h-data: Likewise.
10390 * conform/data/complex.h-data: Likewise.
10391 * conform/data/cpio.h-data: Likewise.
10392 * conform/data/ctype.h-data: Likewise.
10393 * conform/data/dirent.h-data: Likewise.
10394 * conform/data/dlfcn.h-data: Likewise.
10395 * conform/data/errno.h-data: Likewise.
10396 * conform/data/fcntl.h-data: Likewise.
10397 * conform/data/float.h-data: Likewise.
10398 * conform/data/fmtmsg.h-data: Likewise.
10399 * conform/data/fnmatch.h-data: Likewise.
10400 * conform/data/ftw.h-data: Likewise.
10401 * conform/data/glob.h-data: Likewise.
10402 * conform/data/grp.h-data: Likewise.
10403 * conform/data/iconv.h-data: Likewise.
10404 * conform/data/inttypes.h-data: Likewise.
10405 * conform/data/langinfo.h-data: Likewise.
10406 * conform/data/libgen.h-data: Likewise.
10407 * conform/data/limits.h-data: Likewise.
10408 * conform/data/locale.h-data: Likewise.
10409 * conform/data/math.h-data: Likewise.
10410 * conform/data/monetary.h-data: Likewise.
10411 * conform/data/mqueue.h-data: Likewise.
10412 * conform/data/ndbm.h-data: Likewise.
10413 * conform/data/net/if.h-data: Likewise.
10414 * conform/data/netdb.h-data: Likewise.
10415 * conform/data/netinet/in.h-data: Likewise.
10416 * conform/data/nl_types.h-data: Likewise.
10417 * conform/data/poll.h-data: Likewise.
10418 * conform/data/pthread.h-data: Likewise.
10419 * conform/data/pwd.h-data: Likewise.
10420 * conform/data/regex.h-data: Likewise.
10421 * conform/data/sched.h-data: Likewise.
10422 * conform/data/search.h-data: Likewise.
10423 * conform/data/semaphore.h-data: Likewise.
10424 * conform/data/setjmp.h-data: Likewise.
10425 * conform/data/signal.h-data: Likewise.
10426 * conform/data/spawn.h-data: Likewise.
10427 * conform/data/stdarg.h-data: Likewise.
10428 * conform/data/stdio.h-data: Likewise.
10429 * conform/data/stdlib.h-data: Likewise.
10430 * conform/data/string.h-data: Likewise.
10431 * conform/data/strings.h-data: Likewise.
10432 * conform/data/stropts.h-data: Likewise.
10433 * conform/data/sys/ipc.h-data: Likewise.
10434 * conform/data/sys/mman.h-data: Likewise.
10435 * conform/data/sys/msg.h-data: Likewise.
10436 * conform/data/sys/resource.h-data: Likewise.
10437 * conform/data/sys/select.h-data: Likewise.
10438 * conform/data/sys/sem.h-data: Likewise.
10439 * conform/data/sys/shm.h-data: Likewise.
10440 * conform/data/sys/socket.h-data: Likewise.
10441 * conform/data/sys/stat.h-data: Likewise.
10442 * conform/data/sys/statvfs.h-data: Likewise.
10443 * conform/data/sys/time.h-data: Likewise.
10444 * conform/data/sys/timeb.h-data: Likewise.
10445 * conform/data/sys/times.h-data: Likewise.
10446 * conform/data/sys/types.h-data: Likewise.
10447 * conform/data/sys/uio.h-data: Likewise.
10448 * conform/data/sys/un.h-data: Likewise.
10449 * conform/data/sys/utsname.h-data: Likewise.
10450 * conform/data/sys/wait.h-data: Likewise.
10451 * conform/data/syslog.h-data: Likewise.
10452 * conform/data/tar.h-data: Likewise.
10453 * conform/data/termios.h-data: Likewise.
10454 * conform/data/utime.h-data: Likewise.
10455 * conform/data/utmpx.h-data: Likewise.
10456 * conform/data/varargs.h-data: Likewise.
10457 * conform/data/wchar.h-data: Likewise.
10458 * conform/data/wctype.h-data: Likewise.
10459 * conform/data/wordexp.h-data: Likewise.
10460
10461 * include/stropts.h: New file.
10462 * include/uchar.h: New file.
10463 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10464 * include/assert.h: Likewise.
10465 * include/ctype.h: Likewise.
10466 * include/dirent.h: Likewise.
10467 * include/dlfcn.h: Likewise.
10468 * include/fcntl.h: Likewise.
10469 * include/fnmatch.h: Likewise.
10470 * include/glob.h: Likewise.
10471 * include/grp.h: Likewise.
10472 * include/libio.h: Likewise.
10473 * include/locale.h: Likewise.
10474 * include/math.h: Likewise.
10475 * include/net/if.h: Likewise.
10476 * include/netdb.h: Likewise.
10477 * include/netinet/in.h: Likewise.
10478 * include/pthread.h: Likewise.
10479 * include/pwd.h: Likewise.
10480 * include/regex.h: Likewise.
10481 * include/sched.h: Likewise.
10482 * include/search.h: Likewise.
10483 * include/setjmp.h: Likewise.
10484 * include/signal.h: Likewise.
10485 * include/stdio.h: Likewise.
10486 * include/stdlib.h: Likewise.
10487 * include/string.h: Likewise.
10488 * include/sys/cdefs.h: Likewise.
10489 * include/sys/mman.h: Likewise.
10490 * include/sys/msg.h: Likewise.
10491 * include/sys/resource.h: Likewise.
10492 * include/sys/select.h: Likewise.
10493 * include/sys/socket.h: Likewise.
10494 * include/sys/stat.h: Likewise.
10495 * include/sys/statvfs.h: Likewise.
10496 * include/sys/time.h: Likewise.
10497 * include/sys/times.h: Likewise.
10498 * include/sys/uio.h: Likewise.
10499 * include/sys/utsname.h: Likewise.
10500 * include/sys/wait.h: Likewise.
10501 * include/termios.h: Likewise.
10502 * include/time.h: Likewise.
10503 * include/ulimit.h: Likewise.
10504 * include/unistd.h: Likewise.
10505 * include/utime.h: Likewise.
10506 * include/wchar.h: Likewise.
10507 * include/wctype.h: Likewise.
10508 * include/wordexp.h: Likewise.
10509
10510 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10511
7a270350
UD
10512 * time/time.h: TIME_UTC must be a macro.
10513 Make timespec_get available for ISO C11 only as well.
10514
7724defc
UD
105152012-02-24 Ulrich Drepper <drepper@gmail.com>
10516
10517 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10518 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10519
6b1d1d46
JM
105202012-02-24 Joseph Myers <joseph@codesourcery.com>
10521
10522 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10523
0f8bbd69
JM
105242012-02-24 Joseph Myers <joseph@codesourcery.com>
10525
10526 * manual/texinfo.tex: Update to version 2012-01-19.16.
10527
66ab80bc
JM
105282012-02-24 Joseph Myers <joseph@codesourcery.com>
10529
10530 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10531
74981cc5
RM
105322012-02-24 Roland McGrath <roland@hack.frob.com>
10533
ee968201
RM
10534 [BZ #13738]
10535 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10536 * manual/fdl-1.3.texi: New file.
10537 * manual/fdl-1.1.texi: File removed.
10538
74981cc5
RM
10539 [BZ #13738]
10540 * manual/libc.texinfo (FDL_VERSION): New @set.
10541 Use it for mention of FDL in cover text.
10542 (Documentation License): Use it in @include file name.
10543
7bb764bc
JM
105442012-02-22 Joseph Myers <joseph@codesourcery.com>
10545 Roland McGrath <roland@hack.frob.com>
10546
10547 [BZ #5461]
10548 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10549 not LONG_LONG_MAX and LONG_LONG_MIN.
10550 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10551 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10552 name.
10553 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10554
6cbeae47
JM
105552012-02-22 Joseph Myers <joseph@codesourcery.com>
10556
10557 [BZ #2547]
10558 [BZ #11365]
10559 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10560 manipulate bits before adding and subtracting TWO23[sx].
10561 * math/libm-test.inc (nearbyint_test): Add more tests.
10562
fe45ce09
JM
105632012-02-22 Joseph Myers <joseph@codesourcery.com>
10564
10565 [BZ #2548]
10566 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10567 bits before adding and subtracting TWO23[sx].
10568 * math/libm-test.inc (rint_test): Add more tests.
10569 (rint_test_tonearest): Likewise.
10570 (rint_test_towardzero): Likewise.
10571 (rint_test_downward): Likewise.
10572 (rint_test_upward: Likewise.
10573
ff3b3d82
JM
105742012-02-22 Joseph Myers <joseph@codesourcery.com>
10575
10576 [BZ #10110]
10577 * include/stdc-predef.h: New file. Extracted from features.h.
10578 * include/features.h: Include stdc-predef.h.
10579 * Makefile (headers): Add stdc-predef.h.
10580 * CONFORMANCE (Compiler limitations): Update.
10581
ef0aab35
JM
105822012-02-22 Joseph Myers <joseph@codesourcery.com>
10583
10584 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10585
58639409
DM
105862012-02-21 David S. Miller <davem@davemloft.net>
10587
10588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10589 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10590
c0e70b25
DM
105912012-02-20 David S. Miller <davem@davemloft.net>
10592
10593 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10594 using a normal save/restore sequence, rather than allocating a
10595 dummy stack frame just to store a frame pointer and restore.
10596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10597
fb06851d
JM
105982012-02-21 Joseph Myers <joseph@codesourcery.com>
10599
10600 * manual/install.texi: Fix stray word in line-wrapped comment.
10601
7a8b71c3
DM
106022012-02-20 David S. Miller <davem@davemloft.net>
10603
d510c123
DM
10604 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10605 both binutils and gcc support GOTDATA.
10606
0722d7c2
DM
10607 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10608 "rd %pc" in the PIC register setup sequences.
10609
3d2b3019
DM
10610 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10611 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10613 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10616 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10619 (SYSCALL_ERROR_HANDLER): Likewise.
10620 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10623 (SYSCALL_ERROR_HANDLER): Likewise.
10624
c80098a9
DM
10625 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10626 (HAVE_GCC_GOTDATA): New.
10627 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10628 relocation support in both binutils and gcc.
10629 * sysdeps/sparc/elf/configure: Regenerate.
10630
3a2545a0
DM
10631 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10632 * sysdeps/sparc/sparc32/elf/configure: Delete.
10633 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10634 * sysdeps/sparc/sparc64/elf/configure: Delete.
10635 * sysdeps/sparc/elf/configure.in: New file.
10636 * sysdeps/sparc/elf/configure: Generate.
10637
7a8b71c3
DM
10638 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10639 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10640 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10641 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10642 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10643
f1e86fca
JM
106442012-02-21 Joseph Myers <joseph@codesourcery.com>
10645
10646 * manual/install.texi: Do not mention specific glibc version
10647 numbers.
10648 * manual/libc.texinfo (VERSION, UPDATED): Update.
10649 (@copying): Use @copyright{} and range of years.
10650
0e7dfaef
JM
106512012-02-21 Joseph Myers <joseph@codesourcery.com>
10652
10653 [BZ #13695]
10654 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10655 [crti.S not in sysdirs] (generated): Do not append.
10656 [crti.S not in sysdirs] (omit-deps): Likewise.
10657 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10658 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10659 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10660 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10661 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10662 Likewise.
10663 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10664 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10665 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10666 * csu/defs.awk: Remove file.
10667 * sysdeps/generic/initfini.c: Likewise.
10668 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10669 variable.
10670 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10671 Likewise.
10672
599af3ca
JM
106732012-02-20 Joseph Myers <joseph@codesourcery.com>
10674
10675 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10676 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10677 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10678 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10680 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10681 <bits/epoll.h>.
10682 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10683 (__EPOLL_PACKED): Define to empty if not defined by
10684 <bits/epoll.h>.
10685 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10687 bits/epoll.h.
10688
0e499750
JM
106892012-02-20 Joseph Myers <joseph@codesourcery.com>
10690
10691 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10692 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10695 <bits/timerfd.h>.
10696 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10698 bits/timerfd.h.
10699
5ad91f6e
JM
107002012-02-20 Joseph Myers <joseph@codesourcery.com>
10701
10702 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10703 in C locale.
10704 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10705 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10708
06b99b02
AJ
107092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10710
10711 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10712 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10713
7638c0fd
AS
107142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10715
10716 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10717 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10718 defined.
10719 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10720 Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10722 entry for 2.16.
10723
92221550
AJ
107242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10725
10726 * math/w_acos.c: Use non-signaling floating-point comparisons.
10727 * math/w_acosf.c: Likewise.
10728 * math/w_acosh.c: Likewise.
10729 * math/w_acoshf.c: Likewise.
10730 * math/w_acoshl.c: Likewise.
10731 * math/w_acosl.c: Likewise.
10732 * math/w_asin.c: Likewise.
10733 * math/w_asinf.c: Likewise.
10734 * math/w_asinl.c: Likewise.
10735 * math/w_atanh.c: Likewise.
10736 * math/w_atanhf.c: Likewise.
10737 * math/w_atanhl.c: Likewise.
10738 * math/w_exp2.c: Likewise.
10739 * math/w_exp2f.c: Likewise.
10740 * math/w_exp2l.c: Likewise.
10741 * math/w_j0.c: Likewise.
10742 * math/w_j0f.c: Likewise.
10743 * math/w_j0l.c: Likewise.
10744 * math/w_j1.c: Likewise.
10745 * math/w_j1f.c: Likewise.
10746 * math/w_j1l.c: Likewise.
10747 * math/w_jn.c: Likewise.
10748 * math/w_jnf.c: Likewise.
10749 * math/w_log.c: Likewise.
10750 * math/w_log10.c: Likewise.
10751 * math/w_log10f.c: Likewise.
10752 * math/w_log10l.c: Likewise.
10753 * math/w_log2.c: Likewise.
10754 * math/w_log2f.c: Likewise.
10755 * math/w_log2l.c: Likewise.
10756 * math/w_logf.c: Likewise.
10757 * math/w_logl.c: Likewise.
10758 * math/w_sqrt.c: Likewise.
10759 * math/w_sqrtf.c: Likewise.
10760 * math/w_sqrtl.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10764 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10765 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10766
ebaf36eb
JM
107672012-02-19 Joseph Myers <joseph@codesourcery.com>
10768
10769 [BZ #9739]
10770 * manual/string.texi (strnlen): Use correct parameter name in
10771 equivalent expression.
10772
71c254a6
JM
107732012-02-19 Joseph Myers <joseph@codesourcery.com>
10774
10775 [BZ #11174]
10776 * manual/users.texi (seteuid): Consistently use neweuid for
10777 argument name.
10778
16d2c631
JM
107792012-02-19 Joseph Myers <joseph@codesourcery.com>
10780
10781 [BZ #13704]
10782 * manual/nss.texi (Services in the NSS configuration): Correct
10783 list of services in example configuration file.
10784
cd837b09
NB
107852012-02-19 Nick Bowler <nbowler@draconx.ca>
10786
10787 [BZ #11322]
10788 * manual/arith.texi: Remove statements about negative zero
10789 behaving identically to zero.
10790
02c4bbad
JM
107912012-02-18 Joseph Myers <joseph@codesourcery.com>
10792
10793 [BZ #5993]
10794 * manual/install.texi: Do not document upgrading from libc5.
10795
366842e7
JM
107962012-02-18 Joseph Myers <joseph@codesourcery.com>
10797
10798 [BZ #4596]
10799 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10800
dd54084d
DM
108012012-02-18 David S. Miller <davem@davemloft.net>
10802
10803 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10804 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10805 %o7 across the call.
10806 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10807 instead.
10808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10809 SETUP_PIC_REG_LEAF.
10810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10811 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10812 * sysdeps/sparc/crtn.S: Likewise.
10813
2bcc53a3
UD
108142012-02-17 Ulrich Drepper <drepper@gmail.com>
10815
10816 * aout/Makefile: Remove.
10817
09c093b5
RK
108182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10819
10820 [BZ #13058]
10821 * manual/examples/argp-ex1.c (main): Format definition in GNU
10822 style.
10823 * manual/examples/argp-ex2.c (main): Likewise.
10824 * manual/examples/argp-ex3.c (main): Likewise.
10825 * manual/examples/argp-ex4.c (main): Likewise.
10826 * manual/examples/longopt.c (main): Use new-style prototype
10827 definition.
10828 * manual/examples/strncat.c (main): Specify return type and use
10829 (void) for arguments.
10830 * manual/examples/subopt.c (main): Use char **argv argument.
10831
2ee633a2
JM
108322012-02-17 Joseph Myers <joseph@codesourcery.com>
10833
10834 [BZ #5077]
10835 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10836 rounding modes.
10837
0520adde
FB
108382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10839
10840 [BZ #6907]
10841 * manual/string.texi (strchr): Change when strchrnul is
10842 recommended.
10843
3f4081cd
DGM
108442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10845
10846 [BZ #174]
10847 * manual/locale.texi (setlocale): Document LOCPATH.
10848
d1b10e78
JM
108492012-02-17 Joseph Myers <joseph@codesourcery.com>
10850
10851 [BZ #10210]
10852 * manual/process.texi (execle): Move @dots{} before last argument.
10853
79c6869c
PB
108542012-02-17 Paul Bolle <pebolle@tiscali.nl>
10855
10856 [BZ #12047]
10857 * manual/charset.texi (Generic Charset Conversion): Fix typo
10858 (LC_TYPE -> LC_CTYPE).
10859
cc6e48bc
NB
108602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10861
10862 [BZ #5805]
10863 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10864 (scalbnf): Likewise.
10865 (scalbnl): Likewise.
10866 (scalbln): Likewise.
10867 (scalblnf): Likewise.
10868 (scalblnl): Likewise.
10869 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10870 (vwarnx): Likewise.
10871 (verr): Likewise.
10872 (verrx): Likewise.
10873 * manual/filesys.texi (telldir): Use braces around return type.
10874 * manual/llio.texi (mmap): Add space after comma.
10875 (mmap64): Likewise.
10876 * manual/math.texi (jn): Use @var{} on parameter names.
10877 (jnf): Likewise.
10878 (jnl): Likewise.
10879 (yn): Likewise.
10880 (ynf): Likewise.
10881 (ynl): Likewise.
10882 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10883 line.
10884 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10885 "...".
10886 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10887 (sched_get_priority_max): Likewise.
10888 * manual/signal.texi (sigvec): Add space after comma.
10889 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10890 names.
10891 (if_indextoname): Likewise.
10892 (if_freenameindex): Likewise.
10893 (sendto): Use ',' instead of '.' in prototype.
10894 * manual/startup.texi (syscall): Use @dots{} instead of literal
10895 "...".
10896 * manual/stdio.texi (__fpending): Separate initial words of
10897 paragraph from @deftypefun line.
10898 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10899 "...".
10900 (vsyslog): Use @var{} on parameter names.
10901 * manual/terminal.texi (stty): Use @var{} on parameter names.
10902 * manual/users.texi (getutmp): Use @var{} on parameter names.
10903 (getutmpx): Likewise.
10904
5b23062f
JM
109052012-02-17 Joseph Myers <joseph@codesourcery.com>
10906
10907 [BZ #6884]
10908 * manual/stdio.texi (fopen): Fix typos in description of
10909 ",ccs=STRING".
10910
8dee4833
AJ
109112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10912
10913 [BZ #4026]
10914 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10915 get clock_id definition.
10916
9078ce93
TS
109172012-02-17 Thomas Schwinge <thomas@schwinge.name>
10918
10919 [BZ #4822]
10920 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10921 (madvise): Cast every argument to void on its own.
10922
3835c55f
JM
109232012-02-17 Joseph Myers <joseph@codesourcery.com>
10924
10925 [BZ #9902]
10926 * manual/startup.texi (Exit Status): Fix typo.
10927
35c47e37
JM
109282012-02-17 Joseph Myers <joseph@codesourcery.com>
10929
10930 [BZ #10140]
10931 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10932 * manual/examples/argp-ex2.c: Likewise.
10933 * manual/examples/argp-ex3.c: Likewise.
10934
e3b69ca7
RH
109352012-02-16 Richard Henderson <rth@redhat.com>
10936
10937 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10938 * sysdeps/s390/s390-32/initfini.c: Remove.
10939 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10940 * sysdeps/s390/s390-64/initfini.c: Remove.
10941
df83af67
KK
109422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10943
10944 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10945 compiler output for sysdeps/generic/initfini.c.
10946 * sysdeps/sh/elf/initfini.c: Remove file.
10947
f63f3380
DM
109482012-02-16 David S. Miller <davem@davemloft.net>
10949
fb59b3a4
DM
10950 [BZ #11494]
10951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10952
f63f3380
DM
10953 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10954 * sysdeps/sparc/crti.S: New file.
10955 * sysdeps/sparc/crtn.S: New file.
10956 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10957 * sysdeps/sparc/sparc64/Makefile: Likewise.
10958
df6a4a4a
MF
109592012-02-15 Mike Frysinger <vapier@gentoo.org>
10960
6dd8f3dc 10961 [BZ #3335]
df6a4a4a
MF
10962 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10963
1cac7236
RM
109642012-02-15 Roland McGrath <roland@hack.frob.com>
10965
d2c736f8
RM
10966 [BZ #4822]
10967 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10968
1cac7236
RM
10969 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10970 (write, read, close): Likewise.
10971 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10972
8e475601
JM
109732012-02-15 Joseph Myers <joseph@codesourcery.com>
10974
10975 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10976 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10978 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10979 <bits/signalfd.h>.
10980 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10982 bits/signalfd.h.
10983
ed656b40
MP
109842012-02-14 Marek Polacek <polacek@redhat.com>
10985
10986 * sysdeps/x86_64/crti.S: New file.
10987 * sysdeps/x86_64/crtn.S: New file.
10988 * sysdeps/x86_64/elf/initfini.c: Remove file.
10989
2a979d3a
JM
109902012-02-13 Joseph Myers <joseph@codesourcery.com>
10991
10992 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10993 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10994 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10995 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10996 <bits/inotify.h>.
10997 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10999 bits/inotify.h.
11000
2a418ac3
JM
110012012-02-13 Joseph Myers <joseph@codesourcery.com>
11002
11003 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11004 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11005 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11006 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11007 <bits/eventfd.h>.
11008 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11010 bits/eventfd.h.
11011
fb779be7
TS
110122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11013
e19e83c5
RM
11014 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11015 __feraiseexcept instead of feraiseexcept.
7c35ffed 11016
fb779be7
TS
11017 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11018 nanosleep invocations.
11019 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11020 strings, and add error checking for a nanosleep invocations.
11021
59ba27a6
PE
110222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11023
11024 Replace FSF snail mail address with URLs, as per GNU coding standards.
11025 Most of the snail mail addresses were wrong anyway, and omitting
11026 them makes the source code easier to maintain. Almost all of the
11027 changes are to license notices and to locale LC_IDENTIFICATION
11028 addresses, except for this one:
11029 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11030 not its snail mail address.
11031
57b957eb
RH
110322012-02-09 Richard Henderson <rth@twiddle.net>
11033
af850b1c
RH
11034 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11035 of kernel-features.h.
11036
57b957eb
RH
11037 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11038
6b73181a
MP
110392012-02-08 Marek Polacek <polacek@redhat.com>
11040
11041 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11042 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11043 * sysdeps/gnu/_G_config.h: Likewise.
11044 * sysdeps/generic/_G_config.h: Likewise.
11045
26ecc33a
AS
110462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11047
6c6dbc63
AS
11048 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11049 tests.
11050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11051
e216c012
AS
11052 * sysdeps/powerpc/powerpc32/crti.S: New file.
11053 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11054 * sysdeps/powerpc/powerpc64/crti.S: New file.
11055 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11056
26ecc33a
AS
11057 * Makeconfig (have-initfini): Don't set.
11058 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11059 * configure.in (nopic_initfini): Don't substitute.
11060 * config.h.in (HAVE_INITFINI): Don't #undef.
11061 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11062 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11063
3add8e13
JM
110642012-02-08 Joseph Myers <joseph@codesourcery.com>
11065
11066 Support crti.S and crtn.S provided directly by architectures.
11067 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11068 [crti.S in sysdirs] (omit-deps): Likewise.
11069 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11070 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11071 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11072 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11073 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11074 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11075 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11076 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11077 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11078 compiler output for sysdeps/generic/initfini.c.
11079 * sysdeps/i386/elf/Makefile: Remove file.
11080 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11081
a22f12b4
MP
110822012-02-07 Marek Polacek <polacek@redhat.com>
11083
11084 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11085 * sysdeps/gnu/_G_config.h: Likewise.
11086 * sysdeps/mach/hurd/_G_config.h: Likewise.
11087
148cf100
MP
110882012-02-07 Marek Polacek <polacek@redhat.com>
11089
11090 * math/Makefile (tests): Add tst-CMPLX2.
11091 * math/tst-CMPLX2.c: New file.
11092
cfdc0dd7
AS
110932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11094
84ba42c4
AS
11095 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11096
cfdc0dd7
AS
11097 * math/libm-test.inc (jn_test): Add missing L suffix.
11098
622c86f4
MP
110992012-02-06 Marek Polacek <polacek@redhat.com>
11100
11101 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11102 * sysdeps/i386/fpu/e_powf.S: Likewise.
11103 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11104 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11105 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11106 * sysdeps/i386/fpu/e_pow.S: Likewise.
11107 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11108 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11109 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11110 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11111 * sysdeps/i386/fpu/e_log2.S: Likewise.
11112 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11113 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11114 * sysdeps/i386/fpu/e_powl.S: Likewise.
11115 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11117 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11118 * sysdeps/i386/fpu/e_logl.S: Likewise.
11119 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11120 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11121 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11122 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11124 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11125 * sysdeps/i386/fpu/e_log.S: Likewise.
11126 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11127 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11128 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11129 * sysdeps/i386/fpu/e_logf.S: Likewise.
11130 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11131 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11132 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11133 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11134 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11135 * sysdeps/i386/fpu/e_log10.S: Likewise.
11136 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11137 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11138 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11139 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11140 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11141 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11142 * sysdeps/i386/asm-syntax.h: Likewise.
11143 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11144 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11145 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11146 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11147 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11148 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11149 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11150 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11151 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11152 * sysdeps/powerpc/sysdep.h: Likewise.
11153 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11154 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11155
d4a54ac6
JM
111562012-02-06 Joseph Myers <joseph@codesourcery.com>
11157
11158 [BZ #411]
11159 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11160
314054ea
JM
111612012-02-06 Joseph Myers <joseph@codesourcery.com>
11162
11163 * sysdeps/i386/sysdep.h: Include <features.h>.
11164 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11165 version.
11166
d8e0ca50
JM
111672012-02-05 Joseph Myers <joseph@codesourcery.com>
11168
11169 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11170 Define.
11171 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11172 LOAD_PIC_REG_STR.
11173
b1da7dd9
JM
111742012-02-03 Joseph Myers <joseph@codesourcery.com>
11175
11176 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11177 (SETUP_PIC_REG): Use GET_PC_THUNK.
11178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11179 macro.
11180
9a1d9254
JM
111812012-02-03 Joseph Myers <joseph@codesourcery.com>
11182
11183 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11184 for non-PIC compilation.
11185 (SETUP_PIC_REG): Add .p2align directive.
11186 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11187 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11188 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11189 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11190 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11191 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11192 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11194 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11195 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11196 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11197 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11198 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11201 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11202 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11203 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11204 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11205 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11207 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11208 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11209 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11210 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11211 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11212 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11213 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11214 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11215 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11216 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11218 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11219 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11220 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11221 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11222 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11223 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11224 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11226 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11227
65dc3b75
JM
112282012-02-03 Joseph Myers <joseph@codesourcery.com>
11229
11230 * math/tst-CMPLX.c: Include <stdio.h>.
11231
d55bf177
JM
112322012-01-31 Joseph Myers <joseph@codesourcery.com>
11233
11234 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11235 float.
11236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11237 * sysdeps/sparc/bits/mathdef.h: Likewise.
11238
69db4f8f
MP
112392012-01-31 Marek Polacek <polacek@redhat.com>
11240
11241 * libio/libio.h: Don't define _PARAMS.
11242 * locale/programs/config.h: Don't define PARAMS.
11243 * stdlib/strtol_l.c: Likewise.
11244 (__strtol_l): Remove PARAMS from the prototype.
11245
41b81892
UD
112462012-01-31 Ulrich Drepper <drepper@gmail.com>
11247
3b49edc0
UD
11248 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11249 names. Just use the correct names. Remove unnecessary wrapper
11250 functions.
11251 * malloc/arena.c: Likewise.
11252 * malloc/hooks.c: Likewise.
11253
41b81892
UD
11254 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11255 ARENA_TEST says not to. Simplify test for creation of a new arena.
11256 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11257
27a25b6e
UD
112582012-01-30 Ulrich Drepper <drepper@gmail.com>
11259
11260 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11261 into tail calls.
11262 (update_get_addr): New function.
11263 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11264 GET_ADDR_MODULE parameter.
11265
c8a89e7d
JM
112662012-01-30 Joseph Myers <joseph@codesourcery.com>
11267
11268 * crypt/cert.c: Remove __STDC__ conditionals.
11269 * crypt/crypt-entry.c: Likewise.
11270 * crypt/crypt_util.c: Likewise.
11271 * libio/filedoalloc.c: Likewise.
11272 * libio/fileops.c: Likewise.
11273 * libio/genops.c: Likewise.
11274 * libio/iofclose.c: Likewise.
11275 * libio/iofdopen.c: Likewise.
11276 * libio/iofopen.c: Likewise.
11277 * libio/iofopen64.c: Likewise.
11278 * libio/iogetdelim.c: Likewise.
11279 * libio/iopopen.c: Likewise.
11280 * libio/obprintf.c: Likewise.
11281 * libio/oldfileops.c: Likewise.
11282 * libio/oldiofclose.c: Likewise.
11283 * libio/oldiofdopen.c: Likewise.
11284 * libio/oldiofopen.c: Likewise.
11285 * libio/oldiopopen.c: Likewise.
11286 * libio/wfiledoalloc.c: Likewise.
11287 * libio/wgenops.c: Likewise.
11288 * locale/programs/xmalloc.c: Likewise.
11289 * misc/syslog.c: Likewise.
11290 * stdio-common/xbug.c: Likewise.
11291 * string/memchr.c: Likewise.
11292 * string/memcmp.c: Likewise.
11293 * string/memrchr.c: Likewise.
11294 * string/rawmemchr.c: Likewise.
11295 * sysdeps/posix/getcwd.c: Likewise.
11296 * time/strftime_l.c: Likewise.
11297
3b100462
JM
112982012-01-30 Joseph Myers <joseph@codesourcery.com>
11299
11300 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11301 * config.make.in (config-cflags-sse2avx): Define.
11302 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11303 Fix typo.
11304
607998af
CM
113052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11306
11307 * scripts/config.guess: Update from upstream config git repository.
11308 * scripts/config.sub: Likewise.
11309
3601428f
CM
113102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11311
3ac8b282
CM
11312 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11313 (EM_NUM): Update.
11314 (R_TILEPRO_*, R_TILEGX_*): New macros.
11315
e034841e
CM
11316 * scripts/firstversions.awk: Fix bug in version range handling.
11317
540d7568
CM
11318 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11319
3601428f
CM
11320 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11321
463de862
CM
11322 * include/sys/epoll.h: New file.
11323 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11324 libc_hidden_def.
11325
73139a76
UD
113262012-01-28 Ulrich Drepper <drepper@gmail.com>
11327
96bc5b45
UD
11328 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11329 Avoid unnecessary __WORDSIZE == 64 test.
11330 (fmaxf): Use VEX format if possible.
11331 (fmax): Likewise.
11332 (fminf): Likewise.
11333 (fmin): Likewise.
11334
56f6f6a2
UD
11335 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11336 * math/math_private.h: Remove libc_fegetround* and
11337 libc_fesetround*.
11338 * sysdeps/i386/configure.in: Check for -msse2avx.
11339 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11340 also if SSE2AVX is defined.
11341 Remove libc_fegetround* and libc_fesetround*.
11342 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11343 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11345 of HAS_YMM_USABLE.
11346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11351
73139a76
UD
11352 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11353
d73f93a4
AZ
113542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11355
11356 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11357 size is not set.
11358 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11359
6ee65ed6
UD
113602012-01-27 Ulrich Drepper <drepper@gmail.com>
11361
11362 [BZ #13618]
11363 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11364 relocation.
11365 * Makeconfig (libm): Define.
11366 * elf/Makefile: Add rules to build and run tst-relsort1.
11367 * elf/tst-relsort1.c: New file.
11368 * elf/tst-relsort1mod1.c: New file.
11369 * elf/tst-relsort1mod2.c: New file.
11370
8db21882
JM
113712012-01-27 Joseph Myers <joseph@codesourcery.com>
11372
11373 * math/s_ldexp.c: Remove __STDC__ conditionals.
11374 * math/s_ldexpf.c: Likewise.
11375 * math/s_ldexpl.c: Likewise.
11376 * math/s_nextafter.c: Likewise.
11377 * math/s_nexttowardf.c: Likewise.
11378 * math/s_significand.c: Likewise.
11379 * math/s_significandf.c: Likewise.
11380 * math/s_significandl.c: Likewise.
11381 * math/w_jnl.c: Likewise.
11382 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11383 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11384 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11385 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11386 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11392 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11394 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11401 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11402 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11403 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11409 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11410 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11411 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11412 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11413 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11414 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11416 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11417 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11418 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11419 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11420 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11421 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11422 * sysdeps/ieee754/k_standard.c: Likewise.
11423 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11424 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11425 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11426 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11427 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11428 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11429 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11434 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11435 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11436 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11437 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11441 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11447 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11449 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11450 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11452 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11454 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11455 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11456 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11458 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11459 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11480 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11484 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11489 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11497 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11498 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11502 * sysdeps/ieee754/s_matherr.c: Likewise.
11503 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11504 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11507
965a54a4
JM
115082012-01-26 Joseph Myers <joseph@codesourcery.com>
11509
11510 * crypt/md5.h: Remove __STDC__ conditionals.
11511 * libio/libioP.h: Likewise.
11512 * locale/programs/config.h: Likewise.
11513 * sysdeps/generic/sysdep.h: Likewise.
11514 * sysdeps/i386/asm-syntax.h: Likewise.
11515 * sysdeps/s390/asm-syntax.h: Likewise.
11516 * sysdeps/unix/sysdep.h: Likewise.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11519
7071ad79
JM
115202012-01-26 Joseph Myers <joseph@codesourcery.com>
11521
11522 * libio/libio.h: Remove __STDC__ conditionals.
11523 * malloc/obstack.h: Likewise.
11524 * math/complex.h: Likewise.
11525 * math/math.h: Likewise.
11526 * sysdeps/generic/_G_config.h: Likewise.
11527 * sysdeps/gnu/_G_config.h: Likewise.
11528 * sysdeps/mach/hurd/_G_config.h: Likewise.
11529 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11530 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11531 * sysdeps/sparc/bits/mathdef.h: Likewise.
11532
afc5ed09
UD
115332012-01-26 Ulrich Drepper <drepper@gmail.com>
11534
11535 [BZ #13583]
11536 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11537 Clean up HAS_* macros.
afc5ed09 11538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11539 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11540 possible.
11541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11542 HAS_AVX.
11543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11544 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11545 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11546 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11548
bdb6de1d
JM
115492012-01-25 Joseph Myers <joseph@codesourcery.com>
11550
11551 * elf/tst-unique3.cc (gets): Remove declaration.
11552 * elf/tst-unique3lib.cc (gets): Likewise.
11553 * elf/tst-unique3lib2.cc (gets): Likewise.
11554 * elf/tst-unique4.cc (gets): Likewise.
11555
b15549e6
UD
115562012-01-24 Ulrich Drepper <drepper@gmail.com>
11557
11558 * include/stdio.h: Add C++ protection. Add gets declarations and
11559 definitions.
11560 * debug/tst-chk1.c: Don't declare gets here.
11561 * stdio-common/tst-gets.c: Likewise.
11562
a037381f
JM
115632012-01-24 Joseph Myers <joseph@codesourcery.com>
11564
11565 * posix/glob: Remove directory.
11566
f1d4aa75
JM
115672012-01-24 Joseph Myers <joseph@codesourcery.com>
11568
11569 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11570
81c0c964
PT
115712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11572
11573 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11574 of the non-standard EPFNOSUPPORT.
11575
0ea698ae
ST
115762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11577
11578 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11579 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11580 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11581
d220b117
UD
115822012-01-21 Ulrich Drepper <drepper@gmail.com>
11583
11584 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11585
3e1aa84e
UD
115862012-01-20 Ulrich Drepper <drepper@gmail.com>
11587
11588 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11589 transient errors.
11590 * nscd/grpcache.c (cache_addgr): Likewise.
11591 * nscd/hstcache.c (cache_addhst): Likewise.
11592 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11593 * nscd/pwdcache.c (cache_addpw): Likewise.
11594 * nscd/servicescache.c (cache_addserv): Likewise.
11595
400aa020
UD
115962012-01-16 Ulrich Drepper <drepper@gmail.com>
11597
d77e7869
UD
11598 * malloc/malloc.c: Various cleanups.
11599 * malloc/hooks.c: Likewise.
11600
400aa020
UD
11601 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11602 * stdlib/bug-fmtmsg1.c: New file.
11603
11604 * stdlib/fmtmsg.c (init): Add missing unlock.
11605 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11606
e0a309cf
MP
116072012-01-12 Marek Polacek <polacek@redhat.com>
11608
11609 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11610 and _GNU_SOURCE.
11611
929d11c7
WS
116122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11613
11614 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11615 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11616 macro to ensure uniqueness of label name.
11617 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11618 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11619
41d0e869
UD
116202012-01-11 Ulrich Drepper <drepper@gmail.com>
11621
0cc5ed3b
UD
11622 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11623
41d0e869
UD
11624 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11625 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11628
a47a831a
UD
116292012-01-10 Ulrich Drepper <drepper@gmail.com>
11630
daa891c0
UD
11631 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11632
11633 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11634 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11636
e58ef0f2
UD
11637 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11638
a47a831a 11639 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11640 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11643
11644 * math/bits/math-finite.h: Add ldexp support.
11645
a0bfc9c7
MP
116462012-01-10 Marek Polacek <polacek@redhat.com>
11647
11648 * locale/programs/localedef.h (show_archive_content): Add noreturn
11649 attribute.
11650
d6e97a1d
UD
116512012-01-09 Ulrich Drepper <drepper@gmail.com>
11652
11653 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11654
d5835c26
UD
116552012-01-08 Ulrich Drepper <drepper@gmail.com>
11656
e5f484c6
UD
11657 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11658
d5835c26
UD
11659 * io/Makefile (headers): Add bits/poll2.h.
11660
d1f741e9
WS
116612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11662
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11664 typo #include statement.
11665
ec09c1c4
UD
116662012-01-08 Ulrich Drepper <drepper@gmail.com>
11667
11668 * include/sys/cdefs.h: Define __attribute_alloc_size.
11669 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11670 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11671 * elf/pldd.c: Likewise.
11672 * iconv/iconv_charmap.c: Likewise.
11673 * iconv/iconvconfig.c: Likewise.
11674 * iconv/strtab.c: Likewise.
11675 * locale/programs/locale.c: Likewise.
11676 * locale/programs/localedef.h: Likewise.
11677 * locale/programs/simple-hash.c: Likewise.
11678 * nscd/nscd.h: Likewise.
11679 * nss/makedb.c: Likewise.
11680 * sysdeps/generic/ldconfig.h: Likewise.
11681 * locale/programs/localedef.c: Remove xmalloc prototype.
11682 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11683
20b38e03
PP
116842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11685
11686 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11687 appropriate.
11688
a0da5fe1
UD
116892012-01-08 Ulrich Drepper <drepper@gmail.com>
11690
1d5a644a 11691 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11692 * math/tst-CMPLX.c: New file.
1d5a644a 11693
8784a6db
UD
11694 * math/complex.h (CMPLXL): Fix typo.
11695
d9a216c0
UD
11696 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11697 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11698 GLIBC_2.16.
11699 * debug/tst-chk1.c: Add poll and ppoll tests.
11700 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11701 * include/sys/poll.h: Add hidden proto for ppoll.
11702 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11703 * sysdeps/mach/hurd/ppoll.c: Likewise.
11704 * io/ppoll.c: Likewise.
11705 * debug/poll_chk.c: New file.
11706 * debug/ppoll_chk.c: New file.
11707 * include/bits/poll2.h: New file.
11708 * io/bits/poll2.h: New file.
11709
ac097f5c
UD
11710 [BZ #1350]
11711 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11712
2119dcfa
UD
11713 * configure.in: static is always set to yes. Remove.
11714 * config.make.in: Don't set build-static.
11715 * Makeconfig: Remove use of build-static.
11716 * dlfcn/Makefile: Likewise.
11717 * elf/Makefile: Likewise.
11718 * math/Makefile: Likewise.
11719 * misc/Makefile: Likewise.
11720 * nptl/Makefile: Likewise.
11721 * sysdeps/mach/hurd/Makefile: Likewise.
11722
121766a9
UD
11723 * configure.in: PWD_P is not used anymore.
11724 * config.make.in: Remove PWD_P entry.
11725
51a1d39c 11726 * configure.in: Remove last remnants of RANLIB.
8720d066 11727 No need to check for signed size_t anymore.
215f4bdc
UD
11728 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11729 and IA-64.
3857022a 11730 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11731 * aclocal.m4: Likewise.
11732
d3ed7225
UD
11733 * wcsmbs/mbrtoc16.c: Implement using towc function.
11734 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11735 * wcsmbs/wcsmbsload.c: Likewise.
11736 * iconv/gconv_simple.c: Likewise.
11737 * iconv/gconv_int.h: Likewise.
11738 * iconv/gconv_builtin.h: Likewise.
11739 * iconv/iconv_prog.c: Remove CHAR16 handling.
11740
11741 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11742
11743 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11744
a0da5fe1
UD
11745 * configure.in: Remove --with-elf and --enable-bounded options.
11746 Dont set base_machine for ia64. More non-ELF conditions removed.
11747 Remove testing and setting of leading underscore information.
11748 * config.make.in (build-bounded): Set to no.
11749 * config.h.in: Remove NO_UNDERSCORES entry.
11750 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11751 them.
11752 * csu/start.c: Remove !NO_UNDERSCORE code.
11753 * locale/localeinfo.h: Likewise.
11754 * sysdeps/generic/machine-gmon.h: Likewise.
11755 * sysdeps/generic/sysdep.h: Likewise.
11756 * sysdeps/i386/sysdep.h: Likewise.
11757 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11758 * sysdeps/mach/sysdep.h: Likewise.
11759 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11761 * sysdeps/sh/sysdep.h: Likewise.
11762 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11763 * sysdeps/unix/i386/sysdep.S: Likewise.
11764 * sysdeps/unix/sparc/start.c: Likewise.
11765 * sysdeps/unix/sparc/sysdep.S: Likewise.
11766 * sysdeps/unix/sparc/sysdep.h: Likewise.
11767 * sysdeps/unix/start.c: Likewise.
11768 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11769 * sysdeps/x86_64/sysdep.h: Likewise.
11770
df78418a
UD
117712012-01-07 Ulrich Drepper <drepper@gmail.com>
11772
a784e502
UD
11773 [BZ #13553]
11774 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11775 for non-gcc.
11776 * argp/argp-fmtstream.h: Use const instead __const.
11777 * argp/argp.h: Likewise.
11778 * assert/assert.h: Likewise.
11779 * bits/fenv.h: Likewise.
11780 * bits/sched.h: Likewise.
11781 * bits/sigset.h: Likewise.
11782 * bits/sigthread.h: Likewise.
11783 * catgets/nl_types.h: Likewise.
11784 * conform/data/pthread.h-data: Likewise.
11785 * crypt/crypt-private.h: Likewise.
11786 * crypt/crypt.h: Likewise.
11787 * crypt/crypt_util.c: Likewise.
11788 * ctype/ctype.h: Likewise.
11789 * debug/execinfo.h: Likewise.
11790 * debug/mbsnrtowcs_chk.c: Likewise.
11791 * debug/mbsrtowcs_chk.c: Likewise.
11792 * debug/wcsnrtombs_chk.c: Likewise.
11793 * debug/wcsrtombs_chk.c: Likewise.
11794 * debug/wcstombs_chk.c: Likewise.
11795 * dirent/dirent.h: Likewise.
11796 * dlfcn/dlfcn.h: Likewise.
11797 * elf/neededtest4.c: Likewise.
11798 * grp/grp.h: Likewise.
11799 * gshadow/gshadow.h: Likewise.
11800 * iconv/gconv.h: Likewise.
11801 * iconv/gconv_int.h: Likewise.
11802 * iconv/gconv_simple.c: Likewise.
11803 * iconv/iconv.h: Likewise.
11804 * iconv/loop.c: Likewise.
11805 * iconv/skeleton.c: Likewise.
11806 * include/aio.h: Likewise.
11807 * include/aliases.h: Likewise.
11808 * include/argz.h: Likewise.
11809 * include/arpa/inet.h: Likewise.
11810 * include/assert.h: Likewise.
11811 * include/dirent.h: Likewise.
11812 * include/dlfcn.h: Likewise.
11813 * include/execinfo.h: Likewise.
11814 * include/fcntl.h: Likewise.
11815 * include/fenv.h: Likewise.
11816 * include/glob.h: Likewise.
11817 * include/grp.h: Likewise.
11818 * include/libintl.h: Likewise.
11819 * include/mntent.h: Likewise.
11820 * include/netdb.h: Likewise.
11821 * include/pwd.h: Likewise.
11822 * include/rpc/netdb.h: Likewise.
11823 * include/sched.h: Likewise.
11824 * include/search.h: Likewise.
11825 * include/shadow.h: Likewise.
11826 * include/signal.h: Likewise.
11827 * include/stdio.h: Likewise.
11828 * include/stdlib.h: Likewise.
11829 * include/string.h: Likewise.
11830 * include/sys/socket.h: Likewise.
11831 * include/sys/stat.h: Likewise.
11832 * include/sys/statfs.h: Likewise.
11833 * include/sys/statvfs.h: Likewise.
11834 * include/sys/syslog.h: Likewise.
11835 * include/sys/time.h: Likewise.
11836 * include/sys/uio.h: Likewise.
11837 * include/time.h: Likewise.
11838 * include/unistd.h: Likewise.
11839 * include/utmp.h: Likewise.
11840 * include/wchar.h: Likewise.
11841 * include/wctype.h: Likewise.
11842 * inet/aliases.h: Likewise.
11843 * inet/arpa/inet.h: Likewise.
11844 * inet/netinet/ether.h: Likewise.
11845 * inet/netinet/in.h: Likewise.
11846 * intl/libintl.h: Likewise.
11847 * io/bits/fcntl2.h: Likewise.
11848 * io/fcntl.h: Likewise.
11849 * io/ftw.h: Likewise.
11850 * io/sys/poll.h: Likewise.
11851 * io/sys/stat.h: Likewise.
11852 * io/sys/statfs.h: Likewise.
11853 * io/sys/statvfs.h: Likewise.
11854 * io/utime.h: Likewise.
11855 * libio/bits/stdio.h: Likewise.
11856 * libio/bits/stdio2.h: Likewise.
11857 * libio/libio.h: Likewise.
11858 * libio/libioP.h: Likewise.
11859 * libio/stdio.h: Likewise.
11860 * locale/lc-ctype.c: Likewise.
11861 * locale/locale.h: Likewise.
11862 * login/utmp.h: Likewise.
11863 * malloc/arena.c: Likewise.
11864 * malloc/malloc.c: Likewise.
11865 * malloc/malloc.h: Likewise.
11866 * malloc/mcheck.c: Likewise.
11867 * malloc/mtrace.c: Likewise.
11868 * math/bits/mathcalls.h: Likewise.
11869 * math/fenv.h: Likewise.
11870 * math/math_private.h: Likewise.
11871 * misc/bits/error.h: Likewise.
11872 * misc/bits/syslog.h: Likewise.
11873 * misc/err.h: Likewise.
11874 * misc/error.h: Likewise.
11875 * misc/fstab.h: Likewise.
11876 * misc/mntent.h: Likewise.
11877 * misc/regexp.h: Likewise.
11878 * misc/search.h: Likewise.
11879 * misc/sgtty.h: Likewise.
11880 * misc/sys/mman.h: Likewise.
11881 * misc/sys/syslog.h: Likewise.
11882 * misc/sys/uio.h: Likewise.
11883 * misc/sys/xattr.h: Likewise.
11884 * misc/ttyent.h: Likewise.
11885 * nis/rpcsvc/ypclnt.h: Likewise.
11886 * nss/nss.h: Likewise.
11887 * posix/bits/unistd.h: Likewise.
11888 * posix/fnmatch.h: Likewise.
11889 * posix/glob.h: Likewise.
11890 * posix/sched.h: Likewise.
11891 * posix/spawn.h: Likewise.
11892 * posix/sys/wait.h: Likewise.
11893 * posix/unistd.h: Likewise.
11894 * posix/wordexp.h: Likewise.
11895 * pwd/pwd.h: Likewise.
11896 * resolv/netdb.h: Likewise.
11897 * resource/sys/resource.h: Likewise.
11898 * rt/aio.h: Likewise.
11899 * rt/bits/mqueue2.h: Likewise.
11900 * rt/mqueue.h: Likewise.
11901 * shadow/shadow.h: Likewise.
11902 * signal/signal.h: Likewise.
11903 * socket/send.c: Likewise.
11904 * socket/sendto.c: Likewise.
11905 * socket/sys/socket.h: Likewise.
11906 * stdio-common/printf.h: Likewise.
11907 * stdlib/bits/stdlib.h: Likewise.
11908 * stdlib/fmtmsg.h: Likewise.
11909 * stdlib/monetary.h: Likewise.
11910 * stdlib/stdlib.h: Likewise.
11911 * stdlib/ucontext.h: Likewise.
11912 * streams/stropts.h: Likewise.
11913 * string/argz.h: Likewise.
11914 * string/bits/string2.h: Likewise.
11915 * string/string.h: Likewise.
11916 * string/strings.h: Likewise.
11917 * sunrpc/rpc/auth.h: Likewise.
11918 * sunrpc/rpc/auth_des.h: Likewise.
11919 * sunrpc/rpc/clnt.h: Likewise.
11920 * sunrpc/rpc/netdb.h: Likewise.
11921 * sunrpc/rpc/pmap_clnt.h: Likewise.
11922 * sunrpc/rpc/xdr.h: Likewise.
11923 * sysdeps/generic/inttypes.h: Likewise.
11924 * sysdeps/generic/net/if.h: Likewise.
11925 * sysdeps/generic/sys/swap.h: Likewise.
11926 * sysdeps/gnu/net/if.h: Likewise.
11927 * sysdeps/gnu/utmpx.h: Likewise.
11928 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11929 * sysdeps/i386/i486/bits/string.h: Likewise.
11930 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11931 * sysdeps/s390/bits/string.h: Likewise.
11932 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11933 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11934 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11935 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11936 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11937 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11938 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11939 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11940 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11941 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11942 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11943 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11944 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11945 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11946 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11947 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11948 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11953 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11954 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11955 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11956 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11957 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11958 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11960 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11961 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11962 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11963 * sysvipc/sys/ipc.h: Likewise.
11964 * sysvipc/sys/msg.h: Likewise.
11965 * sysvipc/sys/sem.h: Likewise.
11966 * sysvipc/sys/shm.h: Likewise.
11967 * termios/termios.h: Likewise.
11968 * time/sys/time.h: Likewise.
11969 * time/time.h: Likewise.
11970 * wcsmbs/bits/wchar2.h: Likewise.
11971 * wcsmbs/uchar.h: Likewise.
11972 * wcsmbs/wchar.h: Likewise.
11973 * wctype/wctype.h: Likewise.
11974
0269750c
UD
11975 [BZ #13551]
11976 * Makeconfig: Remove all but ELF support including AIX support.
11977 * Makerules: Likewise.
11978 * config.h.in: Likewise.
11979 * config.make.in: Likewise.
11980 * configure: Likewise.
11981 * configure.in: Likewise.
11982 * csu/Makefile: Likewise.
11983 * csu/version.c: Likewise.
11984 * debug/Makefile: Likewise.
11985 * dlfcn/Makefile: Likewise.
11986 * elf/Makefile: Likewise.
11987 * extra-lib.mk: Likewise.
11988 * iconv/Makefile: Likewise.
11989 * include/libc-symbols.h: Likewise.
11990 * include/shlib-compat.h: Likewise.
11991 * resolv/Makefile: Likewise.
11992 * resolv/res_libc.c: Likewise.
11993 * rt/Makefile: Likewise.
11994 * sysdeps/i386/asm-syntax.h: Likewise.
11995 * sysdeps/i386/sysdep.h: Likewise.
11996 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11997 * sysdeps/mach/sysdep.h: Likewise.
11998 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11999 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12000 * sysdeps/s390/asm-syntax.h: Likewise.
12001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12003 * sysdeps/sh/sysdep.h: Likewise.
12004 * sysdeps/unix/sparc/sysdep.h: Likewise.
12005 * sysdeps/wordsize-32/divdi3.c: Likewise.
12006 * sysdeps/x86_64/sysdep.h: Likewise.
12007
00bbd29b
UD
12008 * argp/Versions: Remove _argp_unlock_xxx.
12009
12010 [BZ #13559]
12011 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12012 * abilist/libBrokenLocale.abilist: Likewise.
12013 * abilist/libanl.abilist: Likewise.
12014 * abilist/libc.abilist: Likewise.
12015 * abilist/libcrypt.abilist: Likewise.
12016 * abilist/libdl.abilist: Likewise.
12017 * abilist/libm.abilist: Likewise.
12018 * abilist/libnsl.abilist: Likewise.
12019 * abilist/libpthread.abilist: Likewise.
12020 * abilist/libresolv.abilist: Likewise.
12021 * abilist/librt.abilist: Likewise.
12022 * abilist/libthread_db.abilist: Likewise.
12023 * abilist/libutil.abilist: Likewise.
12024 * abilist/libnss_db.abilist: New file.
12025
12026 * scripts/abilist.awk: Add support for indirect functions.
12027
a2693a0e
UD
12028 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12029
3f05895f
UD
12030 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12031
ecb6fb48
UD
12032 * shlib-versions: Remove entries for ports architectures.
12033
664f8cb9
UD
12034 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12035 files in ports.
12036 * elf/stackguard-macros.h: Remove support for IA-64.
12037 * elf/tst-auditmod1.c: Likewise.
12038 * sysdeps/generic/ldsodefs.h: Likewise.
12039
7ae81d88
UD
12040 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12041 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12042 configure files.
12043
bdeba135
UD
12044 [BZ #13552]
12045 * configure.in: Remove --enable-omitfp support.
12046 * FAQ.in: Adjust.
12047 * config.make.in: Likewise.
12048 * Makeconfig: Likewise.
12049 * manual/install.texi: Likewise.
12050
d75a0a62
UD
12051 In case anyone cares, the IA-64 architecture could move to ports.
12052 * sysdeps/ia64/*: Removed.
12053 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12054 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12055
dcc9756b
UD
12056 [BZ #13555]
12057 * configure.in: Remove entries for unsupported architectures.
12058
d3761ebc 12059 [BZ #13533]
9954432e
UD
12060 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12061 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12062 routines.
12063 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12064 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12065 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12066 fall back to using wcrtomb.
12067 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12068 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12069 renaming.
12070 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12071 * wcsmbs/tst-c16c32-1.c: New file.
12072
12073 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12074 local variable.
12075
c3a87236
UD
12076 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12077
28926a1b
UD
12078 * elf/tst-unique3.cc: Add explicit declaration of gets.
12079 * elf/tst-unique3lib.cc: Likewise.
12080 * elf/tst-unique3lib2.cc: Likewise.
12081 * elf/tst-unique4.cc: Likewise.
12082
df78418a
UD
12083 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12084
8ecd6b2a
JM
120852012-01-06 Joseph Myers <joseph@codesourcery.com>
12086
12087 [BZ #13566]
12088 * assert/assert.h (static_assert): Don't define for C++.
12089 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12090 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12091
9f115170
UD
120922012-01-03 Ulrich Drepper <drepper@gmail.com>
12093
5e0d0300
UD
12094 * iconv/loop.c (single loop): Fix assertion in storing of
12095 remaining bytes.
12096
9f115170
UD
12097 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12098
81fb02b0
UD
120992012-01-01 Ulrich Drepper <drepper@gmail.com>
12100
12101 * posix/getconf.c: Update copyright year.
12102 * nss/getent.c: Likewise.
a316c1f6 12103 * nss/makedb.c: Likewise.
81fb02b0
UD
12104 * iconv/iconvconfig.c: Likewise.
12105 * iconv/iconv_prog.c: Likewise.
12106 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12107 * elf/pldd.c: Likewise.
12108 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12109 * catgets/gencat.c: Likewise.
12110 * csu/version.c: Likewise.
12111 * elf/ldd.bash.in: Likewise.
12112 * elf/sprof.c (print_version): Likewise.
12113 * locale/programs/locale.c: Likewise.
12114 * locale/programs/localedef.c: Likewise.
a316c1f6 12115 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12116 * nscd/nscd.c (print_version): Likewise.
12117 * debug/xtrace.sh: Likewise.
12118 * malloc/memusage.sh: Likewise.
12119 * malloc/mtrace.pl: Likewise.
12120 * debug/catchsegv.sh: Likewise.
12121
2ba92745
JJ
121222011-12-30 Jakub Jelinek <jakub@redhat.com>
12123
12124 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12125 pure attribute.
12126
dadebdae
UD
121272011-12-24 Ulrich Drepper <drepper@gmail.com>
12128
d3761ebc 12129 [BZ #13533]
db6af3eb
UD
12130 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12131 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12132 transformations.
12133 * iconv/gconv_int.h: Likewise.
12134 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12135 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12136 from libc for GLIBC_2.16.
12137 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12138 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12139 * wcsmbs/uchar.h: Really define mbstate_t.
12140 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12141 * wcsmbs/c16rtomb.c: New file.
12142 * wcsmbs/mbrtoc16.c: New file.
12143 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12144 for C/POSIX locale.
12145 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12146 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12147
dadebdae
UD
12148 * wcsmbs/wchar.h: Add missing __restrict.
12149
67371b56
UD
121502011-12-23 Ulrich Drepper <drepper@gmail.com>
12151
74033a25
UD
12152 [BZ #13532]
12153 * time/Makefile (routines): Add timespec_get.
12154 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12155 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12156 timespec for ISO C11.
12157 * time/timespec_get.c: New file.
12158 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12159 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12160
380d7e87
UD
12161 [BZ #13531]
12162 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12163 * stdlib/stdlib.h: Declare aligned_alloc.
12164 * Versions.def: Add GLIBC_2.16 for libc.
12165 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12166
4e9e7a35
UD
12167 [BZ 13527]
12168 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12169 ISO C11.
12170
380d7e87 12171 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12172 code.
12173
03a71829
UD
12174 [BZ #13528]
12175 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12176
839e283e
UD
12177 [BZ #13529]
12178 * assert/assert.h (static_assert): Define.
12179
ce5294e2 12180 * version.h: Update for 2.16 development version.
90fa7312 12181
8d44e150 12182 [BZ #13526]
d7809905
UD
12183 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12184 _ISOC11_SOURCE.
12185
c0da14cd
UD
12186 * version.h (RELEASE): Bump for 2.15 release.
12187 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12188
530a3249
MP
12189 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12190 Patch by Marek Polacek <mpolacek@redhat.com>.
12191
67371b56
UD
12192 * bits/byteswap.h: Protect long long constants with __extension__.
12193 * sysdeps/i386/bits/byteswap.h: Likewise.
12194 * sysdeps/ia64/bits/byteswap.h: Likewise.
12195 * sysdeps/s390/bits/byteswap.h: Likewise.
12196 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12197
15db4de1
LD
121982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12199
12200 [BZ #13540]
bbe315ea
LD
12201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12202 destination buffer.
15db4de1
LD
12203 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12204
2b2596b1
MP
122052011-12-23 Marek Polacek <polacek@redhat.com>
12206
12207 * elf/dl-addr.c (determine_info): Add inline keyword.
12208 * elf/tst-auditmod4b.c (check_avx): Likewise.
12209 * elf/tst-auditmod6b.c (check_avx): Likewise.
12210 * elf/tst-auditmod6c.c (check_avx): Likewise.
12211 * elf/tst-auditmod7b.c (check_avx): Likewise.
12212
70c6c246
UD
122132011-12-23 Ulrich Drepper <drepper@gmail.com>
12214
12215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12216 !__SSE_MATH__.
12217
c044cf14
LD
122182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12219
15db4de1 12220 [BZ #13540]
c044cf14
LD
12221 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12222 processing for last bytes.
12223
6b13d9d9
BH
122242011-08-06 Bruno Haible <bruno@clisp.org>
12225
d455f537
BH
12226 [BZ #13061]
12227 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12228 U+0385, not to U+1FEE.
12229
6b13d9d9
BH
12230 [BZ #13062]
12231 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12232 entry for U+00A5 U+0301.
12233
db910efd
UD
122342011-12-22 Ulrich Drepper <drepper@gmail.com>
12235
27deeafc
UD
12236 [BZ #13166]
12237 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12238 buffer for the output is too small.
12239
aed9d171
UD
12240 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12241 optimization.
12242
db910efd
UD
12243 [BZ #13185]
12244 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12245 SSE flags if possible.
12246
2bd779ae
LD
122472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12248
e7f9dac3 12249 [BZ #13540]
2bd779ae
LD
12250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12251 processing for last bytes.
12252
154bfc16
JM
122532011-12-22 Joseph Myers <joseph@codesourcery.com>
12254
12255 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12256 (syscall-list-default-options, syscall-list-default-condition)
12257 (syscall-list-includes): Define.
12258 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12259 list of ABIs and options and #if conditions for each ABI. Do not
12260 handle common syscalls between ABIs specially.
12261 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12262 Remove.
12263 (syscall-list-variants, syscall-list-32bit-options)
12264 (syscall-list-32bit-condition, syscall-list-64bit-options)
12265 (syscall-list-64bit-condition): Define.
12266 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12267 (syscall-list-variants, syscall-list-32bit-options)
12268 (syscall-list-32bit-condition, syscall-list-64bit-options)
12269 (syscall-list-64bit-condition): Define.
12270 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12271 Remove.
12272 (syscall-list-variants, syscall-list-32bit-options)
12273 (syscall-list-32bit-condition, syscall-list-64bit-options)
12274 (syscall-list-64bit-condition): Define.
12275 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12276 Remove.
12277 (syscall-list-variants, syscall-list-32bit-options)
12278 (syscall-list-32bit-condition, syscall-list-64bit-options)
12279 (syscall-list-64bit-condition): Define.
12280
21eaf3a5
UD
122812011-12-22 Ulrich Drepper <drepper@gmail.com>
12282
16c6f992
UD
12283 * locale/iso-639.def: Add brx entry.
12284
41043168
UD
12285 [BZ #13328]
12286 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12287 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12288
21eaf3a5
UD
12289 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12290 __feraiseexcept_renamed.
12291
e3a851a2
UD
122922011-12-21 Ulrich Drepper <drepper@gmail.com>
12293
4920765e
UD
12294 [BZ #13538]
12295 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12296 EPOLLET with unsigned values.
12297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12299
e3a851a2
UD
12300 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12301 to large cancellation.
12302 * math/s_cacoshf.c: Likewise.
12303 * math/s_cacoshl.c: Likewise.
12304
b27e24b8
RK
123052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12306
12307 [BZ #13305]
aebefeee 12308 [BZ #12786]
b27e24b8
RK
12309 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12310 * math/s_cacoshf.c: Likewise.
12311 * math/s_cacoshl.c: Likewise.
12312
ee190f67
UD
123132011-12-21 Ulrich Drepper <drepper@gmail.com>
12314
12315 [BZ #13439]
12316 * iconv/gconv.h: Define __GCONV_SWAP.
12317 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12318 * iconvdata/utf-16.c: Likewise.
12319 * iconvdata/utf-32.c: Likewise.
12320
707f25df
AS
123212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12322
12323 [BZ #13524]
12324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12325 numerator after shifting it by one limb.
12326
d2daaa1e
RÁE
123272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12328
12329 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12330 under [__USE_EXTERN_INLINES].
12331
a4647e72
UD
123322011-12-17 Ulrich Drepper <drepper@gmail.com>
12333
12334 [BZ #13446]
12335 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12336
f0b264f1
AZ
123372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12338
12339 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12340 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12341 optimized code.
12342 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12343 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12344 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12345 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12346 for strncasecmp/strncasecmp_l compilation.
12347 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12348 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12349
8ef4f244
MP
123502011-12-08 Marek Polacek <mpolacek@redhat.com>
12351
12352 [BZ #13484]
12353 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12354 of __asm__.
12355
97ac2654
UD
123562011-12-17 Ulrich Drepper <drepper@gmail.com>
12357
12358 [BZ #13506]
12359 * time/tzfile.c (__tzfile_read): Check values from file header.
12360
91d2a845
WS
123612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12362
12363 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12364 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12365 * powerpc/powerpc32/dl-start.S: Likewise.
12366 * powerpc/powerpc32/elf/start.S: Likewise.
12367 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12368 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12369 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12370 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12371 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12372 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12373 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12374 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12375 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12376 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12377 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12378 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12379 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12380 * powerpc/powerpc32/memset.S: Likewise.
12381 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12382 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12383 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12384 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12385 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12386 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12387 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12388 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12389 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12390 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12391 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12392 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12393 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12394
a1267ba1
AZ
123952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12396
12397 * math/libm-test.inc: Added more nearbyint tests.
12398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12399 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12402
ad8ac1bd
RL
124032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12404
12405 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12406 FD_CLOEXEC.
12407
1d3e4b61
UD
124082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12409
12410 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12411 Add wcscpy-ssse3 wcscpy-c.
12412 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12413 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12414 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12415 * sysdeps/x86_64/wcschr.S: New file.
12416 * sysdeps/x86_64/wcsrchr.S: New file.
12417 * string/test-strcmp.c: Remove checking of wcscmp function for
12418 wrong alignments.
12419 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12420 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12421 wcsrchr-sse2 wcsrchr-c.
12422 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12423 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12424 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12425 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12426 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12427 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12428 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12429 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12430 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12431 * wcsmbc/wcschr.c (WCSCHR): New macro.
12432
5b330a2d
UD
124332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12434
12435 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12436 * wcsmbs/test-wcsrchr.c: New file.
12437 * string/test-strrchr.c: Add wcsrchr support.
12438 (WIDE): New macro.
12439 * wcsmbs/test-wcscpy.c: New file.
12440 * string/test-strcpy.c: Add wcscpy support.
12441 (WIDE): New macro.
26428b7c 12442
f039c043
UD
124432011-12-10 Ulrich Drepper <drepper@gmail.com>
12444
12445 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12446 the inner loop.
12447
850fb039
AS
124482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12449
12450 [BZ #13472]
12451 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12452
4efbd5cb
UD
124532011-12-04 Ulrich Drepper <drepper@gmail.com>
12454
52ff5dd0 12455 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12456 Minor optimizations.
52ff5dd0 12457
4efbd5cb
UD
12458 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12459 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12460 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12461
8a426e12
UD
124622011-12-03 Ulrich Drepper <drepper@gmail.com>
12463
aff2453d
UD
12464 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12465 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12466 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12467 for gcc to avoid warnings.
12468 * inet/Makefile (tests): Add tst-checks.
12469 * inet/tst-checks.c: New file.
12470
12471 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12472 warning.
12473
12474 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12475 __wmemcmp_sse2.
12476
12477 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12478 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12479
8a426e12
UD
12480 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12481
9bea3473
UD
124822011-12-02 Ulrich Drepper <drepper@gmail.com>
12483
3a965496
UD
12484 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12485 problem.
12486
9bea3473
UD
12487 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12488
f101631b
UD
124892011-11-29 Joseph Myers <joseph@codesourcery.com>
12490
12491 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12492 conditional on GCC version.
12493 (__arch_compare_and_exchange_val_8_acq)
12494 (__arch_compare_and_exchange_val_16_acq)
12495 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12496 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12497 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12498
a98275aa
UD
124992011-12-02 Joseph Myers <joseph@codesourcery.com>
12500
12501 * sysdeps/sh/backtrace.c: New file.
12502
d4cc29a2
AS
125032011-12-02 Andreas Schwab <schwab@redhat.com>
12504
12505 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12506 parenthesis.
12507
6257af2d
AS
125082011-12-01 Andreas Schwab <schwab@redhat.com>
12509
12510 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12511 falling back to utime.
12512
b5f44c1a
AS
125132011-11-30 Andreas Schwab <schwab@redhat.com>
12514
12515 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12516 expectations for float.
12517
f3a6cc0a
AS
125182011-11-29 Andreas Schwab <schwab@redhat.com>
12519
12520 * locale/weight.h (findidx): Add parameter len.
12521 * locale/weightwc.h (findidx): Likewise.
12522 * posix/fnmatch_loop.c (FCT): Adjust caller.
12523 * posix/regcomp.c (build_equiv_class): Likewise.
12524 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12525 * posix/regexec.c (check_node_accept_bytes): Likewise.
12526 * string/strcoll_l.c (STRCOLL): Likewise.
12527 * string/strxfrm_l.c (STRXFRM): Likewise.
12528
9d65ea3a
UD
125292011-11-17 Ulrich Drepper <drepper@gmail.com>
12530
12531 * Makefile.in: Remove CVSOPT handling.
12532 * configure.in: Remove use of AC_REVISION.
12533 * iconvdata/Makefile (distribute): No need to filter out CVS.
12534 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12535 handling.
12536
5583a086
AS
125372011-11-16 Andreas Schwab <schwab@redhat.com>
12538
12539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12540 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12541 [USE_AS_STRNCASECMP_L]: Likewise.
12542 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12543 NO_TLS_DIRECT_SEG_REFS.
12544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12545 Fix argument offsets for non-PIC.
12546 [USE_AS_STRNCASECMP_L]: Likewise.
12547 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12548 NO_TLS_DIRECT_SEG_REFS.
12549
d62a8200
UD
125502011-11-15 Ulrich Drepper <drepper@gmail.com>
12551
9d65ea3a 12552 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12553 O_CLOEXEC.
12554 * locale/loadlocale.c (_nl_load_locale): Likewise.
12555
09f93bd3
AS
125562011-11-15 Andreas Schwab <schwab@redhat.com>
12557
446514f9
AS
12558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12559 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12561 (SYSCALL_GETTIME): Set errno on error.
12562
09f93bd3
AS
12563 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12564 count references to noai6ai_cached.
12565
312be3f9
UD
125662011-11-15 Ulrich Drepper <drepper@gmail.com>
12567
12568 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12569
12570 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12571 FD_CLOEXEC for /proc/self/maps.
12572
12573 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12574 FD_CLOEXEC for /proc/meminfo.
12575
12576 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12577 gai.conf.
12578
12579 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12580 FD_CLOEXEC for given file.
12581
12582 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12583
12584 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12585 FD_CLOEXEC for /etc/hosts.
12586 (_gethtent): Likewise.
12587
12588 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12589
12590 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12591 cancellation and set FD_CLOEXEC for /etc/netgroup.
12592
12593 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12594 reading /etc/publickey.
12595
12596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12597 allow cancellation when reading /etc/group.
12598
12599 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12600 cancellation.
12601 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12602
12603 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12604 when using data file.
12605
12606 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12607
12608 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12609 (write_nis_obj): Use "c" and "e" in fopen.
12610
12611 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12612
12613 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12614
12615 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12616
12617 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12618
12619 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12620 locale.alias.
12621
12622 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12623
12624 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12625
12626 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12627
12628 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12629 file parsing and set FD_CLOEXEC.
12630
82af0fa8
UD
126312011-11-14 Ulrich Drepper <drepper@gmail.com>
12632
12633 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12634
a5fb313c
AS
126352011-11-14 Andreas Schwab <schwab@redhat.com>
12636
12637 * malloc/arena.c (arena_get2): Don't call reused_arena when
12638 _int_new_arena failed.
12639
6abf3465
UD
126402011-11-14 Ulrich Drepper <drepper@gmail.com>
12641
12642 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12643 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12644 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12645 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12647 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12648 to compile strcasecmp and strncasecmp.
12649 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12650 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12651
12652 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12653
76e3966e
UD
126542011-11-13 Ulrich Drepper <drepper@gmail.com>
12655
12656 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12657 locale-defines.sym to gen-as-const-headers.
12658 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12659 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12661 to compile strcasecmp and strncasecmp.
12662 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12663 strcasecmp_l and strncasecmp_l.
12664 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12665 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12666 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12667 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12668 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12669 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12670 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12671 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12672 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12673 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12674 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12675
ab26144e
UD
126762011-11-12 Ulrich Drepper <drepper@gmail.com>
12677
7edb22ef
UD
12678 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12679 result of SYSDEP_GETTIME_CPU to retval.
12680 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12681 parameter list to macro. Remove trailing semicolon. Adjust users.
12682
9694fc44
UD
12683 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12684 variable.
12685
8ad89ef8
UD
12686 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12687 mantissa words.
12688 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12689
0c822ef9
UD
12690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12691 from unused variable.
12692
874e0564
UD
12693 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12694 DWARF definitions.
12695 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12696 for assembling.
12697
3a2edc79
UD
12698 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12699 over namespaces.
12700
f3c2577f
UD
12701 * sunrpc/rpc_prot.c (rejected): Fix case value.
12702
294ce126
UD
12703 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12704 unsigned long long int to avoid warnings in shift.
12705
5e2b63c6
UD
12706 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12707 of use of trans.
12708 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12709 variable tmp.
12710
e7f4b08e
UD
12711 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12712 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12713 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12714
ab26144e
UD
12715 * nis/nis_table.c (nis_list): Use variable of correct type for
12716 result of __follow_path call.
12717
8a6d5255
AZ
127182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12719
12720 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12721 of math functions ceil, trunc, floor, round, and sqrt, when
12722 avaliable on the platform.
12723 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12724 name clash.
12725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12726 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12727 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12728
aaddc98c
MP
127292011-10-30 Marek Polacek <mpolacek@redhat.com>
12730
12731 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12733
95b7042b
RM
127342011-11-11 Roland McGrath <roland@hack.frob.com>
12735
12736 * include/unistd.h: Fix __readlink return type.
12737 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12738
57769839
UD
127392011-11-11 Ulrich Drepper <drepper@gmail.com>
12740
12741 * stdlib/ucontext.h: Undo last change for makecontext.
12742
edc5984d
AS
127432011-11-11 Andreas Schwab <schwab@redhat.com>
12744
98591e58
AS
12745 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12746
edc5984d
AS
12747 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12748 * setjmp/setjmp.h: Mark functions as non-leaf.
12749 * setjmp/bits/setjmp2.h: Likewise.
12750 * stdlib/ucontext.h: Likewise.
12751
77cdc054
AS
127522011-11-10 Andreas Schwab <schwab@redhat.com>
12753
12754 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12755 (reused_arena): Don't check arena limit.
12756 (arena_get2): Atomically check arena limit.
12757
fe72eebd
UD
127582011-11-08 Ulrich Drepper <drepper@gmail.com>
12759
5f078c32
UD
12760 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12761 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12762
fe72eebd
UD
12763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12764 instructions.
12765
ae1bc2fa
AS
127662011-11-07 Andreas Schwab <schwab@redhat.com>
12767
7583a88d
AS
12768 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12769 handler when locking.
12770
ae1bc2fa
AS
12771 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12772 Fix size of allocated buffer.
12773
10fb0bfa
AS
127742011-11-04 Andreas Schwab <schwab@redhat.com>
12775
998832a4
AS
12776 [BZ #10103]
12777 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12778 declarations for long double functions.
12779 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12780
10fb0bfa
AS
12781 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12782
3d7ba52b
AS
127832011-11-03 Andreas Schwab <schwab@redhat.com>
12784
a9ae54a1
AS
12785 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12786 installed.
12787
3d7ba52b
AS
12788 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12789 is disabled.
12790
bc8db248
ST
127912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12792
12793 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12794
45b96dd6
AS
127952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12796
647776f6
AS
12797 * include/alloca.h (stackinfo_alloca_round): Define.
12798 (extend_alloca): Use it.
12799 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12800 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12801 here.
12802
d91a8b93
AS
12803 * scripts/check-local-headers.sh: Ignore libaudit.h.
12804
45b96dd6
AS
12805 * nscd/Makefile (extra-objs): Make recursively expanded.
12806
432d41ce
UD
128072011-11-01 Ulrich Drepper <drepper@gmail.com>
12808
34372fc6
UD
12809 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12811
fadb59f8
UD
12812 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12813 * posix/tst-rfc3484-2.c: Likewise.
12814 * posix/tst-rfc3484-3.c: Likewise.
12815
78239589
UD
12816 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12817 process_vm_writev.
12818 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12819 process_vm_writev.
12820 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12821 process_vm_writev from libc using GLIBC_2.15 version.
12822
432d41ce
UD
12823 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12824
02f9c6cf
PP
128252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12826
12827 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12828 stack usage.
12829
3a2c0242
UD
128302011-10-31 Ulrich Drepper <drepper@gmail.com>
12831
f4ec4833
UD
12832 [BZ #13367]
12833 * nss/getent.c (initgroups_keys): Show error message in case no group
12834 names are given.
12835
3a2c0242
UD
12836 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12837 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12838 __bump_nl_timestamp.
12839 * nscd/connections (nscd_init): When host database is served open
12840 netlink socket and request notification about configuration changes.
12841 (main_loop_poll): Track netlink file descriptor and bump timestamp
12842 in case data becomes available.
12843 (main_loop_epoll): Likewise.
12844 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12845 (database_pers_head): Add extra_data fileds.
12846 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12847 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12848 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12849 Adjust caller.
12850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12851 in6ai data, call __free_in6ai.
12852 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12853 Add -DHAVE_NETLINK.
12854 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12855 interface information. Reuse previous data if netlink timestamp
12856 is not changed.
12857 (__bump_nl_timestamp): New function.
12858 (__free_in6ai): New function.
12859
636064eb
UD
128602011-10-30 Ulrich Drepper <drepper@gmail.com>
12861
12862 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12863 close_not_cancel_no_status here.
12864 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12865
9beb2334
UD
128662011-10-29 Ulrich Drepper <drepper@gmail.com>
12867
6ef76f3b
UD
12868 [BZ #13276]
12869 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12870 return value.
12871
0ffc4f3e 12872 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12873 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12874 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12875
cb95113e
UD
128762011-07-03 Andreas Jaeger <aj@suse.de>
12877
12878 [BZ #10709]
12879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12880 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12881 * math/libm-test.inc (sin_test): Add test case.
12882
a1b560ff
UD
128832011-10-29 Ulrich Drepper <drepper@gmail.com>
12884
c9aaface
UD
12885 [BZ #13337]
12886 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12887 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12888
d272e7f1
UD
12889 * elf/chroot_canon.c (chroot_canon): Cleanups.
12890
1bc33071
UD
12891 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12892
1760874d
TJ
12893 [BZ #13335]
12894 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12895 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12896
51d91b18
UD
12897 * string/test-strchr.c: Make usable for strchrnul testing.
12898 * string/test-strchrnul.c: New file.
12899 * string/Makefile (strop-tests): Add strchrnul.
12900
a1b560ff 12901 * po/it.po: Update from translation team.
b611fb81 12902 * po/es.po: Likewise.
a1b560ff 12903
a5b81e1f
UD
129042011-10-28 Ulrich Drepper <drepper@gmail.com>
12905
fd52bc6d
UD
12906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12907 the three constants needed as parameters. Drop the others.
12908 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12909 __m128i_strloadu_tolower.
52e4b9eb
UD
12910 Create and initialize variable zero and use it in all the places
12911 where _mm_setzero_si128 was used.
fd52bc6d 12912
a5b81e1f
UD
12913 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12914 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12915 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12917 anymore.
12918 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12919 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12920 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12921 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12922 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12923 __mpranred, __mptan.
12924 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12925 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12926 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12927 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12928 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12929 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12930 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12931 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12932 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12933
b4343346
AS
129342011-10-28 Andreas Schwab <schwab@redhat.com>
12935
0c92d8a8
AS
12936 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12937 redefine if SHARED.
12938 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12939
b4343346
AS
12940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12941 wide char related routines to wcsmbs subdir.
12942
3871f58f
AS
129432011-10-27 Andreas Schwab <schwab@redhat.com>
12944
12945 [BZ #13344]
12946 * misc/sys/cdefs.h (__THROWNL): Define.
12947 * posix/unistd.h: Use __THREADNL instead of __THREAD
12948 for memory synchronization functions.
12949
94d44d9f
RM
129502011-10-26 Roland McGrath <roland@hack.frob.com>
12951
21b64b15 12952 [BZ #13349]
94d44d9f
RM
12953 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12954 doesn't exist.
12955 * manual/stdio.texi (Obstack Streams): Node removed.
12956
f6ce9294
AS
129572011-10-26 Andreas Schwab <schwab@redhat.com>
12958
80479147
AS
12959 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12960 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12961 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12962
f6ce9294
AS
12963 * math/math_private.h (math_force_eval): Allow non-addressable
12964 arguments.
12965 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12966
618280a1
UD
129672011-10-25 Ulrich Drepper <drepper@gmail.com>
12968
e0016b11
UD
12969 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12970 file is not needed.
12971
12972 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12975 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12976 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12977 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12979 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12980 Add AVX variants.
12981 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12982 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12983 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12984 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12985 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12986 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12987 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12988 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12989 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12990 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12991 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12992 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12993 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12994 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12995 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12996 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12997 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12998 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12999 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13000
13001 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13002 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13003
618280a1
UD
13004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13005 place. Use VEX encoding when compiling for AVX.
13006
37822576
AS
130072011-10-25 Andreas Schwab <schwab@redhat.com>
13008
1f1e1947
AS
13009 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13010 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13011
37822576
AS
13012 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13013
31ea014d
UD
130142011-10-25 Ulrich Drepper <drepper@gmail.com>
13015
d7826aa1 13016 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13017 useless if() expression.
d7826aa1
UD
13018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13019 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13020 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13023 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13024 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13026 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13027 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13028 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13029 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13030 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13031 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13032 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13033 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13035 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13036 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13037
31ea014d
UD
13038 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13039
16437fec
AS
130402011-10-25 Andreas Schwab <schwab@redhat.com>
13041
13042 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13043 condition.
13044 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13045
31d3cc00
UD
130462011-10-25 Ulrich Drepper <drepper@gmail.com>
13047
13048 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13049 .text section. Avoid duplicate constants.
13050 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13062 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13065 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13074 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13075 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13076 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13077 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13078 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13079 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13081 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13082 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13083 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13084 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13085 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13086 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13087 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13088 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13089 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13091 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13092 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13093 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13094 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13095
58985aa9
UD
130962011-10-24 Ulrich Drepper <drepper@gmail.com>
13097
202c9deb
UD
13098 * sysdeps/x86_64/dla.h: Move to ...
13099 * sysdeps/x86_64/fpu/dla.h: ...here.
13100 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13101 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13102
af968f62
UD
13103 * config.make.in: Add have-mfma4 entry.
13104 * configure.in: Substitute libc_cv_cc_fma4.
13105 * math/Makefile (dbl-only-routines): Add sincostab.
13106 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13107 Use __sincostab not sincos.
13108 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13109 name is a macro.
13110 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13114 using __copysign.
13115 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13116 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13117 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13118 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13119 and __inv.
13120 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13121 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13122 __copysign.
13123 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13124 define aliases when function name is a macro.
13125 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13126 sysdeps/ieee754/dbl-64/sincos.tbl.
13127 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13128 fma4-enabled routines.
13129 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13130 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13131 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13132 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13133 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13134 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13135 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13139 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13141 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13142 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13143 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13144 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13145 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13146 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13147 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13149 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13150 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13152 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13154 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13156 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13157 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13158 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13159
58985aa9
UD
13160 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13161 rename.
13162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13170
a201fbcf
AS
131712011-10-24 Andreas Schwab <schwab@redhat.com>
13172
13173 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13174
fc2ee42a
LD
131752011-10-23 Ulrich Drepper <drepper@gmail.com>
13176
bb3129bd
UD
13177 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13178
0275fff8
UD
13179 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13180 prediction.
13181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13182
2fa2ae85
UD
13183 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13184 Remove unused variable magic_bits.
13185 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13186
fc2ee42a
LD
13187 * string/strnlen.c: Define and use STRNLEN macro.
13188 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13189 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13191 * wcsmbs/wcslen.c: Define and use WCSLEN.
13192 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13193 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13194 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13195 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13196 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13197 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13198 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13199
ce7dd29f
LD
132002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13201
13202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13203 strnlen-sse2-no-bsf.
13204 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13206 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13207 Add strnlen support.
13208 (USE_AS_STRNLEN): New macro.
13209 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13210 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13211 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13212 * sysdeps/x86_64/wcslen.S: New file.
13213
979c70a3
MZ
132142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13215
13216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13217 XMM-moves are used for copying on small sizes.
13218
2d09f82f
LD
132192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13220
13221 * wcsmbs/Makefile (strop-tests): Add wcschr.
13222 * wcsmbs/test-wcschr.c: New file.
13223 * string/test-strchr.c: Update.
13224 Add wcschr support.
13225 (WIDE): New macro.
13226
619fccca
LD
132272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13228
2d09f82f 13229 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13230 * wcsmbs/test-wcslen.c: New file.
13231 * string/test-strlen.c: Update.
13232 Add wcslen support.
13233 (WIDE): New macro.
13234
09f699ea
UD
132352011-10-23 Ulrich Drepper <drepper@gmail.com>
13236
13237 * po/it.po: Update from translation team.
13238
95584d3b
LD
132392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13240
13241 * sysdeps/x86_64/wcscmp.S: Update.
13242 Fix wrong comparison semantics.
13243 wcscmp shall use signed comparison not unsigned.
13244 Don't use substraction to avoid overflow bug.
13245 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13246 * wcsmbc/wcscmp.c: Likewise.
13247 * string/test-strcmp.c: Likewise.
13248 Add new tests to check cases with negative values.
13249
c8b3296b
UD
132502011-10-23 Ulrich Drepper <drepper@gmail.com>
13251
13252 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13253 * sysdeps/x86_64/dla.h: ...here. New file.
13254 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13263
246ad57a
AS
132642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13265
13266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13267 __ynl_finite aliases.
13268
a1a87169
UD
132692011-10-22 Ulrich Drepper <drepper@gmail.com>
13270
0d355eb7
UD
13271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13272
a1a87169
UD
13273 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13274 define DLA_FMA.
13275 [DLA_FMA] (EMULV): Use DLA_FMA.
13276 [DLA_FMA] (MUL12): Use EMULV.
13277 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13278 that are not needed.
13279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13286
ee2aafe0
AS
132872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13288
13289 * math/s_nan.c: Undef __nan.
13290 * math/s_nanf.c: Undef __nanf.
13291 * math/s_nanl.c: Undef __nanl.
13292 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13293 "math_private.h".
13294
bc62c2fb
UD
132952011-10-22 Ulrich Drepper <drepper@gmail.com>
13296
77425c63
UD
13297 * math/s_catan.c: Add branch predictions.
13298 * math/s_catanf.c: Likewise.
13299 * math/s_catanh.c: Likewise.
13300 * math/s_catanhf.c: Likewise.
13301 * math/s_catanhl.c: Likewise.
13302 * math/s_catanl.c: Likewise.
13303 * math/s_cexp.c: Likewise.
13304 * math/s_cexpf.c: Likewise.
13305 * math/s_cexpl.c: Likewise.
13306 * math/s_clog.c: Likewise.
13307 * math/s_clog10.c: Likewise.
13308 * math/s_clog10f.c: Likewise.
13309 * math/s_clog10l.c: Likewise.
13310 * math/s_clogf.c: Likewise.
13311 * math/s_clogl.c: Likewise.
13312 * math/s_csqrt.c: Likewise.
13313 * math/s_csqrtf.c: Likewise.
13314 * math/s_csqrtl.c: Likewise.
13315 * math/s_ctanf.c: Likewise.
13316 * math/s_ctanh.c: Likewise.
13317 * math/s_ctanhf.c: Likewise.
13318 * math/s_ctanhl.c: Likewise.
13319 * math/s_ctanl.c: Likewise.
13320
bc62c2fb
UD
13321 * math/math_private.h: Define __nan, __nanf, __nanl.
13322 * math/s_cacosh.c: Include <math_private.h>.
13323 * math/s_cacoshl.c: Likewise.
13324 * math/s_casinh.c: Likewise.
13325 * math/s_casinhf.c: Likewise.
13326 * math/s_casinhl.c: Likewise.
13327 * math/s_ccos.c: Rely entire on ccosh.
13328 * math/s_ccosf.c: Rely entire on ccoshf.
13329 * math/s_ccosl.c: Rely entirely on ccoshl.
13330 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13331 Remove tests for FE_INVALID.
13332 * math/s_ccoshf.c: Likewise.
13333 * math/s_ccoshl.c: Likewise.
13334 * math/s_csin.c: Likewise.
13335 * math/s_csinf.c: Likewise.
13336 * math/s_csinh.c Likewise.
13337 * math/s_csinhf.c: Likewise.
13338 * math/s_csinhl.c: Likewise.
13339 * math/s_csinl.c: Likewise.
13340 * math/s_ctan.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13342 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13343 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13344
8ec250a4
UD
133452011-10-21 Ulrich Drepper <drepper@gmail.com>
13346
c196fed8
UD
13347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13348 compilation problems.
13349
8ec250a4
UD
13350 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13351 __builtin_expect.
13352
8d4f46c6
UD
133532011-10-20 Ulrich Drepper <drepper@gmail.com>
13354
ed72b654
UD
13355 * sysdeps/i386/configure.in: Test for -mfma4 option.
13356 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13357 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13358 COMMON_CPUID_INDEX_80000001.
13359 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13360 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13361 use it if FMA3 is not supported.
13362 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13363
8d4f46c6
UD
13364 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13365 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13366
d45c60c2
AS
133672011-10-20 Andreas Schwab <schwab@redhat.com>
13368
13369 [BZ #12892]
13370 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13371 it would create a cycle with a link time dependency.
13372
d9a4d2ab
UD
133732011-10-19 Ulrich Drepper <drepper@gmail.com>
13374
855d1560
UD
13375 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13376 instruction.
13377 * string/Makefile (strop-tests): Add rawmemchr.
13378 * string/test-rawmemchr.c: New file.
13379
d9a4d2ab
UD
13380 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13382 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13383 when compiling str{,n}casecmp and when AVX is available. Hook up
13384 new optimized code in initializers.
13385
8f3b1ffe
AS
133862011-10-19 Andreas Schwab <schwab@redhat.com>
13387
13388 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13389 __feraiseexcept instead of feraiseexcept.
13390
d38f1dba
UD
133912011-10-18 Ulrich Drepper <drepper@gmail.com>
13392
d9a8d0ab
UD
13393 * math/math_private.h: Define defaults for libc_fetestexcept and
13394 libc_feupdateenv.
13395 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13396 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13397 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13400 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13401 libc_fetestexcept and libc_feupdateenv.
13402
4855e3dd
UD
13403 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13404 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13405 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13406 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13407 libc_feholdexcept_setround.
13408
581d30e3
UD
13409 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13410 Add s_nearbyint-c and s_nearbyintf-c.
13411 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13412 nearbyintf inlines.
13413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13414 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13416 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13417
d38f1dba
UD
13418 * math/math_private.h: Define defaults for libc_fegetround,
13419 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13420 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13421 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13423 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13424 standard functions.
13425 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13426 Remove comments and hacks for old compiler versions.
13427 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13428 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13429 libc_feholdexceptl.
13430
caa6c9d8
AS
134312011-10-18 Andreas Schwab <schwab@redhat.com>
13432
13433 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13434 (__feraiseexcept_renamed): Add __NTH.
13435 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13436 namespace violations.
13437
97c066e6
UD
134382011-10-17 Ulrich Drepper <drepper@gmail.com>
13439
99ce7b04
UD
13440 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13441
1004d182
UD
13442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13443
228a984d
UD
13444 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13445 recently added interfaces.
13446 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13447
c8553a6a
UD
13448 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13449 about macro parameter expansion.
13450
ed22dcf6
UD
13451 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13452 __NO_MATH_INLINES is defined. Cleanups.
13453
13454 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13455 and __floorf is target has SSE4.1.
13456 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13457 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13458 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13459 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13460
b171c137
UD
13461 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13462 name.
13463 (floorf): Likewise.
13464
97c066e6
UD
13465 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13466
629f62ef
AS
134672011-10-17 Andreas Schwab <schwab@redhat.com>
13468
49a43d80
AS
13469 * misc/sys/cdefs.h: Fix last change.
13470
629f62ef
AS
13471 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13472 database lookup.
13473
e453f6cd
UD
134742011-10-16 Ulrich Drepper <drepper@gmail.com>
13475
aa78043a
UD
13476 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13477
ad0f5cad
UD
13478 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13484 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13485 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13486 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13487 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13488 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13489 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13490 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13491 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13492 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13493 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13494 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13495 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13496 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13497 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13498 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13499 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13500
13501 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13502 ceil, ceilf, floor, floorf.
13503
13504 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13505 Perform IRELATIVE relocations last.
13506
e453f6cd
UD
13507 * elf/do-rel.h: Add another parameter nrelative, replacing the
13508 local variable with the same name. Change name of the function
13509 to end in Rel or Rela (uppercase).
13510 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13511 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13512 elf_dynamic_do_##reloc function.
13513
fd5bdc09
UD
135142011-10-15 Ulrich Drepper <drepper@gmail.com>
13515
79b195b5
UD
13516 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13517 is sufficient, at least on modern CPUs.
13518
d4a28569
UD
13519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13520
b61099b5
UD
13521 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13523
bcf01e6d
UD
13524 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13525 __expl_finite.
13526 * math/bits/math-finite.h: Add entries for exp.
13527 * math/e_expl.c: Add __*_finite alias.
13528 * sysdeps/i386/fpu/e_exp.S: Likewise.
13529 * sysdeps/i386/fpu/e_expf.S: Likewise.
13530 * sysdeps/i386/fpu/e_expl.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13532 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13536 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13537 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13538
ba1a0d59
UD
13539 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13540 is sufficient, at least on modern CPUs.
13541
fd5bdc09
UD
13542 * ctype/ctype-info.c (__ctype_init): Define.
13543 * include/ctype.h (__ctype_init): Declare.
13544 (__ctype_b_loc): The variable is always initialized.
13545 (__ctype_toupper_loc): Likewise.
13546 (__ctype_tolower_loc): Likewise.
13547 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13548 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13549
7872cfb0
AS
135502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13551
b468825a
AS
13552 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13553
7872cfb0
AS
13554 * configure.in: Also look in $cxxmachine/include for C++ system
13555 headers.
13556
be13f7bf
LD
135572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13558
13559 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13560 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13561 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13562 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13564 (USE_AS_WMEMCMP): New macro.
13565 Fixing indents.
13566 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13567 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13568 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13569 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13571 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13572 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13574 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13575 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13576 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13577 (USE_AS_WMEMCMP): New macro.
13578 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13579 * sysdeps/string/test-memcmp.c: Update.
13580 Fix simple_wmemcmp.
13581 Add new tests.
13582 * wcsmbs/wmemcmp.c: Update.
13583 (WMEMCMP): New macro.
13584 Fix overflow bug.
13585
556a2007
AJ
135862011-10-12 Andreas Jaeger <aj@suse.de>
13587
13588 [BZ #13268]
13589 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13590
538faaa7
UD
135912011-10-15 Ulrich Drepper <drepper@gmail.com>
13592
ab6737ff
UD
13593 * libio/iofwide.c (do_length): Avoid warning.
13594
538faaa7
UD
13595 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13596
396a21b1
UD
135972011-10-14 Ulrich Drepper <drepper@gmail.com>
13598
cdf2901f
UD
13599 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13600
38ad40ce
UD
13601 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13602 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13603 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13604 * sysdeps/i386/i686/fpu/e_log.S: New file.
13605 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13606 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13607
396a21b1
UD
13608 * ctype/ctype.h: Add support for inlined isXXX functions when
13609 compiling C++ code.
13610
6b1f68c9
AS
136112011-10-14 Andreas Schwab <schwab@redhat.com>
13612
349290c0
AS
13613 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13614
6b1f68c9
AS
13615 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13616
f2282d42
RM
136172011-10-13 Roland McGrath <roland@hack.frob.com>
13618
13619 [BZ #13291]
13620 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13621
5298ffa8
AS
136222011-10-13 Andreas Schwab <schwab@redhat.com>
13623
714fad23
AS
13624 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13625 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13626 feraiseexcept.
13627
81dcc7fb
AS
13628 * sysdeps/x86_64/memrchr.S: Check for zero size.
13629
5298ffa8
AS
13630 * string/stratcliff.c: Add memrchr tests.
13631
951fbcec
LD
136322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13633
13634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13635 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13636 rawmemchr-sse2 rawmemchr-sse2-bsf.
13637 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13638 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13639 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13640 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13641 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13642 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13643 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13644 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13646 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13647 * string/memrchr.c (MEMRCHR): New macro.
13648
0ac5ae23
UD
136492011-10-12 Ulrich Drepper <drepper@gmail.com>
13650
13651 Add integration with gcc's -ffinite-math-only and optimize wrapper
13652 functions in libm.
13653 * Versions.def: Define GLIBC_2.15 version for libm.
13654 * math/Makefile (headers): Add bits/math-finite.h.
13655 * math/bits/math-finite.h: New file.
13656 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13657 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13658 * math/e_acoshl.c: Add __*_finite alias.
13659 * math/e_acosl.c: Likewise.
13660 * math/e_asinl.c: Likewise.
13661 * math/e_atan2l.c: Likewise.
13662 * math/e_atanhl.c: Likewise.
13663 * math/e_coshl.c: Likewise.
13664 * math/e_exp10.c: Likewise.
13665 * math/e_exp10f.c: Likewise.
13666 * math/e_exp10l.c: Likewise.
13667 * math/e_exp2l.c: Likewise.
13668 * math/e_fmodl.c: Likewise.
13669 * math/e_gammal_r.c: Likewise.
13670 * math/e_hypotl.c: Likewise.
13671 * math/e_j0l.c: Likewise.
13672 * math/e_j1l.c: Likewise.
13673 * math/e_jnl.c: Likewise.
13674 * math/e_lgammal_r.c: Likewise.
13675 * math/e_log10l.c: Likewise.
13676 * math/e_log2l.c: Likewise.
13677 * math/e_logl.c: Likewise.
13678 * math/e_powl.c: Likewise.
13679 * math/e_sinhl.c: Likewise.
13680 * math/e_sqrtl.c: Likewise.
13681 * math/e_scalb.c: Completely rewritten and optimized.
13682 * math/e_scalbf.c: Likewise.
13683 * math/e_scalbl.c: Likewise.
13684 * math/w_acos.c: Likewise.
13685 * math/w_acosf.c: Likewise.
13686 * math/w_acosl.c: Likewise.
13687 * math/w_acosh.c: Likewise.
13688 * math/w_acoshf.c: Likewise.
13689 * math/w_acoshl.c: Likewise.
13690 * math/w_asin.c: Likewise.
13691 * math/w_asinf.c: Likewise.
13692 * math/w_asinl.c: Likewise.
13693 * math/w_atan2.c: Likewise.
13694 * math/w_atan2f.c: Likewise.
13695 * math/w_atan2l.c: Likewise.
13696 * math/w_atanh.c: Likewise.
13697 * math/w_atanhf.c: Likewise.
13698 * math/w_atanhl.c: Likewise.
13699 * math/w_exp10.c: Likewise.
13700 * math/w_exp10f.c: Likewise.
13701 * math/w_exp10l.c: Likewise.
13702 * math/w_fmod.c: Likewise.
13703 * math/w_fmodf.c: Likewise.
13704 * math/w_fmodl.c: Likewise.
13705 * math/w_j0.c: Likewise.
13706 * math/w_j0f.c: Likewise.
13707 * math/w_j0l.c: Likewise.
13708 * math/w_j1.c: Likewise.
13709 * math/w_j1f.c: Likewise.
13710 * math/w_j1l.c: Likewise.
13711 * math/w_jn.c: Likewise.
13712 * math/w_jnf.c: Likewise.
13713 * math/w_log.c: Likewise.
13714 * math/w_logf.c: Likewise.
13715 * math/w_logl.c: Likewise.
13716 * math/w_log10.c: Likewise.
13717 * math/w_log10f.c: Likewise.
13718 * math/w_log10l.c: Likewise.
13719 * math/w_log2.c: Likewise.
13720 * math/w_log2f.c: Likewise.
13721 * math/w_log2l.c: Likewise.
13722 * math/w_pow.c: Likewise.
13723 * math/w_powf.c: Likewise.
13724 * math/w_powl.c: Likewise.
13725 * math/w_remainder.c: Likewise.
13726 * math/w_remainderf.c: Likewise.
13727 * math/w_remainderl.c: Likewise.
13728 * math/w_scalb.c: Likewise.
13729 * math/w_scalbf.c: Likewise.
13730 * math/w_scalbl.c: Likewise.
13731 * math/w_sqrt.c: Likewise.
13732 * math/w_sqrtf.c: Likewise.
13733 * math/w_sqrtl.c: Likewise.
13734 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13735 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13736 used.
13737 * math/math_private.h: Declare __kernel_standard_f.
13738 * math/w_cosh.c: Remove cruft and optimize a bit.
13739 * math/w_coshf.c: Likewise.
13740 * math/w_coshl.c: Likewise.
13741 * math/w_exp2.c: Likewise.
13742 * math/w_exp2f.c: Likewise.
13743 * math/w_exp2l.c: Likewise.
13744 * math/w_hypot.c: Likewise.
13745 * math/w_hypotf.c: Likewise.
13746 * math/w_hypotl.c: Likewise.
13747 * math/w_lgamma.c: Likewise.
13748 * math/w_lgamma_r.c: Likewise.
13749 * math/w_lgammaf.c: Likewise.
13750 * math/w_lgammaf_r.c: Likewise.
13751 * math/w_lgammal.c: Likewise.
13752 * math/w_lgammal_r.c: Likewise.
13753 * math/w_sinh.c: Likewise.
13754 * math/w_sinhf.c: Likewise.
13755 * math/w_sinhl.c: Likewise.
13756 * math/w_tgamma.c: Likewise.
13757 * math/w_tgammaf.c: Likewise.
13758 * math/w_tgammal.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13760 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13761 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13762 Minor optimizations. Pretty printing. Remove cruft.
13763 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13764 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13767 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13768 * sysdeps/i386/fpu/e_asin.S: Likewise.
13769 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13770 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13771 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13772 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13773 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13774 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13775 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13776 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13777 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13778 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13779 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13780 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13781 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13782 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13783 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13784 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13785 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13786 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13787 * sysdeps/i386/fpu/e_log.S: Likewise.
13788 * sysdeps/i386/fpu/e_log10.S: Likewise.
13789 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13791 * sysdeps/i386/fpu/e_log2.S: Likewise.
13792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13793 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13794 * sysdeps/i386/fpu/e_logf.S: Likewise.
13795 * sysdeps/i386/fpu/e_logl.S: Likewise.
13796 * sysdeps/i386/fpu/e_pow.S: Likewise.
13797 * sysdeps/i386/fpu/e_powf.S: Likewise.
13798 * sysdeps/i386/fpu/e_powl.S: Likewise.
13799 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13800 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13801 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13803 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13804 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13805 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13806 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13807 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13821 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13822 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13825 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13826 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13829 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13832 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13833 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13834 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13835 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13836 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13837 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13838 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13839 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13840 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13841 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13842 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13843 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13844 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13845 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13846 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13847 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13848 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13849 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13891 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13893 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13896 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13899 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13900 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13901 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13902 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13903 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13904 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13905 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13906 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13907 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13908 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13909 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13910 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13911 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13912 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13914 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13915 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13916 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13917 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13918 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13919 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13920 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13921 (__isnanf): Likewise.
13922 (__isinf_ns): Likewise.
13923 (__isinf_nsf): Likewise.
13924 (__finite): Likewise.
13925 (__finitef): Likewise.
13926 (__ieee754_sqrt): Define as macro.
13927 (__ieee754_sqrtf): Define as macro.
13928 (__ieee754_sqrtl): Define as macro.
13929 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13930 inlined copy.
13931 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13932 __FINITE_MATH_ONLY__ consistent.
13933 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13934
12cc2fcd
AS
139352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13936
a843a204
AS
13937 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13938 of rawmemchr.
13939
12cc2fcd
AS
13940 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13941
c853acd5
UD
139422011-10-09 Ulrich Drepper <drepper@gmail.com>
13943
13944 * po/ja.po: Update from translation team.
13945
c658d255
RM
139462011-10-08 Roland McGrath <roland@hack.frob.com>
13947
110946e4
RM
13948 * locale/programs/locarchive.c (prepare_address_space): New function.
13949 (create_archive, enlarge_archive, open_archive): Use it.
13950
50604220
RM
13951 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13952 inside [SHARED], where it is used.
13953
c658d255
RM
13954 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13955
13956 * nss/getent.c (netgroup_keys): Remove unused variable.
13957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13958
6a621eb7
UD
139592011-10-08 Ulrich Drepper <drepper@gmail.com>
13960
7edb55ce
UD
13961 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13962 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13964 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13965 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13966 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13967 * math/Makefile (libm-calls): Add s_isinf_ns.
13968 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13969 * math/multc3.c: Likewise.
13970 * math/s_casin.c: Likewise.
13971 * math/s_casinf.c: Likewise.
13972 * math/s_casinl.c: Likewise.
13973 * math/s_ccos.c: Likewise.
13974 * math/s_ccosf.c: Likewise.
13975 * math/s_ccosl.c: Likewise.
13976 * math/s_ctan.c: Likewise.
13977 * math/s_ctanf.c: Likewise.
13978 * math/s_ctanh.c: Likewise.
13979 * math/s_ctanhf.c: Likewise.
13980 * math/s_ctanhl.c: Likewise.
13981 * math/s_ctanl.c: Likewise.
13982 * math/w_fmod.c: Likewise.
13983 * math/w_fmodf.c: Likewise.
13984 * math/w_fmodl.c: Likewise.
13985 * math/w_remainder.c: Likewise.
13986 * math/w_remainderf.c: Likewise.
13987 * math/w_remainderl.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13989 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13990 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13992 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13993 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13994 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13995 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13996
187da0ae
UD
13997 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13998 of the number.
13999 * stdio-common/printf_fphex.c: Likewise.
14000 * stdio-common/printf_size.c: Likewise.
14001
9277c064
UD
14002 * math/e_exp10.c: Include math_private.h using <...> not "...".
14003 * math/e_exp10f.c: Likewise.
14004 * math/e_exp10l.c: Likewise.
14005 * math/e_exp2l.c: Likewise.
14006 * math/e_j0l.c: Likewise.
14007 * math/e_j1l.c: Likewise.
14008 * math/e_jnl.c: Likewise.
14009 * math/e_lgammal_r.c: Likewise.
14010 * math/e_rem_pio2l.c: Likewise.
14011 * math/e_scalb.c: Likewise.
14012 * math/e_scalbf.c: Likewise.
14013 * math/e_scalbl.c: Likewise.
14014 * math/k_cosl.c: Likewise.
14015 * math/k_sinl.c: Likewise.
14016 * math/k_tanl.c: Likewise.
14017 * math/s_cacoshf.c: Likewise.
14018 * math/s_catan.c: Likewise.
14019 * math/s_catanf.c: Likewise.
14020 * math/s_catanh.c: Likewise.
14021 * math/s_catanhf.c: Likewise.
14022 * math/s_catanhl.c: Likewise.
14023 * math/s_catanl.c: Likewise.
14024 * math/s_ccosh.c: Likewise.
14025 * math/s_ccoshf.c: Likewise.
14026 * math/s_ccoshl.c: Likewise.
14027 * math/s_cexp.c: Likewise.
14028 * math/s_cexpf.c: Likewise.
14029 * math/s_cexpl.c: Likewise.
14030 * math/s_clog.c: Likewise.
14031 * math/s_clog10.c: Likewise.
14032 * math/s_clog10f.c: Likewise.
14033 * math/s_clog10l.c: Likewise.
14034 * math/s_clogf.c: Likewise.
14035 * math/s_clogl.c: Likewise.
14036 * math/s_csin.c: Likewise.
14037 * math/s_csinf.c: Likewise.
14038 * math/s_csinh.c: Likewise.
14039 * math/s_csinhf.c: Likewise.
14040 * math/s_csinhl.c: Likewise.
14041 * math/s_csinl.c: Likewise.
14042 * math/s_csqrt.c: Likewise.
14043 * math/s_csqrtf.c: Likewise.
14044 * math/s_csqrtl.c: Likewise.
14045 * math/s_ctan.c: Likewise.
14046 * math/s_ctanf.c: Likewise.
14047 * math/s_ctanh.c: Likewise.
14048 * math/s_ctanhf.c: Likewise.
14049 * math/s_ctanhl.c: Likewise.
14050 * math/s_ctanl.c: Likewise.
14051 * math/s_ldexp.c: Likewise.
14052 * math/s_ldexpf.c: Likewise.
14053 * math/s_ldexpl.c: Likewise.
14054 * math/s_significand.c: Likewise.
14055 * math/s_significandf.c: Likewise.
14056 * math/s_significandl.c: Likewise.
14057 * math/w_acos.c: Likewise.
14058 * math/w_acosf.c: Likewise.
14059 * math/w_acosh.c: Likewise.
14060 * math/w_acoshf.c: Likewise.
14061 * math/w_acoshl.c: Likewise.
14062 * math/w_acosl.c: Likewise.
14063 * math/w_asin.c: Likewise.
14064 * math/w_asinf.c: Likewise.
14065 * math/w_asinl.c: Likewise.
14066 * math/w_atan2.c: Likewise.
14067 * math/w_atan2f.c: Likewise.
14068 * math/w_atan2l.c: Likewise.
14069 * math/w_atanh.c: Likewise.
14070 * math/w_atanhf.c: Likewise.
14071 * math/w_atanhl.c: Likewise.
14072 * math/w_cosh.c: Likewise.
14073 * math/w_coshf.c: Likewise.
14074 * math/w_coshl.c: Likewise.
14075 * math/w_dremf.c: Likewise.
14076 * math/w_exp10.c: Likewise.
14077 * math/w_exp10f.c: Likewise.
14078 * math/w_exp10l.c: Likewise.
14079 * math/w_exp2.c: Likewise.
14080 * math/w_exp2f.c: Likewise.
14081 * math/w_fmod.c: Likewise.
14082 * math/w_fmodf.c: Likewise.
14083 * math/w_fmodl.c: Likewise.
14084 * math/w_hypot.c: Likewise.
14085 * math/w_hypotf.c: Likewise.
14086 * math/w_hypotl.c: Likewise.
14087 * math/w_j0.c: Likewise.
14088 * math/w_j0f.c: Likewise.
14089 * math/w_j0l.c: Likewise.
14090 * math/w_j1.c: Likewise.
14091 * math/w_j1f.c: Likewise.
14092 * math/w_j1l.c: Likewise.
14093 * math/w_jn.c: Likewise.
14094 * math/w_jnf.c: Likewise.
14095 * math/w_jnl.c: Likewise.
14096 * math/w_lgamma.c: Likewise.
14097 * math/w_lgamma_r.c: Likewise.
14098 * math/w_lgammaf.c: Likewise.
14099 * math/w_lgammaf_r.c: Likewise.
14100 * math/w_lgammal.c: Likewise.
14101 * math/w_lgammal_r.c: Likewise.
14102 * math/w_log.c: Likewise.
14103 * math/w_log10.c: Likewise.
14104 * math/w_log10f.c: Likewise.
14105 * math/w_log10l.c: Likewise.
14106 * math/w_log2.c: Likewise.
14107 * math/w_log2f.c: Likewise.
14108 * math/w_log2l.c: Likewise.
14109 * math/w_logf.c: Likewise.
14110 * math/w_logl.c: Likewise.
14111 * math/w_pow.c: Likewise.
14112 * math/w_powf.c: Likewise.
14113 * math/w_powl.c: Likewise.
14114 * math/w_remainder.c: Likewise.
14115 * math/w_remainderf.c: Likewise.
14116 * math/w_remainderl.c: Likewise.
14117 * math/w_scalb.c: Likewise.
14118 * math/w_scalbf.c: Likewise.
14119 * math/w_scalbl.c: Likewise.
14120 * math/w_sinh.c: Likewise.
14121 * math/w_sinhf.c: Likewise.
14122 * math/w_sinhl.c: Likewise.
14123 * math/w_sqrt.c: Likewise.
14124 * math/w_sqrtf.c: Likewise.
14125 * math/w_sqrtl.c: Likewise.
14126 * math/w_tgamma.c: Likewise.
14127 * math/w_tgammaf.c: Likewise.
14128 * math/w_tgammal.c: Likewise.
14129
6a621eb7
UD
14130 * po/ja.po: Update from translation team.
14131
bf582445
AJ
141322011-09-29 Andreas Jaeger <aj@suse.de>
14133
f9efbf3a
AJ
14134 [BZ #13179]
14135 * sunrpc/netname.c (netname2host): Fix logic.
14136
bf582445
AJ
14137 [BZ #6779]
14138 [BZ #6783]
14139 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14140 correctly.
14141 * math/w_remainder.c (__remainder): Likewise.
14142 * math/w_remainderf.c (__remainderf): Likewise.
14143 * math/libm-test.inc (remainder_test): Add test cases.
14144
48693bea
AK
141452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14146
14147 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14148 sdiv_qrnnd.
14149
42622229
LD
141502011-10-07 Ulrich Drepper <drepper@gmail.com>
14151
14152 * string/test-memcmp.c: Avoid unncessary #defines.
14153 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14154
093ecf92
LD
141552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14156
14157 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14158 Use new sse2 version for core i3 - i7 as it's faster
14159 than sse42 version.
14160 (bit_Prefer_PMINUB_for_stringop): New.
14161 * sysdeps/x86_64/rawmemchr.S: Update.
14162 Replace with faster SSE2 version.
14163 * sysdeps/x86_64/memrchr.S: New file.
14164 * sysdeps/x86_64/memchr.S: Update.
14165 Replace with faster SSE2 version.
14166
fde56e5c
MP
141672011-09-12 Marek Polacek <mpolacek@redhat.com>
14168
14169 * elf/dl-load.c (lose): Add cast to avoid warning.
14170
21fd49a9
UD
141712011-10-07 Ulrich Drepper <drepper@gmail.com>
14172
5a06e643
UD
14173 * po/ca.po: Update from translation team.
14174
684ae515
UD
14175 * inet/getnetgrent_r.c: Hook up nscd.
14176 * nscd/Makefile (routines): Add nscd_netgroup.
14177 (nscd-modules): Add netgroupcache.
14178 (CFLAGS-netgroupcache.c): Define.
14179 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14180 (cache_search): Add const to second parameter.
14181 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14182 INNETGR.
14183 (dbs): Add netgrdb entry.
14184 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14185 (verify_persistent_db): Handle netgrdb.
14186 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14187 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14188 GETFDNETGR.
14189 (netgroup_response_header): Define.
14190 (innetgroup_response_header): Define.
14191 (datahead): Add netgroup_response_header and innetgroup_response_header
14192 elements.
14193 * nscd/nscd.conf: Add entries for netgroup cache.
14194 * nscd/nscd.h (dbtype): Add netgrdb.
14195 (_PATH_NSCD_NETGROUP_DB): Define.
14196 (netgroup_iov_disabled): Declare.
14197 (xmalloc, xcalloc, xrealloc): Move declarations here.
14198 (cache_search): Adjust prototype.
14199 Add netgroup-related prototypes.
14200 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14201 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14202 (__nscd_innetgr): Declare.
14203 * nscd/selinux.c (perms): Use access_vector_t as element type and
14204 add netgroup-related initializers.
14205 * nscd/netgroupcache.c: New file.
14206 * nscd/nscd_netgroup.c: New file.
14207 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14208 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14209 For four parameters use innetgr.
14210 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14211 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14212 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14213 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14214
21fd49a9
UD
14215 * nscd/connections.c (register_traced_file): Don't register file
14216 for disabled databases.
14217
054c0457
UD
142182011-10-06 Ulrich Drepper <drepper@gmail.com>
14219
32b63198
UD
14220 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14221
054c0457
UD
14222 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14223 from tree and freeing node.
14224
64031225
JO
142252011-09-25 Jiri Olsa <jolsa@redhat.com>
14226
14227 * nss/nsswitch.c (__nss_database_lookup): Handle
14228 nss_parse_service_list out of memory case.
14229
0490345c
JO
142302011-09-15 Jiri Olsa <jolsa@redhat.com>
14231
14232 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14233 out of memory case.
14234
3a62d00d
AS
142352011-10-04 Andreas Schwab <schwab@redhat.com>
14236
14237 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14238 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14239 pass it down.
14240 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14241 elf_machine_rela, elf_machine_lazy_rel.
14242 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14243 (ELF_DYNAMIC_DO_REL): Likewise.
14244 (ELF_DYNAMIC_DO_RELA): Likewise.
14245 (ELF_DYNAMIC_RELOCATE): Likewise.
14246 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14247 to ELF_DYNAMIC_DO_REL.
14248 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14249 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14250 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14251 elf_machine_rela.
14252 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14253 skip_ifunc, don't call ifunc function if non-zero.
14254 (elf_machine_rela): Likewise.
14255 (elf_machine_lazy_rel): Likewise.
14256 (elf_machine_lazy_rela): Likewise.
14257 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14258 (elf_machine_lazy_rel): Likewise.
14259 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14260 Likewise.
14261 (elf_machine_lazy_rel): Likewise.
14262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14263 Likewise.
14264 (elf_machine_lazy_rel): Likewise.
14265 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14266 (elf_machine_lazy_rel): Likewise.
14267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14268 (elf_machine_lazy_rel): Likewise.
14269 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14270 (elf_machine_lazy_rel): Likewise.
14271 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14272 (elf_machine_lazy_rel): Likewise.
14273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14274 (elf_machine_lazy_rel): Likewise.
14275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14276 (elf_machine_lazy_rel): Likewise.
14277
68577918
UD
142782011-09-28 Ulrich Drepper <drepper@gmail.com>
14279
14280 * nss/nss_files/files-init.c (_nss_files_init): Use static
14281 initialization for all the *_traced_file variables.
14282
68822d74
AS
142832011-09-28 Andreas Schwab <schwab@redhat.com>
14284
14285 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14286
2056100b
RM
142872011-09-27 Roland McGrath <roland@hack.frob.com>
14288
14289 [BZ #13226]
14290 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14291
32c76b63
AS
142922011-09-27 Andreas Schwab <schwab@redhat.com>
14293
14294 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14295 Reread the line before reparsing it.
14296
bf972c9d
AS
142972011-09-26 Andreas Schwab <schwab@redhat.com>
14298
14299 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14300
e057a1b5
JM
143012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14302 Maxim Kuvyrkov <maxim@codesourcery.com>
14303 Joseph Myers <joseph@codesourcery.com>
14304
14305 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14306 if needed for __stack_chk_guard.
14307
bc7e1c36
RM
143082011-09-19 Roland McGrath <roland@hack.frob.com>
14309
ecb1482f
RM
14310 * sysdeps/posix/spawni.c (script_execute): Always define it.
14311 It will be optimized away if unused.
14312 (maybe_script_execute): New function.
14313 (__spawni): Call it.
14314
bc7e1c36
RM
14315 * Makerules: Don't include tls.make.
14316 (config-tls): Always set to thread.
14317 * tls.make.c: File removed.
14318
1c3b002b
MF
143192011-09-19 Mike Frysinger <vapier@gentoo.org>
14320
14321 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14322 * config.make.in (CPPFLAGS-config): New substituted variable.
14323
2840865d
UD
143242011-09-15 Ulrich Drepper <drepper@gmail.com>
14325
88738eb6
UD
14326 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14327
cbf645a6 14328 [BZ #13192]
2840865d
UD
14329 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14330 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14331
b402e91a
RM
143322011-09-15 Roland McGrath <roland@hack.frob.com>
14333
14334 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14335 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14337 (CALL_FAIL): Likewise.
14338 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14339 (CALL_FAIL): Macro removed.
14340 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14341
4c1a1f71
UD
143422011-09-15 Ulrich Drepper <drepper@gmail.com>
14343
14344 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14345 for __FINITE_MATH_ONLY__ == 1.
14346
edc121be
AS
143472011-09-15 Andreas Schwab <schwab@redhat.com>
14348
14349 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14350 __ieee754_sqrt instead of sqrt.
14351 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14352 __ieee754_sqrtf instead of sqrtf.
14353 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14354 __floorf instead of floorf.
14355 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14356 __floorf, __truncf instead of floorf, truncf.
14357
cd205654
UD
143582011-09-14 Ulrich Drepper <drepper@gmail.com>
14359
ee4d0315
UD
14360 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14361
cd205654
UD
14362 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14363 __extern_always_inline.
14364 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14365 32-bit.
14366
48b67d71
AS
143672011-09-14 Andreas Schwab <schwab@redhat.com>
14368
14369 * elf/rtld.c (dl_main): Also relocate in dependency order when
14370 doing symbol dependency testing.
14371
1ae12c75
AS
143722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14373
14374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14375 Always define `refsym'.
14376
995a80df
AS
143772011-09-13 Andreas Schwab <schwab@redhat.com>
14378
e529793b
AS
14379 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14380 (__FD_ELT): Renamed from __FDELT.
14381 * misc/bits/select2.h (__FD_ELT): Likewise.
14382 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14383 __FD_MASK instead of __FDELT, __FDMASK.
14384 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14385 Likewise.
14386 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14387 Likewise.
14388
52d4fef8
AS
14389 * elf/Makefile (gen-ldd): Fix pattern.
14390
995a80df
AS
14391 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14392 (init_tls): Likewise.
14393
8682f8b0
UD
143942011-09-12 Ulrich Drepper <drepper@gmail.com>
14395
14396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14397
de82006d
AS
143982011-09-12 Andreas Schwab <schwab@redhat.com>
14399
a7c8e6a1
AS
14400 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14401 `struct cmsghdr *' instead of `void *'.
14402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14403 Likewise.
14404
0f31fe77
AS
144052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14406
14407 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14408 if non-absolute.
14409 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14410 ldd_rewrite_script.
0f31fe77 14411
32b4c839
UD
144122011-09-11 Ulrich Drepper <drepper@gmail.com>
14413
83cd1420
UD
14414 * configure.in: Remove --with-tls option.
14415 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14416 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14417 out in case it is missing.
14418 * sysdeps/ia64/elf/configure.in: Likewise.
14419 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14420 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14421 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14422 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14423 * sysdeps/sh/elf/configure.in: Likewise.
14424 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14425 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14426 * sysdeps/x86_64/elf/configure.in: Likewise.
14427 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14428 * sysdeps/mach/hurd/tls.h: Likewise.
14429
633f745d
UD
14430 [BZ #13067]
14431 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14432
f318beb8
UD
14433 [BZ #13090]
14434 * configure.in: Fix use of AC_INIT.
14435
32b4c839
UD
14436 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14437
3ce1f295
UD
144382011-09-10 Ulrich Drepper <drepper@gmail.com>
14439
bb016596
UD
14440 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14441 __set_errno.
8e58439c
UD
14442 * malloc/hooks.c: Likewise.
14443
aebae053 14444 [BZ #11929]
02d46fc4
UD
14445 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14446 variables statically.
14447 (narenas): Initialize.
14448 (list_lock): Initialize.
bb016596
UD
14449 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14450 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14451 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14452 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14453 Add initializers to main_arena and mp_.
14454 (malloc_state): Remove pagesize member. Change all users to use
14455 GLRO(dl_pagesize).
14456
14457 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14458 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14459 is always initialized.
14460
22a89187
UD
14461 * malloc/malloc.c: Removed unused configurations and dead code.
14462 * malloc/arena.c: Likewise.
14463 * malloc/hooks.c: Likewise.
02d46fc4 14464 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14465
d063d164
UD
14466 * include/tls.h: Removed. USE___THREAD must always be defined.
14467 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14468 * elf/dl-libc.c: Likewise.
14469 * elf/dl-tsd.c: Likewise.
14470 * include/errno.h: Likewise.
14471 * include/netdb.h: Likewise.
14472 * include/resolv.h: Likewise.
14473 * inet/herrno-loc.c: Likewise.
14474 * inet/herrno.c: Likewise.
14475 * malloc/arena.c: Likewise.
14476 * malloc/hooks.c: Likewise.
14477 * malloc/malloc.c: Likewise.
14478 * resolv/res-state.c: Likewise.
14479 * resolv/res_libc.c: Likewise.
14480 * sysdeps/i386/dl-machine.h: Likewise.
14481 * sysdeps/ia64/dl-machine.h: Likewise.
14482 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14483 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14484 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14485 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14486 * sysdeps/sh/dl-machine.h: Likewise.
14487 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14488 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14489 * sysdeps/unix/i386/sysdep.S: Likewise.
14490 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14491 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14496 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14500 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14501 * sysdeps/x86_64/dl-machine.h: Likewise.
14502 * tls.make.c: Likewise.
14503
3ce1f295
UD
14504 * configure.in: Remove --with-__thread option. Make tests for
14505 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14506 tls_model attribute fail if no support is available. Remove
14507 USE_IN_LIBIO.
14508 * Makeconfig: Adjust for dropped configure option. All features are
14509 now mandatory.
14510 * Makerules: Likewise.
14511 * Versions.def: Likewise.
14512 * argp/argp-fmtstream.c: Likewise.
14513 * argp/argp-fmtstream.h: Likewise.
14514 * argp/argp-help.c: Likewise.
14515 * assert/assert.c: Likewise.
14516 * config.h.in: Likewise.
14517 * config.make.in: Likewise.
14518 * configure: Likewise.
14519 * configure.in: Likewise.
14520 * csu/Versions: Likewise.
14521 * csu/init.c: Likewise.
14522 * elf/tst-audit2.c: Likewise.
14523 * elf/tst-tls10.c: Likewise.
14524 * elf/tst-tls10.h: Likewise.
14525 * elf/tst-tls11.c: Likewise.
14526 * elf/tst-tls12.c: Likewise.
14527 * elf/tst-tls14.c: Likewise.
14528 * elf/tst-tlsmod11.c: Likewise.
14529 * elf/tst-tlsmod12.c: Likewise.
14530 * elf/tst-tlsmod13.c: Likewise.
14531 * elf/tst-tlsmod13a.c: Likewise.
14532 * elf/tst-tlsmod14a.c: Likewise.
14533 * elf/tst-tlsmod15b.c: Likewise.
14534 * elf/tst-tlsmod16a.c: Likewise.
14535 * elf/tst-tlsmod16b.c: Likewise.
14536 * elf/tst-tlsmod7.c: Likewise.
14537 * elf/tst-tlsmod8.c: Likewise.
14538 * elf/tst-tlsmod9.c: Likewise.
14539 * gmon/gmon.c: Likewise.
14540 * grp/fgetgrent_r.c: Likewise.
14541 * grp/putgrent.c: Likewise.
14542 * hurd/fopenport.c: Likewise.
14543 * include/libc-symbols.h: Likewise.
14544 * include/tls.h: Likewise.
14545 * intl/gettextP.h: Likewise.
14546 * intl/loadinfo.h: Likewise.
14547 * locale/global-locale.c: Likewise.
14548 * locale/localeinfo.h: Likewise.
14549 * mach/devstream.c: Likewise.
14550 * malloc/arena.c: Likewise.
14551 * malloc/set-freeres.c: Likewise.
14552 * misc/err.c: Likewise.
14553 * misc/getttyent.c: Likewise.
14554 * misc/mntent_r.c: Likewise.
14555 * posix/getopt.c: Likewise.
14556 * posix/wordexp.c: Likewise.
14557 * pwd/fgetpwent_r.c: Likewise.
14558 * resolv/Versions: Likewise.
14559 * resolv/res_hconf.c: Likewise.
14560 * shadow/fgetspent_r.c: Likewise.
14561 * shadow/putspent.c: Likewise.
14562 * stdio-common/printf_fphex.c: Likewise.
14563 * stdio-common/tmpfile.c: Likewise.
14564 * stdlib/abort.c: Likewise.
14565 * stdlib/fmtmsg.c: Likewise.
14566 * sunrpc/auth_unix.c: Likewise.
14567 * sunrpc/clnt_perr.c: Likewise.
14568 * sunrpc/clnt_tcp.c: Likewise.
14569 * sunrpc/clnt_udp.c: Likewise.
14570 * sunrpc/clnt_unix.c: Likewise.
14571 * sunrpc/openchild.c: Likewise.
14572 * sunrpc/svc_simple.c: Likewise.
14573 * sunrpc/svc_tcp.c: Likewise.
14574 * sunrpc/svc_udp.c: Likewise.
14575 * sunrpc/svc_unix.c: Likewise.
14576 * sunrpc/xdr.c: Likewise.
14577 * sunrpc/xdr_array.c: Likewise.
14578 * sunrpc/xdr_rec.c: Likewise.
14579 * sunrpc/xdr_ref.c: Likewise.
14580 * sunrpc/xdr_stdio.c: Likewise.
14581
1248c1c4
PB
145822011-09-09 Ulrich Drepper <drepper@gmail.com>
14583
14584 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14585
145862011-07-03 Andreas Jaeger <aj@suse.de>
14587
14588 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14589 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14590 regenerate with gen-libm-tests.pl.
14591
145922010-05-12 Petr Baudis <pasky@suse.cz>
14593
14594 [BZ #11589]
14595 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14596 around j0() zero points by switching to j1().
14597 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14601
f22e1074
UD
146022011-09-09 Ulrich Drepper <drepper@gmail.com>
14603
f19009c1
UD
14604 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14605 instead of 0.
14606 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14607 instead of 0. .
14608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14609 Patch in part by Pavel Roskin <proski@gnu.org>.
14610
3f8cc204
UD
14611 [BZ #13138]
14612 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14613 realloc.
14614 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14615 Free memory block if necessary.
14616
f22e1074
UD
14617 [BZ #12847]
14618 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14619 be NULL. Don't lock in this case.
14620
0a2349f9
RM
146212011-09-09 Roland McGrath <roland@hack.frob.com>
14622
14623 * elf/elf.h (ELFOSABI_GNU): New macro.
14624 (ELFOSABI_LINUX): Define to that.
14625
f3cdd467
DZ
146262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14627
14628 * string/strncat.c (strncat): Undef the symbol in case it has been
14629 defined in bits/string.h.
14630
74718d13
UD
146312011-09-09 Ulrich Drepper <drepper@gmail.com>
14632
633e9e0f
UD
14633 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14634
0a2349f9 14635 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14636 link map.
14637
f9924780
AJ
146382011-08-17 Andreas Jaeger <aj@suse.de>
14639
14640 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14641
7f5517aa
PP
146422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14643 Ian Lance Taylor <iant@google.com>
14644
14645 * math/libm-test.inc (lround_test): New testcase.
14646 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14647
762011fe
UD
146482011-09-08 Ulrich Drepper <drepper@gmail.com>
14649
92963737
UD
14650 * Makefile: Remove support for automatic cvs check-ins.
14651 * Makerules: Likewise.
14652 * config.make.in: Likewise.
14653 * configure.in: Likewise.
14654 * intl/Makefile: Likewise.
14655 * locale/Makefile: Likewise.
14656 * po/Makefile: Likewise.
14657 * posix/Makefile: Likewise.
14658 * sysdeps/gnu/Makefile: Likewise.
14659 * sysdeps/mach/hurd/Makefile: Likewise.
14660 * sysdeps/sparc/sparc32/Makefile: Likewise.
14661
b0727fd8
JS
14662 [BZ #13118]
14663 * posix/Makefile (bug-regex32-ENV): Define.
14664 Patch by John Stanley <jpsinthemix@verizon.net>.
14665
a0f33f99
UD
14666 * misc/Makefile (headers): Add bits/select2.h.
14667 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14668 * misc/bits/select2.h: New file.
14669 * include/bits/select2.h: New file.
14670 * debug/Makefile (routines): Add fdelt_chk.
14671 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14672 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14673 FD_ISSET.
14674 * debug/fdelt_chk.c: New file.
14675
762011fe
UD
14676 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14677 * wcsmbs/test-wmemcmp.c: Likewise.
14678 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14679 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14680
146812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14682
14683 * string/Makefile (strop-tests): Add memcmp.
14684 * string/test-wmemcmp.c: New file.
14685 * string/test-memcmp.c: Add wmemcmp support.
14686
7f513ec8
RM
146872011-09-08 Roland McGrath <roland@hack.frob.com>
14688
0442afb4
RM
14689 [BZ #13153]
14690 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14691 2011-07-19 change.
14692
7f513ec8
RM
14693 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14694 garbage value in a __mach_port_mod_refs call in the cases of the
14695 task-self and thread-self ports.
14696
a12b2239
ST
146972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14698
14699 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14700
610f9ab4
AS
147012011-09-08 Andreas Schwab <schwab@redhat.com>
14702
7f513ec8 14703 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14704
48882a1a
LD
147052011-09-07 Ulrich Drepper <drepper@gmail.com>
14706
b49865be
UD
14707 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14708
fdc86bc9
UD
14709 * elf/dl-libc.c (dlerror_run): Pass back error code from
14710 dl_catch_error.
14711
c966526a
UD
14712 [BZ #13123]
14713 * elf/dl-load.c (lose): Free l_origin if it is valid.
14714
48882a1a
LD
14715 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14716 names.
14717 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14718 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14719 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14720 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14721 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14722 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14723
77a2a8b4
AZ
147242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14725
14726 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14727 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14728 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14729 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14730 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14731 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14732 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14733 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14734 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14735 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14736
24f579d8
AM
147372011-08-15 Alan Modra <amodra@gmail.com>
14738
14739 [BZ #13092]
14740 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14741 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14742 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14743 ppc_mcount to static-only-routines.
14744 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14745 __mcount_internal.
14746 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14747 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14748
3d4837df
UD
147492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14750
14751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14752 for finite and infinity parameters.
14753
22700377
WS
147542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14755
14756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14757 and add nop instructions for throughput optimization.
14758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14759
5025581e
WS
147602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14761
14762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14763 aligned copy for power7 with vector-scalar instructions.
14764 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14765
08a300c9
L
147662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14767
14768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14769 AVX check.
14770
59178ef9
AS
147712011-09-07 Andreas Schwab <schwab@redhat.com>
14772
14773 [BZ #13144]
14774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14775 last change.
14776
e38ba7ab
UD
147772011-09-07 Ulrich Drepper <drepper@gmail.com>
14778
14779 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14780 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14781 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14782 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14783 clock_gettime.
14784
d53a73ac
UD
147852011-09-06 Ulrich Drepper <drepper@gmail.com>
14786
fc8bffcc
UD
14787 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14788 Forgot to demangle the pointer.
14789
ceaa0c5d
UD
14790 * sysdeps/i386/sysdep.h: Define atom_text_section.
14791 * sysdeps/x86_64/sysdep.h: Likewise.
14792 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14793 section with atom_text_section.
14794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14795 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14796 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14798 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14799
a77d3c17
UD
14800 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14802 already be defined. Change to take two parameters and don't assign
14803 result to variable. Adjust all users.
14804 Define INTERNAL_GETTIME if not already defined.
14805 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14806 call.
14807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14808 HAVE_CLOCK_GETTIME_VSYSCALL.
14809 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14810
d53a73ac
UD
14811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14812 gettimeofday vsyscall, just use time.
14813
a8f84144
AS
148142011-09-06 Andreas Schwab <schwab@redhat.com>
14815
14816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14817 <errno.h>.
14818
ef606249
UD
148192011-09-06 Ulrich Drepper <drepper@gmail.com>
14820
14821 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14822 syscall on x86-64.
14823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14824 syscall.
14825 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14827 syscall if possible.
14828
6585cb60
UD
148292011-09-05 Ulrich Drepper <drepper@gmail.com>
14830
14831 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14832 e_ident. Don't pass to find_mapsXX.
14833 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14834
a5f524e4
LD
148352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14836
14837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14838 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14839 * sysdeps/x86_64/multiarch/strchr.S: Update.
14840 Check bit_slow_BSF bit.
14841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14842 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14843 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14844
554881ef
UD
148452011-09-05 Ulrich Drepper <drepper@gmail.com>
14846
d96de963
UD
14847 [BZ #13134]
14848 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14849 before glibc 2.15.
14850 (tryshell): Define.
14851 (__spawni): Change last parameter to be flag. Test
14852 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14853 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14854 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14855 * posix/spawni.c: Likewise.
14856 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14857 * posix/spawnp.c: Likewise. Change normal version to use
14858 SPAWN_XFLAGS_USE_PATH.
14859 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14860 SPAWN_XFLAGS_TRY_SHELL.
14861
d48e5868
UD
14862 [BZ #13150]
14863 * posix/glob.h: Remove gcc 1.x support.
14864
554881ef
UD
14865 [BZ #13068]
14866 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14867
693fb948
LD
148682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14869
14870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14871 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14872 strrchr-sse2-bsf
14873 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14874 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14875 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14876 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14877 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14878 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14879
1b48c537
UD
148802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14881
49d42c37
UD
14882 * sysdeps/x86_64/wcscmp.S: New file.
14883
1b48c537
UD
14884 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14885 wcscmp-c wcscmp-sse2
14886 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14887 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14888 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14889 * wcsmbs/wcscmp.c: Allow renaming.
14890
15c95c5d
DM
148912011-09-05 David S. Miller <davem@davemloft.net>
14892
14893 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14894 stack slot, rather than the struct return pointer slot.
14895 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14896 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14898 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14899
2f0ad8f3
UD
149002011-09-05 Ulrich Drepper <drepper@gmail.com>
14901
d88ae418
UD
14902 * po/ja.po: Update from translation team.
14903
2f0ad8f3
UD
14904 [BZ #13144]
14905 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14906 kernel in 64-bit binaries.
14907
5f4318d1
DM
149082011-09-01 David S. Miller <davem@davemloft.net>
14909
14910 * elf/elf.h (HWCAP_SPARC_*): Move to..
14911 * sysdeps/sparc/sysdep.h: this new file and add new values.
14912 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14913 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14914 _DL_HWCAP_COUNT to 24.
14915 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14916 entries.
14917 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14918 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14919 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14921 instead of magic constants.
14922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14923
3ba57516
DM
149242011-08-31 David S. Miller <davem@davemloft.net>
14925
14926 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14928 Reimplement to do errno handling inline.
14929 (SYSCALL_ERROR_HANDLER): New macro.
14930 (__SYSCALL_STRING): Do not do errno handling in asm.
14931 (__CLONE_SYSCALL_STRING): Delete.
14932 (__INTERNAL_SYSCALL_STRING): Delete.
14933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14934 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14935 (PSEUDO): Reimplement to do errno handling inline.
14936 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14937 (SYSCALL_ERROR_HANDLER): New macro.
14938 (__SYSCALL_STRING): Do not do errno handling in asm.
14939 (__CLONE_SYSCALL_STRING): Delete.
14940 (__INTERNAL_SYSCALL_STRING): Delete.
14941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14942 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14943 i386.
14944 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14945 (inline_syscall*): Add 'err' argument.
14946 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14947 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14948 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14949 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14950
14951 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14952 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14953
2bc17433
AS
149542011-08-30 Andreas Schwab <schwab@redhat.com>
14955
14956 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14957
fbeb5f4d
JO
149582011-08-29 Jiri Olsa <jolsa@redhat.com>
14959
14960 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14961 directive.
14962
ad69cc26
DM
149632011-08-24 David S. Miller <davem@davemloft.net>
14964
14965 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14966
39dd69df
AS
149672011-08-24 Andreas Schwab <schwab@redhat.com>
14968
14969 * elf/Makefile: Add rules to build and run unload8 test.
14970 * elf/unload8.c: New file.
14971 * elf/unload8mod1.c: New file.
14972 * elf/unload8mod1x.c: New file.
14973 * elf/unload8mod2.c: New file.
14974 * elf/unload8mod3.c: New file.
14975
14976 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14977 it wasn't used.
14978
2c0b250a
DM
149792011-08-23 David S. Miller <davem@davemloft.net>
14980
14981 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14982 subtract stack bias.
14983 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14984 %sp not %fp in calculations.
14985 (_JMPBUF_UNWINDS_ADJ): Likewise.
14986
22044b48
DM
14987 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14988 (aio_suspend): Call it to force an exception region around the
14989 AIO_MISC_WAIT() invocation.
14990
2cae4995
AS
149912011-08-23 Andreas Schwab <schwab@redhat.com>
14992
14993 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14994 backslash.
14995
873a772e
AJ
149962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14997
14998 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14999 protection macro.
15000 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15001 and <dl-machine.h>.
15002 (Elf64_FuncDesc): Remove.
15003
25ad0df1
DM
150042011-08-22 David S. Miller <davem@davemloft.net>
15005
15006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15007 sigaltstack check, add missing cfi directives.
15008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15009 missing cfi directives, and sigaltstack handling.
15010
e888bcbe
AS
150112011-08-16 Andreas Schwab <schwab@redhat.com>
15012
15013 [BZ #11724]
15014 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15015 object is seen twice.
15016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15017
15018 * elf/Makefile (distribute): Add tst-initorder2.c.
15019 (tests): Add tst-initorder2.
15020 (modules-names): Add tst-initorder2a tst-initorder2b
15021 tst-initorder2c tst-initorder2d. Add rules to build them.
15022 ($(objpfx)tst-initorder2.out): New rule.
15023 * elf/tst-initorder2.c: New file.
15024 * elf/tst-initorder2.exp: New file.
15025
87162f46
AS
150262011-08-22 Andreas Schwab <schwab@redhat.com>
15027
70538b7f
AS
15028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15029
f55ffe58
AS
15030 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15031 dependencies back to end of function.
15032
87162f46
AS
15033 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15034 $(elfobjdir)/ld.so.
15035
91b392a4
UD
150362011-08-21 Ulrich Drepper <drepper@gmail.com>
15037
15038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15039 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15040 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15041 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15042 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15043 of __vdso_gettimeofday.
15044 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15045 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15046 attribute_hidden.
15047 (_libc_vdso_platform_setup): Remove initialization of
15048 __vdso_gettimeofday and __vdso_time.
15049
5c43483f
UD
150502011-08-20 Ulrich Drepper <drepper@gmail.com>
15051
775a77e7
UD
15052 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15053 and fgetc_unlocked.
15054 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15055 getc_unlocked.
89f447ed 15056
49c74ba9
UD
15057 * elf/dl-open.c (add_to_global): Report additions to the global scope
15058 for LD_DEBUG=scopes.
15059 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15060 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15061
5c43483f
UD
15062 [BZ #13114]
15063 * stdio-common/Makefile (tests): Add bug24.
15064 * stdio-common/bug24.c: New file.
15065
a101b025
AJ
150662011-08-19 Andreas Jaeger <aj@suse.de>
15067
15068 [BZ #13114]
15069 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15070 non-existant file when using close-on-exec mode.
15071
c88f1766
UD
150722011-08-20 Ulrich Drepper <drepper@gmail.com>
15073
0276a718
UD
15074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15075 the very first instruction.
15076
c88f1766
UD
15077 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15078 the CFI state in the end.
15079 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15080 inclusion of dl-trampoline.h.
15081 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15082
51ccffa0
AS
150832011-08-19 Andreas Schwab <schwab@redhat.com>
15084
94d7165f
AS
15085 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15086 expectations for long double.
15087
51ccffa0
AS
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15089 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15090
fd708658 150912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15092
15093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15094 artificual limit depends upon the system page size.
15095
44f0a71e
UD
150962011-08-17 Ulrich Drepper <drepper@gmail.com>
15097
15098 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15099 * resolv/Makefile: Define CFLAGS-libresolv.
15100
8de79a24
AS
151012011-08-17 Andreas Schwab <schwab@redhat.com>
15102
15103 * nss/makedb.c (compute_tables): Make variables used in nested
15104 function static.
15105
27724598
UD
151062011-08-17 Ulrich Drepper <drepper@gmail.com>
15107
c5305d88
UD
15108 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15109 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15110 if buffer was too small.
15111
27724598
UD
15112 * elf/pldd.c (main): Attach to all threads in the process.
15113 Rewrite /proc handling to use *at functions.
15114
076fe015
UD
151152011-08-16 Ulrich Drepper <drepper@gmail.com>
15116
174baab3
UD
15117 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15118 specifies first scope to show.
15119 (dl_open_worker): Update callers. Move printing scope of new
15120 object to before the relocation.
44f0a71e 15121 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15122 * sysdeps/generic/ldsodefs.h: Update declaration.
15123
076fe015
UD
15124 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15125 string for the scope number.
15126
a60df2c3
UD
151272011-08-14 Ulrich Drepper <drepper@gmail.com>
15128
15129 * nscd/servicescache.c (cache_addserv): Make sure written is always
15130 initialized.
15131
5e4287d1
RM
151322011-08-14 Roland McGrath <roland@hack.frob.com>
15133
85ae0589
RM
15134 * sysdeps/i386/i486/bits/atomic.h
15135 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15136 statement expression, so as to suppress "set but not used" warning.
15137 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15138
69f63097
RM
15139 * string/strncat.c (STRNCAT): Use prototype definition.
15140
675456ef
RM
15141 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15142 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15143 -Iprograms here.
15144 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15145 (localedef-modules): Add localedef.
15146 (locale-modules): Add locale.
15147
5e4287d1
RM
15148 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15149 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15150 to avoid a warning.
15151
9c96ff23
DM
151522011-08-14 David S. Miller <davem@davemloft.net>
15153
15154 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15155 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15156
f9ddf089
UD
151572011-08-13 Ulrich Drepper <drepper@gmail.com>
15158
44f0a71e 15159 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15160 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15161 * elf/rtld.c (dl_main): Set l_name of vDSO.
15162 Call _dl_show_scope when DL_DEBUG_SCOPES.
15163 (process_dl_debug): Recognize scopes flag and also set it for all.
15164 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15165 Declare _dl_show_scope.
15166
1dc27704
UD
15167 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15168 (do_dlopen): Pass caller_dlopen to dl_open.
15169 (__libc_dlopen_mode): Initialize caller_dlopen.
15170
f9ddf089
UD
15171 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15172 of libc. Make tolower call locale-independent. Optimize a bit by
15173 using isdigit instead of isalnum.
15174 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15175
9ac533d3
UD
151762011-08-12 Ulrich Drepper <drepper@gmail.com>
15177
15178 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15179 was a dependency or dynamically loaded.
15180
89edf2e9
UD
151812011-08-11 Ulrich Drepper <drepper@gmail.com>
15182
8e999d29
UD
15183 * intl/l10nflist.c: Allow architecture-specific pop function.
15184 * sysdeps/x86_64/l10nflist.c: New file.
15185
89edf2e9
UD
15186 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15187 classification.
15188
14d96785
AS
151892011-08-10 Andreas Schwab <schwab@redhat.com>
15190
15191 * include/dirent.h: Add libc_hidden_proto for scandirat and
15192 scandirat64. Don't declare __scandirat64.
15193 * dirent/scandirat.c: Add libc_hidden_def.
15194 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15195 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15196
6761ac04
DM
151972011-08-10 David S. Miller <davem@davemloft.net>
15198
15199 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15200 enum.
15201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15203 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15204
c55fbd1e
UD
152052011-08-09 Ulrich Drepper <drepper@gmail.com>
15206
15207 * Versions.def [libc]: Add GLIBC_2.15.
15208 * dirent/Makefile (routines): Add scandirat and scandirat64.
15209 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15210 GLIBC_2.15.
15211 * dirent/dirent.h: Declare scandirat and scandirat64.
15212 * dirent/scandirat.c: New file.
15213 * dirent/scandirat64.c: New file.
15214 * sysdeps/wordsize-64/scandirat.c: New file.
15215 * sysdeps/wordsize-64/scandirat64.c: New file.
15216 * dirent/opendir.c: Define opendirat.
15217 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15218 using scandirat.
15219 * dirent/scandir64.c: Adjust for scandir.c change.
15220 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15221 __scandirat64, and __scandir_cancel_handler.
15222 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15223 additional parameter and use openat instead of open (outside of ld.so).
15224 Add new __opendir as wrapper around __opendirat.
15225 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15226 here without requiring old scandirat implementation.
15227
879165f2
UD
152282011-08-08 Ulrich Drepper <drepper@gmail.com>
15229
15230 * dirent/scandir.c (cancel_handler): Renamed to
15231 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15232 defined. Adjust users.
15233 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15234 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15235
cb7e923b
UD
152362011-08-04 Ulrich Drepper <drepper@gmail.com>
15237
16292edd
UD
15238 * string/test-string.h (IMPL): Use __STRING to expand name and then
15239 stringify it.
15240
cb7e923b
UD
15241 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15242 of cleanups.
15243
cff82933
LD
152442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15245
15246 * string/Makefile: Update.
15247 (strop-tests): Append strncat.
15248 * string/test-wcscmp.c: New file.
15249 New comprehensive test for wcscmp.
15250 * string/test-strcmp.c: Update.
15251 (WIDE): New define.
15252
9be9bfcc
AS
152532011-07-22 Andreas Schwab <schwab@redhat.com>
15254
15255 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15256 line.
15257
2e96f1c7
AS
152582011-07-26 Andreas Schwab <schwab@redhat.com>
15259
15260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15261 encoding to ACE if AI_IDN.
15262
85188888
JJ
152632011-08-01 Jakub Jelinek <jakub@redhat.com>
15264
15265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15266 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15267
5fa16e9b
LD
152682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15269
15270 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15271 Fix overflow bug in strncat.
15272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15273
15274 * string/test-strncat.c: Update.
15275 Add new tests for checking overflow bugs.
15276
152772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15278
15279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15280 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15281 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15282 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15283 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15284 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15285 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15286 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15287 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15288
15289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15290 (USE_AS_STRCAT): Define.
15291 Add strcat and strncat support.
15292 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15293
8c1a459f
AS
152942011-07-25 Andreas Schwab <schwab@redhat.com>
15295
15296 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15297 __n bigger than INT_MAX+1.
15298 (__strncmp_g): Likewise.
15299
bba33c28
UD
153002011-07-23 Ulrich Drepper <drepper@gmail.com>
15301
798be72d
UD
15302 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15303 * libio/stido.h: Likewise.
15304
8accd4dc
UD
15305 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15306 (AF_NFC): Define.
15307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15308 (AF_NFC): Define.
15309
cbff0d96
UD
15310 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15311 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15312 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15313 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15315
9191c04a
UD
15316 [BZ #13021]
15317 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15318 installed.
15319
bba33c28
UD
15320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15321 typo.
15322 (_dl_x86_64_save_sse): Likewise.
15323
90f139dd
UD
153242011-07-22 Ulrich Drepper <drepper@gmail.com>
15325
1aae088a
UD
15326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15327 OSXSAVE.
15328 (_dl_x86_64_save_sse): Likewise.
15329
8e2045f5
UD
15330 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15331
90f139dd
UD
15332 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15333
1d002f25
AS
153342011-07-21 Andreas Schwab <schwab@redhat.com>
15335
15336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15337 change.
15338 (_dl_x86_64_save_sse): Use correct AVX check.
15339
21137f89
UD
153402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15341
15342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15343 bug in strncpy/strncat.
15344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15345
a65c0b7a
UD
153462011-07-21 Ulrich Drepper <drepper@gmail.com>
15347
15348 * string/tester.c (test_strcat): Add tests for different alignments
15349 of source and destination.
15350 (test_strncat): Likewise.
15351
6986b98a
UD
153522011-07-20 Ulrich Drepper <drepper@gmail.com>
15353
90bb2039
UD
15354 [BZ #12852]
15355 * posix/glob.c (glob): Check passed in values before using them in
15356 expressions to avoid some overflows.
15357 (glob_in_dir): Likewise.
15358
5644ef54
UD
15359 [BZ #13007]
15360 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15361 check for AVX enablement so that we don't crash with old kernels and
15362 new hardware.
15363 * elf/tst-audit4.c: Add same checks here.
15364 * elf/tst-audit6.c: Likewise.
15365
15366 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15367
bfc9dc9b
AS
153682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15369
15370 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15371
702e64bb
UD
153722011-07-20 Ulrich Drepper <drepper@gmail.com>
15373
15374 * po/cs.po: Update from translation team.
15375 * po/bg.po: Likewise.
15376
295e904f
MP
153772011-07-12 Marek Polacek <mpolacek@redhat.com>
15378
15379 * misc/sys/cdefs.h: Add support for const attribute.
15380 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15381 to gnu_dev_{major,minor,makedev} functions.
15382
3ff94596
MP
153832011-07-20 Marek Polacek <mpolacek@redhat.com>
15384
15385 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15386
28b59fca
AS
153872011-07-20 Andreas Schwab <schwab@redhat.com>
15388
15389 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15390 strlen results.
15391
19df733e
AK
153922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15393
15394 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15395 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15396 register in order to avoid conflicts with the soft frame pointer
15397 being held in r11 when necessary.
15398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15399 (INTERNAL_VSYSCALL_NCS): Likewise.
15400
c8835729
MP
154012011-07-14 Marek Polacek <mpolacek@redhat.com>
15402
15403 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15404 * elf/dl-fini.c (_dl_fini): Adjust caller.
15405 * elf/dl-close.c (_dl_close_worker): Likewise.
15406 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15407
b902330c
MP
154082011-07-15 Marek Polacek <mpolacek@redhat.com>
15409
8991e135
MP
15410 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15411 "aux_cache->nlibs < 0".
15412
b902330c
MP
15413 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15414 in the reload-count case.
15415
99710781
LD
154162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15417
15418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15419 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15420 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15421 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15422 * sysdeps/x86_64/multiarch/strcat.S: New file.
15423 * sysdeps/x86_64/multiarch/strncat.S: New file.
15424 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15426 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15427 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15429 (USE_AS_STRCAT): Define.
15430 Add strcat and strncat support.
15431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15432 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15433 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15434 * string/strncat.c: Update.
15435 (USE_AS_STRNCAT): Define.
15436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15437 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15438 and i7.
15439 * sysdeps/x86_64/multiarch/init-arch.h
15440 (bit_Prefer_PMINUB_for_stringop): New.
15441 (index_Prefer_PMINUB_for_stringop): Likewise.
15442 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15443 bit_Prefer_PMINUB_for_stringop.
15444
7dc6bd90
UD
154452011-07-19 Ulrich Drepper <drepper@gmail.com>
15446
15447 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15448 buffer64.
15449 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15450 of casting of buffer.
15451 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15452 buffer32 and buffer64.
15453 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15454 writes instead of casting of buffer.
15455 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15456 buffer32.
15457 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15458 casting of buffer.
15459
e0e72284
AS
154602011-07-19 Andreas Schwab <schwab@redhat.com>
15461
15462 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15463
feb1eb0b
UD
154642011-07-19 Ulrich Drepper <drepper@gmail.com>
15465
15466 * nscd/nscd.c (termination_handler): Don't do anything for a database
15467 if it has not yet been initialized.
15468
298711ff
UD
154692011-07-18 Ulrich Drepper <drepper@gmail.com>
15470
15471 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15472
154732011-07-15 Marek Polacek <mpolacek@redhat.com>
15474
15475 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15476
f9d68389
UD
154772011-07-18 Ulrich Drepper <drepper@gmail.com>
15478
15479 * po/nl.po: Update from translation team.
15480 * po/sv.po: Likewise.
15481
db290cf5
RM
154822011-07-16 Roland McGrath <roland@hack.frob.com>
15483
15484 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15485 now disallowed by GCC.
5c550700 15486
fd5e21c7
RM
15487 * configure.in (use-default-link): Default to yes if a test -shared
15488 link meets our qualifications.
15489 * configure: Regenerated.
15490
5c550700
RM
15491 * config.make.in (output-format): New variable.
15492 * configure.in: Check for ld --print-output-format support.
15493 * configure: Regenerated.
15494 * Makerules ($(common-objpfx)format.lds)
15495 [$(output-format) != unknown]: Just use $(output-format),
15496 instead of the linker-script munging.
15497
9fa2c032
RM
154982011-07-14 Roland McGrath <roland@hack.frob.com>
15499
a6928d51
RM
15500 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15501 of $(common-objpfx)shlib.lds.
15502 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15503
661607b3
RM
15504 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15505 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15506
9fa2c032
RM
15507 * configure.in (-z relro check): Adjust test code to add a large
15508 writable data section after it.
15509 * configure: Regenerated.
15510
defe9061
RM
155112011-07-11 Roland McGrath <roland@hack.frob.com>
15512
15513 * configure.in (-z relro check): Fix test code to make the variable
15514 truly const.
15515 * configure: Regenerated.
15516
319b9ad4
UD
155172011-07-11 Ulrich Drepper <drepper@gmail.com>
15518
15519 * nscd/nscd.h (struct traced_file): Define.
15520 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15521 elements. Add traced_files.
15522 (inotify_fd): Declare.
15523 (register_traced_file): Declare.
15524 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15525 (inotify_fd): Export.
15526 (resolv_conf_descr): Remove.
15527 (nscd_init): Move inotify descriptor creation to main.
15528 Don't register files for notification here.
15529 (register_traced_file): New function.
15530 (invalidate_cache): Don't use reset_res to determine whether to call
15531 res_init, go through the list of registered files.
15532 (main_loop_poll): The inotify descriptors are now stored in the
15533 structures for the traced files.
15534 (main_loop_epoll): Likewise
15535 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15536 to __nss_disable_nscd.
15537 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15538 for a database anymore. Check the records for all the registered
15539 files instead.
15540 * nss/Makefile (libnss_files-routines): Add files-init.
15541 (libnss_db-routines): Add db-init.
15542 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15543 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15544 * nss/nss_db/db-init.c: New file.
15545 * nss/nss_files/files-init.c: New file.
15546 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15547 __nss_lookup_function.
15548 (__nss_lookup_function): Call nss_load_library.
15549 (nss_load_all_libraries): New function.
15550 (__nss_disable_nscd): Take parameter with callback function for files
15551 to register. Set is_nscd. Load all the DSOs for the NSS modules
15552 used for the cached services.
15553 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15554 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15555 options for features to all the files in nscd.
15556
15557 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15558
23bee3e8
RM
155592011-07-10 Roland McGrath <roland@hack.frob.com>
15560
15561 * csu/elf-init.c (__libc_csu_init): Comment typo.
15562
46a5b7f0
UD
155632011-07-09 Ulrich Drepper <drepper@gmail.com>
15564
15565 * po/pl.po: Update from translation team.
15566 * po/ja.po: Likewise.
15567 * po/ru.po: Likewise.
15568 * po/ko.po: Likewise.
15569 * po/fr.po: Likewise.
15570
d30cf5bb
RM
155712011-07-09 Roland McGrath <roland@hack.frob.com>
15572
113ddea4
RM
15573 * configure.in (.ctors/.dtors header and trailer check):
15574 Use an empirical test on a built program.
15575 * configure: Regenerated.
15576
574920b4
RM
15577 * configure.in (-z relro check): Use an empirical test on a built DSO.
15578 Detect, but do not require, on ia64.
15579 * configure: Regenerated.
15580
d30cf5bb
RM
15581 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15582 Update tests that use readelf to use $READELF instead.
15583 * configure: Regenerated.
15584
8538fdb3
UD
155852011-07-08 Ulrich Drepper <drepper@gmail.com>
15586
15587 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15588 if the result is not used.
15589
04d08991
AJ
155902011-07-05 Andreas Jaeger <aj@suse.de>
15591
15592 [BZ#9696]
15593 * stdlib/tst-strtod.c: Add testcase.
15594
de283087
AD
155952011-07-07 Ulrich Drepper <drepper@gmail.com>
15596
4e5f31c8 15597 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15598 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15599 The latter has a higher limit. Take additional parameter to pass to
15600 the new function.
15601 (__pathconf): Pass file to __statfs_link_max.
15602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15603 __statfs_link_max.
15604 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15605 __statfs_link_max.
15606
de283087
AD
15607 [BZ #12868]
15608 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15610 Handle Lustre.
15611 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15612 (__statfs_filesize_max): Likewise.
15613 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15614
c75fa153
AJ
156152011-07-05 Andreas Jaeger <aj@suse.de>
15616
15617 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15618
1a544854
UD
156192011-07-06 Marek Polacek <mpolacek@redhat.com>
15620
15621 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15622 `status' variable.
15623 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15624 Likewise.
15625
6f0eec67
UD
156262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15627
15628 * Makefile (strop-tests): Add strncat.
15629 * string/test-strncat.c: New file.
15630
aae30307
UD
156312011-06-30 Marek Polacek <mpolacek@redhat.com>
15632
15633 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15634
c0cfb5eb
UD
156352011-06-21 Andreas Jaeger <aj@suse.de>
15636
15637 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15638 Copy rule from iconvdata/Makefile.
15639
01636b21
UD
156402011-07-06 Ulrich Drepper <drepper@gmail.com>
15641
15642 [BZ #12922]
15643 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15644 but no long options are defined, just return 'W'.
15645
9895c8bc
UD
156462011-06-22 Marek Polacek <mpolacek@redhat.com>
15647
15648 [BZ #9696]
15649 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15650
5d4cf042
UD
156512011-07-06 Ulrich Drepper <drepper@gmail.com>
15652
15653 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15654 netgroups to read.
960e5535 15655 (innetgr): Likewise.
5d4cf042 15656
751eb97e
RM
156572011-07-05 Roland McGrath <roland@hack.frob.com>
15658
15659 * config.make.in (install_root): Default to $(DESTDIR).
15660
f15f1e45
UD
156612011-07-05 Ulrich Drepper <drepper@gmail.com>
15662
15663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15664
4e34ac6a
RM
156652011-07-02 Roland McGrath <roland@hack.frob.com>
15666
5e9b6af4
RM
15667 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15668
84f9ea0f
RM
15669 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15670 containing directory rather than embedding absolute directory names.
15671
ea5ee9f7
RM
15672 * scripts/check-local-headers.sh: Rewritten using awk.
15673 Match by word, not by line. Print error messages for matches.
15674 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15675
1b74661a
RM
15676 * Makerules [shlib-lds-flags empty]:
15677 ($(common-objpfx)libc_pic.opts): New target.
15678 ($(common-objpfx)libc_pic.os.clean): New target.
15679 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15680
15681 * config.make.in (OBJCOPY): New variable.
15682 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15683 * configure: Regenerated.
15684
f781ef40
RM
15685 * config.make.in (use-default-link): New variable.
15686 * configure.in (use_default_link): Grok --with-default-link to set it.
15687 * configure: Regenerated.
15688 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15689 (shlib-lds, shlib-lds-flags): Define to empty.
15690
2d4fa81e
RM
15691 * Makerules (shlib-lds): New variable.
15692 (shlib-lds-flags): New variable.
15693 (build-shlib, build-moduile, build-module-asneeded): Use it.
15694 ($(common-objpfx)libc.so): Use $(shlib-lds).
15695 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15697
31fffa6b
RM
15698 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15699 DT_FLAGS/DT_FLAGS_1 with zero flags.
15700
4e34ac6a
RM
15701 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15702 linker script munging.
15703
fcfc776b
UD
157042011-07-02 Ulrich Drepper <drepper@gmail.com>
15705
15706 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15707 as 128-bit value.
15708 * crypt/sha512.c (sha512_process_block): Perform total addition using
15709 128-bit if possible.
15710 (__sha512_finish_ctx): Likewise.
15711 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15712 as 64-bit value.
15713 * crypt/sha256.c (SWAP64): Define.
15714 (sha256_process_block): Perform total addition using 64-bit if
15715 possible.
15716 (__sha256_finish_ctx): Likewise.
15717
99231d9a
UD
157182011-07-01 Ulrich Drepper <drepper@gmail.com>
15719
15720 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15722 * nscd/hstcache.c (cache_addhst): Likewise.
15723 * nscd/grpcache.c (cache_addgr): Likewise.
15724 * nscd/aicache.c (addhstaiX): Likewise
15725 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15726
445b4a53
TK
157272011-07-01 Thorsten Kukuk <kukuk@suse.de>
15728
15729 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15731 * nscd/hstcache.c (cache_addhst): Likewise.
15732 * nscd/grpcache.c (cache_addgr): Likewise.
15733 * nscd/aicache.c (addhstaiX): Likewise
15734
6d4d8e8e
AS
157352011-07-01 Andreas Schwab <schwab@redhat.com>
15736
15737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15738 domain only when needed.
15739
89f654c5
AS
157402011-06-30 Andreas Schwab <schwab@redhat.com>
15741
15742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15743 is always restored.
15744
cf3b23ff
UD
157452011-06-29 Ulrich Drepper <drepper@gmail.com>
15746
15747 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15748 are re-adding the entry.
15749 * nscd/servicescache.c (cache_addserv): Likewise.
15750
751626f9
AJ
157512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15752
15753 * sysdeps/generic/dl-irel.h: fix protection against multiple
15754 inclusions.
15755 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15756
9113ea1f
UD
157572011-06-28 Ulrich Drepper <drepper@gmail.com>
15758
5c0b8d90
UD
15759 [BZ #12935]
15760 * malloc/memusage.sh: Fix quoting in message.
15761 * debug/xtrace.sh: Likewise.
15762
9113ea1f
UD
15763 * configure.in: Remove support for --experimental-malloc option, make
15764 it the default.
15765 * config.make.in: Likewise.
15766 * malloc/Makefile: Likewise.
15767
a4172181
AS
157682011-06-27 Andreas Schwab <schwab@redhat.com>
15769
15770 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15771 two-byte characters.
15772
78a7eee7
RM
157732011-06-27 Roland McGrath <roland@hack.frob.com>
15774
62bede13
RM
15775 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15776 AC_CACHE_CHECK invocation.
15777 * configure: Regenerated.
15778
78a7eee7
RM
15779 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15780
5ce33a62
UD
157812011-06-27 Ulrich Drepper <drepper@gmail.com>
15782
034807a9
UD
15783 [BZ #12350]
15784 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15785 bit from old_res_options.
15786
4902da17
UD
15787 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15788
5ce33a62
UD
15789 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15790 value type for setfct.
15791
c2344f56
L
157922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15793
15794 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15795 __gettimeofday instead of gettimeofday.
15796
68468076
UD
157972011-06-26 Ulrich Drepper <drepper@gmail.com>
15798
15799 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15800
acb0d739
L
158012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15802
15803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15804
15805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15806 info.
15807
8912479f
L
158082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15809
15810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15811 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15812 strcpy-sse2-unaligned strncpy-sse2-unaligned
15813 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15814 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15815 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15816 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15817 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15820 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15821 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15822 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15823 (STRCPY): Support SSE2 and SSSE3 versions.
15824
d5495a11
UD
158252011-06-24 Ulrich Drepper <drepper@gmail.com>
15826
15827 [BZ #12874]
15828 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15829 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15830 kernels which artificially limit size of requests.
15831
0b1cbaae
L
158322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15833
15834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15835 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15836 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15837 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15838 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15839 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15840 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15841 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15844 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15845 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15846 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15847 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15848 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15850 Enable unaligned load optimization for Intel Core i3, i5 and i7
15851 processors.
15852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15853 Define.
15854 (index_Fast_Unaligned_Load): Define.
15855 (HAS_FAST_UNALIGNED_LOAD): Define.
15856
07f494a0
MP
158572011-06-23 Marek Polacek <mpolacek@redhat.com>
15858
15859 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15860
fa3fc0fe
UD
158612011-06-22 Ulrich Drepper <drepper@gmail.com>
15862
15863 [BZ #12907]
15864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15865 until it is clear that the information is realy needed.
15866 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15867
e12df166
AS
158682011-06-22 Andreas Schwab <schwab@redhat.com>
15869
15870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15871
852eb34d
UD
158722011-06-22 Ulrich Drepper <drepper@gmail.com>
15873
84e2a551
UD
15874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15875 /sys/devices/system/cpu/online if it is usable.
15876
852eb34d
UD
15877 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15878 reading the information from the /proc filesystem to once a second.
15879
6e502e19
UD
158802011-06-21 Andreas Jaeger <aj@suse.de>
15881
15882 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15883 NULL after inclusion of kernel headers.
15884
75d39ff2
UD
158852011-06-21 Ulrich Drepper <drepper@gmail.com>
15886
51f9aa6a
UD
15887 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15888 calls to internal_setent.
15889
c0244a9d
UD
15890 [BZ #12885]
15891 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15892 addresses using gethostbyname4_r ignore IPv4 addresses.
15893
c5e3c2ae
UD
15894 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15895 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15896
75d39ff2
UD
15897 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15898
42675c6f
DM
158992011-06-20 David S. Miller <davem@davemloft.net>
15900
15901 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15902 inclusions.
15903 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15904
15905 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15906 (elf_irel): Use it.
15907 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15908 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15909 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15910 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15911 * sysdeps/x86_64/dl-irel.h: Likewise.
15912
15913 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15914 * elf/dl-sym.c: Likewise.
15915
57912a71
UD
159162011-06-15 Ulrich Drepper <drepper@gmail.com>
15917
15918 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15919 need to dereference resplen2.
15920
ee22793d
AS
159212011-06-14 Andreas Schwab <schwab@redhat.com>
15922
15923 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15924
a9e836b0
UD
159252011-06-15 Ulrich Drepper <drepper@gmail.com>
15926
77fb9117
UD
15927 * Makeconfig: Define vardbdir and inst_vardbdir.
15928 * nss/Makefile: Add rules to install db-Makefile.
15929
40c1b22c
UD
15930 * nss/nss_db/db-XXX.c: Cleanup.
15931
9f2da732
UD
15932 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15933 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15934 GLIBC_PRIVATE.
15935 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15936 * nss/makedb.c: Implement -g option to specify that value strings
15937 are generated and should not be added to table iterated over for
15938 get*ent calls.
15939 * nss/nss_db/db-initgroups.c: New file.
15940
82e9a1f7
UD
15941 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15942 interface.
15943
c41af17e
UD
15944 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15945 (internal_getgrouplist): Adjust to name change.
15946 Update use_initgroups_entry if this is not the first call.
15947 * nss/databases.def: Add initgroups entry.
15948
a9e836b0
UD
15949 * nss/makedb.c (compute_tables): Check result of multiple hash table
15950 sizes to minimize maximum chain length.
15951
2666d441
UD
159522011-06-14 Ulrich Drepper <drepper@gmail.com>
15953
15954 * Versions.def: Add entry for libnss_db.
15955 * shlib-versions: Likewise.
15956 * nss/Makefile: Add rules to build libnss_db.
15957 * nss/Versions: Add libnss_db information. Organize libnss_files
15958 entries better.
15959 * nss/db-Makefile: Add gshadow support. Change rules for the new
15960 makedb progra. Some minor improvements to generate smaller files.
15961 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15962 here from...
15963 * nss/makedb.c: ...here.
15964 Improve database format to be smaller and require less memory at
15965 runtime.
15966 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15967 db anymore.
15968 * nss/nss_db/db-netgrp.c: Likewise.
15969 * nss/nss_db/db-open.c: Likewise.
15970 * nss/nss_files/flies-XXX.x: Adjust comments.
15971 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15972 * nss/nss_files/files-grp.c: Likewise.
15973 * nss/nss_files/files-hosts.c: Likewise.
15974 * nss/nss_files/files-network.c: Likewise.
15975 * nss/nss_files/files-proto.c: Likewise.
15976 * nss/nss_files/files-pwd.c: Likewise.
15977 * nss/nss_files/files-rpc.c: Likewise.
15978 * nss/nss_files/files-service.c: Likewise.
15979 * nss/nss_files/files-sgrp.c: Likewise.
15980 * nss/nss_files/files-spwd.c: Likewise.
15981 * nss/nss_db/db-alias.c: Removed.
15982 * nss/nss_db/dummy-db.h: Removed.
15983
9ee76b5a
UD
159842011-06-02 Ulrich Drepper <drepper@gmail.com>
15985
15986 * nss/makedb.c: Rewritten to not use database library.
15987 * nss/Makefile: Update to build new makedb program.
15988
c71ca1f8
AJ
159892011-06-14 Andreas Jaeger <aj@suse.de>
15990
15991 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15992 memset declaration.
15993
3154bfb8
UD
159942011-06-10 Andreas Schwab <schwab@redhat.com>
15995
15996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15997 tmpbuf.
15998
b350afab
RM
159992011-06-10 Roland McGrath <roland@hack.frob.com>
16000
decd4e50
RM
16001 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16002 * elf/Makefile ($(objpfx)ld.so): Likewise.
16003
5615eaf2
RM
16004 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16005 Don't list ld.so twice in dependencies.
16006
16007 * posix/bug-regex31.c: Include <stdlib.h>.
16008
16009 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16010
16011 * nis/nss_compat/compat-spwd.c
16012 (getspent_next_nss_netgr): Remove unused variable.
16013 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16014
16015 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16016 nonmembers" output to use the right array.
16017
16018 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16019
16020 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16021
16022 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16023 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16024 * catgets/gencat.c (read_input_file): Likewise.
16025 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16026
16027 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16028 variable definition inside #if's controlling its use.
16029
16030 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16031
16032 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16033
16034 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16035
16036 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16037 unreachable code.
16038
16039 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16040
b68e08db
RM
16041 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16042 * configure: Regenerated.
16043
b350afab
RM
16044 * Makerules: Revert last change.
16045 * elf/Makefile: Likewise.
16046
28368601
RM
160472011-06-09 Roland McGrath <roland@hack.frob.com>
16048
16049 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16050 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16051 (reloc-link): Likewise.
16052
11988f8f
UD
160532011-06-09 Ulrich Drepper <drepper@gmail.com>
16054
16055 * elf/Makefile: Add rules to build pldd.
16056 * elf/pldd.c: New file.
16057 * elf/pldd-xx.c: New file.
16058
e80fab37
UD
160592011-06-07 Ulrich Drepper <drepper@gmail.com>
16060
16061 * version.h: Update for 2.15 development version.
16062
9b849836
DM
160632011-06-07 David S. Miller <davem@davemloft.net>
16064
16065 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16066 ifuncs.
16067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16068 elf_machine_lazy_rel): Likewise.
16069 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16071 elf_machine_lazy_rel): Likewise.
16072 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16073 dl_hwcap via passed in argument.
16074 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16075 Likewise.
16076
5a31b283
AK
160772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16078
16079 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16080
069e52f8
RM
160812011-06-06 Roland McGrath <roland@hack.frob.com>
16082
16083 [BZ #12849]
16084 * manual/fdl-1.1.texi: New file, verbatim from:
16085 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16086 * manual/lgpl-2.1.texi: New file, verbatim from:
16087 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16088 * manual/Makefile (licenses): New variable, list those new file names.
16089 (texis): Use it.
16090 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16091
16092 * manual/fdl.texi: File removed.
16093 * manual/lesser.texi: File removed.
16094 * manual/libc.texinfo (Copying, Documentation License):
16095 Use new @include file names, put @appendix directive before @include.
16096
f16846a5
JJ
160972011-06-04 Jakub Jelinek <jakub@redhat.com>
16098
16099 [BZ #12841]
16100 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16101 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16102 (mq_open): Add __NTH.
16103
3d29045b
L
161042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16105
16106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16107 Assume Intel Core i3/i5/i7 processor if AVX is available.
16108
8c297311
UD
161092011-05-31 Ulrich Drepper <drepper@gmail.com>
16110
16111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16112 typo.
16113
c8fc0c91
UD
161142011-05-31 Andreas Schwab <schwab@redhat.com>
16115
16116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16117 memory. Use alloca_account. Fix memory leak when retrying.
16118
5b27a807
UD
161192011-05-31 Ulrich Drepper <drepper@gmail.com>
16120
356f8bc6
UD
16121 * version.h (RELEASE): Bump for 2.14 release.
16122 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16123
5b27a807
UD
16124 * config.make.in (RANLIB): Remove entry.
16125
01f16ab0
UD
161262011-05-30 Ulrich Drepper <drepper@gmail.com>
16127
41fce8bd
UD
16128 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16129 (libc.pot): Work around missing support for .ksh extension in xgettext.
16130
4769ae77
UD
16131 [BZ #12684]
16132 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16133 if both request failed.
16134 (send_dg): In case of server errors clear resplen or *resplen2.
16135
6b1e7d19
UD
16136 [BZ #12454]
16137 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16138 when there are multiple maps.
16139 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16140 (_dl_fini): Remove test here.
16141
01f16ab0
UD
16142 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16143
b1ebd700
UD
161442011-05-29 Ulrich Drepper <drepper@gmail.com>
16145
7ae22829
UD
16146 [BZ #12350]
16147 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16148 bit from old_res_options.
16149 (gaih_inet): Likewise.
16150
553149f6 16151 [BZ #11099]
18a84741 16152 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16153 as signed.
16154
652ffab1
UD
16155 * resolv/res_init.c (res_setoptions): Make the code more compact.
16156
16985fd0
UD
16157 [BZ #11558]
16158 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16159 set RES_USEVC.
16160
0464f746
UD
16161 [BZ #11634]
16162 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16163
7d17596c
UD
16164 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16165
cf6bbbd7
UD
16166 [BZ #11781]
16167 * malloc/malloc.h: Declare malloc hook variables as volatile.
16168
13f1ab36
UD
16169 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16170 in last patch.
16171
b1ebd700
UD
16172 [BZ #11799]
16173 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16174 raise in the comment.
80e2212d
UD
16175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16177 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16178
ce67228d
UD
161792011-05-28 Ulrich Drepper <drepper@gmail.com>
16180
8887a920
UD
16181 [BZ #12811]
16182 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16183 grow the buffers more if it already has to be sufficient.
16184 (build_wcs_upper_buffer): Likewise.
16185 * posix/regexec.c (check_matching): Likewise.
16186 (clean_state_log_if_needed): Likewise.
16187 (extend_buffers): Don't enlarge buffers beyond size of the input
16188 buffer.
16189 Patches mostly by Emil Wojak <emil@wojak.eu>.
16190 * posix/bug-regex32.c: New file.
16191 * posix/Makefile (tests): Add bug-regex32.
16192
4f031072
UD
16193 * locale/findlocale.c (_nl_find_locale): Return right away if
16194 _nl_explode_name failed.
16195 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16196
d0478f0c
UD
16197 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16198
de81b246
UD
16199 * debug/xtrace.sh: Unify messages.
16200 * malloc/memusage.sh: Likewise.
16201
c738465a
UD
16202 [BZ #12813]
16203 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16204 time symbol from vDSO. Substitute with vsyscall if not available.
16205 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16206 __vdso_time.
16207
f1f929d7
UD
16208 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16209 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16210 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16211 Add sendmmsg and internal_sendmmsg.
16212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16213 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16215
ce67228d
UD
16216 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16217 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16219
e57420c6
UD
162202011-05-27 Ulrich Drepper <drepper@gmail.com>
16221
a8509ca5
UD
16222 [BZ #12813]
16223 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16224 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16225 available.
16226 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16227 __vdso_getcpu.
16228
e57420c6
UD
16229 [BZ #12814]
16230 * iconvdata/Makefile (tests): Add bug-iconv9.
16231 * iconvdata/bug-iconv9.c: New file.
16232
4d07db15
AS
162332011-05-27 Andreas Schwab <schwab@redhat.com>
16234
16235 [BZ #12814]
16236 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16237
ea486f69
JJ
162382011-05-25 Jakub Jelinek <jakub@redhat.com>
16239
16240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16241 (struct user_regs_struct): Change intcs field back to cs.
16242
6f038433
UD
162432011-05-25 Ulrich Drepper <drepper@gmail.com>
16244
16245 * po/ja.po: Update from translation team.
16246
67f86a25
UD
162472011-05-23 Ulrich Drepper <drepper@gmail.com>
16248
16249 [BZ #12795]
16250 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16251 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16252
def7fbd6
AS
162532011-05-20 Andreas Schwab <schwab@redhat.com>
16254
16255 * stdlib/longlong.h: Update from GCC.
16256
f50ef8f1
AS
162572011-05-23 Andreas Schwab <schwab@redhat.com>
16258
16259 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16260 parameter name.
16261 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16262 Add parameter name.
16263 (__sysconf): Pass it down.
16264
de7ce8f1
UD
162652011-05-22 Ulrich Drepper <drepper@gmail.com>
16266
f2962a71
UD
16267 [BZ #12671]
16268 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16269 some situations.
16270 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16271 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16272 add in in __libc_use_alloca calls. Adjust callers.
16273 (glob): Use malloc in some situations.
16274
de7ce8f1
UD
16275 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16276 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16277 pltexit.
16278
aec84f53
UD
162792011-05-21 Ulrich Drepper <drepper@gmail.com>
16280
05bb4a68
UD
16281 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16282 and CLOCK_BOOTTIME_ALARM.
16283
7ea72f99
UD
16284 [BZ #12782]
16285 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16286 is returned.
16287
7e4afad5
UD
16288 * string/_strerror.c (__strerror_r): Print negative errors as signed
16289 numbers.
16290
8e211fec
UD
16291 [BZ #12777]
16292 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16293 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16294 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16295
f7d82dc9
UD
16296 * configure.in: Fix typo in redirection and correct removal of test
16297 files in two cases.
16298
cc9e536d
UD
16299 [BZ #12788]
16300 * locale/setlocale.c (new_composite_name): Fix test to check for
16301 identical name of all categories.
16302
aec84f53
UD
16303 [BZ #12792]
16304 * libio/filedoalloc.c (local_isatty): New function.
16305 (_IO_file_doallocate): Use local_isatty.
16306 * stdio-common/perror.c (perror): In case a new stream is used
16307 forward the stream error.
16308 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16309 error flag.
16310
78e64fdc
RT
163112011-05-20 Ulrich Drepper <drepper@gmail.com>
16312
34a9094f
UD
16313 [BZ #11869]
16314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16315 alloca.
16316 * include/alloca.h (extend_alloca_account): Define.
16317
78e64fdc
RT
16318 [BZ #11857]
16319 * posix/regex.h: Fix comments with documentation of user-accessible
16320 fields after compilation and describe correct free'ing of pattern
16321 after re_compile_pattern.
16322 Patch by Reuben Thomas <rrt@sc3d.org>.
16323
457bddfc
RA
163242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16325
16326 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16327 and -mno-altivec to prevent the compiler from using Altivec and/or
16328 VSX instructions when the corresponding registers are not available.
16329
a4527b51
AS
163302011-05-19 Andreas Schwab <schwab@redhat.com>
16331
16332 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16333
ed690b2f
UD
163342011-05-19 Ulrich Drepper <drepper@gmail.com>
16335
16336 * libio/freopen.c (freopen): Use __dup2, not dup2.
16337 * libio/freopen64.c (freopen64): Likewise.
16338
8db73634
L
163392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16340
16341 [BZ #12775]
16342 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16343 * math/Makefile (tests): Add test-powl.
16344 (CFLAGS-test-powl.c): Define.
16345 * math/test-powl.c: New file.
16346
0a197a9d
L
163472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16348
16349 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16350
ee30c380
UD
163512011-05-17 Ulrich Drepper <drepper@gmail.com>
16352
16353 [BZ #11837]
16354 * iconvdata/gb18030.c: Update to GB18020-2005.
16355
6ce75379
UD
163562011-05-16 Ulrich Drepper <drepper@gmail.com>
16357
a4b89fd8
AR
16358 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16359 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16360 Patch by Aharon Robbins <arnold@skeeve.com>.
16361
ea389b12
UD
16362 [BZ #11892]
16363 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16364 on the stack.
16365
68a3f91f
UD
16366 [BZ #11895]
16367 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16368 through underflows.
16369
15cc7dd1
UD
16370 [BZ #12766]
16371 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16372 point to strings before performing equality test for error_one_per_line
16373 mode.
16374
f3799213
UD
16375 [BZ #11697]
16376 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16377
d79a9c94
UD
16378 [BZ #11820]
16379 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16380 (struct user_fpregs_struct): Avoid __uint*_t types.
16381
56e5eb46
UD
16382 [BZ #6420]
16383 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16384 symbol info. Use it instead of calling _dl_addr locally.
16385 (lock_and_info): New function.
16386 (tr_freehook): Call lock_and_info and pass symbol info as additional
16387 parameter to tr_where.
16388 (tr_mallochook): Likewise.
16389 (tr_reallochook): Likewise.
16390 (tr_memalignhook): Likewise.
16391
6ce75379
UD
16392 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16393 used and couldn't be at all thread-safe.
16394
f8a3b5bf
UD
163952011-05-15 Ulrich Drepper <drepper@gmail.com>
16396
94b7cc37
UD
16397 * libio/freopen.c (freopen): Don't close old file descriptor
16398 before the new one is opened. Instead dup the new file descriptor
16399 to the old one after the new stream is created.
16400 * libio/freopen64.c (freopen64): Likewise.
16401 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16402 * libio/fileops.c (_IO_new_file_close_it): Handle new
16403 _IO_FLAGS2_NOCLOSE flag.
16404 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16405 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16406 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16407 _IO_FLAGS2_NOCLOSE flag.
16408 * include/unistd.h: Add hidden_proto for dup3.
16409 Define __have_dup3.
16410 * io/dup3.c: Define hidden symbol.
16411 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16412
bd25564e
UD
16413 [BZ #7101]
16414 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16415 when an incomplete long option is used.
16416 * posix/tst-getopt_long1.c: New file.
16417 * posix/Makefile (tests): Add tst-getopt_long1.
16418
c84cfef4
UD
16419 [BZ #10138]
16420 * scripts/config.guess: Update from autoconf-2.68.
16421 * scripts/config.sub: Likewise.
16422
3b85df27
UD
16423 [BZ #10157]
16424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16425 tests into ...
16426 (has_cpuclock): ...this. New function.
16427 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16428 macro here based on has_cpuclock code.
16429
15a856b1
UD
16430 [BZ #10149]
16431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16432 First byte (not low byte) is now always NUL.
16433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16434
05f399e6
UD
16435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16436 Use non-cancelable interfaces.
16437
10a52685 16438 [BZ #9809]
94ecc67d
UD
16439 * locale/iso-639.def: Add entry for Sorani.
16440
f8a3b5bf
UD
16441 [BZ #11901]
16442 * include/stdlib.h: Move include protection to the right place.
16443 Define abort_msg_s. Declare __abort_msg with it.
16444 * stdlib/abort.c (__abort_msg): Adjust type.
16445 * assert/assert.c (__assert_fail_base): New function. Majority
16446 of code from __assert_fail. Allocate memory for __abort_msg with
16447 mmap.
16448 (__assert_fail): Now call __assert_fail_base.
16449 * assert/assert-perr.c: Remove bulk of implementation. Use
16450 __assert_fail_base.
16451 * include/assert.hL Declare __assert_fail_base.
16452 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16453 mmap.
16454 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16455
1af4e298
UD
164562011-05-14 Ulrich Drepper <drepper@gmail.com>
16457
f8a3b5bf 16458 [BZ #11952]
d26dfc60
MG
16459 [BZ #12453]
16460 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16461 until all modules are registered in the DTV.
16462 * elf/Makefile: Add rules to build and run tst-tls19.
16463 * elf/tst-tls19.c: New file.
16464 * elf/tst-tls19mod1.c: New file.
16465 * elf/tst-tls19mod2.c: New file.
16466 * elf/tst-tls19mod3.c: New file.
16467 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16468
2fc54d6f
UD
16469 [BZ #12083]
16470 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16471 correctly.
16472
98d76b46
UD
16473 [BZ #12601]
16474 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16475 two-byte sequence errors.
16476 * iconvdata/Makefile (tests): Add bug-iconv8.
16477 * iconvdata/bug-iconv8.c: New file.
16478
da3c19ef
UD
16479 [BZ #12626]
16480 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16481 buf2 definition.
16482
ca408c15
UD
16483 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16484
d6f67f7d
UD
16485 [BZ #12432]
16486 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16487 (dummy_getcfa): New function.
16488 (init): Get _Unwind_GetCFA address, use dummy if not found.
16489 (backtrace_helper): In recursion check, also check whether CFA changes.
16490 (__backtrace): Completely initialize arg.
16491
1af4e298 16492 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16493 storing incomplete byte sequence in state object. Avoid testing for
16494 guaranteed too small input if we know there is enough data available.
1af4e298 16495
da62f81b
AS
164962011-05-11 Andreas Schwab <schwab@redhat.com>
16497
16498 * Makeconfig (+link-pie): Indent.
16499 * Rules (binaries-pie): Define if $(have-fpie) and
16500 $(build-shared).
16501 (binaries-shared): Also filter out $(binaries-pie).
16502 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16503 * nscd/Makefile (others-pie): Add nscd.
16504 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16505 ($(objpfx)nscd): Remove command override.
16506 * login/Makefile (others-pie): Add pt_chown.
16507 ($(objpfx)pt_chown): Remove command override.
16508 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16509 remove command overrides.
16510
fcabc0f8
UD
165112011-05-13 Ulrich Drepper <drepper@gmail.com>
16512
20030ae6
UD
16513 * libio/tst_putwc.c: Fix error messages.
16514
fcabc0f8
UD
16515 [BZ #12724]
16516 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16517 currently writing and seek to current position when not.
16518 * libio/Makefile (tests): Add bug-fclose1.
16519 * libio/bug-fclose1.c: New file.
16520
320a5dc0
PB
165212011-05-12 Ulrich Drepper <drepper@gmail.com>
16522
16523 [BZ #12511]
16524 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16525 don't set DF_1_NODELETE here.
16526 (do_lookup_x): When entering new entry test for copy relocation
16527 and if necessary set DF_1_NODELETE flag.
16528 * elf/tst-unique4.cc: New file.
16529 * elf/tst-unique4.h: New file.
16530 * elf/tst-unique4lib.cc: New file.
16531 * elf/Makefile: Add rules to build and run tst-unique4.
16532 Patch by Piotr Bury <pbury@goahead.com>.
16533
22836f52
UD
165342011-05-11 Ulrich Drepper <drepper@gmail.com>
16535
f574184a
UD
16536 [BZ #12052]
16537 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16538
e1fb097f
UD
16539 [BZ #12625]
16540 * misc/mntent_r.c (addmntent): Flush the stream after the output
16541
22836f52
UD
16542 [BZ #12393]
16543 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16544 (is_trusted_path_normalize): Skip initial colon. Append slash
16545 to empty buffer. Duplicate is_trusted_path code but allow
16546 constructed patch to be prefix.
16547 (is_dst): Allow $ORIGIN followed by /.
16548 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16549 Correct testing of result of is_trusted_path_normalize
16550 (decompose_rpath): Fix warning.
16551
7b3b0b2a
UD
165522011-05-10 Ulrich Drepper <drepper@gmail.com>
16553
16554 [BZ #11257]
16555 * grp/initgroups.c (internal_getgrouplist): When we found the service
16556 list through the initgroups entry in nsswitch.conf do not always
16557 continue on a successful lookup. Don't always use the
eac80ce2 16558 __nss_group_database value if it is set.
7b3b0b2a
UD
16559 * nss/nsswitch.conf (initgroups): Change action for successful db
16560 lookup to continue for compatibility.
16561
2a81eaa5
UD
165622011-05-09 Ulrich Drepper <drepper@gmail.com>
16563
be97a69e
UD
16564 [BZ #11532]
16565 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16566 and CP774 modules.
16567 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16568 and CP774 modules.
16569 * iconvdata/tst-tables.sh: Likewise.
16570 * iconvdata/cp770.c: New file.
16571 * iconvdata/cp771.c: New file.
16572 * iconvdata/cp772.c: New file.
16573 * iconvdata/cp773.c: New file.
16574 * iconvdata/cp774.c: New file.
16575 * iconvdata/testdata/CP770: New file.
16576 * iconvdata/testdata/CP770..UTF8: New file.
16577 * iconvdata/testdata/CP771: New file.
16578 * iconvdata/testdata/CP771..UTF8: New file.
16579 * iconvdata/testdata/CP772: New file.
16580 * iconvdata/testdata/CP772..UTF8: New file.
16581 * iconvdata/testdata/CP773: New file.
16582 * iconvdata/testdata/CP773..UTF8: New file.
16583 * iconvdata/testdata/CP774: New file.
16584 * iconvdata/testdata/CP774..UTF8: New file.
16585
16586 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16587 END CHARMAP line.
16588 * iconvdata/gen-8bit-gap.sh: Likewise.
16589 * iconvdata/gen-8bit.sh: Likewise.
16590
c1e9e399
UD
16591 * locale/iso-639.def: Add ary entry.
16592
24c55fb3 16593 [BZ #11258]
96b4b1b0
UD
16594 * locale/C-translit.h.in: Add U20A1 transliteration.
16595
bdc2f971
KB
16596 [BZ #12178]
16597 * locale/iso-639.def: Add wae entry.
16598 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16599
2952b117
UD
16600 [BZ #12545]
16601 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16602 for n.
16603
2a81eaa5
UD
16604 [BZ #12711]
16605 * locale/C-translit.h.in: Add entry for U20B9.
16606 Patch by pravin.d.s@gmail.com.
16607
28377d1b
UD
166082011-05-08 Ulrich Drepper <drepper@gmail.com>
16609
7fb90fb8
UD
16610 [BZ #12713]
16611 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16612 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16613 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16614 in rtld. Use *stat64.
7fb90fb8 16615 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16616 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16617 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16618 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16619 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16620 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16621 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16622 __fstatat64 macros.
7fb90fb8
UD
16623 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16624 * dirent/rewinddir.c: Add libc_hidden_def.
16625 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16626 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16627
28377d1b
UD
16628 * include/dirent.h (__alloc_dir): Add flags parameter.
16629 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16630 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16631 __alloc_dir.
16632 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16633 from fdopendir if O_CLOEXEC is already set.
16634
66bdbaa4
AM
166352011-03-15 Alan Modra <amodra@gmail.com>
16636
16637 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16638 l_tls_firstbyte_offset non-zero. Save padding offset in
16639 l_tls_firstbyte_offset for later use.
16640 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16641 freeing static tls block.
16642
95721191
JN
166432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16644
16645 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16646 where #ifdef was intended. The intent is to prevent ARG_MAX from
16647 being defined by the kernel headers.
16648
f87dfb1f
UD
166492011-05-07 Ulrich Drepper <drepper@gmail.com>
16650
16651 [BZ #12734]
16652 * resolv/resolv.h: Define RES_NOTLDQUERY.
16653 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16654 no-tld-query and set RES_NOTLDQUERY.
16655 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16656 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16657 modern BIND to search name as TLD unless forbidden.
16658
47c3cd7a
UD
166592011-05-07 Petr Baudis <pasky@suse.cz>
16660 Ulrich Drepper <drepper@gmail.com>
16661
16662 [BZ #12393]
16663 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16664 (is_trusted_path): ...to here.
c1e9ea35 16665 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16666 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16667 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16668
8a35c912
PP
166692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16670
16671 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16672 __BEGIN/__END_DECLS.
16673
acd41f47
UD
166742011-05-06 Ulrich Drepper <drepper@gmail.com>
16675
16676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16677 NSS_STATUS_NOTFOUND if no record was found.
16678
597df647
AS
166792011-05-05 Andreas Schwab <schwab@redhat.com>
16680
16681 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16682 (headers-not-in-tirpc): Remove rpc/netdb.h
16683 * resolv/netdb.h: Revert last change.
16684
b9af1301
PP
166852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16686
16687 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16688 circular dependency between libgcc.a and libc.a.
16689
4e34d5f5
AS
166902011-05-05 Andreas Schwab <schwab@redhat.com>
16691
16692 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16693 * nis/Makefile: Don't install rpcsvc/*.
16694 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16695 instead of <rpc/types.h>.
16696 (MAXHOSTNAMELEN): Define.
16697
00ee369c
AS
166982011-05-03 Andreas Schwab <schwab@redhat.com>
16699
16700 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16701
0b592a30
MB
167022011-04-28 Maciej Babinski <mbabinski@google.com>
16703
16704 [BZ #12714]
16705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16706 gethostbyname4_r when IPv6 results are possible.
16707
6e04cbbe
UD
167082011-05-02 Ulrich Drepper <drepper@gmail.com>
16709
16710 [BZ #12723]
16711 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16712 _PC_PIPE_BUF handling.
16713
e4ecafe0
BH
167142011-04-30 Bruno Haible <bruno@clisp.org>
16715
16716 [BZ #12717]
16717 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16718 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16719 to 'int'.
16720 * inet/getnameinfo.c (getnameinfo): Likewise.
16721
125ee683
UD
167222011-04-29 Ulrich Drepper <drepper@gmail.com>
16723
16724 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16725 to groups setting in database lookup.
16726 * nss/nsswitch.conf: Add initgroups entry.
16727
b722481a
EB
167282011-04-22 Ulrich Drepper <drepper@gmail.com>
16729
16730 [BZ #12685]
16731 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16732 mode string.
16733 Patch by Eric Blake <eblake@redhat.com>.
16734
4df46dbd
L
167352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16736
16737 * sunrpc/Makefile (need-export-routines): Add svc_run.
16738 (routines): Remove svc_run.
16739 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16740 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16741 * sunrpc/svc_run.c (svc_run): Likewise.
16742 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16743
e84142d2
UD
167442011-04-21 Ulrich Drepper <drepper@gmail.com>
16745
16746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16747 problem in reallocation in last patch.
16748
877175d8
UD
167492011-04-20 Ulrich Drepper <drepper@gmail.com>
16750
16751 * sunrpc/Makefile: Move inclusion of Rules.
16752
ab8eed78
UD
167532011-04-19 Ulrich Drepper <drepper@gmail.com>
16754
16755 * nss/nss_files/files-initgroups.c: New file.
16756 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16757 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16758 _nss_files_initgroups_dyn.
16759
e3d8f584
RS
167602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16761
16762 * elf/elf.h (R_ARM_IRELATIVE): Define.
16763
af190f45
UD
167642011-04-19 Ulrich Drepper <drepper@gmail.com>
16765
16766 * po/ru.po: Update from translation team.
16767
53cf59ef
UD
167682011-04-17 Ulrich Drepper <drepper@gmail.com>
16769
16770 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16771 dependencies.
16772
4c559bcd
MF
167732011-02-06 Mike Frysinger <vapier@gentoo.org>
16774
16775 [BZ #12653]
16776 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16777 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16780 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16781
4420675c
AS
167822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16783
16784 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16785 differing bytes.
16786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16789
75ea32ab
UD
167902011-04-17 Ulrich Drepper <drepper@gmail.com>
16791
16792 [BZ #12420]
16793 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16794 storing it.
16795 * stdlib/bug-getcontext.c: New file.
16796 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16797
27390476
AK
167982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16799
16800 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16801 instructions into .machine "z9-109".
16802 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16803 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16804
10442705
AK
168052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16806
16807 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16808 between environment variables and auxiliary vector.
16809
7b57bfe5
UD
168102011-04-16 Ulrich Drepper <drepper@gmail.com>
16811
16812 * Makefile: Add rules to build linkobj/libc.so.
16813 * include/libc-symbols.h: Define libc_hidden_nolink.
16814 * include/rpc/auth.h: Mark functions which are to be hidden.
16815 * include/rpc/auth_des.h: Likewise.
16816 * include/rpc/auth_unix.h: Likewise.
16817 * include/rpc/clnt.h: Likewise.
16818 * include/rpc/des_crypt.h: Likewise.
16819 * include/rpc/key_prot.h: Likewise.
16820 * include/rpc/pmap_clnt.h: Likewise.
16821 * include/rpc/pmap_prot.h: Likewise.
16822 * include/rpc/pmap_rmt.h: Likewise.
16823 * include/rpc/rpc_msg.h: Likewise.
16824 * include/rpc/svc.h: Likewise.
16825 * include/rpc/svc_auth.h: Likewise.
16826 * include/rpc/xdr.h: Likewise.
16827 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16828 * nss/Makefile: Likewise.
16829 * sunrpc/Makefile: Don't install headers. Build library with normal
16830 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16831 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16832 for the compat linking library. Remove use of INTDEF/INTUSE.
16833 * sunrpc/auth_none.c: Likewise.
16834 * sunrpc/auth_unix.c: Likewise.
16835 * sunrpc/authdes_prot.c: Likewise.
16836 * sunrpc/authuxprot.c: Likewise.
16837 * sunrpc/clnt_gen.c: Likewise.
16838 * sunrpc/clnt_perr.c: Likewise.
16839 * sunrpc/clnt_raw.c: Likewise.
16840 * sunrpc/clnt_simp.c: Likewise.
16841 * sunrpc/clnt_tcp.c: Likewise.
16842 * sunrpc/clnt_udp.c: Likewise.
16843 * sunrpc/clnt_unix.c: Likewise.
16844 * sunrpc/des_crypt.c: Likewise.
16845 * sunrpc/des_soft.c: Likewise.
16846 * sunrpc/get_myaddr.c: Likewise.
16847 * sunrpc/key_call.c: Likewise.
16848 * sunrpc/key_prot.c: Likewise.
16849 * sunrpc/netname.c: Likewise.
16850 * sunrpc/pm_getmaps.c: Likewise.
16851 * sunrpc/pm_getport.c: Likewise.
16852 * sunrpc/pmap_clnt.c: Likewise.
16853 * sunrpc/pmap_prot.c: Likewise.
16854 * sunrpc/pmap_prot2.c: Likewise.
16855 * sunrpc/pmap_rmt.c: Likewise.
16856 * sunrpc/publickey.c: Likewise.
16857 * sunrpc/rpc_cmsg.c: Likewise.
16858 * sunrpc/rpc_common.c: Likewise.
16859 * sunrpc/rpc_dtable.c: Likewise.
16860 * sunrpc/rpc_prot.c: Likewise.
16861 * sunrpc/rpc_thread.c: Likewise.
16862 * sunrpc/rtime.c: Likewise.
16863 * sunrpc/svc.c: Likewise.
16864 * sunrpc/svc_auth.c: Likewise.
16865 * sunrpc/svc_authux.c: Likewise.
16866 * sunrpc/svc_raw.c: Likewise.
16867 * sunrpc/svc_run.c: Likewise.
16868 * sunrpc/svc_simple.c: Likewise.
16869 * sunrpc/svc_tcp.c: Likewise.
16870 * sunrpc/svc_udp.c: Likewise.
16871 * sunrpc/svc_unix.c: Likewise.
16872 * sunrpc/svcauth_des.c: Likewise.
16873 * sunrpc/xcrypt.c: Likewise.
16874 * sunrpc/xdr.c: Likewise.
16875 * sunrpc/xdr_array.c: Likewise.
16876 * sunrpc/xdr_float.c: Likewise.
16877 * sunrpc/xdr_intXX_t.c: Likewise.
16878 * sunrpc/xdr_mem.c: Likewise.
16879 * sunrpc/xdr_rec.c: Likewise.
16880 * sunrpc/xdr_ref.c: Likewise.
16881 * sunrpc/xdr_sizeof.c: Likewise.
16882 * sunrpc/xdr_stdio.c: Likewise.
16883
e6c61494
UD
168842011-04-10 Ulrich Drepper <drepper@gmail.com>
16885
16886 [BZ #12650]
16887 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16888 * sysdeps/ia64/dl-tls.h: Likewise.
16889 * sysdeps/powerpc/dl-tls.h: Likewise.
16890 * sysdeps/s390/dl-tls.h: Likewise.
16891 * sysdeps/sh/dl-tls.h: Likewise.
16892 * sysdeps/sparc/dl-tls.h: Likewise.
16893 * sysdeps/x86_64/dl-tls.h: Likewise.
16894 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16895
34fe483e
AS
168962011-03-14 Andreas Schwab <schwab@redhat.com>
16897
16898 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16899 rpath element also skip the following colon.
16900 (expand_dynamic_string_token): Add is_path parameter and pass
16901 down to DL_DST_REQUIRED and _dl_dst_substitute.
16902 (decompose_rpath): Call expand_dynamic_string_token with
16903 non-zero is_path. Ignore empty rpaths.
16904 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16905 with zero is_path.
16906
f12a32e6
AS
169072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16908
16909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16910 Make cancelable.
16911
38a7d692
UD
169122011-04-09 Ulrich Drepper <drepper@gmail.com>
16913
16914 [BZ #12655]
16915 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16916 Patch by Filipe David Manana <fdmanana@apache.org>.
16917
e451d22b
AS
169182011-04-07 Andreas Schwab <schwab@redhat.com>
16919
16920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16921 Maintain aligned stack.
16922 (CHECK_RSP): Remove unused macro.
16923
dedc7c7b
UD
169242011-04-03 Ulrich Drepper <drepper@gmail.com>
16925
16926 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16928
94521213
UD
169292011-04-02 Ulrich Drepper <drepper@gmail.com>
16930
16931 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16932
8cb700c0 16933 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16934
0354e355
L
169352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16936
16937 [BZ #12518]
16938 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16939 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16940 * sysdeps/x86_64/memmove.c: New file.
16941 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16942 (memcpy): Renamed to ...
16943 (__new_memcpy): This.
16944 (memcpy): Provide GLIBC_2_14 memcpy.
16945 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16946 (memcpy): Provide GLIBC_2_2_5 memcpy.
16947
8593482f
UD
169482011-04-01 Ulrich Drepper <drepper@gmail.com>
16949
16950 [BZ #12631]
16951 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16952
81a5726b
AS
169532011-03-30 Andreas Schwab <schwab@redhat.com>
16954
16955 * misc/syncfs.c: New file.
16956 * misc/Makefile (routines): Add syncfs.
16957 * posix/unistd.h: Declare syncfs.
16958 * sysdeps/unix/syscalls.list: Add syncfs.
16959
00e5419f
AS
169602011-04-01 Andreas Schwab <schwab@redhat.com>
16961
16962 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16963 open_by_handle_at.
16964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16969 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16971
748876bf
UD
169722011-04-01 Ulrich Drepper <drepper@gmail.com>
16973
658e451d
UD
16974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16975 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16976 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16980 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16981
748876bf
UD
16982 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16983 sync_file_range.c with -fexceptions.
16984 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16985 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16986 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16987 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16988 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16989 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16991 sync_file_range as cancellation point
16992 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16993 now a wrapper around __call_sync_file_range with cancellation handling.
16994 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16995 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16996 function name to __call_sync_file_range.
16997 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16998 Add call_sync_file_range.
748876bf 16999
6e63d5e1
AS
170002011-04-01 Andreas Schwab <schwab@redhat.com>
17001
17002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17003 bits/timex.h.
6e63d5e1 17004
46998f74
UD
170052011-04-01 Ulrich Drepper <drepper@gmail.com>
17006
4c1423ed
UD
17007 * iconv/iconv.h: Fix typo in comment.
17008 * io/fcntl.h: Likewise.
17009 * libio/stdio.h: Likewise.
17010 * posix/spawn.h: Likewise.
17011 * posix/unistd.h: Likewise.
17012 * stdlib/stdlib.h: Likewise.
17013 * time/time.h: Likewise.
17014 * wcsmbs/wchar.h: Likewise.
17015
158648c0
UD
17016 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17017 open_by_handle): Add.
17018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17019 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17020 Augment a few comments.
17021 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17026 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17027 open_by_handle.
17028
46998f74
UD
17029 * io/fcntl.h (AT_EMPTY_PATH): Define.
17030
83fe108b
UD
170312011-03-30 Ulrich Drepper <drepper@gmail.com>
17032
17033 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17034 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17035 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17036 to...
17037 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17038 * Versions.def: Add GLIBC_2.14.
17039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17040 Export.
83fe108b 17041
bb242059
UD
170422011-03-22 Ulrich Drepper <drepper@gmail.com>
17043
17044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17045 round counter.
17046 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17047
c97a1282
L
170482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17049
17050 [BZ #12597]
17051 * string/test-strncmp.c (do_page_test): New function.
17052 (check2): Likewise.
17053 (test_main): Call check2.
17054 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17055
2a115601
UD
170562011-03-20 Ulrich Drepper <drepper@gmail.com>
17057
17058 [BZ #12587]
17059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17060 Handle cache information in CPU leaf 4.
17061 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17062
8126d904
UD
170632011-03-18 Ulrich Drepper <drepper@gmail.com>
17064
042c49c6 17065 [BZ #12583]
8126d904
UD
17066 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17067 character representation.
17068 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17069
ccfe366e
RA
170702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17071
17072 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17073 END(__isnan) to END(__isnanf) to match function entry point/label
17074 EALIGN(__isnanf,...).
17075
c6e13027
JJ
170762011-03-10 Jakub Jelinek <jakub@redhat.com>
17077
17078 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17079
33f85a3f
UD
170802011-03-10 Ulrich Drepper <drepper@gmail.com>
17081
028478fa
UD
17082 [BZ #12510]
17083 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17084 copy from the symbol referenced in the relocation to initialize the
17085 used variable.
17086 Patch by Piotr Bury <pbury@goahead.com>.
17087 * elf/Makefile: Add rules to build and tst-unique3.
17088 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17089 * elf/tst-unique3.cc: New file.
17090 * elf/tst-unique3.h: New file.
17091 * elf/tst-unique3lib.cc: New file.
17092 * elf/tst-unique3lib2.cc: New file.
17093
33f85a3f
UD
17094 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17095
03592fc7
MF
170962011-03-10 Mike Frysinger <vapier@gentoo.org>
17097
17098 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17099 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17100 to _start.
03592fc7 17101
6a5ee102
UD
171022011-03-06 Ulrich Drepper <drepper@gmail.com>
17103
17104 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17105 to-be-loaded object along a path to loader is ld.so.
17106
7e4ba49c
HJ
171072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17108 Ulrich Drepper <drepper@gmail.com>
17109
17110 * sysdeps/x86_64/memset.S: After aligning destination, code
17111 branches to different locations depending on the value of
17112 misalignment, when multiarch is enabled. Fix this.
17113
171142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17115
17116 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17117 Set _x86_64_preferred_memory_instruction for AMD processsors.
17118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17119 Set bit_Prefer_SSE_for_memop for AMD processors.
17120
13a804de
UD
171212011-03-04 Ulrich Drepper <drepper@gmail.com>
17122
17123 * libio/fmemopen.c (fmemopen): Optimize a bit.
17124
9d25c392
AS
171252011-03-03 Andreas Schwab <schwab@redhat.com>
17126
17127 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17128
a5543c6a
RM
171292011-03-03 Roland McGrath <roland@redhat.com>
17130
17131 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17132
012d35f7
DM
171332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17134
7e4ba49c 17135 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17136 __bzero_ultra1 instead of __memset_ultra1.
17137
4bff6e01
AS
171382011-02-23 Andreas Schwab <schwab@redhat.com>
17139 Ulrich Drepper <drepper@gmail.com>
17140
17141 [BZ #12509]
17142 * include/link.h (struct link_map): Add l_orig_initfini.
17143 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17144 returning unsuccessfully.
17145 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17146 close of a file loaded at startup, restore the original l_initfini
17147 list.
17148 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17149 list, store the pointer.
17150 * elf/Makefile ($(objpfx)noload-mem): New rule.
17151 (noload-ENV): Define.
17152 (tests): Add $(objpfx)noload-mem.
17153 * elf/noload.c: Include <memcheck.h>.
17154 (main): Call mtrace. Close all opened handles.
17155
f2092faf
AS
171562011-02-17 Andreas Schwab <schwab@redhat.com>
17157
17158 [BZ #12454]
17159 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17160 dependencies are missing.
17161
6c8a2e88
ST
171622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17163
f2092faf 17164 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17165 Hurd needs munmap.
17166 * sysdeps/mach/hurd/ifreq.h: New file.
17167
84a42118
PB
171682011-01-27 Petr Baudis <pasky@suse.cz>
17169 Ulrich Drepper <drepper@gmail.com>
17170
071f805e 17171 [BZ 12445]#
84a42118
PB
17172 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17173 to extend_alloca().
17174 * stdio-common/bug23.c: New file.
17175 * stdio-common/Makefile (tests): Add bug23.
17176
e23fe25b
AS
171772010-09-28 Andreas Schwab <schwab@redhat.com>
17178 Ulrich Drepper <drepper@gmail.com>
17179
17180 [BZ #12489]
17181 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17182 before performing relro protection. At old place add assertion
17183 to make sure nothing changed.
17184
d3f02e10
NS
171852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17186 Glauber de Oliveira Costa <glommer@gmail.com>
17187
17188 * elf/elf.h: Add new ARM TLS relocs.
17189
d55fd7a5
RA
171902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17191
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17193 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17194 cast from r3.
17195 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17196 'tests' variable.
17197 * sysdeps/wordsize-64/tst-writev.c: New file.
17198
2206397e
RA
171992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17200
17201 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17202 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17203 insns in _dl_start to prevent a TOC reference before relocs are
17204 resolved.
17205
e9433893
UD
172062011-02-15 Ulrich Drepper <drepper@gmail.com>
17207
17208 [BZ #12469]
17209 * Makeconfig: Remove RANLIB definition.
17210 * Makerules: Don't use RANLIB.
17211 * aclocal.m4: Remove ranlib test.
17212 * configure.in: No need to check for ranlib.
17213 * elf/rtld-Rules: Don't use RANLIB.
17214
f75286c6
ST
172152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17216
8e31c82d
ST
17217 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17218 protection macro.
17219 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17220 inclusion protection macro.
17221
f75286c6
ST
17222 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17223 SIGRTMIN and SIGRTMAX and print information in that case only when
17224 SIGRTMIN is defined.
17225
c1d0e639
JJ
172262011-02-11 Jakub Jelinek <jakub@redhat.com>
17227
17228 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17229 arginfo fn returning -1.
17230
17231 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17232 and thousands string is zero terminated.
17233
edf9294e
AS
172342011-02-03 Andreas Schwab <schwab@redhat.com>
17235
17236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17237 sysdeps/unix/sysv/linux/bits/socket.h.
17238
2b7e92df
ST
172392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17240
edf9294e
AS
17241 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17242 (__CPU_COUNT): Remove old macros.
17243 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17244 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17245 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17246 (__sched_cpualloc, __sched_cpufree): Add declarations.
17247
a4c7ea7b
UD
172482011-02-05 Ulrich Drepper <drepper@gmail.com>
17249
17250 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17251 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17252 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17253 (readdhstai): Return value of addhstaiX call.
17254 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17255 (addgrbyX): Return value returned by cache_addgr.
17256 (readdgrbyname): Return value returned by addgrbyX.
17257 (readdgrbygid): Likewise.
17258 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17259 (addpwbyX): Return value returned by cache_addpw.
17260 (readdpwbyname): Return value returned by addhstbyX.
17261 (readdpwbyuid): Likewise.
17262 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17263 (addservbyX): Return value returned by cache_addserv.
17264 (readdservbyname): Return value returned by addservbyX:
17265 (readdservbyport): Likewise.
17266 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17267 (addhstbyX): Return value returned by cache_addhst.
17268 (readdhstbyname): Return value returned by addhstbyX.
17269 (readdhstbyaddr): Likewise.
17270 (readdhstbynamev6): Likewise.
17271 (readdhstbyaddrv6): Likewise.
17272 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17273 (readdinitgroups): Return value returned by addinitgroupsX.
17274 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17275 (prune_cache): Keep track of timeout value of re-added entries.
17276 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17277 * nscd/nscd.h: Adjust prototypes of readd* functions.
17278
a0bf67cc
RM
172792011-02-04 Roland McGrath <roland@redhat.com>
17280
17281 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17282 (nis_stats): Likewise.
17283 * nis/nis_modify.c (nis_modify): Likewise.
17284 * nis/nis_remove.c (nis_remove): Likewise.
17285 * nis/nis_add.c (nis_add): Likewise.
17286
17287 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17288
17289 * posix/fnmatch_loop.c: Add some consts.
17290
17291 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17292
435b95eb
L
172932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17294
17295 [BZ #12460]
17296 * config.make.in (config-cflags-novzeroupper): Define.
17297 * configure.in: Substitute libc_cv_cc_novzeroupper.
17298 * elf/Makefile (AVX-CFLAGS): Define.
17299 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17300 (CFLAGS-tst-auditmod4a.c): Likewise.
17301 (CFLAGS-tst-auditmod4b.c): Likewise.
17302 (CFLAGS-tst-auditmod6b.c): Likewise.
17303 (CFLAGS-tst-auditmod6c.c): Likewise.
17304 (CFLAGS-tst-auditmod7b.c): Likewise.
17305 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17306
8517b15e
UD
173072011-02-02 Ulrich Drepper <drepper@gmail.com>
17308
17309 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17310 function to the callback.
17311 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17312
10a656fe
AS
173132011-02-02 Andreas Schwab <schwab@redhat.com>
17314
17315 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17316 of errno.
17317
968dad0a
UD
173182011-01-19 Ulrich Drepper <drepper@gmail.com>
17319
9f94d2ea 17320 [BZ #11724]
968dad0a
UD
17321 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17322 of constructors.
17323 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17324 of destructors.
17325 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17326
17327 [BZ #11724]
17328 * elf/Makefile: Add rules to build and run new test.
17329 * elf/tst-initorder.c: New file.
17330 * elf/tst-initorder.exp: New file.
17331 * elf/tst-initordera1.c: New file.
17332 * elf/tst-initordera2.c: New file.
17333 * elf/tst-initordera3.c: New file.
17334 * elf/tst-initordera4.c: New file.
17335 * elf/tst-initorderb1.c: New file.
17336 * elf/tst-initorderb2.c: New file.
17337 * elf/tst-order-a1.c: New file.
17338 * elf/tst-order-a2.c: New file.
17339 * elf/tst-order-a3.c: New file.
17340 * elf/tst-order-a4.c: New file.
17341 * elf/tst-order-b1.c: New file.
17342 * elf/tst-order-b2.c: New file.
17343 * elf/tst-order-main.c: New file.
17344 New test case by George Gensure <werkt0@gmail.com>.
17345
86e92359
UD
173462010-10-01 Andreas Schwab <schwab@redhat.com>
17347
17348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17349 decoding ACE if AI_CANONIDN.
17350
5d5732b0
UD
173512011-01-18 Ulrich Drepper <drepper@gmail.com>
17352
17353 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17354
a77e8cbc
UD
173552011-01-17 Ulrich Drepper <drepper@gmail.com>
17356
6392473f
UD
17357 * version.h (RELEASE): Bump for 2.13 release.
17358 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17359
620a0529
UD
17360 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17361
18ba70a5
UD
17362 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17363 MADV_NOHUGEPAGE.
32465c3e
UD
17364 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17365 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17367 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17370
c0dafcf1
UD
17371 * posix/getconf.c: Update copyright year.
17372 * catgets/gencat.c: Likewise.
17373 * csu/version.c: Likewise.
17374 * debug/catchsegv.sh: Likewise.
17375 * debug/xtrace.sh: Likewise.
17376 * elf/ldconfig.c: Likewise.
17377 * elf/ldd.bash.in: Likewise.
17378 * elf/sprof.c (print_version): Likewise.
17379 * iconv/iconv_prog.c: Likewise.
17380 * iconv/iconvconfig.c: Likewise.
17381 * locale/programs/locale.c: Likewise.
17382 * locale/programs/localedef.c: Likewise.
17383 * malloc/memusage.sh: Likewise.
17384 * malloc/mtrace.pl: Likewise.
17385 * nscd/nscd.c (print_version): Likewise.
17386 * nss/getent.c: Likewise.
17387
a77e8cbc
UD
17388 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17389 PF_CAIF, and PF_ALG.
17390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17391
77e8bddf
AS
173922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17393
1f20b93a
AS
17394 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17395 (modules-names): Use them.
17396 (ifunc-test-modules, ifunc-pie-tests): Define.
17397 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17398 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17399 (test-extras): Likewise.
17400 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17401 $(compile-command.c).
17402 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17403 (all-built-dso): Define.
17404 (check-textrel.out, check-execstack.out): Depend on it.
17405
77e8bddf
AS
17406 * configure.in: Don't override --enable-multi-arch.
17407
bc425b33
UD
174082011-01-15 Ulrich Drepper <drepper@gmail.com>
17409
17410 [BZ #6812]
17411 * nscd/hstcache.c (tryagain): Define.
17412 (cache_addhst): Return tryagain not notfound for temporary errors.
17413 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17414 failed.
17415
794c3ad3
UD
174162011-01-14 Ulrich Drepper <drepper@gmail.com>
17417
70181fdd
UD
17418 [BZ #10563]
17419 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17420 to make the syscall.
17421 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17422
794c3ad3
UD
17423 [BZ #12378]
17424 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17425 and fall back to matching as normal character if the string ends before
17426 the matching ']' is found. This is what POSIX requires.
17427 * posix/testfnm.c: Adjust test result.
17428 * posix/globtest.sh: Adjust test result. Add new test.
17429 * posix/tst-fnmatch.input: Likewise.
17430 * posix/tst-fnmatch2.c: Add new test.
17431
68dc9497
AS
174322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17433
17434 * elf/Makefile (check-execstack): Revert last change. Depend on
17435 check-execstack.h.
17436 (check-execstack.h): New target.
17437 (generated): Add check-execstack.h.
17438 * elf/check-execstack.c: Include "check-execstack.h".
17439 (main): Revert last change.
17440 (handle_file): Return zero if GNU_STACK is absent and
17441 DEFAULT_STACK_PERMS doesn't include PF_X.
17442
451f001b
UD
174432011-01-13 Ulrich Drepper <drepper@gmail.com>
17444
cfa28e56
UD
17445 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17446 in child fails because the descriptor is already closed.
8cf8ce17
UD
17447 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17448 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17450
1086d70d
UD
17451 [BZ #12397]
17452 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17453 syscall.
17454
451f001b
UD
17455 [BZ #10484]
17456 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17457 temporary buffer used to handle multi lookups locally.
a85b5cb4 17458 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17459
08769175
UD
174602011-01-12 Ulrich Drepper <drepper@gmail.com>
17461
17462 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17463 loader is ld.so.
17464
5e49c52e
UD
174652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17466
17467 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17468 alignment for SSE2.
17469
60522a5f
UD
174702011-01-12 Ulrich Drepper <drepper@gmail.com>
17471
17472 [BZ #12394]
17473 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17474 characters. When rounding increased number of integer digits recompute
17475 number of groups.
17476 * stdio-common/tst-grouping.c: New file.
17477 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17478
f257bbd7
UD
174792011-01-09 Ulrich Drepper <drepper@gmail.com>
17480
17481 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17482 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17483
17484 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17485 void.
17486 * bits/select.h: Likewise.
17487
fa9c15cb
UD
174882011-01-08 Ulrich Drepper <drepper@gmail.com>
17489
17490 * po/ja.po: Update from translation team.
17491
16c2895f
DM
174922011-01-04 David S. Miller <davem@sunset.davemloft.net>
17493
17494 [BZ #11155]
17495 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17496 implementation just like for lxstat, fxstatat, et al.
17497
2543fef2
JM
174982010-12-27 Jim Meyering <meyering@redhat.com>
17499
17500 [BZ #12348]
17501 * posix/regexec.c (build_trtable): Return failure indication upon
17502 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17503
98727dbe
UD
175042010-12-25 Ulrich Drepper <drepper@gmail.com>
17505
5bd6dc5c
UD
17506 [BZ #12201]
17507 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17508 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17509 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17511
97983464
UD
17512 [BZ #12207]
17513 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17514
98727dbe
UD
17515 [BZ #12204]
17516 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17517 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17518
4a531bb0
L
175192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17520
17521 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17522 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17523 script has SORT_BY_INIT_PRIORITY.
17524 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17525 NO_CTORS_DTORS_SECTIONS is defined.
17526 * elf/soinit.c: Likewise.
17527 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17528 NO_CTORS_DTORS_SECTIONS is defined.
17529 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17530 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17531 * sysdeps/sh/init-first.c: Likewise.
17532 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17533
07eb4b71
UD
175342010-12-24 Ulrich Drepper <drepper@gmail.com>
17535
17536 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17537 always use the slow path.
17538
30950a5f
RA
175392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17540
17541 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17542 similar rule which adds the sysdep directories to the header search in
17543 order to pick up the correct platform stackinfo.h.
17544 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17545 perform test if it is, otherwise return successfully without testing.
17546 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17547 DEFAULT_STACK_PERMS define in stackinfo.h.
17548 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17549 defined in stackinfo.h.
17550 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17551 DEFAULT_STACK_PERMS defined in stackinfo.h.
17552 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17553 * sysdeps/ia64/stackinfo.h: Likewise.
17554 * sysdeps/s390/stackinfo.h: Likewise.
17555 * sysdeps/sh/stackinfo.h: Likewise.
17556 * sysdeps/sparc/stackinfo.h: Likewise.
17557 * sysdeps/x86_64/stackinfo.h: Likewise.
17558 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17559 PF_X for powerpc64. Retain PF_X for powerpc32.
17560
db753e2c
UD
175612010-12-19 Ulrich Drepper <drepper@gmail.com>
17562
14b697f7
UD
17563 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17564 accurately.
db753e2c
UD
17565 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17566 GETDENTS_64BIT_ALIGNED.
17567
28300719
UD
175682010-12-14 Ulrich Drepper <dreper@gmail.com>
17569
14b697f7 17570 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17571
4f197237
AS
175722010-12-10 Andreas Schwab <schwab@redhat.com>
17573
dbb0472f
AS
17574 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17575 _GNU_SOURCE.
17576
4f197237
AS
17577 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17578 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17579 Remove __restrict.
17580 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17581 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17582
fb88ac72
UD
175832010-12-09 Ulrich Drepper <drepper@gmail.com>
17584
17585 [BZ #11655]
17586 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17587 are initialized.
17588
42acbb92
JJ
175892010-12-09 Jakub Jelinek <jakub@redhat.com>
17590
17591 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17592
c038d98d
UD
175932010-12-03 Ulrich Drepper <drepper@gmail.com>
17594
17595 * po/it.po: Update from translation team.
17596
3a4a2499
L
175972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17598
17599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17600 unused codes.
17601
1e24cf6e
UD
176022010-11-30 Ulrich Drepper <drepper@gmail.com>
17603
17604 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17605
a7690819
AS
176062010-11-24 Andreas Schwab <schwab@redhat.com>
17607
17608 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17609 specially.
17610 (gaih_getanswer_slice): Likewise.
17611
3bf8d1b1
JJ
176122010-10-20 Jakub Jelinek <jakub@redhat.com>
17613
17614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17615
6db52fbb
PB
176162010-05-31 Petr Baudis <pasky@suse.cz>
17617
17618 [BZ #11149]
17619 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17620 silently even in the chroot mode.
17621
eaca7569
UD
176222010-11-22 Ulrich Drepper <drepper@gmail.com>
17623
17624 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17625 last patch a bit. Pretty printing
17626
3056dcdb
UD
176272010-05-31 Petr Baudis <pasky@suse.cz>
17628
17629 [BZ #10085]
17630 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17631 initialization of skip_initgroups_dyn.
17632
cf7c9078
UD
176332010-11-19 Ulrich Drepper <drepper@gmail.com>
17634
17635 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17636 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17637
a1fb5e3e
UD
176382010-11-16 Ulrich Drepper <drepper@gmail.com>
17639
17640 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17641
3540d66b
AS
176422010-11-11 Andreas Schwab <schwab@redhat.com>
17643
17644 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17645 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17646 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17647 ($(objpfx)tst-fnmatch-mem): New rule.
17648 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17649 * posix/tst-fnmatch.c (main): Call mtrace.
17650
13b69574
L
176512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17654 Support Intel processor model 6 and model 0x2c.
17655
da93d214
LM
176562010-11-10 Luis Machado <luisgpm@br.ibm.com>
17657
17658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17659 signed comparison.
17660
8ca52c6e
L
176612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17662
17663 [BZ #12205]
17664 * string/test-strncasecmp.c (check_result): New function.
17665 (do_one_test): Use it.
17666 (check1): New function.
17667 (test_main): Use it.
17668 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17669 Support strcasecmp and strncasecmp.
17670
69da074d
UD
176712010-11-08 Ulrich Drepper <drepper@gmail.com>
17672
17673 [BZ #12194]
17674 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17676
ff02d528
L
176772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17678
17679 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17680 IFUNC support.
17681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17682 memset-x86-64.
17683 * sysdeps/x86_64/multiarch/bzero.S: New file.
17684 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17685 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17686 * sysdeps/x86_64/multiarch/memset.S: New file.
17687 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17689 Set bit_Prefer_SSE_for_memop for Intel processors.
17690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17691 Define.
17692 (index_Prefer_SSE_for_memop): Define.
17693 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17694
344d0b54
LM
176952010-11-04 Luis Machado <luisgpm@br.ibm.com>
17696
17697 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17698 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17699
c0dde15b
UD
177002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17701
17702 [BZ #12191]
17703 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17704 (__x86_64_raw_data_cache_size_half): Likewise.
17705 (__x86_64_raw_shared_cache_size): Likewise.
17706 (__x86_64_raw_shared_cache_size_half): Likewise.
17707
17708 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17709 (__x86_64_raw_data_cache_size_half): Likewise.
17710 (__x86_64_raw_shared_cache_size): Likewise.
17711 (__x86_64_raw_shared_cache_size_half): Likewise.
17712 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17713 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17714 and __x86_64_raw_shared_cache_size_half. Round
17715 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17716 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17717 to multiple of 256 bytes.
17718
0e516e0e
MS
177192010-11-03 Ulrich Drepper <drepper@gmail.com>
17720
17721 [BZ #12167]
17722 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17723 of inacessible symlinks. Verify result of symlink before returning it.
17724 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17725 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17726
0e012e87
ER
177272010-10-28 Erich Ritz <erichritz@gmail.com>
17728
17729 * math/math.h (isinf): Fix typo in comment.
17730
de0ff7bc
UD
177312010-11-01 Ulrich Drepper <drepper@gmail.com>
17732
17733 * po/da.po: Update from translation team.
17734
fa41c84d
UD
177352010-10-26 Ulrich Drepper <drepper@gmail.com>
17736
17737 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17738 is added to the list.
17739
f0967738
AK
177402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17741 Ulrich Drepper <drepper@gmail.com>
17742
17743 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17744 the global list here. Move code to...
17745 (_dl_add_to_namespace_list): ...here. New function.
17746 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17747 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17748 * elf/dl-load.c (lose): Don't remove the element from the list.
17749 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17750 (_dl_map_object): Likewise.
17751
177522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17753
17754 [BZ #12159]
17755 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17756 into all bytes of SSE register.
17757 Patch by Richard Li <richardpku@gmail.com>.
17758
f0967738 177592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17760
17761 [BZ #12140]
17762 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17763 perturbing.
17764
d0b9e94f
MB
177652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17766
17767 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17768 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17769 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17770 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17772 submachine.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17774
8e9f92e9
AS
177752010-10-22 Andreas Schwab <schwab@redhat.com>
17776
17777 * include/dlfcn.h (__RTLD_SECURE): Define.
17778 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17779 mode & __RTLD_SECURE instead.
17780 (open_path): Rename preloaded parameter to secure.
17781 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17782 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17783 * elf/dl-deps.c (openaux): Likewise.
17784 * elf/rtld.c (struct map_args): Remove is_preloaded.
17785 (map_doit): Don't use it.
17786 (dl_main): Likewise.
17787 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17788 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17789
bc96fbda
AS
177902010-09-09 Andreas Schwab <schwab@redhat.com>
17791
17792 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17793 (sysd-rules-targets): Remove duplicates.
17794 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17795 rtld-%.$o dependency.
17796
22cd1c9b
AS
177972010-10-18 Andreas Schwab <schwab@redhat.com>
17798
17799 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17800 _dl_map_object do it.
17801
18edac48
UD
178022010-10-19 Ulrich Drepper <drepper@gmail.com>
17803
17804 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17805 fast fma builtins, define the macros in the C99 standard.
17806 (FP_FAST_FMAF): Likewise.
17807 (FP_FAST_FMAL): Likewise.
17808 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17809
17810 * bits/mathdef.h: Update copyright year.
17811 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17812
d2050124
MM
178132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17814
17815 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17816 builtins, define the macros in the C99 standard.
17817 (FP_FAST_FMAF): Likewise.
17818 (FP_FAST_FMAL): Likewise.
17819 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17820 multiply/add.
17821 (FP_FAST_FMAF): Likewise.
17822
475facd1
JJ
178232010-10-15 Jakub Jelinek <jakub@redhat.com>
17824
17825 [BZ #3268]
17826 * math/libm-test.inc (fma_test): Some new testcases.
17827 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17829 y and infinite z. Do multiplication by C already in long double.
17830 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17832 y and infinite z. Do bitwise or of inexact bit into u.d.
17833 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17834 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17835 * sysdeps/i386/fpu/s_fma.S: Removed.
17836 * sysdeps/i386/fpu/s_fmal.S: Removed.
17837
7c08a05c
JJ
178382010-10-16 Jakub Jelinek <jakub@redhat.com>
17839
17840 [BZ #3268]
17841 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17843 computation is not scheduled after fetestexcept. Fix value
17844 of minimum denormal long double.
17845
f3f7372d
JJ
178462010-10-14 Jakub Jelinek <jakub@redhat.com>
17847
17848 [BZ #3268]
17849 * math/libm-test.inc (fma_test): Add some more tests.
17850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17851 correctly.
17852
14d43591
AS
178532010-10-15 Andreas Schwab <schwab@redhat.com>
17854
17855 * scripts/data/localplt-s390-linux-gnu.data: New file.
17856 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17857
5e908464
JJ
178582010-10-13 Jakub Jelinek <jakub@redhat.com>
17859
17860 [BZ #3268]
17861 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17862 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17863 instead of dbl-64.
17864 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17865 inlines.
17866 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17868 if one of x and y is very large and the other is subnormal.
17869 * sysdeps/s390/fpu/s_fmaf.c: New file.
17870 * sysdeps/s390/fpu/s_fma.c: New file.
17871 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17872 * sysdeps/powerpc/fpu/s_fma.S: New file.
17873 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17874 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17875 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17876
178772010-10-12 Jakub Jelinek <jakub@redhat.com>
17878
17879 [BZ #3268]
17880 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17881 fma tests.
17882 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17883 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17884 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17885 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17886 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17887 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17888 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17889
b833d51f
UD
178902010-10-12 Ulrich Drepper <drepper@redhat.com>
17891
17892 [BZ #12078]
17893 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17894 * posix/bug-regex31.input: Add test case.
17895
1751705d
UD
178962010-10-11 Ulrich Drepper <drepper@gmail.com>
17897
e9b9cbf5
UD
17898 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17899 * posix/bug-regex31.input: New file.
17900
17901 [BZ #12078]
17902 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17903 (parse_sub_exp): Fix last change, use postorder.
17904
ef06edbe
UD
17905 * posix/bug-regex31.c: New file.
17906 * posix/Makefile: Add rules to build and run bug-regex31.
17907
a129c80d
UD
17908 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17909
17910 [BZ #12078]
17911 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17912
b76b818e
UD
17913 [BZ #12108]
17914 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17915 to have entries in sys_siglist.
17916
1751705d
UD
17917 [BZ #12093]
17918 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17919 be NULL.
17920
9ff8d36f
JJ
179212010-10-07 Jakub Jelinek <jakub@redhat.com>
17922
17923 [BZ #3268]
17924 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17925 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17926 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17927 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17928 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17929 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17930 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17931 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17932 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17933 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17934 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17935 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17936 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17937 * math/ftestexcept.c (fetestexcept): Likewise.
17938 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17939 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17940 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17941 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17942 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17943 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17944 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17945
af325969
UD
179462010-10-11 Ulrich Drepper <drepper@gmail.com>
17947
c579b202 17948 [BZ #12107]
af325969
UD
17949 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17950 newline.
17951
67a67b95
UD
179522010-10-06 Ulrich Drepper <drepper@gmail.com>
17953
17954 * string/bug-strstr1.c: New file.
17955 * string/Makefile: Add rules to build and run bug-strstr1.
17956
5fb308bc
EB
179572010-10-05 Eric Blake <eblake@redhat.com>
17958
17959 [BZ #12092]
17960 * string/str-two-way.h (two_way_long_needle): Always clear memory
17961 when skipping input due to the shift table.
17962
45db99c7
UD
179632010-10-03 Ulrich Drepper <drepper@gmail.com>
17964
3b111893
UD
17965 [BZ #12005]
17966 * malloc/mcheck.c: Handle large requests.
17967
45db99c7
UD
17968 [BZ #12077]
17969 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17970 for strncmp and strncasecmp.
17971 * string/stratcliff.c: Add tests for strcmp and strncmp.
17972 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17973
cf7a1eb8
NI
179742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17975
17976 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17977 __set_fpscr.
17978
6484ba5e
AJ
179792010-09-30 Andreas Jaeger <aj@suse.de>
17980
17981 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17982 (CGROUP_SUPER_MAGIC): Define.
17983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17984 Handle btrfs and cgroup file systems.
17985 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17986 Likewise.
17987
91c42559
LM
179882010-09-27 Luis Machado <luisgpm@br.ibm.com>
17989
17990 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17991 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17992
87a97932
AK
179932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17994
17995 [BZ #12067]
17996 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17997 trying to locate the ELF header.
17998
c21cc9bc
AS
179992010-09-27 Andreas Schwab <schwab@redhat.com>
18000
18001 [BZ #11611]
18002 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18003 Mask out sign-bit copies when constructing f_fsid.
18004
315970f6
PB
180052010-09-24 Petr Baudis <pasky@suse.cz>
18006
18007 * debug/stack_chk_fail_local.c: Add missing licence exception.
18008 * debug/warning-nop.c: Likewise.
18009
1ac7a2c7
JM
180102010-09-15 Joseph Myers <joseph@codesourcery.com>
18011
18012 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18013 implementing getdents64 using getdents syscall, set d_type if
18014 __ASSUME_GETDENTS32_D_TYPE.
18015
56801c50
AS
180162010-09-16 Andreas Schwab <schwab@redhat.com>
18017
18018 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18019 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18020
dda51327
UD
180212010-09-21 Ulrich Drepper <drepper@redhat.com>
18022
18023 [BZ #12037]
18024 * posix/unistd.h: Undo change of feature selection for ftruncate from
18025 2010-01-11.
18026
8ffcee4a
UD
180272010-09-20 Ulrich Drepper <drepper@redhat.com>
18028
a545ecd9 18029 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18030 detection.
18031
e24f0a8b
AS
180322010-09-20 Andreas Schwab <schwab@redhat.com>
18033
18034 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18035 fanotify_mark.
18036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18037
7291c56f
AS
180382010-09-14 Andreas Schwab <schwab@redhat.com>
18039
18040 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18041 variables after CHECK_SP call.
18042 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18043
bc5fb037
AS
180442010-09-13 Andreas Schwab <schwab@redhat.com>
18045 Ulrich Drepper <drepper@redhat.com>
18046
18047 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18048 re-relocationg ld.so.
18049 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18050 _dl_init_paths call.
18051 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18052 here anymore.
18053
e66e7419
UD
180542010-09-14 Ulrich Drepper <drepper@redhat.com>
18055
18056 * resolv/res_init.c (__res_vinit): Count the default server we added.
18057
c044aa75
CLT
180582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18059 Ulrich Drepper <drepper@redhat.com>
18060
18061 [BZ #11968]
18062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18063 (____longjmp_chk): Use %ebx for saving value across system call.
18064 Add unwind info.
18065
32cf4069
AS
180662010-09-06 Andreas Schwab <schwab@redhat.com>
18067
18068 * manual/Makefile: Don't mix pattern rules with normal rules.
18069
817328ee
AS
180702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18071
18072 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18073 operation.
18074 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18075 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18076 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18077 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18078 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18079 Likewise.
18080
29fddf61
UD
180812010-09-04 Ulrich Drepper <drepper@redhat.com>
18082
18083 [BZ #11979]
18084 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18085 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18086
0959ffc9
UD
180872010-09-02 Ulrich Drepper <drepper@redhat.com>
18088
18089 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18090 * sysdeps/x86_64/addmul_1.S: Likewise.
18091 * sysdeps/x86_64/lshift.S: Likewise.
18092 * sysdeps/x86_64/mul_1.S: Likewise.
18093 * sysdeps/x86_64/rshift.S: Likewise.
18094 * sysdeps/x86_64/sub_n.S: Likewise.
18095 * sysdeps/x86_64/submul_1.S: Likewise.
18096
ece29840
ST
180972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18098
0959ffc9
UD
18099 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18100 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18101 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18102 * bits/sched.h [__need_schedparam]
ece29840 18103 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18104 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18105 (__defined_schedparam): Define to 1.
ece29840
ST
18106 (__sched_param): New structure, identical to sched_param.
18107 (__need_schedparam): Undefine.
18108
e53a31fe
MF
181092010-08-31 Mike Frysinger <vapier@gentoo.org>
18110
fdc0c10d
MF
18111 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18112 (epoll_create1): Declare.
18113
e53a31fe
MF
18114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18115
a726d796
AS
181162010-08-31 Andreas Schwab <schwab@redhat.com>
18117
18118 [BZ #7066]
18119 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18120 shifting retval into place.
18121
2f3e3dc7
UD
181222010-09-01 Ulrich Drepper <drepper@redhat.com>
18123
f2933da9
UD
18124 * nis/rpcsvc/nis.h: Update copyright notice.
18125 * nis/rpcsvc/nis.x: Likewise.
18126 * nis/rpcsvc/nis_callback.h: Likewise.
18127 * nis/rpcsvc/nis_callback.x: Likewise.
18128 * nis/rpcsvc/nis_object.x: Likewise.
18129 * nis/rpcsvc/nis_tags.h: Likewise.
18130 * nis/rpcsvc/yp.h: Likewise.
18131 * nis/rpcsvc/yp.x: Likewise.
18132 * nis/rpcsvc/ypupd.h: Likewise.
18133 * nis/yp_xdr.c: Likewise.
18134 * nis/ypupdate_xdr.c: Likewise.
18135
2f3e3dc7
UD
18136 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18137 mainly the body of pmap_getport. Add parameters to specify timeouts.
18138 (pmap_getport): Use __libc_rpc_getport.
18139 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18140 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18141 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18142
f3dcc2f9
AS
181432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18144
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18146 fanotify_mark.
18147
6d34eb5b
RM
181482010-08-27 Roland McGrath <roland@redhat.com>
18149
18150 * sysdeps/i386/i686/multiarch/Makefile
18151 (CFLAGS-varshift.c): New variable.
18152
9ea3de11
UD
181532010-08-27 Ulrich Drepper <drepper@redhat.com>
18154
c96d23fc
UD
18155 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18156 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18157
9ea3de11
UD
18158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18159
18160 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18161
623aac7f
L
181622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18163
18164 * sysdeps/x86_64/strlen.S: Unroll the loop.
18165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18166 strlen-sse2 strlen-sse2-bsf.
18167 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18168 __strlen_no_bsf if bit_Slow_BSF is set.
18169 (__strlen_sse42): Removed.
18170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18171 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18172
8b2b7715
RM
181732010-08-25 Roland McGrath <roland@redhat.com>
18174
18175 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18176 * sysdeps/x86_64/multiarch/varshift.c: New file.
18177 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18178 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18179 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18180 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18181
e73015f2
L
181822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18183
18184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18185 strlen-sse2 strlen-sse2-bsf.
18186 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18187 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18188 (__strlen_sse2): Removed.
18189 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18190 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18192 bit_Slow_BSF for Atom.
18193 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18194 (index_Slow_BSF): Define.
18195 (HAS_SLOW_BSF): Define.
18196
df24a73e
UD
181972010-08-25 Ulrich Drepper <drepper@redhat.com>
18198
18199 [BZ #10851]
18200 * resolv/res_init.c (__res_vinit): When no server address at all
18201 is given default to loopback.
18202
f2ac4868
RM
182032010-08-24 Roland McGrath <roland@redhat.com>
18204
09055553
RM
18205 * configure.in: Remove config-name.h generation.
18206 * configure: Regenerated.
18207 * config-name.in: File removed.
18208 * scripts/config-uname.sh: New file.
18209 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18210 ($(objdir)config-name.h): New target.
18211
f2ac4868
RM
18212 * sunrpc/rpc_parse.h: Avoid nested comment.
18213
73f27d5e
RH
182142010-08-24 Richard Henderson <rth@redhat.com>
18215 Ulrich Drepper <drepper@redhat.com>
18216 H.J. Lu <hongjiu.lu@intel.com>
18217
18218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18220 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18221 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18222 _mm_alignr_epi8 with _mm_loadu_si128.
18223 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18224 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18225 (__m128i_shift_right): Removed.
18226 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18227 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18228 * sysdeps/x86_64/multiarch/varshift.h: New file.
18229 * sysdeps/x86_64/multiarch/varshift.S: New file.
18230
84b9230c
MF
182312010-08-21 Mike Frysinger <vapier@gentoo.org>
18232
18233 * configure.in: Move assembler checks to before sysdep dir checking.
18234
9bbd0ddc
PB
182352010-08-20 Petr Baudis <pasky@suse.cz>
18236
18237 * LICENSES: Sync the sunrpc license.
18238
9da4bb31
UD
182392010-08-19 Ulrich Drepper <drepper@redhat.com>
18240
a7ab6ec8
UD
18241 * sunrpc/auth_des.c: Update copyright notice once again.
18242 * sunrpc/auth_none.c: Likewise.
18243 * sunrpc/auth_unix.c: Likewise.
18244 * sunrpc/authdes_prot.c: Likewise.
18245 * sunrpc/authuxprot.c: Likewise.
18246 * sunrpc/bindrsvprt.c: Likewise.
18247 * sunrpc/clnt_gen.c: Likewise.
18248 * sunrpc/clnt_perr.c: Likewise.
18249 * sunrpc/clnt_raw.c: Likewise.
18250 * sunrpc/clnt_simp.c: Likewise.
18251 * sunrpc/clnt_tcp.c: Likewise.
18252 * sunrpc/clnt_udp.c: Likewise.
18253 * sunrpc/clnt_unix.c: Likewise.
18254 * sunrpc/des_crypt.c: Likewise.
18255 * sunrpc/des_soft.c: Likewise.
18256 * sunrpc/get_myaddr.c: Likewise.
18257 * sunrpc/getrpcport.c: Likewise.
18258 * sunrpc/key_call.c: Likewise.
18259 * sunrpc/key_prot.c: Likewise.
18260 * sunrpc/openchild.c: Likewise.
18261 * sunrpc/pm_getmaps.c: Likewise.
18262 * sunrpc/pm_getport.c: Likewise.
18263 * sunrpc/pmap_clnt.c: Likewise.
18264 * sunrpc/pmap_prot.c: Likewise.
18265 * sunrpc/pmap_prot2.c: Likewise.
18266 * sunrpc/pmap_rmt.c: Likewise.
18267 * sunrpc/rpc/auth.h: Likewise.
18268 * sunrpc/rpc/auth_unix.h: Likewise.
18269 * sunrpc/rpc/clnt.h: Likewise.
18270 * sunrpc/rpc/des_crypt.h: Likewise.
18271 * sunrpc/rpc/key_prot.h: Likewise.
18272 * sunrpc/rpc/netdb.h: Likewise.
18273 * sunrpc/rpc/pmap_clnt.h: Likewise.
18274 * sunrpc/rpc/pmap_prot.h: Likewise.
18275 * sunrpc/rpc/pmap_rmt.h: Likewise.
18276 * sunrpc/rpc/rpc.h: Likewise.
18277 * sunrpc/rpc/rpc_des.h: Likewise.
18278 * sunrpc/rpc/rpc_msg.h: Likewise.
18279 * sunrpc/rpc/svc.h: Likewise.
18280 * sunrpc/rpc/svc_auth.h: Likewise.
18281 * sunrpc/rpc/types.h: Likewise.
18282 * sunrpc/rpc/xdr.h: Likewise.
18283 * sunrpc/rpc_clntout.c: Likewise.
18284 * sunrpc/rpc_cmsg.c: Likewise.
18285 * sunrpc/rpc_common.c: Likewise.
18286 * sunrpc/rpc_cout.c: Likewise.
18287 * sunrpc/rpc_dtable.c: Likewise.
18288 * sunrpc/rpc_hout.c: Likewise.
18289 * sunrpc/rpc_main.c: Likewise.
18290 * sunrpc/rpc_parse.c: Likewise.
18291 * sunrpc/rpc_parse.h: Likewise.
18292 * sunrpc/rpc_prot.c: Likewise.
18293 * sunrpc/rpc_sample.c: Likewise.
18294 * sunrpc/rpc_scan.c: Likewise.
18295 * sunrpc/rpc_scan.h: Likewise.
18296 * sunrpc/rpc_svcout.c: Likewise.
18297 * sunrpc/rpc_tblout.c: Likewise.
18298 * sunrpc/rpc_util.c: Likewise.
18299 * sunrpc/rpc_util.h: Likewise.
18300 * sunrpc/rpcinfo.c: Likewise.
18301 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18302 * sunrpc/rpcsvc/key_prot.x: Likewise.
18303 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18304 * sunrpc/rpcsvc/mount.x: Likewise.
18305 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18306 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18307 * sunrpc/rpcsvc/rex.x: Likewise.
18308 * sunrpc/rpcsvc/rstat.x: Likewise.
18309 * sunrpc/rpcsvc/rusers.x: Likewise.
18310 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18311 * sunrpc/rpcsvc/spray.x: Likewise.
18312 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18313 * sunrpc/rtime.c: Likewise.
18314 * sunrpc/svc.c: Likewise.
18315 * sunrpc/svc_auth.c: Likewise.
18316 * sunrpc/svc_authux.c: Likewise.
18317 * sunrpc/svc_raw.c: Likewise.
18318 * sunrpc/svc_run.c: Likewise.
18319 * sunrpc/svc_simple.c: Likewise.
18320 * sunrpc/svc_tcp.c: Likewise.
18321 * sunrpc/svc_udp.c: Likewise.
18322 * sunrpc/svc_unix.c: Likewise.
18323 * sunrpc/svcauth_des.c: Likewise.
18324 * sunrpc/xcrypt.c: Likewise.
18325 * sunrpc/xdr.c: Likewise.
18326 * sunrpc/xdr_array.c: Likewise.
18327 * sunrpc/xdr_float.c: Likewise.
18328 * sunrpc/xdr_mem.c: Likewise.
18329 * sunrpc/xdr_rec.c: Likewise.
18330 * sunrpc/xdr_ref.c: Likewise.
18331 * sunrpc/xdr_sizeof.c: Likewise.
18332 * sunrpc/xdr_stdio.c: Likewise.
18333
9da4bb31
UD
18334 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18335 handling.
18336
bdaa77bc
AS
183372010-08-19 Andreas Schwab <schwab@redhat.com>
18338
18339 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18340
fe2f79db
LM
183412010-08-19 Luis Machado <luisgpm@br.ibm.com>
18342
18343 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18344 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18345 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18346 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18347 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18348 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18349 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18350 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18352 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18353 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18354 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18355 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18356 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18357
b9b42ee0
AB
183582010-07-26 Anton Blanchard <anton@samba.org>
18359
18360 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18361 * malloc/arena.c (heap_trim): Likewise.
18362
1c06ba31
UD
183632010-08-16 Ulrich Drepper <drepper@redhat.com>
18364
18365 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18366 here. Not...
18367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18368 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18369
f8392f40
L
183702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18371
18372 * sysdeps/i386/elf/Makefile: New file.
18373
3162f12e
AS
183742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18375
18376 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18377 from fanotify_init.
18378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18379 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18380
28c90b2c
UD
183812010-08-15 Ulrich Drepper <drepper@redhat.com>
18382
18383 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18384 of strncasecmp_l.
1feccb6c 18385 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18386
ca6bb004
UD
183872010-08-14 Ulrich Drepper <drepper@redhat.com>
18388
e9f82e0d
UD
18389 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18390 strncase_l-nonascii.
18391 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18392 Add strncase_l-ssse3.
18393 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18394 * sysdeps/x86_64/strcmp.S: Likewise.
18395 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18396 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18397 * sysdeps/x86_64/strncase.S: New file.
18398 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18399 * sysdeps/x86_64/strncase_l.S: New file.
18400 * string/Makefile (strop-tests): Add strncasecmp.
18401 * string/test-strncasecmp.c: New file.
18402
18403 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18404 warning.
18405
ca6bb004
UD
18406 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18407 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18408
052fa7b3
AS
184092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18410
18411 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18412
962dba78
UD
184132010-08-12 Ulrich Drepper <drepper@redhat.com>
18414
18415 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18418
bebff237
AM
184192010-05-01 Alan Modra <amodra@gmail.com>
18420
18421 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18422 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18423 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18424 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18425 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18426 tidying. Don't tail-call __sigjmp_save for static lib.
18427 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18428 save location.
18429 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18430 (CALL_MCOUNT): Add eh info, and nop after bl.
18431 (TAIL_CALL_SYSCALL_ERROR): New macro.
18432 (PSEUDO_RET): Use it.
18433 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18434 Correct save location of integer regs and cr.
18435 (_dl_profile_resolve): Correct cr save location. Delete nops
18436 after bl when SHARED. Reduce cfi size a little by better
18437 placement of cfi directives.
18438 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18439 make a stack frame. Instead use parm save area as a temp.
18440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18441 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18443 Don't make a stack frame for parent, use parm save area.
18444 Increase child stack frame to 112 bytes. Don't save unused reg,
18445 and adjust reg usage. Set up cfi on error recovery and
18446 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18448 (__makecontext): Add dummy nop after jump to exit.
18449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18450 Use correct parm save area and cr save, reduce stack frame.
18451 Correct cfi for possible PSEUDO_RET frame setup.
18452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18453 Branch to local label emitted by PSEUDO_RET rather than
18454 __syscall_error.
18455
02637374
AS
184562010-08-12 Andreas Schwab <schwab@redhat.com>
18457
18458 [BZ #11904]
18459 * locale/programs/locale.c (print_assignment): New function.
18460 (show_locale_vars): Use it.
18461
c3e2f19b
UD
184622010-08-11 Ulrich Drepper <drepper@redhat.com>
18463
3cdaa6ad
UD
18464 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18465 field.
18466 (struct statfs64): Likewise.
18467 (_STATFS_F_FLAGS): Define.
18468 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18470 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18471 (ST_VALID): Define locally.
18472 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18473 __statvfs_getflags, use the provided value.
18474 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18475 __ASSUME_STATFS_F_FLAGS.
18476
754f7da3
UD
18477 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18478
10b3bedc
UD
18479 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18480 Add sys/fanotify.h.
18481 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18482 fanotify_mask for GLIBC_2.13.
18483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18484 fanotify_init and fanotify_mark.
18485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18486 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18487
c08fb0d7
UD
18488 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18489 Add prlimit.
18490 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18491 prlimit64 for GLIBC_2.13.
18492 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18493 prlimit64.
18494 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18495 syscall.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18497 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18498 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18501 add prlimit alias.
18502 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18503
15bac72b
UD
18504 [BZ #11903]
18505 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18506 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18507
c3e2f19b
UD
18508 * nss/Makefile: Add rules to build and run tst-nss-test1.
18509 * shlib-versions: Add entry for libnss_test1.
18510 * nss/nss_test1.c: New file.
18511 * nss/tst-nss-test1.c: New file.
18512
18513 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18514 (__nss_configure_lookup): Set appropriate entry in
18515 __nss_configure_lookup to true.
18516 * nss/nsswitch.h: Define enum with indeces of databases in
18517 databases and __nss_database_custom arrays. Declare
18518 __nss_database_custom.
18519 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18520 to avoid using nscd when custom rules are installed.
18521 * nss/getXXbyYY_r.c: Likewise.
18522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18523
18524 * nss/nss_files/files-parse.c: Whitespace fixes.
18525
f15ce4d8
UD
185262010-08-09 Ulrich Drepper <drepper@redhat.com>
18527
18528 [BZ #11883]
18529 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18530 * posix/fnmatch_loop.c: Likewise.
18531
d22e4cc9
AK
185322010-07-17 Andi Kleen <ak@linux.intel.com>
18533
18534 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18535 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18536 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18537 * Versions.def [GLIBC_2.13]: Add.
18538
805bc17d
UD
185392010-08-06 Ulrich Drepper <drepper@redhat.com>
18540
18541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18542 Also fail if tpwd after pwuid call is NULL.
18543
5a42321d
ST
185442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18545
18546 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18547 when converting to ms.
18548
fd3ebeda
ST
185492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18550
18551 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18552 EOPNOTSUPP errors with ENOTTY.
18553 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18554 EOPNOTSUPP errors with ENOTTY.
18555
73507d3a
UD
185562010-07-31 Ulrich Drepper <drepper@redhat.com>
18557
18558 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18559 Add strcasecmp_l-ssse3.
18560 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18561 strcasecmp.
18562 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18563 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18564 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18565
fe36dd02
UD
185662010-07-30 Ulrich Drepper <drepper@redhat.com>
18567
66f6765a
UD
18568 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18569
42e08a54
UD
18570 * string/Makefile (strop-tests): Add strcasecmp.
18571 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18572 strcasecmp_l-nonascii.
18573 (gen-as-const-headers): Add locale-defines.sym.
18574 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18575 * sysdeps/x86_64/strcasecmp.S: New file.
18576 * sysdeps/x86_64/strcasecmp_l.S: New file.
18577 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18578 * sysdeps/x86_64/locale-defines.sym: New file.
18579 * string/test-strcasecmp.c: New file.
18580
fe36dd02
UD
18581 * string/test-strcasestr.c: Test both ends of the range of characters.
18582 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18583
48cbc0d6
RM
185842010-07-29 Roland McGrath <roland@redhat.com>
18585
76e6d6bc 18586 [BZ #11856]
48cbc0d6
RM
18587 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18588
880113d9
UD
185892010-07-27 Ulrich Drepper <drepper@redhat.com>
18590
18591 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18592 for ld.so.
18593
deb9cabb
AS
185942010-07-27 Andreas Schwab <schwab@redhat.com>
18595
18596 * manual/memory.texi (Malloc Tunable Parameters): Document
18597 M_PERTURB.
18598
1c7570ff
RM
185992010-07-26 Roland McGrath <roland@redhat.com>
18600
18601 [BZ #11840]
18602 * configure.in (-fgnu89-inline check): Set and substitute
18603 gnu89_inline, not libc_cv_gnu89_inline.
18604 * configure: Regenerated.
18605 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18606
24fb0f88
UD
186072010-07-26 Ulrich Drepper <drepper@redhat.com>
18608
18609 * string/test-strnlen.c: New file.
18610 * string/Makefile (strop-tests): Add strnlen.
18611 * string/tester.c (test_strnlen): Add a few more test cases.
18612 * string/tst-strlen.c: Better error reporting.
18613
18614 * sysdeps/x86_64/strnlen.S: New file.
18615
8e96b93a
UD
186162010-07-24 Ulrich Drepper <drepper@redhat.com>
18617
18618 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18619 lower-latency instructions.
18620
dbc676d4
UD
186212010-07-23 Ulrich Drepper <drepper@redhat.com>
18622
18623 * string/test-strcasestr.c: New file.
18624 * string/test-strstr.c: New file.
18625 * string/Makefile (strop-tests): Add strstr and strcasestr.
18626 * string/str-two-way.h: Don't undefine MAX.
18627 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18628
f6a31e0e
AS
186292010-07-21 Andreas Schwab <schwab@redhat.com>
18630
18631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18632 strcasestr-nonascii.
18633 (CFLAGS-strcasestr-nonascii.c): Define.
18634 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18635 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18636 Remove unused attribute.
18637
5dbc3b6c
RM
186382010-07-20 Roland McGrath <roland@redhat.com>
18639
18640 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18641 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18642 ld.so.cache was broken. With it, there is no way to disable dsocaps
18643 like LD_HWCAP_MASK can disable hwcaps.
18644
23d101d8
EPM
186452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18646
18647 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18648
cc9f2e47
UD
186492010-07-16 Ulrich Drepper <drepper@redhat.com>
18650
18651 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18652 call in strcasestr.
18653 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18654 __strcasestr_sse42_nonascii.
18655 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18656 strcasestr-nonascii.c.
18657 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18658
77c1b069
LM
186592010-06-15 Luis Machado <luisgpm@br.ibm.com>
18660
18661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18662 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18664 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18665
440566c3
UD
186662010-07-09 Ulrich Drepper <drepper@redhat.com>
18667
18668 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18669 fcntl.
18670
5be9d05d
AS
186712010-07-06 Andreas Schwab <schwab@redhat.com>
18672
c30b7ee2 18673 [BZ #11577]
5be9d05d
AS
18674 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18675 dl_signal_cerror.
18676
8a492a67
UD
186772010-07-06 Ulrich Drepper <drepper@redhat.com>
18678
18679 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18680 _PC_PIPE_BUF using F_GETPIPE_SZ.
18681
713df3d5
RM
186822010-07-05 Roland McGrath <roland@redhat.com>
18683
18684 * manual/arith.texi (Rounding Functions): Fix rint description
18685 implicit in round description.
18686
702e8f14
UD
186872010-07-02 Ulrich Drepper <drepper@redhat.com>
18688
18689 * elf/Makefile: Fix linking for a few tests to make recent linker
18690 happy.
18691
52ed8be9
AS
186922010-06-30 Andreas Schwab <schwab@redhat.com>
18693
18694 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18695 $(common-objpfx)libc_nonshared.a.
18696
f47c9a11
LM
186972010-06-21 Luis Machado <luisgpm@br.ibm.com>
18698
18699 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18700 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18701 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18702 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18703 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18704 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18705 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18706 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18721 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18722 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18723 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18724 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18725 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18726 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18727 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18728 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18729 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18730 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18731 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18732 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18747
6fb8cbcb
L
187482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18749
18750 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18751 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18752 * string/memmove.c (memmove): Renamed to ...
18753 (MEMMOVE): ...this. Default to memmove.
18754 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18755 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18756 (END_CHK): Define.
18757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18758 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18759 mempcpy-ssse3-back memmove-ssse3-back.
18760 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18761 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18762 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18763 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18764 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18765 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18766 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18767 * sysdeps/x86_64/multiarch/memmove.c: New file.
18768 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18769 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18770 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18771 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18772 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18773 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18774 Define.
18775 (index_Fast_Copy_Backward): Define.
18776 (HAS_ARCH_FEATURE): Define.
18777 (HAS_FAST_REP_STRING): Define.
18778 (HAS_FAST_COPY_BACKWARD): Define.
18779
4e733bac 187802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18781
18782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18783 Restore proper fallback handling.
18784
63c4ed22
UD
187852010-06-19 Ulrich Drepper <drepper@redhat.com>
18786
ac2b484c
UD
18787 [BZ #11701]
18788 * posix/group_member.c (__group_member): Correct checking loop.
18789
63c4ed22
UD
18790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18791 OOM in getpwuid_r correctly. Return error number when the caller
18792 should return, otherwise -1.
18793 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18794 call returning > 0 value.
18795 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18796
765ade4b
AS
187972010-06-07 Andreas Schwab <schwab@redhat.com>
18798
18799 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18800 libc_nonshared.a from targets in modules-names.
18801
80da2e09
KS
188022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18803
18804 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18805 requires it.
18806
158db122
LM
188072010-06-10 Luis Machado <luisgpm@br.ibm.com>
18808
18809 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18810 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18813
caa78cf8
AS
188142010-06-02 Andreas Schwab <schwab@redhat.com>
18815
18816 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18817
b2ef2c01
UD
188182010-06-14 Ulrich Drepper <drepper@redhat.com>
18819
18820 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18821 and F_GETPIPE_SZ.
18822 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18827 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18828
fbd643b6
RM
188292010-06-14 Roland McGrath <roland@redhat.com>
18830
18831 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18832
f32f2869
JJ
188332010-06-07 Jakub Jelinek <jakub@redhat.com>
18834
18835 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18836 __REDIRECT followed by __THROW.
18837 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18838 * posix/getopt.h (getopt): Likewise.
18839
2a50c078
EPM
188402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18841
18842 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18843 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18844 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18845 in AT_FLAGS.
18846 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18847 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18848
eb5ad2eb
LM
188492010-05-28 Luis Machado <luisgpm@br.ibm.com>
18850
18851 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18852
3c88fe1e
L
188532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18854
18855 [BZ #11640]
18856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18857 Properly check family and model.
18858
d2f73151
TY
188592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18860
18861 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18862
ebd2e13d
LM
188632010-05-24 Luis Machado <luisgpm@br.ibm.com>
18864
18865 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18866
b32b8b45
UD
188672010-05-21 Ulrich Drepper <drepper@redhat.com>
18868
18869 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18870 symbol reference.
18871
9acbe24d
AS
188722010-05-19 Andreas Schwab <schwab@redhat.com>
18873
18874 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18875 symbol reference.
18876
f0ccf6ea
AS
188772010-05-21 Andreas Schwab <schwab@redhat.com>
18878
3d04ff3a
AS
18879 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18880 and internal_recvmmsg.
18881 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18882 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18883 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18884 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18885
f0ccf6ea
AS
18886 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18887 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18888 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18889
5b08ac57
AS
188902010-05-20 Andreas Schwab <schwab@redhat.com>
18891
18892 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18893
4828935d
LM
188942010-05-17 Luis Machado <luisgpm@br.ibm.com>
18895
18896 POWER7 optimizations.
18897 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18898 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18899
373d545e
UD
189002010-05-19 Ulrich Drepper <drepper@redhat.com>
18901
18902 * version.h: Update for 2.13 development version.
18903
21a2b1ae
AS
189042010-05-12 Andrew Stubbs <ams@codesourcery.com>
18905
18906 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18907 exceptions. Return 0.
18908
3f7dcb2b
RM
189092010-05-07 Roland McGrath <roland@redhat.com>
18910
18911 * elf/ldconfig.c (main): Add a const.
18912
5f24d53a 189132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18914
a160f8d8
UD
18915 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18916 (args_options): Add no-idn option.
18917 (ahosts_keys_int): Add idn_flags to ai_flags.
18918 (parse_option): Handle 'i' option to clear idn_flags.
18919
5f24d53a
UD
18920 * malloc/malloc.c (_int_free): Possible race in the most recently
18921 added check. Only act on the data if no current modification
18922 happened.
265bb1ce
UD
18923
18924See ChangeLog.17 for earlier changes.