]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove __ASSUME_POSIX_CPU_TIMERS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
26889eac
JM
12012-09-01 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6 [__NR_clock_getres]: Make code unconditional.
7 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8 (clock_getcpuclockid): Remove code left unreachable by removal of
9 conditionals.
10 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11 code unconditional.
12 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15 Make code unconditional.
16 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18 * sysdeps/unix/sysv/linux/clock_settime.c
19 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20 conditional code.
21 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
22 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23
d22e28b0
L
242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25
26 [BZ #14476]
27 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28 scripts/test-installation.pl.
29
30 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31 and $ld_so_version if it is set.
32
050af9c4
SP
332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34
35 [BZ #14516]
36 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37 failure if reading from procfs failed.
38 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39
ad845c0b
JM
402012-08-27 Joseph Myers <joseph@codesourcery.com>
41
42 * sysdeps/unix/sysv/linux/kernel-features.h
43 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45 Remove conditional code.
46 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
48 Remove conditional code.
49 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50 * sysdeps/unix/sysv/linux/i386/fxstat.c
51 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53 * sysdeps/unix/sysv/linux/i386/fxstatat.c
54 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56 * sysdeps/unix/sysv/linux/i386/lxstat.c
57 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60 Remove conditional code.
61 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63 Remove conditional code.
64 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66 <kernel-features.h>.
67 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68 Remove.
69 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70 Remove conditional code.
71 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
72 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
73 Remove conditional.
74
5dbf56af
MF
752012-08-27 Mike Frysinger <vapier@gentoo.org>
76
77 [BZ #5400]
78 * NEWS: Add fixed bug number.
79
d6e70f43
JM
802012-08-27 Joseph Myers <joseph@codesourcery.com>
81
7efb4737
JM
82 [BZ #14519]
83 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
84 underflowing exponent in case of negative sign.
85 * stdlib/tst-strtod-round-data: Add more tests.
86 * stdlib/tst-strtod-round.c (tests): Regenerated.
87
af92131a
JM
88 [BZ #3479]
89 * stdlib/strtod_l.c (NDIG): Remove.
90 (HEXNDIG): Likewise.
91 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
92 smallest representable value.
93 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
94 lie within an exact representation of 1/2 ulp of the result.
95 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
96 unconditionally.
97 (TENS_P9_IDX): Define unconditionally.
98 (TENS_P9_SIZE): Likewise.
99 (TENS_P10_IDX): Likewise.
100 (TENS_P10_SIZE): Likewise.
101 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
102 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
103 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
104 entries for 10^2^13 and 10^2^14.
105 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
106 (TENS_P13_IDX): Define.
107 (TENS_P13_SIZE): Likewise.
108 (TENS_P14_IDX): Likewise.
109 (TENS_P14_SIZE): Likewise.
110 (_fpioconst_pow10): Change array size to
111 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
112 unconditional.
113 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
114 1024]: Add entries for 10^2^13 and 10^2^14.
115 [LAST_POW10 > _LAST_POW10]: Remove #error.
116 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
117 (_fpioconst_pow10): Change array size to
118 FPIOCONST_POW10_ARRAY_SIZE.
119 * stdlib/gen-fpioconst.c: New file.
120 * stdlib/gen-tst-strtod-round.c: Likewise.
121 * stdlib/tst-strtod-round-data: Likewise.
122 * stdlib/tst-strtod-round.c: Likewise.
123 * stdlib/Makefile (tests): Add tst-strtod-round.
124
d6e70f43
JM
125 [BZ #14459]
126 * stdlib/strtod_l.c: Include <stdint.h>.
127 (NDEBUG): Do not define.
128 (round_and_return): Change EXPONENT parameter to type intmax_t.
129 Rearrange calculations to avoid internal overflow possibilities.
130 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
131 Rearrange calculations to avoid internal overflow possibilities.
132 Assert that number fits inside MPNSIZE limbs.
133 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
134 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
135 calculations and add assertions to avoid internal overflow
136 possibilities. Add casts to avoid signed/unsigned operations.
137 * stdlib/tst-strtod-overflow.c: New file.
138 * stdlib/Makefile (tests): Add tst-strtod-overflow.
139
1f529f7d
MP
1402012-08-25 Marek Polacek <polacek@redhat.com>
141
142 * time/time.h: Fix some typos in comments.
143
59a629f1
RM
1442012-08-23 Roland McGrath <roland@hack.frob.com>
145
146 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
147 * posix/tst-rfc3484-2.c: Likewise.
148 * posix/tst-rfc3484-3.c: Likewise.
149
d3bafbc9
SM
1502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
151
152 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
153 (EF_ARM_ABI_FLOAT_HARD): Likewise.
154
4efcc022
JM
1552012-08-23 Joseph Myers <joseph@codesourcery.com>
156
157 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
158 #include of fxstatat64.c.
159
3cc3ef96
RM
1602012-08-22 Roland McGrath <roland@hack.frob.com>
161
f04e2132
RM
162 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
163 * shadow/getspent_r.c: Likewise.
164 * shadow/getspnam.c: Likewise.
165 * shadow/getspnam_r.c: Likewise.
166 * gshadow/getsgent.c: Likewise.
167 * gshadow/getsgent_r.c: Likewise.
168 * gshadow/getsgnam.c: Likewise.
169 * gshadow/getsgnam_r.c: Likewise.
170 * inet/getnetbyad.c: Likewise.
171 * inet/getnetbyad_r.c: Likewise.
172 * inet/getnetbynm.c: Likewise.
173 * inet/getnetbynm_r.c: Likewise.
174 * inet/getnetent.c: Likewise.
175 * inet/getnetent_r.c: Likewise.
176 * inet/getproto.c: Likewise.
177 * inet/getproto_r.c: Likewise.
178 * inet/getprtent.c: Likewise.
179 * inet/getprtent_r.c: Likewise.
180 * inet/getprtname.c: Likewise.
181 * inet/getprtname_r.c: Likewise.
182 * inet/getrpcbyname.c: Likewise.
183 * inet/getrpcbyname_r.c: Likewise.
184 * inet/getrpcbynumber.c: Likewise.
185 * inet/getrpcbynumber_r.c: Likewise.
186 * inet/getrpcent.c: Likewise.
187 * inet/getrpcent_r.c: Likewise.
188 * inet/getaliasent.c: Likewise.
189 * inet/getaliasent_r.c: Likewise.
190 * inet/getaliasname.c: Likewise.
191 * inet/getaliasname_r.c: Likewise.
192 * nscd/getgrgid_r.c: Likewise.
193 * nscd/getgrnam_r.c: Likewise.
194 * nscd/gethstbyad_r.c: Likewise.
195 * nscd/gethstbynm3_r.c: Likewise.
196 * nscd/getpwnam_r.c: Likewise.
197 * nscd/getpwuid_r.c: Likewise.
198 * nscd/getsrvbynm_r.c: Likewise.
199 * nscd/getsrvbypt_r.c: Likewise.
200 * nscd/gai.c: Likewise.
201
c53d909c
RM
202 * configure.in (build_nscd): New substituted variable, set
203 by --disable-build-nscd and defaults to $use_nscd.
204 * configure: Regenerated.
205 * config.make.in (build-nscd): New substituted variable.
206 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
207 Change conditional to require [$(build-nscd) = yes] as well.
208 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
209
3cc3ef96
RM
210 [BZ# 13696]
211 * configure.in (use_nscd): New substituted variable, set by
212 --disable-nscd. If enabled, define USE_NSCD.
213 * configure: Regenerated.
214 * config.h.in: Add USE_NSCD.
215 * config.make.in (use-nscd): New substituted variable.
216 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
217 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
218 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
219 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
220 (CFLAGS-getgrnam_r.c): Likewise.
221 (CFLAGS-initgroups.c): Likewise.
222 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
223 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
224 Variables removed.
225 * inet/getnetgrent_r.c
226 (nscd_setnetgrent): New function, broken out of ...
227 (setnetgrent): ... here. Call it.
228 (innetgr): Conditionalize nscd bits on [USE_NSCD].
229 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
230 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
231 * nscd/Makefile (routines, aux): Move definitions after include of
232 Makeconfig. Conditionalize on [$(use-nscd) != no].
233 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
234 Conditionalize on [USE_NSCD].
235 (is_nscd, nscd_init_cb): Likewise.
236 (nss_load_library): Conditionalize init callback on [USE_NSCD].
237 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
238 * nss/nss_db/db-init.c: Likewise.
239 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
240 [USE_NSCD].
241 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
242 (make_request): Use it.
243 (cache_valid_p): New function.
244 (__check_pf): Use it.
245 * NEWS: Add item for --disable-nscd.
246
07e51550
DL
2472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
248
249 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
250 to support sed >= 4.2.1-20-ga9bf076.
251 * configure: Regenerated.
252
35a5b08b
RM
2532012-08-22 Roland McGrath <roland@hack.frob.com>
254
255 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
256 Conditionalize whole body on [IREL].
257
8479f23a
JL
2582012-08-22 Jeff Law <law@redhat.com>
259
260 [BZ #14505]
261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
262 if the family is PF_UNSPEC.
263
48da0b21
MF
2642012-08-22 Mike Frysinger <vapier@gentoo.org>
265
266 * Makerules (lib-version): Rename from V.
267 (install-lib-nosubdir): Change V to lib-version.
268
15d0da8c
WS
2692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
270
271 [BZ #14252]
272 * powerpc32/power6/wcschr.c: New file.
273 * powerpc32/power6/wcscpy.c: New file.
274 * powerpc32/power6/wcsrchr.c: New file.
275 * powerpc64/power6/wcschr.c: New file.
276 * powerpc64/power6/wcscpy.c: New file.
277 * powerpc64/power6/wcsrchr.c: New file.
278
bcca0895
MK
2792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
280
281 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
282 (two_way_short_needle): Use it.
5a4aaa33
RM
283 * string/strstr.c (AVAILABLE1_USES_J): Define.
284 * string/strcasestr.c: Likewise.
99677e57
MK
285
286 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
287 array references.
288 * string/strcasestr.c (TOLOWER): Make side-effect safe.
289
400726de
MK
290 [BZ #11607]
291 * NEWS: Add an entry.
292 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
293 define their defaults.
294 (two_way_short_needle): Detect end-of-string on-the-fly.
295 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
296 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
297 * string/bug-strcasestr1.c: New test.
298 * string/Makefile: Run it.
299
20a71f2c
MK
3002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
301
302 [BZ #11607]
303 * string/str-two-way.h (two_way_short_needle): Optimize matching of
304 the first character.
305
21ad0558
RM
3062012-08-21 Roland McGrath <roland@hack.frob.com>
307
308 * csu/elf-init.c (__libc_csu_irel): Function removed.
309 * csu/libc-start.c (apply_irel): New function.
310 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
311
0e1d9911
JM
3122012-08-21 Joseph Myers <joseph@codesourcery.com>
313
314 * sysdeps/unix/sysv/linux/kernel-features.h
315 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
316 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
317 <kernel-features.h>.
318 [__NR_fadvise64_64]: Make code unconditional.
319 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
320 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
321 !__NR_fadvise64_64)]: Likewise.
322 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
323 !__NR_fadvise64_64))]: Likewise.
324 [__NR_fadvise64]: Make code unconditional.
325 [!__NR_fadvise64]: Remove conditional code.
326 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
327 <kernel-features.h>.
328 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
329 unconditional.
330 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
331 conditional code.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
333 not include <kernel-features.h>.
334 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
335 unconditional.
336 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
337 conditional code.
338 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
339 include <kernel-features.h>.
340 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
341 unconditional.
342 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
343 conditional code.
344
14a50c9d
WS
3452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
346
347 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
348 slight instruction rearrangements per scrollpipe analysis.
349 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
350
c0f4faf0
RM
3512012-08-20 Roland McGrath <roland@hack.frob.com>
352
696da859
RM
353 * manual/syslog.texi (syslog; vsyslog, closelog):
354 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
355 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
356
c0f4faf0
RM
357 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
358 DSOCAPS to match condition on defining it.
359
348363b2
JM
3602012-08-20 Joseph Myers <joseph@codesourcery.com>
361
a35cbf28
JM
362 * sysdeps/unix/sysv/linux/kernel-features.h
363 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
365 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
366 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
368 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
369 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
371 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
372 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
373
445f7ecd
JM
374 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
375 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
376
348363b2
JM
377 * sysdeps/unix/sysv/linux/kernel-features.h
378 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
379 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
380 unconditional.
381 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
382 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
383 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
384 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
385 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
386 Make code unconditional.
387 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
388 (__mmap64) [!__NR_mmap2]: Likewise.
389 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
390 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
391 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
392 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
393 [__NR_mmap2]: Make code unconditional.
394 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
395 (__mmap64) [!__NR_mmap2]: Likewise.
396
bc5bc0e5
AK
3972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
398
399 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
400
88d506de
AJ
4012012-08-18 Andreas Jaeger <aj@suse.de>
402
403 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
404
493387d2
MF
4052012-08-18 Mike Frysinger <vapier@gentoo.org>
406
407 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
408 * include/unistd.h (__have_sock_cloexec): Likewise.
409 (__have_pipe2): Likewise.
410 (__have_dup3): Likewise.
411
a277af22
MF
4122012-08-18 Mike Frysinger <vapier@gentoo.org>
413
414 [BZ #9685]
415 * include/unistd.h (__have_pipe2): Change define into an extern int.
416 (__have_dup3): Likewise.
417 * socket/have_sock_cloexec.c: Include fcntl.h.
418 (__have_pipe2): New variable.
419 (__have_dup3): Likewise.
420
fdab8fd3
MF
4212012-08-17 Mike Frysinger <vapier@gentoo.org>
422
423 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
424
31035e80
MP
4252012-08-17 Marek Polacek <polacek@redhat.com>
426
427 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
428 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
429
3bd9e993
RM
4302012-08-17 Roland McGrath <roland@hack.frob.com>
431
c91c505f
RM
432 * configure.in: Add AC_SUBST for sysheaders.
433 * configure: Regenerated.
434 * config.make.in (sysheaders): New substituted variable.
435
7c6f9d53
RM
436 * sysdeps/unix/mkfifo.c: Moved ...
437 * sysdeps/posix/mkfifo.c: ... here.
438 * sysdeps/unix/mkfifoat.c: Moved ...
439 * sysdeps/posix/mkfifoat.c: ... here.
440
441 * sysdeps/unix/utime.c: Moved ...
442 * sysdeps/posix/utime.c: ... here.
443
444 * sysdeps/unix/time.c: Moved ...
445 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
446 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
447 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
448
449 * sysdeps/unix/nice.c: Moved ...
450 * sysdeps/posix/nice.c: ... here.
451
452 * sysdeps/unix/alarm.c: Moved ...
453 * sysdeps/posix/alarm.c: ... here.
454
3bd9e993
RM
455 * intl/Makefile ($(codeset_mo)): Depend on the input file.
456
d1f09384
JL
4572012-08-17 Jeff Law <law@redhat.com>
458
459 * intl/Makefile (codeset_mo): New variable.
460 ($(codeset_mo)): New target.
461 (tst-codeset.out): Depend on that. Remove explicit rule.
462 (tst-gettext3.out, tst-gettext5.out): Likewise.
463 (LOCPATH-ENV, tst-codeset-ENV): New variables.
464 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
465 * intl/tst-codeset.sh: Remove.
466 * intl/tst-gettext3.sh: Likewise.
467 * intl/tst-gettext5.sh: Likewise.
468
2ae1ae5c
RM
4692012-08-17 Roland McGrath <roland@hack.frob.com>
470
c31fdb83
RM
471 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
472 * sysdeps/unix/syscalls.list: ... here.
473
a0844057
RM
474 * sysdeps/posix/getaddrinfo.c
475 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
476 (gaiconf_init, gaiconf_reload): Use them.
477 [!_STATBUF_ST_NSEC]
478 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
479 Define using time_t rather than struct timespec.
480
750c1f2a
RM
481 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
482 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
483 Macros removed.
484 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
485 [!NO_THREADS].
486 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
487 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
488 Likewise.
489
2ae1ae5c
RM
490 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
491 __libc_cleanup_push argument.
492
e66a42f5
RM
493 * bits/param.h: New file.
494 * misc/sys/param.h: New file.
495 * include/sys/param.h: New file.
496 * misc/Makefile (headers): Add bits/param.h.
497 * sysdeps/generic/sys/param.h: File removed.
498 * sysdeps/unix/sysv/linux/bits/param.h: New file.
499 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
500 * sysdeps/mach/hurd/bits/param.h: New file.
501 * sysdeps/mach/hurd/sys/param.h: New file.
502
b7c08a66
RM
503 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
504 last change.
505
b2e1c562
RM
506 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
507 [_IO_MTSAFE_IO].
508 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
509 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
510 New macros.
511
c75ccd4c
RM
512 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
513 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
514 rather than -D_IO_MTSAFE_IO conditionally.
515 * stdio-common/Makefile (CPPFLAGS): Likewise.
516 * wcsmbs/Makefile (CPPFLAGS): Likewise.
517 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
518 Use $(libio-mtsafe).
519 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
520 of -D_IO_MTSAFE_IO.
521 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
522 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
523 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
524 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
525 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
526 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
527 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
528 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
529 (CFLAGS-fread_u_chk.c): Likewise.
530 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
531 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
532 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
533 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
534 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
535 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
536 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
537 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
538 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
539
540 * libio/Makefile: Test [$(libc-reentrant) = yes]
541 instead of [$(filter %REENTRANT, $(defines)) nonempty].
542
543 * Makeconfig
544 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
545 * sysdeps/pthread/configure: File removed.
546 * sysdeps/pthread/Makeconfig: New file.
547 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
548 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
549
d9195db8
GB
5502012-08-16 Gary Benson <gbenson@redhat.com>
551
552 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
553 unmapping the first object in a namespace.
554
86466cd9
RM
5552012-08-16 Roland McGrath <roland@hack.frob.com>
556
557 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
558 (__internal_setnetgrent): ... this. Add internal_function to
559 definition. Add libc_hidden_def.
560 (setnetgrent): Update caller.
561 (internal_endnetgrent): Renamed to ...
562 (__internal_endnetgrent): ... this. Add internal_function to
563 definition. Add libc_hidden_def.
564 (endnetgrent): Update caller.
565 (internal_getnetgrent_r): Renamed to ...
566 (__internal_getnetgrent_r): ... this. Add internal_function to
567 definition. Add libc_hidden_def.
568 (__getnetgrent_r): Update caller.
569 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
570
c3c8283c
JM
5712012-08-16 Joseph Myers <joseph@codesourcery.com>
572
573 * stdlib/longlong.h: Update from GCC.
574
db1ee0a8
RM
5752012-08-16 Roland McGrath <roland@hack.frob.com>
576
577 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
578 on _QL, which is set by umul_ppmm but never used.
579 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
580 variables, which are set by GMP macros but never used.
581 * stdio-common/_itowa.c (_itowa): Likewise.
582 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
583 * stdlib/mod_1.c (mpn_mod_1): Likewise.
584
30f69637
CD
5852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
586
587 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
588 struct La_sh_regs is not constant.
589 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
590 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
591 and struct La_sparc64_regs are not constant.
592
93a78ac4
JM
5932012-08-16 Joseph Myers <joseph@codesourcery.com>
594
595 * sysdeps/unix/sysv/linux/kernel-features.h
596 (__ASSUME_POSIX_TIMERS): Remove.
597 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
598 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
599 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
600 Make code unconditional.
601 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
602 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
603 Make code unconditional.
604 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
605 * sysdeps/unix/sysv/linux/clock_nanosleep.c
606 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
607 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
608 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
609 Make code unconditional.
610 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
611 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
612 (__libc_missing_posix_timers): Remove.
613
dd924cd7
RM
6142012-08-15 Roland McGrath <roland@hack.frob.com>
615
4b4f2771
RM
616 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
617 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
618
601c888b
RM
619 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
620
176790a7
RM
621 * elf/dl-sym.c: Include <stdlib.h>.
622
329bc018
RM
623 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
624 constants, which avoids warnings in 32-bit builds.
625
e04e272d
RM
626 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
627 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
628
952bf94a
RM
629 * misc/lseek.c: File moved to ...
630 * io/lseek.c: ... here.
631
7c99b50a
RM
632 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
633
dd924cd7
RM
634 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
635 shifting LEN more than 31 bits at once.
636
b3f479a8
LD
6372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
638
639 [BZ #14195]
8c4ae0d4
RM
640 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
641 segmentation fault for a case of two empty input strings.
b3f479a8
LD
642 * string/test-strncasecmp.c (check1): Renamed to...
643 (bz12205): ...this.
644 (bz14195): Add new testcase for two empty input strings and N > 0.
645 (test_main): Call new testcase, adapt for renamed function.
646
9c55864e
AJ
6472012-08-15 Andreas Jaeger <aj@suse.de>
648
649 [BZ #14090]
650 * crypt/md5test2.c: New test, based on test supplied by Serge
651 Belyshev <belyshev@depni.sinp.msu.ru>.
652 * crypt/Makefile (xtests): Add md5test-giant..
653 * crypt/Makefile ($(objpfx)md5test-giant): Add.
654
02dcb6c5
PE
6552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
656
657 [BZ #14090]
658 * crypt/md5.c (md5_process_block): Don't assume the buffer
659 length is less than 2**32.
660 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
661 length is less than 2**64.
662
a3f95dcc
RM
6632012-08-15 Roland McGrath <roland@hack.frob.com>
664
be75d758
RM
665 * string/str-two-way.h: Include <sys/param.h>.
666 (MAX): Macro removed.
667
7312ca90
RM
668 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
669 Move #define and #undef of memmove to just before and after
670 including <string.h>.
671
9a0a5486
RM
672 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
673 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
674 and after including <string.h>. Move declarations of
675 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
676 to before #include "string/memmove.c".
677
67cc348d
RM
678 * include/dirent.h: Declare __getdirentries.
679
a3f95dcc
RM
680 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
681 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
682
ca98e171
MF
6832012-08-14 Mike Frysinger <vapier@gentoo.org>
684
685 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
686 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
687 * sysdeps/i386/configure: Regenerated.
688 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
689 STABS_CURRENT_FILE, and STABS_FUN.
690 (END): Remove call to STABS_FUN_END.
691 (STABS_CURRENT_FILE1): Delete.
692 (STABS_CURRENT_FILE): Likewise.
693 (STABS_FUN): Likewise.
694 (STABS_FUN_END): Likewise.
695 (STABS_FUN2): Likewise.
696 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
697 * sysdeps/x86_64/configure: Regenerated.
698
5908bf46
RM
6992012-08-14 Roland McGrath <roland@hack.frob.com>
700
701 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 702 * elf/dl-lookup.c: Likewise.
5908bf46 703
f2c05b9e
JM
7042012-08-14 Joseph Myers <joseph@codesourcery.com>
705
706 * sysdeps/unix/sysv/linux/kernel-features.h
707 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
708 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
709 unconditionally.
710 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
711 unconditionally.
712 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
713 condition on __ASSUME_CLONE_THREAD_FLAGS.
714
e11f5155
AJ
7152012-08-14 Andreas Jaeger <aj@suse.de>
716
717 * sysdeps/i386/fpu/libm-test-ulps: Update.
718
51a9ba86
MK
7192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
720
2fdd4f78
AJ
721 * include/atomic.h (atomic_exchange_and_add): Split into ...
722 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
723 New atomic macros.
51a9ba86 724
ba6cba9e
MT
7252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
726
727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
728
42443a47
JL
7292012-08-13 Jeff Law <law@redhat.com>
730
731 * manual/stdio.texi (snprintf): Clarify handling of the trailing
732 null byte in the output string.
733
121dce05
JM
7342012-08-10 Joseph Myers <joseph@codesourcery.com>
735
736 * sysdeps/unix/sysv/linux/kernel-features.h
737 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
738 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
739 (__ASSUME_ARG_MAX_STACK_BASED): Define.
740 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
741 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
742 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
743 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
744
bf51f568
JL
7452012-08-09 Jeff Law <law@redhat.com>
746
747 [BZ #13939]
748 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
749 When avoid_arena is set, don't retry in the that arena. Pick the
750 next one, whatever it might be.
751 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
752 (arena_lock): Pass in new parameter to arena_get2.
753 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
754 arena_get2.
755 (__libc_malloc): Unify retrying after main arena failure with
756 __libc_memalign version.
757 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
758
f85fa270
L
7592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
760
761 [BZ #14166]
762 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
763 to __redirect_strstr.
764 (__strstr_sse42): Use typeof __redirect_strstr.
765 (__strstr_ia32): Likewise.
766 (__libc_strstr): New prototype.
767 (strstr): Renamed to ...
768 (__libc_strstr): This.
769 (strstr): New strong alias of __libc_strstr.
770 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
771 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
772 __redirect_time.
773 Include <time.h>.
774 (__libc_time): New prototype.
775 (time_ifunc): Replace time with __libc_time.
776 (time): New strong alias and hidden definition of __libc_time.
777 (__GI_time): Remove strong alias.
778 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
779 Include <stddef.h>.
780 (memmove): Redefined to __redirect_memmove.
781 (__memmove_sse2): Use typeof __redirect_memmove.
782 (__memmove_ssse3): Likewise.
783 (__memmove_ssse3_back): Likewise.
784 (__libc_memmove): New prototype.
785 (memmove): Renamed to ...
786 (__libc_memmove): This.
787 (memmove): New strong alias of __libc_memmove.
788
33b4a91e
MS
7892012-08-08 Mark Salter <msalter@redhat.com>
790
791 * elf/elf.h
792 (R_MN10300_TLS_GD): Define.
793 (R_MN10300_TLS_LD): Likewise.
794 (R_MN10300_TLS_LDO): Likewise.
795 (R_MN10300_TLS_GOTIE): Likewise.
796 (R_MN10300_TLS_IE): Likewise.
797 (R_MN10300_TLS_LE): Likewise.
798 (R_MN10300_TLS_DTPMOD): Likewise.
799 (R_MN10300_TLS_DTPOFF): Likewise.
800 (R_MN10300_TLS_TPOFF): Likewise.
801 (R_MN10300_SYM_DIFF): Likewise.
802 (R_MN10300_ALIGN): Likewise.
803 (R_MN10300_NUM): Update.
804
b36137f1
JM
8052012-08-08 Joseph Myers <joseph@codesourcery.com>
806
807 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
808 Remove.
809
cdd915fd
RM
8102012-08-08 Roland McGrath <roland@hack.frob.com>
811
a2433aac
RM
812 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
813
cdd915fd
RM
814 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
815 sysdeps/unix -> sysdeps/posix move.
816 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
817
bf9b740a
AM
8182012-08-07 Allan McRae <allan@archlinux.org>
819
820 [BZ #14303]
821 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
822 (SUNOS_CPP): Likewise.
823 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
824 not found.
825 (open_input): Call CPP using execvp.
826
93df14ee
JM
8272012-08-07 Joseph Myers <joseph@codesourcery.com>
828
829 * sysdeps/unix/sysv/linux/kernel-features.h
830 (__ASSUME_PROT_GROWSUPDOWN): Remove.
831 (__ASSUME_NO_CLONE_DETACHED): Likewise.
832 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
833 (__ASSUME_WAITID_SYSCALL): Likewise.
834 * sysdeps/unix/sysv/linux/dl-execstack.c
835 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
836 code unconditional.
837 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
838 conditional code.
839 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
840 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
841 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
842 code.
843 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
844 unconditional.
845 [__ASSUME_WAITID_SYSCALL]: Likewise.
846 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
847
d34689de
RM
8482012-08-07 Roland McGrath <roland@hack.frob.com>
849
a281decc
RM
850 * sysdeps/unix/closedir.c: Renamed to ...
851 * sysdeps/posix/closedir.c: ... here.
852 * sysdeps/unix/dirfd.c: Renamed to ...
853 * sysdeps/posix/dirfd.c: ... here.
854 * sysdeps/unix/dirstream.h: Renamed to ...
855 * sysdeps/posix/dirstream.h: ... here.
856 * sysdeps/unix/fdopendir.c: Renamed to ...
857 * sysdeps/posix/fdopendir.c: ... here.
858 * sysdeps/unix/opendir.c: Renamed to ...
859 * sysdeps/posix/opendir.c: ... here.
860 * sysdeps/unix/readdir.c: Renamed to ...
861 * sysdeps/posix/readdir.c: ... here.
862 * sysdeps/unix/readdir_r.c: Renamed to ...
863 * sysdeps/posix/readdir_r.c: ... here.
864 * sysdeps/unix/rewinddir.c: Renamed to ...
865 * sysdeps/posix/rewinddir.c: ... here.
866 * sysdeps/unix/seekdir.c: Renamed to ...
867 * sysdeps/posix/seekdir.c: ... here.
868 * sysdeps/unix/telldir.c: Renamed to ...
869 * sysdeps/posix/telldir.c: ... here.
870 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
871 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
872 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
873 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
874
22895b47
RM
875 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
876 * bits/fcntl.h: ... here.
877
707a53b6
RM
878 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
879 not 0.
880 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
881 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
882 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
883 (struct flock): Move l_start, l_len to the beginning.
884 Use __pid_t for l_pid.
885 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
886 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
887 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
888 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
889 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
890 [__USE_LARGEFILE64] (struct flock64): New type.
891 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
892
f0bd3e25
RM
893 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
894 * bits/dirent.h: ... here.
895
d34689de
RM
896 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
897 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
898
6dad2c06
JM
8992012-08-07 Joseph Myers <joseph@codesourcery.com>
900
901 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
902 Change from 2.6.0 to 2.6.16.
903 * sysdeps/unix/sysv/linux/configure: Regenerated.
904 * sysdeps/unix/sysv/linux/kernel-features.h
905 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
906 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
907 version.
908 (__ASSUME_UTIMES): Likewise.
909 (__ASSUME_CLONE_STOPPED): Remove.
910 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
911 architectures, not kernel version.
912 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
913 (__ASSUME_NO_CLONE_DETACHED): Likewise.
914 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
915 (__ASSUME_WAITID_SYSCALL): Likewise.
916 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
917 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
918 * README: State 2.6.16 as minimum Linux kernel version. Do not
919 refer to older versions.
920
03af9520
RM
9212012-08-06 Roland McGrath <roland@hack.frob.com>
922
8e49df1d
RM
923 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
924 Define alphasort64 as an alias.
925 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
926 Define versionsort64 as an alias.
927 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
928 Define scandir64 as an alias.
929 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
930 Define scandirat64 as an alias.
931 * dirent/alphasort64.c (alphasort64):
932 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
933 * dirent/versionsort64.c: Likewise.
934 * dirent/scandir64.c: Likewise.
935 * dirent/scandirat64.c: Likewise.
936 * sysdeps/wordsize-64/alphasort.c: File removed.
937 * sysdeps/wordsize-64/alphasort64.c: File removed.
938 * sysdeps/wordsize-64/scandir.c: File removed.
939 * sysdeps/wordsize-64/scandir64.c: File removed.
940 * sysdeps/wordsize-64/scandirat.c: File removed.
941 * sysdeps/wordsize-64/scandirat64.c: File removed.
942 * sysdeps/wordsize-64/versionsort.c: File removed.
943 * sysdeps/wordsize-64/versionsort64.c: File removed.
944 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
945 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
946 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
947 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
948 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
949 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
950 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
951 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
952
953 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
955 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
956 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
957 [defined __arch64__ || defined __sparcv9]
958 (__INO_T_MATCHES_INO64_T): New macro.
959 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
960 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
961 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
962 * sysdeps/unix/sysv/linux/bits/dirent.h
963 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
964 (_DIRENT_MATCHES_DIRENT64): New macro.
965
03af9520
RM
966 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
967 Define lockf64 as an alias.
968 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
969 Define fseeko64 as an alias.
970 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
971 Define ftello64 as an alias.
972 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
973 Define _IO_fgetpos64 and fgetpos64 as aliases.
974 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
975 Define _IO_fsetpos64 and fsetpos64 as aliases.
976 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
977 Conditionalize body on this.
978 * libio/fseeko64.c: Likewise.
979 * libio/ftello64.c: Likewise.
980 * libio/iofgetpos64.c: Likewise.
981 * libio/iofsetpos64.c: Likewise.
982 * sysdeps/wordsize-64/lockf.c: File removed.
983 * sysdeps/wordsize-64/lockf64.c: File removed.
984 * sysdeps/wordsize-64/fseeko.c: File removed.
985 * sysdeps/wordsize-64/fseeko64.c: File removed.
986 * sysdeps/wordsize-64/ftello.c: File removed.
987 * sysdeps/wordsize-64/ftello64.c: File removed.
988 * sysdeps/wordsize-64/iofgetpos.c: File removed.
989 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
990 * sysdeps/wordsize-64/iofsetpos.c: File removed.
991 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
992 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
993 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
994 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
995 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
996 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
997 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
998 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
999 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1001 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1002
1003 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1005 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1007 [defined __arch64__ || defined __sparcv9]
1008 (__OFF_T_MATCHES_OFF64_T): New macro.
1009 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1010 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1012 (__OFF_T_MATCHES_OFF64_T): New macro.
1013
c5757acd
L
10142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1015
1016 * stdlib/secure-getenv.c (__secure_getenv): Replace
1017 GLIBC_2_16 with GLIBC_2_17.
1018
3a31811e
L
10192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1022 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1023
faa2bccb
DM
10242012-08-03 David S. Miller <davem@davemloft.net>
1025
1026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1027
85fe1997
JM
10282012-08-03 Joseph Myers <joseph@codesourcery.com>
1029
1030 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1031 Remove.
1032 (__ASSUME_CORRECT_SI_PID): Likewise.
1033 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1034 (__ASSUME_TMPFS_NAME): Likewise.
1035 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1036 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1037 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1038 (HAVE_AUX_SECURE): Make definition unconditional.
1039 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1040 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1041
4f75b7a0
RM
10422012-08-03 Roland McGrath <roland@hack.frob.com>
1043
1044 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1045 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1046 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1047 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1048 __eloop_threshold instead of SYMLOOP_MAX.
1049
1050 * sysdeps/generic/eloop-threshold.h: New file.
1051 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1052 of MAXSYMLINKS.
1053 * elf/chroot_canon.c (chroot_canon): Likewise.
1054
7aab07e4
JM
10552012-08-03 Joseph Myers <joseph@codesourcery.com>
1056
1057 [BZ #13717]
1058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1059 Change to 2.6.0 everywhere.
1060 * sysdeps/unix/sysv/linux/configure: Regenerated.
1061 * sysdeps/unix/sysv/linux/kernel-features.h
1062 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1063 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1064 kernel versions.
1065 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1066 (__ASSUME_FUTEX_REQUEUE): Remove.
1067 (__ASSUME_STATFS64): Define unconditionally.
1068 (__ASSUME_AT_SECURE): Likewise.
1069 (__ASSUME_CORRECT_SI_PID): Likewise.
1070 (__ASSUME_TGKILL): Define without depending on kernel version for
1071 i386.
1072 (__ASSUME_UTIMES): Likewise.
1073 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1074 kernel version.
1075 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1076 (__ASSUME_TMPFS_NAME): Likewise.
1077 * README: Update reference to Linux kernel versions.
1078
b67e9372
MP
10792012-08-02 Marek Polacek <polacek@redhat.com>
1080
1f529f7d 1081 [BZ# 14150]
b67e9372
MP
1082 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1083 libc_cv_asm_type_prefix with %.
1084 * configure: Regenerated.
d2441631
RM
1085 * include/libc-symbols.h: Remove comment about
1086 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1087 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1088 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1089 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1090 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1091 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1092 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1093 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1094 * elf/tst-unique2mod1.c: Likewise.
1095 * elf/tst-unique1mod2.c: Likewise.
1096 * elf/tst-unique1mod1.c: Likewise.
1097 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1098 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1099 Replace ASM_TYPE_DIRECTIVE with .type.
1100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1101 * sysdeps/i386/sysdep.h: Likewise.
1102 * sysdeps/x86_64/sysdep.h: Likewise.
1103 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1105 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1106 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1107 * sysdeps/powerpc/powerpc32/sysdep.h:
1108 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1109 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1110 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1111 * sysdeps/i386/fpu/e_powf.S: Likewise.
1112 * sysdeps/i386/fpu/e_expl.S: Likewise.
1113 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1114 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1115 * sysdeps/i386/fpu/e_pow.S: Likewise.
1116 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1117 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1118 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1119 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1120 * sysdeps/i386/fpu/e_log2.S: Likewise.
1121 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1122 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1123 * sysdeps/i386/fpu/e_powl.S: Likewise.
1124 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1125 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1126 * sysdeps/i386/fpu/e_logl.S: Likewise.
1127 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1128 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1129 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1130 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1131 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1132 * sysdeps/i386/fpu/e_log.S: Likewise.
1133 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1134 * sysdeps/i386/fpu/e_logf.S: Likewise.
1135 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1136 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1137 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1138 * sysdeps/i386/fpu/e_log10.S: Likewise.
1139 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1140 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1141 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1142 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1143 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1144 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1145 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1146 * sysdeps/i386/i686/strtok.S: Likewise.
1147 * sysdeps/i386/i386-mcount.S: Likewise.
1148 * sysdeps/i386/strtok.S: Likewise.
1149 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1150 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1151 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1152 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1153 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1154 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1155 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1156 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1157 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1158 * sysdeps/x86_64/_mcount.S: Likewise.
1159 * sysdeps/x86_64/strtok.S: Likewise.
1160 * sysdeps/sh/_mcount.S: Likewise.
1161
2747bf9a
RM
11622012-08-01 Roland McGrath <roland@hack.frob.com>
1163
1164 * libio/iofopen.c: Include <fcntl.h>.
1165 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1166 (_IO_fopen64, fopen64): Define as aliases.
1167 * libio/iofopen64.c: Include <fcntl.h>.
1168 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1169 Conditionalize body on this.
1170 * sysdeps/wordsize-64/iofopen.c: File removed.
1171 * sysdeps/wordsize-64/iofopen64.c: File removed.
1172
3fb791b8
MP
11732012-08-01 Marek Polacek <polacek@redhat.com>
1174
1175 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1176 Use dlfcn directly instead of a variable.
1177 (binfmt-subdir): Do not define.
1178 (dlfcn): Likewise.
1179
a9f1039f
JM
11802012-08-01 Joseph Myers <joseph@codesourcery.com>
1181
23bddc06
JM
1182 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1183 Remove all definitions.
1184 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1185 <kernel-features.h>.
1186 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1187 (miss_F_GETOWN_EX): Remove all definitions.
1188 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1189 macro definition.
1190 [!__ASSUME_FCNTL64]: Remove conditional code.
1191 [__ASSUME_FCNTL64]: Make code unconditional.
1192 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1193 <kernel-features.h>.
1194 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1195 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1196 (lockf64) [__NR_fcntl64]: Make code unconditional.
1197 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1198
a9f1039f
JM
1199 * sysdeps/unix/sysv/linux/kernel-features.h
1200 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1201 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1202 Make code unconditional.
1203 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1204 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1206 [__NR_vfork]: Make code unconditional.
1207 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1208 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1210 [__NR_vfork]: Make code unconditional.
1211 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1212 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1213
09c0ee5f
RM
12142012-08-01 Roland McGrath <roland@hack.frob.com>
1215
48aec5b9
RM
1216 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1217 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1218
cd97c966
RM
1219 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1220 Define mkstemp64 as an alias.
3f55550c
RM
1221 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1222 Define mkstemps64 as an alias.
cd97c966
RM
1223 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1224 Define mkostemp64 as an alias.
b8625cfc
RM
1225 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1226 Define mkostemps64 as an alias.
cd97c966
RM
1227 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1228 Conditionalize body on this.
1229 * misc/mkostemp64.c: Likewise.
b8625cfc 1230 * misc/mkostemps64.c: Likewise.
3f55550c 1231 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1232 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1233 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1234 * sysdeps/wordsize-64/mkostemp.c: File removed.
1235 * sysdeps/wordsize-64/mkstemp.c: File removed.
1236 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1237 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1238 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1239 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1240
09c0ee5f
RM
1241 [BZ #14138]
1242 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1243 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1244 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1245 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1246
1247 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1248 compat_symbol macros from <shlib-compat.h> rather than the underlying
1249 default_symbol_version and symbol_version macros, so that DEFAULT
1250 lines in shlib-versions are respected.
1251 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1252
7e66ee51
FW
12532012-08-01 Florian Weimer <fweimer@redhat.com>
1254
1255 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1256 Declare with warn_unused_result.
1257 (setgid, setregid, setegid, setresgid): Likewise.
1258 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1259 Likewise.
1260 * WUR-REPORT: Remove set*id functions.
1261
d2a54255
PT
12622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1263
1264 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1265
7ecdb005
RM
12662012-07-31 Roland McGrath <roland@hack.frob.com>
1267
789bd351
RM
1268 * include/sys/socket.h (__libc_accept, __libc_accept4):
1269 Add attribute_hidden.
1270 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1271
40ce302d
RM
1272 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1273 use of PTR_MANGLE.
1274 * inet/getnetgrent_r.c (setup): Likewise.
1275
7ecdb005
RM
1276 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1277
e2eabb2c
DM
12782012-07-31 David S. Miller <davem@davemloft.net>
1279
1280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1281
d0419dbf
JM
12822012-07-31 Joseph Myers <joseph@codesourcery.com>
1283
1284 [BZ #13629]
1285 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1286 value between 1.0 and 2.0 and smaller part has absolute value less
1287 than 1.0.
1288 * math/s_clog10.c (__clog10): Likewise.
1289 * math/s_clog10f.c (__clog10f): Likewise.
1290 * math/s_clog10l.c (__clog10l): Likewise.
1291 * math/s_clogf.c (__clogf): Likewise.
1292 * math/s_clogl.c (__clogl): Likewise.
1293 * math/libm-test.inc (clog_test): Add more tests.
1294 (clog10_test): Likewise.
1295 * sysdeps/i386/fpu/libm-test-ulps: Update.
1296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1297
2bc13872
FW
12982012-07-31 Florian Weimer <fweimer@redhat.com>
1299
1300 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1301 Exit with zero in case no suitable GID is found, and write a
1302 message to standard error.
1303
bea9b193
RM
13042012-07-30 Roland McGrath <roland@hack.frob.com>
1305
1306 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1307 rather than to 1.
1308 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1309 (MAXPATHLEN): Removed.
1310 (NOGROUP, NODEV): New macros.
1311 (setbit, clrbit, isset, isclr): New macros.
1312 (howmany, roundup, powerof2): New macros.
1313 (DEV_BSIZE): New macro.
1314
1315 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1316 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1317
1318 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1319 definition on [!__NO_LONG_DOUBLE_MATH].
1320
1321 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1322 PTR_MANGLE and PTR_DEMANGLE.
1323
1324 * socket/accept4.c (accept4): Rename to __libc_accept4.
1325 Define accept4 as a weak alias.
1326
1327 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1328 on [_DIRENT_HAVE_D_TYPE].
1329 * io/ftw.c (ftw_dir): Likewise.
1330
1331 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1332
1333 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1334
1335 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1336 Use the BSD numbers rather than the arbitrary ones we had.
1337 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1338 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1339 (SIGXCPU, SIGXFSZ): New macros.
1340 (_NSIG): Now 32.
1341
1342 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1343 initializer on [_LIBC_REENTRANT].
1344
1345 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1346 definitions inside [_POSIX_MAPPED_FILES].
1347
1348 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1349
1350 * dirent/opendir.c: Include <fcntl.h>.
1351
1352 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1353 (__libc_getspecific): Likewise.
1354 (__libc_key_create): Likewise.
1355
1356 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1357 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1358 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1359 (tmpfile64): Define as alias.
1360 * sysdeps/wordsize-64/tmpfile.c: File removed.
1361 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1362 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1363 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1364
1365 * stdio-common/vfscanf.c: Include <stdbool.h>.
1366 * nss/makedb.c: Likewise.
1367 * stdio-common/_i18n_number.h: Likewise.
1368 * argp/argp-help.c: Likewise.
1369 * posix/wordexp.c: Likewise.
1370 * sysdeps/posix/spawni.c: Likewise.
1371 * nss/nss_files/files-initgroups.c: Likewise.
1372 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1373 * nss/nss_files/files-initgroups.c: Likewise.
1374 * nss/nss_db/db-netgrp.c: Likewise.
1375 * nss/nss_db/db-initgroups.c: Likewise.
1376 * io/fchmodat.c: Include <sys/stat.h>.
1377
1378 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1379 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1380
1381 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1382 [HAVE_MMAP].
1383
1384 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1385 Add multiple inclusion protection.
1386
e5abc686
DM
13872012-07-27 David S. Miller <davem@davemloft.net>
1388
1389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1390
815e6fa3
GB
13912012-07-27 Gary Benson <gbenson@redhat.com>
1392
1393 [BZ #14298]
1394 * elf/rtld.c: Include <stap-probe.h>.
1395 (dl_main): Added static probes "init_start" and "init_complete".
1396 * elf/dl-load.c: Include <stap-probe.h>.
1397 (lose): Take new parameter "nsid".
1398 Added static probe "map_failed".
1399 (_dl_map_object_from_fd): Pass namespace id to lose.
1400 Added static probe "map_start".
1401 (open_verify): Pass namespace id to lose.
1402 * elf/dl-open.c: Include <stap-probe.h>.
1403 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1404 and "reloc_complete".
1405 * elf/dl-close.c: Include <stap-probe.h>.
1406 (_dl_close_worker): Added static probes "unmap_start" and
1407 "unmap_complete".
1408 * elf/rtld-debugger-interface.txt: New file documenting the above.
1409
9f98c16c
RM
14102012-07-26 Roland McGrath <roland@hack.frob.com>
1411
1412 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1413 rather than a string variable.
1414 * sunrpc/rpc_main.c (h_output): Likewise.
1415 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1416
f3c22df3
PT
14172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1418
1419 * inet/check_native.c: New file.
1420
3129cfc6
JM
14212012-07-26 Joseph Myers <joseph@codesourcery.com>
1422
da865e95
JM
1423 [BZ #13629]
1424 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1425 if larger part has absolute value 1.0.
1426 * math/s_clog10.c (__clog10): Likewise.
1427 * math/s_clog10f.c (__clog10f): Likewise.
1428 * math/s_clog10l.c (__clog10l): Likewise.
1429 * math/s_clogf.c (__clogf): Likewise.
1430 * math/s_clogl.c (__clogl): Likewise.
1431 * math/libm-test.inc (clog_test): Add more tests.
1432 (clog10_test): Likewise.
1433 * sysdeps/i386/fpu/libm-test-ulps: Update.
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1435
3129cfc6
JM
1436 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1437 (pltexit): Likewise.
1438 (La_regs): Likewise.
1439 (La_retval): Likewise.
1440 (int_retval): Likewise.
1441 Update #error for removed macros to refer only to definitions in
1442 tst-audit.h.
1443 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1444 macro.
1445 (pltexit): Likewise.
1446 (La_regs): Likewise.
1447 (La_retval): Likewise.
1448 (int_retval): Likewise.
1449 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1450 macro.
1451 (pltexit): Likewise.
1452 (La_regs): Likewise.
1453 (La_retval): Likewise.
1454 (int_retval): Likewise.
1455 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1456 macro.
1457 (pltexit): Likewise.
1458 (La_regs): Likewise.
1459 (La_retval): Likewise.
1460 (int_retval): Likewise.
1461 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1462 macro.
1463 (pltexit): Likewise.
1464 (La_regs): Likewise.
1465 (La_retval): Likewise.
1466 (int_retval): Likewise.
1467 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1468 macro.
1469 (pltexit): Likewise.
1470 (La_regs): Likewise.
1471 (La_retval): Likewise.
1472 (int_retval): Likewise.
1473 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1474 macro.
1475 (pltexit): Likewise.
1476 (La_regs): Likewise.
1477 (La_retval): Likewise.
1478 (int_retval): Likewise.
1479 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1480 macro definitions in tst-audit.h.
1481 * sysdeps/i386/tst-audit.h: New file.
1482 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1483 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1484 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1485 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1486 * sysdeps/sh/tst-audit.h: Likewise.
1487 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1488 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1489 * sysdeps/x86_64/tst-audit.h: Likewise.
1490
bfc07087
AJ
14912012-07-26 Andreas Jaeger <aj@suse.de>
1492
b1b2aaf8
AJ
1493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1494 ptrace.
1495
1496 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1497 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1498 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1499 PTRACE_O_MASK.
1500 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1502 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1503
bfc07087
AJ
1504 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1505 value.
1506
1507 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1508 _sigsys.
1509 (si_call_addr, si_syscall, si_arch): Define new macro.
1510 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1511 _sigsys.
1512 (si_call_addr, si_syscall, si_arch): Define new marcro.
1513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1514 _sigsys.
1515 (si_call_addr, si_syscall, si_arch): Define new macro.
1516 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1517 _sigsys.
1518 (si_call_addr, si_syscall, si_arch): Define new macro.
1519
89b4b02f
JM
15202012-07-25 Joseph Myers <joseph@codesourcery.com>
1521
1522 [BZ #13717]
1523 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1524 Change to 2.4.21 where previously 2.4.1.
1525 * sysdeps/unix/sysv/linux/configure: Regenerated.
1526 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1527 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1528 Linux kernel version.
1529 (__ASSUME_STD_AUXV): Remove.
1530 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1531 kernel version.
1532 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1533 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1534 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1535 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1536 (__ASSUME_NETLINK_SUPPORT): Likewise.
1537 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1538 (__no_netlink_support): Remove conditional definition.
1539 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1540 Remove.
1541 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1542 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1543 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1544 (if_nameindex_ioctl): Remove.
1545 (if_nameindex_netlink): Do not handle __no_netlink_support.
1546 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1547 code.
1548 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1549 Remove conditional code.
1550 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1551 code.
1552 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1553 unconditional.
1554 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1555 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1556 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1557 Remove.
1558 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1559 [!__ASSUME_STD_AUXV]: Remove conditional code.
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1561 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1562 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1564 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1565 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1566 code.
1567 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1569 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1570 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1571 conditional code.
1572 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1574 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1575 code.
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1577 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1578 conditional code.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1580 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1581 code unconditional.
1582 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1583 conditional code.
1584 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1585 unconditional.
1586 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1587 conditional code.
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1589 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1590 unconditional.
1591 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1592 conditional code.
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1594 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1595 code unconditional.
1596 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1597 conditional code.
1598 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1599 unconditional.
1600 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1601 conditional code.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1603 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1604 code unconditional.
1605 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1606 conditional code.
1607 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1608 unconditional.
1609 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1610 conditional code.
1611
842a39cd
AS
16122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1613
1614 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1615 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1616 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1617 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1618 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1619 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1620 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1621 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1622 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1623 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1624 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1625 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1626 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1627 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1628 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1629 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1630 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1632 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1634 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1635 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1637
84b3fd84
FW
16382012-07-25 Florian Weimer <fweimer@redhat.com>
1639
1640 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1641 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1642 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1643 Introduce __libc_secure_getenv.
0c7936d5
FW
1644 * stdlib/Versions (2.17): Add secure_getenv
1645 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1646 * stdlib/secure-getenv.c: Rename __secure_getenv to
1647 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1648 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1649 * stdlib/tst-secure-getenv.c: New.
1650 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1651 * manual/startup.texi (Environment Access): Document
1652 secure_getenv.
84b3fd84
FW
1653 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1654 __libc_secure_getenv.
1655 * inet/ruserpass.c (ruserpass): Likewise.
1656 * malloc/mtrace.c (mtrace): Likewise.
1657 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1658 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1659 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1660 * sysdeps/posix/tempname.c: Likewise. Evaluate
1661 HAVE_SECURE_GETENV.
1662 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1663 __secure_getenv to __libc_secure_getenv.
84b3fd84 1664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1666 Likewise.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1668 Likewise.
1669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1671 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1676
56e49b71
JM
16772012-07-25 Joseph Myers <joseph@codesourcery.com>
1678
1679 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1680 (struct La_i86_retval): Likewise.
1681 (struct La_x86_64_regs): Likewise.
1682 (struct La_x86_64_retval): Likewise.
1683 (struct La_x32_regs): Likewise.
1684 (struct La_x32_retval): Likewise.
1685 (struct La_ppc32_regs): Likewise.
1686 (struct La_ppc32_retval): Likewise.
1687 (struct La_ppc64_regs): Likewise.
1688 (struct La_ppc64_retval): Likewise.
1689 (struct La_sh_regs): Likewise.
1690 (struct La_sh_retval): Likewise.
1691 (struct La_s390_32_regs): Likewise.
1692 (struct La_s390_32_retval): Likewise.
1693 (struct La_s390_64_regs): Likewise.
1694 (struct La_s390_64_retval): Likewise.
1695 (struct La_sparc32_regs): Likewise.
1696 (struct La_sparc32_retval): Likewise.
1697 (struct La_sparc64_regs): Likewise.
1698 (struct La_sparc64_retval): Likewise.
1699 (struct audit_ifaces): Remove architecture-specific pltenter and
1700 pltexit members.
1701 * sysdeps/i386/ldsodefs.h: New file.
1702 * sysdeps/powerpc/ldsodefs.h: Likewise.
1703 * sysdeps/s390/ldsodefs.h: Likewise.
1704 * sysdeps/sh/ldsodefs.h: Likewise.
1705 * sysdeps/sparc/ldsodefs.h: Likewise.
1706 * sysdeps/x86_64/ldsodefs.h: Likewise.
1707
354691b7
MP
17082012-07-25 Marek Polacek <polacek@redhat.com>
1709
1710 [BZ #6808]
1711 * math/libm-test.inc (yn_test): Add another test.
1712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1713 to ERANGE when the result is +-Inf.
1714 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1715 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1716 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1717 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1718
bf9e2071
JM
17192012-07-24 Joseph Myers <joseph@codesourcery.com>
1720
1721 * conform/data/time.h-data (NULL): Use macro-constant. Require
1722 equal to 0.
1723 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1724 clock_t.
1725 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1726
57633811
TS
17272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1728
1729 * configure.in <sysdeps resolving>: Correct printing
1730 Implies_before.
1731 * configure: Regenerate.
1732
c23c33b0
TS
17332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1734
1735 * math/w_ilogb.c: Include <limits.h>.
1736 * math/w_ilogbl.c: Likewise.
1737
b5982523
JM
17382012-07-20 Joseph Myers <joseph@codesourcery.com>
1739
1740 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1741 va_copy. Document allowing for unavailable va_copy only as
1742 pre-C99 compatibility.
1743 * manual/string.texi (Copying and Concatenation): Use va_copy
1744 instead of __va_copy in concat example.
1745
ac4ea442
PT
17462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1747
1748 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1749 (__sendto): Use create_address_port. Initialize APORT and deallocate
1750 it if not null.
1751
f98eafbd
PT
1752 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1753 with O_NOLINK passed to __file_name_lookup.
1754
898c7aab
PT
1755 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1756 with O_NOLINK passed to __file_name_lookup.
1757
0ced335a
PT
1758 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1759 negative N or less than NGIDS.
1760
b3404dbd
PT
1761 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1762 type to string_t. Set ERANGE as errno and return it if NAME is not big
1763 enough. Use memcpy instead of strncpy.
1764
0f48659e
JM
17652012-07-20 Joseph Myers <joseph@codesourcery.com>
1766
1767 * elf/Makefile (check-data): Remove.
1768 (localplt.data): New vpath directive.
1769 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1770 instead of $(check-data).
1771 * scripts/data/localplt-generic.data: Move to ...
1772 * sysdeps/generic/localplt.data: ... here.
1773 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1774 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1775 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1777 ... here.
1778 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1780 ... here.
1781 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1783 ... here.
1784 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1786 ... here.
1787 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1789 ... here.
1790 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1792 ... here.
1793
d37cbdaa
AZ
17942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1795
1796 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1797 PPC32 and PPC64 files.
1798 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1799 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1800
46f85fc2
AK
18012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1802
1803 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1804 __makecontext_ret to ...
1805 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1806 ... here and call exit if uc_link is NULL. New file.
1807 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1808 __makecontext_ret.S.
1809 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1810 __makecontext_ret to ...
1811 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1812 ... here and call exit if uc_link is NULL. New file.
1813 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1814 __makecontext_ret.S.
1815
08f43f9b
AK
18162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1817
1818 * elf/elf.h (R_390_IRELATIVE): New definition.
1819 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1820 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1821 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1822 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1823 (elf_machine_lazy_rel): Likewise.
1824 * sysdeps/s390/dl-irel.h: New file.
1825 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1826 * sysdeps/s390/s390-64/memset.S: New asm code.
1827 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1828 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1830 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1831 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1832 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1833 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1834 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1835 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1836 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1837 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1838 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1839 * sysdeps/s390/s390-32/memset.S: New asm code.
1840 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1841
3b05db33
MP
18422012-07-17 Marek Polacek <polacek@redhat.com>
1843
1844 [BZ #14349]
1845 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1846 * sysdeps/s390/s390-64/configure.in: Likewise.
1847 * sysdeps/sparc/configure.in: Likewise.
1848 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1849 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1850 * sysdeps/i386/configure.in: Likewise.
1851 * sysdeps/x86_64/configure.in: Likewise.
1852 * sysdeps/sh/configure.in: Likewise.
1853 * sysdeps/s390/s390-32/configure: Regenerated.
1854 * sysdeps/s390/s390-64/configure: Likewise.
1855 * sysdeps/x86_64/configure: Likewise.
1856 * sysdeps/sh/configure: Likewise.
1857 * sysdeps/powerpc/powerpc64/configure: Likewise.
1858 * sysdeps/powerpc/powerpc32/configure: Likewise.
1859 * sysdeps/sparc/configure: Likwise.
1860 * sysdeps/i386/configure: Likewise.
1861
a66877c6
MP
1862 * elf/dl-open.c: Comment fixes.
1863
cfc82fd8
JM
18642012-07-17 Joseph Myers <joseph@codesourcery.com>
1865
bd29910a
JM
1866 * Makefile [CXX] (check-data): Remove.
1867 [CXX] (c++-types.data): New vpath directive.
1868 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1869 vpath. Do not allow for C++ type data being missing.
1870 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1871 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1872 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1873 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1874 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1875 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1876 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1878 ... here.
1879 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1881 ... here.
1882 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1884 ... here.
1885 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1887 ... here.
1888 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1890 ... here.
1891 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1893 ... here.
1894 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1896 ... here.
1897 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1899
cfc82fd8
JM
1900 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1901 definitions to architecture-specific files.
1902 (TLS_IE): Likewise.
1903 (TLS_LD): Likewise.
1904 (TLS_GD): Likewise.
1905 * sysdeps/i386/tls-macros.h: New file.
1906 * sysdeps/powerpc/tls-macros.h: Likewise.
1907 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1908 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1909 * sysdeps/sh/tls-macros.h: Likewise.
1910 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1911 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1912 * sysdeps/x86_64/tls-macros.h: Likewise.
1913
f7db3170
TS
19142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1915
07cbfc23
TS
1916 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1917 zero value for regular exit case.
1918
f7db3170
TS
1919 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1920 (__start_context): Preserve zero value for regular exit case.
1921
dc97c227
TS
19222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1923 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1924
1925 * manual/setjmp.texi (setcontext): Clarify normal process
1926 termination when uc_link is the null pointer.
1927 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1928 exit call.
1929
d0cd7d02
AS
19302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1931
1932 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1933 preprocessor. Test for each exception mask separately.
1934
dd318934
AJ
19352012-07-16 Andreas Jaeger <aj@suse.de>
1936
1937 * po/ru.po: Update from translation team.
1938
8048311a
JM
19392012-07-15 Joseph Myers <joseph@codesourcery.com>
1940
1941 * conform/data/string.h-data (NULL): Use macro-constant. Require
1942 equal to 0.
1943 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1944 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1945 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1946 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1948
b637d46e
AJ
19492012-07-13 Andreas Jaeger <aj@suse.de>
1950
1951 * po/fr.po: Update from translation team.
1952
541428fe
MP
19532012-07-12 Marek Polacek <polacek@redhat.com>
1954
1955 [BZ #14173]
1956 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1958 loop condition.
1959
ec332e94
JM
19602012-07-12 Joseph Myers <joseph@codesourcery.com>
1961
1962 [BZ #13717]
1963 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1964 Change to 2.4.1 where previously 2.4.0.
1965 * sysdeps/unix/sysv/linux/configure: Regenerated.
1966 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1967 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1968 version.
1969 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1970 (__ASSUME_AT_CLKTCK): Remove.
1971 (__ASSUME_AT_PAGESIZE): Likewise.
1972 (__ASSUME_AT_XID): Likewise.
1973 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1974 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1975 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1976 unconditionally.
1977 (HAVE_AUX_PAGESIZE): Likewise.
1978 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1979 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1980 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1981
7b6e99be
JB
19822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1983
1984 [BZ #14307]
1985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1986 the temporary buffer used to invoke __gethostbyname2_r,
1987 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1988 host_data / struct gaih_addrtuple.
1989 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1990 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1991 header file nss/nsswitch.h.
1992 * nss/nsswitch.h (global scope): Add definition of implementation
1993 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1994 resolv/nss_dns/dns-host.c).
1995
608404eb
AJ
19962012-07-11 Andreas Jaeger <aj@suse.de>
1997
1998 * po/fr.po: Update from translation team.
1999
71220aca
AJ
2000 * po/sv.po: Update from translation team
2001 * po/fr.po: Another update from translation team.
2002
28cfe843
AZ
20032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2006 for subnormals or multiply small sinh result by itself.
2007 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2009
6b90f981
DM
20102012-07-11 David S. Miller <davem@davemloft.net>
2011
2012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2013
c6825772
AS
20142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2015
2016 [BZ #14347]
2017 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2018 (INTERNAL_MARK): Shift it here.
2019
7b8e0d49
MP
20202012-07-10 Marek Polacek <polacek@redhat.com>
2021
2022 [BZ #14151]
2023 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2024 libc_cv_asm_global_directive with .globl.
2025 * configure: Regenerated.
2026 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2027 with .globl.
2028 * sysdeps/i386/configure: Regenerated.
2029 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2030 with .globl.
2031 * sysdeps/x86_64/configure: Regenerated.
2032 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2033 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2034 * elf/tst-unique2mod2.c: Likewise.
2035 * elf/tst-unique2mod1.c: Likewise.
2036 * elf/tst-unique1mod2.c: Likewise.
2037 * elf/tst-unique1mod1.c: Likewise.
2038 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2039 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2040 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2041 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2042 * sysdeps/mach/sysdep.h: Likewise.
2043 * sysdeps/i386/sysdep.h: Likewise.
2044 * sysdeps/i386/i386-mcount.S: Likewise.
2045 * sysdeps/x86_64/_mcount.S: Likewise.
2046 * sysdeps/x86_64/sysdep.h: Likewise.
2047 * sysdeps/sh/_mcount.S: Likewise.
2048 * sysdeps/sh/sysdep.h: Likewise.
2049 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2050 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2051 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2052 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2053 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2054 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2055 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2056 * locale/localeinfo.h: Likewise.
2057 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2058 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2059
6c55cda3
RM
20602012-07-09 Roland McGrath <roland@hack.frob.com>
2061
2062 [BZ #14336]
2063 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2064 system".
2065 * manual/message.texi (The Uniforum approach): Likewise.
2066 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2067 (glibc iconv Implementation): Likewise.
2068
638a572e
JM
20692012-07-09 Joseph Myers <joseph@codesourcery.com>
2070
2071 [BZ #14337]
2072 * math/s_clog.c (__clog): Avoid scaling a value down where that
2073 could result in underflow.
2074 * math/s_clog10.c (__clog10): Likewise.
2075 * math/s_clog10f.c (__clog10f): Likewise.
2076 * math/s_clog10l.c (__clog10l): Likewise.
2077 * math/s_clogf.c (__clogf): Likewise.
2078 * math/s_clogl.c (__clogl): Likewise.
2079 * math/libm-test.inc (clog_test): Add more tests.
2080 (clog10_test): Likewise.
2081 * sysdeps/i386/fpu/libm-test-ulps: Update.
2082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2083
261f4859
AS
20842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2085
0abaf3e4
AS
2086 [BZ #14283]
2087 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2088 by 7 not 8 to examine high bit of fractional part.
2089
261f4859
AS
2090 [BZ #14042]
2091 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2092 for call to __mcount_internal.
2093 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2094 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2095 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2096
f17ac40d
JM
20972012-07-06 Joseph Myers <joseph@codesourcery.com>
2098
9ad63c23
JM
2099 [BZ #14154]
2100 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2101 approximation for values within 0x1p-13f of an odd multiple of
2102 pi/4.
2103 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2104 exception. Add more tests.
2105 * sysdeps/i386/fpu/libm-test-ulps: Update.
2106
f17ac40d
JM
2107 [BZ #6778]
2108 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2109 inputs and return -1 for them. Do not check for +Inf in case not
2110 reachable for +Inf.
2111 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2112 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2113 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2114 and return -1 for them. Do not check for +Inf in case not
2115 reachable for +Inf.
2116 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2117 define.
2118 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2119 and return -1 for them. Do not check for +Inf in case not
2120 reachable for +Inf.
2121 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2122 spurious underflow.
2123 * sysdeps/i386/fpu/libm-test-ulps: Update.
2124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2125
fb21f89b
MF
21262012-07-06 Mike Frysinger <vapier@gentoo.org>
2127
2128 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2129
cdfe2c5e
JM
21302012-07-05 Joseph Myers <joseph@codesourcery.com>
2131
2132 [BZ #14157]
2133 [BZ #14331]
2134 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2135 could result in spurious underflow. Scale down values above
2136 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2137 * math/s_csqrtf.c (__csqrtf): Likewise.
2138 * math/s_csqrtl.c (__csqrtl): Likewise.
2139 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2140 spurious underflow.
2141 * sysdeps/i386/fpu/libm-test-ulps: Update.
2142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2143
70d35b67
AS
21442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2145
704bc459
AS
2146 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2147 xopen-msg.sed.
2148 * catgets/xopen-msg.awk: New file.
2149 * catgets/xopen-msg.sed: Removed.
2150
70d35b67
AS
2151 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2152 po2text.sed.
2153 * intl/po2test.awk: New file.
2154 * intl/po2test.sed: Removed.
2155
ca61cf32
JM
21562012-07-04 Joseph Myers <joseph@codesourcery.com>
2157
2158 [BZ #14328]
2159 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2160 or multiply small sinh result by itself.
2161 * math/s_ctanf.c (__ctanf): Likewise.
2162 * math/s_ctanh.c (__ctanh): Likewise.
2163 * math/s_ctanhf.c (__ctanhf): Likewise.
2164 * math/s_ctanhl.c (__ctanhl): Likewise.
2165 * math/s_ctanl.c (__ctanl): Likewise.
2166 * math/libm-test.inc (ctan_test_tonearest): New function.
2167 (ctan_test_towardzero): Likewise.
2168 (ctan_test_downward): Likewise.
2169 (ctan_test_upward): Likewise.
2170 (ctanh_test_tonearest): Likewise.
2171 (ctanh_test_towardzero): Likewise.
2172 (ctanh_test_downward): Likewise.
2173 (ctanh_test_upward): Likewise.
2174 (main): Call these new functions.
2175 * sysdeps/i386/fpu/libm-test-ulps: Update.
2176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2177
ca48a46a
MF
21782012-07-03 Mike Frysinger <vapier@gentoo.org>
2179
2180 * .gitignore: Delete /ports entry.
2181
9d63d37d
AJ
21822012-07-03 Andreas Jaeger <aj@suse.de>
2183
2184 * po/bg.po: Update from translation team.
2185 * po/cs.po: Likewise.
2186 * po/de.po: Likewise.
2187 * po/hr.po: Likewise.
2188 * po/nl.pl: Likewise.
2189 * po/pl.po: Likewise.
2190 * po/vi.po: Likewise.
2191
370ca3d2
JM
21922012-07-03 Joseph Myers <joseph@codesourcery.com>
2193
95f5a9a8
JM
2194 * Makeconfig [!+link] (+link-before-libc): New variable.
2195 [!+link] (+link-after-libc): Likewise.
2196 [!+link] (+link-tests): Likewise.
2197 [!+link] (+link): Define in terms of $(+link-before-libc) and
2198 $(+link-after-libc).
2199 [!+link-static] (+link-static-before-libc): New variable.
2200 [!+link-static] (+link-static-after-libc): Likewise.
2201 [!+link-static] (+link-static-tests): Likewise.
2202 [!+link-static] (+link-static): Define in terms of
2203 $(+link-static-before-libc) and $(+link-static-after-libc).
2204 [build-shared] (link-libc-before-gnulib): New variable.
2205 [build-shared] (link-libc-tests): Likewise.
2206 [build-shared] (link-libc): Define in terms of
2207 $(link-libc-before-gnulib).
2208 [!build-shared] (link-libc-tests): New variable.
2209 (link-libc-static-tests): New variable.
2210 [!gnulib] (gnulib-arch): New variable.
2211 [!gnulib] (gnulib-tests): Likewise.
2212 [!gnulib] (static-gnulib-arch): Likewise.
2213 [!gnulib] (static-gnulib-tests): Likewise.
2214 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2215 Define with "=" instead of ":=".
2216 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2217 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2218 * Rules (binaries-all-notests): New variable.
2219 (binaries-all-tests): Likewise.
2220 (binaries-static-notests): Likewise.
2221 (binaries-static-tests): Likewise.
2222 (binaries-all): Define using $(binaries-all-notests) and
2223 $(binaries-all-tests).
2224 (binaries-static): Define using $(binaries-static-notests) and
2225 $(binaries-static-tests).
2226 (binaries-shared-tests): New variable.
2227 (binaries-shared-notests): Likewise.
2228 (binaries-shared): Remove variable.
2229 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2230 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2231 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2232 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2233 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2234 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2235 * elf/Makefile (sln-modules): New variable.
2236 (extra-objs): Add $(sln-modules:=.o).
2237 (ldconfig-modules): Add static-stubs.
2238 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2239 * elf/static-stubs.c: New file.
2240
7a845b2c
JM
2241 [BZ #14283]
2242 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2243 by 7 not 8 to examine high bit of fractional part. Use volatile
2244 variables when splitting into final array of floats if
2245 __FLT_EVAL_METHOD__ != 0.
2246 * math/libm-test.inc (cos_test): Add another test.
2247 (sin_test): Likewise.
2248 * sysdeps/i386/fpu/libm-test-ulps: Update.
2249
e2283f38
JM
2250 [BZ #14273]
2251 * math/libm-test.inc (cosh_test): Add more tests.
2252
370ca3d2
JM
2253 * version.h (RELEASE): Set to "development".
2254 (VERSION): Set to "2.16.90".
2255
ee9247c3
CD
22562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2257
2258 * NEWS: Update copyright. Remove last-updated date.
2259 Mention math library bug fixes and timezone data changes.
2260 * README: Mention GNU/Hurd, x32, and HPPA support status.
2261
4648c381
TS
22622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2263
2264 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2265
aac78a43
AJ
22662012-06-27 Andreas Jaeger <aj@suse.de>
2267
2268 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2269
ed3dbfad
AJ
22702012-06-25 Andreas Jaeger <aj@suse.de>
2271
2272 * sysdeps/s390/fpu/libm-test-ulps: Update.
2273
4d0ee855
AS
22742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2275 Thomas Schwinge <thomas@codesourcery.com>
2276
2277 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2278 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2280 fanotify_mark.
2281
af1bce34
TS
22822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2283
a9fa33ba
TS
2284 * sysdeps/mach/start.c: Remove file.
2285 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2286 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2287 * sysdeps/sh/init-first.c: Likewise.
2288
58f902b8
TS
2289 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2290 registers for frame unwinding purposes, add CFI directives.
2291 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2292 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2293 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2294 Likewise.
2295
1518f58b
TS
2296 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2297 __fortify_fail returning.
2298 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2299
db9b5059
TS
2300 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2301 sysdeps/sh/____longjmp_chk.S.
2302 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2303 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2304 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2305 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2306
967705fe
TS
2307 * sysdeps/sh/abort-instr.h: New file.
2308 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2309 process in case exit returns.
2310
a9def8c4
TS
2311 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2312 initialize the GOT register before use.
2313
2a649725
TS
2314 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2315 calculation of ARGC > 4.
2316
af1bce34
TS
2317 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2318 meaningful names to some local labels.
2319
d230f50a
KK
23202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2321 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2322
2323 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2324 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2325 (__arch_compare_and_exchange_val_16_acq): Likewise.
2326 (__arch_compare_and_exchange_val_32_acq): Likewise.
2327 (atomic_exchange_and_add): Fix gUSA sequence.
2328 (atomic_add): Likewise.
2329 (atomic_add_negative): Likewise.
2330 (atomic_add_zero): Likewise.
2331 (atomic_bit_test_set): Likewise.
2332
0479b305
AS
23332012-06-22 Andreas Schwab <schwab@redhat.com>
2334
2335 [BZ #13579]
2336 * include/link.h (struct link_map): Add l_free_initfini.
2337 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2338 l_initfini.
2339 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2340 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2341 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2342 set.
2343
0e3933b9
CD
23442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2345
2346 * configure.in: Use AC_LANG_SOURCE.
2347 * configure: Regenerate.
2348
4248b1b1
RM
23492012-06-22 Roland McGrath <roland@hack.frob.com>
2350
2351 * configure.in (libc_cv_localstatedir): New substituted variable.
2352 * configure: Regenerated.
2353 * config.make.in (localstatedir): New variable, substituted from
2354 libc_cv_localstatedir.
2355 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2356 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2357 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2358 * sysdeps/gnu/configure: Regenerated.
2359
006dd861
JL
23602012-06-21 Jeff Law <law@redhat.com>
2361
2362 [BZ #14277]
2363 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2364 free. Simplify list management for _LIBC case.
2365
79662d42
JM
23662012-06-21 Joseph Myers <joseph@codesourcery.com>
2367
b7abb4bf
JM
2368 [BZ #14273]
2369 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2370 Clear sign bit of 64-bit integer value before comparing against
2371 overflow value.
2372
79662d42
JM
2373 * sysdeps/mach/configure: Regenerated.
2374
1f150908
L
23752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2376
2377 [BZ #14278]
2378 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2379
28363bbf
JL
23802012-06-21 Jeff Law <law@redhat.com>
2381
2382 [BZ #13882]
2383 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2384 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2385 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2386 * elf/dl-open.c (dl_open_worker): Likewise.
2387
09615db4
CD
23882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2389
2390 * scripts/list-sources.sh: Scan PORTS for translations.
2391 * po/libc.pot: Regenerated.
2392
2174c6dd
AJ
23932012-06-21 Andreas Jaeger <aj@suse.de>
2394
2395 [BZ #12194]
2396 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2397 warning.
2398 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2399 * bits/byteswap-16.h (__bswap_16): Likewise.
2400 * bits/byteswap.h (__bswap_constant_16): Likewise.
2401
3ee947b1
L
24022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2403
2404 [BZ #14117]
a2f34833
L
2405 * sysdeps/i386/fpu_control.h: Removed.
2406 * sysdeps/x86_64/fpu_control.h: Moved to ...
2407 * sysdeps/x86/fpu_control.h: Here.
2408
3ee947b1
L
2409 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2410 (_FPU_SETCW): Likewise.
2411
ed1825f8
L
24122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2413
25f1282a
L
2414 [BZ #14117]
2415 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2416 * sysdeps/x86/fpu/bits/mathinline.h: This.
2417 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2418
ed1825f8
L
2419 [BZ #14050]
2420 [BZ #14117]
2421 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2422 functions if __x86_64__ is defined.
2423
36d54b74
CLT
24242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2425
2426 * string/endian.h: Add !__ASSEMBLER__ condition for including
2427 conversion interfaces.
2428
10285c21
JM
24292012-06-15 Joseph Myers <joseph@codesourcery.com>
2430
2431 [BZ #14241]
2432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2433 of ABS(x) in calculating zero to negative powers other than odd
2434 integers.
2435 * math/libm-test.inc (pow_test): Add more tests.
2436
06c5abbd
AJ
24372012-06-15 Andreas Jaeger <aj@suse.de>
2438
2439 * manual/contrib.texi (Contributors): Update entry of Liubov
2440 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2441 Machado Filho.
2442
a3aeac40
CH
24432012-06-15 Cyril Hrubis <metan@ucw.cz>
2444
2445 * string/string.h: Add __wur to GNU version of strerror_r.
2446
49bdf4c1
L
24472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2448
2449 [BZ #14229]
2450 * string/Makefile (tests): Add tst-strtok_r.
2451 * string/tst-strtok_r.c: New file.
2452 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2453 RAX_LP/RDX_LP on SAVE_PTR.
2454
834f9b8d
RM
24552012-06-14 Roland McGrath <roland@hack.frob.com>
2456
2457 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2458
75fa1921
JM
24592012-06-14 Joseph Myers <joseph@codesourcery.com>
2460
2461 * libm_test.inc (csqrt_test): Allow more spurious underflow
2462 exceptions.
2463 (j0_test): Likewise.
2464 (j1_test): Likewise.
2465 (y0_test): Likewise.
2466 (y1_test): Likewise.
2467
771766df
CD
24682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2469
2470 * po/Makefile (libc.pot): Use UTF-8 charset.
2471
ceb9e56b
PP
24722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2473
2474 [BZ #14210]
2475 Suppress sign-conversion warning from FD_SET.
2476 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2477 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2478 not unsigned long int.
2479 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2480
ddb28975
L
24812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2482
2483 [BZ #14050]
2484 [BZ #14117]
2485 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2486 __extern_always_inline instead of __extern_inline.
2487 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2488 (__signbit): Likewise.
2489 (__signbitl): Support C++ namespace.
2490 (lrintf): New inline function.
2491 (lrint): Likewise.
2492 (llrintf): Likewise.
2493 (llrint): Likewise.
2494 (fmaxf): Likewise.
2495 (fmax): Likewise.
2496 (fminf): Likewise.
2497 (fmin): Likewise.
2498 (rint): Likewise.
2499 (rintf): Likewise.
2500 (ceil): Likewise.
2501 (ceilf): Likewise.
2502 (floor): Likewise.
2503 (floorf): Likewise.
2504 (nearbyint): Likewise.
2505 (nearbyintf): Likewise.
2506
d7b4fb26
TS
25072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2508
2509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2510 non-default versions.
2511
eb55f5c2
RM
25122012-06-11 Roland McGrath <roland@hack.frob.com>
2513
2514 [BZ #14218]
2515 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2516
366af02c
TS
25172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2518
99ff6e5c
TS
2519 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2520 (FE_UPWARD, FE_DOWNWARD): Don't define.
2521 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2522 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2523
366af02c
TS
2524 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2525 reading it.
2526 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2528
793ea851
KK
25292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2530
2531 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2533 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2534 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2535
a728a38f
L
25362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2537
2538 [BZ #14117]
c08010c7
L
2539 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2540 * sysdeps/i386/fpu/Implies: New file.
2541 * sysdeps/x86_64/fpu/Implies: Likewise.
2542 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2543 * sysdeps/x86/fpu/bits/fenv.h: This.
2544
a728a38f
L
2545 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2546 __SSE_MATH__.
2547
6e230d11
SP
25482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2549
2550 [BZ #14134]
2551 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2552 character 0xffff that matches the last element of the
2553 conversion table.
2554
1b671feb
AZ
25552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556
2557 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2558 fmodl commit.
2559
6043738b
AZ
25602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2561
2562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2563 values higher than 25.6283.
2564
34ae0b32
AZ
25652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2566
2567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2568 subnormal exponent extraction and add some __builtin_expect.
2569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2570 Fix for subnormal mantissa calculation.
2571
1214ec8f
MF
25722012-06-04 Mike Frysinger <vapier@gentoo.org>
2573
2574 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2575 cpu2 is -1 and errno is not ENOSYS.
2576
f3d1f93c
L
25772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 [BZ #14117]
0e4a3cd7
L
2580 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2581 * sysdeps/x86/bits/string.h: This.
2582 * sysdeps/x86_64/bits/string.h: Removed.
2583
6704c645
L
2584 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2585 if not compiling for x86-64, but compiling for >= i486.
2586
48495318
L
2587 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2588 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2589
14adcbfc
L
2590 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2591 New macro from Linux kernel 3.4.0.
2592 (FP_XSTATE_MAGIC2): Likewise.
2593 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2594 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2595 (struct _fpx_sw_bytes): New struct.
2596 (struct _xsave_hdr): Likewise.
2597 (struct _ymmh_state): Likewise.
2598 (struct _xstate): Likewise.
2599
68e408ab
L
2600 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2601 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2602 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2603 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2604 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2605 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2606
f3d1f93c
L
2607 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2608 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2609 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2610 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2611 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2612 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2613
d9dc34cd
TMQMF
26142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2615
2616 [BZ #13743]
2617 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2618 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2619 (sysdep_headers): Include sys/platform/ppc.h.
2620 * sysdeps/powerpc/test-gettimebase.c: Test for
2621 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2622 * manual/Makefile (appendices): Include platform.texi.
2623 * manual/contrib.texi (Contributors): Update @node pointers.
2624 * manual/maint.texi (Maintenance): Likewise.
2625 (Platform): New node.
2626 * manual/platform.texi: New file. Document the new features.
2627
4af3879c
SP
26282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2629 Jakub Jelinek <jakub@redhat.com>
2630
2631 [BZ #14188]
2632 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2633 where __builtin_expect is unavailable.
2634
2fd6ff13
DM
26352012-06-03 David S. Miller <davem@davemloft.net>
2636
2637 * stdlib/longlong.h: Updated from GCC.
2638
173f7220
AS
26392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2640
2641 [BZ #14042]
2642 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2643 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2644 __mcount_internal.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2646 (GLIBC_2.16): Likewise.
2647
f34a1c6f
L
26482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2649
2650 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2651
88a4576f
JM
26522012-06-01 Joseph Myers <joseph@codesourcery.com>
2653
ea32bcdd
JM
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2655 (default-abi): New variable.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2657 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2658 variable.
2659 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2660 Likewise.
2661 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2662 Likewise.
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2664 Likewise.
2665
88a4576f
JM
2666 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2667 definition. Document in comment.
2668
402fe938
DM
26692012-06-01 David S. Miller <davem@davemloft.net>
2670
2671 * stdlib/longlong.h: Updated from GCC.
2672
3553723f
L
26732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2674
2675 [BZ #14117]
3bd872c4
L
2676 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2677 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2678 sys/debugreg.h sys/io.h here.
2679 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2680 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2681 sys/io.h.
2682 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2683 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2684 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2685 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2686 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2687 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2688
3553723f
L
2689 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2690 Define only if __x86_64__ is defined.
2691
4842e4fe
JM
26922012-06-01 Joseph Myers <joseph@codesourcery.com>
2693
c5bfe3d5
JM
2694 [BZ #14048]
2695 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2696 Use int64_t for variable i.
2697 * math/libm-test.inc (fmod_test): Add more tests.
2698
4842e4fe
JM
2699 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2700 z computation is not scheduled after fetestexcept.
2701 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2702 Use math_force_eval instead of asm to ensure calculation scheduled
2703 before exception test.
2704 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2705 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2706
efb73488
AJ
27072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2708
2709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2710 computation is not scheduled after fetestexcept.
2711
29bcce7c
L
27122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 [BZ #14117]
2715 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2716 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2717
73a68f94
AZ
27182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2721 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2722
67b6df78
L
27232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2724
edf2933a 2725 [BZ #14117]
ebc64a18
L
2726 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2727 <bits/wordsize.h>.
2728 (__WCHAR_MIN): Support __WORDSIZE == 64.
2729 (__WCHAR_MAX): Likewise.
2730
edf2933a
L
2731 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2732 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2733
57c6cf40
L
2734 [BZ #14183]
2735 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2736 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2737
67b6df78 2738 [BZ #14117]
8eb6281e
L
2739 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2740 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2741
aac639f4
L
2742 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2743 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2744
67b6df78
L
2745 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2746 Defined to 1 if __x86_64__ isn't defined.
2747 (_STAT_VER_LINUX_OLD): New.
2748 (st_atime): Remove duplicate.
2749 (st_mtime): Likewise.
2750 (st_ctime): Likewise.
2751
1c2cfe81
DM
27522012-05-31 David S. Miller <davem@davemloft.net>
2753
2754 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2755 entries.
2756
5be8418c
AS
27572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2758
e7725326
AS
2759 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2760 gen-libm-test.pl.
2761
5be8418c
AS
2762 [BZ #14132]
2763 * elf/dl-reloc.c: Include <_itoa.h>.
2764 (_dl_reloc_bad_type): Remove use of INTUSE.
2765 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2766 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2767 * stdio-common/psiginfo.c (psiginfo): Likewise.
2768 * stdio-common/psignal.c (psignal): Likewise.
2769 * string/strsignal.c (strsignal): Likewise.
2770 * include/signal.h (_sys_siglist): Declare hidden proto.
2771 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2772 INTVARDEF with libc_hidden_data_def.
2773 * stdio-common/itoa-udigits.c: Likewise.
2774 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2775 (_itoa_lower_digits_internal): Remove declaration.
2776 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2777 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2778 (_sys_sigabbrev_internal): Remove aliases.
2779 (_sys_siglist): Define hidden alias.
2780
507352f1
MT
27812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2782
2783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2784 bits/sysctl.h.
2785
42bbb1c3
L
27862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2787
2788 [BZ #14117]
6bd784b6
L
2789 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2790 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2791
8bca20f0
L
2792 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2793 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2794 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2795 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2797 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2798
f9e890a9
L
2799 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2800 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2801 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2802
471101a1
L
2803 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2804 with __addr.
2805 (insw): Likewise.
2806 (insl): Likewise.
2807 (outsb): Likewise.
2808 (outsw): Likewise.
2809 (outsl): Likewise.
2810
6451c862
L
2811 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2812 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2813 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2814
a254b8c9
L
2815 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2816 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2817 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2818 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2819 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2820 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2821
b8dfdd92
L
2822 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2823 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2824
578cd270
L
2825 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2826 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2827
de662f5f
L
2828 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2829 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2830 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2831
25653439
L
2832 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2833 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2834 to ...
2835 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2836
6bad24a0
L
2837 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2838 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2839 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2840
42bbb1c3
L
2841 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2842 for x86-64.
2843 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2844
2d10d547
JM
28452012-05-31 Joseph Myers <joseph@codesourcery.com>
2846
2847 * math/math.h (M_El): Use two more decimal places.
2848 (M_LOG2El): Likewise.
2849 (M_LOG10El): Likewise.
2850 (M_LN2l): Likewise.
2851 (M_LN10l): Likewise.
2852 (M_PIl): Likewise.
2853 (M_PI_2l): Likewise.
2854 (M_PI_4l): Likewise.
2855 (M_1_PIl): Likewise.
2856 (M_2_PIl): Likewise.
2857 (M_2_SQRTPIl): Likewise.
2858 (M_SQRT2l): Likewise.
2859 (M_SQRT1_2l): Likewise.
2860
f230c29b
DM
28612012-05-31 David S. Miller <davem@davemloft.net>
2862
2863 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2864 values between float registers.
2865 * sysdeps/sparc/sparc64/memset.S: Likewise.
2866 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2867
fed806c3
MF
28682012-05-31 Mike Frysinger <vapier@gentoo.org>
2869
2870 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2871 -D_FORTIFY_SOURCE=1.
2872 (CPPFLAGS-tst-longjmp_chk.c): Define.
2873 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2874 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2875 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2876 CFLAGS-tst-wchar-h.c.
2877
30917259
MP
28782012-05-31 Marek Polacek <polacek@redhat.com>
2879
2880 [BZ #14132]
2881 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2882 __endmntent_internal): Remove declaration.
2883 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2884 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2885 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2886
1c58d5dc
DM
28872012-05-30 David S. Miller <davem@davemloft.net>
2888
2889 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2890 (___Q_simulate_exceptions): Use real FP ops rather than writing
2891 into the %fsr.
2892 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2893 Likewise.
2894
7dc00e0d
L
28952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2896
2897 [BZ #14117]
0bd53985
L
2898 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2899 * sysdeps/x86/bits/xtitypes.h: This.
2900
3a257e66
L
2901 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2902 * sysdeps/x86/bits/wordsize.h: This.
2903
62f62904
L
2904 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2905 * sysdeps/x86/bits/huge_vall.h: This.
2906
404fe9d9
L
2907 * sysdeps/i386/bits/select.h: Removed.
2908 * sysdeps/x86_64/bits/select.h: Renamed to ...
2909 * sysdeps/x86/bits/select.h: This.
2910
d48d0446
L
2911 * sysdeps/i386/bits/setjmp.h: Removed.
2912 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2913 * sysdeps/x86/bits/setjmp.h: This.
2914
7dc00e0d
L
2915 * sysdeps/i386/bits/mathdef.h: Removed.
2916 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2917 * sysdeps/x86/bits/mathdef.h: This.
2918
03277f8f
AS
29192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2920
2921 [BZ #14132]
2922 * include/sys/socket.h (__connect_internal)
2923 (__libc_sa_len_internal): Remove declaration.
2924 (__connect, __libc_sa_len): Declare hidden_proto.
2925 (SA_LEN): Remove use of INTUSE.
2926 * socket/connect.c: Add libc_hidden_def.
2927 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2928 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2929 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2930 alias.
2931 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2932 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2933 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2934 of adding _internal alias.
2935
13764867
L
29362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2937
2938 [BZ #14117]
6bd97696
L
2939 * sysdeps/i386/bits/link.h: Removed.
2940 * sysdeps/i386/bits/linkmap.h: Likewise.
2941 * sysdeps/x86_64/bits/link.h: Renamed to ...
2942 * sysdeps/x86/bits/link.h: This.
2943 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2944 * sysdeps/x86/bits/linkmap.h: This.
2945
f726f0bb
L
2946 * sysdeps/i386/bits/endian.h: Removed.
2947 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2948 * sysdeps/x86/bits/endian.h: This.
2949
13764867
L
2950 * sysdeps/i386/bits/byteswap.h: Removed.
2951 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2952 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2953 * sysdeps/x86/bits/byteswap.h: This.
2954 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2955 * sysdeps/x86/bits/byteswap-16.h: This.
2956 * sysdeps/i386/Implies: Add x86.
2957 * sysdeps/x86_64/Implies: Likewise.
2958
ae251b0b
DM
29592012-05-30 David S. Miller <davem@davemloft.net>
2960
2961 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2962 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2963 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2964 (FP_TRAPPING_EXCEPTIONS): Define.
2965 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2966 (FP_TRAPPING_EXCEPTIONS): Define.
2967 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2968 subnormals only when inexact has been signalled or underflow
2969 exceptions are enabled.
2970 (_FP_PACK_CANONICAL): Likewise.
2971
d5c90867
L
29722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2973
2974 [BZ #14183]
2975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2976 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2977
63f1549e
RH
29782012-05-30 Richard Henderson <rth@twiddle.net>
2979
8d8f2279
RH
2980 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2981 with #ifndef NOT_IN_libc.
2982
63f1549e
RH
2983 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2984 marked to avoid plt entry.
2985
0ab0291b
L
29862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2987
2988 [BZ #14112]
2989 * Makeconfig (default-abi): New macro.
2990 (abi-includes): Likewise.
2991 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2992 $(abi-$(default-abi)-lib-soname) for soname if defined.
2993 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2994 abi-variants.
2995 * Makefile (installed-stubs): Likewise.
2996 * include/stubs-biarch.h: Removed.
2997 * scripts/lib-names.awk: Only handle one library at a time.
2998 * scripts/soversions.awk: Remove WORDSIZE support.
2999 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3000 entries.
3001 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3002 Removed.
3003 (syscall-list-default-condition): Likewise.
3004 (syscall-list-default-condition): Likewise.
3005 (syscall-list-includes): Likewise.
3006 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3007 syscall-list-* with abi-*. Handle undefined abi-variants.
3008 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3009 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3010 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3011 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3012 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3013 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3014 Removed.
3015 (syscall-list-32-options): Likewise.
3016 (syscall-list-32-condition): Likewise.
3017 (syscall-list-64-options): Likewise.
3018 (syscall-list-64-condition): Likewise.
3019 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3020 macro.
3021 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3022 Renamed to ...
3023 (abi-*): This.
3024 (abi-64-ld-soname): New macro.
3025 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3026 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3027 Renamed to ...
3028 (abi-*): This.
3029 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3030 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3031
4da0431d
JM
30322012-05-30 Joseph Myers <joseph@codesourcery.com>
3033
3a85279c
JM
3034 * sysdeps/unix/sysv/linux/kernel-features.h
3035 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3036 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3037 include <kernel-features.h>.
3038 [!__NR_ftruncate64]: Remove conditional code.
3039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3040 [__NR_ftruncate64]: Make code unconditional.
3041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3042 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3043 include <kernel-features.h>.
3044 [!__NR_ftruncate64]: Remove conditional code.
3045 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3046 [__NR_ftruncate64]: Make code unconditional.
3047 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3049 include <kernel-features.h>.
3050 [!__NR_ftruncate64]: Remove conditional code.
3051 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3052 [__NR_ftruncate64]: Make code unconditional.
3053 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3055 include <kernel-features.h>.
3056 [!__NR_ftruncate64]: Remove conditional code.
3057 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3058 [__NR_ftruncate64]: Make code unconditional.
3059 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3060
4da0431d
JM
3061 * configure.in (libc_cv_fpie): Weaken to a compile test using
3062 LIBC_TRY_CC_OPTION.
3063 * configure: Regenerated.
3064
11ef492c
AK
30652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3066
3067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3071 Refreshed.
3072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3078 Refreshed.
3079
d66ef399
DM
30802012-05-27 David S. Miller <davem@davemloft.net>
3081
3082 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3083 (___Q_zero): New.
3084 (__Q_simulate_exceptions): Return void. Change to simulate
3085 exceptions by writing into the %fsr.
3086 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3087 (__Qp_handle_exceptions): Likewise.
3088 (numbers): Delete.
3089 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3090 __Qp_handle_exceptions.
3091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3092 __Qp_handle_exceptions.
3093 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3094 as unused and give dummy FP_RND_NEAREST initializer.
3095 (FP_INHIBIT_RESULTS): Define.
3096 (___Q_simulate_exceptions): Update declaration.
3097 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3098 formatting.
3099 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3100 as unused and give dummy FP_RND_NEAREST initializer.
3101 (__Qp_handle_exceptions): Update declaration.
3102 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3103 formatting.
3104
04fb54b5
TS
31052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3106
3107 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3108 the temporary FPU control word.
3109 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3110 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3111 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3112 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3113 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3114 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3115 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3116 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3117 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3118 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3119 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3120
3f99608f
KK
31212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3122
3123 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3124 fields.
3125
65a4de4e
CLT
31262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3127
3128 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3129 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3130 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3131 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3132 Likewise.
3133 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3134 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3135 Likewise.
3136
15749d40
UD
31372012-05-27 Ulrich Drepper <drepper@gmail.com>
3138
3139 * po/h.po: Update from translation team.
3140
25dbcb27
AS
31412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3142
3d3f8e55
AS
3143 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3144
25dbcb27
AS
3145 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3146 handling of denormals.
3147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3148 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3149 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3154 Likewise.
3155
7ad47a80 31562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3157
3158 [BZ #14152]
3159 * math/libm-test.inc (fma_test): Don't always expect underflow
3160 exception.
3161
9c6ea9fa
SP
31622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3163
3164 [BZ #12416]
3165 * elf/tst-execstack.c: Include stackinfo.h.
3166 (do_test): Adjust test case to ensure that pthread_getattr_np
3167 behaviour remains the same after marking stack executable.
3168
a8239222
JM
31692012-05-25 Joseph Myers <joseph@codesourcery.com>
3170
3171 * sysdeps/unix/sysv/linux/kernel-features.h
3172 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3173 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3174 kernel-features.h.
3175 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3176 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3177 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3178 kernel-features.h.
3179 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3180 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3181
918b5606
L
31822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3183
3184 * configure.in: Define the default includes to being none.
3185 * configure: Regenerated.
3186
3a097cc7
RM
31872012-05-25 Roland McGrath <roland@hack.frob.com>
3188
8422c9a5
RM
3189 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3190 * sysdeps/x86_64/setjmp.S: Likewise.
3191 * sysdeps/i386/bsd-setjmp.S: Likewise.
3192 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3193 * sysdeps/i386/setjmp.S: Likewise.
3194 * sysdeps/i386/__longjmp.S: Likewise.
3195 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3196 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3197
3a097cc7
RM
3198 * include/stap-probe.h: New file.
3199 * configure.in: Handle --enable-systemtap.
3200 * configure: Regenerated.
3201 * config.h.in (USE_STAP_PROBE): New #undef.
3202 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3203 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3204 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3205
21708942
JM
32062012-05-25 Joseph Myers <joseph@codesourcery.com>
3207
3208 [BZ #13717]
3209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3210 to 2.4.0 where earlier.
3211 * sysdeps/unix/sysv/linux/configure: Regenerated.
3212 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
3221 [__ASSUME_32BITUIDS]: Make code unconditional.
3222 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3223 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3224 <kernel-features.h>.
3225 [__ASSUME_32BITUIDS]: Make code unconditional.
3226 [!__ASSUME_32BITUIDS]: Remove conditional code.
3227 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3228 <kernel-features.h>.
3229 [__ASSUME_32BITUIDS]: Make code unconditional.
3230 [!__ASSUME_32BITUIDS]: Remove conditional code.
3231 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3232 <kernel-features.h>.
3233 [__ASSUME_32BITUIDS]: Make code unconditional.
3234 [!__ASSUME_32BITUIDS]: Remove conditional code.
3235 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3236 <kernel-features.h>.
3237 [__ASSUME_32BITUIDS]: Make code unconditional.
3238 [!__ASSUME_32BITUIDS]: Remove conditional code.
3239 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3240 <kernel-features.h>.
3241 [__ASSUME_32BITUIDS]: Make code unconditional.
3242 [!__ASSUME_32BITUIDS]: Remove conditional code.
3243 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3244 <kernel-features.h>.
3245 [__ASSUME_32BITUIDS]: Make code unconditional.
3246 [!__ASSUME_32BITUIDS]: Remove conditional code.
3247 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3248 <kernel-features.h>.
3249 [__ASSUME_32BITUIDS]: Make code unconditional.
3250 [!__ASSUME_32BITUIDS]: Remove conditional code.
3251 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3252 <kernel-features.h>.
3253 [__ASSUME_32BITUIDS]: Make code unconditional.
3254 [!__ASSUME_32BITUIDS]: Remove conditional code.
3255 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3256 <kernel-features.h>.
3257 [__ASSUME_32BITUIDS]: Make code unconditional.
3258 [!__ASSUME_32BITUIDS]: Remove conditional code.
3259 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3260 <kernel-features.h>.
3261 [__ASSUME_32BITUIDS]: Make code unconditional.
3262 [!__ASSUME_32BITUIDS]: Remove conditional code.
3263 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3264 <kernel-features.h>.
3265 [__NR_setresgid] (__setresgid): Do not declare.
3266 [__ASSUME_32BITUIDS]: Make code unconditional.
3267 [!__ASSUME_32BITUIDS]: Remove conditional code.
3268 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3269 <kernel-features.h>.
3270 [__NR_setresuid] (__setresuid): Do not declare.
3271 [__ASSUME_32BITUIDS]: Make code unconditional.
3272 [!__ASSUME_32BITUIDS]: Remove conditional code.
3273 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3274 <kernel-features.h>.
3275 [__ASSUME_32BITUIDS]: Make code unconditional.
3276 [!__ASSUME_32BITUIDS]: Remove conditional code.
3277 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3278 <kernel-features.h>.
3279 [__ASSUME_32BITUIDS]: Make code unconditional.
3280 [!__ASSUME_32BITUIDS]: Remove conditional code.
3281 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3282 <kernel-features.h>.
3283 [__ASSUME_32BITUIDS]: Make code unconditional.
3284 [!__ASSUME_32BITUIDS]: Remove conditional code.
3285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3286 <kernel-features.h>.
3287 [__ASSUME_32BITUIDS]: Make code unconditional.
3288 [!__ASSUME_32BITUIDS]: Remove conditional code.
3289 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3290 <kernel-features.h>.
3291 [__ASSUME_32BITUIDS]: Make code unconditional.
3292 [!__ASSUME_32BITUIDS]: Remove conditional code.
3293 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3294 <kernel-features.h>.
3295 [__ASSUME_32BITUIDS]: Make code unconditional.
3296 [!__ASSUME_32BITUIDS]: Remove conditional code.
3297 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3298 <kernel-features.h>.
3299 [__ASSUME_32BITUIDS]: Make code unconditional.
3300 [!__ASSUME_32BITUIDS]: Remove conditional code.
3301 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3302 <kernel-features.h>.
3303 [__ASSUME_32BITUIDS]: Make code unconditional.
3304 [!__ASSUME_32BITUIDS]: Remove conditional code.
3305 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3306 <kernel-features.h>.
3307 [__ASSUME_32BITUIDS]: Make code unconditional.
3308 [!__ASSUME_32BITUIDS]: Remove conditional code.
3309 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3310 <kernel-features.h>.
3311 [__ASSUME_32BITUIDS]: Make code unconditional.
3312 [!__ASSUME_32BITUIDS]: Remove conditional code.
3313 * sysdeps/unix/sysv/linux/kernel-features.h
3314 (__ASSUME_SETRESUID_SYSCALL): Remove.
3315 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3316 (__ASSUME_32BITUIDS): Likewise.
3317 (__ASSUME_LDT_WORKS): Likewise.
3318 (__ASSUME_O_DIRECTORY): Likewise.
3319 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3320 architecture but not kernel version.
3321 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3322 (__ASSUME_MMAP2_SYSCALL): Likewise.
3323 (__ASSUME_STAT64_SYSCALL): Likewise.
3324 (__ASSUME_IPC64): Likewise.
3325 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3326 <kernel-features.h>.
3327 [__ASSUME_32BITUIDS]: Make code unconditional.
3328 [!__ASSUME_32BITUIDS]: Remove conditional code.
3329 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3330 <kernel-features.h>.
3331 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3332 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3333 132096]: Remove conditional code.
3334 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3335 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3336 <kernel-features.h>.
3337 [__ASSUME_32BITUIDS]: Make code unconditional.
3338 [!__ASSUME_32BITUIDS]: Remove conditional code.
3339 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3340 <kernel-features.h>.
3341 [__ASSUME_32BITUIDS]: Make code unconditional.
3342 [!__ASSUME_32BITUIDS]: Remove conditional code.
3343 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3344 <kernel-features.h>.
3345 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3346 unconditional.
3347 (__setresgid): Do not declare.
3348 [__ASSUME_32BITUIDS]: Make code unconditional.
3349 [!__ASSUME_32BITUIDS]: Remove conditional code.
3350 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3351 <kernel-features.h>.
3352 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3353 unconditional.
3354 (__setresuid): Do not declare.
3355 [__ASSUME_32BITUIDS]: Make code unconditional.
3356 [!__ASSUME_32BITUIDS]: Remove conditional code.
3357 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3358 <kernel-features.h>.
3359 [__ASSUME_32BITUIDS]: Make code unconditional.
3360 [!__ASSUME_32BITUIDS]: Remove conditional code.
3361 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3362 <kernel-features.h>.
3363 [__ASSUME_32BITUIDS]: Make code unconditional.
3364 [!__ASSUME_32BITUIDS]: Remove conditional code.
3365
a386f1cc
RH
33662012-05-25 Richard Henderson <rth@twiddle.net>
3367
3368 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3369 dl_hwcap to ifunc resolver.
3370 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3371 elf_ifunc_invoke.
3372 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3373 dl_hwcap to ifunc resolver.
3374 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3375
b6550497
JM
33762012-05-24 Joseph Myers <joseph@codesourcery.com>
3377
3378 [BZ #14153]
3379 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3380 for |x| <= 2**-26, not 2**-57.
3381 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3382 exception.
3383
b0bc23a1
JL
33842012-05-24 Jeff Law <law@redhat.com>
3385
3386 * stdio-common/Makefile (tests): Add bug25.
3387 * stdio-common/bug25.c: New test.
3388
347c92e9
L
33892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3390
3391 [BZ #13576]
3392 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3393 multiple of MALLOC_ALIGNMENT in size.
3394 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3395
6bcc8b3f
JM
33962012-05-24 Joseph Myers <joseph@codesourcery.com>
3397
3398 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3399 Require >= 256.
3400 (FILENAME_MAX): Use macro-int-constant.
3401 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3402 (_IOFBF): Use macro-int-constant.
3403 (_IOLBF): Likewise.
3404 (_IONBF): Likewise.
3405 (SEEK_CUR): Likewise.
3406 (SEEK_END): Likewise.
3407 (SEEK_SET): Likewise.
3408 (TMP_MAX): Likewise.
3409 (EOF): Use macro-int-constant. Require < 0.
3410 (NULL): Use macro-constant. Require == 0.
3411 (stdin): Require type to be FILE *.
3412 (stdout): Likewise.
3413 (stderr): Likewise.
3414 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3415 macro-int-constant.
3416 (EXIT_SUCCESS): Likewise.
3417 (NULL): Use macro-constant. Require == 0.
3418 (RAND_MAX): Use macro-int-constant.
3419 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3420 [C99-based standards] (strtof): Require function.
3421 [C99-based standards] (strtold): Likewise.
3422 [C99-based standards] (strtoll): Likewise.
3423 [C99-based standards] (strtoull): Likewise.
3424 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3425 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3426 [ISO || ISO99 || ISO11] (math.h): Likewise.
3427 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3428 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3429 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3430
d18ea0c5
AS
34312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3432
3433 [BZ #14132]
56d25bb8
AS
3434 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3435 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3436 * intl/dgettext.c (DCGETTEXT): Likewise.
3437 * intl/gettext.c (DCGETTEXT): Likewise.
3438 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3439 * posix/regex_internal.h (gettext): Likewise.
3440 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3441 Remove declaration.
3442 * include/argz.h (__argz_count_internal)
3443 (__argz_stringify_internal): Remove declaration.
3444 (__argz_count, __argz_stringify): Declare hidden proto.
3445 * intl/dcgettext.c: Remove use of INTDEF.
3446 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3447 * string/argz-stringify.c: Likewise.
3448 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3449 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3450 Declare hidden proto.
d18ea0c5
AS
3451 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3452 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3453 Declare hidden proto.
3454 * include/stdio.h (__asprintf_internal): Don't declare.
3455 (__asprintf): Don't define as macro. Declare hidden proto.
3456 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3457 (__fsetlocking): Declare hidden proto.
3458 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3459 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3460 hidden proto.
3461 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3462 (_IO_setlinebuf): Remove use of INTUSE.
3463 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3464 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3465 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3466 Remove declaration.
3467 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3468 (_IO_do_flush): Remove use of INTUSE.
3469 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3470 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3471 (_IO_adjust_column, _IO_least_wmarker)
3472 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3473 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3474 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3475 (_IO_default_doallocate, _IO_wdefault_doallocate)
3476 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3477 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3478 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3479 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3480 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3481 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3482 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3483 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3484 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3485 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3486 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3487 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3488 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3489 proto.
3490 (_IO_flush_all_internal, _IO_adjust_column_internal)
3491 (_IO_default_uflow_internal, _IO_default_finish_internal)
3492 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3493 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3494 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3495 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3496 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3497 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3498 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3499 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3500 (_IO_file_close_internal, _IO_file_close_it_internal)
3501 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3502 (_IO_file_init_internal, _IO_file_attach_internal)
3503 (_IO_file_fopen_internal, _IO_file_read_internal)
3504 (_IO_file_sync_internal, _IO_file_seek_internal)
3505 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3506 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3507 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3508 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3509 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3510 (_IO_list_all_internal, _IO_link_in_internal)
3511 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3512 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3513 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3514 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3515 (_IO_do_write_internal, _IO_padn_internal)
3516 (_IO_getline_info_internal, _IO_getline_internal)
3517 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3518 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3519 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3520 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3521 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3522 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3523 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3524 with libc_hidden_ver, remove use of INTUSE.
3525 * libio/genops.c: Likewise.
3526 * libio/freopen.c: Likewise.
3527 * libio/freopen64.c: Likewise.
3528 * libio/iofclose.c: Likewise.
3529 * libio/iofdopen.c: Likewise.
3530 * libio/iofflush.c: Likewise.
3531 * libio/iofflush_u.c: Likewise.
3532 * libio/iofgets.c: Likewise.
3533 * libio/iofgets_u.c: Likewise.
3534 * libio/iofopen.c: Likewise.
3535 * libio/iofopncook.c: Likewise.
3536 * libio/iofread.c: Likewise.
3537 * libio/iofread_u.c: Likewise.
3538 * libio/ioftell.c: Likewise.
3539 * libio/iofwrite.c: Likewise.
3540 * libio/iogetline.c: Likewise.
3541 * libio/iogets.c: Likewise.
3542 * libio/iogetwline.c: Likewise.
3543 * libio/iopadn.c: Likewise.
3544 * libio/iopopen.c: Likewise.
3545 * libio/ioseekoff.c: Likewise.
3546 * libio/ioseekpos.c: Likewise.
3547 * libio/iosetbuffer.c: Likewise.
3548 * libio/iosetvbuf.c: Likewise.
3549 * libio/ioungetc.c: Likewise.
3550 * libio/ioungetwc.c: Likewise.
3551 * libio/iovdprintf.c: Likewise.
3552 * libio/iovsprintf.c: Likewise.
3553 * libio/iovsscanf.c: Likewise.
3554 * libio/memstream.c: Likewise.
3555 * libio/obprintf.c: Likewise.
3556 * libio/oldfileops.c: Likewise.
3557 * libio/oldiofclose.c: Likewise.
3558 * libio/oldiofdopen.c: Likewise.
3559 * libio/oldiofopen.c: Likewise.
3560 * libio/oldiopopen.c: Likewise.
3561 * libio/oldstdfiles.c: Likewise.
3562 * libio/putc.c: Likewise.
3563 * libio/setbuf.c: Likewise.
3564 * libio/setlinebuf.c: Likewise.
3565 * libio/stdfiles.c: Likewise.
3566 * libio/strops.c: Likewise.
3567 * libio/vasprintf.c: Likewise.
3568 * libio/vscanf.c: Likewise.
3569 * libio/vsnprintf.c: Likewise.
3570 * libio/vswprintf.c: Likewise.
3571 * libio/wfiledoalloc.c: Likewise.
3572 * libio/wfileops.c: Likewise.
3573 * libio/wgenops.c: Likewise.
3574 * libio/wmemstream.c: Likewise.
3575 * libio/wstrops.c: Likewise.
3576 * libio/__fpurge.c: Likewise.
3577 * libio/__fsetlocking.c: Likewise.
3578 * assert/assert.c: Likewise.
3579 * debug/fgets_chk.c: Likewise.
3580 * debug/fgets_u_chk.c: Likewise.
3581 * debug/fread_chk.c: Likewise.
3582 * debug/fread_u_chk.c: Likewise.
3583 * debug/gets_chk.c: Likewise.
3584 * debug/obprintf_chk.c: Likewise.
3585 * debug/vasprintf_chk.c: Likewise.
3586 * debug/vdprintf_chk.c: Likewise.
3587 * debug/vsnprintf_chk.c: Likewise.
3588 * debug/vsprintf_chk.c: Likewise.
3589 * malloc/mtrace.c: Likewise.
3590 * misc/error.c: Likewise.
3591 * misc/syslog.c: Likewise.
3592 * stdio-common/asprintf.c: Likewise.
3593 * stdio-common/fxprintf.c: Likewise.
3594 * stdio-common/getw.c: Likewise.
3595 * stdio-common/isoc99_fscanf.c: Likewise.
3596 * stdio-common/isoc99_scanf.c: Likewise.
3597 * stdio-common/isoc99_vfscanf.c: Likewise.
3598 * stdio-common/isoc99_vscanf.c: Likewise.
3599 * stdio-common/isoc99_vsscanf.c: Likewise.
3600 * stdio-common/printf-prs.c: Likewise.
3601 * stdio-common/printf_fp.c: Likewise.
3602 * stdio-common/printf_fphex.c: Likewise.
3603 * stdio-common/printf_size.c: Likewise.
3604 * stdio-common/putw.c: Likewise.
3605 * stdio-common/scanf.c: Likewise.
3606 * stdio-common/sprintf.c: Likewise.
3607 * stdio-common/tmpfile.c: Likewise.
3608 * stdio-common/vfprintf.c: Likewise.
3609 * stdio-common/vfscanf.c: Likewise.
3610 * stdlib/strfmon_l.c: Likewise.
3611 * sunrpc/openchild.c: Likewise.
3612 * sunrpc/xdr_stdio.c: Likewise.
3613 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3614 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3615
d6c33fda
RM
36162012-05-24 Roland McGrath <roland@hack.frob.com>
3617
c1487492
RM
3618 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3619
3620 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3621 in the third column, to generate for the shared library an IFUNC
3622 that uses _dl_vdso_vsym.
3623 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3624 * Makeconfig (object-suffixes-noshared): New variable.
3625
3626 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3627 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3628 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3629 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3630
d6c33fda
RM
3631 [BZ #14132]
3632 * include/sys/time.h (__gettimeofday): Remove macro.
3633 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3634 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3635 Remove INTDEF.
3636 (__gettimeofday): Add libc_hidden_def.
3637 (gettimeofday): Add libc_hidden_weak.
3638 * sysdeps/mach/gettimeofday.c: Likewise.
3639 * sysdeps/posix/gettimeofday.c: Likewise.
3640 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3641 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3643 (__gettimeofday_internal): Remove strong_alias.
3644 (__gettimeofday): Add libc_hidden_def.
3645 (gettimeofday): Add libc_hidden_weak.
3646 * sysdeps/unix/syscalls.list (gettimeofday):
3647 Remove __gettimeofday_internal alias.
3648
b5a2bbe6
L
36492012-05-24 Daniel Jacobowitz <drow@false.org>
3650 H.J. Lu <hongjiu.lu@intel.com>
3651
3652 [BZ #12495]
3653 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3654 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3655 (largebin_index_32_big): New.
3656 (largebin_index): Use it for 16-byte alignment.
3657 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3658 correction with front_misalign.
3659
cfba4fda
L
36602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3661
7f907421
L
3662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3664 Likewise.
3665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3666 Likewise.
3667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3668 Likewise.
3669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3670 Likewise.
3671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3672 Likewise.
3673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3674 Likewise.
3675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3676 Likewise.
3677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3678 Likewise.
3679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3680 Likewise.
3681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3682 Likewise.
3683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3684 Likewise.
3685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3686 Likewise.
3687
cfba4fda
L
3688 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3689 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3690
80bad0cc
JM
36912012-05-24 Joseph Myers <joseph@codesourcery.com>
3692
7a25eb06
JM
3693 [BZ #10846]
3694 [BZ #14036]
3695 * math/libm-test.inc (exp_test): Add test from bug 14036.
3696 (pow_test): Add test from bug 10846.
3697
795405f9
JM
3698 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3699 and other flags.
3700 (special_function): Do not include flags in test name.
3701 (parse_args): Likewise.
3702 * sysdeps/i386/fpu/libm-test-ulps: Update.
3703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3704 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3705 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3707
80bad0cc
JM
3708 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3709 exceptions.
3710 * math/libm-test.inc ("Philosophy"): Update comment about
3711 exception testing.
3712 (UNDERFLOW_EXCEPTION): New macro.
3713 (UNDERFLOW_EXCEPTION_OK): Likewise.
3714 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3715 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3716 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3717 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3718 (INVALID_EXCEPTION_OK): Update value.
3719 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3720 (OVERFLOW_EXCEPTION_OK): Likewise.
3721 (IGNORE_ZERO_INF_SIGN): Likewise.
3722 (test_exceptions): Handle underflow exceptions.
3723 (acos_test): Update for underflow exception expectations.
3724 (cexp_test): Likewise.
3725 (clog_test): Likewise.
3726 (clog10_test): Likewise.
3727 (csqrt_test): Likewise.
3728 (ctan_test): Likewise.
3729 (ctanh_test): Likewise.
3730 (exp_test): Likewise.
3731 (exp10_test): Likewise.
3732 (exp2_test): Likewise.
3733 (expm1_test): Likewise.
3734 (fma_test): Likewise.
3735 (j0_test): Likewise.
3736 (jn_test): Likewise.
3737 (nexttoward_test): Likewise.
3738 (pow_test): Likewise.
3739 (scalbn_test): Likewise.
3740 (scalbln_test): Likewise.
3741 (tan_test): Likewise.
3742 (y1_test): Likewise.
3743 * sysdeps/i386/fpu/libm-test-ulps: Update.
3744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3745
9e0e3d0b
DM
37462012-05-23 David S. Miller <davem@davemloft.net>
3747
3748 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3749 (__libc_sigaction): Remove unused local variables.
3750
ccd0a08f
L
37512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3752
3753 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3754
62bdf9a6
PE
37552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3756
f8591f80
PE
3757 mktime: avoid signed integer overflow
3758 * time/mktime.c (__mktime_internal): Do not mishandle the case
3759 where diff == INT_MIN.
3760
94c7d826
PE
3761 mktime: simplify computation of average
3762 * time/mktime.c (ranged_convert): Use new time_t_avg function
3763 instead of rolling our own (probably-slower) code.
3764
ce73d683
PE
3765 mktime: do not assume signed right shift propagates sign bit
3766 * time/mktime.c (isdst_differ): New static function.
3767 (__mktime_internal): No need to normalize tm_isdst now.
3768 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3769 tm_isdst values.
3770
72a22e59
PE
3771 mktime: merge another wrapv change from gnulib
3772 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3773 from some compilers.
3774
68605433
PE
3775 mktime: remove incorrect attempt at unusual arithmetics
3776 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3777 The code didn't really work on such machines anyway.
3778 (TYPE_MINIMUM): Assume two's complement.
3779 (twos_complement_arithmetic): Verify that long_int and time_t
3780 are two's complement (or unsigned, in the latter case).
3781
03cf7fe3
PE
3782 mktime: check signed shifts on long_int and time_t, too
3783 * time/mktime.c (SHR): Check that shifts work as desired
3784 on the types long_int and time_t too, as SHR is used on
3785 such types.
3786
f04dfbc2
PE
3787 mktime: do not assume 'long' is wide enough
3788 * time/mktime.c (verify): Move decl up.
3789 (long_int): New type.
3790 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3791 to remove assumption in the code that 'long' is wide enough to
3792 store year values. This assumption is not true on x32 and on
3793 some non-glibc platforms.
3794
62bdf9a6
PE
3795 mktime: merge wrapv change from gnulib
3796 * time/mktime.c (WRAPV): New macro.
3797 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3798 (guess_time_tm, __mktime_internal): Do not assume that signed
3799 integer overflow wraps around; modern compilers generate code
3800 where this assumption is no longer valid.
3801
5e292e4f
L
38022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3803
3804 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3805 Replace "jmp L(pseudo_end)" with "ret".
3806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3807 Likewise.
3808
8caf8c87
AJ
38092012-05-23 Andreas Jaeger <aj@suse.de>
3810
3811 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3812 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3813
1a09dc56
AJ
38142012-05-23 Andreas Jaeger <aj@suse.de>
3815 Maximilian Attems <max@stro.at>
3816
3817 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3818 New macros.
3819
1c87aba0
L
38202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3821
3822 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3823 code so that pseudo_end is just ret and the stack pointer is
3824 correct also for static library in error case.
3825
40e45bd5
JM
38262012-05-23 Joseph Myers <joseph@codesourcery.com>
3827
c2670533
JM
3828 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3829 move to syscalls.list.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3834
40e45bd5
JM
3835 * manual/install.texi (Running make install): Do not mention Linux
3836 kernel version for which pt_chown is not needed.
3837 (Linux): Do not mention problems with nscd with 2.0 kernels.
3838 * INSTALL: Regenerated.
3839
be08eda5
AJ
38402012-05-23 Andreas Jaeger <aj@suse.de>
3841
3842 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3843 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3844 macro.
3845 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3846 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3847 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3848 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3849 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3850 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3851 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3852 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3854 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3855 * sysdeps/unix/sysv/linux/bits/in.h
3856 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3857
a6a056bb
RM
38582012-05-22 Roland McGrath <roland@hack.frob.com>
3859
3860 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3861 (PREPARE_VERSION): Just use assert instead, it will be elided
3862 under [NDEBUG] anyway.
3863
c9009328
L
38642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3865
3866 * sysdeps/unix/sysv/linux/Makefile: Include
3867 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3868 (sysdep_routines): Remove sysctl.
c9009328
L
3869 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3870 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3871 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3872 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3873 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3874
73338355
AJ
38752012-05-22 Andreas Jaeger <aj@suse.de>
3876
3877 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3878 that pseudo_end is just ret and the stack pointer is correct also
3879 for static library in error case.
3880
d44638b0
PP
38812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3882
3883 [BZ #14122]
3884 * nss/nsswitch.c (defconfig_entries): New variable.
3885 (__nss_database_lookup): Don't leak defconfig entries.
3886 (nss_parse_service_list): Don't leak on error paths.
3887 (free_database_entries): New function.
3888 (free_defconfig): New function.
3889 (free_mem): Move common code to free_database_entries.
3890
31a39bd8
L
38912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3892
da0331a8
L
3893 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3894 Add arch_prctl.
3895 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3896
31a39bd8
L
3897 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3898 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3900 New macro.
3901 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3902 (INTERNAL_SYSCALL_TYPES): Likewise.
3903 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3904 (LOAD_REGS_TYPES_[1-6]): Likewise.
3905 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3906 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3907
45470df3
AZ
39082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3909
3910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3911 copysignl for GLIBC_2_0.
3912 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3913 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3915 logbl for GLIBC_2_0.
3916 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3918
98a61bcb
L
39192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3920
a4f6e481
L
3921 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3922 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3923
f63d5db6
L
3924 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3925 Use "neg %eax".
3926
98a61bcb
L
3927 * time/mktime.c: Update copyright years.
3928
95770f14
PE
39292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3930
6226efbd
PE
3931 mktime: merge comment-quoting-style change from gnulib
3932 * time/mktime.c: Quote 'like this' in comments.
3933 The GNU coding standards suggest that we no longer quote `like this',
3934 as "`" and "'" are typically rendered asymmetrically nowadays.
3935 The typical gnulib style is to quote 'like this' when quoting
3936 code, and "like this" when quoting English.
3937
b99e4f78
PE
3938 * time/mktime.c (compile-command): Add "-I.".
3939
643e01e6
PE
3940 mktime: merge mktime-internal.h change from gnulib
3941 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3942
2554247d
PE
3943 mktime: merge time_r change from gnulib
3944 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3945
826dd0ab
PE
3946 mktime: merge DEBUG change from gnulib
3947 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3948 case system <time.h> has a #define.
3949
bd83aabe
PE
3950 mktime: merge <sys/types.h> change from gnulib
3951 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3952 since <time.t> is now guaranteed to define time_t.
3953
95770f14
PE
3954 mktime: merge HAVE_CONFIG_H change from gnulib
3955 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3956
5e1a27a9
L
39572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3958
0e44a77e
L
3959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3960 Use "neg %eax".
3961
5e1a27a9
L
3962 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3963 __rlim_t cast.
3964 (struct rusage): Use anonymous union to pad each field to
3965 __syscall_slong_t.
3966
46259bec
DM
39672012-05-21 David S. Miller <davem@davemloft.net>
3968
3969 * Makefules (o-iterator): Remove .s cases.
3970 (compile-command.s): Delete.
3971 (COMPILE.s): Delete.
3972 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3973
59f0c22e
JM
39742012-05-21 Joseph Myers <joseph@codesourcery.com>
3975
3976 * configure.in (libc_cv_predef_stack_protector): Only consider
3977 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3978 * configure: Regenerated.
3979
20c07380
L
39802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3981
bbb3154b
L
3982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3983 New macro. Use R*LP on int and pointer.
3984 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3985 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3986 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3987 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3988
20c07380
L
3989 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3990 [__WORDSIZE_TIME64_COMPAT32] instead of
3991 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3992 (struct utmp): Likewise.
3993 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3994 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3995 Renamed to ...
3996 (__WORDSIZE_TIME64_COMPAT32): This.
3997 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3998 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3999 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4000 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4001 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4002 (__WORDSIZE_TIME64_COMPAT32): New macro.
4003
d8d1017e
AJ
40042012-05-21 Andreas Jaeger <aj@suse.de>
4005
4006 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4007 only if [SHARED]. Add prototype for __wcschr_ia32.
4008
6c7fb145
RM
40092012-05-21 Roland McGrath <roland@hack.frob.com>
4010
4011 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4012 of %rbp unmolested in the jmp_buf while mangling the low bits.
4013 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4014 unmolested high bits of %rbp while demangling the low bits.
4015 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4016
66274218
AJ
40172012-05-21 Andreas Jaeger <aj@suse.de>
4018
07c58f8f
AJ
4019 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4020 * sunrpc/svc_simple.c: Use it for registerrpc.
4021 * sunrpc/xcrypt.c: Use it for passwd2des.
4022
66274218
AJ
4023 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4024
61f65140
L
40252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4026
4027 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4028 Don't define if [__SYSCALL_WORDSIZE != 32].
4029 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4030 New macro.
4031
5fefb436
AJ
40322012-05-21 Bruno Haible <bruno@clisp.org>
4033 Andreas Jaeger <aj@suse.de>
4034
4035 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4036 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4037 inptr and inend for must_buffer_ch.
4038 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4039 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4040 * stdio-common/Makefile (tests): Remove bug15.
4041 (bug15-ENV): Remove macro.
4042 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4043 anymore.
4044
d8e272ab
AJ
40452012-05-19 Andreas Jaeger <aj@suse.de>
4046 Roland McGrath <roland@hack.frob.com>
4047
4048 * manual/contrib.texi: Completely rewritten. It contains now an
4049 alphabetical list of contributors and their contributions.
4050
4a56a162
RH
40512012-05-21 Richard Henderson <rth@twiddle.net>
4052
4053 * misc/getauxval.c (__getauxval): Use unsigned long int.
4054 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4055 (getauxval): Use unsigned long int.
4056
d024d23c
L
40572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4060
cbc00a03
RM
40612012-05-21 Roland McGrath <roland@hack.frob.com>
4062
4063 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4064 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4065 __alignof__ (long double).
4066
478143fa
AZ
40672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4068
4069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4070
c7683a6d
RH
40712012-05-20 Richard Henderson <rth@twiddle.net>
4072
4073 * misc/getauxval.c: New file.
4074 * misc/sys/auxv.h: New file.
4075 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4076 (routines): Add getauxval.
4077 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4078 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4079 * elf/dl-sysdep.c (_dl_auxv): Remove.
4080 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4081 * elf/dl-support.c (_dl_auxv): New variable.
4082 (_dl_aux_init): Initialize it.
4083 * manual/startup.texi (Auxiliary Vector): New node.
4084 * sysdeps/generic/bits/hwcap.h: New file.
4085 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4086 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4087 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4088 * sysdeps/sparc/sysdep.h: ... here. Include it.
4089 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4092 Update.
c7683a6d
RH
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4101
a6f1845d
AZ
41022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4103
4104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4105
cbcbe830
DM
41062012-05-19 David S. Miller <davem@davemloft.net>
4107
4108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4109
e0b16cc2
JM
41102012-05-19 Joseph Myers <joseph@codesourcery.com>
4111
4112 [BZ #14123]
4113 * math/s_ccosh.c: Include <float.h>
4114 (__ccosh): Avoid internal overflow calculating sinh and cosh
4115 values before multiplying by sin and cos values.
4116 * math/s_ccoshf.c: Likewise.
4117 * math/s_ccoshl.c: Likewise.
4118 * math/s_csin.c: Likewise.
4119 * math/s_csinf.c: Likewise.
4120 * math/s_csinl.c: Likewise.
4121 * math/s_csinh.c: Likewise.
4122 * math/s_csinhf.c: Likewise.
4123 * math/s_csinhl.c: Likewise.
4124 * math/libm-test.inc (ccos_test): Add more tests.
4125 (ccosh_test): Likewise.
4126 (csin_test): Likewise.
4127 (csinh_test): Likewise.
4128 * sysdeps/i386/fpu/libm-test-ulps: Update.
4129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4130
6ad13e08
L
41312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4132
f66f0ce8
L
4133 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4134 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4135
6ad13e08
L
4136 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4137
b1d072a7
JM
41382012-05-19 Joseph Myers <joseph@codesourcery.com>
4139
4140 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4141 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4142 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4143 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4144 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4145 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4146 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4147 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4148 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4149 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4150 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4151 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4152 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4153 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4154 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4155 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4156 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4157 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4158 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4159 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4160 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4161 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4162 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4163 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4164 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4165 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4166 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4167 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4168 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4169 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4170 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4171
9eae47cb
AJ
41722012-05-18 Andreas Jaeger <aj@suse.de>
4173
4174 * csu/.gitignore: Delete.
4175
bb07f69f
L
41762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4177
4178 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4179 (timex): Use __syscall_slong_t.
4180
e6bdb741
AJ
41812012-05-18 Andreas Jaeger <aj@suse.de>
4182 Carlos O'Donell <carlos_odonell@mentor.com>
4183
4184 * manual/install.texi (Configuring and compiling): Update
4185 description about files modified in the source directory.
d6c33fda 4186 * INSTALL: Regenerated.
e6bdb741 4187
1b74487e
L
41882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4189
4190 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4191 value. Use "or" to set return value to -1.
4192 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4193 negate return value.
4194
a88b64b9
TMQMF
41952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4196
4197 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4198 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4199 failure if the compiler has Graphite support disabled.
4200 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4201 Likewise.
4202 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4203 CFLAGS-memmove.c): Likewise.
4204 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4205 Likewise.
4206
3707636e
L
42072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4208
610b8622
L
4209 * sysdeps/x86_64/x32/_itoa.h: New file.
4210
7cd195df
L
4211 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4212 getdents system call only if kernel and user dirents have the
4213 same d_ino and d_off.
4214
94b07d20
L
4215 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4216 LLONG_MAX != LONG_MAX.
4217 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4218 (_fitoa_word): Likewise.
4219
18298070
L
4220 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4221 years.
4222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4224 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4225
553c7ea4
L
4226 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4227 include <bits/wordsize.h>. Check __x86_64__ instead of
4228 __WORDSIZE.
4229 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4230 if __x86_64__ is defined. Use anonymous union on fpstate.
4231
3707636e
L
4232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4233 anonymous union.
4234
b53ef01a
AS
42352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4236
37fb1dc0
AS
4237 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4238 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4239 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4240 Refer to _rtld_local_ro instead of _rtld_global_ro.
4241 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4242 Likewise.
4243 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4244 Likewise.
4245 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4246 Likewise.
4247 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4248 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4249 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4250
b53ef01a
AS
4251 * sysdeps/powerpc/powerpc32/dl-machine.c
4252 (__elf_machine_runtime_setup) [PROF]: Don't reference
4253 _dl_prof_resolve.
4254
7a185db2
AJ
42552012-05-18 Andreas Jaeger <aj@suse.de>
4256
4257 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4258 function only available for GCCs before 3.4 since GCC 3.4
4259 introduced a builtin.
4260 (lrint): Likewise.
4261 (llrintf): Likewise.
4262 (llrint): Likewise.
4263 (fmaxf): Likewise.
4264 (fmax): Likewise.
4265 (fminf): Likewise.
4266 (fmin): Likewise.
4267 (rint): Likewise.
4268 (rintf): Likewise.
4269 (nearbyint): Likewise.
4270 (nearbyintf): Likewise.
4271 (ceil): Likewise.
4272 (ceilf): Likewise.
4273 (floor): Likewise.
4274 (floorf): Likewise.
4275
3e5aef87
L
42762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4277
428bd707
L
4278 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4279 on both fields and cast pointer to __syscall_ulong_t.
4280
3e5aef87
L
4281 * bits/types.h (__fsword_t): New type.
4282 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4283 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4285 (__FSWORD_T_TYPE): Likewise.
4286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4287 (__FSWORD_T_TYPE): Likewise.
4288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4289 (__FSWORD_T_TYPE): Likewise.
4290 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4291 (__FSWORD_T_TYPE): Likewise.
4292 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4293 __SWORD_TYPE with __fsword_t.
4294 (statfs64): Likewise.
4295
1ba7c3dc
DM
42962012-05-17 David S. Miller <davem@davemloft.net>
4297
4298 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4299
59910343
AJ
43002012-05-17 Andreas Jaeger <aj@suse.de>
4301
4302 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4303 warning.
4304
2e4c1e9e
L
43052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4306
4307 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4308
de7f5ce7
AJ
43092012-05-17 Andreas Jaeger <aj@suse.de>
4310
4311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4312 when it is used.
4313
286abc3d
CM
43142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4315
4316 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4317
477cc68e
L
43182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4319
4320 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4321 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4322
1a0994f5
CD
43232012-05-17 Andreas Jaeger <aj@suse.de>
4324 Carlos O'Donell <carlos_odonell@mentor.com>
4325
4326 [BZ #14059]
4327 * sysdeps/x86_64/multiarch/init-arch.h
4328 (bit_YMM_Usable): Rename to...
4329 (bit_AVX_Usable): ... this.
4330 (bit_FMA4_Usable): New macro.
4331 (bit_XMM_state): New macro.
4332 (bit_YMM_state): New macro.
4333 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4334 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4335 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4336 (CPUID_OSXSAVE): New macro.
4337 (CPUID_AVX): New macro.
4338 (CPUID_FMA4): New macro.
4339 (index_YMM_Usable): Rename to...
4340 (index_AVX_Usable): ... this.
4341 (HAS_AVX): Use HAS_ARCH_FEATURE.
4342 (HAS_FMA4): Likewise.
4343 (HAS_YMM_USABLE): Remove.
4344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4345 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4346 are present.
4347 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4348 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4349 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4350 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4351 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4352
0af797de
CM
43532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4354
4355 * math/libm-test.c: Support platforms without multiple rounding modes.
4356 * math/bug-nextafter.c: Support platforms without FP exceptions.
4357 * math/bug-nexttoward.c: Likewise.
4358 * math/test-fenv.c: Likewise.
4359 * math/test-misc.c: Likewise.
4360 * stdlib/bug-getcontext.c: Likewise.
4361
e39745ff
AJ
43622012-05-17 Andreas Jaeger <aj@suse.de>
4363
4364 * manual/examples/search.c (critter_cmp): Change signature to
4365 avoid warnings.
4366 * manual/string.texi (Collation Functions): Likewise.
4367
48970aba
L
43682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4369
4370 * bits/types.h: Fold copyright years.
4371 * bits/typesizes.h: Likewise.
4372 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4374 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4376 * time/time.h: Likewise.
4377
bedee953
PP
43782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4379
4380 [BZ #208]
4381 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4382 in instead of returning them. Return void.
4383 (__libc_mallinfo): Accumulate over all arenas.
4384 (__malloc_stats): Adjust for change in int_mallinfo interface.
4385
61653dfb
RM
43862012-05-16 Roland McGrath <roland@hack.frob.com>
4387
30b99d79
RM
4388 [BZ #10375]
4389 * configure.in (NM): Add AC_CHECK_TOOL for it.
4390 (libc_extra_cflags): New substituted variable.
4391 Check for -fstack-protector being used implicitly.
4392 * configure: Regenerated.
4393 * config.make.in (config-extra-cflags): New variable,
4394 gets @libc_extra_cflags@.
4395 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4396
61653dfb
RM
4397 [BZ #10375]
4398 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4399 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4400 * configure: Regenerated.
4401 * config.make.in (CPPUNDEFS): New substituted variable.
4402 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4403 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4404 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4405
661768bb
L
44062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4409 (mq_attr): Use __syscall_slong_t.
4410
d4261567
L
44112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4412
4413 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4414 Check __x86_64__ instead of __WORDSIZE.
4415 (_STAT_VER_LINUX): Likewise.
4416 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4417 __syscall_ulong_t and __syscall_slong_t.
4418 (stat64): Likewise.
4419
cf3ff365
L
44202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4421
4422 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4423
76cf3e4d
L
44242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4425
4426 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4427
a637753a
L
44282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4429
4430 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4431 __syscall_ulong_t.
4432
d5e05119
L
4433 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4434 include <bits/wordsize.h>. Check __x86_64__ instead of
4435 __WORDSIZE.
4436 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4437 defined.
4438 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4439
f62ee380
L
4440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4441 include <bits/wordsize.h>. Check __x86_64__ instead of
4442 __WORDSIZE.
4443 (user_regs_struct): Use "__extension__ unsigned long long"
4444 instead of "unsigned long" if __x86_64__ is defined.
4445 (user): Likewise. Pad after pointer field if __ILP32__ is
4446 defined.
4447
4e124ced
JM
44482012-05-16 Joseph Myers <joseph@codesourcery.com>
4449
6a3951a0
JM
4450 * configure.in (makeinfo): Require version 4.5 or later. Allow
4451 versions 5 to 9.
4452 * configure: Regenerated.
4453 * manual/install.texi (texinfo): Increase version requirement to
4454 4.5 or later.
4455 * INSTALL: Regenerated.
4456
4e124ced
JM
4457 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4458
953ca31a
L
44592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4462
617aca05
L
4463 * sysdeps/x86_64/x32/ffs.c: New file.
4464
5762f7ae
L
4465 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4466 __syscall_ulong_t.
4467 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4468 defined. Use __syscall_ulong_t.
4469 (shminfo): Use __syscall_ulong_t.
4470 (shm_info): Likewise.
4471
a26b6856
L
4472 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4473 __syscall_ulong_t.
4474
cb2b9ef7
L
4475 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4476 <bits/wordsize.h>.
4477 (msgqnum_t): Use __syscall_ulong_t.
4478 (msglen_t): Likewise.
4479 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4480 __syscall_ulong_t.
4481
34683bb0
L
4482 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4483 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4484
84a68786
L
4485 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4486
48baa5f1
L
4487 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4488 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4489
180be88b
L
4490 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4491 __syscall_slong_t.
4492
5e90c8ad
L
4493 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4494 include <bits/wordsize.h>. Check __x86_64__ instead of
4495 __WORDSIZE.
4496
23dfb58b
L
4497 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4498 "unsigned long long int" if __x86_64__ is defined.
4499 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4500
ce5d54b0
L
4501 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4502 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4503 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4504
13dc9eac
L
4505 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4506 <stdint.h>.
4507 (GET_PC): Cast to uintptr_t first.
4508 (GET_FRAME): Likewise.
4509 (GET_STACK): Likewise.
4510
a7895d15
L
4511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4513 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4514 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4515 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4516 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4517 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4518 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4519 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4520 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4521 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4523 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4524 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4525 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4527 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4528 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4529 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4530 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4532 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4533 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4534 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4535 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4537 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4538 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4540
656416c9
AS
45412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4542
5bd66283
AS
4543 * Makerules (+depfiles): Also collect depfiles from .oS in
4544 $(extra-objs).
4545 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4546 .oS, $(libnldbl-routines)).
4547
656416c9
AS
4548 * Makerules (native-compile-mkdep-flags): Define.
4549 * sunrpc/Makefile (extra-objs): Add $(addprefix
4550 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4551 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4552 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4553 calling $(make-target-directory).
4554
a46f2169
L
45552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4556
4557 * bits/types.h (__snseconds_t): Removed.
4558 * time/time.h (struct timespec): Replace __snseconds_t with
4559 __syscall_slong_t.
4560 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4561 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4562 Likewise.
4563 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4564 (__SNSECONDS_T_TYPE): Likewise.
4565 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4566 (__SNSECONDS_T_TYPE): Likewise.
4567 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4568 (__SNSECONDS_T_TYPE): Likewise.
4569
6af6528b
L
45702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4571
4572 * sysdeps/mach/hurd/bits/typesizes.h
4573 (__SYSCALL_SLONG_TYPE): New macro.
4574 (__SYSCALL_ULONG_TYPE): Likewise.
4575
de986b56
L
45762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 * bits/types.h (__syscall_slong_t): New type.
4579 (__syscall_ulong_t): Likewise.
4580
4581 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4582 (__SYSCALL_ULONG_TYPE): Likewise.
4583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4584 (__SYSCALL_SLONG_TYPE): Likewise.
4585 (__SYSCALL_ULONG_TYPE): Likewise.
4586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4587 (__SYSCALL_SLONG_TYPE): Likewise.
4588 (__SYSCALL_ULONG_TYPE): Likewise.
4589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4590 (__SYSCALL_SLONG_TYPE): Likewise.
4591 (__SYSCALL_ULONG_TYPE): Likewise.
4592
85736dc7
L
45932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4594
4595 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4596 Add sigaltstack-offsets.sym.
4597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4598 <sigaltstack-offsets.h>.
4599 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4600 longjmp_msg pointer.
4601 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4602 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4603 signal stack.
4604 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4605
cc03b296
JM
46062012-05-15 Joseph Myers <joseph@codesourcery.com>
4607
a9538892
JM
4608 * elf/stackguard-macros.h: Remove file.
4609 * sysdeps/generic/stackguard-macros.h: New file.
4610 * sysdeps/i386/stackguard-macros.h: Likewise.
4611 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4612 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4613 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4614 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4615 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4616 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4617 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4618 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4619 <elf/stackguard-macros.h>.
4620
cc03b296
JM
4621 [BZ #14109]
4622 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4623 __aligned__ in attribute.
4624 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4625 (gregset_t): Likewise.
4626
93171016
L
46272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4628
4629 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4630 * sysdeps/x86_64/64/Implies-after: Here. New file.
4631 * sysdeps/x86_64/x32/Implies-after: New file.
4632
d86813a0
L
46332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4634
4635 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4636 and access return value for _dl_profile_fixup. Use R10_LP to
4637 load frame size.
4638
2953ec75
L
46392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4642
3b550e9e
L
46432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4644
4645 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4646 * sysdeps/x86_64/x32/sysdep.h: New file.
4647
eda41706
L
46482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4649
4650 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4651 * sysdeps/x86_64/setjmp.S: Likewise.
4652
9ea01d93
AZ
46532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4654
4655 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4656 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4657 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4658 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4659 remove unused global constant.
4660
02a91938
CM
46612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4662
4663 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4664 include of <not-cancel.h>.
4665
6540185f
RM
46662012-05-15 Roland McGrath <roland@hack.frob.com>
4667
4668 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4669
509072a0
AJ
46702012-05-15 Jeff Law <law@redhat.com>
4671 Andreas Jaeger <aj@suse.de>
4672
4673 [BZ #13594]
4674 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4675 out from...
4676 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4677 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4678 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4679 code changing __hst_map_handle.map.
4680
ba75122d
RM
46812012-05-15 Roland McGrath <roland@hack.frob.com>
4682
4683 * configure.in (sysnames): Look for Implies-before and Implies-after
4684 files.
4685 * configure: Regenerated.
4686
890d8bd8
L
46872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4688
4689 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4690 8-byte data alignment with LP_SIZE alignment.
4691
f6ee6623
L
46922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4693
4694 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4695 into R10_LP.
4696
ea2626f6
L
46972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4698
4699 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4700
085f715e
L
47012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4702
4703 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4704 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4706 Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4708
be8498fc
L
47092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4710
4711 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4712 (stackinfo_sub_sp): Likewise.
4713
70bc83b9
L
47142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4715
4716 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4717 RAX_LP.
4718
9bc0b730
L
47192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4720
4721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4722 into R*_LP.
4723
6d2850e7
L
47242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4725
4726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4727 sizes into R*_LP.
4728
3cb84561
L
47292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4730
4731 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4732
54e2ed81
L
47332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4734
4735 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4736 into R11_LP and load __x86_64_shared_cache_size_half into
4737 R8_LP.
4738
8a17f349
L
47392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4740
4741 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4742 R8_LP.
4743
777b1eea
AZ
47442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4745
4746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4747 logb for POWER7.
4748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4749 logbf for POWER7.
4750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4751 logbl for POWER7.
4752 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4753 powerpc32/power7/fpu/s_logb.c via #include.
4754 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4755 powerpc32/power7/fpu/s_logbf.c via #include.
4756 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4757 powerpc32/power7/fpu/s_logbl.c via #include.
4758
d20d4ac2
JM
47592012-05-15 Joseph Myers <joseph@codesourcery.com>
4760
4761 * README.libm: Remove file.
4762
6cdef1ab
L
47632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4766 count for x32. Use R*_LP and omit operand-size suffix.
4767
0b254d8f
L
47682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4771 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4772 * sysdeps/x86_64/x32/shlib-versions: New file.
4773
ceb809dc
RM
47742012-05-14 Roland McGrath <roland@hack.frob.com>
4775
4776 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4777 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4778 Use _dl_fatal_printf instead.
4779
37f1abd4
JM
47802012-05-14 Joseph Myers <joseph@codesourcery.com>
4781
4782 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4783 set if not set by the user. Do not allow for being unset.
4784 * sysdeps/unix/sysv/linux/configure: Regenerated.
4785
11de3a33
L
47862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4787
4788 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4789 the `q' suffix from lea and replace .quad with ASM_ADDR.
4790
e02f153a
L
47912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4792
4793 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4794 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4795 instead of $17.
4796 (PTR_DEMANGLE): Likewise.
4797
520ae0fd
L
47982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4799
4800 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4801 (LP_OP): Likewise.
4802 (ASM_ADDR): Likewise.
4803 (RAX_LP): Likewise.
4804 (RBP_LP): Likewise.
4805 (RBX_LP): Likewise.
4806 (RCX_LP): Likewise.
4807 (RDI_LP): Likewise.
4808 (RSI_LP): Likewise.
4809 (RSP_LP): Likewise.
4810 (R8_LP): Likewise.
4811 (R9_LP): Likewise.
4812 (R10_LP): Likewise.
4813 (R10_LP): Likewise.
4814 (R11_LP): Likewise.
4815 (R12_LP): Likewise.
4816 (R13_LP): Likewise.
4817 (R14_LP): Likewise.
4818 (R15_LP): Likewise.
4819
b985be81
L
48202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4821
4822 * sysdeps/x86_64/x32/dl-machine.h: New file.
4823
6a4888ff
AJ
48242012-05-14 Andreas Jaeger <aj@suse.de>
4825
4826 * manual/Makefile (subdir): Remove export of subdir.
4827 (all): Remove target.
4828 (.PHONY): Remove all from list.
4829 (mkinstalldirs): Remove.
4830 (.PHONY): Remove installdirs from list.
4831 ($(inst_infodir)/libc.info): Use make-target-directory.
4832 (installdirs): Remove.
4833 (subdir_%): Remove.
4834 (glibc-targets): Remove.
4835 (lib): Remove.
4836 (stubs): Remove.
4837 ($(objpfx)stubs ../po/manual.pot): Remove.
4838 ($(objpfx)stamp%): Remove.
4839 (make-target-directory): Remove.
4840 (subdir_install): Remove.
4841 (routines): Remove.
4842 (aux): Remove.
4843 (sources): Remove.
4844 (objects): Remove.
4845 (headers): Remove.
4846
4847 [BZ #13750]
4848 * manual/.gitignore: Remove, it's not needed anymore.
4849 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4850 all files in it.
4851 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4852 directory.
4853 (texis): Renamed to $(objpfx)texis.
4854 (texis-path): New, contains path to generated files.
4855 (chapters.%): Use texis-path for complete path, add extra argument
4856 libc-texinfo.sh.
4857 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4858 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4859 (summary,texi, stamp-summary): Use complete path of
4860 files. Generate files in build dir.
4861 (dir-add.texi): Build in build dir.
4862 (libm-err.texi,stamp-libm-err): Likewise.
4863 (version.texi, stamp-version): Likewise.
4864 (.%c.texi): Likewise.
4865 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4866 (mostlyclean): Remove target.
4867 (realclean): Remove target.
4868 (generated): Add new variable with contents from mostlyclean and
4869 realclean, remove entries duplicated in common-mostlyclean, add
4870 stamp-libm-err and stamp-version.
4871 (generated-dirs): Add libc directory.
4872 ($(inst_infodir)/libc.info): Install files from build dir.
4873
4874 * manual/install.texi (Configuring and compiling): Adjust since
4875 the info files are not part of the tar ball anymore.
4876
7ac77294
AJ
48772012-05-14 Andreas Jaeger <aj@suse.de>
4878
4879 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4880 variable.
4881
ffb7875d
JM
48822012-05-14 Joseph Myers <joseph@codesourcery.com>
4883
4884 [BZ #13717]
4885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4886 to 2.2.0 where earlier.
4887 * sysdeps/unix/sysv/linux/configure: Regenerated.
4888 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4889 Remove conditional code.
4890 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4891 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4892 Remove conditional code.
4893 [!__NR_lchown]: Likewise.
4894 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4895 [__NR_lchown]: Likewise.
4896 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4897 comment referencing __ASSUME_LCHOWN_SYSCALL.
4898 * sysdeps/unix/sysv/linux/i386/sigaction.c
4899 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4900 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4901 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4902 Remove conditional code.
4903 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4904 (__protocol_available): Remove #if 0 code.
4905 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4906 conditional code.
4907 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4908 * sysdeps/unix/sysv/linux/kernel-features.h
4909 (__ASSUME_GETCWD_SYSCALL): Don't define.
4910 (__ASSUME_REALTIME_SIGNALS): Likewise.
4911 (__ASSUME_PREAD_SYSCALL): Likewise.
4912 (__ASSUME_PWRITE_SYSCALL): Likewise.
4913 (__ASSUME_POLL_SYSCALL): Likewise.
4914 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4915 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4916 non-SPARC.
4917 (__ASSUME_SIOCGIFNAME): Don't define.
4918 (__ASSUME_MSG_NOSIGNAL): Likewise.
4919 (__ASSUME_SENDFILE): Define unconditionally.
4920 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4921 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4922 conditional code.
4923 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4924 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4925 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4926 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4927 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4928 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4929 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4931 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4932 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4934 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4935 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4937 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4940 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4943 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4946 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4949 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4954 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4955 Remove conditional code.
4956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4957 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4958 Remove conditional code.
4959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4960 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4961 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4962 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4963 Remove conditional code.
4964 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4965 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4966 Remove conditional code.
4967 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4968 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4969 Remove conditional code.
4970 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4971 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4972 Remove conditional code.
4973 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4974 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4975 Remove conditional code.
4976 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4977 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4978 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4979 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4980 * sysdeps/unix/sysv/linux/sigaction.c
4981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4983 * sysdeps/unix/sysv/linux/sigpending.c
4984 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4985 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4986 * sysdeps/unix/sysv/linux/sigprocmask.c
4987 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4988 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4989 * sysdeps/unix/sysv/linux/sigsuspend.c
4990 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4991 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4992 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4993 (__libc_missing_rt_sigs): Remove.
4994 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4995 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4996 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4997 Remove conditional code.
4998 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4999 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5000 return 1.
5001 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5002 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5003 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5004 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5005
1bfb7291
AJ
50062012-05-14 Andreas Jaeger <aj@suse.de>
5007
caae5a81
AJ
5008 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5009 it's not used in glibc.
5010 (__coshm1): Likewise.
5011 (__acosh1p): Likewise.
5012 (__sgn): Likewise.
5013
1bfb7291
AJ
5014 * manual/string.texi (Copying and Concatenation): Add missing
5015 variable in concat example.
5016 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5017
c044d724
L
50182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5019
144c5467 5020 [BZ #14103]
c044d724
L
5021 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5022 __builtin_clzl with __builtin_clzll.
5023
2523c62b
L
50242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5025
5026 [BZ #14104]
5027 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5028 libc_freeres_ptr.
5029
d7bb4c42
LD
50302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5031
5032 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5033 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5034 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5035 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5036
9dc4e1fb
MF
50372012-05-14 Mike Frysinger <vapier@gentoo.org>
5038
5039 * NEWS: Update ia64 info.
5040
c7df0112
AS
50412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5042
5043 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5044 used as bcopy.
5045
dc70356c
TS
50462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5047
5048 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5049 * sysdeps/unix/syscalls.list (dup3): Likewise.
5050 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5051 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5052
9fb1a21f
L
50532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5054
5055 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5056 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5057
4822a2a5
L
50582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5059
5060 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5061 thread pointer.
5062 (TLS_IE): Use mov/add instead of movq/addq to load thread
5063 pointer.
5064 (TLS_GD_PREFIX): New.
5065 (TLS_GD): Use it.
5066
842b81d6
DM
50672012-05-11 David S. Miller <davem@davemloft.net>
5068
5069 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5070 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5071 (_FPU_SETCW): Likewise.
5072
1cf463cd
L
50732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5074
5075 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5076 is 32-byte aligned.
5077
60cc4a18
AS
50782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5079
5080 [BZ #11837]
5081 * iconvdata/gb18030.c: Update tables.
5082 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5083 characters specially.
5084 (BODY for TO_LOOP): Add encoding of missing ranges.
5085
febb44a4
TS
50862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5087
5088 [BZ #13673]
5089 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5090 * sysdeps/mach/hurd/dup3.c: Likewise.
5091 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5092 * sysdeps/powerpc/memmove.c:: Likewise.
5093
0a10fb9e
L
50942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5095
5096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5097 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5098
df8a552f
L
50992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 * elf/elf.h (R_X86_64_RELATIVE64): New.
5102 (R_X86_64_NUM): Updated.
5103 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5104 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5105 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5106 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5107 tst-quad1pie tst-quad2pie
5108 (modules-names): Add tst-quadmod1 tst-quadmod2.
5109 ($(objpfx)tst-quad1): New dependency.
5110 ($(objpfx)tst-quad2): Likewise.
5111 ($(objpfx)tst-quad1pie): Likewise.
5112 ($(objpfx)tst-quad2pie): Likewise.
5113 * sysdeps/x86_64/tst-quad1.c: New file.
5114 * sysdeps/x86_64/tst-quad1pie.c: New file.
5115 * sysdeps/x86_64/tst-quad2.c: Likewise.
5116 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5117 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5118 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5119 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5120 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5121
f34d6f84
ST
51222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5123
f42d41d1
ST
5124 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5125 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5126 * streams/stropts.h (t_scalar_t): Define type.
5127
3c3571fc
ST
5128 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5129 (_PATH_PRESERVE): Set to "/var/lib".
5130 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5131
61f06bd3
ST
5132 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5133 instead of int.
5134
918d4d71
ST
5135 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5136 if __dir_mkfile succeeded.
5137
f34d6f84
ST
5138 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5139 checking for _hurd_dtablesize. Unlock it right after having
5140 finished _hurd_dtable allocation.
5141
10589b4a
TS
51422012-05-10 Thomas Schwinge <thomas@schwinge.name>
5143
674cdbc7
TS
5144 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5145 * sysdeps/mach/hurd/configure: Regenerated.
5146 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5147 special-casing to...
5148 * sysdeps/gnu/configure.in: ... this new file.
5149 * sysdeps/unix/sysv/linux/configure: Regenerated.
5150 * sysdeps/gnu/configure: New generated file.
5151
8e41b99f
TS
5152 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5153 for Linux: use nsec instead of usec, as well as:
5154 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5155 members of type struct timespec.
5156 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5157 New macros.
5158 (struct stat64): Likewise.
5159 (_STATBUF_ST_NSEC): New macro.
5160 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5161
10589b4a
TS
5162 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5163 __strtoul_internal rather than strtoul.
5164
63643c85
PT
51652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5166
5167 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5168 and reject them.
5169
3faebe6a
ST
51702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5171
5172 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5173 which preserves existing values.
5174 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5175
c6474b07
PT
51762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5177
5178 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5179 TIMEOUT values. Return EINVAL for NFDS values either negative or
5180 greater than FD_SETSIZE.
5181
1043890b
ST
51822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5183
5184 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5185 allocated, call __vm_protect to finish enabling the existing space, and
5186 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5187 allocate the remainder.
5188
37ed8b9b
PT
51892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5190
5191 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5192 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5193
db653660
ST
51942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5195
37ed8b9b
PT
5196 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5197 sysdeps/mach/hurd/readlink.c.
b29d4053 5198
db653660
ST
5199 * posix/tst-sysconf.c (posix_options): Only use
5200 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5201 _POSIX_SYNCHRONIZED_IO when they are defined
5202 * sysdeps/mach/hurd/bits/posix_opt.h:
5203 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5204 (_XOPEN_REALTIME): Undefine macro.
5205 (_XOPEN_REALTIME_THREADS): Undefine macro.
5206 (_XOPEN_SHM): Undefine macro.
5207 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5208 macro to -1.
5209 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5210 macro to -1.
5211 (_POSIX_ASYNC_IO): Undefine macro.
5212 (_POSIX_PRIORITIZED_IO): Undefine macro.
5213 (_POSIX_SPIN_LOCKS): Define macro to -1.
5214
ee16e894
ST
5215 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5216 SA_NODEFER, SA_RESETHAND.
5217 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5218 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5219 F_DUPFD_CLOEXEC.
5220
6103ae3b
TS
52212012-05-10 Thomas Schwinge <thomas@schwinge.name>
5222
5223 * elf/Makefile (pldd-modules): Define unconditionally.
5224
80b4e5f3
TS
52252012-05-10 Thomas Schwinge <thomas@schwinge.name>
5226
5227 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5228
edadcbd6
ST
52292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5230
5231 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5232 Return ENOENT when name is empty.
5233 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5234
80694780
TS
52352012-05-10 Thomas Schwinge <thomas@schwinge.name>
5236
1792c087
TS
5237 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5238
80694780
TS
5239 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5240
6b645f0d
ST
52412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5242
80694780
TS
5243 Fix mlock in all cases except non-readable pages.
5244 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5245 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5246
6b645f0d
ST
5247 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5248 (__mkdir): When path is `/', just fail with EEXIST.
5249 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5250
e468f8a3
TS
52512012-05-10 Thomas Schwinge <thomas@schwinge.name>
5252
5253 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5254 <sys/uio.h> (for writev).
5255 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5256 and <sys/param.h> (for MIN).
5257
a4186cff
PT
52582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5259
5260 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5261 REQUESTED_TIME. Properly set the remaining time and return EINTR
5262 if interrupted.
5263
510bbf14
TS
52642012-05-10 Thomas Schwinge <thomas@schwinge.name>
5265
5266 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5267 Depend on against $(link-rpcuserlibs).
5268
5d5722e8
ST
52692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5270
a4186cff
PT
5271 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5272 (__libc_stack_end): Do not use attribute_relro.
5273 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5274 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5275 to libthread-provided value.
a4186cff
PT
5276 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5277 attribute_relro.
5d5722e8 5278
37233df9
TS
52792012-05-10 Thomas Schwinge <thomas@schwinge.name>
5280
be971a2b
TS
5281 [BZ #3748]
5282 * bits/libc-lock.h (__libc_once_get): New macro.
5283 * sysdeps/mach/bits/libc-lock.h: Likewise.
5284 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5286 instead of using implementation details.
5287
37233df9
TS
5288 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5289 * libio/freopen.c: Likewise.
5290 * libio/freopen64.c: Likewise.
5291 * misc/syslog.c: Likewise.
5292 * nscd/connections.c: Likewise.
5293 * nscd/netgroupcache.c: Likewise.
5294 * sysdeps/posix/getcwd.c: Likewise.
5295
38de94a5
RM
52962012-05-10 Roland McGrath <roland@hack.frob.com>
5297
5298 * math/w_ilogbf.c: Add #include <limits.h>.
5299
67530489
ST
53002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5301
a4186cff 5302 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5303 path instead of returning without unlocking.
5304
67530489
ST
5305 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5306 immediate-write ioctls.
5307 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5308
5aa3a74a
TS
53092012-05-10 Thomas Schwinge <thomas@schwinge.name>
5310
18bad2ae
TS
5311 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5312 __builtin_frame_address instead of making assumptions about the
5313 location of the return address relative to DATA. Force early load of
5314 the return address.
5315 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5316 __builtin_frame_address.
5317
5aa3a74a
TS
5318 dup3 for GNU Hurd.
5319 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5320 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5321 implement dup3 and do some further code clean-ups.
5322 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5323 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5324
ecd0de9a
ST
53252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5326
cd9fa985
ST
5327 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5328
a4186cff
PT
5329 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5330 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5331 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5332 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5333 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5334 d->port.lock.
802ca5a5 5335
a4186cff
PT
5336 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5337 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5338 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5339
bcf55240
TS
53402012-05-10 Thomas Schwinge <thomas@schwinge.name>
5341
6960eb42
TS
5342 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5343 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5344 definitions.
5345
eb43375f
TS
5346 accept4 for GNU Hurd.
5347 * include/sys/socket.h (__libc_accept4): New prototype.
5348 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5349 to implement __libc_accept4.
5350 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5351 __libc_accept4.
5352 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5353
bcf55240
TS
5354 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5355 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5356 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5357 signal-defines.sym.
5358
6178c55b
ST
53592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5360
a4186cff 5361 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5362
6f080c2f
TS
53632012-05-10 Thomas Schwinge <thomas@schwinge.name>
5364
5365 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5366 assertion on O_CLOEXEC flag.
5367 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5368 * hurd/intern-fd.c: Likewise.
5369 * hurd/port2fd.c: Likewise.
5370
bcfe3a54
ST
53712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5372
5373 [BZ #3906]
5374 * bits/in.h (IPV6_PKTINFO): Define new macro.
5375 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5376
89c9aa49
AZ
53772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5378
5379 [BZ #13954]
5380 [BZ #13955]
5381 [BZ #13956]
5382 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5384 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5385 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5387 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5388 * math/libm-test.inc (logb_test) : Additional logb tests.
5389
021db4be
AJ
53902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5391 Andreas Jaeger <aj@suse.de>
5392
5393 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5394 * configure: Regenerated.
5395 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5396 * config.make.in (link-obsolete-rpc): New substituted variable.
5397 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5398 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5399 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5400 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5401 so that libc.a contains the symbols.
5402 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5403 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5404 * sunrpc/auth_none.c: Likewise.
5405 * sunrpc/auth_unix.c: Likewise.
5406 * sunrpc/authdes_prot.c: Likewise.
5407 * sunrpc/authuxprot.c: Likewise.
5408 * sunrpc/clnt_gen.c: Likewise.
5409 * sunrpc/clnt_perr.c: Likewise.
5410 * sunrpc/clnt_raw.c: Likewise.
5411 * sunrpc/clnt_simp.c: Likewise.
5412 * sunrpc/clnt_tcp.c: Likewise.
5413 * sunrpc/clnt_udp.c: Likewise.
5414 * sunrpc/clnt_unix.c: Likewise.
5415 * sunrpc/des_crypt.c: Likewise.
5416 * sunrpc/des_soft.c: Likewise.
5417 * sunrpc/get_myaddr.c: Likewise.
5418 * sunrpc/key_call.c: Likewise.
5419 * sunrpc/key_prot.c: Likewise.
5420 * sunrpc/netname.c: Likewise.
5421 * sunrpc/pm_getmaps.c: Likewise.
5422 * sunrpc/pm_getport.c: Likewise.
5423 * sunrpc/pmap_clnt.c: Likewise.
5424 * sunrpc/pmap_prot.c: Likewise.
5425 * sunrpc/pmap_prot2.c: Likewise.
5426 * sunrpc/pmap_rmt.c: Likewise.
5427 * sunrpc/publickey.c: Likewise.
5428 * sunrpc/rpc_cmsg.c: Likewise.
5429 * sunrpc/rpc_common.c: Likewise.
5430 * sunrpc/rpc_dtable.c: Likewise.
5431 * sunrpc/rpc_prot.c: Likewise.
5432 * sunrpc/rpc_thread.c: Likewise.
5433 * sunrpc/rtime.c: Likewise.
5434 * sunrpc/svc.c: Likewise.
5435 * sunrpc/svc_auth.c: Likewise.
5436 * sunrpc/svc_raw.c: Likewise.
5437 * sunrpc/svc_run.c: Likewise.
5438 * sunrpc/svc_tcp.c: Likewise.
5439 * sunrpc/svc_udp.c: Likewise.
5440 * sunrpc/svc_unix.c: Likewise.
5441 * sunrpc/svcauth_des.c: Likewise.
5442 * sunrpc/xcrypt.c: Likewise.
5443 * sunrpc/xdr.c: Likewise.
5444 * sunrpc/xdr_array.c: Likewise.
5445 * sunrpc/xdr_float.c: Likewise.
5446 * sunrpc/xdr_intXX_t.c: Likewise.
5447 * sunrpc/xdr_mem.c: Likewise.
5448 * sunrpc/xdr_rec.c: Likewise.
5449 * sunrpc/xdr_ref.c: Likewise.
5450 * sunrpc/xdr_sizeof.c: Likewise.
5451 * sunrpc/xdr_stdio.c: Likewise.
5452
b5c086a2
RM
54532012-05-10 Roland McGrath <roland@hack.frob.com>
5454
5455 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5456 change. Update copyright years.
5457
6d74dd09
JM
54582012-05-10 Joseph Myers <joseph@codesourcery.com>
5459
5460 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5461
28e72501
MK
54622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5463 Joseph Myers <joseph@codesourcery.com>
5464 Paul Pluzhnikov <ppluzhnikov@google.com>
5465
5466 [BZ #14012]
5467 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5468 requiring rpcgen.
5469 [cross-compiling] (extra-libs): Likewise.
5470 [cross-compiling] (extra-libs-others): Likewise.
5471 [cross-compiling] (librpcsvc-routines): Likewise.
5472 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5473 [cross-compiling] (omit-deps): Likewise.
5474 (sunrpc-CPPFLAGS): New variable.
5475 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5476 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5477 (cross-rpcgen-objs): New variable.
5478 (extra-objs): Append $(cross-rpcgen-objs).
5479 ($(cross-rpcgen-objs)): New rule.
5480 ($(objpfx)cross-rpcgen): Likewise.
5481 (rpcgen-cmd): Define to use $(built-program-file). Expand
5482 comment.
5483 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5484 ($(objpfx)x%.stmp): Likewise.
5485 * sunrpc/proto.h [IS_IN_build] (_): Define.
5486 [IS_IN_build] (_libc_intl_domainname): Likewise.
5487
c8c59454
L
54882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5489
5490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5491 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5492 and R_X86_64_TPOFF64.
5493
6f27cd16
JM
54942012-05-10 Joseph Myers <joseph@codesourcery.com>
5495
5496 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5497 sysdeps/unix/sysv/syscalls.list.
5498 (stime): Likewise.
5499 (utime): Likewise.
5500 * sysdeps/unix/sysv/syscalls.list: Remove file.
5501
02467e1c
PE
55022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5503
5504 [BZ #3440]
5505 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5506 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5507 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5508 (__LC_IDENTIFICATION): Make these macros useful in #if
5509 expressions, as required by C99.
5510
da392631
AS
55112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5512
5513 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5514 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5515 after this.
5516
8115f29b
L
55172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5518
5519 * stdlib/longlong.h: Updated from GCC.
5520
bdd74070
AJ
55212012-05-09 Andreas Jaeger <aj@suse.de>
5522
edfe0dbe
AJ
5523 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5524 default is first entry.
5525 (run_mode): Set type.
5526 (main): Remove informal message about syslog.
5527 (options): Fix typo.
5528
bcfe3a54
ST
5529 [BZ #14053]
5530 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5531 to asm.
bcfe3a54
ST
5532 (lrint): Likewise.
5533 (llrintf): Likewise.
5534 (llrint): Likewise.
5535 (rint): Likewise.
5536 (rintf): Likewise.
5537 (nearbyint): Likewise.
5538 (nearbyintf): Likewise.
bdd74070 5539
91d8d69e
AJ
55402012-05-09 Andreas Jaeger <aj@suse.de>
5541 Pedro Alves <palves@redhat.com>
5542
5543 * nscd/nscd.c (run_mode): Use enum.
5544 (main): Cleanup coding style issue.
5545
bb90b80b
AJ
55462012-05-09 Alexandre Oliva <aoliva@redhat.com>
5547 Andreas Jaeger <aj@suse.de>
5548
bcfe3a54
ST
5549 * nscd/nscd.c (go_background): Replaced with...
5550 (run_mode): ... this.
bb90b80b 5551 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5552 (options): Add -F --foreground.
5553 (main): Implement it.
5554 (parse_opt): Parse it.
bb90b80b 5555
1a4b75a1
AJ
55562012-05-09 Andreas Jaeger <aj@suse.de>
5557
5558 [BZ #14083]
5559 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5560 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5561 -Wconversion warning.
5562 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5563 Likewise.
5564
b1cc2472
JM
55652012-05-09 Joseph Myers <joseph@codesourcery.com>
5566
5567 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5568 == 0.
5569 (LC_ALL): Use macro-int-constant.
5570 (LC_COLLATE): Likewise.
5571 (LC_CTYPE): Likewise.
5572 (LC_MESSAGES): Likewise.
5573 (LC_MONETARY): Likewise.
5574 (LC_NUMERIC): Likewise.
5575 (LC_TIME): Likewise.
5576 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5577 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5579 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5580 Specify type.
5581 [C99-based standards] (float_t): Expect type.
5582 [C99-based standards] (double_t): Expect type.
5583 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5584 type.
5585 [C99-based standards] (HUGE_VALL): Likewise.
5586 [C99-based standards] (INFINITY): Likewise.
5587 [C99-based standards] (NAN): Likewise.
5588 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5589 [C99-based standards] (FP_NAN): Likewise.
5590 [C99-based standards] (FP_NORMAL): Likewise.
5591 [C99-based standards] (FP_SUBNORMAL): Likewise.
5592 [C99-based standards] (FP_ZERO): Likewise.
5593 [C99-based standards] (FP_FAST_FMA): Use
5594 optional-macro-int-constant. Specify type. Require == 1.
5595 [C99-based standards] (FP_FAST_FMAF): Likewise.
5596 [C99-based standards] (FP_FAST_FMAL): Likewise.
5597 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5598 [C99-based standards] (FP_ILOGBNAN): Likewise.
5599 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5600 Specify type.
5601 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5602 [C99-based standards] (math_errhandling): Specify type.
5603 [ISO99 || ISO11] (signgam): Do not allow.
5604 [non-C99-based standards] (copysignf): Do not allow.
5605 [non-C99-based standards] (exp2f): Likewise.
5606 [non-C99-based standards] (log2f): Likewise.
5607 [non-C99-based standards] (modff): Allow.
5608 [non-C99-based standards] (erff): Do not allow.
5609 [non-C99-based standards] (erfcf): Likewise.
5610 [non-C99-based standards] (gammaf): Likewise.
5611 [non-C99-based standards] (hypotf): Likewise.
5612 [non-C99-based standards] (j0f): Likewise.
5613 [non-C99-based standards] (j1f): Likewise.
5614 [non-C99-based standards] (jnf): Likewise.
5615 [non-C99-based standards] (lgammaf): Likewise.
5616 [non-C99-based standards] (tgammaf): Likewise.
5617 [non-C99-based standards] (y0f): Likewise.
5618 [non-C99-based standards] (y1f): Likewise.
5619 [non-C99-based standards] (ynf): Likewise.
5620 [non-C99-based standards] (isnanf): Likewise.
5621 [non-C99-based standards] (acoshf): Likewise.
5622 [non-C99-based standards] (asinhf): Likewise.
5623 [non-C99-based standards] (atanhf): Likewise.
5624 [non-C99-based standards] (cbrtf): Likewise.
5625 [non-C99-based standards] (expm1f): Likewise.
5626 [non-C99-based standards] (ilogbf): Likewise.
5627 [non-C99-based standards] (log1pf): Likewise.
5628 [non-C99-based standards] (logbf): Likewise.
5629 [non-C99-based standards] (nextafterf): Likewise.
5630 [non-C99-based standards] (remainderf): Likewise.
5631 [non-C99-based standards] (rintf): Likewise.
5632 [non-C99-based standards] (scalbf): Likewise.
5633 [non-C99-based standards] (copysignl): Likewise.
5634 [non-C99-based standards] (exp2l): Likewise.
5635 [non-C99-based standards] (log2l): Likewise.
5636 [non-C99-based standards] (modfl): Allow.
5637 [non-C99-based standards] (erfl): Do not allow.
5638 [non-C99-based standards] (erfcl): Likewise.
5639 [non-C99-based standards] (gammal): Likewise.
5640 [non-C99-based standards] (hypotl): Likewise.
5641 [non-C99-based standards] (j0l): Likewise.
5642 [non-C99-based standards] (j1l): Likewise.
5643 [non-C99-based standards] (jnl): Likewise.
5644 [non-C99-based standards] (lgammal): Likewise.
5645 [non-C99-based standards] (tgammal): Likewise.
5646 [non-C99-based standards] (y0l): Likewise.
5647 [non-C99-based standards] (y1l): Likewise.
5648 [non-C99-based standards] (ynl): Likewise.
5649 [non-C99-based standards] (isnanl): Likewise.
5650 [non-C99-based standards] (acoshl): Likewise.
5651 [non-C99-based standards] (asinhl): Likewise.
5652 [non-C99-based standards] (atanhl): Likewise.
5653 [non-C99-based standards] (cbrtl): Likewise.
5654 [non-C99-based standards] (expm1l): Likewise.
5655 [non-C99-based standards] (ilogbl): Likewise.
5656 [non-C99-based standards] (log1pl): Likewise.
5657 [non-C99-based standards] (logbl): Likewise.
5658 [non-C99-based standards] (nextafterl): Likewise.
5659 [non-C99-based standards] (remainderl): Likewise.
5660 [non-C99-based standards] (rintl): Likewise.
5661 [non-C99-based standards] (scalbl): Likewise.
5662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5663 [non-C99-based standards] (FP_*): Do not allow.
5664 [C99-based standards] (FP_*): Change to
5665 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5666 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5667 allow.
5668 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5669 (SIG_ERR): Likewise.
5670 [X/Open-based standards] (SIG_HOLD): Likewise.
5671 (SIG_IGN): Likewise.
5672 (SIGABRT): Use macro-int-constant. Specify type. Require
5673 positive value.
5674 (SIGFPE): Likewise.
5675 (SIGILL): Likewise.
5676 (SIGINT): Likewise.
5677 (SIGSEGV): Likewise.
5678 (SIGTER): Likewise.
5679 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5680 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5681 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5682 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5683 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5684 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5685 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5686 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5697 [X/Open-based standards] (SIGTRAP): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5702 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5703 allow.
5704
b9f1922d
IW
57052012-05-08 Ian Wienand <ianw@vmware.com>
5706
5707 [BZ #14080]
5708 * time/tzset.c (__tzset_parse_tz): Update default rules for
5709 daylight time changes in the Energy Policy Act of 2005.
5710
1db86e88
AJ
57112012-05-09 Andreas Jaeger <aj@suse.de>
5712
5713 [BZ #13983]
5714 * elf/ldconfig.c (parse_conf): Change string to make clear that
5715 ldconfig only issued a warning if ld.so.conf does not exist.
5716
dee4a4e3
DM
57172012-05-08 David S. Miller <davem@davemloft.net>
5718
ee0db190
DM
5719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5720 movxtod instead of popping the value on the stack.
5721
dee4a4e3
DM
5722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5723
6a43ec98
CD
57242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5725
5726 * config.h.in: Add HAVE_ARM_PCS_VFP.
5727
05c2c961
RMG
57282012-05-08 Roland Mc Grath <roland@hack.frob.com>
5729
bcfe3a54
ST
5730 [BZ #13979]
5731 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5732 checking but the checks are disabled for any reason.
05c2c961 5733
4b30f61a
L
57342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5737 and ELF64_R_TYPE with ELFW(R_TYPE).
5738
eee2bc67
JM
57392012-05-08 Joseph Myers <joseph@codesourcery.com>
5740
7ea5391a
JM
5741 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5742 (ulimit): Likewise.
5743
eee2bc67
JM
5744 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5745 (settimeofday): Likewise.
5746
abb66a67
MF
57472012-05-08 Mike Frysinger <vapier@gentoo.org>
5748
5749 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5750 a struct th_u2 inside the union, and move tu_block/tu_code into
5751 a new th_u3 union of tu_block/tu_code inside of that. Move
5752 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5753 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5754 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5755 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5756 (th_stuff): Change to th_u1.tu_stuff.
5757 (th_data): Define.
5758 (th_msg): Change to th_u1.th_u2.tu_data.
5759
7f18b530
DM
57602012-05-07 David S. Miller <davem@davemloft.net>
5761
05760585
DM
5762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5763
7f18b530
DM
5764 [BZ #14074]
5765 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5766 (SETUP_PIC_REG): Use it.
5767 (SETUP_PIC_REG_LEAF): Use it.
5768
495fd99f
JM
57692012-05-07 Joseph Myers <joseph@codesourcery.com>
5770
5771 [BZ #13885]
5772 [BZ #13923]
5773 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5774 USE_AS_EXPM1L.
5775 (EXPL_FINITE): Likewise.
5776 (FLDLOG): Likewise.
5777 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5778 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5779 e_expl.S.
5780 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5781 USE_AS_EXPM1L.
5782 (EXPL_FINITE): Likewise.
5783 (FLDLOG): Likewise.
5784 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5785 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5786 e_expl.S.
5787 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5788 test of -max_value argument for long double.
5789 * sysdeps/i386/fpu/libm-test-ulps: Update.
5790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5791
6693d694
DM
57922012-05-06 David S. Miller <davem@davemloft.net>
5793
5794 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5795 quad soft-float symbols whose references which are compiler
5796 generated.
5797 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5798
6c23e11c
JM
57992012-05-06 Joseph Myers <joseph@codesourcery.com>
5800
d8b82cad
JM
5801 [BZ #13884]
5802 [BZ #13914]
5803 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5804 USE_AS_EXP10L.
5805 (EXPL_FINITE): Likewise.
5806 (FLDLOG): Likewise.
5807 (c0): Likewise.
5808 (c1): Likewise.
5809 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5810 Adjust comments for base varying.
5811 (__expl_finite): Change alias to EXPL_FINITE.
5812 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5813 e_expl.S.
5814 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5815 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5817 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5818 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5819 USE_AS_EXP10L.
5820 (EXPL_FINITE): Likewise.
5821 (FLDLOG): Likewise.
5822 (c0): Likewise.
5823 (c1): Likewise.
5824 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5825 Adjust comments for base varying.
5826 (__expl_finite): Change alias to EXPL_FINITE.
5827 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5828 tests for bugs.
5829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5830
6c23e11c
JM
5831 [BZ #14064]
5832 * math/libm-test.inc (check_float_internal): Correct ulp
5833 calculation for subnormal expected results.
5834
29ba805c
AJ
58352012-05-06 Andreas Jaeger <aj@suse.de>
5836
5837 * Makeconfig (+math-flags): New, set to -frounding-math.
5838 (+cflags): Add +math-flags so that all of glibc gets compiled with
5839 it.
5840
5841 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5842
7b17aeda
JM
58432012-05-05 Joseph Myers <joseph@codesourcery.com>
5844
5779f134
JM
5845 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5846 Disable one test.
5847
41498f4d
JM
5848 [BZ #13787]
5849 [BZ #13922]
5850 [BZ #14036]
5851 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5852 (__ieee754_expl): Allow for and saturate large arguments.
5853 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5854 (u_threshold): Likewise.
5855 (__exp): Call __ieee754_exp before checking for overflow and
5856 underflow.
5857 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5858 (u_threshold): Likewise.
5859 (__expf): Call __ieee754_expf before checking for overflow and
5860 underflow.
5861 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5862 (u_threshold): Likewise.
5863 (__expl): Call __ieee754_expl before checking for overflow and
5864 underflow.
5865 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5866 (__ieee754_expl): Allow for and saturate large arguments.
5867 * math/libm-test.inc (exp_test): Add another test. Do not allow
5868 missing overflow exception on overflow.
5869 (expm1_test): Do not allow missing overflow exception on overflow.
5870
6698b8bf
JM
5871 * sysdeps/i386/fpu/e_expl.c: Move to ...
5872 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5873 rather than using inline asm.
5874 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5875 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5876 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5877
7b17aeda
JM
5878 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5879 (nice): Likewise.
5880 (poll): Likewise.
5881 (signal): Likewise.
5882 (time): Likewise.
5883 (times): Likewise.
5884
f7c85819
JM
58852012-05-04 Joseph Myers <joseph@codesourcery.com>
5886
5887 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5888 sysdeps/unix/common/syscalls.list.
5889 (fchmod): Likewise.
5890 (fchown): Likewise.
5891 (ftruncate): Likewise.
5892 (getrusage): Likewise.
5893 (gettimeofday): Likewise.
5894 (setpgid): Likewise.
5895 (setregid): Likewise.
5896 (setreuid): Likewise.
5897 (sigaction): Likewise.
5898 (truncate): Likewise.
5899 (vhangup): Likewise.
5900 * sysdeps/unix/common/syscalls.list: Remove file.
5901 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5902 * sysdeps/unix/sysv/linux/Implies: Likewise.
5903
336270d0
L
59042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5905
5906 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5908 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5909 Moved to ...
5910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5911 Here.
5912 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5913 to ...
5914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5915 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5916 to ...
5917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5918 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5919 to ...
5920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5921 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5922 to ...
5923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5924 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5925 to ...
5926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5927 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5928 to ...
5929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5930 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5931 to ...
5932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5933 Here.
5934 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5935 to ...
5936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5937 Here.
5938 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5939 to ...
5940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5941 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5942 Moved to ...
5943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5944 Here.
5945 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5946 to ...
5947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5948
d128e450
JM
59492012-05-04 Joseph Myers <joseph@codesourcery.com>
5950
fa8ee516
JM
5951 * sysdeps/unix/common/bits/dirent.h: Remove file.
5952 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5953
d128e450
JM
5954 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5955 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5956 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5957 * sysdeps/unix/bsd/isatty.c: Likewise.
5958 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5959 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5960 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5961
ff8faaf0 59622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5963
62881be4 5964 [BZ #13563]
31dc8730
AZ
5965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5966 long double comparison inaccuracies.
5967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5969
6fef930c
AS
59702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5971
5972 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5974
8f203e6c
JM
59752012-05-04 Joseph Myers <joseph@codesourcery.com>
5976
5977 [BZ #14049]
5978 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5979 nonzero digits before rounding a hex value.
5980 * stdlib/tst-strtod.c (tests): Add another test.
5981
5197d9c2
AK
59822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5983
5984 * sysdeps/s390/fpu/libm-test-ulps: Update.
5985
f0c1dedf
AJ
59862012-05-03 Andreas Jaeger <aj@suse.de>
5987
5988 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5989 does not get optimized out.
5990 (malloc_opt_barrier): New.
5991
a65ef2ae 59922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5993 Roland McGrath <roland@hack.frob.com>
a65ef2ae 5994
2b942cb7 5995 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 5996 intermediate file deletion.
2b942cb7 5997 (generated): Add .symlist files.
a65ef2ae 5998
54b71e02
JM
59992012-05-03 Joseph Myers <joseph@codesourcery.com>
6000
6001 [BZ #13775]
6002 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6003 Redirect under this condition.
6004 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6005 [__USE_GNU] (__dprintf_chk): Not under this condition.
6006 [__USE_GNU] (__vdprintf_chk): Likewise.
6007 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6008 under this condition.
6009 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6010 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6011 [__USE_XOPEN2K8] (vdprintf): Likewise.
6012 [__USE_GNU] (__dprintf_chk): Not under this condition.
6013 [__USE_GNU] (__vdprintf_chk): Likewise.
6014 [__USE_GNU] (dprintf): Likewise.
6015 [__USE_GNU] (vdprintf): Likewise.
6016
d3dfcc41
RM
60172012-05-03 Roland McGrath <roland@hack.frob.com>
6018
6019 * elf/Makefile (common-generated): Set this instead of generated for
6020 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6021 $(all-built-dso)-derived lists.
6022
7ac30cc5
AJ
60232012-05-03 Andreas Jaeger <aj@suse.de>
6024
0c51e550
AJ
6025 * sysdeps/i386/fpu/libm-test-ulps: Update.
6026
7ac30cc5
AJ
6027 * FAQ: Removed.
6028 * FAQ.in: Likewise.
6029 * scripts/gen-FAQ.pl: Likewise.
6030 * manual/install.texi (Installation): Point to online location of
6031 FAQ.
6032 * Makefile (files-for-dist): Remove FAQ.
6033 (FAQ): Remove.
6034
d4c2917f
AM
60352012-05-02 Allan McRae <allan@archlinux.org>
6036
6037 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6038 (LDFLAGS-reldepmod5.so): Likewise.
6039 (LDFLAGS-reldep6mod1.so): Likewise.
6040 (LDFLAGS-reldep6mod4.so): Likewise.
6041 (LDFLAGS-reldep8mod3.so): Likewise.
6042 (LDFLAGS-unload4mod1.so): Likewise.
6043 (LDFLAGS-unload4mod2.so): Likewise.
6044 (LDFLAGS-tst-initorder): Likewise.
6045 (LDFLAGS-tst-initordera2.so): Likewise.
6046 (LDFLAGS-tst-initordera3.so): Likewise.
6047 (LDFLAGS-tst-initordera4.so): Likewise.
6048 (LDFLAGS-tst-initorderb2.so): Likewise.
6049 (LDFLAGS-noload): Likewise.
6050 (LDFLAGS-next): Likewise.
6051 (LDFLAGS-order2mod1.so): Likewise.
6052 (LDFLAGS-order2mod2.so): Likewise.
6053 (LDFLAGS-tst-initorder2): Likewise.
6054 (LDFLAGS-tst-initorder2a.so): Likewise.
6055 (LDFLAGS-tst-initorder2b.so): Likewise.
6056 (LDFLAGS-tst-initorder2c.so): Likewise.
6057 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6058
d77f993f
DM
60592012-05-02 David S. Miller <davem@davemloft.net>
6060
6061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6062
171a70b4
PP
60632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6064
6065 [BZ #14055]
6066 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6067
0be196ad
AJ
60682012-05-02 Andreas Jaeger <aj@suse.de>
6069
6070 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6071 since we manipulate rounding mode.
6072 (CPPFLAGS-test-idouble.c): Likewise.
6073 (CPPFLAGS-test-ifloat.c): Likewise.
6074 (CFLAGS-test-ldouble.c): Likewise.
6075 (CFLAGS-test-double.c): Likewise.
6076 (CFLAGS-test-float.c): Likewise.
6077 (CFLAGS-test-misc.c): Likewise.
6078 (CFLAGS-test-test-fenv.c): Likewise.
6079
4f9d04aa
AZ
60802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6081
2b942cb7
RM
6082 [BZ #2550]
6083 [BZ #2570]
6084 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6085 comparisons to determine direction to adjust input.
4f9d04aa 6086
82a79e7d
RM
60872012-05-01 Roland McGrath <roland@hack.frob.com>
6088
f5a01ca9
RM
6089 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6090 output to the target.
6091
90fe4186
RM
6092 * scripts/localplt.awk: New file.
6093 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6094 (check-localplt-CFLAGS): Variable removed.
6095 ($(all-built-dso:=.jmprel)): New static pattern rule.
6096 (generated): Add those targets.
6097 (localplt-built-dso): New variable.
6098 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6099
6100 * elf/check-localplt.c: File removed.
6101
82397ed6
RM
6102 * scripts/check-execstack.awk: New file.
6103 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6104 (check-execstack-CFLAGS): Variable removed.
6105 ($(objpfx)check-execstack.h): Target removed.
6106 ($(objpfx)execstack-default): New target.
6107 (generated): Add that instead of check-execstack.h.
6108 ($(all-built-dso:=.phdr)): New static pattern rule.
6109 (generated): Add those targets.
6110 * elf/check-execstack.c: File removed.
6111
82a79e7d
RM
6112 * scripts/check-textrel.awk: New file.
6113 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6114 (check-textrel-CFLAGS): Variable removed.
6115 (all-built-dso): Use := to define.o
6116 ($(all-built-dso:=.dyn)): New static pattern rule.
6117 (generated): Add those targets.
6118 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6119 * config.make.in (READELF): New substituted variable.
6120 * elf/check-textrel.c: File removed.
6121
62fde54f 61222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6123
615605c9
JM
6124 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6125 allow.
6126 * conform/data/ctype.h-data [C99-based standards] (isblank):
6127 Expect function.
6128 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6129 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6131 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6132 Specify type. Require positive value.
6133 (EILSEQ): Likewise.
6134 (ERANGE): Likewise.
6135 [ISO || POSIX] (EILSEQ): Do not expect.
6136 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6137 Specify type. Require positive value.
6138 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6139 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6140 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6141 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6142 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6143 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6144 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6145 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6146 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6147 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6148 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6149 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6150 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6151 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6152 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6153 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6154 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6155 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6156 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6157 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6158 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6159 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6160 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6161 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6162 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6163 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6164 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6165 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6166 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6167 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6168 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6169 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6170 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6171 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6172 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6173 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6174 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6175 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6176 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6177 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6178 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6179 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6180 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6181 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6182 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6183 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6184 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6185 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6186 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6187 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6188 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6189 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6190 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6191 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6192 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6193 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6194 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6195 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6196 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6197 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6198 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6199 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6200 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6201 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6202 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6203 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6204 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6205 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6206 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6207 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6208 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6209 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6210 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6211 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6212 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6213 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6214 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6215 Require >= 2.
6216 (FLT_ROUNDS): Expect as macro, not constant.
6217 (FLT_MANT_DIG): Use macro-int-constant.
6218 (DBL_MANT_DIG): Likewise.
6219 (LDBL_MANT_DIG): Likewise.
6220 (FLT_DIG): Likewise.
6221 (DBL_DIG): Likewise.
6222 (LDBL_DIG): Likewise.
6223 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6224 (DBL_MIN_EXP): Likewise.
6225 (LDBL_MIN_EXP): Likewise.
6226 (FLT_MAX_EXP): Use macro-int-constant.
6227 (DBL_MAX_EXP): Likewise.
6228 (LDBL_MAX_EXP): Likewise.
6229 (FLT_MAX_10_EXP): Likewise.
6230 (DBL_MAX_10_EXP): Likewise.
6231 (LDBL_MAX_10_EXP): Likewise.
6232 (FLT_MAX): Use macro-constant.
6233 (DBL_MAX): Likewise.
6234 (LDBL_MAX): Likewise.
6235 (FLT_EPSILON): Use macro-constant. Give upper bound.
6236 (DBL_EPSILON): Likewise.
6237 (LDBL_EPSILON): Likewise.
6238 (FLT_MIN): Likewise.
6239 (DBL_MIN): Likewise.
6240 (LDBL_MIN): Likewise.
6241 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6242 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6243 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6244 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6245 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6246 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6247 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6248 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6249 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6250 [ISO11] (FLT_TRUE_MIN): Likewise.
6251 [ISO11] (LDBL_TRUE_MIN): Likewise.
6252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6253 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6254 (SCHAR_MIN): Use macro-int-constant. Specify type.
6255 (SCHAR_MAX): Likewise.
6256 (UCHAR_MAX): Likewise.
6257 (CHAR_MIN): Likewise.
6258 (CHAR_MAX): Likewise.
6259 (MB_LEN_MAX): Use macro-int-constant.
6260 (SHRT_MIN): Use macro-int-constant. Specify type.
6261 (SHRT_MAX): Likewise.
6262 (USHRT_MAX): Likewise.
6263 (INT_MAX): Likewise.
6264 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6265 bound negative.
6266 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6267 bound with "U".
6268 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6269 bound with "L".
6270 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6271 bound negative. Suffix upper bound with "L".
6272 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6273 bound with "UL".
6274 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6275 Specify type.
6276 [C99-based standards] (LLONG_MAX): Likewise.
6277 [C99-based standards] (ULLONG_MAX): Likewise.
6278 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6279 == 0.
6280 [ISO11] (max_align_t): Require type.
6281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6282
c9140a62
JM
6283 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6284 from $CFLAGS, without defining away __attribute__ calls.
6285 (checknamespace): Use $CFLAGS_namespace.
6286
9af0bf29
JM
6287 * conform/conformtest.pl (@keywords): Only include C99 keywords
6288 for standards based on C99 or C11.
6289
343222a2
JM
6290 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6291 Disable tests.
6292 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6293 UNIX98]: Likewise.
6294
661f8cf0
JM
6295 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6296 usability of symbols in #if.
6297
ee74b9cb
JM
6298 * conform/conformtest.pl: If macro or constant types start
6299 "promoted:", expect the symbol to be of the following type
6300 promoted by the integer promotions.
62fde54f 6301
aafc49b3
JM
6302 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6303 in one place. Also handle "macro-constant".
6304
fefdf574
JM
6305 * conform/conformtest.pl: Only accept expected macro values with
6306 "==". Parse all "macro" lines in one place.
6307 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6308
f2d922fe
JM
6309 * conform/conformtest.pl: Handle braced types on "constant" lines
6310 instead of handling "typed-constant".
6311 * conform/data/signal.h-data: Use "constant" instead of
6312 "typed-constant".
6313
d22956c9
JM
6314 * conform/conformtest.pl: Handle "optional-" at start of lines in
6315 one place rather than duplicating several cases. Handle each
6316 format of "macro" line with initial "optional-".
6317
028e2e38
JM
6318 * conform/conformtest.pl: Only accept expected constant or
6319 optional-constant values with "==". Parse all "constant" lines in
6320 one place. Parse all "optional-constant" lines in one place.
6321 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6322 * conform/data/fmtmsg.h-data: Likewise.
6323 * conform/data/netinet/in.h-data: Likewise.
6324 * conform/data/tar.h-data: Likewise.
6325 * conform/data/limits.h-data: Use "==" form on "constant" and
6326 "optional-constant" lines.
6327
1b8f2850
JM
6328 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6329 Use -std=c99 for XOPEN2K.
6330 (@knownproblems): Remove.
6331 (newtoken): Don't check %isknown.
6332
a05a144b
JM
6333 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6334 Do not expect macro.
6335 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6336 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6337 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6338 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6339 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6340 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6341 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6342 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6343 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6344 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6345 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6346 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6347 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6348 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6349 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6353 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6354 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6361 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6362 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6365 [XPG3] (acosh): Likewise.
6366 [XPG3] (asinh): Likewise.
6367 [XPG3] (atanh): Likewise.
6368 [XPG3] (cbrt): Likewise.
6369 [XPG3] (expm1): Likewise.
6370 [XPG3] (ilogb): Likewise.
6371 [XPG3] (log1p): Likewise.
6372 [XPG3] (logb): Likewise.
6373 [XPG3] (nextafter): Likewise.
6374 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6375 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6376 [XPG3] (remainder): Likewise.
6377 [XPG3] (rint): Likewise.
6378 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6379 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6380 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6381 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6382 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6383 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6384 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6385 [UNIX98 || XOPEN2K] (scalb): Expect.
6386 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6387 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6388 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6389 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6390 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6391 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6392 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6393 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6394 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6395 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6396 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6397 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6398 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6399 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6400 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6401 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6402 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6403 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6404 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6405 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6407 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6408 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6409 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6410 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6411 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6412 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6414 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6415 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6416 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6417 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6418 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6419 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6420 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6421 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6422 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6423 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6424 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6425 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6426 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6427 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6428 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6430 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6431 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6433 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6434 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6435 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6436 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6437 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6439 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6440 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6441 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6451 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6452 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6453 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6454 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6455 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6459 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6460 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6461 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6462 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6463 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6464 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6465 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6466 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6467 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6469 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6470 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6471 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6481 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6503 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6504 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6505 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6506 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6523
73c5ebe3
JM
6524 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6525 _XOPEN_SOURCE_EXTENDED for XPG4.
6526
39c33b6c
JM
6527 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6528
62fde54f
JM
6529 * Makeconfig (localtime): Remove variable.
6530 (inst_localtime-file): Likewise.
6531
0741d64c
AS
65322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6533
6534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6535 Update.
6536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6537 Update.
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6539 Update.
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6541 Update.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6543 Update.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6545 Update.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6547 Update.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6549 Update.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6551 Update.
6552
7cb029ee
JM
65532012-05-01 Joseph Myers <joseph@codesourcery.com>
6554
6555 [BZ #2550]
6556 [BZ #2570]
6557 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6558 comparisons to determine direction to adjust input.
6559 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6560 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6562 Likewise.
6563 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6564 Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6566 Likewise.
6567 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6568 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6569 Likewise.
6570 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6571 Likewise.
6572 * math/libm-test.inc (nexttoward_test): Add more tests.
6573
412bd966
AS
65742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6575
6576 [BZ #14040]
6577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6578 in version GLIBC_2.1, not GLIBC_2.0.
6579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6580 Likewise.
6581
9568c0c2
JM
65822012-04-30 Joseph Myers <joseph@codesourcery.com>
6583
adfbc8ac
JM
6584 [BZ #13942]
6585 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6586 (1 - x) * (1 + x).
6587 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6588 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6589 * math/libm-test.inc (acos_test): Add more tests.
6590 (asin_test): Likewise.
6591 * sysdeps/i386/fpu/libm-test-ulps: Update.
6592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6593
5ba3cc69
JM
6594 [BZ #14034]
6595 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6596 of square root.
6597 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6598 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6599 * math/libm-test.inc (acos_test_tonearest): New function.
6600 (acos_test_towardzero): Likewise.
6601 (acos_test_downward): Likewise.
6602 (acos_test_upward): Likewise.
6603 (asin_test_tonearest): Likewise.
6604 (asin_test_towardzero): Likewise.
6605 (asin_test_downward): Likewise.
6606 (asin_test_upward): Likewise.
6607 (main): Call the new functions.
6608 * sysdeps/i386/fpu/libm-test-ulps: Update.
6609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6610
9568c0c2
JM
6611 [BZ #13884]
6612 [BZ #13924]
6613 * math/e_exp10.c: Include <float.h>.
6614 (__ieee754_exp10): Handle underflow here rather than multiplying
6615 large negative argument by M_LN10.
6616 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6617 of __ieee754_expf.
6618 * math/e_exp10l.c: Include <float.h>.
6619 (__ieee754_exp10l): Handle underflow here rather than multiplying
6620 large negative argument by M_LN10l.
6621 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6622 spurious overflow exception on underflow.
6623
5ac3ea17
MP
66242012-04-29 Marek Polacek <polacek@redhat.com>
6625
6626 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6627 (__fortify_function): New macro.
6628 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6629 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6630 __extern_always_inline.
6631 * libio/bits/stdio2.h: Likewise.
6632 * libio/bits/stdio.h: Likewise.
6633 * string/string.h: Likewise.
6634 * string/bits/string3.h: Likewise.
6635 * include/stdio.h: Likewise.
6636 * stdlib/bits/stdlib.h: Likewise.
6637 * stdlib/stdlib.h: Likewise.
6638 * rt/bits/mqueue2.h: Likewise.
6639 * rt/mqueue.h: Likewise.
6640 * posix/bits/unistd.h: Likewise.
6641 * posix/unistd.h: Likewise.
6642 * io/bits/poll2.h: Likewise.
6643 * io/bits/fcntl2.h: Likewise.
6644 * io/fcntl.h: Likewise.
6645 * io/sys/poll.h: Likewise.
6646 * misc/bits/syslog.h: Likewise.
6647 * misc/bits/syslog-ldbl.h: Likewise.
6648 * misc/sys/syslog.h: Likewise.
6649 * socket/bits/socket2.h: Likewise.
6650 * socket/sys/socket.h: Likewise.
6651 * debug/tst-chk1.c: Likewise.
6652 * wcsmbs/bits/wchar2.h: Likewise.
6653 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6654 * wcsmbs/wchar.h: Likewise.
6655
ecf0ebfb
AJ
66562012-04-29 Andreas Jaeger <aj@suse.de>
6657
6658 * Makerules (tests): Remove enable-check-abi protection.
6659 (check-abi-warn): Remove.
6660 (check-abi-%): Remove check-abi-warn usage.
6661
6662 * configure.in: Remove check-abi configure option.
6663 * configure: Regenerated.
6664 * config.make.in (enable-check-abi): Remove.
6665
6d5c57fa
AS
66662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6667
24c5d07e 6668 [BZ #14033]
ded5180a
AS
6669 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6670 double functions to double *_finite functions.
6671
7e0d315d
AS
6672 [BZ #13941]
6673 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6674 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6675 LDBL_MIN_EXP.
6676 * stdio-common/Makefile (tests): Add tst-sprintf3.
6677 * stdio-common/tst-sprintf3.c: New file.
6678
6d5c57fa
AS
6679 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6680 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6681
0749ff8b
JM
66822012-04-28 Joseph Myers <joseph@codesourcery.com>
6683
6684 * conform/conformtest.pl: Remove duplicate typed-constant
6685 handling.
6686
8dbd5d7b
DM
66872012-04-28 David S. Miller <davem@davemloft.net>
6688
6689 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6690 (check-abi-%): Remove AWK script prerequisite and explicit
6691 abilist directory.
6692 (check-abi): Rewrite to just diff the symlist with the abilist.
6693 (config-tls, config-abi-config): Delete, no longer used.
6694 (update-abi-%): Remove AWK script and explicit abilist directory.
6695 (update-abi): Rewrite to simply compare and conditionally copy the
6696 symlist and the sysdep abilist file. Remove update-abi-config
6697 checks.
6698 * abilist/ld.abilist: Remove.
6699 * abilist/libBrokenLocale.abilist: Remove.
6700 * abilist/libanl.abilist: Remove.
6701 * abilist/libcrypt.abilist: Remove.
6702 * abilist/libdl.abilist: Remove.
6703 * abilist/librt.abilist: Remove.
6704 * abilist/libthread_db.abilist: Remove.
6705 * abilist/libutil.abilist: Remove.
6706 * scripts/extract-abilist.awk: Remove.
6707 * scripts/merge-abilist.awk: Remove.
6708 * sysdeps/generic/libcidn.abilist: New file.
6709 * sysdeps/generic/libnss_compat.abilist: New file.
6710 * sysdeps/generic/libnss_db.abilist: New file.
6711 * sysdeps/generic/libnss_dns.abilist: New file.
6712 * sysdeps/generic/libnss_files.abilist: New file.
6713 * sysdeps/generic/libnss_hesiod.abilist: New file.
6714 * sysdeps/generic/libnss_nis.abilist: New file.
6715 * sysdeps/generic/libnss_nisplus.abilist: New file.
6716 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6717 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6718 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6719 file.
6720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6721 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6722 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6723 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6724 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6725 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6726 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6727 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6728 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6729 file.
6730 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6731 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6732 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6733 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6734 file.
6735 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6736 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6737 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6738 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6739 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6740 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6741 file.
6742 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6743 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6744 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6745 file.
6746 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6748 New file.
6749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6750 New file.
6751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6752 New file.
6753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6754 New file.
6755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6756 New file.
6757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6758 New file.
6759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6760 New file.
6761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6762 New file.
6763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6764 New file.
6765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6766 New file.
6767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6768 New file.
6769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6770 New file.
6771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6772 New file.
6773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6774 file.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6776 New file.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6778 New file.
6779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6780 file.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6782 New file.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6784 New file.
6785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6786 file.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6788 New file.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6790 New file.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6792 New file.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6794 New file.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6796 New file.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6798 New file.
6799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6801 file.
6802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6803 New file.
6804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6805 file.
6806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6807 file.
6808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6809 file.
6810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6811 file.
6812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6813 file.
6814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6815 New file.
6816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6817 file.
6818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6819 file.
6820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6821 New file.
6822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6823 file.
6824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6826 file.
6827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6828 New file.
6829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6830 file.
6831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6832 file.
6833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6834 file.
6835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6836 file.
6837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6838 file.
6839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6840 New file.
6841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6842 file.
6843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6844 file.
6845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6846 New file.
6847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6848 file.
6849 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6850 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6851 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6852 file.
6853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6854 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6855 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6856 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6857 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6858 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6859 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6860 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6861 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6862 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6865 file.
6866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6867 New file.
6868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6869 file.
6870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6871 file.
6872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6873 file.
6874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6875 file.
6876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6877 file.
6878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6879 New file.
6880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6881 New file.
6882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6883 file.
6884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6885 New file.
6886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6887 file.
6888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6890 file.
6891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6892 New file.
6893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6894 file.
6895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6896 file.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6898 file.
6899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6900 file.
6901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6902 file.
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6904 New file.
6905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6906 New file.
6907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6908 file.
6909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6910 New file.
6911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6912 file.
6913
41d73a1b
JM
69142012-04-28 Joseph Myers <joseph@codesourcery.com>
6915
6916 * conform/conformtest.pl: Fix typo in handling typed-constant from
6917 allow-header.
6918
28aeeda4
JM
69192012-04-27 Joseph Myers <joseph@codesourcery.com>
6920
adae8f5e
JM
6921 * README: Cut down references to pre-2.6 Linux kernels and
6922 Linuxthreads. Update lists of configurations in libc and ports
6923 and sort alphabetically. Say "or newer" with Linux kernel version
6924 requirements.
6925
28aeeda4
JM
6926 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6927
a462cb63
RA
69282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6929
6930 [BZ #887]
6931 * math/libm-test.inc (logb_test_downward): New test to expose
6932 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6933 rounding mode.
6934
6ad3493e
JM
69352012-04-27 Joseph Myers <joseph@codesourcery.com>
6936
6937 [BZ #14027]
6938 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6939 to be done.
6940 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6941 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6942
2ce4f015
JM
69432012-04-26 Joseph Myers <joseph@codesourcery.com>
6944
5aeb141a
JM
6945 * sysdeps/unix/i386/brk.S: Remove file.
6946 * sysdeps/unix/i386/dl-brk.S: Likewise.
6947 * sysdeps/unix/i386/pipe.S: Likewise.
6948 * sysdeps/unix/i386/sigreturn.S: Likewise.
6949 * sysdeps/unix/i386/syscall.S: Likewise.
6950 * sysdeps/unix/i386/vfork.S: Likewise.
6951 * sysdeps/unix/i386/wait.S: Likewise.
6952
7143acae
JM
6953 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6954 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6955
2ce4f015
JM
6956 * configure.in (arm*-none*): Do not allow without
6957 --enable-hacker-mode.
6958 (netbsd*): Remove case setting base_os.
6959 (386bsd*): Likewise.
6960 (freebsd*): Likewise.
6961 (bsdi*): Likewise.
6962 (osf*): Likewise.
6963 (sunos*): Likewise.
6964 (ultrix*): Likewise.
6965 (newsos*): Likewise.
6966 (dynix*): Likewise.
6967 (*bsd*): Likewise.
6968 (sysv*): Likewise.
6969 (isc*): Likewise.
6970 (esix*): Likewise.
6971 (sco*): Likewise.
6972 (minix*): Likewise.
6973 (irix4*): Likewise.
6974 (irix6*): Likewise.
6975 (solaris[2-9]*): Likewise.
6976 (none): Likewise.
6977 * configure: Regenerated.
6978
0ac229c8
AZ
69792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980
6981 [BZ #11521]
6982 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6983 overflow or cancellation in calculating denominator.
6984 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6986 down expression to avoid unexpected rounding in newer GCCs.
6987 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6988
33f244f4
DM
69892012-04-26 David S. Miller <davem@davemloft.net>
6990
6991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6992 long-double compat symbols.
6993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7006
cfa1f3e8
DM
70072012-04-25 David S. Miller <davem@davemloft.net>
7008
7009 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7010 HWCAP_* values only after the memory barriers have been defined.
7011 (atomic_full_barrier): Define.
7012 (atomic_read_barrier): Define.
7013 (atomic_write_barrier): Define.
7014
6e236b92
SP
70152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7016
7017 * shlib-versions: Add libgcc_s version information.
7018 * sysdeps/generic/libgcc_s.h: Remove.
7019 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7020 libgcc_s.h.
7021 * sysdeps/gnu/unwind-resume.c: Likewise.
7022 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7023
aab39a09
DM
70242012-04-25 David S. Miller <davem@davemloft.net>
7025
7026 * sysdeps/unix/sparc/brk.S: Delete.
7027 * sysdeps/unix/sparc/dl-brk.S: Delete.
7028 * sysdeps/unix/sparc/pipe.S: Delete.
7029 * sysdeps/unix/sparc/sysdep.S: Delete.
7030 * sysdeps/unix/sparc/sysdep.h: Delete.
7031 * sysdeps/unix/sparc/vfork.S: Delete.
7032 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7033 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7035 ret_ERRVAL, r0, r1, MOVE): Define.
7036 (JUMPTARGET): Remove.
7037 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7038 sysdeps/unix/sparc/sysdep.h
7039 (ENTRY, END): Remove.
7040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7041
a3cc4f48
JM
70422012-04-25 Joseph Myers <joseph@codesourcery.com>
7043
2ed8cda2
JM
7044 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7045 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7046 -DIS_IN_build.
7047
35d76d59
JM
7048 * timezone/README: Update upstream location and email address for
7049 tzcode and tzdata.
7050 * timezone/zdump.c: Update from tzcode 2012b.
7051 * timezone/zic.c: Likewise.
7052
a3cc4f48
JM
7053 * configure.in (libc_cv_as_needed): Remove test.
7054 * configure: Regenerated.
7055 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7056 conditional definition.
7057 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7058 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7059 * config.make.in (have-as-needed): Remove variable.
7060
ceab42c3
SP
70612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7062 Paul Pluzhnikov <ppluzhnikov@google.com>
7063
7064 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7065 strings correctly.
7066
3ce2865f
CLT
70672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7068
7069 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7070 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7071 * sysdeps/sh/strlen.S: Likewise.
7072
f37e0d68
JM
70732012-04-24 Joseph Myers <joseph@codesourcery.com>
7074
ae186e9a
JM
7075 * sysdeps/unix/fork.S: Remove file.
7076 * sysdeps/unix/i386/fork.S: Likewise.
7077 * sysdeps/unix/sparc/fork.S: Likewise.
7078
b96914af
JM
7079 * sysdeps/unix/system.c: Remove file.
7080 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7081
f37e0d68
JM
7082 * sysdeps/unix/getegid.S: Remove file.
7083 * sysdeps/unix/geteuid.S: Likewise.
7084
87ef29ca
RM
70852012-04-24 Roland McGrath <roland@hack.frob.com>
7086
83bcd236
RM
7087 * scripts/check-localplt.awk: New file.
7088 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7089 of diff.
7090 * scripts/data/localplt-generic.data: Add a comment.
7091
87ef29ca
RM
7092 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7093 NODE when __dir_mkfile failed.
7094 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7095 Reported by Ludovic Courtès <ludo@gnu.org>.
7096
e5a6e567
AJ
70972012-04-24 Andreas Jaeger <aj@suse.de>
7098
7099 * Makerules (common-clean): Also remove gen-as-const-headers
7100 files.
7101
c1820385
JM
71022012-04-24 Joseph Myers <joseph@codesourcery.com>
7103
7104 * Makerules (native-compile): Do not change working directory for
7105 build. Use $(OUTPUT_OPTION) in command.
7106 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7107
94e02fc4
AZ
71082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7109
7110 [BZ #13886]
7111 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7112 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7113 * math/libm-test.inc (floor_test): Add more tests.
7114 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7115
3a533ca3
JM
71162012-04-24 Joseph Myers <joseph@codesourcery.com>
7117
940ab4b3
JM
7118 * sysdeps/unix/getdents.c: Remove file.
7119 * sysdeps/unix/sysv/getdents.c: Likewise.
7120 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7121
90e037bd
JM
7122 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7123 sysdeps/unix/mman/syscalls.list.
7124 (mmap): Likewise.
7125 (mprotect): Likewise.
7126 (msync): Likewise.
7127 (munmap): Likewise.
7128 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7129 * sysdeps/unix/mman/syscalls.list: Remove.
7130 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7131
3a533ca3
JM
7132 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7133 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7134 * configure: Regenerated.
7135 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7136 $(libgcc_s_suffix).
7137 * config.make.in (libgcc_s_suffix): Remove variable.
7138
1ad743de
JM
71392012-04-23 Joseph Myers <joseph@codesourcery.com>
7140
4ad451e2
JM
7141 * sysdeps/unix/sysv/gethostname.c: Move to ...
7142 * sysdeps/posix/gethostname.c: ... here.
7143
5e37ce39
JM
7144 * sysdeps/unix/execve.S: Remove file.
7145
1ad743de
JM
7146 * sysdeps/unix/_exit.S: Remove file.
7147
4e681b5b
AJ
71482012-04-23 Andreas Jaeger <aj@suse.de>
7149
7150 [BZ #13739]
7151 * manual/Makefile: Remove make dist support, there's no
7152 need for a stand-alone documentation tar ball.
7153 (TEXI2DVI): Define always, it's not in Makeconfig.
7154 (dist): Removed.
7155 (tar-it): Removed.
7156 (edition): Removed.
7157 (glibc-doc-$(edition).tar): Removed
7158 (%.Z): Removed.
7159 (%.gz): Removed.
7160 (%.uu): Removed.
7161 (ETAGS): Remove, it's in Makeconfig.
7162 (move-if-change): Remove, it's in Makeconfig.
7163
c0baea34
PE
71642013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7165
7166 [BZ #13970]
7167 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7168 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7169 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7170 (strtod_l, strtof_l, strtold_l): Remove __wur.
7171 It is not necessarily an error to ignore strtol's return value.
7172 One can reliably look at the stored endptr to decide whether
7173 the number had valid syntax.
7174
7c0616fa
AJ
71752012-04-21 Andreas Jaeger <aj@suse.de>
7176
803cb6b7 7177 [BZ #13739]
7c0616fa
AJ
7178 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7179
b0fe253f
JM
71802012-04-21 Joseph Myers <joseph@codesourcery.com>
7181
7182 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7183 * sysdeps/unix/sysv/Versions: Remove file.
7184
8280f22d
MT
71852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7186
7187 [BZ #13927]
7188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7189
75ce411f 71902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7191
7192 [BZ #7064]
7193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7194 version from __vm86.
7195
097d59fa
JM
71962012-04-20 Joseph Myers <joseph@codesourcery.com>
7197
a90f3bcb
JM
7198 * sysdeps/unix/common/lxstat.c: Remove file.
7199 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7200
edc7ea78
JM
7201 * sysdeps/unix/sysv/Makefile: Remove file.
7202
cb78c221
JM
7203 * sysdeps/unix/sysv/direct.h: Remove file.
7204
efa6a45f
JM
7205 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7206 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7207 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7208 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7209 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7210 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7211 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7212
9c9f2d0c
JM
7213 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7214
4541c83b
JM
7215 * sysdeps/unix/xmknod.c: Remove file.
7216 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7217
f5d153a0
JM
7218 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7219
aa746595
JM
7220 * sysdeps/unix/sysv/i386/time.S: Remove file.
7221
cce5905e
JM
7222 * sysdeps/unix/fxstat.c: Remove file.
7223 * sysdeps/unix/xstat.c: Likewise.
7224 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7225
37fa3841
JM
7226 * sysdeps/unix/sysv/sigaction.c: Remove file.
7227
ff1962a3
JM
7228 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7229 (sysdep_headers): Remove variable.
7230 [termio.h not in sysdep_headers] (generated): Likewise.
7231 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7232 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7233 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7234 * sysdeps/unix/sysv/tcflow.c: Likewise.
7235 * sysdeps/unix/sysv/tcflush.c: Likewise.
7236 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7237 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7238 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7239 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7240 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7241
e7740d31
JM
7242 * sysdeps/unix/siglist.c: Remove file.
7243
ee06f18b
JM
7244 * sysdeps/unix/getppid.S: Remove file.
7245
097d59fa
JM
7246 * sysdeps/unix/mkdir.c: Remove file.
7247 * sysdeps/unix/rmdir.c: Likewise.
7248
ff3d51ec
AS
72492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7250
7251 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7252 ERR_MAX value.
7253 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7254 errlist-compat value.
7255
50f81fd7
DM
72562012-04-18 David S. Miller <davem@davemloft.net>
7257
7258 * sysdeps/generic/memcopy.h (reg_char): Delete.
7259 * debug/strcat_chk.c: Use char, not reg_char.
7260 * debug/strcpy_chk.c: Likewise.
7261 * debug/strncat_chk.c: Likewise.
7262 * debug/strncpy_chk.c: Likewise.
7263 * string/memchr.c: Likewise.
7264 * string/memrchr.c: Likewise.
7265 * string/rawmemchr.c: Likewise.
7266 * string/strcat.c: Likewise.
7267 * string/strchr.c: Likewise.
7268 * string/strchrnul.c: Likewise.
7269 * string/strcmp.c: Likewise.
7270 * string/strcpy.c: Likewise.
7271 * string/strncat.c: Likewise.
7272 * string/strncmp.c: Likewise.
7273 * string/strncpy.c: Likewise.
7274
8ff41c46
WS
72752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7276
7277 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7278 __builtin_memcopy is called when src and dest ranges are known to not
7279 overlap.
7280
6b652f46
WS
72812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7282
7283 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7284 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7285 fwd_align_merge macro call.
7286 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7287 bwd_align_merge macro call.
7288 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7289
b282631e
WS
72902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7291
7292 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7293 bwd_align_merge macros.
7294 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7295 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7296 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7297
95aa737c
DM
72982012-04-18 David S. Miller <davem@davemloft.net>
7299
7300 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7301
7a99a614
AJ
73022012-04-18 Andreas Jaeger <aj@suse.de>
7303
7304 [BZ# 6794]
7305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7306 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7307 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7308
7309 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7310 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7311 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7312
7313 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7314 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7315 Adjust for changed ldbl-128 files.
7316
7317 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7318 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7319 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7320
e5270c23
DM
73212012-04-17 David S. Miller <davem@davemloft.net>
7322
7323 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7324
fb5e92c9
AS
73252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7326
7327 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7328 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7329 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7330 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7331 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7332 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7333
76da7265
AZ
73342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7335
7336 [BZ #6794]
7337 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7338 * math/libm-test.inc: Add ilogb errno and exception tests.
7339 * math/w_ilogb.c: New file: ilogb wrapper.
7340 * math/w_ilogbf.c: New file: ilogbf wrapper.
7341 * math/w_ilogbl.c: New file: ilogbl wrapper.
7342 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7343 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7344 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7345 exception being thrown with 0.0 as argument.
7346 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7347 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7348 exception being thrown with 0.0 as argument.
7349 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7350 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7351 exception being thrown with 0.0 as argument.
7352 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7353 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7354 exception being thrown with 0.0 as argument.
7355 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7356 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7357 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7358 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7359 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7360 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7361 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7362 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7363 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7364
0396e69d
PB
73652012-04-17 Petr Baudis <pasky@ucw.cz>
7366
7367 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7368 with altivec.
7369
750b5926
MP
73702012-04-16 Marek Polacek <polacek@redhat.com>
7371
7372 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7373
751728a1
MP
73742012-04-16 Marek Polacek <polacek@redhat.com>
7375
7376 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7377 operands of fdivp instruction.
7378
34a27407
L
73792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7380
7381 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7382 * elf/tst-auditmod3b.c: Likewise.
7383 * elf/tst-auditmod4b.c: Likewise.
7384 * elf/tst-auditmod5b.c: Likewise.
7385 * elf/tst-auditmod6b.c: Likewise.
7386 * elf/tst-auditmod6c.c: Likewise.
7387 * elf/tst-auditmod7b.c: Likewise.
7388 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7389 * sysdeps/x86_64/preconfigure.in: Likewise.
7390 * sysdeps/x86_64/preconfigure: Regenerated.
7391
7e73e17d
L
73922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7393
7394 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7395 __ILP32__.
7396
c7a6ab72
AB
73972012-04-13 Antoine Balestrat <merkil33@gmail.com>
7398
7399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7400 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7401
a9e8e0e0
CL
74022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7403
7404 [BZ #13973]
7405 * locale/iso-639.def: Fix gl language name. Spotted by
7406 Yaron Shahrabani.
7407
ec98af7d
RM
74082012-04-12 Roland McGrath <roland@hack.frob.com>
7409
7410 [BZ #2074]
7411 * libio/libio.h (__io_write_fn): Update comment.
7412
247c3ede
PB
74132012-04-12 Petr Baudis <pasky@ucw.cz>
7414
7415 [BZ #2074]
7416 * stdio.texi (Hook Functions): The user provided writer function
7417 is not allowed to return -1.
7418
55939d6d
DM
74192012-04-11 David S. Miller <davem@davemloft.net>
7420
7421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7422
90020f5a
MF
74232012-04-11 Mike Frysinger <vapier@gentoo.org>
7424
7425 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7426 Add a leading slash to rtkaio.
7427
288f9098
JM
74282012-04-11 Jim Meyering <meyering@redhat.com>
7429
90020f5a
MF
7430 [BZ #11959]
7431 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7432 It is not necessarily an error to ignore fwrite's return
7433 value. One can reliably use ferror to test for errors after
7434 the fact.
288f9098 7435
4be2b570
L
74362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7437
7438 * bits/types.h (__snseconds_t): New type.
7439 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7440
7441 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7442 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7443 (__SNSECONDS_T_TYPE): Likewise.
7444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7445 (__SNSECONDS_T_TYPE): Likewise.
7446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7447 (__SNSECONDS_T_TYPE): Likewise.
7448
288f9098 74492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7450
7451 [BZ #2636]
7452 * manual/time.texi (Processor Time): Return type of times is
7453 elapsed real time since an arbitrary point in the past.
7454 (CPU Time): Move CLK_TCK from here...
7455 (Processor Time): ...to here. Correct description.
7456 * manual/conf.texi (Constants for Sysconf): Correct description of
7457 _SC_CLK_TCK.
7458
d7dd4413
DM
74592012-04-10 David S. Miller <davem@davemloft.net>
7460
7461 [BZ #13967]
7462 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7463 where the is a gap between DT_REL(A) and DT_JMPREL.
7464
b46068fc
L
74652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7466
7467 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7468 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7469 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7470
73d65cc3
SP
74712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7472
7473 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7474 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7475 (dl_main): Handle --inhibit-cache.
7476 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7477 _dl_inhibit_cache.
7478 * elf/dl-load.c (_dl_map_object): Use it.
7479 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7480
bcc8d661
JM
74812012-04-09 Joseph Myers <joseph@codesourcery.com>
7482
8f9a2fae
JM
7483 [BZ #13872]
7484 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7485 (__ieee754_powl): Saturate large exponents rather than testing for
7486 overflow of y*log2(x).
7487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7488 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7489 exceptions.
7490
bcc8d661
JM
7491 [BZ #11521]
7492 * math/s_ctan.c: Include <float.h>.
7493 (__ctan): Avoid internal overflow or cancellation in calculating
7494 denominator.
7495 * math/s_ctanf.c: Likewise.
7496 * math/s_ctanl.c: Likewise.
7497 * math/s_ctanh.c: Likewise.
7498 * math/s_ctanhf.c: Likewise.
7499 * math/s_ctanhl.c: Likewise.
7500 * math/libm-test.inc (ctan_test): Add more tests.
7501 (ctanh_test): Likewise.
7502 * sysdeps/i386/fpu/libm-test-ulps: Update.
7503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7504
823fbbb4
AJ
75052012-04-09 Andreas Jaeger <aj@suse.de>
7506
03879793
AJ
7507 [BZ #6894]
7508 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7509 is an optional BSD extension.
7510
823fbbb4
AJ
7511 [BZ #10254]
7512 * manual/stdio.texi (Opening Streams): Document additional fopen
7513 parameters.
7514
8de131cb
RM
75152012-04-09 Roland McGrath <roland@hack.frob.com>
7516
7517 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7518 %eax without telling the compiler.
7519
c0ed9d7d
CD
75202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7521
7522 [BZ # 13963]
7523 * manual/install.texi: Use sourceware.org.
7524
c483f6b4
JM
75252012-04-09 Joseph Myers <joseph@codesourcery.com>
7526
d7dd9453
JM
7527 [BZ #13873]
7528 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7529 (__ieee754_pow): Generate overflow and underflow using huge*huge
7530 and tiny*tiny rather than just returning constant infinity or zero
7531 for large exponents.
7532 * math/libm-test.inc (pow_test): Require overflow exceptions for
7533 applicable cases of large exponents.
7534
c483f6b4
JM
7535 [BZ #706]
7536 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7537 (__ieee754_pow): Use iterative multiplication algorithm only for
7538 integer exponents with absolute value below 1024. Check for odd
7539 integer exponents when using algorithm for real exponents.
7540 * math/libm-test.inc (pow_test): Add more tests.
7541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7542
d2de7579
JM
75432012-04-08 Joseph Myers <joseph@codesourcery.com>
7544
7545 [BZ #13705]
7546 * math/libm-test.inc (exp_test): Do not allow overflow exception
7547 on underflow test.
7548
f77f1232
AJ
75492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7550
7551 [BZ #13705]
7552 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7553 instead of __kernel_standard_f.
7554
3884932b
MF
75552012-04-08 Mike Frysinger <vapier@gentoo.org>
7556
7557 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7558 * sysdeps/x86_64/memset_chk.S: Likewise.
7559
54472e9c
AJ
75602012-04-08 Andreas Jaeger <aj@suse.de>
7561
6ab0fbfc
AJ
7562 [BZ #10153]
7563 * manual/startup.texi (Environment Access): Describe return value
7564 for putenv and setenv.
7565
61efba8c
AJ
7566 [BZ #6895]
7567 * manual/filesys.texi (Directory Entries): Add description for
7568 DT_LNK.
7569
95c3f29a
AJ
7570 [BZ #6890]
7571 * manual/filesys.texi (Directory Entries): Clarify that it's file
7572 system not operating system in the description of DT_UNKNOWN.
7573
54472e9c
AJ
7574 [BZ #6578]
7575 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7576
624254b1
SC
75772012-04-08 Stephen Compall <s11@member.fsf.org>
7578
7579 [BZ #6649]
7580 * manual/llio.texi (Opening and Closing Files): Add cross
7581 reference to explain mode argument.
7582
1e4920e0
MF
75832012-04-07 Mike Frysinger <vapier@gentoo.org>
7584
7585 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7586 * sysdeps/x86_64/memset_chk.S: Likewise.
7587
5ed848f3
DM
75882012-04-07 David S. Miller <davem@davemloft.net>
7589
7590 * elf/elf.h (R_SPARC_WDISP10): Define.
7591 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7592 R_SPARC_SIZE32.
7593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7594 R_SPARC_SIZE64 and R_SPARC_H34.
7595
96154cd8
CD
75962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7597
7598 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7599 conditions and remove no longer applicable assertion.
7600
9904dc47
L
76012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7602
7603 * bits/byteswap.h: Include <features.h>.
7604 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7605 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7606
f8887d0a
L
76072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7608
7609 * bits/byteswap.h (__bswap_16): Removed.
7610 Include <bits/byteswap-16.h> to get __bswap_16.
7611 * sysdeps/i386/bits/byteswap.h: Likewise.
7612 * sysdeps/s390/bits/byteswap.h: Likewise.
7613 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7614 * bits/byteswap-16.h: New file.
7615 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7616 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7617 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7618 * string/Makefile (headers): Add bits/byteswap-16.h.
7619
62470f60
PP
76202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7621
7622 [BZ #13895]
7623 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7624 extra indirection.
7625 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7626 * nss/tst-nss-static.c: New.
7627
4dad7bab
RM
76282012-04-06 Robert Millan <rmh@gnu.org>
7629
7630 [BZ #6486]
7631 * manual/llio.texi (File Position Primitive): lseek
7632 refers to WHENCE when it really means OFFSET.
7633
e9142a17
AJ
76342012-04-06 Andreas Jaeger <aj@suse.de>
7635
2c040eff
AJ
7636 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7637 strncmp declarations.
7638
e9142a17
AJ
7639 * abilist/libc.abilist: Add __poll and __ppoll.
7640
ff9f1c5f
DM
76412012-04-05 David S. Miller <davem@davemloft.net>
7642
dcd2ae90
DM
7643 * scripts/check-local-headers.sh: Accept a host triplet in the
7644 path matched by the exclude regexp.
7645
993eb054
DM
7646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7647 definition.
7648 * sysdeps/powerpc/powerpc32/dl-machine.h
7649 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7650 * sysdeps/s390/s390-32/dl-machine.h
7651 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7652 * sysdeps/sparc/sparc32/dl-machine.h
7653 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7654 * sysdeps/sparc/sparc64/dl-machine.h
7655 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7656
ff9f1c5f
DM
7657 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7658 lazy binding.
48e2e132 7659 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7660 undefined symbol errors.
7661
48e2e132 7662 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7663 DT_NEEDED entries.
7664
e80d6f94
MM
76652012-04-05 Michael Matz <matz@suse.de>
7666
7667 [BZ #13592]
7668 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7669
349fa79f
AJ
76702012-04-05 Andreas Jaeger <aj@suse.de>
7671
7672 [BZ #13908]
7673 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7674 comment.
7675
f402708f
KK
76762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7677
7678 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7679 which ROUND is no valid rounding mode.
7680
2ecccfc9
KK
76812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7682
7683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7684 read again.
7685 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7686
8a53f50f
KK
76872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7688
7689 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7690 an exception using FPU order intentionally.
7691
76922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7693
7694 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7695 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7696 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7697 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7698
d653abb7
SJ
76992012-04-05 Simon Josefsson <simon@josefsson.org>
7700
7701 [BZ #12340]
7702 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7703 EINVAL when BUFLEN is too smal.
7704
c3b1bf7d
TS
77052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7706
7707 [BZ #13553]
7708 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7709 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7710
b1aa60f3
AJ
77112012-04-03 Andreas Jaeger <aj@suse.de>
7712
c3b1bf7d 7713 [BZ #13938]
67f60a26
AJ
7714 * manual/setjmp.texi (System V contexts): Fix sentence.
7715
b1aa60f3
AJ
7716 [BZ #13926]
7717 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7718 New macro for this case.
7719 [!__GNUC__] (__bswap_64): New inline function for this case.
7720 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7721 * bits/byteswap.h: Likewise.
7722 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7723 ull, guard with __GLIBC_HAVE_LONG_LONG.
7724
7725 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7726 __GLIBC_HAVE_LONG_LONG.
7727
7728 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7729 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7730
39c59c35
TMQMF
77312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7732
7733 [BZ #13691]
7734 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7735 inptr and inend, rather than using last_ch.
7736
135ffda8
DM
77372012-04-02 David S. Miller <davem@davemloft.net>
7738
7739 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7740 * stdio-common/printf-parse.h (read_int): Change return type to
7741 'int', return -1 on INT_MAX overflow.
7742 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7743 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7744 overflows INT_MAX. Check for overflow of in-format-string precision
7745 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7746 SIZE_MAX not INT_MAX for integer overflow test.
7747 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7748 skip the construct in the format string but do not record anything.
7749 * stdio-common/bug22.c: Adjust to test both width/prevision
7750 INT_MAX overflow as well as total length INT_MAX overflow. Check
7751 explicitly for proper errno values.
7752
228c019e
TS
77532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7754
302cadd3
TS
7755 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7756 CHAR_MAX.
7757 * string/test-strcmp.c [! WIDE]: Likewise.
7758 * time/tst-mktime2.c: Likewise for INT_MAX.
7759 * string/test-string.h: #include <sys/param.h> for MIN.
7760
228c019e
TS
7761 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7762 * sysdeps/i386/init-first.c (init): Likewise.
7763 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7764 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7765 * sysdeps/sh/init-first.c (init): Likewise.
7766
cfa633f5
UD
77672012-04-01 Ulrich Drepper <drepper@gmail.com>
7768
7769 * po/ru.po: Update from translation team.
d1635ef8 7770 * po/vi.po: Likewise.
cfa633f5 7771
6cd0a5ea
SP
77722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7773
7774 * resolv/nss_dns/dns-host.c: Merge copyright years.
7775
4b43400f
LD
77762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7777
7778 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7779 Optimize memcpy with prefetch if
7780 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7781 src, dst pointers have unequal 16 byte alignments.
7782
48c41d04
SP
77832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7784
7785 [BZ #13928]
7786 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7787 from a CNAME entry and return the minimum ttl for the query.
7788 (gaih_getanswer_slice): Likewise.
7789
b8dc394d
JL
77902012-03-30 Jeff Law <law@redhat.com>
7791
7792 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7793 due to long keys.
7794 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7795 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7796
2f5a5ed0
JL
7797 * resolv/nss_dns/dns-host.c: Update copyright year.
7798
1d39e359
UD
77992012-03-30 Ulrich Drepper <drepper@gmail.com>
7800
c030f70c 7801 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7802 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7803
1d39e359
UD
7804 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7805 comments for sendmmsg.
7806
78072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7808
7809 [BZ #13691]
7810 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7811 with only 1 character between 0x0041 and 0x01b0.
7812 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7813 * wcsmbs/tst-mbsnrtowcs.c: New file.
7814
20fde227
DM
78152012-03-29 David S. Miller <davem@davemloft.net>
7816
7817 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7818 small copies by hand.
7819
984a4237
JL
78202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7821
7822 [BZ #13761]
7823 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7824 _nss_compat_initgroups_dyn): Fall back to malloc/free
7825 for large group memberships.
7826
18c9d62b
DM
78272012-03-28 David S. Miller <davem@davemloft.net>
7828
88d85d4f
DM
7829 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7830 that branches into memcpy.
7831 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7833 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7834 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7836 bits.
7837 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7838 implementation too.
7839 * sysdeps/sparc/mempcpy.S: New file.
7840
e5aa83e1
DM
7841 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7842 the IFUNC routine in the libc case.
7843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7844
88570753
DM
7845 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7846 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7847 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7848 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7849 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7850 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7851 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7852 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7853
249d7567
DM
7854 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7855 loop to 256 bytes instead of 64 bytes and fix test signedness.
7856
18c9d62b
DM
7857 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7858 * sysdeps/sparc/sparc32/Makefile: rather than here...
7859 * sysdeps/sparc/sparc64/Makefile: and here.
7860
05f3d1f6
UD
78612012-03-28 Ulrich Drepper <drepper@gmail.com>
7862
7863 * malloc/mallocbug.c: Avoid warnings about unused variables.
7864
86ae07a8
JL
78652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7866
7867 [BZ #13760]
7868 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7869 in the right place. Discard and retry query if response is
7870 larger than input buffer size.
7871
41bf21a1
JM
78722012-03-28 Joseph Myers <joseph@codesourcery.com>
7873
d6270972
JM
7874 [BZ #369]
7875 [BZ #2678]
7876 [BZ #3866]
7877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7878 x for large integer exponent.
7879 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7880 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7881 sign of result as needed afterwards.
7882 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7883 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7884 result for underflowing pow the same as for overflow.
7885 (__kernel_standard_l): Handle powl overflow and underflow here
7886 rather than calling __kernel_standard.
7887 * math/libm-test.inc (pow_test): Add more tests.
7888
414fca03 7889 [BZ #3868]
41bf21a1
JM
7890 [BZ #13879]
7891 [BZ #13910]
7892 [BZ #13911]
7893 [BZ #13912]
7894 [BZ #13913]
7895 [BZ #13915]
7896 [BZ #13916]
7897 [BZ #13917]
7898 [BZ #13918]
7899 [BZ #13919]
7900 [BZ #13920]
7901 [BZ #13921]
7902 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7903 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7904 (__kernel_standard_l): New function.
7905 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7906 __kernel_standard.
7907 * math/w_acosl.c (__acosl): Likewise.
7908 * math/w_asinl.c (__asinl): Likewise.
7909 * math/w_atan2l.c (__atan2l): Likewise.
7910 * math/w_atanhl.c (__atanhl): Likewise.
7911 * math/w_coshl.c (__coshl): Likewise.
7912 * math/w_exp10l.c (__exp10l): Likewise.
7913 * math/w_exp2l.c (__exp2l): Likewise.
7914 * math/w_fmodl.c (__fmodl): Likewise.
7915 * math/w_hypotl.c (__hypotl): Likewise.
7916 * math/w_j0l.c (__j0l, __y0l): Likewise.
7917 * math/w_j1l.c (__j1l, __y1l): Likewise.
7918 * math/w_jnl.c (__jnl, __ynl): Likewise.
7919 * math/w_lgammal.c (__lgammal): Likewise.
7920 * math/w_log10l.c (__log10l): Likewise.
7921 * math/w_log2l.c (__log2l): Likewise.
7922 * math/w_logl.c (__logl): Likewise.
7923 * math/w_powl.c (__powl): Likewise.
7924 * math/w_remainderl.c (__remainderl): Likewise.
7925 * math/w_scalbl.c (sysv_scalbl): Likewise.
7926 * math/w_sinhl.c (__sinhl): Likewise.
7927 * math/w_sqrtl.c (__sqrtl): Likewise.
7928 * math/w_tgammal.c (__tgammal): Likewise.
7929 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7930 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7931 * math/libm-test.inc (acos_test): Add more tests.
7932 (acosh_test): Likewise.
7933 (asin_test): Likewise.
7934 (atanh_test): Likewise.
7935 (exp_test): Likewise.
7936 (exp10_test): Likewise.
7937 (exp2_test): Likewise.
7938 (expm1_test): Likewise.
7939 (lgamma_test): Likewise.
7940 (log_test): Likewise.
7941 (log10_test): Likewise.
7942 (log1p_test): Likewise.
7943 (log2_test): Likewise.
7944 (pow_test): Do not allow some spurious overflow exceptions.
7945 (sqrt_test): Add more tests.
7946 (tgamma_test): Likewise.
7947 (y0_test): Likewise.
7948 (y1_test): Likewise.
7949 (yn_test): Likewise.
7950
dd62fda6
AB
79512012-03-27 Anton Blanchard <anton@samba.org>
7952
7953 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7954 MAP_HUGETLB.
7955 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7956 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7957 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7958
1e3cdfda
AJ
79592012-03-27 David S. Miller <davem@davemloft.net>
7960
b855ab85
DM
7961 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7962
1e3cdfda
AJ
7963 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7964 have-as-vis3 check.
7965
79662012-03-27 Andreas Jaeger <aj@suse.de>
7967
7968 * sysdeps/x86_64/elf/configure.in: Moved to ...
7969 * sysdeps/x86_64/configure.in: ... here.
7970 * sysdeps/x86_64/elf/start.S: Moved to ...
7971 * sysdeps/x86_64/start.S: ... here.
7972 * sysdeps/x86_64/elf/configure: Delete.
7973
7974 * sysdeps/x86_64/configure.in: Merge contents from
7975 sysdeps/i386/configure.in (without i686 check).
7976
7977 * sysdeps/i386/elf/Versions: Merge into ...
7978 * sysdeps/i386/Versions: ... this.
7979 * sysdeps/i386/elf/Versions: Delete file.
7980 * sysdeps/i386/elf/start.S: Moved to ...
7981 * sysdeps/i386/start.S: ...here.
7982 * sysdeps/i386/elf/configure.in: Merge into...
7983 * sysdeps/i386/configure.in: ...here.
7984 * sysdeps/i386/elf/configure.in: Delete file.
7985 * sysdeps/i386/elf/configure: Delete file.
7986
7987 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7988 * debug/backtracesyms.c: ... here.
7989 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7990 * debug/backtracesymsfd.c: ... here.
7991 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7992 * sysdeps/generic/ifunc-sel.h: ... here.
7993
7994 * sysdeps/unix/i386/start.c: Delete file.
7995 * sysdeps/unix/sparc/start.c: Delete file.
7996 * sysdeps/unix/start.c: Delete file.
7997
7998 * sysdeps/sh/elf/configure.in: Moved to ...
7999 * sysdeps/sh/configure.in: ... here.
8000 * sysdeps/sh/elf/start.S: Moved to ...
8001 * sysdeps/sh/start.S: ... here.
8002 * sysdeps/sh/elf/configure: Delete file.
8003
8004 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8005 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8006 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8007 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8008 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8009 * sysdeps/powerpc/powerpc64/start.S: here.
8010 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8011 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8012 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8013 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8014 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8015
8016 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8017 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8018 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8019 * sysdeps/powerpc/powerpc32/start.S: ... here.
8020 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8021 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8022 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8023
8024 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8025 * sysdeps/powerpc/ifunc-sel.h: ... here.
8026 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8027 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8028
8029 * sysdeps/sparc/elf/configure.in: Moved to ...
8030 * sysdeps/sparc/configure.in: ... here.
8031 * sysdeps/sparc/elf/configure: Delete file.
8032 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8033 * sysdeps/sparc/sparc32/start.S: ... here.
8034 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8035 * sysdeps/sparc/sparc64/start.S: ... here.
8036 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8037 * sysdeps/sparc/sparc32/Makefile: ... this.
8038 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8039 * sysdeps/sparc/sparc64/Makefile: ... this.
8040
8041 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8042 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8043 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8044 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8045 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8046 * sysdeps/s390/s390-32/setjmp.S: ... here.
8047 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8048 * sysdeps/s390/s390-32/configure.in: ... here.
8049 * sysdeps/s390/s390-32/elf/configure: Delete file.
8050 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8051 * sysdeps/s390/s390-32/start.S: ... here.
8052
8053 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8054 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8055 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8056 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8057 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8058 * sysdeps/s390/s390-64/setjmp.S: ... here.
8059 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8060 * sysdeps/s390/s390-64/configure.in: ... here
8061 * sysdeps/s390/s390-64/elf/configure: Delete file.
8062 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8063 * sysdeps/s390/s390-64/start.S: ... here.
8064 * sysdeps/s390/s390-64/elf/configure: Delete.
8065
8066 * configure.in: Remove support for elf directories in sysdeps.
8067
8068 * configure: Regenerated.
8069 * sysdeps/i386/configure: Regenerated.
8070 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8071 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8072 * sysdeps/s390/s390-32/configure: Regenerated.
8073 * sysdeps/s390/s390-64/configure: Regenerated.
8074 * sysdeps/sh/configure: Regenerated.
8075 * sysdeps/sparc/configure: Regenerated.
8076 * sysdeps/x86_64/configure: Regenerated.
8077
a3f61311
AS
80782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8079
c876e002
AS
8080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8081
a3f61311
AS
8082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8083 denormal result into account.
8084
ac4c54f0
RM
80852012-03-25 Roland McGrath <roland@hack.frob.com>
8086
8087 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8088 Reported by Allan McRae <allan@archlinux.org>.
8089
6a9b9c02
JL
80902012-03-23 Jeff Law <law@redhat.com>
8091
8092 * nss/getnssent.c (__nss_getent): Fix typo.
8093
4c42a0c1
DM
80942012-03-23 David S. Miller <davem@davemloft.net>
8095
8096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8097
1532c7ac
L
80982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8099
8100 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8101 to pad to uint64_t for each field.
8102 (dl_tls_index): Replace unsigned long with uint64_t.
8103
3ff42526
PP
81042012-03-23 Daniel Jacobowitz <dmj@google.com>
8105 Paul Pluzhnikov <ppluzhnikov@google.com>
8106
8107 [BZ #6528]
8108 * grp/Makefile (otherlibs): Don't set it.
8109 * inet/Makefile (otherlibs): Likewise.
8110 * login/Makefile (otherlibs): Likewise.
8111 * nscd/Makefile (otherlibs): Likewise.
8112 * posix/Makefile (otherlibs): Likewise.
8113 * pwd/Makefile (otherlibs): Likewise.
8114 * rt/Makefile (otherlibs): Likewise.
8115 * sunrpc/Makefile (otherlibs): Likewise.
8116 * nss/Makefile (otherlibs): Likewise.
8117 Add libnss_files to routines and static-only-routines.
8118 ($(objpfx)getent): Remove rule.
8119 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8120 static-only-routines.
8121
7c69cd14
JM
81222012-03-22 Joseph Myers <joseph@codesourcery.com>
8123
8124 [BZ #13892]
8125 * math/s_cexp.c: Include <float.h>.
8126 (__cexp): Handle exp result overflowing not necessarily
8127 overflowing both real and imaginary parts of result.
8128 * math/s_cexpf.c: Likewise.
8129 * math/s_cexpl.c: Likewise.
8130 * math/libm-test.inc (cexp_test): Add more tests.
8131 * sysdeps/i386/fpu/libm-test-ulps: Update.
8132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8133
81b035fe
L
81342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8135
8136 * include/link.h (ELFW): New macro.
8137 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8138 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8139
1da7940c
L
81402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8141
8142 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8143 with uint64_t.
8144
b749dbb9
L
81452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8146
8147 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8148 declaration.
8149 (struct La_x32_retval): Likewise.
8150
2ff87f3f
L
81512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8152
8153 * sysdeps/x86_64/preconfigure.in: New file.
8154 * sysdeps/x86_64/preconfigure: New generated file.
8155
c0df8e69
JM
81562012-03-22 Joseph Myers <joseph@codesourcery.com>
8157
48e44791
JM
8158 [BZ #13824]
8159 * math/e_exp2l.c: Include <float.h>.
8160 (__ieee754_exp2l): Handle overflow and underflow cases
8161 separately. Only pass fractional part of argument to
8162 __ieee754_expl.
8163 * math/libm-test.inc (exp2_test): Add more tests.
8164
c0df8e69
JM
8165 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8166 negating x to take absolute value.
8167 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8168 Likewise.
8169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8170 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8171 Likewise.
8172 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8173 computing low part if x was negated.
8174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8175
c8e43ba7
L
81762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8177
8178 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8179 la_x32_gnu_pltexit.
8180 (pltexit): Cast int_retval to ptrdiff_t.
8181 * elf/tst-auditmod3b.c: Likewise.
8182 * elf/tst-auditmod4b.c: Likewise.
8183 * elf/tst-auditmod5b.c: Likewise.
8184 * elf/tst-auditmod6b.c: Likewise.
8185 * elf/tst-auditmod6c.c: Likewise.
8186 * elf/tst-auditmod7b.c: Likewise.
8187
8188 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8189 and x32_gnu_pltexit.
8190
8191 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8192 __ELF_NATIVE_CLASS.
8193 (La_x32_regs): New macro.
8194 (La_x32_retval): Likewise.
8195 (la_x32_gnu_pltenter): New function prototype.
8196 (la_x32_gnu_pltexit): Likewise.
8197
7998fa78
AS
81982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8199
dcb33988
AS
8200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8201 exponent.
8202
233fc563
AS
8203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8204
7998fa78
AS
8205 * configure.in (libc_cv_cc_nofma): Check for option to disable
8206 generation of FMA instructions.
8207 * configure: Regenerate.
8208 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8209 * sysdeps/ieee754/dbl-64/Makefile: New file.
8210 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8211 Remove brandred-fma4.
8212 (CFLAGS-brandred-fma4.c): Remove.
8213 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8214 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8215 define.
8216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8217 define.
8218
8e95c99a
L
82192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8220
8221 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8222 LLONG_MAX != LONG_MAX.
8223 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8224 (_fitoa_word): Likewise.
8225 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8226 LLONG_MAX != LONG_MAX.
8227 * stdio-common/_itowa.h: Include <_itoa.h>.
8228 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8229 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8230 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8231 only if not defined.
8232 (_ITOA_WORD_TYPE): Likewise.
8233 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8234 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8235
6f4db457
DM
82362012-03-21 David S. Miller <davem@davemloft.net>
8237
8238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8239
7785fe5a
L
82402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8243 of x86_64 when setting libc_cv_slibdir, libdir and
8244 libc_cv_localedir.
8245 * sysdeps/unix/sysv/linux/configure: Regenerated.
8246
4535cd55
JM
82472012-03-21 Joseph Myers <joseph@codesourcery.com>
8248
8249 * manual/lang.texi (Old Varargs): Remove section.
8250 (How Variadic): Update menu.
8251 (va_start): Do not mention varargs.h.
8252
17228132
TS
82532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8254 Joseph Myers <joseph@codesourcery.com>
8255
8256 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8257 link test.
8258 * configure: Regenerated.
8259
8149f976
TS
82602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8261
05f3d1f6
UD
8262 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8263 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8264 conformtest.pl
8149f976 8265
1a4ac776
JM
82662012-03-21 Joseph Myers <joseph@codesourcery.com>
8267
be22ce65
JM
8268 * NOTES: Remove.
8269 * Makefile (files-for-dist): Remove NOTES.
8270 (NOTES): Remove rule.
8271 * README: Don't refer to NOTES.
8272 * manual/creature.texi: Don't include macros.texi.
8273 * manual/intro.texi (creature.texi): Remove comment referring to
8274 NOTES.
8275
40b601fb
JM
8276 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8277 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8278 * configure: Regenerated.
8279 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8280 LIBC_TRY_CC_OPTION.
8281 (libc_cv_as_i686): Likewise.
8282 (libc_cv_cc_avx): Likewise.
8283 (libc_cv_cc_sse2avx): Likewise.
8284 (libc_cv_cc_fma4): Likewise.
8285 (libc_cv_cc_novzeroupper): Likewise.
8286 * sysdeps/i386/configure: Regenerated.
8287
1a4ac776
JM
8288 [BZ #13883]
8289 * sysdeps/i386/fpu/s_cexp.S: Remove.
8290 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8291 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8292 * math/libm-test.inc (cexp_test): Add more tests.
8293 * sysdeps/i386/fpu/libm-test-ulps: Update.
8294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8295
a458e7fe
AM
82962012-03-21 Allan McRae <allan@archlinux.org>
8297
8298 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8299
0cb7efc5
JM
83002012-03-21 Joseph Myers <joseph@codesourcery.com>
8301
8302 [BZ #13871]
8303 * math/w_exp2.c: Do not include <float.h>.
8304 (o_threshold, u_threshold): Remove.
8305 (__exp2): Calculate result before checking finiteness and calling
8306 __kernel_standard.
8307 * math/w_exp2f.c: Likewise.
8308 * math/w_exp2l.c: Likewise.
8309 * math/libm-test.inc (exp2_test): Require overflow exception for
8310 1e6 input.
2460d3aa
JM
8311
8312 [BZ #3866]
8313 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8314 range of signed 64-bit integers before using fistpll. Remove
8315 checks for whether integers fit in mantissa bits.
8316 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8317 the range of signed 32-bit integers before using fistpl. Remove
8318 checks for whether integers fit in mantissa bits.
8319 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8320 (__ieee754_powl): Test for y outside the range of signed 64-bit
8321 integers before using fistpll. Reduce 64-bit values to 63-bit
8322 ones as needed.
8323 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8324 divide-by-zero is raised for zero to large negative powers.
8325 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8326 (__ieee754_powl): Test for y outside the range of signed 64-bit
8327 integers before using fistpll. Reduce 64-bit values to 63-bit
8328 ones as needed.
8329 * math/libm-test.inc (pow_test): Add more tests.
8330
eb96ffb0
L
83312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8332
8333 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8334 <stdio-common/_itoa.h>.
8335 * debug/segfault.c: Likewise.
8336 * elf/dl-cache.c: Likewise.
8337 * elf/dl-minimal.c: Likewise.
8338 * elf/dl-misc.c: Likewise.
8339 * elf/dl-sysdep.c: Likewise.
8340 * elf/dl-version.c: Likewise.
8341 * elf/rtld.c: Likewise.
8342 * hurd/hurdsock.c: Likewise.
8343 * hurd/lookup-retry.c: Likewise.
8344 * malloc/malloc.c: Likewise.
8345 * malloc/mtrace.c: Likewise.
8346 * nscd/nscd_getgr_r.c: Likewise.
8347 * nscd/nscd_getpw_r.c: Likewise.
8348 * nscd/nscd_getserv_r.c: Likewise.
8349 * posix/getopt_init.c: Likewise.
8350 * posix/wordexp.c: Likewise.
8351 * stdio-common/_itoa.c: Likewise.
8352 * stdio-common/printf_fphex.c: Likewise.
8353 * stdio-common/vfprintf.c: Likewise.
8354 * string/_strerror.c: Likewise.
8355 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8356 * sysdeps/i386/i686/hp-timing.h: Likewise.
8357 * sysdeps/mach/_strerror.c: Likewise.
8358 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8359 * sysdeps/mach/hurd/sethostid.c: Likewise.
8360 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8361 * sysdeps/mach/xpg-strerror.c: Likewise.
8362 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8363 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8364 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8365 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8366 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8367 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8368 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8369 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8370 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8371 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8372 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8373 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8374 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8375 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8376 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8377 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8378 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8380 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8381 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8382 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8383
8384 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8385
8386 * stdio-common/_itoa.h: Moved to ...
8387 * sysdeps/generic/_itoa.h: Here.
8388
8389 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8390
8391 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8392 instead of "_itoa.h" and "_itowa.h".
8393 * stdio-common/vfprintf.: Likewise.
8394
d1af992d
L
83952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8398 <bits/wordsize.h>.
8399 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8400 (__signbit): Likwise.
8401 (llrintf): Likwise.
8402 (llrint): Likwise.
8403
114883e0
L
84042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8405
8406 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8407 __WORDSIZE != 64.
8408
c135cc1b
JM
84092012-03-20 Joseph Myers <joseph@codesourcery.com>
8410
8411 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8412 OVERFLOW_EXCEPTION_OK.
8413 * math/libm-test.inc ("Philosophy"): Update comment about
8414 exception testing.
8415 (OVERFLOW_EXCEPTION): Define.
8416 (OVERFLOW_EXCEPTION_OK): Likewise.
8417 (INVALID_EXCEPTION_OK): Renumber.
8418 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8419 (IGNORE_ZERO_INF_SIGN): Likewise.
8420 (test_exceptions): Handle FE_OVERFLOW.
8421 (exp10_test): Expect overflow exceptions.
8422 (exp2_test): Likewise.
8423 (expm1_test): Likewise.
8424 (nextafter_test): Likewise.
8425 (pow_test): Likewise.
8426 (scalbn_test): Likewise.
8427 (scalbln_test): Likewise.
8428
95443d88
L
84292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 * sysdeps/x86_64/bits/atomic.h
8432 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8433 64bit integer.
8434 (atomic_exchange_acq): Likewise.
8435 (__arch_exchange_and_add_body): Likewise.
8436 (__arch_add_body): Likewise.
8437 (atomic_add_negative): Likewise.
8438 (atomic_add_zero): Likewise.
8439
490df6c4
L
84402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8441
c2722551 8442 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8443 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8444
5e52b189
L
84452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8446
8447 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8448 Check __x86_64__ instead of __WORDSIZE.
8449
a9879d4c
L
84502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8451
8452 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8453
5df98260
DM
84542012-03-19 David S. Miller <davem@davemloft.net>
8455
e1497744
DM
8456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8457
5df98260
DM
8458 * sysdeps/sparc/fpu/fenv_private.h: New file.
8459 * sysdeps/sparc/fpu/math_private.h: Use it.
8460 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8461 Remove.
8462 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8463 (libc_feholdexcept_setroundl): Remove.
8464 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8465 Remove.
8466 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8467 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8468
b4c35121
L
84692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8470
8471 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8472 int64_t instead of long int.
8473 (INSERT_WORDS64): Likwise.
8474
56965fd7
L
84752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8478 _Unwind_GetCFA return to _Unwind_Ptr first.
8479
83d1aec8
JM
84802012-03-19 Joseph Myers <joseph@codesourcery.com>
8481
1897ad44
JM
8482 [BZ #13629]
8483 * math/s_clog.c: Include <float.h>.
8484 (__clog): Scale large or subnormal inputs.
8485 * math/s_clogf.c: Likewise.
8486 * math/s_clogl.c: Likewise.
8487 * math/s_clog10.c: Include <float.h>.
8488 (M_LOG10_2): Define.
8489 (__clog10): Scale large or subnormal inputs.
8490 * math/s_clog10f.c: Likewise.
8491 * math/s_clog10l.c: Likewise.
8492 * math/libm-test.inc (clog_test): Add more tests.
8493 (clog10_test): Likewise.
8494 * sysdeps/i386/fpu/libm-test-ulps: Update.
8495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8496
7726d6a9
JM
8497 [BZ #11451]
8498 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8499 x and y.
8500 * math/libm-test.inc (atan2_test): Add another test.
8501
83d1aec8
JM
8502 * Makerules (common-objdir-compile): Remove.
8503 * sysdeps/unix/Makefile (config-generated): Do not add
8504 $(unix-generated) to variable.
8505 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8506 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8507 Remove rule.
8508 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8509 Likewise.
8510 [generic bits/local_lim.h] (before-compile): Do not append to
8511 variable.
8512 [generic bits/local_lim.h] (common-generated): Likewise.
8513 [generic sys/param.h] (before-compile): Do not append to variable.
8514 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8515 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8516 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8517 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8518 include.
8519 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8520 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8521 [generic sys/param.h] ($(addprefix
8522 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8523 [generic sys/param.h] (common-generated): Do not append to
8524 variable.
8525 [generic sys/param.h] (sysdep_headers): Likewise.
8526 [generic bits/errno.h] (before-compile): Do not append to
8527 variable.
8528 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8529 rule.
8530 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8531 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8532 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8533 [generic bits/errno.h] (common-generated): Do not append to
8534 variable.
8535 [generic bits/ioctls.h] (before-compile): Do not append to
8536 variable.
8537 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8538 rule.
8539 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8540 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8541 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8542 rule.
8543 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8544 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8545 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8546 [generic bits/ioctls.h] (common-generated): Do not append to
8547 variable.
8548 [generic sys/syscall.h] (syscall.h): Remove variable.
8549 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8550 rule.
8551 [generic sys/syscall.h] (before-compile): Do not append to
8552 variable.
8553 [generic sys/syscall.h] (common-generated): Likewise.
8554 * sysdeps/unix/errnos-tmpl.c: Remove file.
8555 * sysdeps/unix/errnos.awk: Likewise.
8556 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8557 * sysdeps/unix/ioctls.awk: Likewise.
8558 * sysdeps/unix/mk-local_lim.c: Likewise.
8559 * sysdeps/unix/snarf-ioctls: Likewise.
8560
4851a949
RH
85612012-03-19 Richard Henderson <rth@twiddle.net>
8562
bd37f2ee
RH
8563 * sysdeps/i386/fpu/fenv_private.h: New file.
8564 * sysdeps/i386/fpu/math_private.h: Use it.
8565 (math_opt_barrier, math_force_eval): Remove.
8566 (libc_feholdexcept_setround_53bit): Remove.
8567 (libc_feupdateenv_53bit): Remove.
8568 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8569 (math_opt_barrier, math_force_eval): Remove.
8570 (libc_feholdexcept): Remove.
8571 (libc_feholdexcept_setround): Remove.
8572 (libc_fetestexcept, libc_fesetenv): Remove.
8573 (libc_feupdateenv_test): Remove.
8574 (libc_feupdateenv, libc_feholdsetround): Remove.
8575 (libc_feresetround): Remove.
8576
d0adc922
RH
8577 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8578 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8579
0fe0f1f8
RH
8580 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8581 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8582 (libc_feupdateenv_testl): New.
8583 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8584 (libc_feupdateenv_testf): New.
8585 (libc_feupdateenv): Use libc_feupdateenv_test.
8586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8588
eb92c487
RH
8589 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8590 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8591 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8592 (libc_feresetround_noex): New.
8593 (libc_feresetround_noexf): New.
8594 (libc_feresetround_noexl): New.
8595 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8596 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8597 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8598 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8599 SET_RESTORE_ROUND.
8600 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8602 (__cos): Likewise.
8603 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8605 SET_RESTORE_ROUND_NOEX.
8606 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8607 SET_RESTORE_ROUND_NOEXF.
8608 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8609 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8610 (libc_feholdsetroundf): New.
8611 (libc_feresetround, libc_feresetroundf): New.
8612
7d2e8012
RH
8613 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8614 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8615 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8616
b4dabbb4
RH
8617 * sysdeps/generic/math_private.h: Include <fenv.h>.
8618 (default_libc_feholdexcept): New.
8619 (default_libc_feholdexcept_setround): New.
8620 (default_libc_fesetenv, default_libc_feupdateenv): New.
8621 (libc_feholdexcept): Only define if undefined.
8622 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8623 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8624 (libc_feholdexcept_setroundl): Likewise.
8625 (libc_feholdexcept_setround_53bit): Likewise.
8626 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8627 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8628 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8629 (libc_feupdateenv_53bit): Likewise.
8630 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8631 (libc_feholdexcept): Convert from macro to inline function.
8632 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8633 (libc_fesetenv, libc_feupdateenv): Likewise.
8634
4851a949
RH
8635 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8636 not previously defined.
8637 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8638 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8639 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8640 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8641 * sysdeps/ieee754/flt-32/math_private.h: New file.
8642 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8643 math_private.h below SET_FLOAT_WORD.
8644 (__isnan, __isinf_ns, __finite): Remove.
8645 (__isnanf, __isinf_nsf, __finitef): Remove.
8646
e79d442e
AS
86472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8648
8649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8650
90b80344
DM
86512012-03-17 David S. Miller <davem@davemloft.net>
8652
8653 [BZ #6471]
8654 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8655 for 2.16.
8656
edc21804
DM
86572012-03-16 David S. Miller <davem@davemloft.net>
8658
77e927af
DM
8659 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8660 warnings.
8661
374976dd
DM
8662 [BZ #6471]
8663 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8664 properly.
8665 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8666 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8667 sysdep_routines when subdir is sysvipc.
8668 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8669 __getshmlba helper.
8670
edc21804
DM
8671 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8672
473c3ef3
L
86732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8674
8675 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8676 [__LP64__].
8677
eb0f39b6
L
86782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8679
8680 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8681 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8682 (__lround): Renamed to ...
8683 (__llround): This. Replace long int with long long int.
8684 Define lround functions as aliases of llround functions.
8685 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8686
6b6cd74b
L
86872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8688
8689 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8690 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8691 adresses to uintptr_t. Replace "long int" and "unsigned long
8692 int" with "greg_t" on va_arg.
8693
f1a77b01
L
86942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8695
8696 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8697 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8698
8699 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8700 Move e_machine check before EI_CLASS check. Handle x32
8701 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8702 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8703 SKIP_EM_IA_64 and include
8704 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8705
8706 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8707 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8708 (add_system_dir): New macro.
8709
8710 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8711 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8712
11b90b9f
JM
87132012-03-16 Joseph Myers <joseph@codesourcery.com>
8714
c36e1d23
JM
8715 [BZ #2551]
8716 [BZ #2552]
8717 [BZ #2553]
8718 [BZ #2554]
8719 [BZ #2562]
8720 [BZ #2563]
8721 [BZ #2565]
8722 [BZ #2566]
8723 [BZ #2576]
8724 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8725 (y0): Likewise.
8726 * math/w_j0f.c (j0f): Likewise.
8727 (y0f): Likewise.
8728 * math/w_j0l.c (__j0l): Likewise.
8729 (__y0l): Likewise.
8730 * math/w_j1.c (j1): Likewise.
8731 (y1): Likewise.
8732 * math/w_j1f.c (j1f): Likewise.
8733 (y1f): Likewise.
8734 * math/w_j1l.c (__j1l): Likewise.
8735 (__y1l): Likewise.
8736 * math/w_jn.c (jn): Likewise.
8737 (yn): Likewise.
8738 * math/w_jnf.c (jnf): Likewise.
8739 (ynf): Likewise.
8740 * math/w_jnl.c (__jnl): Likewise.
8741 (__ynl): Likewise.
8742 * math/libm-test.inc (j0_test): Add more tests.
8743 (j1_test): Likewise.
8744 (jn_test): Likewise. Add trailing semicolon to existing test.
8745 (y0_test): Likewise.
8746 (y1_test): Likewise.
8747 * sysdeps/i386/fpu/libm-test-ulps: Update.
8748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8749
11b90b9f
JM
8750 [BZ #13851]
8751 [BZ #13854]
8752 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8753 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8754 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8755 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8756 (__tanl): Set errno for infinite argument.
8757 * sysdeps/i386/fpu/mptan.c: Remove.
8758 * sysdeps/i386/fpu/s_tan.S: Likewise.
8759 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8760 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8761 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8762 * math/libm-test.inc (tan_test): Add more tests and enable more
8763 tests for double and long double.
8764 * sysdeps/i386/fpu/libm-test-ulps: Update.
8765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8766
6a1bd2a1
JK
87672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8768
8769 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8770 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8771
10a803e0
RM
87722012-03-16 Roland McGrath <roland@hack.frob.com>
8773
8774 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8775 * configure.in: Use it for both main tree and add-ons.
8776 * configure: Regenerated.
8777
f196c7f7
L
87782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8779
8780 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8781
8848d99d
JM
87822012-03-16 Joseph Myers <joseph@codesourcery.com>
8783
96cbe7f4
JM
8784 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8785 in comment.
8786
8848d99d
JM
8787 [BZ #13851]
8788 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8789 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8793 infinite argument.
8794 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8796 != 0 for prec == 2.
8797 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8798 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8799 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8800 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8801 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8802 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8803 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8804 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8805 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8806 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8807 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8808 * math/libm-test.inc (cos_test): Add more tests and enable more
8809 tests for long double.
8810 (sin_test): Likewise.
8811 (sincos_test): Likewise.
8812 * sysdeps/i386/fpu/libm-test-ulps: Update.
8813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8814
dd7f4703
DM
88152012-03-16 David S. Miller <davem@davemloft.net>
8816
8817 * sysdeps/sparc/fpu/math_private.h: New file.
8818
006f1daa
DM
88192012-03-15 David S. Miller <davem@davemloft.net>
8820
c0c83bc8
DM
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8822 file.
e6a62e18 8823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8825 file.
e6a62e18
DM
8826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8831 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8832 sysdep routines.
8833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8834
88cb87d9
DM
8835 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8836 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8837
006f1daa 8838 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8840 sparc-ifunc.h
006f1daa 8841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8843 Likewise.
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8845 Likewise.
006f1daa
DM
8846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8850 Likewise.
006f1daa
DM
8851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8856 Likewise.
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8858 Likewise.
006f1daa
DM
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8881 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8882 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8883
11e0098e
AS
88842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8885
8886 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8887 scaling.
8888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8889
e85b09d0
AJ
88902012-03-15 Andreas Jaeger <aj@suse.de>
8891
8892 [BZ #13852]
8893 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8894 ieee754/flt-32 implementation for sin, cos and sincos.
8895 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8896 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8897 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8898 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8899 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8900 ieee754/flt-32 implementation for tan.
8901
8902 * math/libm-test.inc (cos_test): Enable some large input tests for
8903 float as well
8904 (sin_test): Likewise.
8905 (sincos_test): Likewise.
8906 (tan_test): Add tests for large input.
8907
8908 * sysdeps/i386/fpu/libm-test-ulps: Update.
8909
81c64153
AJ
89102012-03-15 Andreas Jaeger <aj@suse.de>
8911
8912 [BZ #13658]
8913 * math/libm-test.inc (cos_test): Add more test cases.
8914 (sin_test): Likewise.
8915 (sincos_test): Likewise.
8916
7bbfa5c6
AJ
89172012-03-15 Andreas Jaeger <aj@suse.de>
8918
8919 [BZ #13837]
8920 * math/libm-test.inc (cos_test): Add a test case for large input
8921 value.
8922 (sin_test): Likewise.
8923 (sincos_test): Likewise.
8924
89252012-03-15 Andreas Jaeger <aj@suse.de>,
8926 Joseph Myers <joseph@codesourcery.com>
8927
8928 [BZ #13658]
0671f479 8929 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8930 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8931 * sysdeps/i386/fpu/branred.c: Likewise.
8932 * sysdeps/i386/fpu/dosincos.c: Likewise.
8933 * sysdeps/i386/fpu/mpa.c: Likewise.
8934 * sysdeps/i386/fpu/s_cos.S: Likewise.
8935 * sysdeps/i386/fpu/s_sin.S: Likewise.
8936 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8937 * sysdeps/i386/fpu/sincos32.c: Likewise.
8938
8939 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8940 Define.
8941 (libc_feupdateenv_53bit): Define.
8942 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8943 Define.
8944 (libc_feupdateenv_53bit): Define.
8945
8946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8947 53 bit (without extend i386 double precision).
8948
8949 * math/libm-test.inc (sincos_test): Add tests for large input.
8950 (sin): Likewise.
8951 (cos): Likewise.
8952
8953 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8954
9cad04ea
AS
89552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8956
8957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8958
f7062b9a
DM
89592012-03-15 David S. Miller <davem@davemloft.net>
8960
8961 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8962 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8963 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8964 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8971 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8977 file.
f7062b9a 8978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8980 file.
f7062b9a 8981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8983 file.
f7062b9a 8984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8986 file.
f7062b9a
DM
8987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8989 fmin/fmax sysdep routines.
8990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8991
7bd951ff
DM
89922012-03-14 David S. Miller <davem@davemloft.net>
8993
559398ab
DM
8994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9001 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9016 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9017 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9023 routines.
9024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9025 file.
559398ab 9026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9028 file.
559398ab 9029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9031 file.
559398ab 9032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9034 file.
559398ab 9035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9037 file.
559398ab 9038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9040 file.
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9042 file.
9043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9044 file.
9045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9046 file.
9047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9048 New file.
9049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9050 file.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9052 file.
559398ab 9053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9055 file.
559398ab 9056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9058 file.
559398ab 9059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9061 file.
559398ab 9062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9064 VIS3 routines.
559398ab
DM
9065
9066 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9067 New file.
9068
5a1c1e32
DM
9069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9070
eae47a36
DM
9071 * sysdeps/sparc/configure.in: New file.
9072 * sysdeps/sparc/configure: Generate.
9073 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9074 * configure: Regenerate.
9075 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9076 * config.make.in (have-as-vis3): New.
9077 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9078 available use -Av9d instead of -Av9a.
9079 * sysdeps/sparc/sparc64/Makefile: Likewise.
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9082 New file.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9084 file.
9085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9086 New file.
9087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9088 file.
eae47a36
DM
9089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9093 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9094
c0c83bc8
DM
9095 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9096 fzeros/fnegs to load 0x80000000 into a float register instead of
9097 using the stack.
7bd951ff
DM
9098 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9099
bd951ccb
JM
91002012-03-14 Joseph Myers <joseph@codesourcery.com>
9101
9102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9103 bits/syscall.h.
9104 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9105 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9106 ($(inst_includedir)/bits/syscall.h): Remove rule.
9107 ($(objpfx)bits/syscall.d): Include instead of
9108 $(objpfx)syscall-list.d.
9109 (generated): Change syscall-list.h and syscall-list.d to
9110 bits/syscall.h and bits/syscall.d.
9111
bb4e6db2
RM
91122012-03-14 Roland McGrath <roland@hack.frob.com>
9113
9114 [BZ #13846]
9115 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9116
aa4a2ae1
JM
91172012-03-14 Joseph Myers <joseph@codesourcery.com>
9118
e456826d
JM
9119 [BZ #13841]
9120 * math/s_csqrt.c: Include <float.h>.
9121 (__csqrt): Scale large or subnormal inputs.
9122 * math/s_csqrtf.c: Likewise.
9123 * math/s_csqrtl.c: Likewise.
9124 * math/libm-test.inc (csqrt_test): Add more tests.
9125 * sysdeps/i386/fpu/libm-test-ulps: Update.
9126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9127
aa4a2ae1
JM
9128 [BZ #13840]
9129 * math/libm-test.inc (hypot_test): Add more tests.
9130
7c10fd35
DM
91312012-03-13 David S. Miller <davem@davemloft.net>
9132
9133 [BZ #13840]
9134 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9135 double-precision for the calculation instead of scaling.
9136
f453b98b
JM
91372012-03-13 Joseph Myers <joseph@codesourcery.com>
9138
9139 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9140 manipulate bits before adding and subtracting TWO52[sx].
9141 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9142 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9143 Likewise.
9144 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9145
09a3453f
DM
91462012-03-13 David S. Miller <davem@davemloft.net>
9147
8e59da90
DM
9148 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9149 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9151 rtld-global-offsets.h
9152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9153
2a8ab7f2
DM
9154 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9155 large parameters.
9156
10f62770
DM
9157 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9158
5f0bdb18
DM
9159 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9160 'err' in the ifdef scope in which it is actually used.
9161
09a3453f
DM
9162 * nss/nss_db/db-init.c: Include string.h
9163
b4b2eb5e
DM
91642012-03-12 David S. Miller <davem@davemloft.net>
9165
98bb2f1c
DM
9166 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9167 masking out of the most significant byte of random value used.
9168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9169 Fix coding style in previous change.
9170
b4b2eb5e
DM
9171 * sysdeps/unix/sysv/linux/kernel-features.h
9172 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9173 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9174 expression.
9175 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9176 later.
9177
6e226b09
DM
91782012-03-11 David S. Miller <davem@davemloft.net>
9179
a1bcbd40
DM
9180 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9181 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9183 for 'resultvar' otherwise things get truncated on 64-bit.
9184
cb9d6174
DM
9185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9186 Fix masking out of the most significant byte of random value used.
9187
6e226b09
DM
9188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9189
058c132d
AS
91902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9191
9192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9193
2d2cd515
DM
91942012-03-09 David S. Miller <davem@davemloft.net>
9195
9196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9197 variables with appropriate CPP guards.
9198 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9199 frame pointer, not the stack pointer. Correct layout comments. Fix test
9200 on resulting framesize and the management of the outregs buffer for pltexit.
9201 Preserve floating point return values across _dl_call_pltexit call.
9202 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9203 framesize and the management of the outregs buffer for pltexit.
9204 Preserve floating point return values across _dl_call_pltexit
9205 call.
9206 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9207 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9208 (print_exit): Fix format string for return register value.
9209
9a07f9d0
JM
92102012-03-10 Joseph Myers <joseph@codesourcery.com>
9211
9212 * sunrpc/Makefile (others): Add rpcgen.
9213 ($(objpfx)rpcgen): Remove special build rule and dependency on
9214 libc.
9215 * sunrpc/rpcgen.c: New file.
9216
547b5e30
PE
92172012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9218
c524201a
PE
9219 [BZ #13673]
9220 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9221 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9222 * sysdeps/i386/crti.S: Likewise.
9223 * sysdeps/i386/crtn.S: Likewise.
9224 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9225 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9226 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9227 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9228 * sysdeps/sh/crti.S: Likewise.
9229 * sysdeps/sh/crtn.S: Likewise.
9230 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9231
7b6235f2
PE
9232 [BZ #13673]
9233 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9234 with URL.
9235 * locale/programs/locfile-kw.gperf: Likewise.
9236 * locale/programs/charmap-kw.h: Regenerated.
9237 * locale/programs/locfile-kw.h: Likewise.
9238
547b5e30
PE
9239 [BZ #13673]
9240 * intl/plural.y: Replace FSF snail mail address with URL.
9241 * intl/plural.c: Regenerated.
9242
5f0a5dae
RH
92432012-03-09 Richard Henderson <rth@twiddle.net>
9244
9245 * include/math_private.h: Remove file.
9246 * math/math_private.h: Move file ...
9247 * sysdeps/generic/math_private.h: ... here.
9248
b8c03620
RH
9249 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9250 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9251 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9252
4e234f5d 9253 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9254 and <math_private.h>.
9255 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9256 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9257 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9258 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9259 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9300 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9301 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9303 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9304 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9305 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9306 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9308 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9343 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9344 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9345 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9346 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9347 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9348 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9349 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9350 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9351 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9352 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9353 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9354 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9355 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9356 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9357 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9358 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9359 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9360 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9361 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9362 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9363 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9365 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9366 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9368 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9369 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9370 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9371 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9372 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9373 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9374 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9375 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9376 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9377 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9378 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9379 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9380 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9381 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9382 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9383 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9384 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9385 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9386 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9387 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9388 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9389 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9390 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9391 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9392 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9393 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9394 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9395 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9396 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9397 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9398 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9399 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9400 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9401 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9402 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9403 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9404 * sysdeps/ieee754/k_standard.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9412 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9417 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9520 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9524 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9526 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9527 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9537 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9555 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9565 * sysdeps/ieee754/s_lib_version.c: Likewise.
9566 * sysdeps/ieee754/s_matherr.c: Likewise.
9567 * sysdeps/ieee754/s_signgam.c: Likewise.
9568 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9569 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9570 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9571 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9572 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9573 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9574 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9575 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9576 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9577 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9578 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9579 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9580 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9581 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9582 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9583 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9584 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9585 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9586 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9588 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9589
1991fa03
JM
95902012-03-09 Joseph Myers <joseph@codesourcery.com>
9591
9592 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9593 * sunrpc/rpc_main.c: Likewise.
9594 * sunrpc/rpc_svcout.c: Likewise.
9595
60d6f5a6
DM
95962012-03-09 David S. Miller <davem@davemloft.net>
9597
9598 * include/math_private.h: New file.
9599
4962050e
JM
96002012-03-09 Joseph Myers <joseph@codesourcery.com>
9601
02a6f887
JM
9602 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9603 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9604 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9605 from <bits/socket_type.h>.
9606 (enum __socket_type): Don't define here.
9607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9609 bits/socket_type.h.
9610
c6e013c1
JM
9611 [BZ #13566]
9612 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9613 checking __USE_GNU.
9614
4962050e
JM
9615 * Makerules ($(inst_includedir)/%.h): New rule.
9616 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9617 (install-others): Remove variable setting.
9618 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9619
38842f45
RH
96202012-03-08 Richard Henderson <rth@twiddle.net>
9621
67bb6da6
RH
9622 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9623 from macro to inline function; merge with the
9624 !__LIBC_INTERNAL_MATH_INLINES version.
9625 (__ieee754_sqrtf): Likewise.
9626
15194b4b
RH
9627 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9628 to inline function.
9629 (__rintf, __floor, __floorf): Likewise.
9630
64e21ede
RH
9631 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9632 macro to inline function.
9633 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9634
38842f45
RH
9635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9636 not <math/math_private.h>.
9637
c64bf5fe
DM
96382012-03-08 David S. Miller <davem@davemloft.net>
9639
9640 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9641 copyright year.
9642 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9643
82d86f28
TS
96442012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9645
9646 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9647 normalization.
9648 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9649 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9650
aea5d727
UD
96512012-03-08 Ulrich Drepper <drepper@gmail.com>
9652
9653 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9654 be defined individually, they must be defined as a block. Define
9655 S for printing a string instead of hidint the different by using a
9656 macro for adding the 'l'.
9657 * stdio-common/tst-fphex-wide.c: Adjust.
9658
70bca0a3
MP
96592012-03-07 Marek Polacek <polacek@redhat.com>
9660
9661 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9662
65b81130
MP
96632012-03-08 Marek Polacek <polacek@redhat.com>
9664
9665 [BZ #13806]
9666 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9667 * stdio-common/tst-fphex.c: Define a few macros to make the
9668 test reusable. Use them.
9669 * stdio-common/tst-fphex-wide.c: New file.
9670
07037eeb
JM
96712012-03-08 Joseph Myers <joseph@codesourcery.com>
9672
a7a93d50
JM
9673 [BZ #6911]
9674 * manual/macros.texi (gnusystems): New macro.
9675 (nongnusystems): Likewise.
9676 (gnulinuxhurdsystems): Likewise.
9677 (gnuhurdsystems): Likewise..
9678 (gnulinuxsystems): Likewise.
9679 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9680 variants of the GNU system, not "GNU system".
9681 * manual/conf.texi: Likewise.
9682 * manual/errno.texi: Likewise. Update example of errno macro
9683 expansion.
9684 * manual/filesys.texi: Likewise.
9685 (getumask): Document as specific to GNU/Hurd.
9686 * manual/install.texi: Likewise. Reword some references to
9687 GNU/Linux.
9688 * manual/intro.texi: Likewise.
9689 * manual/io.texi: Likewise.
9690 (File Name Portability): Detail which constraints are inapplicable
9691 to all GNU systems and which are only inapplicable to GNU/Hurd.
9692 * manual/job.texi: Likewise.
9693 * manual/llio.texi: Likewise.
9694 (O_NOCTTY): Document as present on GNU/Linux.
9695 * manual/maint.texi: Likewise.
9696 * manual/memory.texi: Likewise.
9697 * manual/pattern.texi: Likewise.
9698 * manual/pipe.texi: Likewise.
9699 * manual/process.texi: Likewise.
9700 * manual/resource.texi: Likewise.
9701 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9702 child on GNU/Hurd.
9703 * manual/setjmp.texi: Likewise.
9704 * manual/signal.texi: Likewise.
9705 * manual/startup.texi: Likewise.
9706 * manual/stdio.texi: Likewise.
9707 * manual/terminal.texi: Likewise.
9708 (ONLCR): Document as POSIX.
9709 (OXTABS): Document availability on GNU/Linux as XTABS.
9710 (ONOEOT): Document availability separately from other bits.
9711 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9712 * manual/time.texi: Likewise.
9713 * manual/users.texi: Likewise.
9714 * INSTALL: Regenerated.
9715 * sysdeps/gnu/errlist.c: Regenerated.
9716
07037eeb
JM
9717 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9718 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9719 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9720 puts.
9721 * configure: Regenerated.
9722
d1d3431a
JM
97232012-03-07 Joseph Myers <joseph@codesourcery.com>
9724
af6a1e37
JM
9725 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9726 default includes instead of AC_HEADER_CHECK.
9727 * sysdeps/i386/configure: Regenerated.
9728
d1d3431a
JM
9729 [BZ #10716]
9730 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9731 * math/s_cacoshf.c (__cacoshf): Likewise.
9732 * math/s_cacoshl.c (__cacoshl): Likewise.
9733 * math/s_casinh.c (__casinh): Set signs of result from argument.
9734 * math/s_casinhf.c (__casinhf): Likewise.
9735 * math/s_casinhl.c (__casinhl): Likewise.
9736 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9737 (casinh_test): Add more tests.
9738 * sysdeps/i386/fpu/libm-test-ulps: Update.
9739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9740
482ff4da
UD
97412012-03-07 Ulrich Drepper <drepper@gmail.com>
9742
872fda05
UD
9743 * po/zh_TW.po: Update from translation team.
9744
a4300c7a
UD
9745 * login/Makefile (distribute): Remove variable.
9746 * catgets/Makefile: Likewise.
9747 * mach/Makefile: Likewise.
9748 * malloc/Makefile: Likewise.
9749 * misc/Makefile: Likewise.
9750 * iconv/Makefile: Likewise.
9751 * nscd/Makefile: Likewise.
9752 * hurd/Makefile: Likewise.
9753 * manual/Makefile: Likewise.
9754 * locale/Makefile: Likewise.
9755 * intl/Makefile: Likewise.
9756 * conform/Makefile: Likewise.
9757 * nss/Makefile: Likewise.
9758 * time/Makefile: Likewise.
9759 * soft-fp/Makefile: Likewise.
9760 * dirent/Makefile: Likewise.
9761 * gmon/Makefile: Likewise.
9762 * po/Makefile: Likewise.
9763 * rt/Makefile: Likewise.
9764 * socket/Makefile: Likewise.
9765 * math/Makefile: Likewise.
9766 * signal/Makefile: Likewise.
9767 * debug/Makefile: Likewise.
9768 * elf/Makefile: Likewise.
9769 * timezone/Makefile: Likewise.
9770 * stdlib/Makefile: Likewise.
9771 * iconvdata/Makefile: Likewise.
9772 * sunrpc/Makefile: Likewise.
9773 * io/Makefile: Likewise.
9774 * argp/Makefile: Likewise.
9775 * inet/Makefile: Likewise.
9776 * hesiod/Makefile: Likewise.
9777 * grp/Makefile: Likewise.
9778 * csu/Makefile: Likewise.
9779 * wctype/Makefile: Likewise.
9780 * crypt/Makefile: Likewise.
9781 * libio/Makefile: Likewise.
9782 * string/Makefile: Likewise.
9783 * nis/Makefile: Likewise.
9784 * resolv/Makefile: Likewise.
9785 * stdio-common/Makefile: Likewise.
9786 * wcsmbs/Makefile: Likewise.
9787 * dlfcn/Makefile: Likewise.
9788 * posix/Makefile: Likewise.
9789
3b7c4e74 9790 [BZ #6959]
482ff4da
UD
9791 * timezone/Makefile: Don't install timezone files, just the programs
9792 and scripts.
9793
f72ed77d
UD
97942012-03-06 Ulrich Drepper <drepper@gmail.com>
9795
a000466f
UD
9796 * nss/databases.def: Add missing gshadow entry.
9797
f72ed77d
UD
9798 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9799
a53b7a4e
MP
98002012-03-06 Marek Polacek <polacek@redhat.com>
9801
9802 [BZ #13726]
9803 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9804 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9805 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9806 * stdio-common/tst-long-dbl-fphex.c: New file.
9807
e9258400
DM
98082012-03-06 David S. Miller <davem@davemloft.net>
9809
9810 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9811 (set_obp_int): New function.
9812 (get_obp_int): New function.
9813 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9815 Avoid unused variable warnings on 'val' and use builtin_expect.
9816 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9817 __builtin_expect.
e9258400
DM
9818 (INLINE_CLONE_SYSCALL): Likewise.
9819
3bd2c723
DM
98202012-03-05 David S. Miller <davem@davemloft.net>
9821
9822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9823
bbb78d03
AS
98242012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9825
884c5db4
AS
9826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9827
bbb78d03
AS
9828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9829 only for |x| >= 40.
9830 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9831
1c9f702a 98322012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9833
9834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9835 Replace gettimeofday with __vdso_gettimeofday.
9836
7be16f82
RM
9837 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9838 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9839 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9840
9841 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9842 time with __vdso_time.
9843
ed58a00f
JM
98442012-03-05 Joseph Myers <joseph@codesourcery.com>
9845
9846 * manual/lang.texi (size_t): Note types to which size_t may be
9847 equivalent with the GNU C Library, but do not describe when
9848 differences between them are significant.
9849
30ee4ced
AJ
98502012-03-05 Andreas Jaeger <aj@suse.de>
9851
9852 * sysdeps/i386/fpu/libm-test-ulps: Update.
9853
b7cd39e8
JM
98542012-03-05 Joseph Myers <joseph@codesourcery.com>
9855
9856 [BZ #3976]
9857 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9858 (__ieee754_pow): Save and restore rounding mode and use
9859 round-to-nearest for main computations.
9860 * math/libm-test.inc (pow_test_tonearest): New function.
9861 (pow_test_towardzero): Likewise.
9862 (pow_test_downward): Likewise.
9863 (pow_test_upward): Likewise.
9864 (main): Call the new functions.
9865 * sysdeps/i386/fpu/libm-test-ulps: Update.
9866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9867
9868 [BZ #3976]
9869 * math/libm-test.inc (cosh_test_tonearest): New function.
9870 (cosh_test_towardzero): Likewise.
9871 (cosh_test_downward): Likewise.
9872 (cosh_test_upward): Likewise.
9873 (sinh_test_tonearest): Likewise.
9874 (sinh_test_towardzero): Likewise.
9875 (sinh_test_downward): Likewise.
9876 (sinh_test_upward): Likewise.
9877 (main): Call the new functions.
9878 * sysdeps/i386/fpu/libm-test-ulps: Update.
9879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9880
6c6a98c9
TV
98812012-03-05 Tom de Vries <tom@codesourcery.com>
9882
9883 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9884 default stack guard is set in last bytes.
9885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9886
21bb2d2e 98872012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9888
21bb2d2e 9889 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9890
21bb2d2e
AJ
9891 [BZ #13656]
9892 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9893 possibly allocate from heap instead of stack.
9894 * stdio-common/bug-vfprintf-nargs.c: New file.
9895 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9896
c6922934
AS
98972012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9898
9899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9900
bc957d53
MP
99012012-03-03 Marek Polacek <polacek@redhat.com>
9902
9903 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9904 * math/math_private.h: Likewise.
9905 * stdlib/tst-strtod.c: Likewise.
9906 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9907 * sysdeps/x86_64/bits/atomic.h: Likewise.
9908
6358490d
DM
99092012-03-02 David S. Miller <davem@davemloft.net>
9910
9911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9915 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9916 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9917 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9918 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9919
01ae168d
RM
99202012-03-02 Roland McGrath <roland@hack.frob.com>
9921
d9a17c07
RM
9922 [BZ #13792]
9923 * manual/examples/README: New file, says the example source files
9924 can be used under GPL>=2.
9925 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9926 line containing just "*/".
9927 * manual/examples/add.c: Add copyright header (GPL>=2).
9928 * manual/examples/argp-ex1.c: Likewise.
9929 * manual/examples/argp-ex2.c: Likewise.
9930 * manual/examples/argp-ex3.c: Likewise.
9931 * manual/examples/argp-ex4.c: Likewise.
9932 * manual/examples/atexit.c: Likewise.
9933 * manual/examples/db.c: Likewise.
9934 * manual/examples/dir.c: Likewise.
9935 * manual/examples/dir2.c: Likewise.
9936 * manual/examples/execinfo.c: Likewise.
9937 * manual/examples/filecli.c: Likewise.
9938 * manual/examples/filesrv.c: Likewise.
9939 * manual/examples/fmtmsgexpl.c: Likewise.
9940 * manual/examples/genpass.c: Likewise.
9941 * manual/examples/inetcli.c: Likewise.
9942 * manual/examples/inetsrv.c: Likewise.
9943 * manual/examples/isockad.c: Likewise.
9944 * manual/examples/longopt.c: Likewise.
9945 * manual/examples/memopen.c: Likewise.
9946 * manual/examples/memstrm.c: Likewise.
9947 * manual/examples/mkfsock.c: Likewise.
9948 * manual/examples/mkisock.c: Likewise.
9949 * manual/examples/mygetpass.c: Likewise.
9950 * manual/examples/pipe.c: Likewise.
9951 * manual/examples/popen.c: Likewise.
9952 * manual/examples/rprintf.c: Likewise.
9953 * manual/examples/search.c: Likewise.
9954 * manual/examples/select.c: Likewise.
9955 * manual/examples/setjmp.c: Likewise.
9956 * manual/examples/sigh1.c: Likewise.
9957 * manual/examples/sigusr.c: Likewise.
9958 * manual/examples/stpcpy.c: Likewise.
9959 * manual/examples/strdupa.c: Likewise.
9960 * manual/examples/strftim.c: Likewise.
9961 * manual/examples/strncat.c: Likewise.
9962 * manual/examples/subopt.c: Likewise.
9963 * manual/examples/swapcontext.c: Likewise.
9964 * manual/examples/termios.c: Likewise.
9965 * manual/examples/testopt.c: Likewise.
9966 * manual/examples/testpass.c: Likewise.
9967 * manual/examples/timeval_subtract.c: Likewise.
9968
01ae168d
RM
9969 [BZ #13792]
9970 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9971 function to ...
9972 * manual/timeval_subtract.c.texi: ... here, new file.
9973
49efa33d
DM
99742012-03-02 David S. Miller <davem@davemloft.net>
9975
9976 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9977
28afd92d
JM
99782012-03-02 Joseph Myers <joseph@codesourcery.com>
9979
804360ed
JM
9980 [BZ #3976]
9981 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9982 (__sin): Save and restore rounding mode and use round-to-nearest
9983 for all computations.
9984 (__cos): Save and restore rounding mode and use round-to-nearest
9985 for all computations.
9986 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9987 <fenv.h>.
9988 (tan): Save and restore rounding mode and use round-to-nearest for
9989 all computations.
9990 * math/libm-test.inc (cos_test_tonearest): New function.
9991 (cos_test_towardzero): Likewise.
9992 (cos_test_downward): Likewise.
9993 (cos_test_upward): Likewise.
9994 (sin_test_tonearest): Likewise.
9995 (sin_test_towardzero): Likewise.
9996 (sin_test_downward): Likewise.
9997 (sin_test_upward): Likewise.
9998 (tan_test_tonearest): Likewise.
9999 (tan_test_towardzero): Likewise.
10000 (tan_test_downward): Likewise.
10001 (tan_test_upward): Likewise.
10002 (main): Call the new functions.
10003 * sysdeps/i386/fpu/libm-test-ulps: Update.
10004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10005
a6d06d7b
JM
10006 [BZ #10135]
10007 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10008 small n, then large n, before computing and testing k+n.
10009 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10011 Likewise.
10012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10013 Likewise.
10014 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10015 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10016 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10017 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10020 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10021 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10022 * math/libm-test.inc (scalbn_test): Add more tests.
10023 (scalbln_test): Likewise.
10024
07e12bb3
JM
10025 * manual/filesys.texi (mode_t): Describe constraints on size and
10026 signedness, not exact equivalence to a particular type.
10027 (ino_t): Likewise.
10028 (ino64_t): Likewise.
10029 (dev_t): Likewise.
10030 (nlink_t): Likewise.
10031 (blkcnt_t): Likewise.
10032 (blkcnt64_t): Likewise.
10033 * manual/llio.texi (off_t): Likewise.
10034
28afd92d
JM
10035 [BZ #3976]
10036 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10037 (__ieee754_exp): Save and restore rounding mode and use
10038 round-to-nearest for all computations.
10039 * math/libm-test.inc (exp_test_tonearest): New function.
10040 (exp_test_towardzero): Likewise.
10041 (exp_test_downward): Likewise.
10042 (exp_test_upward): Likewise.
10043 (main): Call the new functions.
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10046
b1eeb65d
CD
100472012-03-01 Chris Demetriou <cgd@google.com>
10048
10049 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10050 have predictable order.
10051
53362a4b
DM
100522012-03-01 David S. Miller <davem@davemloft.net>
10053
3c969083
DM
10054 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10055
759707de
DM
10056 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10057 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10058 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10059 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10060
dfdb8ff2
DM
10061 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10062 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10063 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10065 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10066 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10067 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10068 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10069 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10070
ead89f96
DM
10071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10072
7f66bd07
DM
10073 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10074 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10075 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10076
53362a4b
DM
10077 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10078 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10079 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10080 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10081 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10083 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10084 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10085 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10086 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10087 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10088 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10090 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10092 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10093 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10094 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10095 * sysdeps/sparc/elf/configure: Regenerated.
10096
7b1902cb
JM
100972012-03-01 Joseph Myers <joseph@codesourcery.com>
10098
bec039bc
JM
10099 * configure.in (AS, LD): Require binutils 2.20 or later.
10100 * configure: Regenerated.
10101 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10102 as required minimum version.
10103 * INSTALL: Regenerated.
10104
7b1902cb
JM
10105 [BZ #2541]
10106 [BZ #4108]
10107 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10108 before squaring exponent.
10109 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10110 bottom long double and 27 bits of top long double before squaring
10111 exponent.
10112 * math/libm-test.inc (erfc_test): Add more tests.
10113 * sysdeps/i386/fpu/libm-test-ulps: Update.
10114 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10116
f775c276
KT
101172012-03-01 Kai Tietz <ktietz@redhat.com>
10118
10119 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10120 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10121 containing bit-fields.
10122 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10123 * soft-fp/single.h (_FP_UNION_S): Likewise.
10124 * soft-fp/double.h (_FP_UNION_D): Likewise.
10125
5b8a4d4a
JM
101262012-02-29 Joseph Myers <joseph@codesourcery.com>
10127
0bab47b6
JM
10128 [BZ #13786]
10129 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10130 not include ../strcmp.S.
10131 [USE_AS_STRNCASECMP_L]: Likewise.
10132 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10133 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10134 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10135 (__strncasecmp_l_ia32): Define as alias to
10136 __strncasecmp_l_nonascii.
10137
0fcad3e2
JM
10138 [BZ #5794]
10139 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10140 * sysdeps/i386/fpu/libm-test-ulps: Update.
10141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10142
5b8a4d4a
JM
10143 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10145
8fdceb2e
JL
101462012-02-29 Jeff Law <law@redhat.com>
10147
10148 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10149 out of bounds read.
10150
1f393a11
MP
101512012-02-29 Marek Polacek <polacek@redhat.com>
10152
10153 [BZ #13706]
10154 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10155 * elf/Makefile: Add rules to run tst-unused-dep.out.
10156
8847f037
DM
101572012-02-28 David S. Miller <davem@davemloft.net>
10158
10159 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10160 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10162 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10163 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10164 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10165
169d7f11
JM
101662012-02-29 Joseph Myers <joseph@codesourcery.com>
10167
10168 * math/libm-test.inc (llround_test): Move one test from
10169 lround_test. Use TEST_f_L in moved test.
10170 (lround_test): Move misplaced test to llround_test. Add testcase
10171 from bug 2561.
10172
39adf059
UD
101732012-02-28 Ulrich Drepper <drepper@gmail.com>
10174
10175 * sysdeps/x86_64/fpu/e_expf.S: New file.
10176 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10177
71b5d1c5
SB
101782012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10179
10180 [BZ #13637]
10181 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10182 of remain_len that may cause incomplete multi-byte character and
10183 false match.
10184 * posix/bug-regex33.c: New file.
10185 * posix/Makefile (tests): Add bug-regex33.
10186
1f77f049
JM
101872012-02-28 Joseph Myers <joseph@codesourcery.com>
10188
10189 * manual/macros.texi: New file.
10190 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10191 * manual/libc.texinfo: Include macros.texi.
10192 * manual/creatute.texi: Likewise.
10193 * manual/install.texi: Likewise.
10194 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10195 @glibcadj{} in references to the GNU C Library.
10196 * manual/charset.texi: Likewise.
10197 * manual/conf.texi: Likewise.
10198 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10199 when not using those macros.
10200 * manual/creature.texi: Likewise.
10201 * manual/crypt.texi: Likewise.
10202 * manual/errno.texi: Likewise.
10203 * manual/filesys.texi: Likewise.
10204 * manual/header.texi: Likewise.
10205 * manual/install.texi: Likewise.
10206 * manual/intro.texi: Likewise.
10207 * manual/io.texi: Likewise.
10208 * manual/job.texi: Likewise.
10209 * manual/lang.texi: Likewise.
10210 * manual/libc.texiinfo: Likewise.
10211 * manual/llio.texi: Likewise.
10212 * manual/locale.texi: Likewise.
10213 * manual/maint.texi: Likewise.
10214 * manual/math.texi: Likewise.
10215 * manual/memory.texi: Likewise.
10216 * manual/message.texi: Likewise.
10217 * manual/nss.texi: Likewise.
10218 * manual/pattern.texi: Likewise.
10219 * manual/process.texi: Likewise.
10220 * manual/resource.texi: Likewise.
10221 * manual/search.texi: Likewise.
10222 * manual/setjmp.texi: Likewise.
10223 * manual/signal.texi: Likewise.
10224 * manual/socket.texi: Likewise.
10225 * manual/startup.texi: Likewise.
10226 * manual/stdio.texi: Likewise.
10227 * manual/string.texi: Likewise.
10228 * manual/sysinfo.texi: Likewise.
10229 * manual/syslog.texi: Likewise.
10230 * manual/terminal.texi: Likewise.
10231 * manual/time.texi: Likewise.
10232 * manual/users.texi: Likewise.
10233 * INSTALL: Regenerated.
10234 * NOTES: Regenerated.
d40c5d54 10235 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10236
450bf206
AS
102372012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10238
10239 * include/dirent.h: Include <dirstream.h> before
10240 <dirent/dirent.h>.
10241
741a235b
DM
102422012-02-28 David S. Miller <davem@davemloft.net>
10243
10244 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10245 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10246 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10247 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10248
d6b5aa58
DM
102492012-02-27 David S. Miller <davem@davemloft.net>
10250
1aff59a3
DM
10251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10253 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10254 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10255
d6b5aa58
DM
10256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10257 frame pointer instead of stack pointer relative arg slot.
10258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10259 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10260 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10261
433f48bf
CD
102622012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10263
10264 [BZ #3992]
10265 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10266
d674b76d
DM
102672012-02-27 David S. Miller <davem@davemloft.net>
10268
10269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10273 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10274 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10275 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10276 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10277
0e7727f7
JM
102782012-02-27 Joseph Myers <joseph@codesourcery.com>
10279
10280 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10281 later. Allow versions 5-9.
43be4ca2 10282 * configure: Regenerated.
0e7727f7
JM
10283 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10284 required minimum version and 4.6 as recommended version. Do not
10285 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10286 * INSTALL: Regenerated.
0e7727f7 10287
a78bc654
DM
102882012-02-27 David S. Miller <davem@davemloft.net>
10289
428d5830
DM
10290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10294 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10295 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10296 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10297 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10298
a78bc654
DM
10299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10300 manipulate bits before adding and subtracting TWO112[sx].
10301 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10302
4579f81c
RM
103032012-02-27 Roland McGrath <roland@hack.frob.com>
10304
36c8acb4
RM
10305 [BZ #13775]
10306 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10307 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10308 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10309 being in POSIX, because they are in 1003.1-2008.
10310
84ad622b
RM
10311 * rt/tst-aio.c: Include <fcntl.h>.
10312 * rt/tst-aio7.c: Likewise.
10313 * rt/tst-aio64.c: Likewise.
10314
4579f81c
RM
10315 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10316
abd923db
JM
103172012-02-27 Joseph Myers <joseph@codesourcery.com>
10318
10319 * manual/install.texi (--with-headers): Describe headers as
10320 interface headers, not private headers.
10321 (Specific advice for GNU/Linux systems): Describe use of headers
10322 from "make headers_install", not private headers from older
10323 kernels.
43be4ca2 10324 * INSTALL: Regenerated.
abd923db
JM
10325 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10326 Change to 2.6.19.
10327 * sysdeps/unix/sysv/linux/configure: Regenerated.
10328
6664049b
JM
10329 * manual/llio.texi (fclean): Remove documentation.
10330
bb8b6697
JM
10331 * manual/Makefile (libc-texi-generated): New variable. Include
10332 version.texi.
10333 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10334 $(libc-texi-generated), not duplicated list of files.
10335 (version.texi, stamp-version): New rules.
10336 (realclean): Remove $(libc-texi-generated), not individual files
10337 from that list. Do not remove dir-add.texinfo.
10338 * manual/libc.texinfo: Comment out uses of edition numbers and
10339 references to printed manual. Remove last-updated dates.
10340 (EDITION): Comment out.
10341 (ISBN): Likewise.
10342 (VERSION, UPDATED): Remove.
10343 (version.texi): Include.
10344
12e5c3b9
AS
103452012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10346
10347 * sysdeps/posix/spawni.c: Include <signal.h>.
10348 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10349 * sysdeps/pthread/aio_fsync.c: Likewise.
10350
4efeffc1 103512012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10352
ba63ba08
UD
10353 * conform/Makefile (tests): Run only when not cross-compiling and
10354 when fast-check is not defined.
10355
d94a4670
UD
10356 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10357 * conform/data/limits.h-data: Fixes for POSIX2008.
10358 * conform/run-conformtest.sh: Run all tests.
10359 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10360 headers.
10361 * include/bits/dlfcn.h: Likewise.
10362 * include/langinfo.h: Likewise.
10363 * include/monetary.h: Likewise.
10364 * include/sys/poll.h: Likewise.
10365
10366 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10367 for __USE_GNU.
10368 * posix/spawn.h: Define __need_sigset_t.
10369 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10370 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10371 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10372 to get sigevent_t only.
10373 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10374 only for __USE_GNU.
10375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10376 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10377 process_vm_writev only for __USE_GNU.
10378 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10379
10380 * conform/Makefile: For now ignore errors from run-conformtest.
10381 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10382 POSIX to avoid namespace pollution. Don't prepend headers.
10383 * conform/data/aio.h-data: Fixes for POSIX testing.
10384 * conform/data/fcntl.h-data: Likewise.
10385 * conform/data/glob.h-data: Likewise.
10386 * conform/data/grp.h-data: Likewise.
10387 * conform/data/pthread.h-data: Likewise.
10388 * conform/data/pwd.h-data: Likewise.
10389 * conform/data/signal.h-data: Likewise.
10390 * conform/data/spawn.h-data: Likewise.
10391 * conform/data/stdio.h-data: Likewise.
10392 * conform/data/stdlib.h-data: Likewise.
10393 * conform/data/stropts.h-data: Likewise.
10394 * conform/data/sys/mman.h-data: Likewise.
10395 * conform/data/sys/stat.h-data: Likewise.
10396 * conform/data/sys/types.h-data: Likewise.
10397 * conform/data/sys/wait.h-data: Likewise.
10398 * conform/data/time.h-data: Likewise.
10399 * conform/data/unistd.h-data: Likewise.
10400 * conform/data/utime.h-data: Likewise.
10401
10402 * io/sys/stat.h: fchmod was always in POSIX.
10403 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10404 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10405 * rt/aio.h: Define __need_timespec before including <time.h>.
10406 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10407 struct. Add forward declaration of pthread_attr_t and use it in
10408 sigevent.
10409 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10411 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10412 always remove CLK_TCK definition.
10413
c20105c3
AS
104142012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10415
10416 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10417
7a270350
UD
104182012-02-25 Ulrich Drepper <drepper@gmail.com>
10419
31341567
UD
10420 * conform/run-conformtest.sh: New file.
10421 * conform/Makefile: Run run-conformtest for tests.
10422 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10423 support.
10424
10425 * conform/data/uchar.h-data: New file.
10426 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10427 * conform/data/arpa/inet.h-data: Likewise.
10428 * conform/data/assert.h-data: Likewise.
10429 * conform/data/complex.h-data: Likewise.
10430 * conform/data/cpio.h-data: Likewise.
10431 * conform/data/ctype.h-data: Likewise.
10432 * conform/data/dirent.h-data: Likewise.
10433 * conform/data/dlfcn.h-data: Likewise.
10434 * conform/data/errno.h-data: Likewise.
10435 * conform/data/fcntl.h-data: Likewise.
10436 * conform/data/float.h-data: Likewise.
10437 * conform/data/fmtmsg.h-data: Likewise.
10438 * conform/data/fnmatch.h-data: Likewise.
10439 * conform/data/ftw.h-data: Likewise.
10440 * conform/data/glob.h-data: Likewise.
10441 * conform/data/grp.h-data: Likewise.
10442 * conform/data/iconv.h-data: Likewise.
10443 * conform/data/inttypes.h-data: Likewise.
10444 * conform/data/langinfo.h-data: Likewise.
10445 * conform/data/libgen.h-data: Likewise.
10446 * conform/data/limits.h-data: Likewise.
10447 * conform/data/locale.h-data: Likewise.
10448 * conform/data/math.h-data: Likewise.
10449 * conform/data/monetary.h-data: Likewise.
10450 * conform/data/mqueue.h-data: Likewise.
10451 * conform/data/ndbm.h-data: Likewise.
10452 * conform/data/net/if.h-data: Likewise.
10453 * conform/data/netdb.h-data: Likewise.
10454 * conform/data/netinet/in.h-data: Likewise.
10455 * conform/data/nl_types.h-data: Likewise.
10456 * conform/data/poll.h-data: Likewise.
10457 * conform/data/pthread.h-data: Likewise.
10458 * conform/data/pwd.h-data: Likewise.
10459 * conform/data/regex.h-data: Likewise.
10460 * conform/data/sched.h-data: Likewise.
10461 * conform/data/search.h-data: Likewise.
10462 * conform/data/semaphore.h-data: Likewise.
10463 * conform/data/setjmp.h-data: Likewise.
10464 * conform/data/signal.h-data: Likewise.
10465 * conform/data/spawn.h-data: Likewise.
10466 * conform/data/stdarg.h-data: Likewise.
10467 * conform/data/stdio.h-data: Likewise.
10468 * conform/data/stdlib.h-data: Likewise.
10469 * conform/data/string.h-data: Likewise.
10470 * conform/data/strings.h-data: Likewise.
10471 * conform/data/stropts.h-data: Likewise.
10472 * conform/data/sys/ipc.h-data: Likewise.
10473 * conform/data/sys/mman.h-data: Likewise.
10474 * conform/data/sys/msg.h-data: Likewise.
10475 * conform/data/sys/resource.h-data: Likewise.
10476 * conform/data/sys/select.h-data: Likewise.
10477 * conform/data/sys/sem.h-data: Likewise.
10478 * conform/data/sys/shm.h-data: Likewise.
10479 * conform/data/sys/socket.h-data: Likewise.
10480 * conform/data/sys/stat.h-data: Likewise.
10481 * conform/data/sys/statvfs.h-data: Likewise.
10482 * conform/data/sys/time.h-data: Likewise.
10483 * conform/data/sys/timeb.h-data: Likewise.
10484 * conform/data/sys/times.h-data: Likewise.
10485 * conform/data/sys/types.h-data: Likewise.
10486 * conform/data/sys/uio.h-data: Likewise.
10487 * conform/data/sys/un.h-data: Likewise.
10488 * conform/data/sys/utsname.h-data: Likewise.
10489 * conform/data/sys/wait.h-data: Likewise.
10490 * conform/data/syslog.h-data: Likewise.
10491 * conform/data/tar.h-data: Likewise.
10492 * conform/data/termios.h-data: Likewise.
10493 * conform/data/utime.h-data: Likewise.
10494 * conform/data/utmpx.h-data: Likewise.
10495 * conform/data/varargs.h-data: Likewise.
10496 * conform/data/wchar.h-data: Likewise.
10497 * conform/data/wctype.h-data: Likewise.
10498 * conform/data/wordexp.h-data: Likewise.
10499
10500 * include/stropts.h: New file.
10501 * include/uchar.h: New file.
10502 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10503 * include/assert.h: Likewise.
10504 * include/ctype.h: Likewise.
10505 * include/dirent.h: Likewise.
10506 * include/dlfcn.h: Likewise.
10507 * include/fcntl.h: Likewise.
10508 * include/fnmatch.h: Likewise.
10509 * include/glob.h: Likewise.
10510 * include/grp.h: Likewise.
10511 * include/libio.h: Likewise.
10512 * include/locale.h: Likewise.
10513 * include/math.h: Likewise.
10514 * include/net/if.h: Likewise.
10515 * include/netdb.h: Likewise.
10516 * include/netinet/in.h: Likewise.
10517 * include/pthread.h: Likewise.
10518 * include/pwd.h: Likewise.
10519 * include/regex.h: Likewise.
10520 * include/sched.h: Likewise.
10521 * include/search.h: Likewise.
10522 * include/setjmp.h: Likewise.
10523 * include/signal.h: Likewise.
10524 * include/stdio.h: Likewise.
10525 * include/stdlib.h: Likewise.
10526 * include/string.h: Likewise.
10527 * include/sys/cdefs.h: Likewise.
10528 * include/sys/mman.h: Likewise.
10529 * include/sys/msg.h: Likewise.
10530 * include/sys/resource.h: Likewise.
10531 * include/sys/select.h: Likewise.
10532 * include/sys/socket.h: Likewise.
10533 * include/sys/stat.h: Likewise.
10534 * include/sys/statvfs.h: Likewise.
10535 * include/sys/time.h: Likewise.
10536 * include/sys/times.h: Likewise.
10537 * include/sys/uio.h: Likewise.
10538 * include/sys/utsname.h: Likewise.
10539 * include/sys/wait.h: Likewise.
10540 * include/termios.h: Likewise.
10541 * include/time.h: Likewise.
10542 * include/ulimit.h: Likewise.
10543 * include/unistd.h: Likewise.
10544 * include/utime.h: Likewise.
10545 * include/wchar.h: Likewise.
10546 * include/wctype.h: Likewise.
10547 * include/wordexp.h: Likewise.
10548
10549 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10550
7a270350
UD
10551 * time/time.h: TIME_UTC must be a macro.
10552 Make timespec_get available for ISO C11 only as well.
10553
7724defc
UD
105542012-02-24 Ulrich Drepper <drepper@gmail.com>
10555
10556 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10557 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10558
6b1d1d46
JM
105592012-02-24 Joseph Myers <joseph@codesourcery.com>
10560
10561 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10562
0f8bbd69
JM
105632012-02-24 Joseph Myers <joseph@codesourcery.com>
10564
10565 * manual/texinfo.tex: Update to version 2012-01-19.16.
10566
66ab80bc
JM
105672012-02-24 Joseph Myers <joseph@codesourcery.com>
10568
10569 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10570
74981cc5
RM
105712012-02-24 Roland McGrath <roland@hack.frob.com>
10572
ee968201
RM
10573 [BZ #13738]
10574 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10575 * manual/fdl-1.3.texi: New file.
10576 * manual/fdl-1.1.texi: File removed.
10577
74981cc5
RM
10578 [BZ #13738]
10579 * manual/libc.texinfo (FDL_VERSION): New @set.
10580 Use it for mention of FDL in cover text.
10581 (Documentation License): Use it in @include file name.
10582
7bb764bc
JM
105832012-02-22 Joseph Myers <joseph@codesourcery.com>
10584 Roland McGrath <roland@hack.frob.com>
10585
10586 [BZ #5461]
10587 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10588 not LONG_LONG_MAX and LONG_LONG_MIN.
10589 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10590 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10591 name.
10592 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10593
6cbeae47
JM
105942012-02-22 Joseph Myers <joseph@codesourcery.com>
10595
10596 [BZ #2547]
10597 [BZ #11365]
10598 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10599 manipulate bits before adding and subtracting TWO23[sx].
10600 * math/libm-test.inc (nearbyint_test): Add more tests.
10601
fe45ce09
JM
106022012-02-22 Joseph Myers <joseph@codesourcery.com>
10603
10604 [BZ #2548]
10605 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10606 bits before adding and subtracting TWO23[sx].
10607 * math/libm-test.inc (rint_test): Add more tests.
10608 (rint_test_tonearest): Likewise.
10609 (rint_test_towardzero): Likewise.
10610 (rint_test_downward): Likewise.
10611 (rint_test_upward: Likewise.
10612
ff3b3d82
JM
106132012-02-22 Joseph Myers <joseph@codesourcery.com>
10614
10615 [BZ #10110]
10616 * include/stdc-predef.h: New file. Extracted from features.h.
10617 * include/features.h: Include stdc-predef.h.
10618 * Makefile (headers): Add stdc-predef.h.
10619 * CONFORMANCE (Compiler limitations): Update.
10620
ef0aab35
JM
106212012-02-22 Joseph Myers <joseph@codesourcery.com>
10622
10623 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10624
58639409
DM
106252012-02-21 David S. Miller <davem@davemloft.net>
10626
10627 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10628 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10629
c0e70b25
DM
106302012-02-20 David S. Miller <davem@davemloft.net>
10631
10632 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10633 using a normal save/restore sequence, rather than allocating a
10634 dummy stack frame just to store a frame pointer and restore.
10635 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10636
fb06851d
JM
106372012-02-21 Joseph Myers <joseph@codesourcery.com>
10638
10639 * manual/install.texi: Fix stray word in line-wrapped comment.
10640
7a8b71c3
DM
106412012-02-20 David S. Miller <davem@davemloft.net>
10642
d510c123
DM
10643 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10644 both binutils and gcc support GOTDATA.
10645
0722d7c2
DM
10646 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10647 "rd %pc" in the PIC register setup sequences.
10648
3d2b3019
DM
10649 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10650 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10652 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10653 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10655 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10658 (SYSCALL_ERROR_HANDLER): Likewise.
10659 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10660 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10662 (SYSCALL_ERROR_HANDLER): Likewise.
10663
c80098a9
DM
10664 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10665 (HAVE_GCC_GOTDATA): New.
10666 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10667 relocation support in both binutils and gcc.
10668 * sysdeps/sparc/elf/configure: Regenerate.
10669
3a2545a0
DM
10670 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10671 * sysdeps/sparc/sparc32/elf/configure: Delete.
10672 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10673 * sysdeps/sparc/sparc64/elf/configure: Delete.
10674 * sysdeps/sparc/elf/configure.in: New file.
10675 * sysdeps/sparc/elf/configure: Generate.
10676
7a8b71c3
DM
10677 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10678 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10679 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10680 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10681 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10682
f1e86fca
JM
106832012-02-21 Joseph Myers <joseph@codesourcery.com>
10684
10685 * manual/install.texi: Do not mention specific glibc version
10686 numbers.
10687 * manual/libc.texinfo (VERSION, UPDATED): Update.
10688 (@copying): Use @copyright{} and range of years.
10689
0e7dfaef
JM
106902012-02-21 Joseph Myers <joseph@codesourcery.com>
10691
10692 [BZ #13695]
10693 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10694 [crti.S not in sysdirs] (generated): Do not append.
10695 [crti.S not in sysdirs] (omit-deps): Likewise.
10696 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10697 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10698 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10699 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10700 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10701 Likewise.
10702 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10703 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10704 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10705 * csu/defs.awk: Remove file.
10706 * sysdeps/generic/initfini.c: Likewise.
10707 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10708 variable.
10709 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10710 Likewise.
10711
599af3ca
JM
107122012-02-20 Joseph Myers <joseph@codesourcery.com>
10713
10714 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10715 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10716 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10717 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10719 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10720 <bits/epoll.h>.
10721 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10722 (__EPOLL_PACKED): Define to empty if not defined by
10723 <bits/epoll.h>.
10724 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10726 bits/epoll.h.
10727
0e499750
JM
107282012-02-20 Joseph Myers <joseph@codesourcery.com>
10729
10730 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10731 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10732 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10733 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10734 <bits/timerfd.h>.
10735 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10737 bits/timerfd.h.
10738
5ad91f6e
JM
107392012-02-20 Joseph Myers <joseph@codesourcery.com>
10740
10741 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10742 in C locale.
10743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10744 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10745 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10747
06b99b02
AJ
107482012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10749
10750 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10751 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10752
7638c0fd
AS
107532012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10754
10755 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10756 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10757 defined.
10758 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10759 Likewise.
10760 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10761 entry for 2.16.
10762
92221550
AJ
107632012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10764
10765 * math/w_acos.c: Use non-signaling floating-point comparisons.
10766 * math/w_acosf.c: Likewise.
10767 * math/w_acosh.c: Likewise.
10768 * math/w_acoshf.c: Likewise.
10769 * math/w_acoshl.c: Likewise.
10770 * math/w_acosl.c: Likewise.
10771 * math/w_asin.c: Likewise.
10772 * math/w_asinf.c: Likewise.
10773 * math/w_asinl.c: Likewise.
10774 * math/w_atanh.c: Likewise.
10775 * math/w_atanhf.c: Likewise.
10776 * math/w_atanhl.c: Likewise.
10777 * math/w_exp2.c: Likewise.
10778 * math/w_exp2f.c: Likewise.
10779 * math/w_exp2l.c: Likewise.
10780 * math/w_j0.c: Likewise.
10781 * math/w_j0f.c: Likewise.
10782 * math/w_j0l.c: Likewise.
10783 * math/w_j1.c: Likewise.
10784 * math/w_j1f.c: Likewise.
10785 * math/w_j1l.c: Likewise.
10786 * math/w_jn.c: Likewise.
10787 * math/w_jnf.c: Likewise.
10788 * math/w_log.c: Likewise.
10789 * math/w_log10.c: Likewise.
10790 * math/w_log10f.c: Likewise.
10791 * math/w_log10l.c: Likewise.
10792 * math/w_log2.c: Likewise.
10793 * math/w_log2f.c: Likewise.
10794 * math/w_log2l.c: Likewise.
10795 * math/w_logf.c: Likewise.
10796 * math/w_logl.c: Likewise.
10797 * math/w_sqrt.c: Likewise.
10798 * math/w_sqrtf.c: Likewise.
10799 * math/w_sqrtl.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10803 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10804 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10805
ebaf36eb
JM
108062012-02-19 Joseph Myers <joseph@codesourcery.com>
10807
10808 [BZ #9739]
10809 * manual/string.texi (strnlen): Use correct parameter name in
10810 equivalent expression.
10811
71c254a6
JM
108122012-02-19 Joseph Myers <joseph@codesourcery.com>
10813
10814 [BZ #11174]
10815 * manual/users.texi (seteuid): Consistently use neweuid for
10816 argument name.
10817
16d2c631
JM
108182012-02-19 Joseph Myers <joseph@codesourcery.com>
10819
10820 [BZ #13704]
10821 * manual/nss.texi (Services in the NSS configuration): Correct
10822 list of services in example configuration file.
10823
cd837b09
NB
108242012-02-19 Nick Bowler <nbowler@draconx.ca>
10825
10826 [BZ #11322]
10827 * manual/arith.texi: Remove statements about negative zero
10828 behaving identically to zero.
10829
02c4bbad
JM
108302012-02-18 Joseph Myers <joseph@codesourcery.com>
10831
10832 [BZ #5993]
10833 * manual/install.texi: Do not document upgrading from libc5.
10834
366842e7
JM
108352012-02-18 Joseph Myers <joseph@codesourcery.com>
10836
10837 [BZ #4596]
10838 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10839
dd54084d
DM
108402012-02-18 David S. Miller <davem@davemloft.net>
10841
10842 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10843 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10844 %o7 across the call.
10845 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10846 instead.
10847 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10848 SETUP_PIC_REG_LEAF.
10849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10850 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10851 * sysdeps/sparc/crtn.S: Likewise.
10852
2bcc53a3
UD
108532012-02-17 Ulrich Drepper <drepper@gmail.com>
10854
10855 * aout/Makefile: Remove.
10856
09c093b5
RK
108572012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10858
10859 [BZ #13058]
10860 * manual/examples/argp-ex1.c (main): Format definition in GNU
10861 style.
10862 * manual/examples/argp-ex2.c (main): Likewise.
10863 * manual/examples/argp-ex3.c (main): Likewise.
10864 * manual/examples/argp-ex4.c (main): Likewise.
10865 * manual/examples/longopt.c (main): Use new-style prototype
10866 definition.
10867 * manual/examples/strncat.c (main): Specify return type and use
10868 (void) for arguments.
10869 * manual/examples/subopt.c (main): Use char **argv argument.
10870
2ee633a2
JM
108712012-02-17 Joseph Myers <joseph@codesourcery.com>
10872
10873 [BZ #5077]
10874 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10875 rounding modes.
10876
0520adde
FB
108772012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10878
10879 [BZ #6907]
10880 * manual/string.texi (strchr): Change when strchrnul is
10881 recommended.
10882
3f4081cd
DGM
108832012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10884
10885 [BZ #174]
10886 * manual/locale.texi (setlocale): Document LOCPATH.
10887
d1b10e78
JM
108882012-02-17 Joseph Myers <joseph@codesourcery.com>
10889
10890 [BZ #10210]
10891 * manual/process.texi (execle): Move @dots{} before last argument.
10892
79c6869c
PB
108932012-02-17 Paul Bolle <pebolle@tiscali.nl>
10894
10895 [BZ #12047]
10896 * manual/charset.texi (Generic Charset Conversion): Fix typo
10897 (LC_TYPE -> LC_CTYPE).
10898
cc6e48bc
NB
108992012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10900
10901 [BZ #5805]
10902 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10903 (scalbnf): Likewise.
10904 (scalbnl): Likewise.
10905 (scalbln): Likewise.
10906 (scalblnf): Likewise.
10907 (scalblnl): Likewise.
10908 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10909 (vwarnx): Likewise.
10910 (verr): Likewise.
10911 (verrx): Likewise.
10912 * manual/filesys.texi (telldir): Use braces around return type.
10913 * manual/llio.texi (mmap): Add space after comma.
10914 (mmap64): Likewise.
10915 * manual/math.texi (jn): Use @var{} on parameter names.
10916 (jnf): Likewise.
10917 (jnl): Likewise.
10918 (yn): Likewise.
10919 (ynf): Likewise.
10920 (ynl): Likewise.
10921 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10922 line.
10923 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10924 "...".
10925 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10926 (sched_get_priority_max): Likewise.
10927 * manual/signal.texi (sigvec): Add space after comma.
10928 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10929 names.
10930 (if_indextoname): Likewise.
10931 (if_freenameindex): Likewise.
10932 (sendto): Use ',' instead of '.' in prototype.
10933 * manual/startup.texi (syscall): Use @dots{} instead of literal
10934 "...".
10935 * manual/stdio.texi (__fpending): Separate initial words of
10936 paragraph from @deftypefun line.
10937 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10938 "...".
10939 (vsyslog): Use @var{} on parameter names.
10940 * manual/terminal.texi (stty): Use @var{} on parameter names.
10941 * manual/users.texi (getutmp): Use @var{} on parameter names.
10942 (getutmpx): Likewise.
10943
5b23062f
JM
109442012-02-17 Joseph Myers <joseph@codesourcery.com>
10945
10946 [BZ #6884]
10947 * manual/stdio.texi (fopen): Fix typos in description of
10948 ",ccs=STRING".
10949
8dee4833
AJ
109502012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10951
10952 [BZ #4026]
10953 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10954 get clock_id definition.
10955
9078ce93
TS
109562012-02-17 Thomas Schwinge <thomas@schwinge.name>
10957
10958 [BZ #4822]
10959 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10960 (madvise): Cast every argument to void on its own.
10961
3835c55f
JM
109622012-02-17 Joseph Myers <joseph@codesourcery.com>
10963
10964 [BZ #9902]
10965 * manual/startup.texi (Exit Status): Fix typo.
10966
35c47e37
JM
109672012-02-17 Joseph Myers <joseph@codesourcery.com>
10968
10969 [BZ #10140]
10970 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10971 * manual/examples/argp-ex2.c: Likewise.
10972 * manual/examples/argp-ex3.c: Likewise.
10973
e3b69ca7
RH
109742012-02-16 Richard Henderson <rth@redhat.com>
10975
10976 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10977 * sysdeps/s390/s390-32/initfini.c: Remove.
10978 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10979 * sysdeps/s390/s390-64/initfini.c: Remove.
10980
df83af67
KK
109812012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10982
10983 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10984 compiler output for sysdeps/generic/initfini.c.
10985 * sysdeps/sh/elf/initfini.c: Remove file.
10986
f63f3380
DM
109872012-02-16 David S. Miller <davem@davemloft.net>
10988
fb59b3a4
DM
10989 [BZ #11494]
10990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10991
f63f3380
DM
10992 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10993 * sysdeps/sparc/crti.S: New file.
10994 * sysdeps/sparc/crtn.S: New file.
10995 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10996 * sysdeps/sparc/sparc64/Makefile: Likewise.
10997
df6a4a4a
MF
109982012-02-15 Mike Frysinger <vapier@gentoo.org>
10999
6dd8f3dc 11000 [BZ #3335]
df6a4a4a
MF
11001 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11002
1cac7236
RM
110032012-02-15 Roland McGrath <roland@hack.frob.com>
11004
d2c736f8
RM
11005 [BZ #4822]
11006 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11007
1cac7236
RM
11008 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11009 (write, read, close): Likewise.
11010 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11011
8e475601
JM
110122012-02-15 Joseph Myers <joseph@codesourcery.com>
11013
11014 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11015 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11016 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11017 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11018 <bits/signalfd.h>.
11019 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11021 bits/signalfd.h.
11022
ed656b40
MP
110232012-02-14 Marek Polacek <polacek@redhat.com>
11024
11025 * sysdeps/x86_64/crti.S: New file.
11026 * sysdeps/x86_64/crtn.S: New file.
11027 * sysdeps/x86_64/elf/initfini.c: Remove file.
11028
2a979d3a
JM
110292012-02-13 Joseph Myers <joseph@codesourcery.com>
11030
11031 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11032 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11033 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11034 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11035 <bits/inotify.h>.
11036 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11038 bits/inotify.h.
11039
2a418ac3
JM
110402012-02-13 Joseph Myers <joseph@codesourcery.com>
11041
11042 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11043 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11044 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11045 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11046 <bits/eventfd.h>.
11047 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11049 bits/eventfd.h.
11050
fb779be7
TS
110512012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11052
e19e83c5
RM
11053 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11054 __feraiseexcept instead of feraiseexcept.
7c35ffed 11055
fb779be7
TS
11056 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11057 nanosleep invocations.
11058 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11059 strings, and add error checking for a nanosleep invocations.
11060
59ba27a6
PE
110612012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11062
11063 Replace FSF snail mail address with URLs, as per GNU coding standards.
11064 Most of the snail mail addresses were wrong anyway, and omitting
11065 them makes the source code easier to maintain. Almost all of the
11066 changes are to license notices and to locale LC_IDENTIFICATION
11067 addresses, except for this one:
11068 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11069 not its snail mail address.
11070
57b957eb
RH
110712012-02-09 Richard Henderson <rth@twiddle.net>
11072
af850b1c
RH
11073 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11074 of kernel-features.h.
11075
57b957eb
RH
11076 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11077
6b73181a
MP
110782012-02-08 Marek Polacek <polacek@redhat.com>
11079
11080 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11081 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11082 * sysdeps/gnu/_G_config.h: Likewise.
11083 * sysdeps/generic/_G_config.h: Likewise.
11084
26ecc33a
AS
110852012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11086
6c6dbc63
AS
11087 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11088 tests.
11089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11090
e216c012
AS
11091 * sysdeps/powerpc/powerpc32/crti.S: New file.
11092 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11093 * sysdeps/powerpc/powerpc64/crti.S: New file.
11094 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11095
26ecc33a
AS
11096 * Makeconfig (have-initfini): Don't set.
11097 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11098 * configure.in (nopic_initfini): Don't substitute.
11099 * config.h.in (HAVE_INITFINI): Don't #undef.
11100 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11101 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11102
3add8e13
JM
111032012-02-08 Joseph Myers <joseph@codesourcery.com>
11104
11105 Support crti.S and crtn.S provided directly by architectures.
11106 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11107 [crti.S in sysdirs] (omit-deps): Likewise.
11108 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11109 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11110 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11111 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11112 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11113 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11114 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11115 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11116 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11117 compiler output for sysdeps/generic/initfini.c.
11118 * sysdeps/i386/elf/Makefile: Remove file.
11119 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11120
a22f12b4
MP
111212012-02-07 Marek Polacek <polacek@redhat.com>
11122
11123 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11124 * sysdeps/gnu/_G_config.h: Likewise.
11125 * sysdeps/mach/hurd/_G_config.h: Likewise.
11126
148cf100
MP
111272012-02-07 Marek Polacek <polacek@redhat.com>
11128
11129 * math/Makefile (tests): Add tst-CMPLX2.
11130 * math/tst-CMPLX2.c: New file.
11131
cfdc0dd7
AS
111322012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11133
84ba42c4
AS
11134 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11135
cfdc0dd7
AS
11136 * math/libm-test.inc (jn_test): Add missing L suffix.
11137
622c86f4
MP
111382012-02-06 Marek Polacek <polacek@redhat.com>
11139
11140 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11141 * sysdeps/i386/fpu/e_powf.S: Likewise.
11142 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11143 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11144 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11145 * sysdeps/i386/fpu/e_pow.S: Likewise.
11146 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11147 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11148 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11149 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11150 * sysdeps/i386/fpu/e_log2.S: Likewise.
11151 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11152 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11153 * sysdeps/i386/fpu/e_powl.S: Likewise.
11154 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11155 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11156 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11157 * sysdeps/i386/fpu/e_logl.S: Likewise.
11158 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11159 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11160 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11161 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11162 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11163 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11164 * sysdeps/i386/fpu/e_log.S: Likewise.
11165 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11166 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11167 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11168 * sysdeps/i386/fpu/e_logf.S: Likewise.
11169 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11170 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11171 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11172 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11173 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11174 * sysdeps/i386/fpu/e_log10.S: Likewise.
11175 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11177 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11178 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11179 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11180 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11181 * sysdeps/i386/asm-syntax.h: Likewise.
11182 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11183 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11184 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11185 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11186 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11187 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11188 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11189 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11190 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11191 * sysdeps/powerpc/sysdep.h: Likewise.
11192 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11193 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11194
d4a54ac6
JM
111952012-02-06 Joseph Myers <joseph@codesourcery.com>
11196
11197 [BZ #411]
11198 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11199
314054ea
JM
112002012-02-06 Joseph Myers <joseph@codesourcery.com>
11201
11202 * sysdeps/i386/sysdep.h: Include <features.h>.
11203 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11204 version.
11205
d8e0ca50
JM
112062012-02-05 Joseph Myers <joseph@codesourcery.com>
11207
11208 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11209 Define.
11210 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11211 LOAD_PIC_REG_STR.
11212
b1da7dd9
JM
112132012-02-03 Joseph Myers <joseph@codesourcery.com>
11214
11215 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11216 (SETUP_PIC_REG): Use GET_PC_THUNK.
11217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11218 macro.
11219
9a1d9254
JM
112202012-02-03 Joseph Myers <joseph@codesourcery.com>
11221
11222 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11223 for non-PIC compilation.
11224 (SETUP_PIC_REG): Add .p2align directive.
11225 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11226 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11227 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11228 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11229 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11230 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11231 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11232 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11233 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11234 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11235 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11236 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11237 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11238 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11239 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11240 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11241 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11242 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11243 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11244 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11245 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11246 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11247 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11248 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11251 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11252 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11253 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11254 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11255 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11256 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11257 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11258 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11259 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11260 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11261 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11262 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11263 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11264 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11265 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11266
65dc3b75
JM
112672012-02-03 Joseph Myers <joseph@codesourcery.com>
11268
11269 * math/tst-CMPLX.c: Include <stdio.h>.
11270
d55bf177
JM
112712012-01-31 Joseph Myers <joseph@codesourcery.com>
11272
11273 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11274 float.
11275 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11276 * sysdeps/sparc/bits/mathdef.h: Likewise.
11277
69db4f8f
MP
112782012-01-31 Marek Polacek <polacek@redhat.com>
11279
11280 * libio/libio.h: Don't define _PARAMS.
11281 * locale/programs/config.h: Don't define PARAMS.
11282 * stdlib/strtol_l.c: Likewise.
11283 (__strtol_l): Remove PARAMS from the prototype.
11284
41b81892
UD
112852012-01-31 Ulrich Drepper <drepper@gmail.com>
11286
3b49edc0
UD
11287 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11288 names. Just use the correct names. Remove unnecessary wrapper
11289 functions.
11290 * malloc/arena.c: Likewise.
11291 * malloc/hooks.c: Likewise.
11292
41b81892
UD
11293 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11294 ARENA_TEST says not to. Simplify test for creation of a new arena.
11295 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11296
27a25b6e
UD
112972012-01-30 Ulrich Drepper <drepper@gmail.com>
11298
11299 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11300 into tail calls.
11301 (update_get_addr): New function.
11302 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11303 GET_ADDR_MODULE parameter.
11304
c8a89e7d
JM
113052012-01-30 Joseph Myers <joseph@codesourcery.com>
11306
11307 * crypt/cert.c: Remove __STDC__ conditionals.
11308 * crypt/crypt-entry.c: Likewise.
11309 * crypt/crypt_util.c: Likewise.
11310 * libio/filedoalloc.c: Likewise.
11311 * libio/fileops.c: Likewise.
11312 * libio/genops.c: Likewise.
11313 * libio/iofclose.c: Likewise.
11314 * libio/iofdopen.c: Likewise.
11315 * libio/iofopen.c: Likewise.
11316 * libio/iofopen64.c: Likewise.
11317 * libio/iogetdelim.c: Likewise.
11318 * libio/iopopen.c: Likewise.
11319 * libio/obprintf.c: Likewise.
11320 * libio/oldfileops.c: Likewise.
11321 * libio/oldiofclose.c: Likewise.
11322 * libio/oldiofdopen.c: Likewise.
11323 * libio/oldiofopen.c: Likewise.
11324 * libio/oldiopopen.c: Likewise.
11325 * libio/wfiledoalloc.c: Likewise.
11326 * libio/wgenops.c: Likewise.
11327 * locale/programs/xmalloc.c: Likewise.
11328 * misc/syslog.c: Likewise.
11329 * stdio-common/xbug.c: Likewise.
11330 * string/memchr.c: Likewise.
11331 * string/memcmp.c: Likewise.
11332 * string/memrchr.c: Likewise.
11333 * string/rawmemchr.c: Likewise.
11334 * sysdeps/posix/getcwd.c: Likewise.
11335 * time/strftime_l.c: Likewise.
11336
3b100462
JM
113372012-01-30 Joseph Myers <joseph@codesourcery.com>
11338
11339 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11340 * config.make.in (config-cflags-sse2avx): Define.
11341 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11342 Fix typo.
11343
607998af
CM
113442012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11345
11346 * scripts/config.guess: Update from upstream config git repository.
11347 * scripts/config.sub: Likewise.
11348
3601428f
CM
113492012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11350
3ac8b282
CM
11351 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11352 (EM_NUM): Update.
11353 (R_TILEPRO_*, R_TILEGX_*): New macros.
11354
e034841e
CM
11355 * scripts/firstversions.awk: Fix bug in version range handling.
11356
540d7568
CM
11357 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11358
3601428f
CM
11359 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11360
463de862
CM
11361 * include/sys/epoll.h: New file.
11362 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11363 libc_hidden_def.
11364
73139a76
UD
113652012-01-28 Ulrich Drepper <drepper@gmail.com>
11366
96bc5b45
UD
11367 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11368 Avoid unnecessary __WORDSIZE == 64 test.
11369 (fmaxf): Use VEX format if possible.
11370 (fmax): Likewise.
11371 (fminf): Likewise.
11372 (fmin): Likewise.
11373
56f6f6a2
UD
11374 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11375 * math/math_private.h: Remove libc_fegetround* and
11376 libc_fesetround*.
11377 * sysdeps/i386/configure.in: Check for -msse2avx.
11378 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11379 also if SSE2AVX is defined.
11380 Remove libc_fegetround* and libc_fesetround*.
11381 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11382 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11383 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11384 of HAS_YMM_USABLE.
11385 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11386 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11387 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11388 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11389 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11390
73139a76
UD
11391 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11392
d73f93a4
AZ
113932012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11394
11395 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11396 size is not set.
11397 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11398
6ee65ed6
UD
113992012-01-27 Ulrich Drepper <drepper@gmail.com>
11400
11401 [BZ #13618]
11402 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11403 relocation.
11404 * Makeconfig (libm): Define.
11405 * elf/Makefile: Add rules to build and run tst-relsort1.
11406 * elf/tst-relsort1.c: New file.
11407 * elf/tst-relsort1mod1.c: New file.
11408 * elf/tst-relsort1mod2.c: New file.
11409
8db21882
JM
114102012-01-27 Joseph Myers <joseph@codesourcery.com>
11411
11412 * math/s_ldexp.c: Remove __STDC__ conditionals.
11413 * math/s_ldexpf.c: Likewise.
11414 * math/s_ldexpl.c: Likewise.
11415 * math/s_nextafter.c: Likewise.
11416 * math/s_nexttowardf.c: Likewise.
11417 * math/s_significand.c: Likewise.
11418 * math/s_significandf.c: Likewise.
11419 * math/s_significandl.c: Likewise.
11420 * math/w_jnl.c: Likewise.
11421 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11422 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11423 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11424 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11425 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11428 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11429 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11430 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11431 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11432 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11433 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11434 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11440 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11441 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11442 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11443 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11445 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11446 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11447 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11448 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11449 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11451 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11452 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11453 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11454 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11461 * sysdeps/ieee754/k_standard.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11465 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11466 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11467 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11523 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11528 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11536 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11537 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11541 * sysdeps/ieee754/s_matherr.c: Likewise.
11542 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11543 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11545 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11546
965a54a4
JM
115472012-01-26 Joseph Myers <joseph@codesourcery.com>
11548
11549 * crypt/md5.h: Remove __STDC__ conditionals.
11550 * libio/libioP.h: Likewise.
11551 * locale/programs/config.h: Likewise.
11552 * sysdeps/generic/sysdep.h: Likewise.
11553 * sysdeps/i386/asm-syntax.h: Likewise.
11554 * sysdeps/s390/asm-syntax.h: Likewise.
11555 * sysdeps/unix/sysdep.h: Likewise.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11558
7071ad79
JM
115592012-01-26 Joseph Myers <joseph@codesourcery.com>
11560
11561 * libio/libio.h: Remove __STDC__ conditionals.
11562 * malloc/obstack.h: Likewise.
11563 * math/complex.h: Likewise.
11564 * math/math.h: Likewise.
11565 * sysdeps/generic/_G_config.h: Likewise.
11566 * sysdeps/gnu/_G_config.h: Likewise.
11567 * sysdeps/mach/hurd/_G_config.h: Likewise.
11568 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11569 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11570 * sysdeps/sparc/bits/mathdef.h: Likewise.
11571
afc5ed09
UD
115722012-01-26 Ulrich Drepper <drepper@gmail.com>
11573
11574 [BZ #13583]
11575 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11576 Clean up HAS_* macros.
afc5ed09 11577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11578 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11579 possible.
11580 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11581 HAS_AVX.
11582 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11583 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11584 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11586 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11587
bdb6de1d
JM
115882012-01-25 Joseph Myers <joseph@codesourcery.com>
11589
11590 * elf/tst-unique3.cc (gets): Remove declaration.
11591 * elf/tst-unique3lib.cc (gets): Likewise.
11592 * elf/tst-unique3lib2.cc (gets): Likewise.
11593 * elf/tst-unique4.cc (gets): Likewise.
11594
b15549e6
UD
115952012-01-24 Ulrich Drepper <drepper@gmail.com>
11596
11597 * include/stdio.h: Add C++ protection. Add gets declarations and
11598 definitions.
11599 * debug/tst-chk1.c: Don't declare gets here.
11600 * stdio-common/tst-gets.c: Likewise.
11601
a037381f
JM
116022012-01-24 Joseph Myers <joseph@codesourcery.com>
11603
11604 * posix/glob: Remove directory.
11605
f1d4aa75
JM
116062012-01-24 Joseph Myers <joseph@codesourcery.com>
11607
11608 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11609
81c0c964
PT
116102012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11611
11612 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11613 of the non-standard EPFNOSUPPORT.
11614
0ea698ae
ST
116152011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11616
11617 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11618 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11619 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11620
d220b117
UD
116212012-01-21 Ulrich Drepper <drepper@gmail.com>
11622
11623 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11624
3e1aa84e
UD
116252012-01-20 Ulrich Drepper <drepper@gmail.com>
11626
11627 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11628 transient errors.
11629 * nscd/grpcache.c (cache_addgr): Likewise.
11630 * nscd/hstcache.c (cache_addhst): Likewise.
11631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11632 * nscd/pwdcache.c (cache_addpw): Likewise.
11633 * nscd/servicescache.c (cache_addserv): Likewise.
11634
400aa020
UD
116352012-01-16 Ulrich Drepper <drepper@gmail.com>
11636
d77e7869
UD
11637 * malloc/malloc.c: Various cleanups.
11638 * malloc/hooks.c: Likewise.
11639
400aa020
UD
11640 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11641 * stdlib/bug-fmtmsg1.c: New file.
11642
11643 * stdlib/fmtmsg.c (init): Add missing unlock.
11644 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11645
e0a309cf
MP
116462012-01-12 Marek Polacek <polacek@redhat.com>
11647
11648 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11649 and _GNU_SOURCE.
11650
929d11c7
WS
116512012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11652
11653 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11654 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11655 macro to ensure uniqueness of label name.
11656 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11657 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11658
41d0e869
UD
116592012-01-11 Ulrich Drepper <drepper@gmail.com>
11660
0cc5ed3b
UD
11661 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11662
41d0e869
UD
11663 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11664 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11667
a47a831a
UD
116682012-01-10 Ulrich Drepper <drepper@gmail.com>
11669
daa891c0
UD
11670 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11671
11672 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11673 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11674 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11675
e58ef0f2
UD
11676 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11677
a47a831a 11678 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11679 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11680 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11682
11683 * math/bits/math-finite.h: Add ldexp support.
11684
a0bfc9c7
MP
116852012-01-10 Marek Polacek <polacek@redhat.com>
11686
11687 * locale/programs/localedef.h (show_archive_content): Add noreturn
11688 attribute.
11689
d6e97a1d
UD
116902012-01-09 Ulrich Drepper <drepper@gmail.com>
11691
11692 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11693
d5835c26
UD
116942012-01-08 Ulrich Drepper <drepper@gmail.com>
11695
e5f484c6
UD
11696 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11697
d5835c26
UD
11698 * io/Makefile (headers): Add bits/poll2.h.
11699
d1f741e9
WS
117002011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11701
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11703 typo #include statement.
11704
ec09c1c4
UD
117052012-01-08 Ulrich Drepper <drepper@gmail.com>
11706
11707 * include/sys/cdefs.h: Define __attribute_alloc_size.
11708 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11709 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11710 * elf/pldd.c: Likewise.
11711 * iconv/iconv_charmap.c: Likewise.
11712 * iconv/iconvconfig.c: Likewise.
11713 * iconv/strtab.c: Likewise.
11714 * locale/programs/locale.c: Likewise.
11715 * locale/programs/localedef.h: Likewise.
11716 * locale/programs/simple-hash.c: Likewise.
11717 * nscd/nscd.h: Likewise.
11718 * nss/makedb.c: Likewise.
11719 * sysdeps/generic/ldconfig.h: Likewise.
11720 * locale/programs/localedef.c: Remove xmalloc prototype.
11721 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11722
20b38e03
PP
117232012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11724
11725 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11726 appropriate.
11727
a0da5fe1
UD
117282012-01-08 Ulrich Drepper <drepper@gmail.com>
11729
1d5a644a 11730 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11731 * math/tst-CMPLX.c: New file.
1d5a644a 11732
8784a6db
UD
11733 * math/complex.h (CMPLXL): Fix typo.
11734
d9a216c0
UD
11735 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11736 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11737 GLIBC_2.16.
11738 * debug/tst-chk1.c: Add poll and ppoll tests.
11739 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11740 * include/sys/poll.h: Add hidden proto for ppoll.
11741 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11742 * sysdeps/mach/hurd/ppoll.c: Likewise.
11743 * io/ppoll.c: Likewise.
11744 * debug/poll_chk.c: New file.
11745 * debug/ppoll_chk.c: New file.
11746 * include/bits/poll2.h: New file.
11747 * io/bits/poll2.h: New file.
11748
ac097f5c
UD
11749 [BZ #1350]
11750 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11751
2119dcfa
UD
11752 * configure.in: static is always set to yes. Remove.
11753 * config.make.in: Don't set build-static.
11754 * Makeconfig: Remove use of build-static.
11755 * dlfcn/Makefile: Likewise.
11756 * elf/Makefile: Likewise.
11757 * math/Makefile: Likewise.
11758 * misc/Makefile: Likewise.
11759 * nptl/Makefile: Likewise.
11760 * sysdeps/mach/hurd/Makefile: Likewise.
11761
121766a9
UD
11762 * configure.in: PWD_P is not used anymore.
11763 * config.make.in: Remove PWD_P entry.
11764
51a1d39c 11765 * configure.in: Remove last remnants of RANLIB.
8720d066 11766 No need to check for signed size_t anymore.
215f4bdc
UD
11767 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11768 and IA-64.
3857022a 11769 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11770 * aclocal.m4: Likewise.
11771
d3ed7225
UD
11772 * wcsmbs/mbrtoc16.c: Implement using towc function.
11773 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11774 * wcsmbs/wcsmbsload.c: Likewise.
11775 * iconv/gconv_simple.c: Likewise.
11776 * iconv/gconv_int.h: Likewise.
11777 * iconv/gconv_builtin.h: Likewise.
11778 * iconv/iconv_prog.c: Remove CHAR16 handling.
11779
11780 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11781
11782 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11783
a0da5fe1
UD
11784 * configure.in: Remove --with-elf and --enable-bounded options.
11785 Dont set base_machine for ia64. More non-ELF conditions removed.
11786 Remove testing and setting of leading underscore information.
11787 * config.make.in (build-bounded): Set to no.
11788 * config.h.in: Remove NO_UNDERSCORES entry.
11789 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11790 them.
11791 * csu/start.c: Remove !NO_UNDERSCORE code.
11792 * locale/localeinfo.h: Likewise.
11793 * sysdeps/generic/machine-gmon.h: Likewise.
11794 * sysdeps/generic/sysdep.h: Likewise.
11795 * sysdeps/i386/sysdep.h: Likewise.
11796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11797 * sysdeps/mach/sysdep.h: Likewise.
11798 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11799 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11800 * sysdeps/sh/sysdep.h: Likewise.
11801 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11802 * sysdeps/unix/i386/sysdep.S: Likewise.
11803 * sysdeps/unix/sparc/start.c: Likewise.
11804 * sysdeps/unix/sparc/sysdep.S: Likewise.
11805 * sysdeps/unix/sparc/sysdep.h: Likewise.
11806 * sysdeps/unix/start.c: Likewise.
11807 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11808 * sysdeps/x86_64/sysdep.h: Likewise.
11809
df78418a
UD
118102012-01-07 Ulrich Drepper <drepper@gmail.com>
11811
a784e502
UD
11812 [BZ #13553]
11813 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11814 for non-gcc.
11815 * argp/argp-fmtstream.h: Use const instead __const.
11816 * argp/argp.h: Likewise.
11817 * assert/assert.h: Likewise.
11818 * bits/fenv.h: Likewise.
11819 * bits/sched.h: Likewise.
11820 * bits/sigset.h: Likewise.
11821 * bits/sigthread.h: Likewise.
11822 * catgets/nl_types.h: Likewise.
11823 * conform/data/pthread.h-data: Likewise.
11824 * crypt/crypt-private.h: Likewise.
11825 * crypt/crypt.h: Likewise.
11826 * crypt/crypt_util.c: Likewise.
11827 * ctype/ctype.h: Likewise.
11828 * debug/execinfo.h: Likewise.
11829 * debug/mbsnrtowcs_chk.c: Likewise.
11830 * debug/mbsrtowcs_chk.c: Likewise.
11831 * debug/wcsnrtombs_chk.c: Likewise.
11832 * debug/wcsrtombs_chk.c: Likewise.
11833 * debug/wcstombs_chk.c: Likewise.
11834 * dirent/dirent.h: Likewise.
11835 * dlfcn/dlfcn.h: Likewise.
11836 * elf/neededtest4.c: Likewise.
11837 * grp/grp.h: Likewise.
11838 * gshadow/gshadow.h: Likewise.
11839 * iconv/gconv.h: Likewise.
11840 * iconv/gconv_int.h: Likewise.
11841 * iconv/gconv_simple.c: Likewise.
11842 * iconv/iconv.h: Likewise.
11843 * iconv/loop.c: Likewise.
11844 * iconv/skeleton.c: Likewise.
11845 * include/aio.h: Likewise.
11846 * include/aliases.h: Likewise.
11847 * include/argz.h: Likewise.
11848 * include/arpa/inet.h: Likewise.
11849 * include/assert.h: Likewise.
11850 * include/dirent.h: Likewise.
11851 * include/dlfcn.h: Likewise.
11852 * include/execinfo.h: Likewise.
11853 * include/fcntl.h: Likewise.
11854 * include/fenv.h: Likewise.
11855 * include/glob.h: Likewise.
11856 * include/grp.h: Likewise.
11857 * include/libintl.h: Likewise.
11858 * include/mntent.h: Likewise.
11859 * include/netdb.h: Likewise.
11860 * include/pwd.h: Likewise.
11861 * include/rpc/netdb.h: Likewise.
11862 * include/sched.h: Likewise.
11863 * include/search.h: Likewise.
11864 * include/shadow.h: Likewise.
11865 * include/signal.h: Likewise.
11866 * include/stdio.h: Likewise.
11867 * include/stdlib.h: Likewise.
11868 * include/string.h: Likewise.
11869 * include/sys/socket.h: Likewise.
11870 * include/sys/stat.h: Likewise.
11871 * include/sys/statfs.h: Likewise.
11872 * include/sys/statvfs.h: Likewise.
11873 * include/sys/syslog.h: Likewise.
11874 * include/sys/time.h: Likewise.
11875 * include/sys/uio.h: Likewise.
11876 * include/time.h: Likewise.
11877 * include/unistd.h: Likewise.
11878 * include/utmp.h: Likewise.
11879 * include/wchar.h: Likewise.
11880 * include/wctype.h: Likewise.
11881 * inet/aliases.h: Likewise.
11882 * inet/arpa/inet.h: Likewise.
11883 * inet/netinet/ether.h: Likewise.
11884 * inet/netinet/in.h: Likewise.
11885 * intl/libintl.h: Likewise.
11886 * io/bits/fcntl2.h: Likewise.
11887 * io/fcntl.h: Likewise.
11888 * io/ftw.h: Likewise.
11889 * io/sys/poll.h: Likewise.
11890 * io/sys/stat.h: Likewise.
11891 * io/sys/statfs.h: Likewise.
11892 * io/sys/statvfs.h: Likewise.
11893 * io/utime.h: Likewise.
11894 * libio/bits/stdio.h: Likewise.
11895 * libio/bits/stdio2.h: Likewise.
11896 * libio/libio.h: Likewise.
11897 * libio/libioP.h: Likewise.
11898 * libio/stdio.h: Likewise.
11899 * locale/lc-ctype.c: Likewise.
11900 * locale/locale.h: Likewise.
11901 * login/utmp.h: Likewise.
11902 * malloc/arena.c: Likewise.
11903 * malloc/malloc.c: Likewise.
11904 * malloc/malloc.h: Likewise.
11905 * malloc/mcheck.c: Likewise.
11906 * malloc/mtrace.c: Likewise.
11907 * math/bits/mathcalls.h: Likewise.
11908 * math/fenv.h: Likewise.
11909 * math/math_private.h: Likewise.
11910 * misc/bits/error.h: Likewise.
11911 * misc/bits/syslog.h: Likewise.
11912 * misc/err.h: Likewise.
11913 * misc/error.h: Likewise.
11914 * misc/fstab.h: Likewise.
11915 * misc/mntent.h: Likewise.
11916 * misc/regexp.h: Likewise.
11917 * misc/search.h: Likewise.
11918 * misc/sgtty.h: Likewise.
11919 * misc/sys/mman.h: Likewise.
11920 * misc/sys/syslog.h: Likewise.
11921 * misc/sys/uio.h: Likewise.
11922 * misc/sys/xattr.h: Likewise.
11923 * misc/ttyent.h: Likewise.
11924 * nis/rpcsvc/ypclnt.h: Likewise.
11925 * nss/nss.h: Likewise.
11926 * posix/bits/unistd.h: Likewise.
11927 * posix/fnmatch.h: Likewise.
11928 * posix/glob.h: Likewise.
11929 * posix/sched.h: Likewise.
11930 * posix/spawn.h: Likewise.
11931 * posix/sys/wait.h: Likewise.
11932 * posix/unistd.h: Likewise.
11933 * posix/wordexp.h: Likewise.
11934 * pwd/pwd.h: Likewise.
11935 * resolv/netdb.h: Likewise.
11936 * resource/sys/resource.h: Likewise.
11937 * rt/aio.h: Likewise.
11938 * rt/bits/mqueue2.h: Likewise.
11939 * rt/mqueue.h: Likewise.
11940 * shadow/shadow.h: Likewise.
11941 * signal/signal.h: Likewise.
11942 * socket/send.c: Likewise.
11943 * socket/sendto.c: Likewise.
11944 * socket/sys/socket.h: Likewise.
11945 * stdio-common/printf.h: Likewise.
11946 * stdlib/bits/stdlib.h: Likewise.
11947 * stdlib/fmtmsg.h: Likewise.
11948 * stdlib/monetary.h: Likewise.
11949 * stdlib/stdlib.h: Likewise.
11950 * stdlib/ucontext.h: Likewise.
11951 * streams/stropts.h: Likewise.
11952 * string/argz.h: Likewise.
11953 * string/bits/string2.h: Likewise.
11954 * string/string.h: Likewise.
11955 * string/strings.h: Likewise.
11956 * sunrpc/rpc/auth.h: Likewise.
11957 * sunrpc/rpc/auth_des.h: Likewise.
11958 * sunrpc/rpc/clnt.h: Likewise.
11959 * sunrpc/rpc/netdb.h: Likewise.
11960 * sunrpc/rpc/pmap_clnt.h: Likewise.
11961 * sunrpc/rpc/xdr.h: Likewise.
11962 * sysdeps/generic/inttypes.h: Likewise.
11963 * sysdeps/generic/net/if.h: Likewise.
11964 * sysdeps/generic/sys/swap.h: Likewise.
11965 * sysdeps/gnu/net/if.h: Likewise.
11966 * sysdeps/gnu/utmpx.h: Likewise.
11967 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11968 * sysdeps/i386/i486/bits/string.h: Likewise.
11969 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11970 * sysdeps/s390/bits/string.h: Likewise.
11971 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11972 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11973 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11974 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11975 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11976 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11977 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11978 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11979 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11980 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11981 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11982 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11983 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11984 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11985 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11986 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11987 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11989 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11990 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11991 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11992 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11993 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11994 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11995 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11996 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11997 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11999 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12000 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12001 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12002 * sysvipc/sys/ipc.h: Likewise.
12003 * sysvipc/sys/msg.h: Likewise.
12004 * sysvipc/sys/sem.h: Likewise.
12005 * sysvipc/sys/shm.h: Likewise.
12006 * termios/termios.h: Likewise.
12007 * time/sys/time.h: Likewise.
12008 * time/time.h: Likewise.
12009 * wcsmbs/bits/wchar2.h: Likewise.
12010 * wcsmbs/uchar.h: Likewise.
12011 * wcsmbs/wchar.h: Likewise.
12012 * wctype/wctype.h: Likewise.
12013
0269750c
UD
12014 [BZ #13551]
12015 * Makeconfig: Remove all but ELF support including AIX support.
12016 * Makerules: Likewise.
12017 * config.h.in: Likewise.
12018 * config.make.in: Likewise.
12019 * configure: Likewise.
12020 * configure.in: Likewise.
12021 * csu/Makefile: Likewise.
12022 * csu/version.c: Likewise.
12023 * debug/Makefile: Likewise.
12024 * dlfcn/Makefile: Likewise.
12025 * elf/Makefile: Likewise.
12026 * extra-lib.mk: Likewise.
12027 * iconv/Makefile: Likewise.
12028 * include/libc-symbols.h: Likewise.
12029 * include/shlib-compat.h: Likewise.
12030 * resolv/Makefile: Likewise.
12031 * resolv/res_libc.c: Likewise.
12032 * rt/Makefile: Likewise.
12033 * sysdeps/i386/asm-syntax.h: Likewise.
12034 * sysdeps/i386/sysdep.h: Likewise.
12035 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12036 * sysdeps/mach/sysdep.h: Likewise.
12037 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12038 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12039 * sysdeps/s390/asm-syntax.h: Likewise.
12040 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12041 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12042 * sysdeps/sh/sysdep.h: Likewise.
12043 * sysdeps/unix/sparc/sysdep.h: Likewise.
12044 * sysdeps/wordsize-32/divdi3.c: Likewise.
12045 * sysdeps/x86_64/sysdep.h: Likewise.
12046
00bbd29b
UD
12047 * argp/Versions: Remove _argp_unlock_xxx.
12048
12049 [BZ #13559]
12050 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12051 * abilist/libBrokenLocale.abilist: Likewise.
12052 * abilist/libanl.abilist: Likewise.
12053 * abilist/libc.abilist: Likewise.
12054 * abilist/libcrypt.abilist: Likewise.
12055 * abilist/libdl.abilist: Likewise.
12056 * abilist/libm.abilist: Likewise.
12057 * abilist/libnsl.abilist: Likewise.
12058 * abilist/libpthread.abilist: Likewise.
12059 * abilist/libresolv.abilist: Likewise.
12060 * abilist/librt.abilist: Likewise.
12061 * abilist/libthread_db.abilist: Likewise.
12062 * abilist/libutil.abilist: Likewise.
12063 * abilist/libnss_db.abilist: New file.
12064
12065 * scripts/abilist.awk: Add support for indirect functions.
12066
a2693a0e
UD
12067 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12068
3f05895f
UD
12069 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12070
ecb6fb48
UD
12071 * shlib-versions: Remove entries for ports architectures.
12072
664f8cb9
UD
12073 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12074 files in ports.
12075 * elf/stackguard-macros.h: Remove support for IA-64.
12076 * elf/tst-auditmod1.c: Likewise.
12077 * sysdeps/generic/ldsodefs.h: Likewise.
12078
7ae81d88
UD
12079 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12080 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12081 configure files.
12082
bdeba135
UD
12083 [BZ #13552]
12084 * configure.in: Remove --enable-omitfp support.
12085 * FAQ.in: Adjust.
12086 * config.make.in: Likewise.
12087 * Makeconfig: Likewise.
12088 * manual/install.texi: Likewise.
12089
d75a0a62
UD
12090 In case anyone cares, the IA-64 architecture could move to ports.
12091 * sysdeps/ia64/*: Removed.
12092 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12093 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12094
dcc9756b
UD
12095 [BZ #13555]
12096 * configure.in: Remove entries for unsupported architectures.
12097
d3761ebc 12098 [BZ #13533]
9954432e
UD
12099 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12100 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12101 routines.
12102 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12103 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12104 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12105 fall back to using wcrtomb.
12106 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12107 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12108 renaming.
12109 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12110 * wcsmbs/tst-c16c32-1.c: New file.
12111
12112 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12113 local variable.
12114
c3a87236
UD
12115 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12116
28926a1b
UD
12117 * elf/tst-unique3.cc: Add explicit declaration of gets.
12118 * elf/tst-unique3lib.cc: Likewise.
12119 * elf/tst-unique3lib2.cc: Likewise.
12120 * elf/tst-unique4.cc: Likewise.
12121
df78418a
UD
12122 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12123
8ecd6b2a
JM
121242012-01-06 Joseph Myers <joseph@codesourcery.com>
12125
12126 [BZ #13566]
12127 * assert/assert.h (static_assert): Don't define for C++.
12128 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12129 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12130
9f115170
UD
121312012-01-03 Ulrich Drepper <drepper@gmail.com>
12132
5e0d0300
UD
12133 * iconv/loop.c (single loop): Fix assertion in storing of
12134 remaining bytes.
12135
9f115170
UD
12136 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12137
81fb02b0
UD
121382012-01-01 Ulrich Drepper <drepper@gmail.com>
12139
12140 * posix/getconf.c: Update copyright year.
12141 * nss/getent.c: Likewise.
a316c1f6 12142 * nss/makedb.c: Likewise.
81fb02b0
UD
12143 * iconv/iconvconfig.c: Likewise.
12144 * iconv/iconv_prog.c: Likewise.
12145 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12146 * elf/pldd.c: Likewise.
12147 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12148 * catgets/gencat.c: Likewise.
12149 * csu/version.c: Likewise.
12150 * elf/ldd.bash.in: Likewise.
12151 * elf/sprof.c (print_version): Likewise.
12152 * locale/programs/locale.c: Likewise.
12153 * locale/programs/localedef.c: Likewise.
a316c1f6 12154 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12155 * nscd/nscd.c (print_version): Likewise.
12156 * debug/xtrace.sh: Likewise.
12157 * malloc/memusage.sh: Likewise.
12158 * malloc/mtrace.pl: Likewise.
12159 * debug/catchsegv.sh: Likewise.
12160
2ba92745
JJ
121612011-12-30 Jakub Jelinek <jakub@redhat.com>
12162
12163 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12164 pure attribute.
12165
dadebdae
UD
121662011-12-24 Ulrich Drepper <drepper@gmail.com>
12167
d3761ebc 12168 [BZ #13533]
db6af3eb
UD
12169 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12170 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12171 transformations.
12172 * iconv/gconv_int.h: Likewise.
12173 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12174 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12175 from libc for GLIBC_2.16.
12176 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12177 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12178 * wcsmbs/uchar.h: Really define mbstate_t.
12179 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12180 * wcsmbs/c16rtomb.c: New file.
12181 * wcsmbs/mbrtoc16.c: New file.
12182 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12183 for C/POSIX locale.
12184 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12185 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12186
dadebdae
UD
12187 * wcsmbs/wchar.h: Add missing __restrict.
12188
67371b56
UD
121892011-12-23 Ulrich Drepper <drepper@gmail.com>
12190
74033a25
UD
12191 [BZ #13532]
12192 * time/Makefile (routines): Add timespec_get.
12193 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12194 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12195 timespec for ISO C11.
12196 * time/timespec_get.c: New file.
12197 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12198 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12199
380d7e87
UD
12200 [BZ #13531]
12201 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12202 * stdlib/stdlib.h: Declare aligned_alloc.
12203 * Versions.def: Add GLIBC_2.16 for libc.
12204 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12205
4e9e7a35
UD
12206 [BZ 13527]
12207 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12208 ISO C11.
12209
380d7e87 12210 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12211 code.
12212
03a71829
UD
12213 [BZ #13528]
12214 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12215
839e283e
UD
12216 [BZ #13529]
12217 * assert/assert.h (static_assert): Define.
12218
ce5294e2 12219 * version.h: Update for 2.16 development version.
90fa7312 12220
8d44e150 12221 [BZ #13526]
d7809905
UD
12222 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12223 _ISOC11_SOURCE.
12224
c0da14cd
UD
12225 * version.h (RELEASE): Bump for 2.15 release.
12226 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12227
530a3249
MP
12228 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12229 Patch by Marek Polacek <mpolacek@redhat.com>.
12230
67371b56
UD
12231 * bits/byteswap.h: Protect long long constants with __extension__.
12232 * sysdeps/i386/bits/byteswap.h: Likewise.
12233 * sysdeps/ia64/bits/byteswap.h: Likewise.
12234 * sysdeps/s390/bits/byteswap.h: Likewise.
12235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12236
15db4de1
LD
122372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12238
12239 [BZ #13540]
bbe315ea
LD
12240 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12241 destination buffer.
15db4de1
LD
12242 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12243
2b2596b1
MP
122442011-12-23 Marek Polacek <polacek@redhat.com>
12245
12246 * elf/dl-addr.c (determine_info): Add inline keyword.
12247 * elf/tst-auditmod4b.c (check_avx): Likewise.
12248 * elf/tst-auditmod6b.c (check_avx): Likewise.
12249 * elf/tst-auditmod6c.c (check_avx): Likewise.
12250 * elf/tst-auditmod7b.c (check_avx): Likewise.
12251
70c6c246
UD
122522011-12-23 Ulrich Drepper <drepper@gmail.com>
12253
12254 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12255 !__SSE_MATH__.
12256
c044cf14
LD
122572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12258
15db4de1 12259 [BZ #13540]
c044cf14
LD
12260 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12261 processing for last bytes.
12262
6b13d9d9
BH
122632011-08-06 Bruno Haible <bruno@clisp.org>
12264
d455f537
BH
12265 [BZ #13061]
12266 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12267 U+0385, not to U+1FEE.
12268
6b13d9d9
BH
12269 [BZ #13062]
12270 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12271 entry for U+00A5 U+0301.
12272
db910efd
UD
122732011-12-22 Ulrich Drepper <drepper@gmail.com>
12274
27deeafc
UD
12275 [BZ #13166]
12276 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12277 buffer for the output is too small.
12278
aed9d171
UD
12279 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12280 optimization.
12281
db910efd
UD
12282 [BZ #13185]
12283 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12284 SSE flags if possible.
12285
2bd779ae
LD
122862011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12287
e7f9dac3 12288 [BZ #13540]
2bd779ae
LD
12289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12290 processing for last bytes.
12291
154bfc16
JM
122922011-12-22 Joseph Myers <joseph@codesourcery.com>
12293
12294 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12295 (syscall-list-default-options, syscall-list-default-condition)
12296 (syscall-list-includes): Define.
12297 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12298 list of ABIs and options and #if conditions for each ABI. Do not
12299 handle common syscalls between ABIs specially.
12300 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12301 Remove.
12302 (syscall-list-variants, syscall-list-32bit-options)
12303 (syscall-list-32bit-condition, syscall-list-64bit-options)
12304 (syscall-list-64bit-condition): Define.
12305 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12306 (syscall-list-variants, syscall-list-32bit-options)
12307 (syscall-list-32bit-condition, syscall-list-64bit-options)
12308 (syscall-list-64bit-condition): Define.
12309 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12310 Remove.
12311 (syscall-list-variants, syscall-list-32bit-options)
12312 (syscall-list-32bit-condition, syscall-list-64bit-options)
12313 (syscall-list-64bit-condition): Define.
12314 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12315 Remove.
12316 (syscall-list-variants, syscall-list-32bit-options)
12317 (syscall-list-32bit-condition, syscall-list-64bit-options)
12318 (syscall-list-64bit-condition): Define.
12319
21eaf3a5
UD
123202011-12-22 Ulrich Drepper <drepper@gmail.com>
12321
16c6f992
UD
12322 * locale/iso-639.def: Add brx entry.
12323
41043168
UD
12324 [BZ #13328]
12325 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12326 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12327
21eaf3a5
UD
12328 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12329 __feraiseexcept_renamed.
12330
e3a851a2
UD
123312011-12-21 Ulrich Drepper <drepper@gmail.com>
12332
4920765e
UD
12333 [BZ #13538]
12334 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12335 EPOLLET with unsigned values.
12336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12337 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12338
e3a851a2
UD
12339 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12340 to large cancellation.
12341 * math/s_cacoshf.c: Likewise.
12342 * math/s_cacoshl.c: Likewise.
12343
b27e24b8
RK
123442011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12345
12346 [BZ #13305]
aebefeee 12347 [BZ #12786]
b27e24b8
RK
12348 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12349 * math/s_cacoshf.c: Likewise.
12350 * math/s_cacoshl.c: Likewise.
12351
ee190f67
UD
123522011-12-21 Ulrich Drepper <drepper@gmail.com>
12353
12354 [BZ #13439]
12355 * iconv/gconv.h: Define __GCONV_SWAP.
12356 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12357 * iconvdata/utf-16.c: Likewise.
12358 * iconvdata/utf-32.c: Likewise.
12359
707f25df
AS
123602011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12361
12362 [BZ #13524]
12363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12364 numerator after shifting it by one limb.
12365
d2daaa1e
RÁE
123662011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12367
12368 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12369 under [__USE_EXTERN_INLINES].
12370
a4647e72
UD
123712011-12-17 Ulrich Drepper <drepper@gmail.com>
12372
12373 [BZ #13446]
12374 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12375
f0b264f1
AZ
123762011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12377
12378 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12379 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12380 optimized code.
12381 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12382 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12383 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12384 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12385 for strncasecmp/strncasecmp_l compilation.
12386 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12387 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12388
8ef4f244
MP
123892011-12-08 Marek Polacek <mpolacek@redhat.com>
12390
12391 [BZ #13484]
12392 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12393 of __asm__.
12394
97ac2654
UD
123952011-12-17 Ulrich Drepper <drepper@gmail.com>
12396
12397 [BZ #13506]
12398 * time/tzfile.c (__tzfile_read): Check values from file header.
12399
91d2a845
WS
124002011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12401
12402 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12403 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12404 * powerpc/powerpc32/dl-start.S: Likewise.
12405 * powerpc/powerpc32/elf/start.S: Likewise.
12406 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12407 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12408 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12409 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12410 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12411 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12412 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12413 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12414 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12415 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12416 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12417 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12418 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12419 * powerpc/powerpc32/memset.S: Likewise.
12420 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12421 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12422 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12423 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12424 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12425 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12426 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12427 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12428 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12429 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12430 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12431 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12432 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12433
a1267ba1
AZ
124342011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12435
12436 * math/libm-test.inc: Added more nearbyint tests.
12437 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12438 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12439 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12441
ad8ac1bd
RL
124422011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12443
12444 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12445 FD_CLOEXEC.
12446
1d3e4b61
UD
124472011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12448
12449 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12450 Add wcscpy-ssse3 wcscpy-c.
12451 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12452 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12453 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12454 * sysdeps/x86_64/wcschr.S: New file.
12455 * sysdeps/x86_64/wcsrchr.S: New file.
12456 * string/test-strcmp.c: Remove checking of wcscmp function for
12457 wrong alignments.
12458 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12459 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12460 wcsrchr-sse2 wcsrchr-c.
12461 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12462 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12463 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12464 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12465 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12466 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12467 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12468 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12469 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12470 * wcsmbc/wcschr.c (WCSCHR): New macro.
12471
5b330a2d
UD
124722011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12473
12474 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12475 * wcsmbs/test-wcsrchr.c: New file.
12476 * string/test-strrchr.c: Add wcsrchr support.
12477 (WIDE): New macro.
12478 * wcsmbs/test-wcscpy.c: New file.
12479 * string/test-strcpy.c: Add wcscpy support.
12480 (WIDE): New macro.
26428b7c 12481
f039c043
UD
124822011-12-10 Ulrich Drepper <drepper@gmail.com>
12483
12484 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12485 the inner loop.
12486
850fb039
AS
124872011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12488
12489 [BZ #13472]
12490 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12491
4efbd5cb
UD
124922011-12-04 Ulrich Drepper <drepper@gmail.com>
12493
52ff5dd0 12494 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12495 Minor optimizations.
52ff5dd0 12496
4efbd5cb
UD
12497 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12498 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12499 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12500
8a426e12
UD
125012011-12-03 Ulrich Drepper <drepper@gmail.com>
12502
aff2453d
UD
12503 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12504 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12505 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12506 for gcc to avoid warnings.
12507 * inet/Makefile (tests): Add tst-checks.
12508 * inet/tst-checks.c: New file.
12509
12510 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12511 warning.
12512
12513 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12514 __wmemcmp_sse2.
12515
12516 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12517 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12518
8a426e12
UD
12519 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12520
9bea3473
UD
125212011-12-02 Ulrich Drepper <drepper@gmail.com>
12522
3a965496
UD
12523 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12524 problem.
12525
9bea3473
UD
12526 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12527
f101631b
UD
125282011-11-29 Joseph Myers <joseph@codesourcery.com>
12529
12530 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12531 conditional on GCC version.
12532 (__arch_compare_and_exchange_val_8_acq)
12533 (__arch_compare_and_exchange_val_16_acq)
12534 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12535 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12536 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12537
a98275aa
UD
125382011-12-02 Joseph Myers <joseph@codesourcery.com>
12539
12540 * sysdeps/sh/backtrace.c: New file.
12541
d4cc29a2
AS
125422011-12-02 Andreas Schwab <schwab@redhat.com>
12543
12544 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12545 parenthesis.
12546
6257af2d
AS
125472011-12-01 Andreas Schwab <schwab@redhat.com>
12548
12549 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12550 falling back to utime.
12551
b5f44c1a
AS
125522011-11-30 Andreas Schwab <schwab@redhat.com>
12553
12554 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12555 expectations for float.
12556
f3a6cc0a
AS
125572011-11-29 Andreas Schwab <schwab@redhat.com>
12558
12559 * locale/weight.h (findidx): Add parameter len.
12560 * locale/weightwc.h (findidx): Likewise.
12561 * posix/fnmatch_loop.c (FCT): Adjust caller.
12562 * posix/regcomp.c (build_equiv_class): Likewise.
12563 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12564 * posix/regexec.c (check_node_accept_bytes): Likewise.
12565 * string/strcoll_l.c (STRCOLL): Likewise.
12566 * string/strxfrm_l.c (STRXFRM): Likewise.
12567
9d65ea3a
UD
125682011-11-17 Ulrich Drepper <drepper@gmail.com>
12569
12570 * Makefile.in: Remove CVSOPT handling.
12571 * configure.in: Remove use of AC_REVISION.
12572 * iconvdata/Makefile (distribute): No need to filter out CVS.
12573 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12574 handling.
12575
5583a086
AS
125762011-11-16 Andreas Schwab <schwab@redhat.com>
12577
12578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12579 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12580 [USE_AS_STRNCASECMP_L]: Likewise.
12581 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12582 NO_TLS_DIRECT_SEG_REFS.
12583 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12584 Fix argument offsets for non-PIC.
12585 [USE_AS_STRNCASECMP_L]: Likewise.
12586 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12587 NO_TLS_DIRECT_SEG_REFS.
12588
d62a8200
UD
125892011-11-15 Ulrich Drepper <drepper@gmail.com>
12590
9d65ea3a 12591 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12592 O_CLOEXEC.
12593 * locale/loadlocale.c (_nl_load_locale): Likewise.
12594
09f93bd3
AS
125952011-11-15 Andreas Schwab <schwab@redhat.com>
12596
446514f9
AS
12597 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12598 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12600 (SYSCALL_GETTIME): Set errno on error.
12601
09f93bd3
AS
12602 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12603 count references to noai6ai_cached.
12604
312be3f9
UD
126052011-11-15 Ulrich Drepper <drepper@gmail.com>
12606
12607 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12608
12609 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12610 FD_CLOEXEC for /proc/self/maps.
12611
12612 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12613 FD_CLOEXEC for /proc/meminfo.
12614
12615 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12616 gai.conf.
12617
12618 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12619 FD_CLOEXEC for given file.
12620
12621 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12622
12623 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12624 FD_CLOEXEC for /etc/hosts.
12625 (_gethtent): Likewise.
12626
12627 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12628
12629 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12630 cancellation and set FD_CLOEXEC for /etc/netgroup.
12631
12632 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12633 reading /etc/publickey.
12634
12635 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12636 allow cancellation when reading /etc/group.
12637
12638 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12639 cancellation.
12640 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12641
12642 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12643 when using data file.
12644
12645 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12646
12647 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12648 (write_nis_obj): Use "c" and "e" in fopen.
12649
12650 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12651
12652 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12653
12654 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12655
12656 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12657
12658 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12659 locale.alias.
12660
12661 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12662
12663 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12664
12665 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12666
12667 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12668 file parsing and set FD_CLOEXEC.
12669
82af0fa8
UD
126702011-11-14 Ulrich Drepper <drepper@gmail.com>
12671
12672 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12673
a5fb313c
AS
126742011-11-14 Andreas Schwab <schwab@redhat.com>
12675
12676 * malloc/arena.c (arena_get2): Don't call reused_arena when
12677 _int_new_arena failed.
12678
6abf3465
UD
126792011-11-14 Ulrich Drepper <drepper@gmail.com>
12680
12681 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12682 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12683 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12684 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12685 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12687 to compile strcasecmp and strncasecmp.
12688 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12689 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12690
12691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12692
76e3966e
UD
126932011-11-13 Ulrich Drepper <drepper@gmail.com>
12694
12695 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12696 locale-defines.sym to gen-as-const-headers.
12697 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12698 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12700 to compile strcasecmp and strncasecmp.
12701 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12702 strcasecmp_l and strncasecmp_l.
12703 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12704 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12705 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12706 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12707 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12708 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12709 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12710 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12711 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12712 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12713 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12714
ab26144e
UD
127152011-11-12 Ulrich Drepper <drepper@gmail.com>
12716
7edb22ef
UD
12717 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12718 result of SYSDEP_GETTIME_CPU to retval.
12719 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12720 parameter list to macro. Remove trailing semicolon. Adjust users.
12721
9694fc44
UD
12722 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12723 variable.
12724
8ad89ef8
UD
12725 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12726 mantissa words.
12727 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12728
0c822ef9
UD
12729 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12730 from unused variable.
12731
874e0564
UD
12732 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12733 DWARF definitions.
12734 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12735 for assembling.
12736
3a2edc79
UD
12737 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12738 over namespaces.
12739
f3c2577f
UD
12740 * sunrpc/rpc_prot.c (rejected): Fix case value.
12741
294ce126
UD
12742 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12743 unsigned long long int to avoid warnings in shift.
12744
5e2b63c6
UD
12745 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12746 of use of trans.
12747 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12748 variable tmp.
12749
e7f4b08e
UD
12750 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12751 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12752 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12753
ab26144e
UD
12754 * nis/nis_table.c (nis_list): Use variable of correct type for
12755 result of __follow_path call.
12756
8a6d5255
AZ
127572011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12758
12759 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12760 of math functions ceil, trunc, floor, round, and sqrt, when
12761 avaliable on the platform.
12762 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12763 name clash.
12764 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12765 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12766 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12767
aaddc98c
MP
127682011-10-30 Marek Polacek <mpolacek@redhat.com>
12769
12770 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12771 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12772
95b7042b
RM
127732011-11-11 Roland McGrath <roland@hack.frob.com>
12774
12775 * include/unistd.h: Fix __readlink return type.
12776 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12777
57769839
UD
127782011-11-11 Ulrich Drepper <drepper@gmail.com>
12779
12780 * stdlib/ucontext.h: Undo last change for makecontext.
12781
edc5984d
AS
127822011-11-11 Andreas Schwab <schwab@redhat.com>
12783
98591e58
AS
12784 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12785
edc5984d
AS
12786 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12787 * setjmp/setjmp.h: Mark functions as non-leaf.
12788 * setjmp/bits/setjmp2.h: Likewise.
12789 * stdlib/ucontext.h: Likewise.
12790
77cdc054
AS
127912011-11-10 Andreas Schwab <schwab@redhat.com>
12792
12793 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12794 (reused_arena): Don't check arena limit.
12795 (arena_get2): Atomically check arena limit.
12796
fe72eebd
UD
127972011-11-08 Ulrich Drepper <drepper@gmail.com>
12798
5f078c32
UD
12799 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12800 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12801
fe72eebd
UD
12802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12803 instructions.
12804
ae1bc2fa
AS
128052011-11-07 Andreas Schwab <schwab@redhat.com>
12806
7583a88d
AS
12807 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12808 handler when locking.
12809
ae1bc2fa
AS
12810 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12811 Fix size of allocated buffer.
12812
10fb0bfa
AS
128132011-11-04 Andreas Schwab <schwab@redhat.com>
12814
998832a4
AS
12815 [BZ #10103]
12816 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12817 declarations for long double functions.
12818 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12819
10fb0bfa
AS
12820 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12821
3d7ba52b
AS
128222011-11-03 Andreas Schwab <schwab@redhat.com>
12823
a9ae54a1
AS
12824 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12825 installed.
12826
3d7ba52b
AS
12827 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12828 is disabled.
12829
bc8db248
ST
128302011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12831
12832 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12833
45b96dd6
AS
128342011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12835
647776f6
AS
12836 * include/alloca.h (stackinfo_alloca_round): Define.
12837 (extend_alloca): Use it.
12838 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12839 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12840 here.
12841
d91a8b93
AS
12842 * scripts/check-local-headers.sh: Ignore libaudit.h.
12843
45b96dd6
AS
12844 * nscd/Makefile (extra-objs): Make recursively expanded.
12845
432d41ce
UD
128462011-11-01 Ulrich Drepper <drepper@gmail.com>
12847
34372fc6
UD
12848 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12850
fadb59f8
UD
12851 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12852 * posix/tst-rfc3484-2.c: Likewise.
12853 * posix/tst-rfc3484-3.c: Likewise.
12854
78239589
UD
12855 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12856 process_vm_writev.
12857 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12858 process_vm_writev.
12859 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12860 process_vm_writev from libc using GLIBC_2.15 version.
12861
432d41ce
UD
12862 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12863
02f9c6cf
PP
128642011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12865
12866 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12867 stack usage.
12868
3a2c0242
UD
128692011-10-31 Ulrich Drepper <drepper@gmail.com>
12870
f4ec4833
UD
12871 [BZ #13367]
12872 * nss/getent.c (initgroups_keys): Show error message in case no group
12873 names are given.
12874
3a2c0242
UD
12875 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12876 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12877 __bump_nl_timestamp.
12878 * nscd/connections (nscd_init): When host database is served open
12879 netlink socket and request notification about configuration changes.
12880 (main_loop_poll): Track netlink file descriptor and bump timestamp
12881 in case data becomes available.
12882 (main_loop_epoll): Likewise.
12883 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12884 (database_pers_head): Add extra_data fileds.
12885 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12886 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12887 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12888 Adjust caller.
12889 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12890 in6ai data, call __free_in6ai.
12891 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12892 Add -DHAVE_NETLINK.
12893 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12894 interface information. Reuse previous data if netlink timestamp
12895 is not changed.
12896 (__bump_nl_timestamp): New function.
12897 (__free_in6ai): New function.
12898
636064eb
UD
128992011-10-30 Ulrich Drepper <drepper@gmail.com>
12900
12901 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12902 close_not_cancel_no_status here.
12903 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12904
9beb2334
UD
129052011-10-29 Ulrich Drepper <drepper@gmail.com>
12906
6ef76f3b
UD
12907 [BZ #13276]
12908 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12909 return value.
12910
0ffc4f3e 12911 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12912 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12913 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12914
cb95113e
UD
129152011-07-03 Andreas Jaeger <aj@suse.de>
12916
12917 [BZ #10709]
12918 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12919 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12920 * math/libm-test.inc (sin_test): Add test case.
12921
a1b560ff
UD
129222011-10-29 Ulrich Drepper <drepper@gmail.com>
12923
c9aaface
UD
12924 [BZ #13337]
12925 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12926 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12927
d272e7f1
UD
12928 * elf/chroot_canon.c (chroot_canon): Cleanups.
12929
1bc33071
UD
12930 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12931
1760874d
TJ
12932 [BZ #13335]
12933 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12934 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12935
51d91b18
UD
12936 * string/test-strchr.c: Make usable for strchrnul testing.
12937 * string/test-strchrnul.c: New file.
12938 * string/Makefile (strop-tests): Add strchrnul.
12939
a1b560ff 12940 * po/it.po: Update from translation team.
b611fb81 12941 * po/es.po: Likewise.
a1b560ff 12942
a5b81e1f
UD
129432011-10-28 Ulrich Drepper <drepper@gmail.com>
12944
fd52bc6d
UD
12945 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12946 the three constants needed as parameters. Drop the others.
12947 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12948 __m128i_strloadu_tolower.
52e4b9eb
UD
12949 Create and initialize variable zero and use it in all the places
12950 where _mm_setzero_si128 was used.
fd52bc6d 12951
a5b81e1f
UD
12952 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12953 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12954 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12955 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12956 anymore.
12957 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12958 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12959 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12960 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12961 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12962 __mpranred, __mptan.
12963 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12964 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12965 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12966 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12967 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12968 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12969 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12970 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12971 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12972
b4343346
AS
129732011-10-28 Andreas Schwab <schwab@redhat.com>
12974
0c92d8a8
AS
12975 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12976 redefine if SHARED.
12977 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12978
b4343346
AS
12979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12980 wide char related routines to wcsmbs subdir.
12981
3871f58f
AS
129822011-10-27 Andreas Schwab <schwab@redhat.com>
12983
12984 [BZ #13344]
12985 * misc/sys/cdefs.h (__THROWNL): Define.
12986 * posix/unistd.h: Use __THREADNL instead of __THREAD
12987 for memory synchronization functions.
12988
94d44d9f
RM
129892011-10-26 Roland McGrath <roland@hack.frob.com>
12990
21b64b15 12991 [BZ #13349]
94d44d9f
RM
12992 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12993 doesn't exist.
12994 * manual/stdio.texi (Obstack Streams): Node removed.
12995
f6ce9294
AS
129962011-10-26 Andreas Schwab <schwab@redhat.com>
12997
80479147
AS
12998 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12999 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13000 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13001
f6ce9294
AS
13002 * math/math_private.h (math_force_eval): Allow non-addressable
13003 arguments.
13004 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13005
618280a1
UD
130062011-10-25 Ulrich Drepper <drepper@gmail.com>
13007
e0016b11
UD
13008 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13009 file is not needed.
13010
13011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13012 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13013 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13014 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13015 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13016 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13017 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13018 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13019 Add AVX variants.
13020 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13021 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13022 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13023 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13024 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13025 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13026 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13027 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13028 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13029 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13030 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13031 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13033 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13034 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13035 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13036 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13037 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13038 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13039
13040 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13041 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13042
618280a1
UD
13043 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13044 place. Use VEX encoding when compiling for AVX.
13045
37822576
AS
130462011-10-25 Andreas Schwab <schwab@redhat.com>
13047
1f1e1947
AS
13048 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13049 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13050
37822576
AS
13051 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13052
31ea014d
UD
130532011-10-25 Ulrich Drepper <drepper@gmail.com>
13054
d7826aa1 13055 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13056 useless if() expression.
d7826aa1
UD
13057 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13067 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13068 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13069 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13070 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13071 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13072 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13073 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13075 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13076
31ea014d
UD
13077 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13078
16437fec
AS
130792011-10-25 Andreas Schwab <schwab@redhat.com>
13080
13081 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13082 condition.
13083 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13084
31d3cc00
UD
130852011-10-25 Ulrich Drepper <drepper@gmail.com>
13086
13087 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13088 .text section. Avoid duplicate constants.
13089 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13099 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13101 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13104 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13106 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13112 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13113 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13114 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13115 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13116 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13117 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13118 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13119 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13120 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13121 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13122 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13123 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13124 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13125 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13126 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13127 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13128 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13129 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13130 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13131 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13132 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13133 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13134
58985aa9
UD
131352011-10-24 Ulrich Drepper <drepper@gmail.com>
13136
202c9deb
UD
13137 * sysdeps/x86_64/dla.h: Move to ...
13138 * sysdeps/x86_64/fpu/dla.h: ...here.
13139 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13140 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13141
af968f62
UD
13142 * config.make.in: Add have-mfma4 entry.
13143 * configure.in: Substitute libc_cv_cc_fma4.
13144 * math/Makefile (dbl-only-routines): Add sincostab.
13145 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13146 Use __sincostab not sincos.
13147 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13148 name is a macro.
13149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13153 using __copysign.
13154 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13155 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13156 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13157 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13158 and __inv.
13159 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13160 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13161 __copysign.
13162 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13163 define aliases when function name is a macro.
13164 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13165 sysdeps/ieee754/dbl-64/sincos.tbl.
13166 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13167 fma4-enabled routines.
13168 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13169 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13170 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13171 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13172 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13173 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13174 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13175 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13176 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13177 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13178 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13179 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13180 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13181 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13183 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13184 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13185 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13186 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13187 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13188 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13189 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13190 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13191 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13192 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13193 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13194 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13195 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13196 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13197 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13198
58985aa9
UD
13199 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13200 rename.
13201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13209
a201fbcf
AS
132102011-10-24 Andreas Schwab <schwab@redhat.com>
13211
13212 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13213
fc2ee42a
LD
132142011-10-23 Ulrich Drepper <drepper@gmail.com>
13215
bb3129bd
UD
13216 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13217
0275fff8
UD
13218 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13219 prediction.
13220 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13221
2fa2ae85
UD
13222 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13223 Remove unused variable magic_bits.
13224 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13225
fc2ee42a
LD
13226 * string/strnlen.c: Define and use STRNLEN macro.
13227 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13228 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13229 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13230 * wcsmbs/wcslen.c: Define and use WCSLEN.
13231 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13232 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13233 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13234 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13235 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13236 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13237 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13238
ce7dd29f
LD
132392011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13240
13241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13242 strnlen-sse2-no-bsf.
13243 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13245 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13246 Add strnlen support.
13247 (USE_AS_STRNLEN): New macro.
13248 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13249 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13250 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13251 * sysdeps/x86_64/wcslen.S: New file.
13252
979c70a3
MZ
132532011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13254
13255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13256 XMM-moves are used for copying on small sizes.
13257
2d09f82f
LD
132582011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13259
13260 * wcsmbs/Makefile (strop-tests): Add wcschr.
13261 * wcsmbs/test-wcschr.c: New file.
13262 * string/test-strchr.c: Update.
13263 Add wcschr support.
13264 (WIDE): New macro.
13265
619fccca
LD
132662011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13267
2d09f82f 13268 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13269 * wcsmbs/test-wcslen.c: New file.
13270 * string/test-strlen.c: Update.
13271 Add wcslen support.
13272 (WIDE): New macro.
13273
09f699ea
UD
132742011-10-23 Ulrich Drepper <drepper@gmail.com>
13275
13276 * po/it.po: Update from translation team.
13277
95584d3b
LD
132782011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13279
13280 * sysdeps/x86_64/wcscmp.S: Update.
13281 Fix wrong comparison semantics.
13282 wcscmp shall use signed comparison not unsigned.
13283 Don't use substraction to avoid overflow bug.
13284 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13285 * wcsmbc/wcscmp.c: Likewise.
13286 * string/test-strcmp.c: Likewise.
13287 Add new tests to check cases with negative values.
13288
c8b3296b
UD
132892011-10-23 Ulrich Drepper <drepper@gmail.com>
13290
13291 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13292 * sysdeps/x86_64/dla.h: ...here. New file.
13293 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13302
246ad57a
AS
133032011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13304
13305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13306 __ynl_finite aliases.
13307
a1a87169
UD
133082011-10-22 Ulrich Drepper <drepper@gmail.com>
13309
0d355eb7
UD
13310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13311
a1a87169
UD
13312 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13313 define DLA_FMA.
13314 [DLA_FMA] (EMULV): Use DLA_FMA.
13315 [DLA_FMA] (MUL12): Use EMULV.
13316 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13317 that are not needed.
13318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13325
ee2aafe0
AS
133262011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13327
13328 * math/s_nan.c: Undef __nan.
13329 * math/s_nanf.c: Undef __nanf.
13330 * math/s_nanl.c: Undef __nanl.
13331 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13332 "math_private.h".
13333
bc62c2fb
UD
133342011-10-22 Ulrich Drepper <drepper@gmail.com>
13335
77425c63
UD
13336 * math/s_catan.c: Add branch predictions.
13337 * math/s_catanf.c: Likewise.
13338 * math/s_catanh.c: Likewise.
13339 * math/s_catanhf.c: Likewise.
13340 * math/s_catanhl.c: Likewise.
13341 * math/s_catanl.c: Likewise.
13342 * math/s_cexp.c: Likewise.
13343 * math/s_cexpf.c: Likewise.
13344 * math/s_cexpl.c: Likewise.
13345 * math/s_clog.c: Likewise.
13346 * math/s_clog10.c: Likewise.
13347 * math/s_clog10f.c: Likewise.
13348 * math/s_clog10l.c: Likewise.
13349 * math/s_clogf.c: Likewise.
13350 * math/s_clogl.c: Likewise.
13351 * math/s_csqrt.c: Likewise.
13352 * math/s_csqrtf.c: Likewise.
13353 * math/s_csqrtl.c: Likewise.
13354 * math/s_ctanf.c: Likewise.
13355 * math/s_ctanh.c: Likewise.
13356 * math/s_ctanhf.c: Likewise.
13357 * math/s_ctanhl.c: Likewise.
13358 * math/s_ctanl.c: Likewise.
13359
bc62c2fb
UD
13360 * math/math_private.h: Define __nan, __nanf, __nanl.
13361 * math/s_cacosh.c: Include <math_private.h>.
13362 * math/s_cacoshl.c: Likewise.
13363 * math/s_casinh.c: Likewise.
13364 * math/s_casinhf.c: Likewise.
13365 * math/s_casinhl.c: Likewise.
13366 * math/s_ccos.c: Rely entire on ccosh.
13367 * math/s_ccosf.c: Rely entire on ccoshf.
13368 * math/s_ccosl.c: Rely entirely on ccoshl.
13369 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13370 Remove tests for FE_INVALID.
13371 * math/s_ccoshf.c: Likewise.
13372 * math/s_ccoshl.c: Likewise.
13373 * math/s_csin.c: Likewise.
13374 * math/s_csinf.c: Likewise.
13375 * math/s_csinh.c Likewise.
13376 * math/s_csinhf.c: Likewise.
13377 * math/s_csinhl.c: Likewise.
13378 * math/s_csinl.c: Likewise.
13379 * math/s_ctan.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13381 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13382 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13383
8ec250a4
UD
133842011-10-21 Ulrich Drepper <drepper@gmail.com>
13385
c196fed8
UD
13386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13387 compilation problems.
13388
8ec250a4
UD
13389 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13390 __builtin_expect.
13391
8d4f46c6
UD
133922011-10-20 Ulrich Drepper <drepper@gmail.com>
13393
ed72b654
UD
13394 * sysdeps/i386/configure.in: Test for -mfma4 option.
13395 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13396 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13397 COMMON_CPUID_INDEX_80000001.
13398 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13399 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13400 use it if FMA3 is not supported.
13401 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13402
8d4f46c6
UD
13403 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13404 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13405
d45c60c2
AS
134062011-10-20 Andreas Schwab <schwab@redhat.com>
13407
13408 [BZ #12892]
13409 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13410 it would create a cycle with a link time dependency.
13411
d9a4d2ab
UD
134122011-10-19 Ulrich Drepper <drepper@gmail.com>
13413
855d1560
UD
13414 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13415 instruction.
13416 * string/Makefile (strop-tests): Add rawmemchr.
13417 * string/test-rawmemchr.c: New file.
13418
d9a4d2ab
UD
13419 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13420 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13421 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13422 when compiling str{,n}casecmp and when AVX is available. Hook up
13423 new optimized code in initializers.
13424
8f3b1ffe
AS
134252011-10-19 Andreas Schwab <schwab@redhat.com>
13426
13427 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13428 __feraiseexcept instead of feraiseexcept.
13429
d38f1dba
UD
134302011-10-18 Ulrich Drepper <drepper@gmail.com>
13431
d9a8d0ab
UD
13432 * math/math_private.h: Define defaults for libc_fetestexcept and
13433 libc_feupdateenv.
13434 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13435 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13436 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13437 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13438 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13439 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13440 libc_fetestexcept and libc_feupdateenv.
13441
4855e3dd
UD
13442 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13443 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13444 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13445 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13446 libc_feholdexcept_setround.
13447
581d30e3
UD
13448 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13449 Add s_nearbyint-c and s_nearbyintf-c.
13450 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13451 nearbyintf inlines.
13452 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13453 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13454 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13455 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13456
d38f1dba
UD
13457 * math/math_private.h: Define defaults for libc_fegetround,
13458 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13459 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13460 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13461 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13462 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13463 standard functions.
13464 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13465 Remove comments and hacks for old compiler versions.
13466 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13467 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13468 libc_feholdexceptl.
13469
caa6c9d8
AS
134702011-10-18 Andreas Schwab <schwab@redhat.com>
13471
13472 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13473 (__feraiseexcept_renamed): Add __NTH.
13474 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13475 namespace violations.
13476
97c066e6
UD
134772011-10-17 Ulrich Drepper <drepper@gmail.com>
13478
99ce7b04
UD
13479 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13480
1004d182
UD
13481 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13482
228a984d
UD
13483 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13484 recently added interfaces.
13485 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13486
c8553a6a
UD
13487 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13488 about macro parameter expansion.
13489
ed22dcf6
UD
13490 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13491 __NO_MATH_INLINES is defined. Cleanups.
13492
13493 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13494 and __floorf is target has SSE4.1.
13495 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13496 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13497 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13498 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13499
b171c137
UD
13500 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13501 name.
13502 (floorf): Likewise.
13503
97c066e6
UD
13504 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13505
629f62ef
AS
135062011-10-17 Andreas Schwab <schwab@redhat.com>
13507
49a43d80
AS
13508 * misc/sys/cdefs.h: Fix last change.
13509
629f62ef
AS
13510 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13511 database lookup.
13512
e453f6cd
UD
135132011-10-16 Ulrich Drepper <drepper@gmail.com>
13514
aa78043a
UD
13515 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13516
ad0f5cad
UD
13517 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13518 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13524 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13525 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13526 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13527 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13528 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13529 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13530 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13531 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13532 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13533 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13534 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13535 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13536 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13537 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13538 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13539
13540 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13541 ceil, ceilf, floor, floorf.
13542
13543 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13544 Perform IRELATIVE relocations last.
13545
e453f6cd
UD
13546 * elf/do-rel.h: Add another parameter nrelative, replacing the
13547 local variable with the same name. Change name of the function
13548 to end in Rel or Rela (uppercase).
13549 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13550 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13551 elf_dynamic_do_##reloc function.
13552
fd5bdc09
UD
135532011-10-15 Ulrich Drepper <drepper@gmail.com>
13554
79b195b5
UD
13555 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13556 is sufficient, at least on modern CPUs.
13557
d4a28569
UD
13558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13559
b61099b5
UD
13560 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13561 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13562
bcf01e6d
UD
13563 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13564 __expl_finite.
13565 * math/bits/math-finite.h: Add entries for exp.
13566 * math/e_expl.c: Add __*_finite alias.
13567 * sysdeps/i386/fpu/e_exp.S: Likewise.
13568 * sysdeps/i386/fpu/e_expf.S: Likewise.
13569 * sysdeps/i386/fpu/e_expl.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13571 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13575 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13577
ba1a0d59
UD
13578 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13579 is sufficient, at least on modern CPUs.
13580
fd5bdc09
UD
13581 * ctype/ctype-info.c (__ctype_init): Define.
13582 * include/ctype.h (__ctype_init): Declare.
13583 (__ctype_b_loc): The variable is always initialized.
13584 (__ctype_toupper_loc): Likewise.
13585 (__ctype_tolower_loc): Likewise.
13586 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13587 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13588
7872cfb0
AS
135892011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13590
b468825a
AS
13591 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13592
7872cfb0
AS
13593 * configure.in: Also look in $cxxmachine/include for C++ system
13594 headers.
13595
be13f7bf
LD
135962011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13597
13598 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13599 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13600 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13601 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13603 (USE_AS_WMEMCMP): New macro.
13604 Fixing indents.
13605 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13606 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13607 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13608 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13610 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13611 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13612 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13613 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13614 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13615 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13616 (USE_AS_WMEMCMP): New macro.
13617 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13618 * sysdeps/string/test-memcmp.c: Update.
13619 Fix simple_wmemcmp.
13620 Add new tests.
13621 * wcsmbs/wmemcmp.c: Update.
13622 (WMEMCMP): New macro.
13623 Fix overflow bug.
13624
556a2007
AJ
136252011-10-12 Andreas Jaeger <aj@suse.de>
13626
13627 [BZ #13268]
13628 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13629
538faaa7
UD
136302011-10-15 Ulrich Drepper <drepper@gmail.com>
13631
ab6737ff
UD
13632 * libio/iofwide.c (do_length): Avoid warning.
13633
538faaa7
UD
13634 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13635
396a21b1
UD
136362011-10-14 Ulrich Drepper <drepper@gmail.com>
13637
cdf2901f
UD
13638 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13639
38ad40ce
UD
13640 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13641 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13642 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13643 * sysdeps/i386/i686/fpu/e_log.S: New file.
13644 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13645 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13646
396a21b1
UD
13647 * ctype/ctype.h: Add support for inlined isXXX functions when
13648 compiling C++ code.
13649
6b1f68c9
AS
136502011-10-14 Andreas Schwab <schwab@redhat.com>
13651
349290c0
AS
13652 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13653
6b1f68c9
AS
13654 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13655
f2282d42
RM
136562011-10-13 Roland McGrath <roland@hack.frob.com>
13657
13658 [BZ #13291]
13659 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13660
5298ffa8
AS
136612011-10-13 Andreas Schwab <schwab@redhat.com>
13662
714fad23
AS
13663 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13664 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13665 feraiseexcept.
13666
81dcc7fb
AS
13667 * sysdeps/x86_64/memrchr.S: Check for zero size.
13668
5298ffa8
AS
13669 * string/stratcliff.c: Add memrchr tests.
13670
951fbcec
LD
136712011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13672
13673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13674 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13675 rawmemchr-sse2 rawmemchr-sse2-bsf.
13676 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13677 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13678 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13679 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13680 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13681 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13682 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13683 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13684 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13685 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13686 * string/memrchr.c (MEMRCHR): New macro.
13687
0ac5ae23
UD
136882011-10-12 Ulrich Drepper <drepper@gmail.com>
13689
13690 Add integration with gcc's -ffinite-math-only and optimize wrapper
13691 functions in libm.
13692 * Versions.def: Define GLIBC_2.15 version for libm.
13693 * math/Makefile (headers): Add bits/math-finite.h.
13694 * math/bits/math-finite.h: New file.
13695 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13696 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13697 * math/e_acoshl.c: Add __*_finite alias.
13698 * math/e_acosl.c: Likewise.
13699 * math/e_asinl.c: Likewise.
13700 * math/e_atan2l.c: Likewise.
13701 * math/e_atanhl.c: Likewise.
13702 * math/e_coshl.c: Likewise.
13703 * math/e_exp10.c: Likewise.
13704 * math/e_exp10f.c: Likewise.
13705 * math/e_exp10l.c: Likewise.
13706 * math/e_exp2l.c: Likewise.
13707 * math/e_fmodl.c: Likewise.
13708 * math/e_gammal_r.c: Likewise.
13709 * math/e_hypotl.c: Likewise.
13710 * math/e_j0l.c: Likewise.
13711 * math/e_j1l.c: Likewise.
13712 * math/e_jnl.c: Likewise.
13713 * math/e_lgammal_r.c: Likewise.
13714 * math/e_log10l.c: Likewise.
13715 * math/e_log2l.c: Likewise.
13716 * math/e_logl.c: Likewise.
13717 * math/e_powl.c: Likewise.
13718 * math/e_sinhl.c: Likewise.
13719 * math/e_sqrtl.c: Likewise.
13720 * math/e_scalb.c: Completely rewritten and optimized.
13721 * math/e_scalbf.c: Likewise.
13722 * math/e_scalbl.c: Likewise.
13723 * math/w_acos.c: Likewise.
13724 * math/w_acosf.c: Likewise.
13725 * math/w_acosl.c: Likewise.
13726 * math/w_acosh.c: Likewise.
13727 * math/w_acoshf.c: Likewise.
13728 * math/w_acoshl.c: Likewise.
13729 * math/w_asin.c: Likewise.
13730 * math/w_asinf.c: Likewise.
13731 * math/w_asinl.c: Likewise.
13732 * math/w_atan2.c: Likewise.
13733 * math/w_atan2f.c: Likewise.
13734 * math/w_atan2l.c: Likewise.
13735 * math/w_atanh.c: Likewise.
13736 * math/w_atanhf.c: Likewise.
13737 * math/w_atanhl.c: Likewise.
13738 * math/w_exp10.c: Likewise.
13739 * math/w_exp10f.c: Likewise.
13740 * math/w_exp10l.c: Likewise.
13741 * math/w_fmod.c: Likewise.
13742 * math/w_fmodf.c: Likewise.
13743 * math/w_fmodl.c: Likewise.
13744 * math/w_j0.c: Likewise.
13745 * math/w_j0f.c: Likewise.
13746 * math/w_j0l.c: Likewise.
13747 * math/w_j1.c: Likewise.
13748 * math/w_j1f.c: Likewise.
13749 * math/w_j1l.c: Likewise.
13750 * math/w_jn.c: Likewise.
13751 * math/w_jnf.c: Likewise.
13752 * math/w_log.c: Likewise.
13753 * math/w_logf.c: Likewise.
13754 * math/w_logl.c: Likewise.
13755 * math/w_log10.c: Likewise.
13756 * math/w_log10f.c: Likewise.
13757 * math/w_log10l.c: Likewise.
13758 * math/w_log2.c: Likewise.
13759 * math/w_log2f.c: Likewise.
13760 * math/w_log2l.c: Likewise.
13761 * math/w_pow.c: Likewise.
13762 * math/w_powf.c: Likewise.
13763 * math/w_powl.c: Likewise.
13764 * math/w_remainder.c: Likewise.
13765 * math/w_remainderf.c: Likewise.
13766 * math/w_remainderl.c: Likewise.
13767 * math/w_scalb.c: Likewise.
13768 * math/w_scalbf.c: Likewise.
13769 * math/w_scalbl.c: Likewise.
13770 * math/w_sqrt.c: Likewise.
13771 * math/w_sqrtf.c: Likewise.
13772 * math/w_sqrtl.c: Likewise.
13773 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13774 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13775 used.
13776 * math/math_private.h: Declare __kernel_standard_f.
13777 * math/w_cosh.c: Remove cruft and optimize a bit.
13778 * math/w_coshf.c: Likewise.
13779 * math/w_coshl.c: Likewise.
13780 * math/w_exp2.c: Likewise.
13781 * math/w_exp2f.c: Likewise.
13782 * math/w_exp2l.c: Likewise.
13783 * math/w_hypot.c: Likewise.
13784 * math/w_hypotf.c: Likewise.
13785 * math/w_hypotl.c: Likewise.
13786 * math/w_lgamma.c: Likewise.
13787 * math/w_lgamma_r.c: Likewise.
13788 * math/w_lgammaf.c: Likewise.
13789 * math/w_lgammaf_r.c: Likewise.
13790 * math/w_lgammal.c: Likewise.
13791 * math/w_lgammal_r.c: Likewise.
13792 * math/w_sinh.c: Likewise.
13793 * math/w_sinhf.c: Likewise.
13794 * math/w_sinhl.c: Likewise.
13795 * math/w_tgamma.c: Likewise.
13796 * math/w_tgammaf.c: Likewise.
13797 * math/w_tgammal.c: Likewise.
13798 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13799 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13800 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13801 Minor optimizations. Pretty printing. Remove cruft.
13802 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13803 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13804 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13805 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13806 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13807 * sysdeps/i386/fpu/e_asin.S: Likewise.
13808 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13809 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13810 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13811 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13812 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13813 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13814 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13815 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13816 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13817 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13818 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13819 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13820 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13821 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13822 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13823 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13824 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13825 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13826 * sysdeps/i386/fpu/e_log.S: Likewise.
13827 * sysdeps/i386/fpu/e_log10.S: Likewise.
13828 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13829 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13830 * sysdeps/i386/fpu/e_log2.S: Likewise.
13831 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13833 * sysdeps/i386/fpu/e_logf.S: Likewise.
13834 * sysdeps/i386/fpu/e_logl.S: Likewise.
13835 * sysdeps/i386/fpu/e_pow.S: Likewise.
13836 * sysdeps/i386/fpu/e_powf.S: Likewise.
13837 * sysdeps/i386/fpu/e_powl.S: Likewise.
13838 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13839 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13840 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13842 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13843 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13844 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13845 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13846 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13868 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13869 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13870 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13871 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13872 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13873 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13874 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13875 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13876 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13877 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13878 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13879 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13880 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13881 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13882 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13883 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13884 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13885 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13886 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13887 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13888 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13927 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13932 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13933 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13935 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13938 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13939 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13940 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13941 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13942 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13943 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13944 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13945 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13946 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13947 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13948 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13949 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13950 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13951 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13952 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13953 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13954 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13955 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13956 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13957 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13958 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13959 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13960 (__isnanf): Likewise.
13961 (__isinf_ns): Likewise.
13962 (__isinf_nsf): Likewise.
13963 (__finite): Likewise.
13964 (__finitef): Likewise.
13965 (__ieee754_sqrt): Define as macro.
13966 (__ieee754_sqrtf): Define as macro.
13967 (__ieee754_sqrtl): Define as macro.
13968 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13969 inlined copy.
13970 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13971 __FINITE_MATH_ONLY__ consistent.
13972 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13973
12cc2fcd
AS
139742011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13975
a843a204
AS
13976 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13977 of rawmemchr.
13978
12cc2fcd
AS
13979 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13980
c853acd5
UD
139812011-10-09 Ulrich Drepper <drepper@gmail.com>
13982
13983 * po/ja.po: Update from translation team.
13984
c658d255
RM
139852011-10-08 Roland McGrath <roland@hack.frob.com>
13986
110946e4
RM
13987 * locale/programs/locarchive.c (prepare_address_space): New function.
13988 (create_archive, enlarge_archive, open_archive): Use it.
13989
50604220
RM
13990 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13991 inside [SHARED], where it is used.
13992
c658d255
RM
13993 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13994
13995 * nss/getent.c (netgroup_keys): Remove unused variable.
13996 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13997
6a621eb7
UD
139982011-10-08 Ulrich Drepper <drepper@gmail.com>
13999
7edb55ce
UD
14000 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14001 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14003 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14004 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14005 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14006 * math/Makefile (libm-calls): Add s_isinf_ns.
14007 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14008 * math/multc3.c: Likewise.
14009 * math/s_casin.c: Likewise.
14010 * math/s_casinf.c: Likewise.
14011 * math/s_casinl.c: Likewise.
14012 * math/s_ccos.c: Likewise.
14013 * math/s_ccosf.c: Likewise.
14014 * math/s_ccosl.c: Likewise.
14015 * math/s_ctan.c: Likewise.
14016 * math/s_ctanf.c: Likewise.
14017 * math/s_ctanh.c: Likewise.
14018 * math/s_ctanhf.c: Likewise.
14019 * math/s_ctanhl.c: Likewise.
14020 * math/s_ctanl.c: Likewise.
14021 * math/w_fmod.c: Likewise.
14022 * math/w_fmodf.c: Likewise.
14023 * math/w_fmodl.c: Likewise.
14024 * math/w_remainder.c: Likewise.
14025 * math/w_remainderf.c: Likewise.
14026 * math/w_remainderl.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14028 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14029 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14030 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14031 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14032 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14033 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14034 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14035
187da0ae
UD
14036 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14037 of the number.
14038 * stdio-common/printf_fphex.c: Likewise.
14039 * stdio-common/printf_size.c: Likewise.
14040
9277c064
UD
14041 * math/e_exp10.c: Include math_private.h using <...> not "...".
14042 * math/e_exp10f.c: Likewise.
14043 * math/e_exp10l.c: Likewise.
14044 * math/e_exp2l.c: Likewise.
14045 * math/e_j0l.c: Likewise.
14046 * math/e_j1l.c: Likewise.
14047 * math/e_jnl.c: Likewise.
14048 * math/e_lgammal_r.c: Likewise.
14049 * math/e_rem_pio2l.c: Likewise.
14050 * math/e_scalb.c: Likewise.
14051 * math/e_scalbf.c: Likewise.
14052 * math/e_scalbl.c: Likewise.
14053 * math/k_cosl.c: Likewise.
14054 * math/k_sinl.c: Likewise.
14055 * math/k_tanl.c: Likewise.
14056 * math/s_cacoshf.c: Likewise.
14057 * math/s_catan.c: Likewise.
14058 * math/s_catanf.c: Likewise.
14059 * math/s_catanh.c: Likewise.
14060 * math/s_catanhf.c: Likewise.
14061 * math/s_catanhl.c: Likewise.
14062 * math/s_catanl.c: Likewise.
14063 * math/s_ccosh.c: Likewise.
14064 * math/s_ccoshf.c: Likewise.
14065 * math/s_ccoshl.c: Likewise.
14066 * math/s_cexp.c: Likewise.
14067 * math/s_cexpf.c: Likewise.
14068 * math/s_cexpl.c: Likewise.
14069 * math/s_clog.c: Likewise.
14070 * math/s_clog10.c: Likewise.
14071 * math/s_clog10f.c: Likewise.
14072 * math/s_clog10l.c: Likewise.
14073 * math/s_clogf.c: Likewise.
14074 * math/s_clogl.c: Likewise.
14075 * math/s_csin.c: Likewise.
14076 * math/s_csinf.c: Likewise.
14077 * math/s_csinh.c: Likewise.
14078 * math/s_csinhf.c: Likewise.
14079 * math/s_csinhl.c: Likewise.
14080 * math/s_csinl.c: Likewise.
14081 * math/s_csqrt.c: Likewise.
14082 * math/s_csqrtf.c: Likewise.
14083 * math/s_csqrtl.c: Likewise.
14084 * math/s_ctan.c: Likewise.
14085 * math/s_ctanf.c: Likewise.
14086 * math/s_ctanh.c: Likewise.
14087 * math/s_ctanhf.c: Likewise.
14088 * math/s_ctanhl.c: Likewise.
14089 * math/s_ctanl.c: Likewise.
14090 * math/s_ldexp.c: Likewise.
14091 * math/s_ldexpf.c: Likewise.
14092 * math/s_ldexpl.c: Likewise.
14093 * math/s_significand.c: Likewise.
14094 * math/s_significandf.c: Likewise.
14095 * math/s_significandl.c: Likewise.
14096 * math/w_acos.c: Likewise.
14097 * math/w_acosf.c: Likewise.
14098 * math/w_acosh.c: Likewise.
14099 * math/w_acoshf.c: Likewise.
14100 * math/w_acoshl.c: Likewise.
14101 * math/w_acosl.c: Likewise.
14102 * math/w_asin.c: Likewise.
14103 * math/w_asinf.c: Likewise.
14104 * math/w_asinl.c: Likewise.
14105 * math/w_atan2.c: Likewise.
14106 * math/w_atan2f.c: Likewise.
14107 * math/w_atan2l.c: Likewise.
14108 * math/w_atanh.c: Likewise.
14109 * math/w_atanhf.c: Likewise.
14110 * math/w_atanhl.c: Likewise.
14111 * math/w_cosh.c: Likewise.
14112 * math/w_coshf.c: Likewise.
14113 * math/w_coshl.c: Likewise.
14114 * math/w_dremf.c: Likewise.
14115 * math/w_exp10.c: Likewise.
14116 * math/w_exp10f.c: Likewise.
14117 * math/w_exp10l.c: Likewise.
14118 * math/w_exp2.c: Likewise.
14119 * math/w_exp2f.c: Likewise.
14120 * math/w_fmod.c: Likewise.
14121 * math/w_fmodf.c: Likewise.
14122 * math/w_fmodl.c: Likewise.
14123 * math/w_hypot.c: Likewise.
14124 * math/w_hypotf.c: Likewise.
14125 * math/w_hypotl.c: Likewise.
14126 * math/w_j0.c: Likewise.
14127 * math/w_j0f.c: Likewise.
14128 * math/w_j0l.c: Likewise.
14129 * math/w_j1.c: Likewise.
14130 * math/w_j1f.c: Likewise.
14131 * math/w_j1l.c: Likewise.
14132 * math/w_jn.c: Likewise.
14133 * math/w_jnf.c: Likewise.
14134 * math/w_jnl.c: Likewise.
14135 * math/w_lgamma.c: Likewise.
14136 * math/w_lgamma_r.c: Likewise.
14137 * math/w_lgammaf.c: Likewise.
14138 * math/w_lgammaf_r.c: Likewise.
14139 * math/w_lgammal.c: Likewise.
14140 * math/w_lgammal_r.c: Likewise.
14141 * math/w_log.c: Likewise.
14142 * math/w_log10.c: Likewise.
14143 * math/w_log10f.c: Likewise.
14144 * math/w_log10l.c: Likewise.
14145 * math/w_log2.c: Likewise.
14146 * math/w_log2f.c: Likewise.
14147 * math/w_log2l.c: Likewise.
14148 * math/w_logf.c: Likewise.
14149 * math/w_logl.c: Likewise.
14150 * math/w_pow.c: Likewise.
14151 * math/w_powf.c: Likewise.
14152 * math/w_powl.c: Likewise.
14153 * math/w_remainder.c: Likewise.
14154 * math/w_remainderf.c: Likewise.
14155 * math/w_remainderl.c: Likewise.
14156 * math/w_scalb.c: Likewise.
14157 * math/w_scalbf.c: Likewise.
14158 * math/w_scalbl.c: Likewise.
14159 * math/w_sinh.c: Likewise.
14160 * math/w_sinhf.c: Likewise.
14161 * math/w_sinhl.c: Likewise.
14162 * math/w_sqrt.c: Likewise.
14163 * math/w_sqrtf.c: Likewise.
14164 * math/w_sqrtl.c: Likewise.
14165 * math/w_tgamma.c: Likewise.
14166 * math/w_tgammaf.c: Likewise.
14167 * math/w_tgammal.c: Likewise.
14168
6a621eb7
UD
14169 * po/ja.po: Update from translation team.
14170
bf582445
AJ
141712011-09-29 Andreas Jaeger <aj@suse.de>
14172
f9efbf3a
AJ
14173 [BZ #13179]
14174 * sunrpc/netname.c (netname2host): Fix logic.
14175
bf582445
AJ
14176 [BZ #6779]
14177 [BZ #6783]
14178 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14179 correctly.
14180 * math/w_remainder.c (__remainder): Likewise.
14181 * math/w_remainderf.c (__remainderf): Likewise.
14182 * math/libm-test.inc (remainder_test): Add test cases.
14183
48693bea
AK
141842011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14185
14186 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14187 sdiv_qrnnd.
14188
42622229
LD
141892011-10-07 Ulrich Drepper <drepper@gmail.com>
14190
14191 * string/test-memcmp.c: Avoid unncessary #defines.
14192 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14193
093ecf92
LD
141942011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14195
14196 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14197 Use new sse2 version for core i3 - i7 as it's faster
14198 than sse42 version.
14199 (bit_Prefer_PMINUB_for_stringop): New.
14200 * sysdeps/x86_64/rawmemchr.S: Update.
14201 Replace with faster SSE2 version.
14202 * sysdeps/x86_64/memrchr.S: New file.
14203 * sysdeps/x86_64/memchr.S: Update.
14204 Replace with faster SSE2 version.
14205
fde56e5c
MP
142062011-09-12 Marek Polacek <mpolacek@redhat.com>
14207
14208 * elf/dl-load.c (lose): Add cast to avoid warning.
14209
21fd49a9
UD
142102011-10-07 Ulrich Drepper <drepper@gmail.com>
14211
5a06e643
UD
14212 * po/ca.po: Update from translation team.
14213
684ae515
UD
14214 * inet/getnetgrent_r.c: Hook up nscd.
14215 * nscd/Makefile (routines): Add nscd_netgroup.
14216 (nscd-modules): Add netgroupcache.
14217 (CFLAGS-netgroupcache.c): Define.
14218 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14219 (cache_search): Add const to second parameter.
14220 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14221 INNETGR.
14222 (dbs): Add netgrdb entry.
14223 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14224 (verify_persistent_db): Handle netgrdb.
14225 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14226 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14227 GETFDNETGR.
14228 (netgroup_response_header): Define.
14229 (innetgroup_response_header): Define.
14230 (datahead): Add netgroup_response_header and innetgroup_response_header
14231 elements.
14232 * nscd/nscd.conf: Add entries for netgroup cache.
14233 * nscd/nscd.h (dbtype): Add netgrdb.
14234 (_PATH_NSCD_NETGROUP_DB): Define.
14235 (netgroup_iov_disabled): Declare.
14236 (xmalloc, xcalloc, xrealloc): Move declarations here.
14237 (cache_search): Adjust prototype.
14238 Add netgroup-related prototypes.
14239 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14240 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14241 (__nscd_innetgr): Declare.
14242 * nscd/selinux.c (perms): Use access_vector_t as element type and
14243 add netgroup-related initializers.
14244 * nscd/netgroupcache.c: New file.
14245 * nscd/nscd_netgroup.c: New file.
14246 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14247 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14248 For four parameters use innetgr.
14249 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14250 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14251 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14252 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14253
21fd49a9
UD
14254 * nscd/connections.c (register_traced_file): Don't register file
14255 for disabled databases.
14256
054c0457
UD
142572011-10-06 Ulrich Drepper <drepper@gmail.com>
14258
32b63198
UD
14259 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14260
054c0457
UD
14261 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14262 from tree and freeing node.
14263
64031225
JO
142642011-09-25 Jiri Olsa <jolsa@redhat.com>
14265
14266 * nss/nsswitch.c (__nss_database_lookup): Handle
14267 nss_parse_service_list out of memory case.
14268
0490345c
JO
142692011-09-15 Jiri Olsa <jolsa@redhat.com>
14270
14271 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14272 out of memory case.
14273
3a62d00d
AS
142742011-10-04 Andreas Schwab <schwab@redhat.com>
14275
14276 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14277 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14278 pass it down.
14279 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14280 elf_machine_rela, elf_machine_lazy_rel.
14281 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14282 (ELF_DYNAMIC_DO_REL): Likewise.
14283 (ELF_DYNAMIC_DO_RELA): Likewise.
14284 (ELF_DYNAMIC_RELOCATE): Likewise.
14285 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14286 to ELF_DYNAMIC_DO_REL.
14287 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14288 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14289 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14290 elf_machine_rela.
14291 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14292 skip_ifunc, don't call ifunc function if non-zero.
14293 (elf_machine_rela): Likewise.
14294 (elf_machine_lazy_rel): Likewise.
14295 (elf_machine_lazy_rela): Likewise.
14296 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14297 (elf_machine_lazy_rel): Likewise.
14298 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14299 Likewise.
14300 (elf_machine_lazy_rel): Likewise.
14301 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14302 Likewise.
14303 (elf_machine_lazy_rel): Likewise.
14304 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14305 (elf_machine_lazy_rel): Likewise.
14306 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14307 (elf_machine_lazy_rel): Likewise.
14308 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14309 (elf_machine_lazy_rel): Likewise.
14310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14311 (elf_machine_lazy_rel): Likewise.
14312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14313 (elf_machine_lazy_rel): Likewise.
14314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14315 (elf_machine_lazy_rel): Likewise.
14316
68577918
UD
143172011-09-28 Ulrich Drepper <drepper@gmail.com>
14318
14319 * nss/nss_files/files-init.c (_nss_files_init): Use static
14320 initialization for all the *_traced_file variables.
14321
68822d74
AS
143222011-09-28 Andreas Schwab <schwab@redhat.com>
14323
14324 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14325
2056100b
RM
143262011-09-27 Roland McGrath <roland@hack.frob.com>
14327
14328 [BZ #13226]
14329 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14330
32c76b63
AS
143312011-09-27 Andreas Schwab <schwab@redhat.com>
14332
14333 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14334 Reread the line before reparsing it.
14335
bf972c9d
AS
143362011-09-26 Andreas Schwab <schwab@redhat.com>
14337
14338 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14339
e057a1b5
JM
143402011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14341 Maxim Kuvyrkov <maxim@codesourcery.com>
14342 Joseph Myers <joseph@codesourcery.com>
14343
14344 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14345 if needed for __stack_chk_guard.
14346
bc7e1c36
RM
143472011-09-19 Roland McGrath <roland@hack.frob.com>
14348
ecb1482f
RM
14349 * sysdeps/posix/spawni.c (script_execute): Always define it.
14350 It will be optimized away if unused.
14351 (maybe_script_execute): New function.
14352 (__spawni): Call it.
14353
bc7e1c36
RM
14354 * Makerules: Don't include tls.make.
14355 (config-tls): Always set to thread.
14356 * tls.make.c: File removed.
14357
1c3b002b
MF
143582011-09-19 Mike Frysinger <vapier@gentoo.org>
14359
14360 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14361 * config.make.in (CPPFLAGS-config): New substituted variable.
14362
2840865d
UD
143632011-09-15 Ulrich Drepper <drepper@gmail.com>
14364
88738eb6
UD
14365 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14366
cbf645a6 14367 [BZ #13192]
2840865d
UD
14368 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14369 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14370
b402e91a
RM
143712011-09-15 Roland McGrath <roland@hack.frob.com>
14372
14373 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14374 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14376 (CALL_FAIL): Likewise.
14377 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14378 (CALL_FAIL): Macro removed.
14379 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14380
4c1a1f71
UD
143812011-09-15 Ulrich Drepper <drepper@gmail.com>
14382
14383 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14384 for __FINITE_MATH_ONLY__ == 1.
14385
edc121be
AS
143862011-09-15 Andreas Schwab <schwab@redhat.com>
14387
14388 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14389 __ieee754_sqrt instead of sqrt.
14390 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14391 __ieee754_sqrtf instead of sqrtf.
14392 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14393 __floorf instead of floorf.
14394 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14395 __floorf, __truncf instead of floorf, truncf.
14396
cd205654
UD
143972011-09-14 Ulrich Drepper <drepper@gmail.com>
14398
ee4d0315
UD
14399 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14400
cd205654
UD
14401 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14402 __extern_always_inline.
14403 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14404 32-bit.
14405
48b67d71
AS
144062011-09-14 Andreas Schwab <schwab@redhat.com>
14407
14408 * elf/rtld.c (dl_main): Also relocate in dependency order when
14409 doing symbol dependency testing.
14410
1ae12c75
AS
144112011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14412
14413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14414 Always define `refsym'.
14415
995a80df
AS
144162011-09-13 Andreas Schwab <schwab@redhat.com>
14417
e529793b
AS
14418 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14419 (__FD_ELT): Renamed from __FDELT.
14420 * misc/bits/select2.h (__FD_ELT): Likewise.
14421 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14422 __FD_MASK instead of __FDELT, __FDMASK.
14423 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14424 Likewise.
14425 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14426 Likewise.
14427
52d4fef8
AS
14428 * elf/Makefile (gen-ldd): Fix pattern.
14429
995a80df
AS
14430 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14431 (init_tls): Likewise.
14432
8682f8b0
UD
144332011-09-12 Ulrich Drepper <drepper@gmail.com>
14434
14435 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14436
de82006d
AS
144372011-09-12 Andreas Schwab <schwab@redhat.com>
14438
a7c8e6a1
AS
14439 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14440 `struct cmsghdr *' instead of `void *'.
14441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14442 Likewise.
14443
0f31fe77
AS
144442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14445
14446 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14447 if non-absolute.
14448 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14449 ldd_rewrite_script.
0f31fe77 14450
32b4c839
UD
144512011-09-11 Ulrich Drepper <drepper@gmail.com>
14452
83cd1420
UD
14453 * configure.in: Remove --with-tls option.
14454 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14455 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14456 out in case it is missing.
14457 * sysdeps/ia64/elf/configure.in: Likewise.
14458 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14459 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14460 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14461 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14462 * sysdeps/sh/elf/configure.in: Likewise.
14463 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14464 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14465 * sysdeps/x86_64/elf/configure.in: Likewise.
14466 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14467 * sysdeps/mach/hurd/tls.h: Likewise.
14468
633f745d
UD
14469 [BZ #13067]
14470 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14471
f318beb8
UD
14472 [BZ #13090]
14473 * configure.in: Fix use of AC_INIT.
14474
32b4c839
UD
14475 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14476
3ce1f295
UD
144772011-09-10 Ulrich Drepper <drepper@gmail.com>
14478
bb016596
UD
14479 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14480 __set_errno.
8e58439c
UD
14481 * malloc/hooks.c: Likewise.
14482
aebae053 14483 [BZ #11929]
02d46fc4
UD
14484 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14485 variables statically.
14486 (narenas): Initialize.
14487 (list_lock): Initialize.
bb016596
UD
14488 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14489 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14490 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14491 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14492 Add initializers to main_arena and mp_.
14493 (malloc_state): Remove pagesize member. Change all users to use
14494 GLRO(dl_pagesize).
14495
14496 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14497 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14498 is always initialized.
14499
22a89187
UD
14500 * malloc/malloc.c: Removed unused configurations and dead code.
14501 * malloc/arena.c: Likewise.
14502 * malloc/hooks.c: Likewise.
02d46fc4 14503 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14504
d063d164
UD
14505 * include/tls.h: Removed. USE___THREAD must always be defined.
14506 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14507 * elf/dl-libc.c: Likewise.
14508 * elf/dl-tsd.c: Likewise.
14509 * include/errno.h: Likewise.
14510 * include/netdb.h: Likewise.
14511 * include/resolv.h: Likewise.
14512 * inet/herrno-loc.c: Likewise.
14513 * inet/herrno.c: Likewise.
14514 * malloc/arena.c: Likewise.
14515 * malloc/hooks.c: Likewise.
14516 * malloc/malloc.c: Likewise.
14517 * resolv/res-state.c: Likewise.
14518 * resolv/res_libc.c: Likewise.
14519 * sysdeps/i386/dl-machine.h: Likewise.
14520 * sysdeps/ia64/dl-machine.h: Likewise.
14521 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14522 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14523 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14524 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14525 * sysdeps/sh/dl-machine.h: Likewise.
14526 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14527 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14528 * sysdeps/unix/i386/sysdep.S: Likewise.
14529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14530 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14531 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14532 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14535 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14539 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14540 * sysdeps/x86_64/dl-machine.h: Likewise.
14541 * tls.make.c: Likewise.
14542
3ce1f295
UD
14543 * configure.in: Remove --with-__thread option. Make tests for
14544 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14545 tls_model attribute fail if no support is available. Remove
14546 USE_IN_LIBIO.
14547 * Makeconfig: Adjust for dropped configure option. All features are
14548 now mandatory.
14549 * Makerules: Likewise.
14550 * Versions.def: Likewise.
14551 * argp/argp-fmtstream.c: Likewise.
14552 * argp/argp-fmtstream.h: Likewise.
14553 * argp/argp-help.c: Likewise.
14554 * assert/assert.c: Likewise.
14555 * config.h.in: Likewise.
14556 * config.make.in: Likewise.
14557 * configure: Likewise.
14558 * configure.in: Likewise.
14559 * csu/Versions: Likewise.
14560 * csu/init.c: Likewise.
14561 * elf/tst-audit2.c: Likewise.
14562 * elf/tst-tls10.c: Likewise.
14563 * elf/tst-tls10.h: Likewise.
14564 * elf/tst-tls11.c: Likewise.
14565 * elf/tst-tls12.c: Likewise.
14566 * elf/tst-tls14.c: Likewise.
14567 * elf/tst-tlsmod11.c: Likewise.
14568 * elf/tst-tlsmod12.c: Likewise.
14569 * elf/tst-tlsmod13.c: Likewise.
14570 * elf/tst-tlsmod13a.c: Likewise.
14571 * elf/tst-tlsmod14a.c: Likewise.
14572 * elf/tst-tlsmod15b.c: Likewise.
14573 * elf/tst-tlsmod16a.c: Likewise.
14574 * elf/tst-tlsmod16b.c: Likewise.
14575 * elf/tst-tlsmod7.c: Likewise.
14576 * elf/tst-tlsmod8.c: Likewise.
14577 * elf/tst-tlsmod9.c: Likewise.
14578 * gmon/gmon.c: Likewise.
14579 * grp/fgetgrent_r.c: Likewise.
14580 * grp/putgrent.c: Likewise.
14581 * hurd/fopenport.c: Likewise.
14582 * include/libc-symbols.h: Likewise.
14583 * include/tls.h: Likewise.
14584 * intl/gettextP.h: Likewise.
14585 * intl/loadinfo.h: Likewise.
14586 * locale/global-locale.c: Likewise.
14587 * locale/localeinfo.h: Likewise.
14588 * mach/devstream.c: Likewise.
14589 * malloc/arena.c: Likewise.
14590 * malloc/set-freeres.c: Likewise.
14591 * misc/err.c: Likewise.
14592 * misc/getttyent.c: Likewise.
14593 * misc/mntent_r.c: Likewise.
14594 * posix/getopt.c: Likewise.
14595 * posix/wordexp.c: Likewise.
14596 * pwd/fgetpwent_r.c: Likewise.
14597 * resolv/Versions: Likewise.
14598 * resolv/res_hconf.c: Likewise.
14599 * shadow/fgetspent_r.c: Likewise.
14600 * shadow/putspent.c: Likewise.
14601 * stdio-common/printf_fphex.c: Likewise.
14602 * stdio-common/tmpfile.c: Likewise.
14603 * stdlib/abort.c: Likewise.
14604 * stdlib/fmtmsg.c: Likewise.
14605 * sunrpc/auth_unix.c: Likewise.
14606 * sunrpc/clnt_perr.c: Likewise.
14607 * sunrpc/clnt_tcp.c: Likewise.
14608 * sunrpc/clnt_udp.c: Likewise.
14609 * sunrpc/clnt_unix.c: Likewise.
14610 * sunrpc/openchild.c: Likewise.
14611 * sunrpc/svc_simple.c: Likewise.
14612 * sunrpc/svc_tcp.c: Likewise.
14613 * sunrpc/svc_udp.c: Likewise.
14614 * sunrpc/svc_unix.c: Likewise.
14615 * sunrpc/xdr.c: Likewise.
14616 * sunrpc/xdr_array.c: Likewise.
14617 * sunrpc/xdr_rec.c: Likewise.
14618 * sunrpc/xdr_ref.c: Likewise.
14619 * sunrpc/xdr_stdio.c: Likewise.
14620
1248c1c4
PB
146212011-09-09 Ulrich Drepper <drepper@gmail.com>
14622
14623 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14624
146252011-07-03 Andreas Jaeger <aj@suse.de>
14626
14627 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14628 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14629 regenerate with gen-libm-tests.pl.
14630
146312010-05-12 Petr Baudis <pasky@suse.cz>
14632
14633 [BZ #11589]
14634 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14635 around j0() zero points by switching to j1().
14636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14639 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14640
f22e1074
UD
146412011-09-09 Ulrich Drepper <drepper@gmail.com>
14642
f19009c1
UD
14643 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14644 instead of 0.
14645 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14646 instead of 0. .
14647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14648 Patch in part by Pavel Roskin <proski@gnu.org>.
14649
3f8cc204
UD
14650 [BZ #13138]
14651 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14652 realloc.
14653 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14654 Free memory block if necessary.
14655
f22e1074
UD
14656 [BZ #12847]
14657 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14658 be NULL. Don't lock in this case.
14659
0a2349f9
RM
146602011-09-09 Roland McGrath <roland@hack.frob.com>
14661
14662 * elf/elf.h (ELFOSABI_GNU): New macro.
14663 (ELFOSABI_LINUX): Define to that.
14664
f3cdd467
DZ
146652011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14666
14667 * string/strncat.c (strncat): Undef the symbol in case it has been
14668 defined in bits/string.h.
14669
74718d13
UD
146702011-09-09 Ulrich Drepper <drepper@gmail.com>
14671
633e9e0f
UD
14672 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14673
0a2349f9 14674 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14675 link map.
14676
f9924780
AJ
146772011-08-17 Andreas Jaeger <aj@suse.de>
14678
14679 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14680
7f5517aa
PP
146812011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14682 Ian Lance Taylor <iant@google.com>
14683
14684 * math/libm-test.inc (lround_test): New testcase.
14685 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14686
762011fe
UD
146872011-09-08 Ulrich Drepper <drepper@gmail.com>
14688
92963737
UD
14689 * Makefile: Remove support for automatic cvs check-ins.
14690 * Makerules: Likewise.
14691 * config.make.in: Likewise.
14692 * configure.in: Likewise.
14693 * intl/Makefile: Likewise.
14694 * locale/Makefile: Likewise.
14695 * po/Makefile: Likewise.
14696 * posix/Makefile: Likewise.
14697 * sysdeps/gnu/Makefile: Likewise.
14698 * sysdeps/mach/hurd/Makefile: Likewise.
14699 * sysdeps/sparc/sparc32/Makefile: Likewise.
14700
b0727fd8
JS
14701 [BZ #13118]
14702 * posix/Makefile (bug-regex32-ENV): Define.
14703 Patch by John Stanley <jpsinthemix@verizon.net>.
14704
a0f33f99
UD
14705 * misc/Makefile (headers): Add bits/select2.h.
14706 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14707 * misc/bits/select2.h: New file.
14708 * include/bits/select2.h: New file.
14709 * debug/Makefile (routines): Add fdelt_chk.
14710 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14711 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14712 FD_ISSET.
14713 * debug/fdelt_chk.c: New file.
14714
762011fe
UD
14715 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14716 * wcsmbs/test-wmemcmp.c: Likewise.
14717 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14718 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14719
147202011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14721
14722 * string/Makefile (strop-tests): Add memcmp.
14723 * string/test-wmemcmp.c: New file.
14724 * string/test-memcmp.c: Add wmemcmp support.
14725
7f513ec8
RM
147262011-09-08 Roland McGrath <roland@hack.frob.com>
14727
0442afb4
RM
14728 [BZ #13153]
14729 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14730 2011-07-19 change.
14731
7f513ec8
RM
14732 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14733 garbage value in a __mach_port_mod_refs call in the cases of the
14734 task-self and thread-self ports.
14735
a12b2239
ST
147362011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14737
14738 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14739
610f9ab4
AS
147402011-09-08 Andreas Schwab <schwab@redhat.com>
14741
7f513ec8 14742 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14743
48882a1a
LD
147442011-09-07 Ulrich Drepper <drepper@gmail.com>
14745
b49865be
UD
14746 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14747
fdc86bc9
UD
14748 * elf/dl-libc.c (dlerror_run): Pass back error code from
14749 dl_catch_error.
14750
c966526a
UD
14751 [BZ #13123]
14752 * elf/dl-load.c (lose): Free l_origin if it is valid.
14753
48882a1a
LD
14754 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14755 names.
14756 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14759 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14760 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14761 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14762
77a2a8b4
AZ
147632011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14764
14765 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14766 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14767 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14768 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14769 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14770 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14771 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14772 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14773 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14774 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14775
24f579d8
AM
147762011-08-15 Alan Modra <amodra@gmail.com>
14777
14778 [BZ #13092]
14779 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14780 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14781 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14782 ppc_mcount to static-only-routines.
14783 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14784 __mcount_internal.
14785 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14786 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14787
3d4837df
UD
147882011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14789
14790 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14791 for finite and infinity parameters.
14792
22700377
WS
147932011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14794
14795 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14796 and add nop instructions for throughput optimization.
14797 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14798
5025581e
WS
147992011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14800
14801 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14802 aligned copy for power7 with vector-scalar instructions.
14803 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14804
08a300c9
L
148052011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14806
14807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14808 AVX check.
14809
59178ef9
AS
148102011-09-07 Andreas Schwab <schwab@redhat.com>
14811
14812 [BZ #13144]
14813 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14814 last change.
14815
e38ba7ab
UD
148162011-09-07 Ulrich Drepper <drepper@gmail.com>
14817
14818 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14819 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14820 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14821 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14822 clock_gettime.
14823
d53a73ac
UD
148242011-09-06 Ulrich Drepper <drepper@gmail.com>
14825
fc8bffcc
UD
14826 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14827 Forgot to demangle the pointer.
14828
ceaa0c5d
UD
14829 * sysdeps/i386/sysdep.h: Define atom_text_section.
14830 * sysdeps/x86_64/sysdep.h: Likewise.
14831 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14832 section with atom_text_section.
14833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14834 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14835 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14837 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14838
a77d3c17
UD
14839 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14840 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14841 already be defined. Change to take two parameters and don't assign
14842 result to variable. Adjust all users.
14843 Define INTERNAL_GETTIME if not already defined.
14844 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14845 call.
14846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14847 HAVE_CLOCK_GETTIME_VSYSCALL.
14848 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14849
d53a73ac
UD
14850 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14851 gettimeofday vsyscall, just use time.
14852
a8f84144
AS
148532011-09-06 Andreas Schwab <schwab@redhat.com>
14854
14855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14856 <errno.h>.
14857
ef606249
UD
148582011-09-06 Ulrich Drepper <drepper@gmail.com>
14859
14860 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14861 syscall on x86-64.
14862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14863 syscall.
14864 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14865 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14866 syscall if possible.
14867
6585cb60
UD
148682011-09-05 Ulrich Drepper <drepper@gmail.com>
14869
14870 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14871 e_ident. Don't pass to find_mapsXX.
14872 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14873
a5f524e4
LD
148742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14875
14876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14877 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14878 * sysdeps/x86_64/multiarch/strchr.S: Update.
14879 Check bit_slow_BSF bit.
14880 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14881 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14882 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14883
554881ef
UD
148842011-09-05 Ulrich Drepper <drepper@gmail.com>
14885
d96de963
UD
14886 [BZ #13134]
14887 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14888 before glibc 2.15.
14889 (tryshell): Define.
14890 (__spawni): Change last parameter to be flag. Test
14891 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14892 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14893 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14894 * posix/spawni.c: Likewise.
14895 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14896 * posix/spawnp.c: Likewise. Change normal version to use
14897 SPAWN_XFLAGS_USE_PATH.
14898 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14899 SPAWN_XFLAGS_TRY_SHELL.
14900
d48e5868
UD
14901 [BZ #13150]
14902 * posix/glob.h: Remove gcc 1.x support.
14903
554881ef
UD
14904 [BZ #13068]
14905 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14906
693fb948
LD
149072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14908
14909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14910 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14911 strrchr-sse2-bsf
14912 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14913 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14914 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14915 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14916 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14917 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14918
1b48c537
UD
149192011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14920
49d42c37
UD
14921 * sysdeps/x86_64/wcscmp.S: New file.
14922
1b48c537
UD
14923 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14924 wcscmp-c wcscmp-sse2
14925 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14926 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14927 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14928 * wcsmbs/wcscmp.c: Allow renaming.
14929
15c95c5d
DM
149302011-09-05 David S. Miller <davem@davemloft.net>
14931
14932 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14933 stack slot, rather than the struct return pointer slot.
14934 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14935 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14937 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14938
2f0ad8f3
UD
149392011-09-05 Ulrich Drepper <drepper@gmail.com>
14940
d88ae418
UD
14941 * po/ja.po: Update from translation team.
14942
2f0ad8f3
UD
14943 [BZ #13144]
14944 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14945 kernel in 64-bit binaries.
14946
5f4318d1
DM
149472011-09-01 David S. Miller <davem@davemloft.net>
14948
14949 * elf/elf.h (HWCAP_SPARC_*): Move to..
14950 * sysdeps/sparc/sysdep.h: this new file and add new values.
14951 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14952 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14953 _DL_HWCAP_COUNT to 24.
14954 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14955 entries.
14956 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14957 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14958 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14959 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14960 instead of magic constants.
14961 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14962
3ba57516
DM
149632011-08-31 David S. Miller <davem@davemloft.net>
14964
14965 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14967 Reimplement to do errno handling inline.
14968 (SYSCALL_ERROR_HANDLER): New macro.
14969 (__SYSCALL_STRING): Do not do errno handling in asm.
14970 (__CLONE_SYSCALL_STRING): Delete.
14971 (__INTERNAL_SYSCALL_STRING): Delete.
14972 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14973 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14974 (PSEUDO): Reimplement to do errno handling inline.
14975 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14976 (SYSCALL_ERROR_HANDLER): New macro.
14977 (__SYSCALL_STRING): Do not do errno handling in asm.
14978 (__CLONE_SYSCALL_STRING): Delete.
14979 (__INTERNAL_SYSCALL_STRING): Delete.
14980 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14981 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14982 i386.
14983 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14984 (inline_syscall*): Add 'err' argument.
14985 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14986 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14987 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14988 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14989
14990 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14991 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14992
2bc17433
AS
149932011-08-30 Andreas Schwab <schwab@redhat.com>
14994
14995 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14996
fbeb5f4d
JO
149972011-08-29 Jiri Olsa <jolsa@redhat.com>
14998
14999 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15000 directive.
15001
ad69cc26
DM
150022011-08-24 David S. Miller <davem@davemloft.net>
15003
15004 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15005
39dd69df
AS
150062011-08-24 Andreas Schwab <schwab@redhat.com>
15007
15008 * elf/Makefile: Add rules to build and run unload8 test.
15009 * elf/unload8.c: New file.
15010 * elf/unload8mod1.c: New file.
15011 * elf/unload8mod1x.c: New file.
15012 * elf/unload8mod2.c: New file.
15013 * elf/unload8mod3.c: New file.
15014
15015 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15016 it wasn't used.
15017
2c0b250a
DM
150182011-08-23 David S. Miller <davem@davemloft.net>
15019
15020 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15021 subtract stack bias.
15022 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15023 %sp not %fp in calculations.
15024 (_JMPBUF_UNWINDS_ADJ): Likewise.
15025
22044b48
DM
15026 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15027 (aio_suspend): Call it to force an exception region around the
15028 AIO_MISC_WAIT() invocation.
15029
2cae4995
AS
150302011-08-23 Andreas Schwab <schwab@redhat.com>
15031
15032 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15033 backslash.
15034
873a772e
AJ
150352011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15036
15037 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15038 protection macro.
15039 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15040 and <dl-machine.h>.
15041 (Elf64_FuncDesc): Remove.
15042
25ad0df1
DM
150432011-08-22 David S. Miller <davem@davemloft.net>
15044
15045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15046 sigaltstack check, add missing cfi directives.
15047 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15048 missing cfi directives, and sigaltstack handling.
15049
e888bcbe
AS
150502011-08-16 Andreas Schwab <schwab@redhat.com>
15051
15052 [BZ #11724]
15053 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15054 object is seen twice.
15055 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15056
15057 * elf/Makefile (distribute): Add tst-initorder2.c.
15058 (tests): Add tst-initorder2.
15059 (modules-names): Add tst-initorder2a tst-initorder2b
15060 tst-initorder2c tst-initorder2d. Add rules to build them.
15061 ($(objpfx)tst-initorder2.out): New rule.
15062 * elf/tst-initorder2.c: New file.
15063 * elf/tst-initorder2.exp: New file.
15064
87162f46
AS
150652011-08-22 Andreas Schwab <schwab@redhat.com>
15066
70538b7f
AS
15067 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15068
f55ffe58
AS
15069 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15070 dependencies back to end of function.
15071
87162f46
AS
15072 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15073 $(elfobjdir)/ld.so.
15074
91b392a4
UD
150752011-08-21 Ulrich Drepper <drepper@gmail.com>
15076
15077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15078 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15079 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15080 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15081 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15082 of __vdso_gettimeofday.
15083 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15084 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15085 attribute_hidden.
15086 (_libc_vdso_platform_setup): Remove initialization of
15087 __vdso_gettimeofday and __vdso_time.
15088
5c43483f
UD
150892011-08-20 Ulrich Drepper <drepper@gmail.com>
15090
775a77e7
UD
15091 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15092 and fgetc_unlocked.
15093 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15094 getc_unlocked.
89f447ed 15095
49c74ba9
UD
15096 * elf/dl-open.c (add_to_global): Report additions to the global scope
15097 for LD_DEBUG=scopes.
15098 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15099 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15100
5c43483f
UD
15101 [BZ #13114]
15102 * stdio-common/Makefile (tests): Add bug24.
15103 * stdio-common/bug24.c: New file.
15104
a101b025
AJ
151052011-08-19 Andreas Jaeger <aj@suse.de>
15106
15107 [BZ #13114]
15108 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15109 non-existant file when using close-on-exec mode.
15110
c88f1766
UD
151112011-08-20 Ulrich Drepper <drepper@gmail.com>
15112
0276a718
UD
15113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15114 the very first instruction.
15115
c88f1766
UD
15116 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15117 the CFI state in the end.
15118 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15119 inclusion of dl-trampoline.h.
15120 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15121
51ccffa0
AS
151222011-08-19 Andreas Schwab <schwab@redhat.com>
15123
94d7165f
AS
15124 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15125 expectations for long double.
15126
51ccffa0
AS
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15128 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15129
fd708658 151302011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15131
15132 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15133 artificual limit depends upon the system page size.
15134
44f0a71e
UD
151352011-08-17 Ulrich Drepper <drepper@gmail.com>
15136
15137 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15138 * resolv/Makefile: Define CFLAGS-libresolv.
15139
8de79a24
AS
151402011-08-17 Andreas Schwab <schwab@redhat.com>
15141
15142 * nss/makedb.c (compute_tables): Make variables used in nested
15143 function static.
15144
27724598
UD
151452011-08-17 Ulrich Drepper <drepper@gmail.com>
15146
c5305d88
UD
15147 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15148 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15149 if buffer was too small.
15150
27724598
UD
15151 * elf/pldd.c (main): Attach to all threads in the process.
15152 Rewrite /proc handling to use *at functions.
15153
076fe015
UD
151542011-08-16 Ulrich Drepper <drepper@gmail.com>
15155
174baab3
UD
15156 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15157 specifies first scope to show.
15158 (dl_open_worker): Update callers. Move printing scope of new
15159 object to before the relocation.
44f0a71e 15160 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15161 * sysdeps/generic/ldsodefs.h: Update declaration.
15162
076fe015
UD
15163 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15164 string for the scope number.
15165
a60df2c3
UD
151662011-08-14 Ulrich Drepper <drepper@gmail.com>
15167
15168 * nscd/servicescache.c (cache_addserv): Make sure written is always
15169 initialized.
15170
5e4287d1
RM
151712011-08-14 Roland McGrath <roland@hack.frob.com>
15172
85ae0589
RM
15173 * sysdeps/i386/i486/bits/atomic.h
15174 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15175 statement expression, so as to suppress "set but not used" warning.
15176 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15177
69f63097
RM
15178 * string/strncat.c (STRNCAT): Use prototype definition.
15179
675456ef
RM
15180 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15181 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15182 -Iprograms here.
15183 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15184 (localedef-modules): Add localedef.
15185 (locale-modules): Add locale.
15186
5e4287d1
RM
15187 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15188 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15189 to avoid a warning.
15190
9c96ff23
DM
151912011-08-14 David S. Miller <davem@davemloft.net>
15192
15193 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15194 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15195
f9ddf089
UD
151962011-08-13 Ulrich Drepper <drepper@gmail.com>
15197
44f0a71e 15198 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15199 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15200 * elf/rtld.c (dl_main): Set l_name of vDSO.
15201 Call _dl_show_scope when DL_DEBUG_SCOPES.
15202 (process_dl_debug): Recognize scopes flag and also set it for all.
15203 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15204 Declare _dl_show_scope.
15205
1dc27704
UD
15206 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15207 (do_dlopen): Pass caller_dlopen to dl_open.
15208 (__libc_dlopen_mode): Initialize caller_dlopen.
15209
f9ddf089
UD
15210 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15211 of libc. Make tolower call locale-independent. Optimize a bit by
15212 using isdigit instead of isalnum.
15213 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15214
9ac533d3
UD
152152011-08-12 Ulrich Drepper <drepper@gmail.com>
15216
15217 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15218 was a dependency or dynamically loaded.
15219
89edf2e9
UD
152202011-08-11 Ulrich Drepper <drepper@gmail.com>
15221
8e999d29
UD
15222 * intl/l10nflist.c: Allow architecture-specific pop function.
15223 * sysdeps/x86_64/l10nflist.c: New file.
15224
89edf2e9
UD
15225 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15226 classification.
15227
14d96785
AS
152282011-08-10 Andreas Schwab <schwab@redhat.com>
15229
15230 * include/dirent.h: Add libc_hidden_proto for scandirat and
15231 scandirat64. Don't declare __scandirat64.
15232 * dirent/scandirat.c: Add libc_hidden_def.
15233 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15234 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15235
6761ac04
DM
152362011-08-10 David S. Miller <davem@davemloft.net>
15237
15238 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15239 enum.
15240 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15241 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15242 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15243
c55fbd1e
UD
152442011-08-09 Ulrich Drepper <drepper@gmail.com>
15245
15246 * Versions.def [libc]: Add GLIBC_2.15.
15247 * dirent/Makefile (routines): Add scandirat and scandirat64.
15248 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15249 GLIBC_2.15.
15250 * dirent/dirent.h: Declare scandirat and scandirat64.
15251 * dirent/scandirat.c: New file.
15252 * dirent/scandirat64.c: New file.
15253 * sysdeps/wordsize-64/scandirat.c: New file.
15254 * sysdeps/wordsize-64/scandirat64.c: New file.
15255 * dirent/opendir.c: Define opendirat.
15256 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15257 using scandirat.
15258 * dirent/scandir64.c: Adjust for scandir.c change.
15259 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15260 __scandirat64, and __scandir_cancel_handler.
15261 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15262 additional parameter and use openat instead of open (outside of ld.so).
15263 Add new __opendir as wrapper around __opendirat.
15264 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15265 here without requiring old scandirat implementation.
15266
879165f2
UD
152672011-08-08 Ulrich Drepper <drepper@gmail.com>
15268
15269 * dirent/scandir.c (cancel_handler): Renamed to
15270 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15271 defined. Adjust users.
15272 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15273 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15274
cb7e923b
UD
152752011-08-04 Ulrich Drepper <drepper@gmail.com>
15276
16292edd
UD
15277 * string/test-string.h (IMPL): Use __STRING to expand name and then
15278 stringify it.
15279
cb7e923b
UD
15280 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15281 of cleanups.
15282
cff82933
LD
152832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15284
15285 * string/Makefile: Update.
15286 (strop-tests): Append strncat.
15287 * string/test-wcscmp.c: New file.
15288 New comprehensive test for wcscmp.
15289 * string/test-strcmp.c: Update.
15290 (WIDE): New define.
15291
9be9bfcc
AS
152922011-07-22 Andreas Schwab <schwab@redhat.com>
15293
15294 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15295 line.
15296
2e96f1c7
AS
152972011-07-26 Andreas Schwab <schwab@redhat.com>
15298
15299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15300 encoding to ACE if AI_IDN.
15301
85188888
JJ
153022011-08-01 Jakub Jelinek <jakub@redhat.com>
15303
15304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15305 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15306
5fa16e9b
LD
153072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15308
15309 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15310 Fix overflow bug in strncat.
15311 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15312
15313 * string/test-strncat.c: Update.
15314 Add new tests for checking overflow bugs.
15315
153162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15317
15318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15319 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15320 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15321 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15323 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15324 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15325 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15326 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15327
15328 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15329 (USE_AS_STRCAT): Define.
15330 Add strcat and strncat support.
15331 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15332
8c1a459f
AS
153332011-07-25 Andreas Schwab <schwab@redhat.com>
15334
15335 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15336 __n bigger than INT_MAX+1.
15337 (__strncmp_g): Likewise.
15338
bba33c28
UD
153392011-07-23 Ulrich Drepper <drepper@gmail.com>
15340
798be72d
UD
15341 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15342 * libio/stido.h: Likewise.
15343
8accd4dc
UD
15344 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15345 (AF_NFC): Define.
15346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15347 (AF_NFC): Define.
15348
cbff0d96
UD
15349 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15350 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15352 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15354
9191c04a
UD
15355 [BZ #13021]
15356 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15357 installed.
15358
bba33c28
UD
15359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15360 typo.
15361 (_dl_x86_64_save_sse): Likewise.
15362
90f139dd
UD
153632011-07-22 Ulrich Drepper <drepper@gmail.com>
15364
1aae088a
UD
15365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15366 OSXSAVE.
15367 (_dl_x86_64_save_sse): Likewise.
15368
8e2045f5
UD
15369 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15370
90f139dd
UD
15371 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15372
1d002f25
AS
153732011-07-21 Andreas Schwab <schwab@redhat.com>
15374
15375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15376 change.
15377 (_dl_x86_64_save_sse): Use correct AVX check.
15378
21137f89
UD
153792011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15380
15381 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15382 bug in strncpy/strncat.
15383 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15384
a65c0b7a
UD
153852011-07-21 Ulrich Drepper <drepper@gmail.com>
15386
15387 * string/tester.c (test_strcat): Add tests for different alignments
15388 of source and destination.
15389 (test_strncat): Likewise.
15390
6986b98a
UD
153912011-07-20 Ulrich Drepper <drepper@gmail.com>
15392
90bb2039
UD
15393 [BZ #12852]
15394 * posix/glob.c (glob): Check passed in values before using them in
15395 expressions to avoid some overflows.
15396 (glob_in_dir): Likewise.
15397
5644ef54
UD
15398 [BZ #13007]
15399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15400 check for AVX enablement so that we don't crash with old kernels and
15401 new hardware.
15402 * elf/tst-audit4.c: Add same checks here.
15403 * elf/tst-audit6.c: Likewise.
15404
15405 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15406
bfc9dc9b
AS
154072011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15408
15409 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15410
702e64bb
UD
154112011-07-20 Ulrich Drepper <drepper@gmail.com>
15412
15413 * po/cs.po: Update from translation team.
15414 * po/bg.po: Likewise.
15415
295e904f
MP
154162011-07-12 Marek Polacek <mpolacek@redhat.com>
15417
15418 * misc/sys/cdefs.h: Add support for const attribute.
15419 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15420 to gnu_dev_{major,minor,makedev} functions.
15421
3ff94596
MP
154222011-07-20 Marek Polacek <mpolacek@redhat.com>
15423
15424 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15425
28b59fca
AS
154262011-07-20 Andreas Schwab <schwab@redhat.com>
15427
15428 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15429 strlen results.
15430
19df733e
AK
154312011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15432
15433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15434 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15435 register in order to avoid conflicts with the soft frame pointer
15436 being held in r11 when necessary.
15437 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15438 (INTERNAL_VSYSCALL_NCS): Likewise.
15439
c8835729
MP
154402011-07-14 Marek Polacek <mpolacek@redhat.com>
15441
15442 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15443 * elf/dl-fini.c (_dl_fini): Adjust caller.
15444 * elf/dl-close.c (_dl_close_worker): Likewise.
15445 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15446
b902330c
MP
154472011-07-15 Marek Polacek <mpolacek@redhat.com>
15448
8991e135
MP
15449 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15450 "aux_cache->nlibs < 0".
15451
b902330c
MP
15452 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15453 in the reload-count case.
15454
99710781
LD
154552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15456
15457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15458 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15459 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15460 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15461 * sysdeps/x86_64/multiarch/strcat.S: New file.
15462 * sysdeps/x86_64/multiarch/strncat.S: New file.
15463 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15464 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15465 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15466 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15467 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15468 (USE_AS_STRCAT): Define.
15469 Add strcat and strncat support.
15470 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15472 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15473 * string/strncat.c: Update.
15474 (USE_AS_STRNCAT): Define.
15475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15476 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15477 and i7.
15478 * sysdeps/x86_64/multiarch/init-arch.h
15479 (bit_Prefer_PMINUB_for_stringop): New.
15480 (index_Prefer_PMINUB_for_stringop): Likewise.
15481 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15482 bit_Prefer_PMINUB_for_stringop.
15483
7dc6bd90
UD
154842011-07-19 Ulrich Drepper <drepper@gmail.com>
15485
15486 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15487 buffer64.
15488 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15489 of casting of buffer.
15490 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15491 buffer32 and buffer64.
15492 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15493 writes instead of casting of buffer.
15494 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15495 buffer32.
15496 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15497 casting of buffer.
15498
e0e72284
AS
154992011-07-19 Andreas Schwab <schwab@redhat.com>
15500
15501 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15502
feb1eb0b
UD
155032011-07-19 Ulrich Drepper <drepper@gmail.com>
15504
15505 * nscd/nscd.c (termination_handler): Don't do anything for a database
15506 if it has not yet been initialized.
15507
298711ff
UD
155082011-07-18 Ulrich Drepper <drepper@gmail.com>
15509
15510 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15511
155122011-07-15 Marek Polacek <mpolacek@redhat.com>
15513
15514 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15515
f9d68389
UD
155162011-07-18 Ulrich Drepper <drepper@gmail.com>
15517
15518 * po/nl.po: Update from translation team.
15519 * po/sv.po: Likewise.
15520
db290cf5
RM
155212011-07-16 Roland McGrath <roland@hack.frob.com>
15522
15523 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15524 now disallowed by GCC.
5c550700 15525
fd5e21c7
RM
15526 * configure.in (use-default-link): Default to yes if a test -shared
15527 link meets our qualifications.
15528 * configure: Regenerated.
15529
5c550700
RM
15530 * config.make.in (output-format): New variable.
15531 * configure.in: Check for ld --print-output-format support.
15532 * configure: Regenerated.
15533 * Makerules ($(common-objpfx)format.lds)
15534 [$(output-format) != unknown]: Just use $(output-format),
15535 instead of the linker-script munging.
15536
9fa2c032
RM
155372011-07-14 Roland McGrath <roland@hack.frob.com>
15538
a6928d51
RM
15539 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15540 of $(common-objpfx)shlib.lds.
15541 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15542
661607b3
RM
15543 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15544 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15545
9fa2c032
RM
15546 * configure.in (-z relro check): Adjust test code to add a large
15547 writable data section after it.
15548 * configure: Regenerated.
15549
defe9061
RM
155502011-07-11 Roland McGrath <roland@hack.frob.com>
15551
15552 * configure.in (-z relro check): Fix test code to make the variable
15553 truly const.
15554 * configure: Regenerated.
15555
319b9ad4
UD
155562011-07-11 Ulrich Drepper <drepper@gmail.com>
15557
15558 * nscd/nscd.h (struct traced_file): Define.
15559 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15560 elements. Add traced_files.
15561 (inotify_fd): Declare.
15562 (register_traced_file): Declare.
15563 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15564 (inotify_fd): Export.
15565 (resolv_conf_descr): Remove.
15566 (nscd_init): Move inotify descriptor creation to main.
15567 Don't register files for notification here.
15568 (register_traced_file): New function.
15569 (invalidate_cache): Don't use reset_res to determine whether to call
15570 res_init, go through the list of registered files.
15571 (main_loop_poll): The inotify descriptors are now stored in the
15572 structures for the traced files.
15573 (main_loop_epoll): Likewise
15574 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15575 to __nss_disable_nscd.
15576 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15577 for a database anymore. Check the records for all the registered
15578 files instead.
15579 * nss/Makefile (libnss_files-routines): Add files-init.
15580 (libnss_db-routines): Add db-init.
15581 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15582 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15583 * nss/nss_db/db-init.c: New file.
15584 * nss/nss_files/files-init.c: New file.
15585 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15586 __nss_lookup_function.
15587 (__nss_lookup_function): Call nss_load_library.
15588 (nss_load_all_libraries): New function.
15589 (__nss_disable_nscd): Take parameter with callback function for files
15590 to register. Set is_nscd. Load all the DSOs for the NSS modules
15591 used for the cached services.
15592 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15593 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15594 options for features to all the files in nscd.
15595
15596 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15597
23bee3e8
RM
155982011-07-10 Roland McGrath <roland@hack.frob.com>
15599
15600 * csu/elf-init.c (__libc_csu_init): Comment typo.
15601
46a5b7f0
UD
156022011-07-09 Ulrich Drepper <drepper@gmail.com>
15603
15604 * po/pl.po: Update from translation team.
15605 * po/ja.po: Likewise.
15606 * po/ru.po: Likewise.
15607 * po/ko.po: Likewise.
15608 * po/fr.po: Likewise.
15609
d30cf5bb
RM
156102011-07-09 Roland McGrath <roland@hack.frob.com>
15611
113ddea4
RM
15612 * configure.in (.ctors/.dtors header and trailer check):
15613 Use an empirical test on a built program.
15614 * configure: Regenerated.
15615
574920b4
RM
15616 * configure.in (-z relro check): Use an empirical test on a built DSO.
15617 Detect, but do not require, on ia64.
15618 * configure: Regenerated.
15619
d30cf5bb
RM
15620 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15621 Update tests that use readelf to use $READELF instead.
15622 * configure: Regenerated.
15623
8538fdb3
UD
156242011-07-08 Ulrich Drepper <drepper@gmail.com>
15625
15626 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15627 if the result is not used.
15628
04d08991
AJ
156292011-07-05 Andreas Jaeger <aj@suse.de>
15630
15631 [BZ#9696]
15632 * stdlib/tst-strtod.c: Add testcase.
15633
de283087
AD
156342011-07-07 Ulrich Drepper <drepper@gmail.com>
15635
4e5f31c8 15636 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15637 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15638 The latter has a higher limit. Take additional parameter to pass to
15639 the new function.
15640 (__pathconf): Pass file to __statfs_link_max.
15641 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15642 __statfs_link_max.
15643 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15644 __statfs_link_max.
15645
de283087
AD
15646 [BZ #12868]
15647 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15649 Handle Lustre.
15650 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15651 (__statfs_filesize_max): Likewise.
15652 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15653
c75fa153
AJ
156542011-07-05 Andreas Jaeger <aj@suse.de>
15655
15656 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15657
1a544854
UD
156582011-07-06 Marek Polacek <mpolacek@redhat.com>
15659
15660 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15661 `status' variable.
15662 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15663 Likewise.
15664
6f0eec67
UD
156652011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15666
15667 * Makefile (strop-tests): Add strncat.
15668 * string/test-strncat.c: New file.
15669
aae30307
UD
156702011-06-30 Marek Polacek <mpolacek@redhat.com>
15671
15672 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15673
c0cfb5eb
UD
156742011-06-21 Andreas Jaeger <aj@suse.de>
15675
15676 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15677 Copy rule from iconvdata/Makefile.
15678
01636b21
UD
156792011-07-06 Ulrich Drepper <drepper@gmail.com>
15680
15681 [BZ #12922]
15682 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15683 but no long options are defined, just return 'W'.
15684
9895c8bc
UD
156852011-06-22 Marek Polacek <mpolacek@redhat.com>
15686
15687 [BZ #9696]
15688 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15689
5d4cf042
UD
156902011-07-06 Ulrich Drepper <drepper@gmail.com>
15691
15692 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15693 netgroups to read.
960e5535 15694 (innetgr): Likewise.
5d4cf042 15695
751eb97e
RM
156962011-07-05 Roland McGrath <roland@hack.frob.com>
15697
15698 * config.make.in (install_root): Default to $(DESTDIR).
15699
f15f1e45
UD
157002011-07-05 Ulrich Drepper <drepper@gmail.com>
15701
15702 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15703
4e34ac6a
RM
157042011-07-02 Roland McGrath <roland@hack.frob.com>
15705
5e9b6af4
RM
15706 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15707
84f9ea0f
RM
15708 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15709 containing directory rather than embedding absolute directory names.
15710
ea5ee9f7
RM
15711 * scripts/check-local-headers.sh: Rewritten using awk.
15712 Match by word, not by line. Print error messages for matches.
15713 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15714
1b74661a
RM
15715 * Makerules [shlib-lds-flags empty]:
15716 ($(common-objpfx)libc_pic.opts): New target.
15717 ($(common-objpfx)libc_pic.os.clean): New target.
15718 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15719
15720 * config.make.in (OBJCOPY): New variable.
15721 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15722 * configure: Regenerated.
15723
f781ef40
RM
15724 * config.make.in (use-default-link): New variable.
15725 * configure.in (use_default_link): Grok --with-default-link to set it.
15726 * configure: Regenerated.
15727 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15728 (shlib-lds, shlib-lds-flags): Define to empty.
15729
2d4fa81e
RM
15730 * Makerules (shlib-lds): New variable.
15731 (shlib-lds-flags): New variable.
15732 (build-shlib, build-moduile, build-module-asneeded): Use it.
15733 ($(common-objpfx)libc.so): Use $(shlib-lds).
15734 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15735 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15736
31fffa6b
RM
15737 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15738 DT_FLAGS/DT_FLAGS_1 with zero flags.
15739
4e34ac6a
RM
15740 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15741 linker script munging.
15742
fcfc776b
UD
157432011-07-02 Ulrich Drepper <drepper@gmail.com>
15744
15745 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15746 as 128-bit value.
15747 * crypt/sha512.c (sha512_process_block): Perform total addition using
15748 128-bit if possible.
15749 (__sha512_finish_ctx): Likewise.
15750 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15751 as 64-bit value.
15752 * crypt/sha256.c (SWAP64): Define.
15753 (sha256_process_block): Perform total addition using 64-bit if
15754 possible.
15755 (__sha256_finish_ctx): Likewise.
15756
99231d9a
UD
157572011-07-01 Ulrich Drepper <drepper@gmail.com>
15758
15759 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15760 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15761 * nscd/hstcache.c (cache_addhst): Likewise.
15762 * nscd/grpcache.c (cache_addgr): Likewise.
15763 * nscd/aicache.c (addhstaiX): Likewise
15764 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15765
445b4a53
TK
157662011-07-01 Thorsten Kukuk <kukuk@suse.de>
15767
15768 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15769 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15770 * nscd/hstcache.c (cache_addhst): Likewise.
15771 * nscd/grpcache.c (cache_addgr): Likewise.
15772 * nscd/aicache.c (addhstaiX): Likewise
15773
6d4d8e8e
AS
157742011-07-01 Andreas Schwab <schwab@redhat.com>
15775
15776 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15777 domain only when needed.
15778
89f654c5
AS
157792011-06-30 Andreas Schwab <schwab@redhat.com>
15780
15781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15782 is always restored.
15783
cf3b23ff
UD
157842011-06-29 Ulrich Drepper <drepper@gmail.com>
15785
15786 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15787 are re-adding the entry.
15788 * nscd/servicescache.c (cache_addserv): Likewise.
15789
751626f9
AJ
157902011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15791
15792 * sysdeps/generic/dl-irel.h: fix protection against multiple
15793 inclusions.
15794 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15795
9113ea1f
UD
157962011-06-28 Ulrich Drepper <drepper@gmail.com>
15797
5c0b8d90
UD
15798 [BZ #12935]
15799 * malloc/memusage.sh: Fix quoting in message.
15800 * debug/xtrace.sh: Likewise.
15801
9113ea1f
UD
15802 * configure.in: Remove support for --experimental-malloc option, make
15803 it the default.
15804 * config.make.in: Likewise.
15805 * malloc/Makefile: Likewise.
15806
a4172181
AS
158072011-06-27 Andreas Schwab <schwab@redhat.com>
15808
15809 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15810 two-byte characters.
15811
78a7eee7
RM
158122011-06-27 Roland McGrath <roland@hack.frob.com>
15813
62bede13
RM
15814 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15815 AC_CACHE_CHECK invocation.
15816 * configure: Regenerated.
15817
78a7eee7
RM
15818 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15819
5ce33a62
UD
158202011-06-27 Ulrich Drepper <drepper@gmail.com>
15821
034807a9
UD
15822 [BZ #12350]
15823 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15824 bit from old_res_options.
15825
4902da17
UD
15826 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15827
5ce33a62
UD
15828 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15829 value type for setfct.
15830
c2344f56
L
158312011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15832
15833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15834 __gettimeofday instead of gettimeofday.
15835
68468076
UD
158362011-06-26 Ulrich Drepper <drepper@gmail.com>
15837
15838 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15839
acb0d739
L
158402011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15841
15842 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15843
15844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15845 info.
15846
8912479f
L
158472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15848
15849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15850 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15851 strcpy-sse2-unaligned strncpy-sse2-unaligned
15852 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15853 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15854 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15855 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15856 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15857 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15858 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15859 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15860 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15861 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15862 (STRCPY): Support SSE2 and SSSE3 versions.
15863
d5495a11
UD
158642011-06-24 Ulrich Drepper <drepper@gmail.com>
15865
15866 [BZ #12874]
15867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15868 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15869 kernels which artificially limit size of requests.
15870
0b1cbaae
L
158712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15872
15873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15874 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15875 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15876 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15877 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15878 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15879 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15880 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15881 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15883 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15884 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15885 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15886 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15887 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15889 Enable unaligned load optimization for Intel Core i3, i5 and i7
15890 processors.
15891 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15892 Define.
15893 (index_Fast_Unaligned_Load): Define.
15894 (HAS_FAST_UNALIGNED_LOAD): Define.
15895
07f494a0
MP
158962011-06-23 Marek Polacek <mpolacek@redhat.com>
15897
15898 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15899
fa3fc0fe
UD
159002011-06-22 Ulrich Drepper <drepper@gmail.com>
15901
15902 [BZ #12907]
15903 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15904 until it is clear that the information is realy needed.
15905 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15906
e12df166
AS
159072011-06-22 Andreas Schwab <schwab@redhat.com>
15908
15909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15910
852eb34d
UD
159112011-06-22 Ulrich Drepper <drepper@gmail.com>
15912
84e2a551
UD
15913 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15914 /sys/devices/system/cpu/online if it is usable.
15915
852eb34d
UD
15916 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15917 reading the information from the /proc filesystem to once a second.
15918
6e502e19
UD
159192011-06-21 Andreas Jaeger <aj@suse.de>
15920
15921 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15922 NULL after inclusion of kernel headers.
15923
75d39ff2
UD
159242011-06-21 Ulrich Drepper <drepper@gmail.com>
15925
51f9aa6a
UD
15926 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15927 calls to internal_setent.
15928
c0244a9d
UD
15929 [BZ #12885]
15930 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15931 addresses using gethostbyname4_r ignore IPv4 addresses.
15932
c5e3c2ae
UD
15933 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15934 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15935
75d39ff2
UD
15936 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15937
42675c6f
DM
159382011-06-20 David S. Miller <davem@davemloft.net>
15939
15940 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15941 inclusions.
15942 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15943
15944 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15945 (elf_irel): Use it.
15946 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15947 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15948 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15949 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15950 * sysdeps/x86_64/dl-irel.h: Likewise.
15951
15952 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15953 * elf/dl-sym.c: Likewise.
15954
57912a71
UD
159552011-06-15 Ulrich Drepper <drepper@gmail.com>
15956
15957 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15958 need to dereference resplen2.
15959
ee22793d
AS
159602011-06-14 Andreas Schwab <schwab@redhat.com>
15961
15962 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15963
a9e836b0
UD
159642011-06-15 Ulrich Drepper <drepper@gmail.com>
15965
77fb9117
UD
15966 * Makeconfig: Define vardbdir and inst_vardbdir.
15967 * nss/Makefile: Add rules to install db-Makefile.
15968
40c1b22c
UD
15969 * nss/nss_db/db-XXX.c: Cleanup.
15970
9f2da732
UD
15971 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15972 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15973 GLIBC_PRIVATE.
15974 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15975 * nss/makedb.c: Implement -g option to specify that value strings
15976 are generated and should not be added to table iterated over for
15977 get*ent calls.
15978 * nss/nss_db/db-initgroups.c: New file.
15979
82e9a1f7
UD
15980 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15981 interface.
15982
c41af17e
UD
15983 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15984 (internal_getgrouplist): Adjust to name change.
15985 Update use_initgroups_entry if this is not the first call.
15986 * nss/databases.def: Add initgroups entry.
15987
a9e836b0
UD
15988 * nss/makedb.c (compute_tables): Check result of multiple hash table
15989 sizes to minimize maximum chain length.
15990
2666d441
UD
159912011-06-14 Ulrich Drepper <drepper@gmail.com>
15992
15993 * Versions.def: Add entry for libnss_db.
15994 * shlib-versions: Likewise.
15995 * nss/Makefile: Add rules to build libnss_db.
15996 * nss/Versions: Add libnss_db information. Organize libnss_files
15997 entries better.
15998 * nss/db-Makefile: Add gshadow support. Change rules for the new
15999 makedb progra. Some minor improvements to generate smaller files.
16000 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16001 here from...
16002 * nss/makedb.c: ...here.
16003 Improve database format to be smaller and require less memory at
16004 runtime.
16005 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16006 db anymore.
16007 * nss/nss_db/db-netgrp.c: Likewise.
16008 * nss/nss_db/db-open.c: Likewise.
16009 * nss/nss_files/flies-XXX.x: Adjust comments.
16010 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16011 * nss/nss_files/files-grp.c: Likewise.
16012 * nss/nss_files/files-hosts.c: Likewise.
16013 * nss/nss_files/files-network.c: Likewise.
16014 * nss/nss_files/files-proto.c: Likewise.
16015 * nss/nss_files/files-pwd.c: Likewise.
16016 * nss/nss_files/files-rpc.c: Likewise.
16017 * nss/nss_files/files-service.c: Likewise.
16018 * nss/nss_files/files-sgrp.c: Likewise.
16019 * nss/nss_files/files-spwd.c: Likewise.
16020 * nss/nss_db/db-alias.c: Removed.
16021 * nss/nss_db/dummy-db.h: Removed.
16022
9ee76b5a
UD
160232011-06-02 Ulrich Drepper <drepper@gmail.com>
16024
16025 * nss/makedb.c: Rewritten to not use database library.
16026 * nss/Makefile: Update to build new makedb program.
16027
c71ca1f8
AJ
160282011-06-14 Andreas Jaeger <aj@suse.de>
16029
16030 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16031 memset declaration.
16032
3154bfb8
UD
160332011-06-10 Andreas Schwab <schwab@redhat.com>
16034
16035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16036 tmpbuf.
16037
b350afab
RM
160382011-06-10 Roland McGrath <roland@hack.frob.com>
16039
decd4e50
RM
16040 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16041 * elf/Makefile ($(objpfx)ld.so): Likewise.
16042
5615eaf2
RM
16043 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16044 Don't list ld.so twice in dependencies.
16045
16046 * posix/bug-regex31.c: Include <stdlib.h>.
16047
16048 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16049
16050 * nis/nss_compat/compat-spwd.c
16051 (getspent_next_nss_netgr): Remove unused variable.
16052 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16053
16054 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16055 nonmembers" output to use the right array.
16056
16057 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16058
16059 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16060
16061 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16062 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16063 * catgets/gencat.c (read_input_file): Likewise.
16064 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16065
16066 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16067 variable definition inside #if's controlling its use.
16068
16069 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16070
16071 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16072
16073 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16074
16075 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16076 unreachable code.
16077
16078 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16079
b68e08db
RM
16080 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16081 * configure: Regenerated.
16082
b350afab
RM
16083 * Makerules: Revert last change.
16084 * elf/Makefile: Likewise.
16085
28368601
RM
160862011-06-09 Roland McGrath <roland@hack.frob.com>
16087
16088 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16089 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16090 (reloc-link): Likewise.
16091
11988f8f
UD
160922011-06-09 Ulrich Drepper <drepper@gmail.com>
16093
16094 * elf/Makefile: Add rules to build pldd.
16095 * elf/pldd.c: New file.
16096 * elf/pldd-xx.c: New file.
16097
e80fab37
UD
160982011-06-07 Ulrich Drepper <drepper@gmail.com>
16099
16100 * version.h: Update for 2.15 development version.
16101
9b849836
DM
161022011-06-07 David S. Miller <davem@davemloft.net>
16103
16104 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16105 ifuncs.
16106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16107 elf_machine_lazy_rel): Likewise.
16108 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16110 elf_machine_lazy_rel): Likewise.
16111 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16112 dl_hwcap via passed in argument.
16113 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16114 Likewise.
16115
5a31b283
AK
161162011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16117
16118 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16119
069e52f8
RM
161202011-06-06 Roland McGrath <roland@hack.frob.com>
16121
16122 [BZ #12849]
16123 * manual/fdl-1.1.texi: New file, verbatim from:
16124 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16125 * manual/lgpl-2.1.texi: New file, verbatim from:
16126 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16127 * manual/Makefile (licenses): New variable, list those new file names.
16128 (texis): Use it.
16129 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16130
16131 * manual/fdl.texi: File removed.
16132 * manual/lesser.texi: File removed.
16133 * manual/libc.texinfo (Copying, Documentation License):
16134 Use new @include file names, put @appendix directive before @include.
16135
f16846a5
JJ
161362011-06-04 Jakub Jelinek <jakub@redhat.com>
16137
16138 [BZ #12841]
16139 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16140 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16141 (mq_open): Add __NTH.
16142
3d29045b
L
161432011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16144
16145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16146 Assume Intel Core i3/i5/i7 processor if AVX is available.
16147
8c297311
UD
161482011-05-31 Ulrich Drepper <drepper@gmail.com>
16149
16150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16151 typo.
16152
c8fc0c91
UD
161532011-05-31 Andreas Schwab <schwab@redhat.com>
16154
16155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16156 memory. Use alloca_account. Fix memory leak when retrying.
16157
5b27a807
UD
161582011-05-31 Ulrich Drepper <drepper@gmail.com>
16159
356f8bc6
UD
16160 * version.h (RELEASE): Bump for 2.14 release.
16161 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16162
5b27a807
UD
16163 * config.make.in (RANLIB): Remove entry.
16164
01f16ab0
UD
161652011-05-30 Ulrich Drepper <drepper@gmail.com>
16166
41fce8bd
UD
16167 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16168 (libc.pot): Work around missing support for .ksh extension in xgettext.
16169
4769ae77
UD
16170 [BZ #12684]
16171 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16172 if both request failed.
16173 (send_dg): In case of server errors clear resplen or *resplen2.
16174
6b1e7d19
UD
16175 [BZ #12454]
16176 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16177 when there are multiple maps.
16178 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16179 (_dl_fini): Remove test here.
16180
01f16ab0
UD
16181 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16182
b1ebd700
UD
161832011-05-29 Ulrich Drepper <drepper@gmail.com>
16184
7ae22829
UD
16185 [BZ #12350]
16186 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16187 bit from old_res_options.
16188 (gaih_inet): Likewise.
16189
553149f6 16190 [BZ #11099]
18a84741 16191 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16192 as signed.
16193
652ffab1
UD
16194 * resolv/res_init.c (res_setoptions): Make the code more compact.
16195
16985fd0
UD
16196 [BZ #11558]
16197 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16198 set RES_USEVC.
16199
0464f746
UD
16200 [BZ #11634]
16201 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16202
7d17596c
UD
16203 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16204
cf6bbbd7
UD
16205 [BZ #11781]
16206 * malloc/malloc.h: Declare malloc hook variables as volatile.
16207
13f1ab36
UD
16208 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16209 in last patch.
16210
b1ebd700
UD
16211 [BZ #11799]
16212 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16213 raise in the comment.
80e2212d
UD
16214 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16216 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16217
ce67228d
UD
162182011-05-28 Ulrich Drepper <drepper@gmail.com>
16219
8887a920
UD
16220 [BZ #12811]
16221 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16222 grow the buffers more if it already has to be sufficient.
16223 (build_wcs_upper_buffer): Likewise.
16224 * posix/regexec.c (check_matching): Likewise.
16225 (clean_state_log_if_needed): Likewise.
16226 (extend_buffers): Don't enlarge buffers beyond size of the input
16227 buffer.
16228 Patches mostly by Emil Wojak <emil@wojak.eu>.
16229 * posix/bug-regex32.c: New file.
16230 * posix/Makefile (tests): Add bug-regex32.
16231
4f031072
UD
16232 * locale/findlocale.c (_nl_find_locale): Return right away if
16233 _nl_explode_name failed.
16234 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16235
d0478f0c
UD
16236 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16237
de81b246
UD
16238 * debug/xtrace.sh: Unify messages.
16239 * malloc/memusage.sh: Likewise.
16240
c738465a
UD
16241 [BZ #12813]
16242 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16243 time symbol from vDSO. Substitute with vsyscall if not available.
16244 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16245 __vdso_time.
16246
f1f929d7
UD
16247 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16248 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16249 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16250 Add sendmmsg and internal_sendmmsg.
16251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16252 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16253 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16254
ce67228d
UD
16255 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16256 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16258
e57420c6
UD
162592011-05-27 Ulrich Drepper <drepper@gmail.com>
16260
a8509ca5
UD
16261 [BZ #12813]
16262 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16263 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16264 available.
16265 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16266 __vdso_getcpu.
16267
e57420c6
UD
16268 [BZ #12814]
16269 * iconvdata/Makefile (tests): Add bug-iconv9.
16270 * iconvdata/bug-iconv9.c: New file.
16271
4d07db15
AS
162722011-05-27 Andreas Schwab <schwab@redhat.com>
16273
16274 [BZ #12814]
16275 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16276
ea486f69
JJ
162772011-05-25 Jakub Jelinek <jakub@redhat.com>
16278
16279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16280 (struct user_regs_struct): Change intcs field back to cs.
16281
6f038433
UD
162822011-05-25 Ulrich Drepper <drepper@gmail.com>
16283
16284 * po/ja.po: Update from translation team.
16285
67f86a25
UD
162862011-05-23 Ulrich Drepper <drepper@gmail.com>
16287
16288 [BZ #12795]
16289 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16290 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16291
def7fbd6
AS
162922011-05-20 Andreas Schwab <schwab@redhat.com>
16293
16294 * stdlib/longlong.h: Update from GCC.
16295
f50ef8f1
AS
162962011-05-23 Andreas Schwab <schwab@redhat.com>
16297
16298 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16299 parameter name.
16300 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16301 Add parameter name.
16302 (__sysconf): Pass it down.
16303
de7ce8f1
UD
163042011-05-22 Ulrich Drepper <drepper@gmail.com>
16305
f2962a71
UD
16306 [BZ #12671]
16307 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16308 some situations.
16309 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16310 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16311 add in in __libc_use_alloca calls. Adjust callers.
16312 (glob): Use malloc in some situations.
16313
de7ce8f1
UD
16314 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16315 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16316 pltexit.
16317
aec84f53
UD
163182011-05-21 Ulrich Drepper <drepper@gmail.com>
16319
05bb4a68
UD
16320 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16321 and CLOCK_BOOTTIME_ALARM.
16322
7ea72f99
UD
16323 [BZ #12782]
16324 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16325 is returned.
16326
7e4afad5
UD
16327 * string/_strerror.c (__strerror_r): Print negative errors as signed
16328 numbers.
16329
8e211fec
UD
16330 [BZ #12777]
16331 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16332 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16333 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16334
f7d82dc9
UD
16335 * configure.in: Fix typo in redirection and correct removal of test
16336 files in two cases.
16337
cc9e536d
UD
16338 [BZ #12788]
16339 * locale/setlocale.c (new_composite_name): Fix test to check for
16340 identical name of all categories.
16341
aec84f53
UD
16342 [BZ #12792]
16343 * libio/filedoalloc.c (local_isatty): New function.
16344 (_IO_file_doallocate): Use local_isatty.
16345 * stdio-common/perror.c (perror): In case a new stream is used
16346 forward the stream error.
16347 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16348 error flag.
16349
78e64fdc
RT
163502011-05-20 Ulrich Drepper <drepper@gmail.com>
16351
34a9094f
UD
16352 [BZ #11869]
16353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16354 alloca.
16355 * include/alloca.h (extend_alloca_account): Define.
16356
78e64fdc
RT
16357 [BZ #11857]
16358 * posix/regex.h: Fix comments with documentation of user-accessible
16359 fields after compilation and describe correct free'ing of pattern
16360 after re_compile_pattern.
16361 Patch by Reuben Thomas <rrt@sc3d.org>.
16362
457bddfc
RA
163632011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16364
16365 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16366 and -mno-altivec to prevent the compiler from using Altivec and/or
16367 VSX instructions when the corresponding registers are not available.
16368
a4527b51
AS
163692011-05-19 Andreas Schwab <schwab@redhat.com>
16370
16371 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16372
ed690b2f
UD
163732011-05-19 Ulrich Drepper <drepper@gmail.com>
16374
16375 * libio/freopen.c (freopen): Use __dup2, not dup2.
16376 * libio/freopen64.c (freopen64): Likewise.
16377
8db73634
L
163782011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16379
16380 [BZ #12775]
16381 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16382 * math/Makefile (tests): Add test-powl.
16383 (CFLAGS-test-powl.c): Define.
16384 * math/test-powl.c: New file.
16385
0a197a9d
L
163862011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16387
16388 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16389
ee30c380
UD
163902011-05-17 Ulrich Drepper <drepper@gmail.com>
16391
16392 [BZ #11837]
16393 * iconvdata/gb18030.c: Update to GB18020-2005.
16394
6ce75379
UD
163952011-05-16 Ulrich Drepper <drepper@gmail.com>
16396
a4b89fd8
AR
16397 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16398 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16399 Patch by Aharon Robbins <arnold@skeeve.com>.
16400
ea389b12
UD
16401 [BZ #11892]
16402 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16403 on the stack.
16404
68a3f91f
UD
16405 [BZ #11895]
16406 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16407 through underflows.
16408
15cc7dd1
UD
16409 [BZ #12766]
16410 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16411 point to strings before performing equality test for error_one_per_line
16412 mode.
16413
f3799213
UD
16414 [BZ #11697]
16415 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16416
d79a9c94
UD
16417 [BZ #11820]
16418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16419 (struct user_fpregs_struct): Avoid __uint*_t types.
16420
56e5eb46
UD
16421 [BZ #6420]
16422 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16423 symbol info. Use it instead of calling _dl_addr locally.
16424 (lock_and_info): New function.
16425 (tr_freehook): Call lock_and_info and pass symbol info as additional
16426 parameter to tr_where.
16427 (tr_mallochook): Likewise.
16428 (tr_reallochook): Likewise.
16429 (tr_memalignhook): Likewise.
16430
6ce75379
UD
16431 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16432 used and couldn't be at all thread-safe.
16433
f8a3b5bf
UD
164342011-05-15 Ulrich Drepper <drepper@gmail.com>
16435
94b7cc37
UD
16436 * libio/freopen.c (freopen): Don't close old file descriptor
16437 before the new one is opened. Instead dup the new file descriptor
16438 to the old one after the new stream is created.
16439 * libio/freopen64.c (freopen64): Likewise.
16440 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16441 * libio/fileops.c (_IO_new_file_close_it): Handle new
16442 _IO_FLAGS2_NOCLOSE flag.
16443 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16444 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16445 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16446 _IO_FLAGS2_NOCLOSE flag.
16447 * include/unistd.h: Add hidden_proto for dup3.
16448 Define __have_dup3.
16449 * io/dup3.c: Define hidden symbol.
16450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16451
bd25564e
UD
16452 [BZ #7101]
16453 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16454 when an incomplete long option is used.
16455 * posix/tst-getopt_long1.c: New file.
16456 * posix/Makefile (tests): Add tst-getopt_long1.
16457
c84cfef4
UD
16458 [BZ #10138]
16459 * scripts/config.guess: Update from autoconf-2.68.
16460 * scripts/config.sub: Likewise.
16461
3b85df27
UD
16462 [BZ #10157]
16463 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16464 tests into ...
16465 (has_cpuclock): ...this. New function.
16466 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16467 macro here based on has_cpuclock code.
16468
15a856b1
UD
16469 [BZ #10149]
16470 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16471 First byte (not low byte) is now always NUL.
16472 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16473
05f399e6
UD
16474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16475 Use non-cancelable interfaces.
16476
10a52685 16477 [BZ #9809]
94ecc67d
UD
16478 * locale/iso-639.def: Add entry for Sorani.
16479
f8a3b5bf
UD
16480 [BZ #11901]
16481 * include/stdlib.h: Move include protection to the right place.
16482 Define abort_msg_s. Declare __abort_msg with it.
16483 * stdlib/abort.c (__abort_msg): Adjust type.
16484 * assert/assert.c (__assert_fail_base): New function. Majority
16485 of code from __assert_fail. Allocate memory for __abort_msg with
16486 mmap.
16487 (__assert_fail): Now call __assert_fail_base.
16488 * assert/assert-perr.c: Remove bulk of implementation. Use
16489 __assert_fail_base.
16490 * include/assert.hL Declare __assert_fail_base.
16491 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16492 mmap.
16493 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16494
1af4e298
UD
164952011-05-14 Ulrich Drepper <drepper@gmail.com>
16496
f8a3b5bf 16497 [BZ #11952]
d26dfc60
MG
16498 [BZ #12453]
16499 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16500 until all modules are registered in the DTV.
16501 * elf/Makefile: Add rules to build and run tst-tls19.
16502 * elf/tst-tls19.c: New file.
16503 * elf/tst-tls19mod1.c: New file.
16504 * elf/tst-tls19mod2.c: New file.
16505 * elf/tst-tls19mod3.c: New file.
16506 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16507
2fc54d6f
UD
16508 [BZ #12083]
16509 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16510 correctly.
16511
98d76b46
UD
16512 [BZ #12601]
16513 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16514 two-byte sequence errors.
16515 * iconvdata/Makefile (tests): Add bug-iconv8.
16516 * iconvdata/bug-iconv8.c: New file.
16517
da3c19ef
UD
16518 [BZ #12626]
16519 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16520 buf2 definition.
16521
ca408c15
UD
16522 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16523
d6f67f7d
UD
16524 [BZ #12432]
16525 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16526 (dummy_getcfa): New function.
16527 (init): Get _Unwind_GetCFA address, use dummy if not found.
16528 (backtrace_helper): In recursion check, also check whether CFA changes.
16529 (__backtrace): Completely initialize arg.
16530
1af4e298 16531 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16532 storing incomplete byte sequence in state object. Avoid testing for
16533 guaranteed too small input if we know there is enough data available.
1af4e298 16534
da62f81b
AS
165352011-05-11 Andreas Schwab <schwab@redhat.com>
16536
16537 * Makeconfig (+link-pie): Indent.
16538 * Rules (binaries-pie): Define if $(have-fpie) and
16539 $(build-shared).
16540 (binaries-shared): Also filter out $(binaries-pie).
16541 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16542 * nscd/Makefile (others-pie): Add nscd.
16543 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16544 ($(objpfx)nscd): Remove command override.
16545 * login/Makefile (others-pie): Add pt_chown.
16546 ($(objpfx)pt_chown): Remove command override.
16547 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16548 remove command overrides.
16549
fcabc0f8
UD
165502011-05-13 Ulrich Drepper <drepper@gmail.com>
16551
20030ae6
UD
16552 * libio/tst_putwc.c: Fix error messages.
16553
fcabc0f8
UD
16554 [BZ #12724]
16555 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16556 currently writing and seek to current position when not.
16557 * libio/Makefile (tests): Add bug-fclose1.
16558 * libio/bug-fclose1.c: New file.
16559
320a5dc0
PB
165602011-05-12 Ulrich Drepper <drepper@gmail.com>
16561
16562 [BZ #12511]
16563 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16564 don't set DF_1_NODELETE here.
16565 (do_lookup_x): When entering new entry test for copy relocation
16566 and if necessary set DF_1_NODELETE flag.
16567 * elf/tst-unique4.cc: New file.
16568 * elf/tst-unique4.h: New file.
16569 * elf/tst-unique4lib.cc: New file.
16570 * elf/Makefile: Add rules to build and run tst-unique4.
16571 Patch by Piotr Bury <pbury@goahead.com>.
16572
22836f52
UD
165732011-05-11 Ulrich Drepper <drepper@gmail.com>
16574
f574184a
UD
16575 [BZ #12052]
16576 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16577
e1fb097f
UD
16578 [BZ #12625]
16579 * misc/mntent_r.c (addmntent): Flush the stream after the output
16580
22836f52
UD
16581 [BZ #12393]
16582 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16583 (is_trusted_path_normalize): Skip initial colon. Append slash
16584 to empty buffer. Duplicate is_trusted_path code but allow
16585 constructed patch to be prefix.
16586 (is_dst): Allow $ORIGIN followed by /.
16587 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16588 Correct testing of result of is_trusted_path_normalize
16589 (decompose_rpath): Fix warning.
16590
7b3b0b2a
UD
165912011-05-10 Ulrich Drepper <drepper@gmail.com>
16592
16593 [BZ #11257]
16594 * grp/initgroups.c (internal_getgrouplist): When we found the service
16595 list through the initgroups entry in nsswitch.conf do not always
16596 continue on a successful lookup. Don't always use the
eac80ce2 16597 __nss_group_database value if it is set.
7b3b0b2a
UD
16598 * nss/nsswitch.conf (initgroups): Change action for successful db
16599 lookup to continue for compatibility.
16600
2a81eaa5
UD
166012011-05-09 Ulrich Drepper <drepper@gmail.com>
16602
be97a69e
UD
16603 [BZ #11532]
16604 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16605 and CP774 modules.
16606 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16607 and CP774 modules.
16608 * iconvdata/tst-tables.sh: Likewise.
16609 * iconvdata/cp770.c: New file.
16610 * iconvdata/cp771.c: New file.
16611 * iconvdata/cp772.c: New file.
16612 * iconvdata/cp773.c: New file.
16613 * iconvdata/cp774.c: New file.
16614 * iconvdata/testdata/CP770: New file.
16615 * iconvdata/testdata/CP770..UTF8: New file.
16616 * iconvdata/testdata/CP771: New file.
16617 * iconvdata/testdata/CP771..UTF8: New file.
16618 * iconvdata/testdata/CP772: New file.
16619 * iconvdata/testdata/CP772..UTF8: New file.
16620 * iconvdata/testdata/CP773: New file.
16621 * iconvdata/testdata/CP773..UTF8: New file.
16622 * iconvdata/testdata/CP774: New file.
16623 * iconvdata/testdata/CP774..UTF8: New file.
16624
16625 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16626 END CHARMAP line.
16627 * iconvdata/gen-8bit-gap.sh: Likewise.
16628 * iconvdata/gen-8bit.sh: Likewise.
16629
c1e9e399
UD
16630 * locale/iso-639.def: Add ary entry.
16631
24c55fb3 16632 [BZ #11258]
96b4b1b0
UD
16633 * locale/C-translit.h.in: Add U20A1 transliteration.
16634
bdc2f971
KB
16635 [BZ #12178]
16636 * locale/iso-639.def: Add wae entry.
16637 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16638
2952b117
UD
16639 [BZ #12545]
16640 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16641 for n.
16642
2a81eaa5
UD
16643 [BZ #12711]
16644 * locale/C-translit.h.in: Add entry for U20B9.
16645 Patch by pravin.d.s@gmail.com.
16646
28377d1b
UD
166472011-05-08 Ulrich Drepper <drepper@gmail.com>
16648
7fb90fb8
UD
16649 [BZ #12713]
16650 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16651 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16652 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16653 in rtld. Use *stat64.
7fb90fb8 16654 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16655 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16656 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16657 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16658 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16659 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16660 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16661 __fstatat64 macros.
7fb90fb8
UD
16662 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16663 * dirent/rewinddir.c: Add libc_hidden_def.
16664 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16665 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16666
28377d1b
UD
16667 * include/dirent.h (__alloc_dir): Add flags parameter.
16668 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16669 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16670 __alloc_dir.
16671 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16672 from fdopendir if O_CLOEXEC is already set.
16673
66bdbaa4
AM
166742011-03-15 Alan Modra <amodra@gmail.com>
16675
16676 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16677 l_tls_firstbyte_offset non-zero. Save padding offset in
16678 l_tls_firstbyte_offset for later use.
16679 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16680 freeing static tls block.
16681
95721191
JN
166822011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16683
16684 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16685 where #ifdef was intended. The intent is to prevent ARG_MAX from
16686 being defined by the kernel headers.
16687
f87dfb1f
UD
166882011-05-07 Ulrich Drepper <drepper@gmail.com>
16689
16690 [BZ #12734]
16691 * resolv/resolv.h: Define RES_NOTLDQUERY.
16692 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16693 no-tld-query and set RES_NOTLDQUERY.
16694 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16695 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16696 modern BIND to search name as TLD unless forbidden.
16697
47c3cd7a
UD
166982011-05-07 Petr Baudis <pasky@suse.cz>
16699 Ulrich Drepper <drepper@gmail.com>
16700
16701 [BZ #12393]
16702 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16703 (is_trusted_path): ...to here.
c1e9ea35 16704 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16705 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16706 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16707
8a35c912
PP
167082011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16709
16710 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16711 __BEGIN/__END_DECLS.
16712
acd41f47
UD
167132011-05-06 Ulrich Drepper <drepper@gmail.com>
16714
16715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16716 NSS_STATUS_NOTFOUND if no record was found.
16717
597df647
AS
167182011-05-05 Andreas Schwab <schwab@redhat.com>
16719
16720 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16721 (headers-not-in-tirpc): Remove rpc/netdb.h
16722 * resolv/netdb.h: Revert last change.
16723
b9af1301
PP
167242011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16725
16726 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16727 circular dependency between libgcc.a and libc.a.
16728
4e34d5f5
AS
167292011-05-05 Andreas Schwab <schwab@redhat.com>
16730
16731 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16732 * nis/Makefile: Don't install rpcsvc/*.
16733 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16734 instead of <rpc/types.h>.
16735 (MAXHOSTNAMELEN): Define.
16736
00ee369c
AS
167372011-05-03 Andreas Schwab <schwab@redhat.com>
16738
16739 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16740
0b592a30
MB
167412011-04-28 Maciej Babinski <mbabinski@google.com>
16742
16743 [BZ #12714]
16744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16745 gethostbyname4_r when IPv6 results are possible.
16746
6e04cbbe
UD
167472011-05-02 Ulrich Drepper <drepper@gmail.com>
16748
16749 [BZ #12723]
16750 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16751 _PC_PIPE_BUF handling.
16752
e4ecafe0
BH
167532011-04-30 Bruno Haible <bruno@clisp.org>
16754
16755 [BZ #12717]
16756 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16757 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16758 to 'int'.
16759 * inet/getnameinfo.c (getnameinfo): Likewise.
16760
125ee683
UD
167612011-04-29 Ulrich Drepper <drepper@gmail.com>
16762
16763 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16764 to groups setting in database lookup.
16765 * nss/nsswitch.conf: Add initgroups entry.
16766
b722481a
EB
167672011-04-22 Ulrich Drepper <drepper@gmail.com>
16768
16769 [BZ #12685]
16770 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16771 mode string.
16772 Patch by Eric Blake <eblake@redhat.com>.
16773
4df46dbd
L
167742011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16775
16776 * sunrpc/Makefile (need-export-routines): Add svc_run.
16777 (routines): Remove svc_run.
16778 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16779 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16780 * sunrpc/svc_run.c (svc_run): Likewise.
16781 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16782
e84142d2
UD
167832011-04-21 Ulrich Drepper <drepper@gmail.com>
16784
16785 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16786 problem in reallocation in last patch.
16787
877175d8
UD
167882011-04-20 Ulrich Drepper <drepper@gmail.com>
16789
16790 * sunrpc/Makefile: Move inclusion of Rules.
16791
ab8eed78
UD
167922011-04-19 Ulrich Drepper <drepper@gmail.com>
16793
16794 * nss/nss_files/files-initgroups.c: New file.
16795 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16796 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16797 _nss_files_initgroups_dyn.
16798
e3d8f584
RS
167992011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16800
16801 * elf/elf.h (R_ARM_IRELATIVE): Define.
16802
af190f45
UD
168032011-04-19 Ulrich Drepper <drepper@gmail.com>
16804
16805 * po/ru.po: Update from translation team.
16806
53cf59ef
UD
168072011-04-17 Ulrich Drepper <drepper@gmail.com>
16808
16809 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16810 dependencies.
16811
4c559bcd
MF
168122011-02-06 Mike Frysinger <vapier@gentoo.org>
16813
16814 [BZ #12653]
16815 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16816 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16817 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16818 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16820
4420675c
AS
168212011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16822
16823 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16824 differing bytes.
16825 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16826 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16827 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16828
75ea32ab
UD
168292011-04-17 Ulrich Drepper <drepper@gmail.com>
16830
16831 [BZ #12420]
16832 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16833 storing it.
16834 * stdlib/bug-getcontext.c: New file.
16835 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16836
27390476
AK
168372011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16838
16839 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16840 instructions into .machine "z9-109".
16841 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16842 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16843
10442705
AK
168442011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16845
16846 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16847 between environment variables and auxiliary vector.
16848
7b57bfe5
UD
168492011-04-16 Ulrich Drepper <drepper@gmail.com>
16850
16851 * Makefile: Add rules to build linkobj/libc.so.
16852 * include/libc-symbols.h: Define libc_hidden_nolink.
16853 * include/rpc/auth.h: Mark functions which are to be hidden.
16854 * include/rpc/auth_des.h: Likewise.
16855 * include/rpc/auth_unix.h: Likewise.
16856 * include/rpc/clnt.h: Likewise.
16857 * include/rpc/des_crypt.h: Likewise.
16858 * include/rpc/key_prot.h: Likewise.
16859 * include/rpc/pmap_clnt.h: Likewise.
16860 * include/rpc/pmap_prot.h: Likewise.
16861 * include/rpc/pmap_rmt.h: Likewise.
16862 * include/rpc/rpc_msg.h: Likewise.
16863 * include/rpc/svc.h: Likewise.
16864 * include/rpc/svc_auth.h: Likewise.
16865 * include/rpc/xdr.h: Likewise.
16866 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16867 * nss/Makefile: Likewise.
16868 * sunrpc/Makefile: Don't install headers. Build library with normal
16869 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16870 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16871 for the compat linking library. Remove use of INTDEF/INTUSE.
16872 * sunrpc/auth_none.c: Likewise.
16873 * sunrpc/auth_unix.c: Likewise.
16874 * sunrpc/authdes_prot.c: Likewise.
16875 * sunrpc/authuxprot.c: Likewise.
16876 * sunrpc/clnt_gen.c: Likewise.
16877 * sunrpc/clnt_perr.c: Likewise.
16878 * sunrpc/clnt_raw.c: Likewise.
16879 * sunrpc/clnt_simp.c: Likewise.
16880 * sunrpc/clnt_tcp.c: Likewise.
16881 * sunrpc/clnt_udp.c: Likewise.
16882 * sunrpc/clnt_unix.c: Likewise.
16883 * sunrpc/des_crypt.c: Likewise.
16884 * sunrpc/des_soft.c: Likewise.
16885 * sunrpc/get_myaddr.c: Likewise.
16886 * sunrpc/key_call.c: Likewise.
16887 * sunrpc/key_prot.c: Likewise.
16888 * sunrpc/netname.c: Likewise.
16889 * sunrpc/pm_getmaps.c: Likewise.
16890 * sunrpc/pm_getport.c: Likewise.
16891 * sunrpc/pmap_clnt.c: Likewise.
16892 * sunrpc/pmap_prot.c: Likewise.
16893 * sunrpc/pmap_prot2.c: Likewise.
16894 * sunrpc/pmap_rmt.c: Likewise.
16895 * sunrpc/publickey.c: Likewise.
16896 * sunrpc/rpc_cmsg.c: Likewise.
16897 * sunrpc/rpc_common.c: Likewise.
16898 * sunrpc/rpc_dtable.c: Likewise.
16899 * sunrpc/rpc_prot.c: Likewise.
16900 * sunrpc/rpc_thread.c: Likewise.
16901 * sunrpc/rtime.c: Likewise.
16902 * sunrpc/svc.c: Likewise.
16903 * sunrpc/svc_auth.c: Likewise.
16904 * sunrpc/svc_authux.c: Likewise.
16905 * sunrpc/svc_raw.c: Likewise.
16906 * sunrpc/svc_run.c: Likewise.
16907 * sunrpc/svc_simple.c: Likewise.
16908 * sunrpc/svc_tcp.c: Likewise.
16909 * sunrpc/svc_udp.c: Likewise.
16910 * sunrpc/svc_unix.c: Likewise.
16911 * sunrpc/svcauth_des.c: Likewise.
16912 * sunrpc/xcrypt.c: Likewise.
16913 * sunrpc/xdr.c: Likewise.
16914 * sunrpc/xdr_array.c: Likewise.
16915 * sunrpc/xdr_float.c: Likewise.
16916 * sunrpc/xdr_intXX_t.c: Likewise.
16917 * sunrpc/xdr_mem.c: Likewise.
16918 * sunrpc/xdr_rec.c: Likewise.
16919 * sunrpc/xdr_ref.c: Likewise.
16920 * sunrpc/xdr_sizeof.c: Likewise.
16921 * sunrpc/xdr_stdio.c: Likewise.
16922
e6c61494
UD
169232011-04-10 Ulrich Drepper <drepper@gmail.com>
16924
16925 [BZ #12650]
16926 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16927 * sysdeps/ia64/dl-tls.h: Likewise.
16928 * sysdeps/powerpc/dl-tls.h: Likewise.
16929 * sysdeps/s390/dl-tls.h: Likewise.
16930 * sysdeps/sh/dl-tls.h: Likewise.
16931 * sysdeps/sparc/dl-tls.h: Likewise.
16932 * sysdeps/x86_64/dl-tls.h: Likewise.
16933 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16934
34fe483e
AS
169352011-03-14 Andreas Schwab <schwab@redhat.com>
16936
16937 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16938 rpath element also skip the following colon.
16939 (expand_dynamic_string_token): Add is_path parameter and pass
16940 down to DL_DST_REQUIRED and _dl_dst_substitute.
16941 (decompose_rpath): Call expand_dynamic_string_token with
16942 non-zero is_path. Ignore empty rpaths.
16943 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16944 with zero is_path.
16945
f12a32e6
AS
169462011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16947
16948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16949 Make cancelable.
16950
38a7d692
UD
169512011-04-09 Ulrich Drepper <drepper@gmail.com>
16952
16953 [BZ #12655]
16954 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16955 Patch by Filipe David Manana <fdmanana@apache.org>.
16956
e451d22b
AS
169572011-04-07 Andreas Schwab <schwab@redhat.com>
16958
16959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16960 Maintain aligned stack.
16961 (CHECK_RSP): Remove unused macro.
16962
dedc7c7b
UD
169632011-04-03 Ulrich Drepper <drepper@gmail.com>
16964
16965 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16966 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16967
94521213
UD
169682011-04-02 Ulrich Drepper <drepper@gmail.com>
16969
16970 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16971
8cb700c0 16972 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16973
0354e355
L
169742011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16975
16976 [BZ #12518]
16977 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16978 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16979 * sysdeps/x86_64/memmove.c: New file.
16980 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16981 (memcpy): Renamed to ...
16982 (__new_memcpy): This.
16983 (memcpy): Provide GLIBC_2_14 memcpy.
16984 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16985 (memcpy): Provide GLIBC_2_2_5 memcpy.
16986
8593482f
UD
169872011-04-01 Ulrich Drepper <drepper@gmail.com>
16988
16989 [BZ #12631]
16990 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16991
81a5726b
AS
169922011-03-30 Andreas Schwab <schwab@redhat.com>
16993
16994 * misc/syncfs.c: New file.
16995 * misc/Makefile (routines): Add syncfs.
16996 * posix/unistd.h: Declare syncfs.
16997 * sysdeps/unix/syscalls.list: Add syncfs.
16998
00e5419f
AS
169992011-04-01 Andreas Schwab <schwab@redhat.com>
17000
17001 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17002 open_by_handle_at.
17003 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17004 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17006 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17008 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17010
748876bf
UD
170112011-04-01 Ulrich Drepper <drepper@gmail.com>
17012
658e451d
UD
17013 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17014 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17015 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17020
748876bf
UD
17021 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17022 sync_file_range.c with -fexceptions.
17023 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17024 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17025 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17026 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17027 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17028 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17030 sync_file_range as cancellation point
17031 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17032 now a wrapper around __call_sync_file_range with cancellation handling.
17033 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17034 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17035 function name to __call_sync_file_range.
17036 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17037 Add call_sync_file_range.
748876bf 17038
6e63d5e1
AS
170392011-04-01 Andreas Schwab <schwab@redhat.com>
17040
17041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17042 bits/timex.h.
6e63d5e1 17043
46998f74
UD
170442011-04-01 Ulrich Drepper <drepper@gmail.com>
17045
4c1423ed
UD
17046 * iconv/iconv.h: Fix typo in comment.
17047 * io/fcntl.h: Likewise.
17048 * libio/stdio.h: Likewise.
17049 * posix/spawn.h: Likewise.
17050 * posix/unistd.h: Likewise.
17051 * stdlib/stdlib.h: Likewise.
17052 * time/time.h: Likewise.
17053 * wcsmbs/wchar.h: Likewise.
17054
158648c0
UD
17055 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17056 open_by_handle): Add.
17057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17058 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17059 Augment a few comments.
17060 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17065 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17066 open_by_handle.
17067
46998f74
UD
17068 * io/fcntl.h (AT_EMPTY_PATH): Define.
17069
83fe108b
UD
170702011-03-30 Ulrich Drepper <drepper@gmail.com>
17071
17072 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17073 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17074 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17075 to...
17076 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17077 * Versions.def: Add GLIBC_2.14.
17078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17079 Export.
83fe108b 17080
bb242059
UD
170812011-03-22 Ulrich Drepper <drepper@gmail.com>
17082
17083 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17084 round counter.
17085 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17086
c97a1282
L
170872011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17088
17089 [BZ #12597]
17090 * string/test-strncmp.c (do_page_test): New function.
17091 (check2): Likewise.
17092 (test_main): Call check2.
17093 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17094
2a115601
UD
170952011-03-20 Ulrich Drepper <drepper@gmail.com>
17096
17097 [BZ #12587]
17098 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17099 Handle cache information in CPU leaf 4.
17100 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17101
8126d904
UD
171022011-03-18 Ulrich Drepper <drepper@gmail.com>
17103
042c49c6 17104 [BZ #12583]
8126d904
UD
17105 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17106 character representation.
17107 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17108
ccfe366e
RA
171092011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17110
17111 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17112 END(__isnan) to END(__isnanf) to match function entry point/label
17113 EALIGN(__isnanf,...).
17114
c6e13027
JJ
171152011-03-10 Jakub Jelinek <jakub@redhat.com>
17116
17117 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17118
33f85a3f
UD
171192011-03-10 Ulrich Drepper <drepper@gmail.com>
17120
028478fa
UD
17121 [BZ #12510]
17122 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17123 copy from the symbol referenced in the relocation to initialize the
17124 used variable.
17125 Patch by Piotr Bury <pbury@goahead.com>.
17126 * elf/Makefile: Add rules to build and tst-unique3.
17127 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17128 * elf/tst-unique3.cc: New file.
17129 * elf/tst-unique3.h: New file.
17130 * elf/tst-unique3lib.cc: New file.
17131 * elf/tst-unique3lib2.cc: New file.
17132
33f85a3f
UD
17133 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17134
03592fc7
MF
171352011-03-10 Mike Frysinger <vapier@gentoo.org>
17136
17137 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17138 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17139 to _start.
03592fc7 17140
6a5ee102
UD
171412011-03-06 Ulrich Drepper <drepper@gmail.com>
17142
17143 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17144 to-be-loaded object along a path to loader is ld.so.
17145
7e4ba49c
HJ
171462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17147 Ulrich Drepper <drepper@gmail.com>
17148
17149 * sysdeps/x86_64/memset.S: After aligning destination, code
17150 branches to different locations depending on the value of
17151 misalignment, when multiarch is enabled. Fix this.
17152
171532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17154
17155 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17156 Set _x86_64_preferred_memory_instruction for AMD processsors.
17157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17158 Set bit_Prefer_SSE_for_memop for AMD processors.
17159
13a804de
UD
171602011-03-04 Ulrich Drepper <drepper@gmail.com>
17161
17162 * libio/fmemopen.c (fmemopen): Optimize a bit.
17163
9d25c392
AS
171642011-03-03 Andreas Schwab <schwab@redhat.com>
17165
17166 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17167
a5543c6a
RM
171682011-03-03 Roland McGrath <roland@redhat.com>
17169
17170 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17171
012d35f7
DM
171722011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17173
7e4ba49c 17174 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17175 __bzero_ultra1 instead of __memset_ultra1.
17176
4bff6e01
AS
171772011-02-23 Andreas Schwab <schwab@redhat.com>
17178 Ulrich Drepper <drepper@gmail.com>
17179
17180 [BZ #12509]
17181 * include/link.h (struct link_map): Add l_orig_initfini.
17182 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17183 returning unsuccessfully.
17184 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17185 close of a file loaded at startup, restore the original l_initfini
17186 list.
17187 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17188 list, store the pointer.
17189 * elf/Makefile ($(objpfx)noload-mem): New rule.
17190 (noload-ENV): Define.
17191 (tests): Add $(objpfx)noload-mem.
17192 * elf/noload.c: Include <memcheck.h>.
17193 (main): Call mtrace. Close all opened handles.
17194
f2092faf
AS
171952011-02-17 Andreas Schwab <schwab@redhat.com>
17196
17197 [BZ #12454]
17198 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17199 dependencies are missing.
17200
6c8a2e88
ST
172012011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17202
f2092faf 17203 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17204 Hurd needs munmap.
17205 * sysdeps/mach/hurd/ifreq.h: New file.
17206
84a42118
PB
172072011-01-27 Petr Baudis <pasky@suse.cz>
17208 Ulrich Drepper <drepper@gmail.com>
17209
071f805e 17210 [BZ 12445]#
84a42118
PB
17211 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17212 to extend_alloca().
17213 * stdio-common/bug23.c: New file.
17214 * stdio-common/Makefile (tests): Add bug23.
17215
e23fe25b
AS
172162010-09-28 Andreas Schwab <schwab@redhat.com>
17217 Ulrich Drepper <drepper@gmail.com>
17218
17219 [BZ #12489]
17220 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17221 before performing relro protection. At old place add assertion
17222 to make sure nothing changed.
17223
d3f02e10
NS
172242011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17225 Glauber de Oliveira Costa <glommer@gmail.com>
17226
17227 * elf/elf.h: Add new ARM TLS relocs.
17228
d55fd7a5
RA
172292011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17230
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17232 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17233 cast from r3.
17234 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17235 'tests' variable.
17236 * sysdeps/wordsize-64/tst-writev.c: New file.
17237
2206397e
RA
172382011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17239
17240 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17241 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17242 insns in _dl_start to prevent a TOC reference before relocs are
17243 resolved.
17244
e9433893
UD
172452011-02-15 Ulrich Drepper <drepper@gmail.com>
17246
17247 [BZ #12469]
17248 * Makeconfig: Remove RANLIB definition.
17249 * Makerules: Don't use RANLIB.
17250 * aclocal.m4: Remove ranlib test.
17251 * configure.in: No need to check for ranlib.
17252 * elf/rtld-Rules: Don't use RANLIB.
17253
f75286c6
ST
172542011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17255
8e31c82d
ST
17256 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17257 protection macro.
17258 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17259 inclusion protection macro.
17260
f75286c6
ST
17261 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17262 SIGRTMIN and SIGRTMAX and print information in that case only when
17263 SIGRTMIN is defined.
17264
c1d0e639
JJ
172652011-02-11 Jakub Jelinek <jakub@redhat.com>
17266
17267 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17268 arginfo fn returning -1.
17269
17270 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17271 and thousands string is zero terminated.
17272
edf9294e
AS
172732011-02-03 Andreas Schwab <schwab@redhat.com>
17274
17275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17276 sysdeps/unix/sysv/linux/bits/socket.h.
17277
2b7e92df
ST
172782011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17279
edf9294e
AS
17280 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17281 (__CPU_COUNT): Remove old macros.
17282 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17283 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17284 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17285 (__sched_cpualloc, __sched_cpufree): Add declarations.
17286
a4c7ea7b
UD
172872011-02-05 Ulrich Drepper <drepper@gmail.com>
17288
17289 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17290 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17291 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17292 (readdhstai): Return value of addhstaiX call.
17293 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17294 (addgrbyX): Return value returned by cache_addgr.
17295 (readdgrbyname): Return value returned by addgrbyX.
17296 (readdgrbygid): Likewise.
17297 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17298 (addpwbyX): Return value returned by cache_addpw.
17299 (readdpwbyname): Return value returned by addhstbyX.
17300 (readdpwbyuid): Likewise.
17301 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17302 (addservbyX): Return value returned by cache_addserv.
17303 (readdservbyname): Return value returned by addservbyX:
17304 (readdservbyport): Likewise.
17305 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17306 (addhstbyX): Return value returned by cache_addhst.
17307 (readdhstbyname): Return value returned by addhstbyX.
17308 (readdhstbyaddr): Likewise.
17309 (readdhstbynamev6): Likewise.
17310 (readdhstbyaddrv6): Likewise.
17311 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17312 (readdinitgroups): Return value returned by addinitgroupsX.
17313 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17314 (prune_cache): Keep track of timeout value of re-added entries.
17315 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17316 * nscd/nscd.h: Adjust prototypes of readd* functions.
17317
a0bf67cc
RM
173182011-02-04 Roland McGrath <roland@redhat.com>
17319
17320 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17321 (nis_stats): Likewise.
17322 * nis/nis_modify.c (nis_modify): Likewise.
17323 * nis/nis_remove.c (nis_remove): Likewise.
17324 * nis/nis_add.c (nis_add): Likewise.
17325
17326 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17327
17328 * posix/fnmatch_loop.c: Add some consts.
17329
17330 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17331
435b95eb
L
173322011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17333
17334 [BZ #12460]
17335 * config.make.in (config-cflags-novzeroupper): Define.
17336 * configure.in: Substitute libc_cv_cc_novzeroupper.
17337 * elf/Makefile (AVX-CFLAGS): Define.
17338 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17339 (CFLAGS-tst-auditmod4a.c): Likewise.
17340 (CFLAGS-tst-auditmod4b.c): Likewise.
17341 (CFLAGS-tst-auditmod6b.c): Likewise.
17342 (CFLAGS-tst-auditmod6c.c): Likewise.
17343 (CFLAGS-tst-auditmod7b.c): Likewise.
17344 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17345
8517b15e
UD
173462011-02-02 Ulrich Drepper <drepper@gmail.com>
17347
17348 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17349 function to the callback.
17350 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17351
10a656fe
AS
173522011-02-02 Andreas Schwab <schwab@redhat.com>
17353
17354 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17355 of errno.
17356
968dad0a
UD
173572011-01-19 Ulrich Drepper <drepper@gmail.com>
17358
9f94d2ea 17359 [BZ #11724]
968dad0a
UD
17360 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17361 of constructors.
17362 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17363 of destructors.
17364 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17365
17366 [BZ #11724]
17367 * elf/Makefile: Add rules to build and run new test.
17368 * elf/tst-initorder.c: New file.
17369 * elf/tst-initorder.exp: New file.
17370 * elf/tst-initordera1.c: New file.
17371 * elf/tst-initordera2.c: New file.
17372 * elf/tst-initordera3.c: New file.
17373 * elf/tst-initordera4.c: New file.
17374 * elf/tst-initorderb1.c: New file.
17375 * elf/tst-initorderb2.c: New file.
17376 * elf/tst-order-a1.c: New file.
17377 * elf/tst-order-a2.c: New file.
17378 * elf/tst-order-a3.c: New file.
17379 * elf/tst-order-a4.c: New file.
17380 * elf/tst-order-b1.c: New file.
17381 * elf/tst-order-b2.c: New file.
17382 * elf/tst-order-main.c: New file.
17383 New test case by George Gensure <werkt0@gmail.com>.
17384
86e92359
UD
173852010-10-01 Andreas Schwab <schwab@redhat.com>
17386
17387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17388 decoding ACE if AI_CANONIDN.
17389
5d5732b0
UD
173902011-01-18 Ulrich Drepper <drepper@gmail.com>
17391
17392 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17393
a77e8cbc
UD
173942011-01-17 Ulrich Drepper <drepper@gmail.com>
17395
6392473f
UD
17396 * version.h (RELEASE): Bump for 2.13 release.
17397 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17398
620a0529
UD
17399 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17400
18ba70a5
UD
17401 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17402 MADV_NOHUGEPAGE.
32465c3e
UD
17403 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17404 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17405 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17406 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17407 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17408 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17409
c0dafcf1
UD
17410 * posix/getconf.c: Update copyright year.
17411 * catgets/gencat.c: Likewise.
17412 * csu/version.c: Likewise.
17413 * debug/catchsegv.sh: Likewise.
17414 * debug/xtrace.sh: Likewise.
17415 * elf/ldconfig.c: Likewise.
17416 * elf/ldd.bash.in: Likewise.
17417 * elf/sprof.c (print_version): Likewise.
17418 * iconv/iconv_prog.c: Likewise.
17419 * iconv/iconvconfig.c: Likewise.
17420 * locale/programs/locale.c: Likewise.
17421 * locale/programs/localedef.c: Likewise.
17422 * malloc/memusage.sh: Likewise.
17423 * malloc/mtrace.pl: Likewise.
17424 * nscd/nscd.c (print_version): Likewise.
17425 * nss/getent.c: Likewise.
17426
a77e8cbc
UD
17427 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17428 PF_CAIF, and PF_ALG.
17429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17430
77e8bddf
AS
174312011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17432
1f20b93a
AS
17433 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17434 (modules-names): Use them.
17435 (ifunc-test-modules, ifunc-pie-tests): Define.
17436 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17437 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17438 (test-extras): Likewise.
17439 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17440 $(compile-command.c).
17441 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17442 (all-built-dso): Define.
17443 (check-textrel.out, check-execstack.out): Depend on it.
17444
77e8bddf
AS
17445 * configure.in: Don't override --enable-multi-arch.
17446
bc425b33
UD
174472011-01-15 Ulrich Drepper <drepper@gmail.com>
17448
17449 [BZ #6812]
17450 * nscd/hstcache.c (tryagain): Define.
17451 (cache_addhst): Return tryagain not notfound for temporary errors.
17452 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17453 failed.
17454
794c3ad3
UD
174552011-01-14 Ulrich Drepper <drepper@gmail.com>
17456
70181fdd
UD
17457 [BZ #10563]
17458 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17459 to make the syscall.
17460 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17461
794c3ad3
UD
17462 [BZ #12378]
17463 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17464 and fall back to matching as normal character if the string ends before
17465 the matching ']' is found. This is what POSIX requires.
17466 * posix/testfnm.c: Adjust test result.
17467 * posix/globtest.sh: Adjust test result. Add new test.
17468 * posix/tst-fnmatch.input: Likewise.
17469 * posix/tst-fnmatch2.c: Add new test.
17470
68dc9497
AS
174712010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17472
17473 * elf/Makefile (check-execstack): Revert last change. Depend on
17474 check-execstack.h.
17475 (check-execstack.h): New target.
17476 (generated): Add check-execstack.h.
17477 * elf/check-execstack.c: Include "check-execstack.h".
17478 (main): Revert last change.
17479 (handle_file): Return zero if GNU_STACK is absent and
17480 DEFAULT_STACK_PERMS doesn't include PF_X.
17481
451f001b
UD
174822011-01-13 Ulrich Drepper <drepper@gmail.com>
17483
cfa28e56
UD
17484 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17485 in child fails because the descriptor is already closed.
8cf8ce17
UD
17486 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17487 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17488 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17489
1086d70d
UD
17490 [BZ #12397]
17491 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17492 syscall.
17493
451f001b
UD
17494 [BZ #10484]
17495 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17496 temporary buffer used to handle multi lookups locally.
a85b5cb4 17497 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17498
08769175
UD
174992011-01-12 Ulrich Drepper <drepper@gmail.com>
17500
17501 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17502 loader is ld.so.
17503
5e49c52e
UD
175042011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17505
17506 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17507 alignment for SSE2.
17508
60522a5f
UD
175092011-01-12 Ulrich Drepper <drepper@gmail.com>
17510
17511 [BZ #12394]
17512 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17513 characters. When rounding increased number of integer digits recompute
17514 number of groups.
17515 * stdio-common/tst-grouping.c: New file.
17516 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17517
f257bbd7
UD
175182011-01-09 Ulrich Drepper <drepper@gmail.com>
17519
17520 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17521 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17522
17523 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17524 void.
17525 * bits/select.h: Likewise.
17526
fa9c15cb
UD
175272011-01-08 Ulrich Drepper <drepper@gmail.com>
17528
17529 * po/ja.po: Update from translation team.
17530
16c2895f
DM
175312011-01-04 David S. Miller <davem@sunset.davemloft.net>
17532
17533 [BZ #11155]
17534 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17535 implementation just like for lxstat, fxstatat, et al.
17536
2543fef2
JM
175372010-12-27 Jim Meyering <meyering@redhat.com>
17538
17539 [BZ #12348]
17540 * posix/regexec.c (build_trtable): Return failure indication upon
17541 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17542
98727dbe
UD
175432010-12-25 Ulrich Drepper <drepper@gmail.com>
17544
5bd6dc5c
UD
17545 [BZ #12201]
17546 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17547 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17548 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17549 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17550
97983464
UD
17551 [BZ #12207]
17552 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17553
98727dbe
UD
17554 [BZ #12204]
17555 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17556 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17557
4a531bb0
L
175582010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17559
17560 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17561 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17562 script has SORT_BY_INIT_PRIORITY.
17563 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17564 NO_CTORS_DTORS_SECTIONS is defined.
17565 * elf/soinit.c: Likewise.
17566 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17567 NO_CTORS_DTORS_SECTIONS is defined.
17568 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17569 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17570 * sysdeps/sh/init-first.c: Likewise.
17571 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17572
07eb4b71
UD
175732010-12-24 Ulrich Drepper <drepper@gmail.com>
17574
17575 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17576 always use the slow path.
17577
30950a5f
RA
175782010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17579
17580 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17581 similar rule which adds the sysdep directories to the header search in
17582 order to pick up the correct platform stackinfo.h.
17583 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17584 perform test if it is, otherwise return successfully without testing.
17585 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17586 DEFAULT_STACK_PERMS define in stackinfo.h.
17587 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17588 defined in stackinfo.h.
17589 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17590 DEFAULT_STACK_PERMS defined in stackinfo.h.
17591 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17592 * sysdeps/ia64/stackinfo.h: Likewise.
17593 * sysdeps/s390/stackinfo.h: Likewise.
17594 * sysdeps/sh/stackinfo.h: Likewise.
17595 * sysdeps/sparc/stackinfo.h: Likewise.
17596 * sysdeps/x86_64/stackinfo.h: Likewise.
17597 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17598 PF_X for powerpc64. Retain PF_X for powerpc32.
17599
db753e2c
UD
176002010-12-19 Ulrich Drepper <drepper@gmail.com>
17601
14b697f7
UD
17602 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17603 accurately.
db753e2c
UD
17604 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17605 GETDENTS_64BIT_ALIGNED.
17606
28300719
UD
176072010-12-14 Ulrich Drepper <dreper@gmail.com>
17608
14b697f7 17609 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17610
4f197237
AS
176112010-12-10 Andreas Schwab <schwab@redhat.com>
17612
dbb0472f
AS
17613 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17614 _GNU_SOURCE.
17615
4f197237
AS
17616 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17617 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17618 Remove __restrict.
17619 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17620 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17621
fb88ac72
UD
176222010-12-09 Ulrich Drepper <drepper@gmail.com>
17623
17624 [BZ #11655]
17625 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17626 are initialized.
17627
42acbb92
JJ
176282010-12-09 Jakub Jelinek <jakub@redhat.com>
17629
17630 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17631
c038d98d
UD
176322010-12-03 Ulrich Drepper <drepper@gmail.com>
17633
17634 * po/it.po: Update from translation team.
17635
3a4a2499
L
176362010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17637
17638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17639 unused codes.
17640
1e24cf6e
UD
176412010-11-30 Ulrich Drepper <drepper@gmail.com>
17642
17643 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17644
a7690819
AS
176452010-11-24 Andreas Schwab <schwab@redhat.com>
17646
17647 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17648 specially.
17649 (gaih_getanswer_slice): Likewise.
17650
3bf8d1b1
JJ
176512010-10-20 Jakub Jelinek <jakub@redhat.com>
17652
17653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17654
6db52fbb
PB
176552010-05-31 Petr Baudis <pasky@suse.cz>
17656
17657 [BZ #11149]
17658 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17659 silently even in the chroot mode.
17660
eaca7569
UD
176612010-11-22 Ulrich Drepper <drepper@gmail.com>
17662
17663 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17664 last patch a bit. Pretty printing
17665
3056dcdb
UD
176662010-05-31 Petr Baudis <pasky@suse.cz>
17667
17668 [BZ #10085]
17669 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17670 initialization of skip_initgroups_dyn.
17671
cf7c9078
UD
176722010-11-19 Ulrich Drepper <drepper@gmail.com>
17673
17674 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17676
a1fb5e3e
UD
176772010-11-16 Ulrich Drepper <drepper@gmail.com>
17678
17679 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17680
3540d66b
AS
176812010-11-11 Andreas Schwab <schwab@redhat.com>
17682
17683 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17684 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17685 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17686 ($(objpfx)tst-fnmatch-mem): New rule.
17687 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17688 * posix/tst-fnmatch.c (main): Call mtrace.
17689
13b69574
L
176902010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17691
17692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17693 Support Intel processor model 6 and model 0x2c.
17694
da93d214
LM
176952010-11-10 Luis Machado <luisgpm@br.ibm.com>
17696
17697 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17698 signed comparison.
17699
8ca52c6e
L
177002010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17701
17702 [BZ #12205]
17703 * string/test-strncasecmp.c (check_result): New function.
17704 (do_one_test): Use it.
17705 (check1): New function.
17706 (test_main): Use it.
17707 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17708 Support strcasecmp and strncasecmp.
17709
69da074d
UD
177102010-11-08 Ulrich Drepper <drepper@gmail.com>
17711
17712 [BZ #12194]
17713 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17715
ff02d528
L
177162010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17717
17718 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17719 IFUNC support.
17720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17721 memset-x86-64.
17722 * sysdeps/x86_64/multiarch/bzero.S: New file.
17723 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17724 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17725 * sysdeps/x86_64/multiarch/memset.S: New file.
17726 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17728 Set bit_Prefer_SSE_for_memop for Intel processors.
17729 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17730 Define.
17731 (index_Prefer_SSE_for_memop): Define.
17732 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17733
344d0b54
LM
177342010-11-04 Luis Machado <luisgpm@br.ibm.com>
17735
17736 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17737 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17738
c0dde15b
UD
177392010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17740
17741 [BZ #12191]
17742 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17743 (__x86_64_raw_data_cache_size_half): Likewise.
17744 (__x86_64_raw_shared_cache_size): Likewise.
17745 (__x86_64_raw_shared_cache_size_half): Likewise.
17746
17747 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17748 (__x86_64_raw_data_cache_size_half): Likewise.
17749 (__x86_64_raw_shared_cache_size): Likewise.
17750 (__x86_64_raw_shared_cache_size_half): Likewise.
17751 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17752 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17753 and __x86_64_raw_shared_cache_size_half. Round
17754 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17755 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17756 to multiple of 256 bytes.
17757
0e516e0e
MS
177582010-11-03 Ulrich Drepper <drepper@gmail.com>
17759
17760 [BZ #12167]
17761 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17762 of inacessible symlinks. Verify result of symlink before returning it.
17763 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17764 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17765
0e012e87
ER
177662010-10-28 Erich Ritz <erichritz@gmail.com>
17767
17768 * math/math.h (isinf): Fix typo in comment.
17769
de0ff7bc
UD
177702010-11-01 Ulrich Drepper <drepper@gmail.com>
17771
17772 * po/da.po: Update from translation team.
17773
fa41c84d
UD
177742010-10-26 Ulrich Drepper <drepper@gmail.com>
17775
17776 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17777 is added to the list.
17778
f0967738
AK
177792010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17780 Ulrich Drepper <drepper@gmail.com>
17781
17782 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17783 the global list here. Move code to...
17784 (_dl_add_to_namespace_list): ...here. New function.
17785 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17786 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17787 * elf/dl-load.c (lose): Don't remove the element from the list.
17788 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17789 (_dl_map_object): Likewise.
17790
177912010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17792
17793 [BZ #12159]
17794 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17795 into all bytes of SSE register.
17796 Patch by Richard Li <richardpku@gmail.com>.
17797
f0967738 177982010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17799
17800 [BZ #12140]
17801 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17802 perturbing.
17803
d0b9e94f
MB
178042010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17805
17806 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17807 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17808 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17809 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17811 submachine.
17812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17813
8e9f92e9
AS
178142010-10-22 Andreas Schwab <schwab@redhat.com>
17815
17816 * include/dlfcn.h (__RTLD_SECURE): Define.
17817 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17818 mode & __RTLD_SECURE instead.
17819 (open_path): Rename preloaded parameter to secure.
17820 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17821 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17822 * elf/dl-deps.c (openaux): Likewise.
17823 * elf/rtld.c (struct map_args): Remove is_preloaded.
17824 (map_doit): Don't use it.
17825 (dl_main): Likewise.
17826 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17827 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17828
bc96fbda
AS
178292010-09-09 Andreas Schwab <schwab@redhat.com>
17830
17831 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17832 (sysd-rules-targets): Remove duplicates.
17833 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17834 rtld-%.$o dependency.
17835
22cd1c9b
AS
178362010-10-18 Andreas Schwab <schwab@redhat.com>
17837
17838 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17839 _dl_map_object do it.
17840
18edac48
UD
178412010-10-19 Ulrich Drepper <drepper@gmail.com>
17842
17843 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17844 fast fma builtins, define the macros in the C99 standard.
17845 (FP_FAST_FMAF): Likewise.
17846 (FP_FAST_FMAL): Likewise.
17847 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17848
17849 * bits/mathdef.h: Update copyright year.
17850 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17851
d2050124
MM
178522010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17853
17854 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17855 builtins, define the macros in the C99 standard.
17856 (FP_FAST_FMAF): Likewise.
17857 (FP_FAST_FMAL): Likewise.
17858 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17859 multiply/add.
17860 (FP_FAST_FMAF): Likewise.
17861
475facd1
JJ
178622010-10-15 Jakub Jelinek <jakub@redhat.com>
17863
17864 [BZ #3268]
17865 * math/libm-test.inc (fma_test): Some new testcases.
17866 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17867 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17868 y and infinite z. Do multiplication by C already in long double.
17869 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17871 y and infinite z. Do bitwise or of inexact bit into u.d.
17872 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17873 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17874 * sysdeps/i386/fpu/s_fma.S: Removed.
17875 * sysdeps/i386/fpu/s_fmal.S: Removed.
17876
7c08a05c
JJ
178772010-10-16 Jakub Jelinek <jakub@redhat.com>
17878
17879 [BZ #3268]
17880 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17882 computation is not scheduled after fetestexcept. Fix value
17883 of minimum denormal long double.
17884
f3f7372d
JJ
178852010-10-14 Jakub Jelinek <jakub@redhat.com>
17886
17887 [BZ #3268]
17888 * math/libm-test.inc (fma_test): Add some more tests.
17889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17890 correctly.
17891
14d43591
AS
178922010-10-15 Andreas Schwab <schwab@redhat.com>
17893
17894 * scripts/data/localplt-s390-linux-gnu.data: New file.
17895 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17896
5e908464
JJ
178972010-10-13 Jakub Jelinek <jakub@redhat.com>
17898
17899 [BZ #3268]
17900 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17901 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17902 instead of dbl-64.
17903 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17904 inlines.
17905 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17907 if one of x and y is very large and the other is subnormal.
17908 * sysdeps/s390/fpu/s_fmaf.c: New file.
17909 * sysdeps/s390/fpu/s_fma.c: New file.
17910 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17911 * sysdeps/powerpc/fpu/s_fma.S: New file.
17912 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17913 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17914 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17915
179162010-10-12 Jakub Jelinek <jakub@redhat.com>
17917
17918 [BZ #3268]
17919 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17920 fma tests.
17921 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17922 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17923 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17924 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17925 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17926 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17927 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17928
b833d51f
UD
179292010-10-12 Ulrich Drepper <drepper@redhat.com>
17930
17931 [BZ #12078]
17932 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17933 * posix/bug-regex31.input: Add test case.
17934
1751705d
UD
179352010-10-11 Ulrich Drepper <drepper@gmail.com>
17936
e9b9cbf5
UD
17937 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17938 * posix/bug-regex31.input: New file.
17939
17940 [BZ #12078]
17941 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17942 (parse_sub_exp): Fix last change, use postorder.
17943
ef06edbe
UD
17944 * posix/bug-regex31.c: New file.
17945 * posix/Makefile: Add rules to build and run bug-regex31.
17946
a129c80d
UD
17947 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17948
17949 [BZ #12078]
17950 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17951
b76b818e
UD
17952 [BZ #12108]
17953 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17954 to have entries in sys_siglist.
17955
1751705d
UD
17956 [BZ #12093]
17957 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17958 be NULL.
17959
9ff8d36f
JJ
179602010-10-07 Jakub Jelinek <jakub@redhat.com>
17961
17962 [BZ #3268]
17963 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17964 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17965 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17966 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17967 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17968 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17969 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17970 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17971 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17972 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17973 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17974 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17975 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17976 * math/ftestexcept.c (fetestexcept): Likewise.
17977 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17978 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17979 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17980 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17981 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17982 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17983 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17984
af325969
UD
179852010-10-11 Ulrich Drepper <drepper@gmail.com>
17986
c579b202 17987 [BZ #12107]
af325969
UD
17988 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17989 newline.
17990
67a67b95
UD
179912010-10-06 Ulrich Drepper <drepper@gmail.com>
17992
17993 * string/bug-strstr1.c: New file.
17994 * string/Makefile: Add rules to build and run bug-strstr1.
17995
5fb308bc
EB
179962010-10-05 Eric Blake <eblake@redhat.com>
17997
17998 [BZ #12092]
17999 * string/str-two-way.h (two_way_long_needle): Always clear memory
18000 when skipping input due to the shift table.
18001
45db99c7
UD
180022010-10-03 Ulrich Drepper <drepper@gmail.com>
18003
3b111893
UD
18004 [BZ #12005]
18005 * malloc/mcheck.c: Handle large requests.
18006
45db99c7
UD
18007 [BZ #12077]
18008 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18009 for strncmp and strncasecmp.
18010 * string/stratcliff.c: Add tests for strcmp and strncmp.
18011 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18012
cf7a1eb8
NI
180132010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18014
18015 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18016 __set_fpscr.
18017
6484ba5e
AJ
180182010-09-30 Andreas Jaeger <aj@suse.de>
18019
18020 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18021 (CGROUP_SUPER_MAGIC): Define.
18022 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18023 Handle btrfs and cgroup file systems.
18024 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18025 Likewise.
18026
91c42559
LM
180272010-09-27 Luis Machado <luisgpm@br.ibm.com>
18028
18029 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18030 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18031
87a97932
AK
180322010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18033
18034 [BZ #12067]
18035 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18036 trying to locate the ELF header.
18037
c21cc9bc
AS
180382010-09-27 Andreas Schwab <schwab@redhat.com>
18039
18040 [BZ #11611]
18041 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18042 Mask out sign-bit copies when constructing f_fsid.
18043
315970f6
PB
180442010-09-24 Petr Baudis <pasky@suse.cz>
18045
18046 * debug/stack_chk_fail_local.c: Add missing licence exception.
18047 * debug/warning-nop.c: Likewise.
18048
1ac7a2c7
JM
180492010-09-15 Joseph Myers <joseph@codesourcery.com>
18050
18051 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18052 implementing getdents64 using getdents syscall, set d_type if
18053 __ASSUME_GETDENTS32_D_TYPE.
18054
56801c50
AS
180552010-09-16 Andreas Schwab <schwab@redhat.com>
18056
18057 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18058 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18059
dda51327
UD
180602010-09-21 Ulrich Drepper <drepper@redhat.com>
18061
18062 [BZ #12037]
18063 * posix/unistd.h: Undo change of feature selection for ftruncate from
18064 2010-01-11.
18065
8ffcee4a
UD
180662010-09-20 Ulrich Drepper <drepper@redhat.com>
18067
a545ecd9 18068 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18069 detection.
18070
e24f0a8b
AS
180712010-09-20 Andreas Schwab <schwab@redhat.com>
18072
18073 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18074 fanotify_mark.
18075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18076
7291c56f
AS
180772010-09-14 Andreas Schwab <schwab@redhat.com>
18078
18079 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18080 variables after CHECK_SP call.
18081 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18082
bc5fb037
AS
180832010-09-13 Andreas Schwab <schwab@redhat.com>
18084 Ulrich Drepper <drepper@redhat.com>
18085
18086 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18087 re-relocationg ld.so.
18088 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18089 _dl_init_paths call.
18090 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18091 here anymore.
18092
e66e7419
UD
180932010-09-14 Ulrich Drepper <drepper@redhat.com>
18094
18095 * resolv/res_init.c (__res_vinit): Count the default server we added.
18096
c044aa75
CLT
180972010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18098 Ulrich Drepper <drepper@redhat.com>
18099
18100 [BZ #11968]
18101 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18102 (____longjmp_chk): Use %ebx for saving value across system call.
18103 Add unwind info.
18104
32cf4069
AS
181052010-09-06 Andreas Schwab <schwab@redhat.com>
18106
18107 * manual/Makefile: Don't mix pattern rules with normal rules.
18108
817328ee
AS
181092010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18110
18111 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18112 operation.
18113 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18114 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18115 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18116 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18118 Likewise.
18119
29fddf61
UD
181202010-09-04 Ulrich Drepper <drepper@redhat.com>
18121
18122 [BZ #11979]
18123 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18124 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18125
0959ffc9
UD
181262010-09-02 Ulrich Drepper <drepper@redhat.com>
18127
18128 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18129 * sysdeps/x86_64/addmul_1.S: Likewise.
18130 * sysdeps/x86_64/lshift.S: Likewise.
18131 * sysdeps/x86_64/mul_1.S: Likewise.
18132 * sysdeps/x86_64/rshift.S: Likewise.
18133 * sysdeps/x86_64/sub_n.S: Likewise.
18134 * sysdeps/x86_64/submul_1.S: Likewise.
18135
ece29840
ST
181362010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18137
0959ffc9
UD
18138 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18139 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18140 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18141 * bits/sched.h [__need_schedparam]
ece29840 18142 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18143 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18144 (__defined_schedparam): Define to 1.
ece29840
ST
18145 (__sched_param): New structure, identical to sched_param.
18146 (__need_schedparam): Undefine.
18147
e53a31fe
MF
181482010-08-31 Mike Frysinger <vapier@gentoo.org>
18149
fdc0c10d
MF
18150 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18151 (epoll_create1): Declare.
18152
e53a31fe
MF
18153 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18154
a726d796
AS
181552010-08-31 Andreas Schwab <schwab@redhat.com>
18156
18157 [BZ #7066]
18158 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18159 shifting retval into place.
18160
2f3e3dc7
UD
181612010-09-01 Ulrich Drepper <drepper@redhat.com>
18162
f2933da9
UD
18163 * nis/rpcsvc/nis.h: Update copyright notice.
18164 * nis/rpcsvc/nis.x: Likewise.
18165 * nis/rpcsvc/nis_callback.h: Likewise.
18166 * nis/rpcsvc/nis_callback.x: Likewise.
18167 * nis/rpcsvc/nis_object.x: Likewise.
18168 * nis/rpcsvc/nis_tags.h: Likewise.
18169 * nis/rpcsvc/yp.h: Likewise.
18170 * nis/rpcsvc/yp.x: Likewise.
18171 * nis/rpcsvc/ypupd.h: Likewise.
18172 * nis/yp_xdr.c: Likewise.
18173 * nis/ypupdate_xdr.c: Likewise.
18174
2f3e3dc7
UD
18175 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18176 mainly the body of pmap_getport. Add parameters to specify timeouts.
18177 (pmap_getport): Use __libc_rpc_getport.
18178 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18179 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18180 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18181
f3dcc2f9
AS
181822010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18183
18184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18185 fanotify_mark.
18186
6d34eb5b
RM
181872010-08-27 Roland McGrath <roland@redhat.com>
18188
18189 * sysdeps/i386/i686/multiarch/Makefile
18190 (CFLAGS-varshift.c): New variable.
18191
9ea3de11
UD
181922010-08-27 Ulrich Drepper <drepper@redhat.com>
18193
c96d23fc
UD
18194 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18195 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18196
9ea3de11
UD
18197 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18198
18199 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18200
623aac7f
L
182012010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18202
18203 * sysdeps/x86_64/strlen.S: Unroll the loop.
18204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18205 strlen-sse2 strlen-sse2-bsf.
18206 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18207 __strlen_no_bsf if bit_Slow_BSF is set.
18208 (__strlen_sse42): Removed.
18209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18210 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18211
8b2b7715
RM
182122010-08-25 Roland McGrath <roland@redhat.com>
18213
18214 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18215 * sysdeps/x86_64/multiarch/varshift.c: New file.
18216 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18217 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18218 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18219 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18220
e73015f2
L
182212010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18222
18223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18224 strlen-sse2 strlen-sse2-bsf.
18225 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18226 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18227 (__strlen_sse2): Removed.
18228 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18229 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18231 bit_Slow_BSF for Atom.
18232 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18233 (index_Slow_BSF): Define.
18234 (HAS_SLOW_BSF): Define.
18235
df24a73e
UD
182362010-08-25 Ulrich Drepper <drepper@redhat.com>
18237
18238 [BZ #10851]
18239 * resolv/res_init.c (__res_vinit): When no server address at all
18240 is given default to loopback.
18241
f2ac4868
RM
182422010-08-24 Roland McGrath <roland@redhat.com>
18243
09055553
RM
18244 * configure.in: Remove config-name.h generation.
18245 * configure: Regenerated.
18246 * config-name.in: File removed.
18247 * scripts/config-uname.sh: New file.
18248 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18249 ($(objdir)config-name.h): New target.
18250
f2ac4868
RM
18251 * sunrpc/rpc_parse.h: Avoid nested comment.
18252
73f27d5e
RH
182532010-08-24 Richard Henderson <rth@redhat.com>
18254 Ulrich Drepper <drepper@redhat.com>
18255 H.J. Lu <hongjiu.lu@intel.com>
18256
18257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18259 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18260 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18261 _mm_alignr_epi8 with _mm_loadu_si128.
18262 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18263 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18264 (__m128i_shift_right): Removed.
18265 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18266 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18267 * sysdeps/x86_64/multiarch/varshift.h: New file.
18268 * sysdeps/x86_64/multiarch/varshift.S: New file.
18269
84b9230c
MF
182702010-08-21 Mike Frysinger <vapier@gentoo.org>
18271
18272 * configure.in: Move assembler checks to before sysdep dir checking.
18273
9bbd0ddc
PB
182742010-08-20 Petr Baudis <pasky@suse.cz>
18275
18276 * LICENSES: Sync the sunrpc license.
18277
9da4bb31
UD
182782010-08-19 Ulrich Drepper <drepper@redhat.com>
18279
a7ab6ec8
UD
18280 * sunrpc/auth_des.c: Update copyright notice once again.
18281 * sunrpc/auth_none.c: Likewise.
18282 * sunrpc/auth_unix.c: Likewise.
18283 * sunrpc/authdes_prot.c: Likewise.
18284 * sunrpc/authuxprot.c: Likewise.
18285 * sunrpc/bindrsvprt.c: Likewise.
18286 * sunrpc/clnt_gen.c: Likewise.
18287 * sunrpc/clnt_perr.c: Likewise.
18288 * sunrpc/clnt_raw.c: Likewise.
18289 * sunrpc/clnt_simp.c: Likewise.
18290 * sunrpc/clnt_tcp.c: Likewise.
18291 * sunrpc/clnt_udp.c: Likewise.
18292 * sunrpc/clnt_unix.c: Likewise.
18293 * sunrpc/des_crypt.c: Likewise.
18294 * sunrpc/des_soft.c: Likewise.
18295 * sunrpc/get_myaddr.c: Likewise.
18296 * sunrpc/getrpcport.c: Likewise.
18297 * sunrpc/key_call.c: Likewise.
18298 * sunrpc/key_prot.c: Likewise.
18299 * sunrpc/openchild.c: Likewise.
18300 * sunrpc/pm_getmaps.c: Likewise.
18301 * sunrpc/pm_getport.c: Likewise.
18302 * sunrpc/pmap_clnt.c: Likewise.
18303 * sunrpc/pmap_prot.c: Likewise.
18304 * sunrpc/pmap_prot2.c: Likewise.
18305 * sunrpc/pmap_rmt.c: Likewise.
18306 * sunrpc/rpc/auth.h: Likewise.
18307 * sunrpc/rpc/auth_unix.h: Likewise.
18308 * sunrpc/rpc/clnt.h: Likewise.
18309 * sunrpc/rpc/des_crypt.h: Likewise.
18310 * sunrpc/rpc/key_prot.h: Likewise.
18311 * sunrpc/rpc/netdb.h: Likewise.
18312 * sunrpc/rpc/pmap_clnt.h: Likewise.
18313 * sunrpc/rpc/pmap_prot.h: Likewise.
18314 * sunrpc/rpc/pmap_rmt.h: Likewise.
18315 * sunrpc/rpc/rpc.h: Likewise.
18316 * sunrpc/rpc/rpc_des.h: Likewise.
18317 * sunrpc/rpc/rpc_msg.h: Likewise.
18318 * sunrpc/rpc/svc.h: Likewise.
18319 * sunrpc/rpc/svc_auth.h: Likewise.
18320 * sunrpc/rpc/types.h: Likewise.
18321 * sunrpc/rpc/xdr.h: Likewise.
18322 * sunrpc/rpc_clntout.c: Likewise.
18323 * sunrpc/rpc_cmsg.c: Likewise.
18324 * sunrpc/rpc_common.c: Likewise.
18325 * sunrpc/rpc_cout.c: Likewise.
18326 * sunrpc/rpc_dtable.c: Likewise.
18327 * sunrpc/rpc_hout.c: Likewise.
18328 * sunrpc/rpc_main.c: Likewise.
18329 * sunrpc/rpc_parse.c: Likewise.
18330 * sunrpc/rpc_parse.h: Likewise.
18331 * sunrpc/rpc_prot.c: Likewise.
18332 * sunrpc/rpc_sample.c: Likewise.
18333 * sunrpc/rpc_scan.c: Likewise.
18334 * sunrpc/rpc_scan.h: Likewise.
18335 * sunrpc/rpc_svcout.c: Likewise.
18336 * sunrpc/rpc_tblout.c: Likewise.
18337 * sunrpc/rpc_util.c: Likewise.
18338 * sunrpc/rpc_util.h: Likewise.
18339 * sunrpc/rpcinfo.c: Likewise.
18340 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18341 * sunrpc/rpcsvc/key_prot.x: Likewise.
18342 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18343 * sunrpc/rpcsvc/mount.x: Likewise.
18344 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18345 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18346 * sunrpc/rpcsvc/rex.x: Likewise.
18347 * sunrpc/rpcsvc/rstat.x: Likewise.
18348 * sunrpc/rpcsvc/rusers.x: Likewise.
18349 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18350 * sunrpc/rpcsvc/spray.x: Likewise.
18351 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18352 * sunrpc/rtime.c: Likewise.
18353 * sunrpc/svc.c: Likewise.
18354 * sunrpc/svc_auth.c: Likewise.
18355 * sunrpc/svc_authux.c: Likewise.
18356 * sunrpc/svc_raw.c: Likewise.
18357 * sunrpc/svc_run.c: Likewise.
18358 * sunrpc/svc_simple.c: Likewise.
18359 * sunrpc/svc_tcp.c: Likewise.
18360 * sunrpc/svc_udp.c: Likewise.
18361 * sunrpc/svc_unix.c: Likewise.
18362 * sunrpc/svcauth_des.c: Likewise.
18363 * sunrpc/xcrypt.c: Likewise.
18364 * sunrpc/xdr.c: Likewise.
18365 * sunrpc/xdr_array.c: Likewise.
18366 * sunrpc/xdr_float.c: Likewise.
18367 * sunrpc/xdr_mem.c: Likewise.
18368 * sunrpc/xdr_rec.c: Likewise.
18369 * sunrpc/xdr_ref.c: Likewise.
18370 * sunrpc/xdr_sizeof.c: Likewise.
18371 * sunrpc/xdr_stdio.c: Likewise.
18372
9da4bb31
UD
18373 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18374 handling.
18375
bdaa77bc
AS
183762010-08-19 Andreas Schwab <schwab@redhat.com>
18377
18378 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18379
fe2f79db
LM
183802010-08-19 Luis Machado <luisgpm@br.ibm.com>
18381
18382 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18383 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18384 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18385 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18386 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18387 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18388 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18389 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18390 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18391 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18392 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18393 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18394 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18395 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18396
b9b42ee0
AB
183972010-07-26 Anton Blanchard <anton@samba.org>
18398
18399 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18400 * malloc/arena.c (heap_trim): Likewise.
18401
1c06ba31
UD
184022010-08-16 Ulrich Drepper <drepper@redhat.com>
18403
18404 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18405 here. Not...
18406 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18407 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18408
f8392f40
L
184092010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18410
18411 * sysdeps/i386/elf/Makefile: New file.
18412
3162f12e
AS
184132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18414
18415 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18416 from fanotify_init.
18417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18419
28c90b2c
UD
184202010-08-15 Ulrich Drepper <drepper@redhat.com>
18421
18422 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18423 of strncasecmp_l.
1feccb6c 18424 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18425
ca6bb004
UD
184262010-08-14 Ulrich Drepper <drepper@redhat.com>
18427
e9f82e0d
UD
18428 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18429 strncase_l-nonascii.
18430 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18431 Add strncase_l-ssse3.
18432 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18433 * sysdeps/x86_64/strcmp.S: Likewise.
18434 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18435 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18436 * sysdeps/x86_64/strncase.S: New file.
18437 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18438 * sysdeps/x86_64/strncase_l.S: New file.
18439 * string/Makefile (strop-tests): Add strncasecmp.
18440 * string/test-strncasecmp.c: New file.
18441
18442 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18443 warning.
18444
ca6bb004
UD
18445 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18446 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18447
052fa7b3
AS
184482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18449
18450 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18451
962dba78
UD
184522010-08-12 Ulrich Drepper <drepper@redhat.com>
18453
18454 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18455 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18456 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18457
bebff237
AM
184582010-05-01 Alan Modra <amodra@gmail.com>
18459
18460 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18461 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18462 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18463 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18464 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18465 tidying. Don't tail-call __sigjmp_save for static lib.
18466 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18467 save location.
18468 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18469 (CALL_MCOUNT): Add eh info, and nop after bl.
18470 (TAIL_CALL_SYSCALL_ERROR): New macro.
18471 (PSEUDO_RET): Use it.
18472 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18473 Correct save location of integer regs and cr.
18474 (_dl_profile_resolve): Correct cr save location. Delete nops
18475 after bl when SHARED. Reduce cfi size a little by better
18476 placement of cfi directives.
18477 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18478 make a stack frame. Instead use parm save area as a temp.
18479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18480 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18482 Don't make a stack frame for parent, use parm save area.
18483 Increase child stack frame to 112 bytes. Don't save unused reg,
18484 and adjust reg usage. Set up cfi on error recovery and
18485 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18487 (__makecontext): Add dummy nop after jump to exit.
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18489 Use correct parm save area and cr save, reduce stack frame.
18490 Correct cfi for possible PSEUDO_RET frame setup.
18491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18492 Branch to local label emitted by PSEUDO_RET rather than
18493 __syscall_error.
18494
02637374
AS
184952010-08-12 Andreas Schwab <schwab@redhat.com>
18496
18497 [BZ #11904]
18498 * locale/programs/locale.c (print_assignment): New function.
18499 (show_locale_vars): Use it.
18500
c3e2f19b
UD
185012010-08-11 Ulrich Drepper <drepper@redhat.com>
18502
3cdaa6ad
UD
18503 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18504 field.
18505 (struct statfs64): Likewise.
18506 (_STATFS_F_FLAGS): Define.
18507 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18509 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18510 (ST_VALID): Define locally.
18511 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18512 __statvfs_getflags, use the provided value.
18513 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18514 __ASSUME_STATFS_F_FLAGS.
18515
754f7da3
UD
18516 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18517
10b3bedc
UD
18518 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18519 Add sys/fanotify.h.
18520 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18521 fanotify_mask for GLIBC_2.13.
18522 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18523 fanotify_init and fanotify_mark.
18524 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18525 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18526
c08fb0d7
UD
18527 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18528 Add prlimit.
18529 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18530 prlimit64 for GLIBC_2.13.
18531 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18532 prlimit64.
18533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18534 syscall.
18535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18536 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18537 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18538 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18539 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18540 add prlimit alias.
18541 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18542
15bac72b
UD
18543 [BZ #11903]
18544 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18545 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18546
c3e2f19b
UD
18547 * nss/Makefile: Add rules to build and run tst-nss-test1.
18548 * shlib-versions: Add entry for libnss_test1.
18549 * nss/nss_test1.c: New file.
18550 * nss/tst-nss-test1.c: New file.
18551
18552 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18553 (__nss_configure_lookup): Set appropriate entry in
18554 __nss_configure_lookup to true.
18555 * nss/nsswitch.h: Define enum with indeces of databases in
18556 databases and __nss_database_custom arrays. Declare
18557 __nss_database_custom.
18558 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18559 to avoid using nscd when custom rules are installed.
18560 * nss/getXXbyYY_r.c: Likewise.
18561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18562
18563 * nss/nss_files/files-parse.c: Whitespace fixes.
18564
f15ce4d8
UD
185652010-08-09 Ulrich Drepper <drepper@redhat.com>
18566
18567 [BZ #11883]
18568 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18569 * posix/fnmatch_loop.c: Likewise.
18570
d22e4cc9
AK
185712010-07-17 Andi Kleen <ak@linux.intel.com>
18572
18573 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18574 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18575 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18576 * Versions.def [GLIBC_2.13]: Add.
18577
805bc17d
UD
185782010-08-06 Ulrich Drepper <drepper@redhat.com>
18579
18580 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18581 Also fail if tpwd after pwuid call is NULL.
18582
5a42321d
ST
185832010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18584
18585 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18586 when converting to ms.
18587
fd3ebeda
ST
185882010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18589
18590 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18591 EOPNOTSUPP errors with ENOTTY.
18592 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18593 EOPNOTSUPP errors with ENOTTY.
18594
73507d3a
UD
185952010-07-31 Ulrich Drepper <drepper@redhat.com>
18596
18597 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18598 Add strcasecmp_l-ssse3.
18599 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18600 strcasecmp.
18601 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18602 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18603 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18604
fe36dd02
UD
186052010-07-30 Ulrich Drepper <drepper@redhat.com>
18606
66f6765a
UD
18607 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18608
42e08a54
UD
18609 * string/Makefile (strop-tests): Add strcasecmp.
18610 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18611 strcasecmp_l-nonascii.
18612 (gen-as-const-headers): Add locale-defines.sym.
18613 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18614 * sysdeps/x86_64/strcasecmp.S: New file.
18615 * sysdeps/x86_64/strcasecmp_l.S: New file.
18616 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18617 * sysdeps/x86_64/locale-defines.sym: New file.
18618 * string/test-strcasecmp.c: New file.
18619
fe36dd02
UD
18620 * string/test-strcasestr.c: Test both ends of the range of characters.
18621 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18622
48cbc0d6
RM
186232010-07-29 Roland McGrath <roland@redhat.com>
18624
76e6d6bc 18625 [BZ #11856]
48cbc0d6
RM
18626 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18627
880113d9
UD
186282010-07-27 Ulrich Drepper <drepper@redhat.com>
18629
18630 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18631 for ld.so.
18632
deb9cabb
AS
186332010-07-27 Andreas Schwab <schwab@redhat.com>
18634
18635 * manual/memory.texi (Malloc Tunable Parameters): Document
18636 M_PERTURB.
18637
1c7570ff
RM
186382010-07-26 Roland McGrath <roland@redhat.com>
18639
18640 [BZ #11840]
18641 * configure.in (-fgnu89-inline check): Set and substitute
18642 gnu89_inline, not libc_cv_gnu89_inline.
18643 * configure: Regenerated.
18644 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18645
24fb0f88
UD
186462010-07-26 Ulrich Drepper <drepper@redhat.com>
18647
18648 * string/test-strnlen.c: New file.
18649 * string/Makefile (strop-tests): Add strnlen.
18650 * string/tester.c (test_strnlen): Add a few more test cases.
18651 * string/tst-strlen.c: Better error reporting.
18652
18653 * sysdeps/x86_64/strnlen.S: New file.
18654
8e96b93a
UD
186552010-07-24 Ulrich Drepper <drepper@redhat.com>
18656
18657 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18658 lower-latency instructions.
18659
dbc676d4
UD
186602010-07-23 Ulrich Drepper <drepper@redhat.com>
18661
18662 * string/test-strcasestr.c: New file.
18663 * string/test-strstr.c: New file.
18664 * string/Makefile (strop-tests): Add strstr and strcasestr.
18665 * string/str-two-way.h: Don't undefine MAX.
18666 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18667
f6a31e0e
AS
186682010-07-21 Andreas Schwab <schwab@redhat.com>
18669
18670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18671 strcasestr-nonascii.
18672 (CFLAGS-strcasestr-nonascii.c): Define.
18673 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18674 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18675 Remove unused attribute.
18676
5dbc3b6c
RM
186772010-07-20 Roland McGrath <roland@redhat.com>
18678
18679 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18680 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18681 ld.so.cache was broken. With it, there is no way to disable dsocaps
18682 like LD_HWCAP_MASK can disable hwcaps.
18683
23d101d8
EPM
186842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18685
18686 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18687
cc9f2e47
UD
186882010-07-16 Ulrich Drepper <drepper@redhat.com>
18689
18690 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18691 call in strcasestr.
18692 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18693 __strcasestr_sse42_nonascii.
18694 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18695 strcasestr-nonascii.c.
18696 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18697
77c1b069
LM
186982010-06-15 Luis Machado <luisgpm@br.ibm.com>
18699
18700 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18701 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18702 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18703 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18704
440566c3
UD
187052010-07-09 Ulrich Drepper <drepper@redhat.com>
18706
18707 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18708 fcntl.
18709
5be9d05d
AS
187102010-07-06 Andreas Schwab <schwab@redhat.com>
18711
c30b7ee2 18712 [BZ #11577]
5be9d05d
AS
18713 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18714 dl_signal_cerror.
18715
8a492a67
UD
187162010-07-06 Ulrich Drepper <drepper@redhat.com>
18717
18718 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18719 _PC_PIPE_BUF using F_GETPIPE_SZ.
18720
713df3d5
RM
187212010-07-05 Roland McGrath <roland@redhat.com>
18722
18723 * manual/arith.texi (Rounding Functions): Fix rint description
18724 implicit in round description.
18725
702e8f14
UD
187262010-07-02 Ulrich Drepper <drepper@redhat.com>
18727
18728 * elf/Makefile: Fix linking for a few tests to make recent linker
18729 happy.
18730
52ed8be9
AS
187312010-06-30 Andreas Schwab <schwab@redhat.com>
18732
18733 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18734 $(common-objpfx)libc_nonshared.a.
18735
f47c9a11
LM
187362010-06-21 Luis Machado <luisgpm@br.ibm.com>
18737
18738 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18739 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18740 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18741 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18742 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18743 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18744 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18745 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18760 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18761 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18762 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18763 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18764 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18765 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18766 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18767 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18768 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18769 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18770 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18771 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18786
6fb8cbcb
L
187872010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18788
18789 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18790 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18791 * string/memmove.c (memmove): Renamed to ...
18792 (MEMMOVE): ...this. Default to memmove.
18793 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18794 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18795 (END_CHK): Define.
18796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18797 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18798 mempcpy-ssse3-back memmove-ssse3-back.
18799 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18800 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18801 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18802 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18803 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18804 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18805 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18806 * sysdeps/x86_64/multiarch/memmove.c: New file.
18807 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18808 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18809 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18810 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18811 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18812 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18813 Define.
18814 (index_Fast_Copy_Backward): Define.
18815 (HAS_ARCH_FEATURE): Define.
18816 (HAS_FAST_REP_STRING): Define.
18817 (HAS_FAST_COPY_BACKWARD): Define.
18818
4e733bac 188192010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18820
18821 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18822 Restore proper fallback handling.
18823
63c4ed22
UD
188242010-06-19 Ulrich Drepper <drepper@redhat.com>
18825
ac2b484c
UD
18826 [BZ #11701]
18827 * posix/group_member.c (__group_member): Correct checking loop.
18828
63c4ed22
UD
18829 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18830 OOM in getpwuid_r correctly. Return error number when the caller
18831 should return, otherwise -1.
18832 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18833 call returning > 0 value.
18834 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18835
765ade4b
AS
188362010-06-07 Andreas Schwab <schwab@redhat.com>
18837
18838 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18839 libc_nonshared.a from targets in modules-names.
18840
80da2e09
KS
188412010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18842
18843 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18844 requires it.
18845
158db122
LM
188462010-06-10 Luis Machado <luisgpm@br.ibm.com>
18847
18848 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18849 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18852
caa78cf8
AS
188532010-06-02 Andreas Schwab <schwab@redhat.com>
18854
18855 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18856
b2ef2c01
UD
188572010-06-14 Ulrich Drepper <drepper@redhat.com>
18858
18859 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18860 and F_GETPIPE_SZ.
18861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18862 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18865 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18866 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18867
fbd643b6
RM
188682010-06-14 Roland McGrath <roland@redhat.com>
18869
18870 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18871
f32f2869
JJ
188722010-06-07 Jakub Jelinek <jakub@redhat.com>
18873
18874 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18875 __REDIRECT followed by __THROW.
18876 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18877 * posix/getopt.h (getopt): Likewise.
18878
2a50c078
EPM
188792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18880
18881 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18882 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18883 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18884 in AT_FLAGS.
18885 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18886 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18887
eb5ad2eb
LM
188882010-05-28 Luis Machado <luisgpm@br.ibm.com>
18889
18890 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18891
3c88fe1e
L
188922010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18893
18894 [BZ #11640]
18895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18896 Properly check family and model.
18897
d2f73151
TY
188982010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18899
18900 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18901
ebd2e13d
LM
189022010-05-24 Luis Machado <luisgpm@br.ibm.com>
18903
18904 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18905
b32b8b45
UD
189062010-05-21 Ulrich Drepper <drepper@redhat.com>
18907
18908 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18909 symbol reference.
18910
9acbe24d
AS
189112010-05-19 Andreas Schwab <schwab@redhat.com>
18912
18913 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18914 symbol reference.
18915
f0ccf6ea
AS
189162010-05-21 Andreas Schwab <schwab@redhat.com>
18917
3d04ff3a
AS
18918 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18919 and internal_recvmmsg.
18920 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18921 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18922 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18923 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18924
f0ccf6ea
AS
18925 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18926 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18927 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18928
5b08ac57
AS
189292010-05-20 Andreas Schwab <schwab@redhat.com>
18930
18931 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18932
4828935d
LM
189332010-05-17 Luis Machado <luisgpm@br.ibm.com>
18934
18935 POWER7 optimizations.
18936 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18937 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18938
373d545e
UD
189392010-05-19 Ulrich Drepper <drepper@redhat.com>
18940
18941 * version.h: Update for 2.13 development version.
18942
21a2b1ae
AS
189432010-05-12 Andrew Stubbs <ams@codesourcery.com>
18944
18945 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18946 exceptions. Return 0.
18947
3f7dcb2b
RM
189482010-05-07 Roland McGrath <roland@redhat.com>
18949
18950 * elf/ldconfig.c (main): Add a const.
18951
5f24d53a 189522010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18953
a160f8d8
UD
18954 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18955 (args_options): Add no-idn option.
18956 (ahosts_keys_int): Add idn_flags to ai_flags.
18957 (parse_option): Handle 'i' option to clear idn_flags.
18958
5f24d53a
UD
18959 * malloc/malloc.c (_int_free): Possible race in the most recently
18960 added check. Only act on the data if no current modification
18961 happened.
265bb1ce
UD
18962
18963See ChangeLog.17 for earlier changes.