]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Check for gawk >= 3.0 (bug 13412)
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0786794f
AM
12012-09-01 Allan McRae <allan@archlinux.org>
2
3 [BZ #13412]
4 * configure.in (AWK): Require gawk version 3.0 or later.
5 * configure: Regenerated.
6
26889eac
JM
72012-09-01 Joseph Myers <joseph@codesourcery.com>
8
9 * sysdeps/unix/sysv/linux/kernel-features.h
10 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12 [__NR_clock_getres]: Make code unconditional.
13 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14 (clock_getcpuclockid): Remove code left unreachable by removal of
15 conditionals.
16 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17 code unconditional.
18 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21 Make code unconditional.
22 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24 * sysdeps/unix/sysv/linux/clock_settime.c
25 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26 conditional code.
27 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29
d22e28b0
L
302012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31
32 [BZ #14476]
33 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34 scripts/test-installation.pl.
35
36 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37 and $ld_so_version if it is set.
38
050af9c4
SP
392012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40
41 [BZ #14516]
42 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43 failure if reading from procfs failed.
44 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45
ad845c0b
JM
462012-08-27 Joseph Myers <joseph@codesourcery.com>
47
48 * sysdeps/unix/sysv/linux/kernel-features.h
49 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
50 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51 Remove conditional code.
52 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54 Remove conditional code.
55 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56 * sysdeps/unix/sysv/linux/i386/fxstat.c
57 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59 * sysdeps/unix/sysv/linux/i386/fxstatat.c
60 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62 * sysdeps/unix/sysv/linux/i386/lxstat.c
63 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
65 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66 Remove conditional code.
67 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69 Remove conditional code.
70 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
72 <kernel-features.h>.
73 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74 Remove.
75 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76 Remove conditional code.
77 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
78 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
79 Remove conditional.
80
5dbf56af
MF
812012-08-27 Mike Frysinger <vapier@gentoo.org>
82
83 [BZ #5400]
84 * NEWS: Add fixed bug number.
85
d6e70f43
JM
862012-08-27 Joseph Myers <joseph@codesourcery.com>
87
7efb4737
JM
88 [BZ #14519]
89 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
90 underflowing exponent in case of negative sign.
91 * stdlib/tst-strtod-round-data: Add more tests.
92 * stdlib/tst-strtod-round.c (tests): Regenerated.
93
af92131a
JM
94 [BZ #3479]
95 * stdlib/strtod_l.c (NDIG): Remove.
96 (HEXNDIG): Likewise.
97 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
98 smallest representable value.
99 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
100 lie within an exact representation of 1/2 ulp of the result.
101 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
102 unconditionally.
103 (TENS_P9_IDX): Define unconditionally.
104 (TENS_P9_SIZE): Likewise.
105 (TENS_P10_IDX): Likewise.
106 (TENS_P10_SIZE): Likewise.
107 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
108 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
109 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
110 entries for 10^2^13 and 10^2^14.
111 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
112 (TENS_P13_IDX): Define.
113 (TENS_P13_SIZE): Likewise.
114 (TENS_P14_IDX): Likewise.
115 (TENS_P14_SIZE): Likewise.
116 (_fpioconst_pow10): Change array size to
117 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
118 unconditional.
119 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
120 1024]: Add entries for 10^2^13 and 10^2^14.
121 [LAST_POW10 > _LAST_POW10]: Remove #error.
122 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
123 (_fpioconst_pow10): Change array size to
124 FPIOCONST_POW10_ARRAY_SIZE.
125 * stdlib/gen-fpioconst.c: New file.
126 * stdlib/gen-tst-strtod-round.c: Likewise.
127 * stdlib/tst-strtod-round-data: Likewise.
128 * stdlib/tst-strtod-round.c: Likewise.
129 * stdlib/Makefile (tests): Add tst-strtod-round.
130
d6e70f43
JM
131 [BZ #14459]
132 * stdlib/strtod_l.c: Include <stdint.h>.
133 (NDEBUG): Do not define.
134 (round_and_return): Change EXPONENT parameter to type intmax_t.
135 Rearrange calculations to avoid internal overflow possibilities.
136 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
137 Rearrange calculations to avoid internal overflow possibilities.
138 Assert that number fits inside MPNSIZE limbs.
139 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
140 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
141 calculations and add assertions to avoid internal overflow
142 possibilities. Add casts to avoid signed/unsigned operations.
143 * stdlib/tst-strtod-overflow.c: New file.
144 * stdlib/Makefile (tests): Add tst-strtod-overflow.
145
1f529f7d
MP
1462012-08-25 Marek Polacek <polacek@redhat.com>
147
148 * time/time.h: Fix some typos in comments.
149
59a629f1
RM
1502012-08-23 Roland McGrath <roland@hack.frob.com>
151
152 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
153 * posix/tst-rfc3484-2.c: Likewise.
154 * posix/tst-rfc3484-3.c: Likewise.
155
d3bafbc9
SM
1562012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
157
158 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
159 (EF_ARM_ABI_FLOAT_HARD): Likewise.
160
4efcc022
JM
1612012-08-23 Joseph Myers <joseph@codesourcery.com>
162
163 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
164 #include of fxstatat64.c.
165
3cc3ef96
RM
1662012-08-22 Roland McGrath <roland@hack.frob.com>
167
f04e2132
RM
168 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
169 * shadow/getspent_r.c: Likewise.
170 * shadow/getspnam.c: Likewise.
171 * shadow/getspnam_r.c: Likewise.
172 * gshadow/getsgent.c: Likewise.
173 * gshadow/getsgent_r.c: Likewise.
174 * gshadow/getsgnam.c: Likewise.
175 * gshadow/getsgnam_r.c: Likewise.
176 * inet/getnetbyad.c: Likewise.
177 * inet/getnetbyad_r.c: Likewise.
178 * inet/getnetbynm.c: Likewise.
179 * inet/getnetbynm_r.c: Likewise.
180 * inet/getnetent.c: Likewise.
181 * inet/getnetent_r.c: Likewise.
182 * inet/getproto.c: Likewise.
183 * inet/getproto_r.c: Likewise.
184 * inet/getprtent.c: Likewise.
185 * inet/getprtent_r.c: Likewise.
186 * inet/getprtname.c: Likewise.
187 * inet/getprtname_r.c: Likewise.
188 * inet/getrpcbyname.c: Likewise.
189 * inet/getrpcbyname_r.c: Likewise.
190 * inet/getrpcbynumber.c: Likewise.
191 * inet/getrpcbynumber_r.c: Likewise.
192 * inet/getrpcent.c: Likewise.
193 * inet/getrpcent_r.c: Likewise.
194 * inet/getaliasent.c: Likewise.
195 * inet/getaliasent_r.c: Likewise.
196 * inet/getaliasname.c: Likewise.
197 * inet/getaliasname_r.c: Likewise.
198 * nscd/getgrgid_r.c: Likewise.
199 * nscd/getgrnam_r.c: Likewise.
200 * nscd/gethstbyad_r.c: Likewise.
201 * nscd/gethstbynm3_r.c: Likewise.
202 * nscd/getpwnam_r.c: Likewise.
203 * nscd/getpwuid_r.c: Likewise.
204 * nscd/getsrvbynm_r.c: Likewise.
205 * nscd/getsrvbypt_r.c: Likewise.
206 * nscd/gai.c: Likewise.
207
c53d909c
RM
208 * configure.in (build_nscd): New substituted variable, set
209 by --disable-build-nscd and defaults to $use_nscd.
210 * configure: Regenerated.
211 * config.make.in (build-nscd): New substituted variable.
212 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
213 Change conditional to require [$(build-nscd) = yes] as well.
214 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
215
3cc3ef96
RM
216 [BZ# 13696]
217 * configure.in (use_nscd): New substituted variable, set by
218 --disable-nscd. If enabled, define USE_NSCD.
219 * configure: Regenerated.
220 * config.h.in: Add USE_NSCD.
221 * config.make.in (use-nscd): New substituted variable.
222 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
223 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
224 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
225 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
226 (CFLAGS-getgrnam_r.c): Likewise.
227 (CFLAGS-initgroups.c): Likewise.
228 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
229 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
230 Variables removed.
231 * inet/getnetgrent_r.c
232 (nscd_setnetgrent): New function, broken out of ...
233 (setnetgrent): ... here. Call it.
234 (innetgr): Conditionalize nscd bits on [USE_NSCD].
235 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
236 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
237 * nscd/Makefile (routines, aux): Move definitions after include of
238 Makeconfig. Conditionalize on [$(use-nscd) != no].
239 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
240 Conditionalize on [USE_NSCD].
241 (is_nscd, nscd_init_cb): Likewise.
242 (nss_load_library): Conditionalize init callback on [USE_NSCD].
243 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
244 * nss/nss_db/db-init.c: Likewise.
245 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
246 [USE_NSCD].
247 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
248 (make_request): Use it.
249 (cache_valid_p): New function.
250 (__check_pf): Use it.
251 * NEWS: Add item for --disable-nscd.
252
07e51550
DL
2532012-08-22 Dmitry V. Levin <ldv@altlinux.org>
254
255 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
256 to support sed >= 4.2.1-20-ga9bf076.
257 * configure: Regenerated.
258
35a5b08b
RM
2592012-08-22 Roland McGrath <roland@hack.frob.com>
260
261 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
262 Conditionalize whole body on [IREL].
263
8479f23a
JL
2642012-08-22 Jeff Law <law@redhat.com>
265
266 [BZ #14505]
267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
268 if the family is PF_UNSPEC.
269
48da0b21
MF
2702012-08-22 Mike Frysinger <vapier@gentoo.org>
271
272 * Makerules (lib-version): Rename from V.
273 (install-lib-nosubdir): Change V to lib-version.
274
15d0da8c
WS
2752012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
276
277 [BZ #14252]
278 * powerpc32/power6/wcschr.c: New file.
279 * powerpc32/power6/wcscpy.c: New file.
280 * powerpc32/power6/wcsrchr.c: New file.
281 * powerpc64/power6/wcschr.c: New file.
282 * powerpc64/power6/wcscpy.c: New file.
283 * powerpc64/power6/wcsrchr.c: New file.
284
bcca0895
MK
2852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
286
287 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
288 (two_way_short_needle): Use it.
5a4aaa33
RM
289 * string/strstr.c (AVAILABLE1_USES_J): Define.
290 * string/strcasestr.c: Likewise.
99677e57
MK
291
292 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
293 array references.
294 * string/strcasestr.c (TOLOWER): Make side-effect safe.
295
400726de
MK
296 [BZ #11607]
297 * NEWS: Add an entry.
298 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
299 define their defaults.
300 (two_way_short_needle): Detect end-of-string on-the-fly.
301 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
302 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
303 * string/bug-strcasestr1.c: New test.
304 * string/Makefile: Run it.
305
20a71f2c
MK
3062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
307
308 [BZ #11607]
309 * string/str-two-way.h (two_way_short_needle): Optimize matching of
310 the first character.
311
21ad0558
RM
3122012-08-21 Roland McGrath <roland@hack.frob.com>
313
314 * csu/elf-init.c (__libc_csu_irel): Function removed.
315 * csu/libc-start.c (apply_irel): New function.
316 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
317
0e1d9911
JM
3182012-08-21 Joseph Myers <joseph@codesourcery.com>
319
320 * sysdeps/unix/sysv/linux/kernel-features.h
321 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
322 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
323 <kernel-features.h>.
324 [__NR_fadvise64_64]: Make code unconditional.
325 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
326 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
327 !__NR_fadvise64_64)]: Likewise.
328 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
329 !__NR_fadvise64_64))]: Likewise.
330 [__NR_fadvise64]: Make code unconditional.
331 [!__NR_fadvise64]: Remove conditional code.
332 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
333 <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/powerpc/powerpc32/posix_fadvise64.c: Do
339 not 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 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
345 include <kernel-features.h>.
346 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
347 unconditional.
348 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
349 conditional code.
350
14a50c9d
WS
3512012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
352
353 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
354 slight instruction rearrangements per scrollpipe analysis.
355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
356
c0f4faf0
RM
3572012-08-20 Roland McGrath <roland@hack.frob.com>
358
696da859
RM
359 * manual/syslog.texi (syslog; vsyslog, closelog):
360 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
361 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
362
c0f4faf0
RM
363 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
364 DSOCAPS to match condition on defining it.
365
348363b2
JM
3662012-08-20 Joseph Myers <joseph@codesourcery.com>
367
a35cbf28
JM
368 * sysdeps/unix/sysv/linux/kernel-features.h
369 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
371 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
372 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
374 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
375 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
377 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
378 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
379
445f7ecd
JM
380 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
381 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
382
348363b2
JM
383 * sysdeps/unix/sysv/linux/kernel-features.h
384 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
385 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
386 unconditional.
387 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
388 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
389 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
390 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
391 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
392 Make code unconditional.
393 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
394 (__mmap64) [!__NR_mmap2]: Likewise.
395 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
396 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
397 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
398 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
399 [__NR_mmap2]: Make code unconditional.
400 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
401 (__mmap64) [!__NR_mmap2]: Likewise.
402
bc5bc0e5
AK
4032012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
404
405 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
406
88d506de
AJ
4072012-08-18 Andreas Jaeger <aj@suse.de>
408
409 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
410
493387d2
MF
4112012-08-18 Mike Frysinger <vapier@gentoo.org>
412
413 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
414 * include/unistd.h (__have_sock_cloexec): Likewise.
415 (__have_pipe2): Likewise.
416 (__have_dup3): Likewise.
417
a277af22
MF
4182012-08-18 Mike Frysinger <vapier@gentoo.org>
419
420 [BZ #9685]
421 * include/unistd.h (__have_pipe2): Change define into an extern int.
422 (__have_dup3): Likewise.
423 * socket/have_sock_cloexec.c: Include fcntl.h.
424 (__have_pipe2): New variable.
425 (__have_dup3): Likewise.
426
fdab8fd3
MF
4272012-08-17 Mike Frysinger <vapier@gentoo.org>
428
429 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
430
31035e80
MP
4312012-08-17 Marek Polacek <polacek@redhat.com>
432
433 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
434 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
435
3bd9e993
RM
4362012-08-17 Roland McGrath <roland@hack.frob.com>
437
c91c505f
RM
438 * configure.in: Add AC_SUBST for sysheaders.
439 * configure: Regenerated.
440 * config.make.in (sysheaders): New substituted variable.
441
7c6f9d53
RM
442 * sysdeps/unix/mkfifo.c: Moved ...
443 * sysdeps/posix/mkfifo.c: ... here.
444 * sysdeps/unix/mkfifoat.c: Moved ...
445 * sysdeps/posix/mkfifoat.c: ... here.
446
447 * sysdeps/unix/utime.c: Moved ...
448 * sysdeps/posix/utime.c: ... here.
449
450 * sysdeps/unix/time.c: Moved ...
451 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
452 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
453 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
454
455 * sysdeps/unix/nice.c: Moved ...
456 * sysdeps/posix/nice.c: ... here.
457
458 * sysdeps/unix/alarm.c: Moved ...
459 * sysdeps/posix/alarm.c: ... here.
460
3bd9e993
RM
461 * intl/Makefile ($(codeset_mo)): Depend on the input file.
462
d1f09384
JL
4632012-08-17 Jeff Law <law@redhat.com>
464
465 * intl/Makefile (codeset_mo): New variable.
466 ($(codeset_mo)): New target.
467 (tst-codeset.out): Depend on that. Remove explicit rule.
468 (tst-gettext3.out, tst-gettext5.out): Likewise.
469 (LOCPATH-ENV, tst-codeset-ENV): New variables.
470 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
471 * intl/tst-codeset.sh: Remove.
472 * intl/tst-gettext3.sh: Likewise.
473 * intl/tst-gettext5.sh: Likewise.
474
2ae1ae5c
RM
4752012-08-17 Roland McGrath <roland@hack.frob.com>
476
c31fdb83
RM
477 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
478 * sysdeps/unix/syscalls.list: ... here.
479
a0844057
RM
480 * sysdeps/posix/getaddrinfo.c
481 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
482 (gaiconf_init, gaiconf_reload): Use them.
483 [!_STATBUF_ST_NSEC]
484 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
485 Define using time_t rather than struct timespec.
486
750c1f2a
RM
487 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
488 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
489 Macros removed.
490 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
491 [!NO_THREADS].
492 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
493 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
494 Likewise.
495
2ae1ae5c
RM
496 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
497 __libc_cleanup_push argument.
498
e66a42f5
RM
499 * bits/param.h: New file.
500 * misc/sys/param.h: New file.
501 * include/sys/param.h: New file.
502 * misc/Makefile (headers): Add bits/param.h.
503 * sysdeps/generic/sys/param.h: File removed.
504 * sysdeps/unix/sysv/linux/bits/param.h: New file.
505 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
506 * sysdeps/mach/hurd/bits/param.h: New file.
507 * sysdeps/mach/hurd/sys/param.h: New file.
508
b7c08a66
RM
509 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
510 last change.
511
b2e1c562
RM
512 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
513 [_IO_MTSAFE_IO].
514 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
515 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
516 New macros.
517
c75ccd4c
RM
518 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
519 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
520 rather than -D_IO_MTSAFE_IO conditionally.
521 * stdio-common/Makefile (CPPFLAGS): Likewise.
522 * wcsmbs/Makefile (CPPFLAGS): Likewise.
523 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
524 Use $(libio-mtsafe).
525 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
526 of -D_IO_MTSAFE_IO.
527 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
528 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
529 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
530 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
531 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
532 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
533 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
534 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
535 (CFLAGS-fread_u_chk.c): Likewise.
536 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
537 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
538 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
539 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
540 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
541 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
542 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
543 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
544 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
545
546 * libio/Makefile: Test [$(libc-reentrant) = yes]
547 instead of [$(filter %REENTRANT, $(defines)) nonempty].
548
549 * Makeconfig
550 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
551 * sysdeps/pthread/configure: File removed.
552 * sysdeps/pthread/Makeconfig: New file.
553 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
554 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
555
d9195db8
GB
5562012-08-16 Gary Benson <gbenson@redhat.com>
557
558 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
559 unmapping the first object in a namespace.
560
86466cd9
RM
5612012-08-16 Roland McGrath <roland@hack.frob.com>
562
563 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
564 (__internal_setnetgrent): ... this. Add internal_function to
565 definition. Add libc_hidden_def.
566 (setnetgrent): Update caller.
567 (internal_endnetgrent): Renamed to ...
568 (__internal_endnetgrent): ... this. Add internal_function to
569 definition. Add libc_hidden_def.
570 (endnetgrent): Update caller.
571 (internal_getnetgrent_r): Renamed to ...
572 (__internal_getnetgrent_r): ... this. Add internal_function to
573 definition. Add libc_hidden_def.
574 (__getnetgrent_r): Update caller.
575 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
576
c3c8283c
JM
5772012-08-16 Joseph Myers <joseph@codesourcery.com>
578
579 * stdlib/longlong.h: Update from GCC.
580
db1ee0a8
RM
5812012-08-16 Roland McGrath <roland@hack.frob.com>
582
583 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
584 on _QL, which is set by umul_ppmm but never used.
585 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
586 variables, which are set by GMP macros but never used.
587 * stdio-common/_itowa.c (_itowa): Likewise.
588 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
589 * stdlib/mod_1.c (mpn_mod_1): Likewise.
590
30f69637
CD
5912012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
592
593 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
594 struct La_sh_regs is not constant.
595 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
596 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
597 and struct La_sparc64_regs are not constant.
598
93a78ac4
JM
5992012-08-16 Joseph Myers <joseph@codesourcery.com>
600
601 * sysdeps/unix/sysv/linux/kernel-features.h
602 (__ASSUME_POSIX_TIMERS): Remove.
603 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
604 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
605 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
606 Make code unconditional.
607 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
608 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
609 Make code unconditional.
610 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
611 * sysdeps/unix/sysv/linux/clock_nanosleep.c
612 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
613 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
614 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
615 Make code unconditional.
616 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
617 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
618 (__libc_missing_posix_timers): Remove.
619
dd924cd7
RM
6202012-08-15 Roland McGrath <roland@hack.frob.com>
621
4b4f2771
RM
622 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
623 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
624
601c888b
RM
625 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
626
176790a7
RM
627 * elf/dl-sym.c: Include <stdlib.h>.
628
329bc018
RM
629 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
630 constants, which avoids warnings in 32-bit builds.
631
e04e272d
RM
632 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
633 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
634
952bf94a
RM
635 * misc/lseek.c: File moved to ...
636 * io/lseek.c: ... here.
637
7c99b50a
RM
638 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
639
dd924cd7
RM
640 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
641 shifting LEN more than 31 bits at once.
642
b3f479a8
LD
6432012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
644
645 [BZ #14195]
8c4ae0d4
RM
646 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
647 segmentation fault for a case of two empty input strings.
b3f479a8
LD
648 * string/test-strncasecmp.c (check1): Renamed to...
649 (bz12205): ...this.
650 (bz14195): Add new testcase for two empty input strings and N > 0.
651 (test_main): Call new testcase, adapt for renamed function.
652
9c55864e
AJ
6532012-08-15 Andreas Jaeger <aj@suse.de>
654
655 [BZ #14090]
656 * crypt/md5test2.c: New test, based on test supplied by Serge
657 Belyshev <belyshev@depni.sinp.msu.ru>.
658 * crypt/Makefile (xtests): Add md5test-giant..
659 * crypt/Makefile ($(objpfx)md5test-giant): Add.
660
02dcb6c5
PE
6612012-08-15 Paul Eggert <eggert@cs.ucla.edu>
662
663 [BZ #14090]
664 * crypt/md5.c (md5_process_block): Don't assume the buffer
665 length is less than 2**32.
666 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
667 length is less than 2**64.
668
a3f95dcc
RM
6692012-08-15 Roland McGrath <roland@hack.frob.com>
670
be75d758
RM
671 * string/str-two-way.h: Include <sys/param.h>.
672 (MAX): Macro removed.
673
7312ca90
RM
674 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
675 Move #define and #undef of memmove to just before and after
676 including <string.h>.
677
9a0a5486
RM
678 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
679 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
680 and after including <string.h>. Move declarations of
681 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
682 to before #include "string/memmove.c".
683
67cc348d
RM
684 * include/dirent.h: Declare __getdirentries.
685
a3f95dcc
RM
686 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
687 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
688
ca98e171
MF
6892012-08-14 Mike Frysinger <vapier@gentoo.org>
690
691 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
692 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
693 * sysdeps/i386/configure: Regenerated.
694 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
695 STABS_CURRENT_FILE, and STABS_FUN.
696 (END): Remove call to STABS_FUN_END.
697 (STABS_CURRENT_FILE1): Delete.
698 (STABS_CURRENT_FILE): Likewise.
699 (STABS_FUN): Likewise.
700 (STABS_FUN_END): Likewise.
701 (STABS_FUN2): Likewise.
702 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
703 * sysdeps/x86_64/configure: Regenerated.
704
5908bf46
RM
7052012-08-14 Roland McGrath <roland@hack.frob.com>
706
707 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 708 * elf/dl-lookup.c: Likewise.
5908bf46 709
f2c05b9e
JM
7102012-08-14 Joseph Myers <joseph@codesourcery.com>
711
712 * sysdeps/unix/sysv/linux/kernel-features.h
713 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
714 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
715 unconditionally.
716 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
717 unconditionally.
718 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
719 condition on __ASSUME_CLONE_THREAD_FLAGS.
720
e11f5155
AJ
7212012-08-14 Andreas Jaeger <aj@suse.de>
722
723 * sysdeps/i386/fpu/libm-test-ulps: Update.
724
51a9ba86
MK
7252012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
726
2fdd4f78
AJ
727 * include/atomic.h (atomic_exchange_and_add): Split into ...
728 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
729 New atomic macros.
51a9ba86 730
ba6cba9e
MT
7312012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
732
733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
734
42443a47
JL
7352012-08-13 Jeff Law <law@redhat.com>
736
737 * manual/stdio.texi (snprintf): Clarify handling of the trailing
738 null byte in the output string.
739
121dce05
JM
7402012-08-10 Joseph Myers <joseph@codesourcery.com>
741
742 * sysdeps/unix/sysv/linux/kernel-features.h
743 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
744 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
745 (__ASSUME_ARG_MAX_STACK_BASED): Define.
746 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
747 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
748 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
749 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
750
bf51f568
JL
7512012-08-09 Jeff Law <law@redhat.com>
752
753 [BZ #13939]
754 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
755 When avoid_arena is set, don't retry in the that arena. Pick the
756 next one, whatever it might be.
757 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
758 (arena_lock): Pass in new parameter to arena_get2.
759 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
760 arena_get2.
761 (__libc_malloc): Unify retrying after main arena failure with
762 __libc_memalign version.
763 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
764
f85fa270
L
7652012-08-09 H.J. Lu <hongjiu.lu@intel.com>
766
767 [BZ #14166]
768 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
769 to __redirect_strstr.
770 (__strstr_sse42): Use typeof __redirect_strstr.
771 (__strstr_ia32): Likewise.
772 (__libc_strstr): New prototype.
773 (strstr): Renamed to ...
774 (__libc_strstr): This.
775 (strstr): New strong alias of __libc_strstr.
776 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
777 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
778 __redirect_time.
779 Include <time.h>.
780 (__libc_time): New prototype.
781 (time_ifunc): Replace time with __libc_time.
782 (time): New strong alias and hidden definition of __libc_time.
783 (__GI_time): Remove strong alias.
784 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
785 Include <stddef.h>.
786 (memmove): Redefined to __redirect_memmove.
787 (__memmove_sse2): Use typeof __redirect_memmove.
788 (__memmove_ssse3): Likewise.
789 (__memmove_ssse3_back): Likewise.
790 (__libc_memmove): New prototype.
791 (memmove): Renamed to ...
792 (__libc_memmove): This.
793 (memmove): New strong alias of __libc_memmove.
794
33b4a91e
MS
7952012-08-08 Mark Salter <msalter@redhat.com>
796
797 * elf/elf.h
798 (R_MN10300_TLS_GD): Define.
799 (R_MN10300_TLS_LD): Likewise.
800 (R_MN10300_TLS_LDO): Likewise.
801 (R_MN10300_TLS_GOTIE): Likewise.
802 (R_MN10300_TLS_IE): Likewise.
803 (R_MN10300_TLS_LE): Likewise.
804 (R_MN10300_TLS_DTPMOD): Likewise.
805 (R_MN10300_TLS_DTPOFF): Likewise.
806 (R_MN10300_TLS_TPOFF): Likewise.
807 (R_MN10300_SYM_DIFF): Likewise.
808 (R_MN10300_ALIGN): Likewise.
809 (R_MN10300_NUM): Update.
810
b36137f1
JM
8112012-08-08 Joseph Myers <joseph@codesourcery.com>
812
813 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
814 Remove.
815
cdd915fd
RM
8162012-08-08 Roland McGrath <roland@hack.frob.com>
817
a2433aac
RM
818 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
819
cdd915fd
RM
820 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
821 sysdeps/unix -> sysdeps/posix move.
822 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
823
bf9b740a
AM
8242012-08-07 Allan McRae <allan@archlinux.org>
825
826 [BZ #14303]
827 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
828 (SUNOS_CPP): Likewise.
829 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
830 not found.
831 (open_input): Call CPP using execvp.
832
93df14ee
JM
8332012-08-07 Joseph Myers <joseph@codesourcery.com>
834
835 * sysdeps/unix/sysv/linux/kernel-features.h
836 (__ASSUME_PROT_GROWSUPDOWN): Remove.
837 (__ASSUME_NO_CLONE_DETACHED): Likewise.
838 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
839 (__ASSUME_WAITID_SYSCALL): Likewise.
840 * sysdeps/unix/sysv/linux/dl-execstack.c
841 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
842 code unconditional.
843 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
844 conditional code.
845 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
846 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
847 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
848 code.
849 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
850 unconditional.
851 [__ASSUME_WAITID_SYSCALL]: Likewise.
852 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
853
d34689de
RM
8542012-08-07 Roland McGrath <roland@hack.frob.com>
855
a281decc
RM
856 * sysdeps/unix/closedir.c: Renamed to ...
857 * sysdeps/posix/closedir.c: ... here.
858 * sysdeps/unix/dirfd.c: Renamed to ...
859 * sysdeps/posix/dirfd.c: ... here.
860 * sysdeps/unix/dirstream.h: Renamed to ...
861 * sysdeps/posix/dirstream.h: ... here.
862 * sysdeps/unix/fdopendir.c: Renamed to ...
863 * sysdeps/posix/fdopendir.c: ... here.
864 * sysdeps/unix/opendir.c: Renamed to ...
865 * sysdeps/posix/opendir.c: ... here.
866 * sysdeps/unix/readdir.c: Renamed to ...
867 * sysdeps/posix/readdir.c: ... here.
868 * sysdeps/unix/readdir_r.c: Renamed to ...
869 * sysdeps/posix/readdir_r.c: ... here.
870 * sysdeps/unix/rewinddir.c: Renamed to ...
871 * sysdeps/posix/rewinddir.c: ... here.
872 * sysdeps/unix/seekdir.c: Renamed to ...
873 * sysdeps/posix/seekdir.c: ... here.
874 * sysdeps/unix/telldir.c: Renamed to ...
875 * sysdeps/posix/telldir.c: ... here.
876 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
877 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
878 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
879 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
880
22895b47
RM
881 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
882 * bits/fcntl.h: ... here.
883
707a53b6
RM
884 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
885 not 0.
886 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
887 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
888 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
889 (struct flock): Move l_start, l_len to the beginning.
890 Use __pid_t for l_pid.
891 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
892 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
893 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
894 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
895 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
896 [__USE_LARGEFILE64] (struct flock64): New type.
897 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
898
f0bd3e25
RM
899 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
900 * bits/dirent.h: ... here.
901
d34689de
RM
902 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
903 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
904
6dad2c06
JM
9052012-08-07 Joseph Myers <joseph@codesourcery.com>
906
907 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
908 Change from 2.6.0 to 2.6.16.
909 * sysdeps/unix/sysv/linux/configure: Regenerated.
910 * sysdeps/unix/sysv/linux/kernel-features.h
911 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
912 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
913 version.
914 (__ASSUME_UTIMES): Likewise.
915 (__ASSUME_CLONE_STOPPED): Remove.
916 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
917 architectures, not kernel version.
918 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
919 (__ASSUME_NO_CLONE_DETACHED): Likewise.
920 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
921 (__ASSUME_WAITID_SYSCALL): Likewise.
922 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
923 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
924 * README: State 2.6.16 as minimum Linux kernel version. Do not
925 refer to older versions.
926
03af9520
RM
9272012-08-06 Roland McGrath <roland@hack.frob.com>
928
8e49df1d
RM
929 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
930 Define alphasort64 as an alias.
931 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
932 Define versionsort64 as an alias.
933 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
934 Define scandir64 as an alias.
935 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
936 Define scandirat64 as an alias.
937 * dirent/alphasort64.c (alphasort64):
938 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
939 * dirent/versionsort64.c: Likewise.
940 * dirent/scandir64.c: Likewise.
941 * dirent/scandirat64.c: Likewise.
942 * sysdeps/wordsize-64/alphasort.c: File removed.
943 * sysdeps/wordsize-64/alphasort64.c: File removed.
944 * sysdeps/wordsize-64/scandir.c: File removed.
945 * sysdeps/wordsize-64/scandir64.c: File removed.
946 * sysdeps/wordsize-64/scandirat.c: File removed.
947 * sysdeps/wordsize-64/scandirat64.c: File removed.
948 * sysdeps/wordsize-64/versionsort.c: File removed.
949 * sysdeps/wordsize-64/versionsort64.c: File removed.
950 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
951 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
952 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
953 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
954 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
955 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
956 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
957 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
958
959 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
961 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
963 [defined __arch64__ || defined __sparcv9]
964 (__INO_T_MATCHES_INO64_T): New macro.
965 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
966 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
967 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
968 * sysdeps/unix/sysv/linux/bits/dirent.h
969 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
970 (_DIRENT_MATCHES_DIRENT64): New macro.
971
03af9520
RM
972 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
973 Define lockf64 as an alias.
974 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
975 Define fseeko64 as an alias.
976 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
977 Define ftello64 as an alias.
978 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
979 Define _IO_fgetpos64 and fgetpos64 as aliases.
980 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
981 Define _IO_fsetpos64 and fsetpos64 as aliases.
982 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
983 Conditionalize body on this.
984 * libio/fseeko64.c: Likewise.
985 * libio/ftello64.c: Likewise.
986 * libio/iofgetpos64.c: Likewise.
987 * libio/iofsetpos64.c: Likewise.
988 * sysdeps/wordsize-64/lockf.c: File removed.
989 * sysdeps/wordsize-64/lockf64.c: File removed.
990 * sysdeps/wordsize-64/fseeko.c: File removed.
991 * sysdeps/wordsize-64/fseeko64.c: File removed.
992 * sysdeps/wordsize-64/ftello.c: File removed.
993 * sysdeps/wordsize-64/ftello64.c: File removed.
994 * sysdeps/wordsize-64/iofgetpos.c: File removed.
995 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
996 * sysdeps/wordsize-64/iofsetpos.c: File removed.
997 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
998 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
999 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1001 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1002 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1003 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1004 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1005 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1006 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1007 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1008
1009 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1010 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1011 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1013 [defined __arch64__ || defined __sparcv9]
1014 (__OFF_T_MATCHES_OFF64_T): New macro.
1015 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1016 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1018 (__OFF_T_MATCHES_OFF64_T): New macro.
1019
c5757acd
L
10202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 * stdlib/secure-getenv.c (__secure_getenv): Replace
1023 GLIBC_2_16 with GLIBC_2_17.
1024
3a31811e
L
10252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1028 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1029
faa2bccb
DM
10302012-08-03 David S. Miller <davem@davemloft.net>
1031
1032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1033
85fe1997
JM
10342012-08-03 Joseph Myers <joseph@codesourcery.com>
1035
1036 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1037 Remove.
1038 (__ASSUME_CORRECT_SI_PID): Likewise.
1039 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1040 (__ASSUME_TMPFS_NAME): Likewise.
1041 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1042 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1043 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1044 (HAVE_AUX_SECURE): Make definition unconditional.
1045 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1046 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1047
4f75b7a0
RM
10482012-08-03 Roland McGrath <roland@hack.frob.com>
1049
1050 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1051 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1052 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1053 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1054 __eloop_threshold instead of SYMLOOP_MAX.
1055
1056 * sysdeps/generic/eloop-threshold.h: New file.
1057 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1058 of MAXSYMLINKS.
1059 * elf/chroot_canon.c (chroot_canon): Likewise.
1060
7aab07e4
JM
10612012-08-03 Joseph Myers <joseph@codesourcery.com>
1062
1063 [BZ #13717]
1064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1065 Change to 2.6.0 everywhere.
1066 * sysdeps/unix/sysv/linux/configure: Regenerated.
1067 * sysdeps/unix/sysv/linux/kernel-features.h
1068 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1069 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1070 kernel versions.
1071 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1072 (__ASSUME_FUTEX_REQUEUE): Remove.
1073 (__ASSUME_STATFS64): Define unconditionally.
1074 (__ASSUME_AT_SECURE): Likewise.
1075 (__ASSUME_CORRECT_SI_PID): Likewise.
1076 (__ASSUME_TGKILL): Define without depending on kernel version for
1077 i386.
1078 (__ASSUME_UTIMES): Likewise.
1079 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1080 kernel version.
1081 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1082 (__ASSUME_TMPFS_NAME): Likewise.
1083 * README: Update reference to Linux kernel versions.
1084
b67e9372
MP
10852012-08-02 Marek Polacek <polacek@redhat.com>
1086
1f529f7d 1087 [BZ# 14150]
b67e9372
MP
1088 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1089 libc_cv_asm_type_prefix with %.
1090 * configure: Regenerated.
d2441631
RM
1091 * include/libc-symbols.h: Remove comment about
1092 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1093 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1094 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1095 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1096 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1097 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1098 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1099 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1100 * elf/tst-unique2mod1.c: Likewise.
1101 * elf/tst-unique1mod2.c: Likewise.
1102 * elf/tst-unique1mod1.c: Likewise.
1103 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1104 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1105 Replace ASM_TYPE_DIRECTIVE with .type.
1106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1107 * sysdeps/i386/sysdep.h: Likewise.
1108 * sysdeps/x86_64/sysdep.h: Likewise.
1109 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1111 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1112 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1113 * sysdeps/powerpc/powerpc32/sysdep.h:
1114 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1115 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1116 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1117 * sysdeps/i386/fpu/e_powf.S: Likewise.
1118 * sysdeps/i386/fpu/e_expl.S: Likewise.
1119 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1120 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1121 * sysdeps/i386/fpu/e_pow.S: Likewise.
1122 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1123 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1124 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1125 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1126 * sysdeps/i386/fpu/e_log2.S: Likewise.
1127 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1128 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1129 * sysdeps/i386/fpu/e_powl.S: Likewise.
1130 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1131 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1132 * sysdeps/i386/fpu/e_logl.S: Likewise.
1133 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1134 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1135 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1136 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1137 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1138 * sysdeps/i386/fpu/e_log.S: Likewise.
1139 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1140 * sysdeps/i386/fpu/e_logf.S: Likewise.
1141 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1142 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1143 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1144 * sysdeps/i386/fpu/e_log10.S: Likewise.
1145 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1146 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1147 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1148 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1149 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1150 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1151 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1152 * sysdeps/i386/i686/strtok.S: Likewise.
1153 * sysdeps/i386/i386-mcount.S: Likewise.
1154 * sysdeps/i386/strtok.S: Likewise.
1155 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1156 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1157 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1158 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1159 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1160 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1161 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1162 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1163 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1164 * sysdeps/x86_64/_mcount.S: Likewise.
1165 * sysdeps/x86_64/strtok.S: Likewise.
1166 * sysdeps/sh/_mcount.S: Likewise.
1167
2747bf9a
RM
11682012-08-01 Roland McGrath <roland@hack.frob.com>
1169
1170 * libio/iofopen.c: Include <fcntl.h>.
1171 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1172 (_IO_fopen64, fopen64): Define as aliases.
1173 * libio/iofopen64.c: Include <fcntl.h>.
1174 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1175 Conditionalize body on this.
1176 * sysdeps/wordsize-64/iofopen.c: File removed.
1177 * sysdeps/wordsize-64/iofopen64.c: File removed.
1178
3fb791b8
MP
11792012-08-01 Marek Polacek <polacek@redhat.com>
1180
1181 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1182 Use dlfcn directly instead of a variable.
1183 (binfmt-subdir): Do not define.
1184 (dlfcn): Likewise.
1185
a9f1039f
JM
11862012-08-01 Joseph Myers <joseph@codesourcery.com>
1187
23bddc06
JM
1188 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1189 Remove all definitions.
1190 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1191 <kernel-features.h>.
1192 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1193 (miss_F_GETOWN_EX): Remove all definitions.
1194 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1195 macro definition.
1196 [!__ASSUME_FCNTL64]: Remove conditional code.
1197 [__ASSUME_FCNTL64]: Make code unconditional.
1198 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1199 <kernel-features.h>.
1200 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1201 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1202 (lockf64) [__NR_fcntl64]: Make code unconditional.
1203 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1204
a9f1039f
JM
1205 * sysdeps/unix/sysv/linux/kernel-features.h
1206 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1207 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1208 Make code unconditional.
1209 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1210 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1212 [__NR_vfork]: Make code unconditional.
1213 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1214 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1216 [__NR_vfork]: Make code unconditional.
1217 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1218 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1219
09c0ee5f
RM
12202012-08-01 Roland McGrath <roland@hack.frob.com>
1221
48aec5b9
RM
1222 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1223 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1224
cd97c966
RM
1225 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1226 Define mkstemp64 as an alias.
3f55550c
RM
1227 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1228 Define mkstemps64 as an alias.
cd97c966
RM
1229 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1230 Define mkostemp64 as an alias.
b8625cfc
RM
1231 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1232 Define mkostemps64 as an alias.
cd97c966
RM
1233 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1234 Conditionalize body on this.
1235 * misc/mkostemp64.c: Likewise.
b8625cfc 1236 * misc/mkostemps64.c: Likewise.
3f55550c 1237 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1238 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1239 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1240 * sysdeps/wordsize-64/mkostemp.c: File removed.
1241 * sysdeps/wordsize-64/mkstemp.c: File removed.
1242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1243 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1244 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1245 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1246
09c0ee5f
RM
1247 [BZ #14138]
1248 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1249 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1250 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1251 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1252
1253 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1254 compat_symbol macros from <shlib-compat.h> rather than the underlying
1255 default_symbol_version and symbol_version macros, so that DEFAULT
1256 lines in shlib-versions are respected.
1257 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1258
7e66ee51
FW
12592012-08-01 Florian Weimer <fweimer@redhat.com>
1260
1261 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1262 Declare with warn_unused_result.
1263 (setgid, setregid, setegid, setresgid): Likewise.
1264 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1265 Likewise.
1266 * WUR-REPORT: Remove set*id functions.
1267
d2a54255
PT
12682012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1269
1270 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1271
7ecdb005
RM
12722012-07-31 Roland McGrath <roland@hack.frob.com>
1273
789bd351
RM
1274 * include/sys/socket.h (__libc_accept, __libc_accept4):
1275 Add attribute_hidden.
1276 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1277
40ce302d
RM
1278 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1279 use of PTR_MANGLE.
1280 * inet/getnetgrent_r.c (setup): Likewise.
1281
7ecdb005
RM
1282 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1283
e2eabb2c
DM
12842012-07-31 David S. Miller <davem@davemloft.net>
1285
1286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1287
d0419dbf
JM
12882012-07-31 Joseph Myers <joseph@codesourcery.com>
1289
1290 [BZ #13629]
1291 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1292 value between 1.0 and 2.0 and smaller part has absolute value less
1293 than 1.0.
1294 * math/s_clog10.c (__clog10): Likewise.
1295 * math/s_clog10f.c (__clog10f): Likewise.
1296 * math/s_clog10l.c (__clog10l): Likewise.
1297 * math/s_clogf.c (__clogf): Likewise.
1298 * math/s_clogl.c (__clogl): Likewise.
1299 * math/libm-test.inc (clog_test): Add more tests.
1300 (clog10_test): Likewise.
1301 * sysdeps/i386/fpu/libm-test-ulps: Update.
1302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303
2bc13872
FW
13042012-07-31 Florian Weimer <fweimer@redhat.com>
1305
1306 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1307 Exit with zero in case no suitable GID is found, and write a
1308 message to standard error.
1309
bea9b193
RM
13102012-07-30 Roland McGrath <roland@hack.frob.com>
1311
1312 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1313 rather than to 1.
1314 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1315 (MAXPATHLEN): Removed.
1316 (NOGROUP, NODEV): New macros.
1317 (setbit, clrbit, isset, isclr): New macros.
1318 (howmany, roundup, powerof2): New macros.
1319 (DEV_BSIZE): New macro.
1320
1321 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1322 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1323
1324 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1325 definition on [!__NO_LONG_DOUBLE_MATH].
1326
1327 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1328 PTR_MANGLE and PTR_DEMANGLE.
1329
1330 * socket/accept4.c (accept4): Rename to __libc_accept4.
1331 Define accept4 as a weak alias.
1332
1333 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1334 on [_DIRENT_HAVE_D_TYPE].
1335 * io/ftw.c (ftw_dir): Likewise.
1336
1337 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1338
1339 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1340
1341 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1342 Use the BSD numbers rather than the arbitrary ones we had.
1343 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1344 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1345 (SIGXCPU, SIGXFSZ): New macros.
1346 (_NSIG): Now 32.
1347
1348 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1349 initializer on [_LIBC_REENTRANT].
1350
1351 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1352 definitions inside [_POSIX_MAPPED_FILES].
1353
1354 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1355
1356 * dirent/opendir.c: Include <fcntl.h>.
1357
1358 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1359 (__libc_getspecific): Likewise.
1360 (__libc_key_create): Likewise.
1361
1362 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1363 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1364 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1365 (tmpfile64): Define as alias.
1366 * sysdeps/wordsize-64/tmpfile.c: File removed.
1367 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1368 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1369 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1370
1371 * stdio-common/vfscanf.c: Include <stdbool.h>.
1372 * nss/makedb.c: Likewise.
1373 * stdio-common/_i18n_number.h: Likewise.
1374 * argp/argp-help.c: Likewise.
1375 * posix/wordexp.c: Likewise.
1376 * sysdeps/posix/spawni.c: Likewise.
1377 * nss/nss_files/files-initgroups.c: Likewise.
1378 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1379 * nss/nss_files/files-initgroups.c: Likewise.
1380 * nss/nss_db/db-netgrp.c: Likewise.
1381 * nss/nss_db/db-initgroups.c: Likewise.
1382 * io/fchmodat.c: Include <sys/stat.h>.
1383
1384 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1385 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1386
1387 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1388 [HAVE_MMAP].
1389
1390 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1391 Add multiple inclusion protection.
1392
e5abc686
DM
13932012-07-27 David S. Miller <davem@davemloft.net>
1394
1395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1396
815e6fa3
GB
13972012-07-27 Gary Benson <gbenson@redhat.com>
1398
1399 [BZ #14298]
1400 * elf/rtld.c: Include <stap-probe.h>.
1401 (dl_main): Added static probes "init_start" and "init_complete".
1402 * elf/dl-load.c: Include <stap-probe.h>.
1403 (lose): Take new parameter "nsid".
1404 Added static probe "map_failed".
1405 (_dl_map_object_from_fd): Pass namespace id to lose.
1406 Added static probe "map_start".
1407 (open_verify): Pass namespace id to lose.
1408 * elf/dl-open.c: Include <stap-probe.h>.
1409 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1410 and "reloc_complete".
1411 * elf/dl-close.c: Include <stap-probe.h>.
1412 (_dl_close_worker): Added static probes "unmap_start" and
1413 "unmap_complete".
1414 * elf/rtld-debugger-interface.txt: New file documenting the above.
1415
9f98c16c
RM
14162012-07-26 Roland McGrath <roland@hack.frob.com>
1417
1418 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1419 rather than a string variable.
1420 * sunrpc/rpc_main.c (h_output): Likewise.
1421 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1422
f3c22df3
PT
14232012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1424
1425 * inet/check_native.c: New file.
1426
3129cfc6
JM
14272012-07-26 Joseph Myers <joseph@codesourcery.com>
1428
da865e95
JM
1429 [BZ #13629]
1430 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1431 if larger part has absolute value 1.0.
1432 * math/s_clog10.c (__clog10): Likewise.
1433 * math/s_clog10f.c (__clog10f): Likewise.
1434 * math/s_clog10l.c (__clog10l): Likewise.
1435 * math/s_clogf.c (__clogf): Likewise.
1436 * math/s_clogl.c (__clogl): Likewise.
1437 * math/libm-test.inc (clog_test): Add more tests.
1438 (clog10_test): Likewise.
1439 * sysdeps/i386/fpu/libm-test-ulps: Update.
1440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1441
3129cfc6
JM
1442 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1443 (pltexit): Likewise.
1444 (La_regs): Likewise.
1445 (La_retval): Likewise.
1446 (int_retval): Likewise.
1447 Update #error for removed macros to refer only to definitions in
1448 tst-audit.h.
1449 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
1474 macro.
1475 (pltexit): Likewise.
1476 (La_regs): Likewise.
1477 (La_retval): Likewise.
1478 (int_retval): Likewise.
1479 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1480 macro.
1481 (pltexit): Likewise.
1482 (La_regs): Likewise.
1483 (La_retval): Likewise.
1484 (int_retval): Likewise.
1485 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1486 macro definitions in tst-audit.h.
1487 * sysdeps/i386/tst-audit.h: New file.
1488 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1489 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1490 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1491 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1492 * sysdeps/sh/tst-audit.h: Likewise.
1493 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1494 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1495 * sysdeps/x86_64/tst-audit.h: Likewise.
1496
bfc07087
AJ
14972012-07-26 Andreas Jaeger <aj@suse.de>
1498
b1b2aaf8
AJ
1499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1500 ptrace.
1501
1502 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1503 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1504 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1505 PTRACE_O_MASK.
1506 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1507 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1509
bfc07087
AJ
1510 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1511 value.
1512
1513 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1514 _sigsys.
1515 (si_call_addr, si_syscall, si_arch): Define new macro.
1516 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1517 _sigsys.
1518 (si_call_addr, si_syscall, si_arch): Define new marcro.
1519 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1520 _sigsys.
1521 (si_call_addr, si_syscall, si_arch): Define new macro.
1522 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1523 _sigsys.
1524 (si_call_addr, si_syscall, si_arch): Define new macro.
1525
89b4b02f
JM
15262012-07-25 Joseph Myers <joseph@codesourcery.com>
1527
1528 [BZ #13717]
1529 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1530 Change to 2.4.21 where previously 2.4.1.
1531 * sysdeps/unix/sysv/linux/configure: Regenerated.
1532 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1533 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1534 Linux kernel version.
1535 (__ASSUME_STD_AUXV): Remove.
1536 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1537 kernel version.
1538 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1539 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1540 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1541 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1542 (__ASSUME_NETLINK_SUPPORT): Likewise.
1543 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1544 (__no_netlink_support): Remove conditional definition.
1545 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1546 Remove.
1547 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1548 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1549 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1550 (if_nameindex_ioctl): Remove.
1551 (if_nameindex_netlink): Do not handle __no_netlink_support.
1552 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1553 code.
1554 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1555 Remove conditional code.
1556 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1557 code.
1558 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1559 unconditional.
1560 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1561 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1562 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1563 Remove.
1564 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1565 [!__ASSUME_STD_AUXV]: Remove conditional code.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1567 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1568 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1570 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1571 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1572 code.
1573 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1575 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1576 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1577 conditional code.
1578 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1580 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1581 code.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1583 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1584 conditional code.
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1586 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1587 code unconditional.
1588 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1589 conditional code.
1590 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1591 unconditional.
1592 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1593 conditional code.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1595 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1596 unconditional.
1597 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1598 conditional code.
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1600 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1601 code unconditional.
1602 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1603 conditional code.
1604 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1605 unconditional.
1606 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1607 conditional code.
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1609 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1610 code unconditional.
1611 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1612 conditional code.
1613 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1614 unconditional.
1615 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1616 conditional code.
1617
842a39cd
AS
16182012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1619
1620 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1621 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1622 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1623 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1624 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1625 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1626 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1627 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1628 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1629 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1630 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1631 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1632 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1633 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1634 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1635 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1636 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1637 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1638 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1640 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1641 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1642 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1643
84b3fd84
FW
16442012-07-25 Florian Weimer <fweimer@redhat.com>
1645
1646 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1647 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1648 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1649 Introduce __libc_secure_getenv.
0c7936d5
FW
1650 * stdlib/Versions (2.17): Add secure_getenv
1651 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1652 * stdlib/secure-getenv.c: Rename __secure_getenv to
1653 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1654 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1655 * stdlib/tst-secure-getenv.c: New.
1656 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1657 * manual/startup.texi (Environment Access): Document
1658 secure_getenv.
84b3fd84
FW
1659 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1660 __libc_secure_getenv.
1661 * inet/ruserpass.c (ruserpass): Likewise.
1662 * malloc/mtrace.c (mtrace): Likewise.
1663 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1664 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1665 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1666 * sysdeps/posix/tempname.c: Likewise. Evaluate
1667 HAVE_SECURE_GETENV.
1668 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1669 __secure_getenv to __libc_secure_getenv.
84b3fd84 1670 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1672 Likewise.
1673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1674 Likewise.
1675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1677 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1682
56e49b71
JM
16832012-07-25 Joseph Myers <joseph@codesourcery.com>
1684
1685 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1686 (struct La_i86_retval): Likewise.
1687 (struct La_x86_64_regs): Likewise.
1688 (struct La_x86_64_retval): Likewise.
1689 (struct La_x32_regs): Likewise.
1690 (struct La_x32_retval): Likewise.
1691 (struct La_ppc32_regs): Likewise.
1692 (struct La_ppc32_retval): Likewise.
1693 (struct La_ppc64_regs): Likewise.
1694 (struct La_ppc64_retval): Likewise.
1695 (struct La_sh_regs): Likewise.
1696 (struct La_sh_retval): Likewise.
1697 (struct La_s390_32_regs): Likewise.
1698 (struct La_s390_32_retval): Likewise.
1699 (struct La_s390_64_regs): Likewise.
1700 (struct La_s390_64_retval): Likewise.
1701 (struct La_sparc32_regs): Likewise.
1702 (struct La_sparc32_retval): Likewise.
1703 (struct La_sparc64_regs): Likewise.
1704 (struct La_sparc64_retval): Likewise.
1705 (struct audit_ifaces): Remove architecture-specific pltenter and
1706 pltexit members.
1707 * sysdeps/i386/ldsodefs.h: New file.
1708 * sysdeps/powerpc/ldsodefs.h: Likewise.
1709 * sysdeps/s390/ldsodefs.h: Likewise.
1710 * sysdeps/sh/ldsodefs.h: Likewise.
1711 * sysdeps/sparc/ldsodefs.h: Likewise.
1712 * sysdeps/x86_64/ldsodefs.h: Likewise.
1713
354691b7
MP
17142012-07-25 Marek Polacek <polacek@redhat.com>
1715
1716 [BZ #6808]
1717 * math/libm-test.inc (yn_test): Add another test.
1718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1719 to ERANGE when the result is +-Inf.
1720 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1721 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1722 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1723 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1724
bf9e2071
JM
17252012-07-24 Joseph Myers <joseph@codesourcery.com>
1726
1727 * conform/data/time.h-data (NULL): Use macro-constant. Require
1728 equal to 0.
1729 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1730 clock_t.
1731 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1732
57633811
TS
17332012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1734
1735 * configure.in <sysdeps resolving>: Correct printing
1736 Implies_before.
1737 * configure: Regenerate.
1738
c23c33b0
TS
17392012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1740
1741 * math/w_ilogb.c: Include <limits.h>.
1742 * math/w_ilogbl.c: Likewise.
1743
b5982523
JM
17442012-07-20 Joseph Myers <joseph@codesourcery.com>
1745
1746 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1747 va_copy. Document allowing for unavailable va_copy only as
1748 pre-C99 compatibility.
1749 * manual/string.texi (Copying and Concatenation): Use va_copy
1750 instead of __va_copy in concat example.
1751
ac4ea442
PT
17522012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1753
1754 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1755 (__sendto): Use create_address_port. Initialize APORT and deallocate
1756 it if not null.
1757
f98eafbd
PT
1758 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1759 with O_NOLINK passed to __file_name_lookup.
1760
898c7aab
PT
1761 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1762 with O_NOLINK passed to __file_name_lookup.
1763
0ced335a
PT
1764 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1765 negative N or less than NGIDS.
1766
b3404dbd
PT
1767 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1768 type to string_t. Set ERANGE as errno and return it if NAME is not big
1769 enough. Use memcpy instead of strncpy.
1770
0f48659e
JM
17712012-07-20 Joseph Myers <joseph@codesourcery.com>
1772
1773 * elf/Makefile (check-data): Remove.
1774 (localplt.data): New vpath directive.
1775 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1776 instead of $(check-data).
1777 * scripts/data/localplt-generic.data: Move to ...
1778 * sysdeps/generic/localplt.data: ... here.
1779 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1780 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1781 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1783 ... here.
1784 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1786 ... here.
1787 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1789 ... here.
1790 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1792 ... here.
1793 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1795 ... here.
1796 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1798 ... here.
1799
d37cbdaa
AZ
18002012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1801
1802 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1803 PPC32 and PPC64 files.
1804 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1805 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1806
46f85fc2
AK
18072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1808
1809 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1810 __makecontext_ret to ...
1811 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1812 ... here and call exit if uc_link is NULL. New file.
1813 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1814 __makecontext_ret.S.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1816 __makecontext_ret to ...
1817 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1818 ... here and call exit if uc_link is NULL. New file.
1819 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1820 __makecontext_ret.S.
1821
08f43f9b
AK
18222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1823
1824 * elf/elf.h (R_390_IRELATIVE): New definition.
1825 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1826 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1827 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1828 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1829 (elf_machine_lazy_rel): Likewise.
1830 * sysdeps/s390/dl-irel.h: New file.
1831 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1832 * sysdeps/s390/s390-64/memset.S: New asm code.
1833 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1834 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1835 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1836 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1837 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1838 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1839 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1840 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1841 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1842 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1843 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1844 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1845 * sysdeps/s390/s390-32/memset.S: New asm code.
1846 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1847
3b05db33
MP
18482012-07-17 Marek Polacek <polacek@redhat.com>
1849
1850 [BZ #14349]
1851 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1852 * sysdeps/s390/s390-64/configure.in: Likewise.
1853 * sysdeps/sparc/configure.in: Likewise.
1854 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1855 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1856 * sysdeps/i386/configure.in: Likewise.
1857 * sysdeps/x86_64/configure.in: Likewise.
1858 * sysdeps/sh/configure.in: Likewise.
1859 * sysdeps/s390/s390-32/configure: Regenerated.
1860 * sysdeps/s390/s390-64/configure: Likewise.
1861 * sysdeps/x86_64/configure: Likewise.
1862 * sysdeps/sh/configure: Likewise.
1863 * sysdeps/powerpc/powerpc64/configure: Likewise.
1864 * sysdeps/powerpc/powerpc32/configure: Likewise.
1865 * sysdeps/sparc/configure: Likwise.
1866 * sysdeps/i386/configure: Likewise.
1867
a66877c6
MP
1868 * elf/dl-open.c: Comment fixes.
1869
cfc82fd8
JM
18702012-07-17 Joseph Myers <joseph@codesourcery.com>
1871
bd29910a
JM
1872 * Makefile [CXX] (check-data): Remove.
1873 [CXX] (c++-types.data): New vpath directive.
1874 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1875 vpath. Do not allow for C++ type data being missing.
1876 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1877 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1878 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1879 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1880 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1881 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1882 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1884 ... here.
1885 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1887 ... here.
1888 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1890 ... here.
1891 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1893 ... here.
1894 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1896 ... here.
1897 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1899 ... here.
1900 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1902 ... here.
1903 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1905
cfc82fd8
JM
1906 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1907 definitions to architecture-specific files.
1908 (TLS_IE): Likewise.
1909 (TLS_LD): Likewise.
1910 (TLS_GD): Likewise.
1911 * sysdeps/i386/tls-macros.h: New file.
1912 * sysdeps/powerpc/tls-macros.h: Likewise.
1913 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1914 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1915 * sysdeps/sh/tls-macros.h: Likewise.
1916 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1917 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1918 * sysdeps/x86_64/tls-macros.h: Likewise.
1919
f7db3170
TS
19202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1921
07cbfc23
TS
1922 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1923 zero value for regular exit case.
1924
f7db3170
TS
1925 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1926 (__start_context): Preserve zero value for regular exit case.
1927
dc97c227
TS
19282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1929 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1930
1931 * manual/setjmp.texi (setcontext): Clarify normal process
1932 termination when uc_link is the null pointer.
1933 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1934 exit call.
1935
d0cd7d02
AS
19362012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1937
1938 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1939 preprocessor. Test for each exception mask separately.
1940
dd318934
AJ
19412012-07-16 Andreas Jaeger <aj@suse.de>
1942
1943 * po/ru.po: Update from translation team.
1944
8048311a
JM
19452012-07-15 Joseph Myers <joseph@codesourcery.com>
1946
1947 * conform/data/string.h-data (NULL): Use macro-constant. Require
1948 equal to 0.
1949 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1950 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1951 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1952 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1954
b637d46e
AJ
19552012-07-13 Andreas Jaeger <aj@suse.de>
1956
1957 * po/fr.po: Update from translation team.
1958
541428fe
MP
19592012-07-12 Marek Polacek <polacek@redhat.com>
1960
1961 [BZ #14173]
1962 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1963 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1964 loop condition.
1965
ec332e94
JM
19662012-07-12 Joseph Myers <joseph@codesourcery.com>
1967
1968 [BZ #13717]
1969 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1970 Change to 2.4.1 where previously 2.4.0.
1971 * sysdeps/unix/sysv/linux/configure: Regenerated.
1972 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1973 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1974 version.
1975 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1976 (__ASSUME_AT_CLKTCK): Remove.
1977 (__ASSUME_AT_PAGESIZE): Likewise.
1978 (__ASSUME_AT_XID): Likewise.
1979 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1980 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1981 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1982 unconditionally.
1983 (HAVE_AUX_PAGESIZE): Likewise.
1984 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1985 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1986 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1987
7b6e99be
JB
19882012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1989
1990 [BZ #14307]
1991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1992 the temporary buffer used to invoke __gethostbyname2_r,
1993 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1994 host_data / struct gaih_addrtuple.
1995 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1996 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1997 header file nss/nsswitch.h.
1998 * nss/nsswitch.h (global scope): Add definition of implementation
1999 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2000 resolv/nss_dns/dns-host.c).
2001
608404eb
AJ
20022012-07-11 Andreas Jaeger <aj@suse.de>
2003
2004 * po/fr.po: Update from translation team.
2005
71220aca
AJ
2006 * po/sv.po: Update from translation team
2007 * po/fr.po: Another update from translation team.
2008
28cfe843
AZ
20092012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010
2011 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2012 for subnormals or multiply small sinh result by itself.
2013 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2015
6b90f981
DM
20162012-07-11 David S. Miller <davem@davemloft.net>
2017
2018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2019
c6825772
AS
20202012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2021
2022 [BZ #14347]
2023 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2024 (INTERNAL_MARK): Shift it here.
2025
7b8e0d49
MP
20262012-07-10 Marek Polacek <polacek@redhat.com>
2027
2028 [BZ #14151]
2029 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2030 libc_cv_asm_global_directive with .globl.
2031 * configure: Regenerated.
2032 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2033 with .globl.
2034 * sysdeps/i386/configure: Regenerated.
2035 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2036 with .globl.
2037 * sysdeps/x86_64/configure: Regenerated.
2038 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2039 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2040 * elf/tst-unique2mod2.c: Likewise.
2041 * elf/tst-unique2mod1.c: Likewise.
2042 * elf/tst-unique1mod2.c: Likewise.
2043 * elf/tst-unique1mod1.c: Likewise.
2044 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2045 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2046 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2047 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2048 * sysdeps/mach/sysdep.h: Likewise.
2049 * sysdeps/i386/sysdep.h: Likewise.
2050 * sysdeps/i386/i386-mcount.S: Likewise.
2051 * sysdeps/x86_64/_mcount.S: Likewise.
2052 * sysdeps/x86_64/sysdep.h: Likewise.
2053 * sysdeps/sh/_mcount.S: Likewise.
2054 * sysdeps/sh/sysdep.h: Likewise.
2055 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2056 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2057 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2058 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2059 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2060 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2061 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2062 * locale/localeinfo.h: Likewise.
2063 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2064 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2065
6c55cda3
RM
20662012-07-09 Roland McGrath <roland@hack.frob.com>
2067
2068 [BZ #14336]
2069 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2070 system".
2071 * manual/message.texi (The Uniforum approach): Likewise.
2072 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2073 (glibc iconv Implementation): Likewise.
2074
638a572e
JM
20752012-07-09 Joseph Myers <joseph@codesourcery.com>
2076
2077 [BZ #14337]
2078 * math/s_clog.c (__clog): Avoid scaling a value down where that
2079 could result in underflow.
2080 * math/s_clog10.c (__clog10): Likewise.
2081 * math/s_clog10f.c (__clog10f): Likewise.
2082 * math/s_clog10l.c (__clog10l): Likewise.
2083 * math/s_clogf.c (__clogf): Likewise.
2084 * math/s_clogl.c (__clogl): Likewise.
2085 * math/libm-test.inc (clog_test): Add more tests.
2086 (clog10_test): Likewise.
2087 * sysdeps/i386/fpu/libm-test-ulps: Update.
2088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2089
261f4859
AS
20902012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2091
0abaf3e4
AS
2092 [BZ #14283]
2093 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2094 by 7 not 8 to examine high bit of fractional part.
2095
261f4859
AS
2096 [BZ #14042]
2097 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2098 for call to __mcount_internal.
2099 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2100 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2101 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2102
f17ac40d
JM
21032012-07-06 Joseph Myers <joseph@codesourcery.com>
2104
9ad63c23
JM
2105 [BZ #14154]
2106 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2107 approximation for values within 0x1p-13f of an odd multiple of
2108 pi/4.
2109 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2110 exception. Add more tests.
2111 * sysdeps/i386/fpu/libm-test-ulps: Update.
2112
f17ac40d
JM
2113 [BZ #6778]
2114 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2115 inputs and return -1 for them. Do not check for +Inf in case not
2116 reachable for +Inf.
2117 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2118 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2119 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2120 and return -1 for them. Do not check for +Inf in case not
2121 reachable for +Inf.
2122 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2123 define.
2124 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2125 and return -1 for them. Do not check for +Inf in case not
2126 reachable for +Inf.
2127 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2128 spurious underflow.
2129 * sysdeps/i386/fpu/libm-test-ulps: Update.
2130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2131
fb21f89b
MF
21322012-07-06 Mike Frysinger <vapier@gentoo.org>
2133
2134 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2135
cdfe2c5e
JM
21362012-07-05 Joseph Myers <joseph@codesourcery.com>
2137
2138 [BZ #14157]
2139 [BZ #14331]
2140 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2141 could result in spurious underflow. Scale down values above
2142 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2143 * math/s_csqrtf.c (__csqrtf): Likewise.
2144 * math/s_csqrtl.c (__csqrtl): Likewise.
2145 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2146 spurious underflow.
2147 * sysdeps/i386/fpu/libm-test-ulps: Update.
2148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2149
70d35b67
AS
21502012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2151
704bc459
AS
2152 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2153 xopen-msg.sed.
2154 * catgets/xopen-msg.awk: New file.
2155 * catgets/xopen-msg.sed: Removed.
2156
70d35b67
AS
2157 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2158 po2text.sed.
2159 * intl/po2test.awk: New file.
2160 * intl/po2test.sed: Removed.
2161
ca61cf32
JM
21622012-07-04 Joseph Myers <joseph@codesourcery.com>
2163
2164 [BZ #14328]
2165 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2166 or multiply small sinh result by itself.
2167 * math/s_ctanf.c (__ctanf): Likewise.
2168 * math/s_ctanh.c (__ctanh): Likewise.
2169 * math/s_ctanhf.c (__ctanhf): Likewise.
2170 * math/s_ctanhl.c (__ctanhl): Likewise.
2171 * math/s_ctanl.c (__ctanl): Likewise.
2172 * math/libm-test.inc (ctan_test_tonearest): New function.
2173 (ctan_test_towardzero): Likewise.
2174 (ctan_test_downward): Likewise.
2175 (ctan_test_upward): Likewise.
2176 (ctanh_test_tonearest): Likewise.
2177 (ctanh_test_towardzero): Likewise.
2178 (ctanh_test_downward): Likewise.
2179 (ctanh_test_upward): Likewise.
2180 (main): Call these new functions.
2181 * sysdeps/i386/fpu/libm-test-ulps: Update.
2182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2183
ca48a46a
MF
21842012-07-03 Mike Frysinger <vapier@gentoo.org>
2185
2186 * .gitignore: Delete /ports entry.
2187
9d63d37d
AJ
21882012-07-03 Andreas Jaeger <aj@suse.de>
2189
2190 * po/bg.po: Update from translation team.
2191 * po/cs.po: Likewise.
2192 * po/de.po: Likewise.
2193 * po/hr.po: Likewise.
2194 * po/nl.pl: Likewise.
2195 * po/pl.po: Likewise.
2196 * po/vi.po: Likewise.
2197
370ca3d2
JM
21982012-07-03 Joseph Myers <joseph@codesourcery.com>
2199
95f5a9a8
JM
2200 * Makeconfig [!+link] (+link-before-libc): New variable.
2201 [!+link] (+link-after-libc): Likewise.
2202 [!+link] (+link-tests): Likewise.
2203 [!+link] (+link): Define in terms of $(+link-before-libc) and
2204 $(+link-after-libc).
2205 [!+link-static] (+link-static-before-libc): New variable.
2206 [!+link-static] (+link-static-after-libc): Likewise.
2207 [!+link-static] (+link-static-tests): Likewise.
2208 [!+link-static] (+link-static): Define in terms of
2209 $(+link-static-before-libc) and $(+link-static-after-libc).
2210 [build-shared] (link-libc-before-gnulib): New variable.
2211 [build-shared] (link-libc-tests): Likewise.
2212 [build-shared] (link-libc): Define in terms of
2213 $(link-libc-before-gnulib).
2214 [!build-shared] (link-libc-tests): New variable.
2215 (link-libc-static-tests): New variable.
2216 [!gnulib] (gnulib-arch): New variable.
2217 [!gnulib] (gnulib-tests): Likewise.
2218 [!gnulib] (static-gnulib-arch): Likewise.
2219 [!gnulib] (static-gnulib-tests): Likewise.
2220 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2221 Define with "=" instead of ":=".
2222 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2223 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2224 * Rules (binaries-all-notests): New variable.
2225 (binaries-all-tests): Likewise.
2226 (binaries-static-notests): Likewise.
2227 (binaries-static-tests): Likewise.
2228 (binaries-all): Define using $(binaries-all-notests) and
2229 $(binaries-all-tests).
2230 (binaries-static): Define using $(binaries-static-notests) and
2231 $(binaries-static-tests).
2232 (binaries-shared-tests): New variable.
2233 (binaries-shared-notests): Likewise.
2234 (binaries-shared): Remove variable.
2235 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2236 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2237 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2238 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2239 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2240 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2241 * elf/Makefile (sln-modules): New variable.
2242 (extra-objs): Add $(sln-modules:=.o).
2243 (ldconfig-modules): Add static-stubs.
2244 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2245 * elf/static-stubs.c: New file.
2246
7a845b2c
JM
2247 [BZ #14283]
2248 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2249 by 7 not 8 to examine high bit of fractional part. Use volatile
2250 variables when splitting into final array of floats if
2251 __FLT_EVAL_METHOD__ != 0.
2252 * math/libm-test.inc (cos_test): Add another test.
2253 (sin_test): Likewise.
2254 * sysdeps/i386/fpu/libm-test-ulps: Update.
2255
e2283f38
JM
2256 [BZ #14273]
2257 * math/libm-test.inc (cosh_test): Add more tests.
2258
370ca3d2
JM
2259 * version.h (RELEASE): Set to "development".
2260 (VERSION): Set to "2.16.90".
2261
ee9247c3
CD
22622012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2263
2264 * NEWS: Update copyright. Remove last-updated date.
2265 Mention math library bug fixes and timezone data changes.
2266 * README: Mention GNU/Hurd, x32, and HPPA support status.
2267
4648c381
TS
22682012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2269
2270 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2271
aac78a43
AJ
22722012-06-27 Andreas Jaeger <aj@suse.de>
2273
2274 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2275
ed3dbfad
AJ
22762012-06-25 Andreas Jaeger <aj@suse.de>
2277
2278 * sysdeps/s390/fpu/libm-test-ulps: Update.
2279
4d0ee855
AS
22802012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2281 Thomas Schwinge <thomas@codesourcery.com>
2282
2283 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2284 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2285 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2286 fanotify_mark.
2287
af1bce34
TS
22882012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2289
a9fa33ba
TS
2290 * sysdeps/mach/start.c: Remove file.
2291 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2292 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2293 * sysdeps/sh/init-first.c: Likewise.
2294
58f902b8
TS
2295 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2296 registers for frame unwinding purposes, add CFI directives.
2297 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2298 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2299 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2300 Likewise.
2301
1518f58b
TS
2302 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2303 __fortify_fail returning.
2304 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2305
db9b5059
TS
2306 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2307 sysdeps/sh/____longjmp_chk.S.
2308 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2309 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2310 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2311 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2312
967705fe
TS
2313 * sysdeps/sh/abort-instr.h: New file.
2314 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2315 process in case exit returns.
2316
a9def8c4
TS
2317 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2318 initialize the GOT register before use.
2319
2a649725
TS
2320 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2321 calculation of ARGC > 4.
2322
af1bce34
TS
2323 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2324 meaningful names to some local labels.
2325
d230f50a
KK
23262012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2327 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2328
2329 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2330 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2331 (__arch_compare_and_exchange_val_16_acq): Likewise.
2332 (__arch_compare_and_exchange_val_32_acq): Likewise.
2333 (atomic_exchange_and_add): Fix gUSA sequence.
2334 (atomic_add): Likewise.
2335 (atomic_add_negative): Likewise.
2336 (atomic_add_zero): Likewise.
2337 (atomic_bit_test_set): Likewise.
2338
0479b305
AS
23392012-06-22 Andreas Schwab <schwab@redhat.com>
2340
2341 [BZ #13579]
2342 * include/link.h (struct link_map): Add l_free_initfini.
2343 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2344 l_initfini.
2345 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2346 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2347 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2348 set.
2349
0e3933b9
CD
23502012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2351
2352 * configure.in: Use AC_LANG_SOURCE.
2353 * configure: Regenerate.
2354
4248b1b1
RM
23552012-06-22 Roland McGrath <roland@hack.frob.com>
2356
2357 * configure.in (libc_cv_localstatedir): New substituted variable.
2358 * configure: Regenerated.
2359 * config.make.in (localstatedir): New variable, substituted from
2360 libc_cv_localstatedir.
2361 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2362 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2363 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2364 * sysdeps/gnu/configure: Regenerated.
2365
006dd861
JL
23662012-06-21 Jeff Law <law@redhat.com>
2367
2368 [BZ #14277]
2369 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2370 free. Simplify list management for _LIBC case.
2371
79662d42
JM
23722012-06-21 Joseph Myers <joseph@codesourcery.com>
2373
b7abb4bf
JM
2374 [BZ #14273]
2375 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2376 Clear sign bit of 64-bit integer value before comparing against
2377 overflow value.
2378
79662d42
JM
2379 * sysdeps/mach/configure: Regenerated.
2380
1f150908
L
23812012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2382
2383 [BZ #14278]
2384 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2385
28363bbf
JL
23862012-06-21 Jeff Law <law@redhat.com>
2387
2388 [BZ #13882]
2389 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2390 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2391 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2392 * elf/dl-open.c (dl_open_worker): Likewise.
2393
09615db4
CD
23942012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2395
2396 * scripts/list-sources.sh: Scan PORTS for translations.
2397 * po/libc.pot: Regenerated.
2398
2174c6dd
AJ
23992012-06-21 Andreas Jaeger <aj@suse.de>
2400
2401 [BZ #12194]
2402 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2403 warning.
2404 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2405 * bits/byteswap-16.h (__bswap_16): Likewise.
2406 * bits/byteswap.h (__bswap_constant_16): Likewise.
2407
3ee947b1
L
24082012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2409
2410 [BZ #14117]
a2f34833
L
2411 * sysdeps/i386/fpu_control.h: Removed.
2412 * sysdeps/x86_64/fpu_control.h: Moved to ...
2413 * sysdeps/x86/fpu_control.h: Here.
2414
3ee947b1
L
2415 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2416 (_FPU_SETCW): Likewise.
2417
ed1825f8
L
24182012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2419
25f1282a
L
2420 [BZ #14117]
2421 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2422 * sysdeps/x86/fpu/bits/mathinline.h: This.
2423 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2424
ed1825f8
L
2425 [BZ #14050]
2426 [BZ #14117]
2427 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2428 functions if __x86_64__ is defined.
2429
36d54b74
CLT
24302012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2431
2432 * string/endian.h: Add !__ASSEMBLER__ condition for including
2433 conversion interfaces.
2434
10285c21
JM
24352012-06-15 Joseph Myers <joseph@codesourcery.com>
2436
2437 [BZ #14241]
2438 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2439 of ABS(x) in calculating zero to negative powers other than odd
2440 integers.
2441 * math/libm-test.inc (pow_test): Add more tests.
2442
06c5abbd
AJ
24432012-06-15 Andreas Jaeger <aj@suse.de>
2444
2445 * manual/contrib.texi (Contributors): Update entry of Liubov
2446 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2447 Machado Filho.
2448
a3aeac40
CH
24492012-06-15 Cyril Hrubis <metan@ucw.cz>
2450
2451 * string/string.h: Add __wur to GNU version of strerror_r.
2452
49bdf4c1
L
24532012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2454
2455 [BZ #14229]
2456 * string/Makefile (tests): Add tst-strtok_r.
2457 * string/tst-strtok_r.c: New file.
2458 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2459 RAX_LP/RDX_LP on SAVE_PTR.
2460
834f9b8d
RM
24612012-06-14 Roland McGrath <roland@hack.frob.com>
2462
2463 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2464
75fa1921
JM
24652012-06-14 Joseph Myers <joseph@codesourcery.com>
2466
2467 * libm_test.inc (csqrt_test): Allow more spurious underflow
2468 exceptions.
2469 (j0_test): Likewise.
2470 (j1_test): Likewise.
2471 (y0_test): Likewise.
2472 (y1_test): Likewise.
2473
771766df
CD
24742012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2475
2476 * po/Makefile (libc.pot): Use UTF-8 charset.
2477
ceb9e56b
PP
24782012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2479
2480 [BZ #14210]
2481 Suppress sign-conversion warning from FD_SET.
2482 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2483 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2484 not unsigned long int.
2485 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2486
ddb28975
L
24872012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 [BZ #14050]
2490 [BZ #14117]
2491 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2492 __extern_always_inline instead of __extern_inline.
2493 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2494 (__signbit): Likewise.
2495 (__signbitl): Support C++ namespace.
2496 (lrintf): New inline function.
2497 (lrint): Likewise.
2498 (llrintf): Likewise.
2499 (llrint): Likewise.
2500 (fmaxf): Likewise.
2501 (fmax): Likewise.
2502 (fminf): Likewise.
2503 (fmin): Likewise.
2504 (rint): Likewise.
2505 (rintf): Likewise.
2506 (ceil): Likewise.
2507 (ceilf): Likewise.
2508 (floor): Likewise.
2509 (floorf): Likewise.
2510 (nearbyint): Likewise.
2511 (nearbyintf): Likewise.
2512
d7b4fb26
TS
25132012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2514
2515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2516 non-default versions.
2517
eb55f5c2
RM
25182012-06-11 Roland McGrath <roland@hack.frob.com>
2519
2520 [BZ #14218]
2521 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2522
366af02c
TS
25232012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2524
99ff6e5c
TS
2525 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2526 (FE_UPWARD, FE_DOWNWARD): Don't define.
2527 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2528 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2529
366af02c
TS
2530 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2531 reading it.
2532 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2533 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2534
793ea851
KK
25352012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2536
2537 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2539 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2540 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2541
a728a38f
L
25422012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 [BZ #14117]
c08010c7
L
2545 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2546 * sysdeps/i386/fpu/Implies: New file.
2547 * sysdeps/x86_64/fpu/Implies: Likewise.
2548 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2549 * sysdeps/x86/fpu/bits/fenv.h: This.
2550
a728a38f
L
2551 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2552 __SSE_MATH__.
2553
6e230d11
SP
25542012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2555
2556 [BZ #14134]
2557 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2558 character 0xffff that matches the last element of the
2559 conversion table.
2560
1b671feb
AZ
25612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562
2563 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2564 fmodl commit.
2565
6043738b
AZ
25662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2567
2568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2569 values higher than 25.6283.
2570
34ae0b32
AZ
25712012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2572
2573 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2574 subnormal exponent extraction and add some __builtin_expect.
2575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2576 Fix for subnormal mantissa calculation.
2577
1214ec8f
MF
25782012-06-04 Mike Frysinger <vapier@gentoo.org>
2579
2580 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2581 cpu2 is -1 and errno is not ENOSYS.
2582
f3d1f93c
L
25832012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 [BZ #14117]
0e4a3cd7
L
2586 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2587 * sysdeps/x86/bits/string.h: This.
2588 * sysdeps/x86_64/bits/string.h: Removed.
2589
6704c645
L
2590 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2591 if not compiling for x86-64, but compiling for >= i486.
2592
48495318
L
2593 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2594 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2595
14adcbfc
L
2596 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2597 New macro from Linux kernel 3.4.0.
2598 (FP_XSTATE_MAGIC2): Likewise.
2599 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2600 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2601 (struct _fpx_sw_bytes): New struct.
2602 (struct _xsave_hdr): Likewise.
2603 (struct _ymmh_state): Likewise.
2604 (struct _xstate): Likewise.
2605
68e408ab
L
2606 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2607 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2608 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2609 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2610 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2611 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2612
f3d1f93c
L
2613 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2614 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2615 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2616 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2617 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2618 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2619
d9dc34cd
TMQMF
26202012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2621
2622 [BZ #13743]
2623 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2624 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2625 (sysdep_headers): Include sys/platform/ppc.h.
2626 * sysdeps/powerpc/test-gettimebase.c: Test for
2627 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2628 * manual/Makefile (appendices): Include platform.texi.
2629 * manual/contrib.texi (Contributors): Update @node pointers.
2630 * manual/maint.texi (Maintenance): Likewise.
2631 (Platform): New node.
2632 * manual/platform.texi: New file. Document the new features.
2633
4af3879c
SP
26342012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2635 Jakub Jelinek <jakub@redhat.com>
2636
2637 [BZ #14188]
2638 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2639 where __builtin_expect is unavailable.
2640
2fd6ff13
DM
26412012-06-03 David S. Miller <davem@davemloft.net>
2642
2643 * stdlib/longlong.h: Updated from GCC.
2644
173f7220
AS
26452012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2646
2647 [BZ #14042]
2648 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2649 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2650 __mcount_internal.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2652 (GLIBC_2.16): Likewise.
2653
f34a1c6f
L
26542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2655
2656 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2657
88a4576f
JM
26582012-06-01 Joseph Myers <joseph@codesourcery.com>
2659
ea32bcdd
JM
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2661 (default-abi): New variable.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2663 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2664 variable.
2665 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2666 Likewise.
2667 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2668 Likewise.
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2670 Likewise.
2671
88a4576f
JM
2672 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2673 definition. Document in comment.
2674
402fe938
DM
26752012-06-01 David S. Miller <davem@davemloft.net>
2676
2677 * stdlib/longlong.h: Updated from GCC.
2678
3553723f
L
26792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2680
2681 [BZ #14117]
3bd872c4
L
2682 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2683 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2684 sys/debugreg.h sys/io.h here.
2685 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2686 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2687 sys/io.h.
2688 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2689 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2690 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2691 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2692 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2693 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2694
3553723f
L
2695 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2696 Define only if __x86_64__ is defined.
2697
4842e4fe
JM
26982012-06-01 Joseph Myers <joseph@codesourcery.com>
2699
c5bfe3d5
JM
2700 [BZ #14048]
2701 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2702 Use int64_t for variable i.
2703 * math/libm-test.inc (fmod_test): Add more tests.
2704
4842e4fe
JM
2705 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2706 z computation is not scheduled after fetestexcept.
2707 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2708 Use math_force_eval instead of asm to ensure calculation scheduled
2709 before exception test.
2710 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2711 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2712
efb73488
AJ
27132012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2714
2715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2716 computation is not scheduled after fetestexcept.
2717
29bcce7c
L
27182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2719
2720 [BZ #14117]
2721 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2722 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2723
73a68f94
AZ
27242012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725
2726 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2727 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2728
67b6df78
L
27292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2730
edf2933a 2731 [BZ #14117]
ebc64a18
L
2732 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2733 <bits/wordsize.h>.
2734 (__WCHAR_MIN): Support __WORDSIZE == 64.
2735 (__WCHAR_MAX): Likewise.
2736
edf2933a
L
2737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2738 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2739
57c6cf40
L
2740 [BZ #14183]
2741 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2742 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2743
67b6df78 2744 [BZ #14117]
8eb6281e
L
2745 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2746 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2747
aac639f4
L
2748 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2749 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2750
67b6df78
L
2751 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2752 Defined to 1 if __x86_64__ isn't defined.
2753 (_STAT_VER_LINUX_OLD): New.
2754 (st_atime): Remove duplicate.
2755 (st_mtime): Likewise.
2756 (st_ctime): Likewise.
2757
1c2cfe81
DM
27582012-05-31 David S. Miller <davem@davemloft.net>
2759
2760 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2761 entries.
2762
5be8418c
AS
27632012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2764
e7725326
AS
2765 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2766 gen-libm-test.pl.
2767
5be8418c
AS
2768 [BZ #14132]
2769 * elf/dl-reloc.c: Include <_itoa.h>.
2770 (_dl_reloc_bad_type): Remove use of INTUSE.
2771 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2772 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2773 * stdio-common/psiginfo.c (psiginfo): Likewise.
2774 * stdio-common/psignal.c (psignal): Likewise.
2775 * string/strsignal.c (strsignal): Likewise.
2776 * include/signal.h (_sys_siglist): Declare hidden proto.
2777 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2778 INTVARDEF with libc_hidden_data_def.
2779 * stdio-common/itoa-udigits.c: Likewise.
2780 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2781 (_itoa_lower_digits_internal): Remove declaration.
2782 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2783 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2784 (_sys_sigabbrev_internal): Remove aliases.
2785 (_sys_siglist): Define hidden alias.
2786
507352f1
MT
27872012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2788
2789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2790 bits/sysctl.h.
2791
42bbb1c3
L
27922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2793
2794 [BZ #14117]
6bd784b6
L
2795 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2796 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2797
8bca20f0
L
2798 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2799 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2800 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2801 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2803 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2804
f9e890a9
L
2805 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2806 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2807 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2808
471101a1
L
2809 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2810 with __addr.
2811 (insw): Likewise.
2812 (insl): Likewise.
2813 (outsb): Likewise.
2814 (outsw): Likewise.
2815 (outsl): Likewise.
2816
6451c862
L
2817 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2818 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2819 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2820
a254b8c9
L
2821 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2822 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2823 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2824 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2825 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2826 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2827
b8dfdd92
L
2828 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2829 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2830
578cd270
L
2831 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2832 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2833
de662f5f
L
2834 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2835 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2836 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2837
25653439
L
2838 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2839 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2840 to ...
2841 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2842
6bad24a0
L
2843 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2844 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2845 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2846
42bbb1c3
L
2847 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2848 for x86-64.
2849 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2850
2d10d547
JM
28512012-05-31 Joseph Myers <joseph@codesourcery.com>
2852
2853 * math/math.h (M_El): Use two more decimal places.
2854 (M_LOG2El): Likewise.
2855 (M_LOG10El): Likewise.
2856 (M_LN2l): Likewise.
2857 (M_LN10l): Likewise.
2858 (M_PIl): Likewise.
2859 (M_PI_2l): Likewise.
2860 (M_PI_4l): Likewise.
2861 (M_1_PIl): Likewise.
2862 (M_2_PIl): Likewise.
2863 (M_2_SQRTPIl): Likewise.
2864 (M_SQRT2l): Likewise.
2865 (M_SQRT1_2l): Likewise.
2866
f230c29b
DM
28672012-05-31 David S. Miller <davem@davemloft.net>
2868
2869 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2870 values between float registers.
2871 * sysdeps/sparc/sparc64/memset.S: Likewise.
2872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2873
fed806c3
MF
28742012-05-31 Mike Frysinger <vapier@gentoo.org>
2875
2876 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2877 -D_FORTIFY_SOURCE=1.
2878 (CPPFLAGS-tst-longjmp_chk.c): Define.
2879 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2880 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2881 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2882 CFLAGS-tst-wchar-h.c.
2883
30917259
MP
28842012-05-31 Marek Polacek <polacek@redhat.com>
2885
2886 [BZ #14132]
2887 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2888 __endmntent_internal): Remove declaration.
2889 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2890 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2891 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2892
1c58d5dc
DM
28932012-05-30 David S. Miller <davem@davemloft.net>
2894
2895 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2896 (___Q_simulate_exceptions): Use real FP ops rather than writing
2897 into the %fsr.
2898 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2899 Likewise.
2900
7dc00e0d
L
29012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2902
2903 [BZ #14117]
0bd53985
L
2904 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2905 * sysdeps/x86/bits/xtitypes.h: This.
2906
3a257e66
L
2907 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2908 * sysdeps/x86/bits/wordsize.h: This.
2909
62f62904
L
2910 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2911 * sysdeps/x86/bits/huge_vall.h: This.
2912
404fe9d9
L
2913 * sysdeps/i386/bits/select.h: Removed.
2914 * sysdeps/x86_64/bits/select.h: Renamed to ...
2915 * sysdeps/x86/bits/select.h: This.
2916
d48d0446
L
2917 * sysdeps/i386/bits/setjmp.h: Removed.
2918 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2919 * sysdeps/x86/bits/setjmp.h: This.
2920
7dc00e0d
L
2921 * sysdeps/i386/bits/mathdef.h: Removed.
2922 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2923 * sysdeps/x86/bits/mathdef.h: This.
2924
03277f8f
AS
29252012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2926
2927 [BZ #14132]
2928 * include/sys/socket.h (__connect_internal)
2929 (__libc_sa_len_internal): Remove declaration.
2930 (__connect, __libc_sa_len): Declare hidden_proto.
2931 (SA_LEN): Remove use of INTUSE.
2932 * socket/connect.c: Add libc_hidden_def.
2933 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2934 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2935 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2936 alias.
2937 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2938 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2939 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2940 of adding _internal alias.
2941
13764867
L
29422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2943
2944 [BZ #14117]
6bd97696
L
2945 * sysdeps/i386/bits/link.h: Removed.
2946 * sysdeps/i386/bits/linkmap.h: Likewise.
2947 * sysdeps/x86_64/bits/link.h: Renamed to ...
2948 * sysdeps/x86/bits/link.h: This.
2949 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2950 * sysdeps/x86/bits/linkmap.h: This.
2951
f726f0bb
L
2952 * sysdeps/i386/bits/endian.h: Removed.
2953 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2954 * sysdeps/x86/bits/endian.h: This.
2955
13764867
L
2956 * sysdeps/i386/bits/byteswap.h: Removed.
2957 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2958 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2959 * sysdeps/x86/bits/byteswap.h: This.
2960 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2961 * sysdeps/x86/bits/byteswap-16.h: This.
2962 * sysdeps/i386/Implies: Add x86.
2963 * sysdeps/x86_64/Implies: Likewise.
2964
ae251b0b
DM
29652012-05-30 David S. Miller <davem@davemloft.net>
2966
2967 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2968 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2969 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2970 (FP_TRAPPING_EXCEPTIONS): Define.
2971 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2972 (FP_TRAPPING_EXCEPTIONS): Define.
2973 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2974 subnormals only when inexact has been signalled or underflow
2975 exceptions are enabled.
2976 (_FP_PACK_CANONICAL): Likewise.
2977
d5c90867
L
29782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 [BZ #14183]
2981 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2982 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2983
63f1549e
RH
29842012-05-30 Richard Henderson <rth@twiddle.net>
2985
8d8f2279
RH
2986 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2987 with #ifndef NOT_IN_libc.
2988
63f1549e
RH
2989 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2990 marked to avoid plt entry.
2991
0ab0291b
L
29922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 [BZ #14112]
2995 * Makeconfig (default-abi): New macro.
2996 (abi-includes): Likewise.
2997 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2998 $(abi-$(default-abi)-lib-soname) for soname if defined.
2999 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3000 abi-variants.
3001 * Makefile (installed-stubs): Likewise.
3002 * include/stubs-biarch.h: Removed.
3003 * scripts/lib-names.awk: Only handle one library at a time.
3004 * scripts/soversions.awk: Remove WORDSIZE support.
3005 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3006 entries.
3007 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3008 Removed.
3009 (syscall-list-default-condition): Likewise.
3010 (syscall-list-default-condition): Likewise.
3011 (syscall-list-includes): Likewise.
3012 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3013 syscall-list-* with abi-*. Handle undefined abi-variants.
3014 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3015 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3016 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3017 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3018 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3019 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3020 Removed.
3021 (syscall-list-32-options): Likewise.
3022 (syscall-list-32-condition): Likewise.
3023 (syscall-list-64-options): Likewise.
3024 (syscall-list-64-condition): Likewise.
3025 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3026 macro.
3027 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3028 Renamed to ...
3029 (abi-*): This.
3030 (abi-64-ld-soname): New macro.
3031 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3032 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3033 Renamed to ...
3034 (abi-*): This.
3035 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3036 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3037
4da0431d
JM
30382012-05-30 Joseph Myers <joseph@codesourcery.com>
3039
3a85279c
JM
3040 * sysdeps/unix/sysv/linux/kernel-features.h
3041 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3042 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3061 include <kernel-features.h>.
3062 [!__NR_ftruncate64]: Remove conditional code.
3063 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3064 [__NR_ftruncate64]: Make code unconditional.
3065 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3066
4da0431d
JM
3067 * configure.in (libc_cv_fpie): Weaken to a compile test using
3068 LIBC_TRY_CC_OPTION.
3069 * configure: Regenerated.
3070
11ef492c
AK
30712012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3072
3073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3077 Refreshed.
3078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3084 Refreshed.
3085
d66ef399
DM
30862012-05-27 David S. Miller <davem@davemloft.net>
3087
3088 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3089 (___Q_zero): New.
3090 (__Q_simulate_exceptions): Return void. Change to simulate
3091 exceptions by writing into the %fsr.
3092 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3093 (__Qp_handle_exceptions): Likewise.
3094 (numbers): Delete.
3095 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3096 __Qp_handle_exceptions.
3097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3098 __Qp_handle_exceptions.
3099 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3100 as unused and give dummy FP_RND_NEAREST initializer.
3101 (FP_INHIBIT_RESULTS): Define.
3102 (___Q_simulate_exceptions): Update declaration.
3103 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3104 formatting.
3105 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3106 as unused and give dummy FP_RND_NEAREST initializer.
3107 (__Qp_handle_exceptions): Update declaration.
3108 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3109 formatting.
3110
04fb54b5
TS
31112012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3112
3113 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3114 the temporary FPU control word.
3115 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3116 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3117 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3118 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3119 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3120 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3121 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3122 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3123 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3124 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3125 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3126
3f99608f
KK
31272012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3128
3129 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3130 fields.
3131
65a4de4e
CLT
31322012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3133
3134 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3135 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3136 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3137 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3138 Likewise.
3139 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3140 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3141 Likewise.
3142
15749d40
UD
31432012-05-27 Ulrich Drepper <drepper@gmail.com>
3144
3145 * po/h.po: Update from translation team.
3146
25dbcb27
AS
31472012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3148
3d3f8e55
AS
3149 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3150
25dbcb27
AS
3151 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3152 handling of denormals.
3153 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3154 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3155 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3156 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3157 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3159 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3160 Likewise.
3161
7ad47a80 31622012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3163
3164 [BZ #14152]
3165 * math/libm-test.inc (fma_test): Don't always expect underflow
3166 exception.
3167
9c6ea9fa
SP
31682012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3169
3170 [BZ #12416]
3171 * elf/tst-execstack.c: Include stackinfo.h.
3172 (do_test): Adjust test case to ensure that pthread_getattr_np
3173 behaviour remains the same after marking stack executable.
3174
a8239222
JM
31752012-05-25 Joseph Myers <joseph@codesourcery.com>
3176
3177 * sysdeps/unix/sysv/linux/kernel-features.h
3178 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3179 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3180 kernel-features.h.
3181 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3182 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3183 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3184 kernel-features.h.
3185 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3186 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3187
918b5606
L
31882012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3189
3190 * configure.in: Define the default includes to being none.
3191 * configure: Regenerated.
3192
3a097cc7
RM
31932012-05-25 Roland McGrath <roland@hack.frob.com>
3194
8422c9a5
RM
3195 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3196 * sysdeps/x86_64/setjmp.S: Likewise.
3197 * sysdeps/i386/bsd-setjmp.S: Likewise.
3198 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3199 * sysdeps/i386/setjmp.S: Likewise.
3200 * sysdeps/i386/__longjmp.S: Likewise.
3201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3202 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3203
3a097cc7
RM
3204 * include/stap-probe.h: New file.
3205 * configure.in: Handle --enable-systemtap.
3206 * configure: Regenerated.
3207 * config.h.in (USE_STAP_PROBE): New #undef.
3208 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3209 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3210 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3211
21708942
JM
32122012-05-25 Joseph Myers <joseph@codesourcery.com>
3213
3214 [BZ #13717]
3215 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3216 to 2.4.0 where earlier.
3217 * sysdeps/unix/sysv/linux/configure: Regenerated.
3218 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3219 <kernel-features.h>.
3220 [__ASSUME_32BITUIDS]: Make code unconditional.
3221 [!__ASSUME_32BITUIDS]: Remove conditional code.
3222 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3223 <kernel-features.h>.
3224 [__ASSUME_32BITUIDS]: Make code unconditional.
3225 [!__ASSUME_32BITUIDS]: Remove conditional code.
3226 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3227 [__ASSUME_32BITUIDS]: Make code unconditional.
3228 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3229 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3230 <kernel-features.h>.
3231 [__ASSUME_32BITUIDS]: Make code unconditional.
3232 [!__ASSUME_32BITUIDS]: Remove conditional code.
3233 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3234 <kernel-features.h>.
3235 [__ASSUME_32BITUIDS]: Make code unconditional.
3236 [!__ASSUME_32BITUIDS]: Remove conditional code.
3237 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3238 <kernel-features.h>.
3239 [__ASSUME_32BITUIDS]: Make code unconditional.
3240 [!__ASSUME_32BITUIDS]: Remove conditional code.
3241 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3242 <kernel-features.h>.
3243 [__ASSUME_32BITUIDS]: Make code unconditional.
3244 [!__ASSUME_32BITUIDS]: Remove conditional code.
3245 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3246 <kernel-features.h>.
3247 [__ASSUME_32BITUIDS]: Make code unconditional.
3248 [!__ASSUME_32BITUIDS]: Remove conditional code.
3249 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3250 <kernel-features.h>.
3251 [__ASSUME_32BITUIDS]: Make code unconditional.
3252 [!__ASSUME_32BITUIDS]: Remove conditional code.
3253 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3254 <kernel-features.h>.
3255 [__ASSUME_32BITUIDS]: Make code unconditional.
3256 [!__ASSUME_32BITUIDS]: Remove conditional code.
3257 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3258 <kernel-features.h>.
3259 [__ASSUME_32BITUIDS]: Make code unconditional.
3260 [!__ASSUME_32BITUIDS]: Remove conditional code.
3261 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3262 <kernel-features.h>.
3263 [__ASSUME_32BITUIDS]: Make code unconditional.
3264 [!__ASSUME_32BITUIDS]: Remove conditional code.
3265 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3266 <kernel-features.h>.
3267 [__ASSUME_32BITUIDS]: Make code unconditional.
3268 [!__ASSUME_32BITUIDS]: Remove conditional code.
3269 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3270 <kernel-features.h>.
3271 [__NR_setresgid] (__setresgid): Do not declare.
3272 [__ASSUME_32BITUIDS]: Make code unconditional.
3273 [!__ASSUME_32BITUIDS]: Remove conditional code.
3274 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3275 <kernel-features.h>.
3276 [__NR_setresuid] (__setresuid): Do not declare.
3277 [__ASSUME_32BITUIDS]: Make code unconditional.
3278 [!__ASSUME_32BITUIDS]: Remove conditional code.
3279 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3280 <kernel-features.h>.
3281 [__ASSUME_32BITUIDS]: Make code unconditional.
3282 [!__ASSUME_32BITUIDS]: Remove conditional code.
3283 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3284 <kernel-features.h>.
3285 [__ASSUME_32BITUIDS]: Make code unconditional.
3286 [!__ASSUME_32BITUIDS]: Remove conditional code.
3287 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3288 <kernel-features.h>.
3289 [__ASSUME_32BITUIDS]: Make code unconditional.
3290 [!__ASSUME_32BITUIDS]: Remove conditional code.
3291 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3292 <kernel-features.h>.
3293 [__ASSUME_32BITUIDS]: Make code unconditional.
3294 [!__ASSUME_32BITUIDS]: Remove conditional code.
3295 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3296 <kernel-features.h>.
3297 [__ASSUME_32BITUIDS]: Make code unconditional.
3298 [!__ASSUME_32BITUIDS]: Remove conditional code.
3299 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3300 <kernel-features.h>.
3301 [__ASSUME_32BITUIDS]: Make code unconditional.
3302 [!__ASSUME_32BITUIDS]: Remove conditional code.
3303 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3304 <kernel-features.h>.
3305 [__ASSUME_32BITUIDS]: Make code unconditional.
3306 [!__ASSUME_32BITUIDS]: Remove conditional code.
3307 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3308 <kernel-features.h>.
3309 [__ASSUME_32BITUIDS]: Make code unconditional.
3310 [!__ASSUME_32BITUIDS]: Remove conditional code.
3311 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3312 <kernel-features.h>.
3313 [__ASSUME_32BITUIDS]: Make code unconditional.
3314 [!__ASSUME_32BITUIDS]: Remove conditional code.
3315 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3316 <kernel-features.h>.
3317 [__ASSUME_32BITUIDS]: Make code unconditional.
3318 [!__ASSUME_32BITUIDS]: Remove conditional code.
3319 * sysdeps/unix/sysv/linux/kernel-features.h
3320 (__ASSUME_SETRESUID_SYSCALL): Remove.
3321 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3322 (__ASSUME_32BITUIDS): Likewise.
3323 (__ASSUME_LDT_WORKS): Likewise.
3324 (__ASSUME_O_DIRECTORY): Likewise.
3325 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3326 architecture but not kernel version.
3327 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3328 (__ASSUME_MMAP2_SYSCALL): Likewise.
3329 (__ASSUME_STAT64_SYSCALL): Likewise.
3330 (__ASSUME_IPC64): Likewise.
3331 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3332 <kernel-features.h>.
3333 [__ASSUME_32BITUIDS]: Make code unconditional.
3334 [!__ASSUME_32BITUIDS]: Remove conditional code.
3335 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3336 <kernel-features.h>.
3337 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3338 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3339 132096]: Remove conditional code.
3340 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3341 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3342 <kernel-features.h>.
3343 [__ASSUME_32BITUIDS]: Make code unconditional.
3344 [!__ASSUME_32BITUIDS]: Remove conditional code.
3345 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3346 <kernel-features.h>.
3347 [__ASSUME_32BITUIDS]: Make code unconditional.
3348 [!__ASSUME_32BITUIDS]: Remove conditional code.
3349 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3350 <kernel-features.h>.
3351 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3352 unconditional.
3353 (__setresgid): Do not declare.
3354 [__ASSUME_32BITUIDS]: Make code unconditional.
3355 [!__ASSUME_32BITUIDS]: Remove conditional code.
3356 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3357 <kernel-features.h>.
3358 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3359 unconditional.
3360 (__setresuid): Do not declare.
3361 [__ASSUME_32BITUIDS]: Make code unconditional.
3362 [!__ASSUME_32BITUIDS]: Remove conditional code.
3363 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3364 <kernel-features.h>.
3365 [__ASSUME_32BITUIDS]: Make code unconditional.
3366 [!__ASSUME_32BITUIDS]: Remove conditional code.
3367 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3368 <kernel-features.h>.
3369 [__ASSUME_32BITUIDS]: Make code unconditional.
3370 [!__ASSUME_32BITUIDS]: Remove conditional code.
3371
a386f1cc
RH
33722012-05-25 Richard Henderson <rth@twiddle.net>
3373
3374 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3375 dl_hwcap to ifunc resolver.
3376 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3377 elf_ifunc_invoke.
3378 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3379 dl_hwcap to ifunc resolver.
3380 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3381
b6550497
JM
33822012-05-24 Joseph Myers <joseph@codesourcery.com>
3383
3384 [BZ #14153]
3385 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3386 for |x| <= 2**-26, not 2**-57.
3387 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3388 exception.
3389
b0bc23a1
JL
33902012-05-24 Jeff Law <law@redhat.com>
3391
3392 * stdio-common/Makefile (tests): Add bug25.
3393 * stdio-common/bug25.c: New test.
3394
347c92e9
L
33952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 [BZ #13576]
3398 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3399 multiple of MALLOC_ALIGNMENT in size.
3400 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3401
6bcc8b3f
JM
34022012-05-24 Joseph Myers <joseph@codesourcery.com>
3403
3404 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3405 Require >= 256.
3406 (FILENAME_MAX): Use macro-int-constant.
3407 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3408 (_IOFBF): Use macro-int-constant.
3409 (_IOLBF): Likewise.
3410 (_IONBF): Likewise.
3411 (SEEK_CUR): Likewise.
3412 (SEEK_END): Likewise.
3413 (SEEK_SET): Likewise.
3414 (TMP_MAX): Likewise.
3415 (EOF): Use macro-int-constant. Require < 0.
3416 (NULL): Use macro-constant. Require == 0.
3417 (stdin): Require type to be FILE *.
3418 (stdout): Likewise.
3419 (stderr): Likewise.
3420 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3421 macro-int-constant.
3422 (EXIT_SUCCESS): Likewise.
3423 (NULL): Use macro-constant. Require == 0.
3424 (RAND_MAX): Use macro-int-constant.
3425 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3426 [C99-based standards] (strtof): Require function.
3427 [C99-based standards] (strtold): Likewise.
3428 [C99-based standards] (strtoll): Likewise.
3429 [C99-based standards] (strtoull): Likewise.
3430 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3431 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3432 [ISO || ISO99 || ISO11] (math.h): Likewise.
3433 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3434 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3436
d18ea0c5
AS
34372012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3438
3439 [BZ #14132]
56d25bb8
AS
3440 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3441 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3442 * intl/dgettext.c (DCGETTEXT): Likewise.
3443 * intl/gettext.c (DCGETTEXT): Likewise.
3444 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3445 * posix/regex_internal.h (gettext): Likewise.
3446 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3447 Remove declaration.
3448 * include/argz.h (__argz_count_internal)
3449 (__argz_stringify_internal): Remove declaration.
3450 (__argz_count, __argz_stringify): Declare hidden proto.
3451 * intl/dcgettext.c: Remove use of INTDEF.
3452 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3453 * string/argz-stringify.c: Likewise.
3454 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3455 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3456 Declare hidden proto.
d18ea0c5
AS
3457 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3458 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3459 Declare hidden proto.
3460 * include/stdio.h (__asprintf_internal): Don't declare.
3461 (__asprintf): Don't define as macro. Declare hidden proto.
3462 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3463 (__fsetlocking): Declare hidden proto.
3464 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3465 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3466 hidden proto.
3467 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3468 (_IO_setlinebuf): Remove use of INTUSE.
3469 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3470 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3471 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3472 Remove declaration.
3473 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3474 (_IO_do_flush): Remove use of INTUSE.
3475 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3476 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3477 (_IO_adjust_column, _IO_least_wmarker)
3478 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3479 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3480 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3481 (_IO_default_doallocate, _IO_wdefault_doallocate)
3482 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3483 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3484 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3485 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3486 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3487 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3488 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3489 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3490 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3491 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3492 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3493 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3494 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3495 proto.
3496 (_IO_flush_all_internal, _IO_adjust_column_internal)
3497 (_IO_default_uflow_internal, _IO_default_finish_internal)
3498 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3499 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3500 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3501 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3502 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3503 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3504 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3505 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3506 (_IO_file_close_internal, _IO_file_close_it_internal)
3507 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3508 (_IO_file_init_internal, _IO_file_attach_internal)
3509 (_IO_file_fopen_internal, _IO_file_read_internal)
3510 (_IO_file_sync_internal, _IO_file_seek_internal)
3511 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3512 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3513 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3514 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3515 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3516 (_IO_list_all_internal, _IO_link_in_internal)
3517 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3518 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3519 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3520 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3521 (_IO_do_write_internal, _IO_padn_internal)
3522 (_IO_getline_info_internal, _IO_getline_internal)
3523 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3524 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3525 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3526 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3527 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3528 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3529 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3530 with libc_hidden_ver, remove use of INTUSE.
3531 * libio/genops.c: Likewise.
3532 * libio/freopen.c: Likewise.
3533 * libio/freopen64.c: Likewise.
3534 * libio/iofclose.c: Likewise.
3535 * libio/iofdopen.c: Likewise.
3536 * libio/iofflush.c: Likewise.
3537 * libio/iofflush_u.c: Likewise.
3538 * libio/iofgets.c: Likewise.
3539 * libio/iofgets_u.c: Likewise.
3540 * libio/iofopen.c: Likewise.
3541 * libio/iofopncook.c: Likewise.
3542 * libio/iofread.c: Likewise.
3543 * libio/iofread_u.c: Likewise.
3544 * libio/ioftell.c: Likewise.
3545 * libio/iofwrite.c: Likewise.
3546 * libio/iogetline.c: Likewise.
3547 * libio/iogets.c: Likewise.
3548 * libio/iogetwline.c: Likewise.
3549 * libio/iopadn.c: Likewise.
3550 * libio/iopopen.c: Likewise.
3551 * libio/ioseekoff.c: Likewise.
3552 * libio/ioseekpos.c: Likewise.
3553 * libio/iosetbuffer.c: Likewise.
3554 * libio/iosetvbuf.c: Likewise.
3555 * libio/ioungetc.c: Likewise.
3556 * libio/ioungetwc.c: Likewise.
3557 * libio/iovdprintf.c: Likewise.
3558 * libio/iovsprintf.c: Likewise.
3559 * libio/iovsscanf.c: Likewise.
3560 * libio/memstream.c: Likewise.
3561 * libio/obprintf.c: Likewise.
3562 * libio/oldfileops.c: Likewise.
3563 * libio/oldiofclose.c: Likewise.
3564 * libio/oldiofdopen.c: Likewise.
3565 * libio/oldiofopen.c: Likewise.
3566 * libio/oldiopopen.c: Likewise.
3567 * libio/oldstdfiles.c: Likewise.
3568 * libio/putc.c: Likewise.
3569 * libio/setbuf.c: Likewise.
3570 * libio/setlinebuf.c: Likewise.
3571 * libio/stdfiles.c: Likewise.
3572 * libio/strops.c: Likewise.
3573 * libio/vasprintf.c: Likewise.
3574 * libio/vscanf.c: Likewise.
3575 * libio/vsnprintf.c: Likewise.
3576 * libio/vswprintf.c: Likewise.
3577 * libio/wfiledoalloc.c: Likewise.
3578 * libio/wfileops.c: Likewise.
3579 * libio/wgenops.c: Likewise.
3580 * libio/wmemstream.c: Likewise.
3581 * libio/wstrops.c: Likewise.
3582 * libio/__fpurge.c: Likewise.
3583 * libio/__fsetlocking.c: Likewise.
3584 * assert/assert.c: Likewise.
3585 * debug/fgets_chk.c: Likewise.
3586 * debug/fgets_u_chk.c: Likewise.
3587 * debug/fread_chk.c: Likewise.
3588 * debug/fread_u_chk.c: Likewise.
3589 * debug/gets_chk.c: Likewise.
3590 * debug/obprintf_chk.c: Likewise.
3591 * debug/vasprintf_chk.c: Likewise.
3592 * debug/vdprintf_chk.c: Likewise.
3593 * debug/vsnprintf_chk.c: Likewise.
3594 * debug/vsprintf_chk.c: Likewise.
3595 * malloc/mtrace.c: Likewise.
3596 * misc/error.c: Likewise.
3597 * misc/syslog.c: Likewise.
3598 * stdio-common/asprintf.c: Likewise.
3599 * stdio-common/fxprintf.c: Likewise.
3600 * stdio-common/getw.c: Likewise.
3601 * stdio-common/isoc99_fscanf.c: Likewise.
3602 * stdio-common/isoc99_scanf.c: Likewise.
3603 * stdio-common/isoc99_vfscanf.c: Likewise.
3604 * stdio-common/isoc99_vscanf.c: Likewise.
3605 * stdio-common/isoc99_vsscanf.c: Likewise.
3606 * stdio-common/printf-prs.c: Likewise.
3607 * stdio-common/printf_fp.c: Likewise.
3608 * stdio-common/printf_fphex.c: Likewise.
3609 * stdio-common/printf_size.c: Likewise.
3610 * stdio-common/putw.c: Likewise.
3611 * stdio-common/scanf.c: Likewise.
3612 * stdio-common/sprintf.c: Likewise.
3613 * stdio-common/tmpfile.c: Likewise.
3614 * stdio-common/vfprintf.c: Likewise.
3615 * stdio-common/vfscanf.c: Likewise.
3616 * stdlib/strfmon_l.c: Likewise.
3617 * sunrpc/openchild.c: Likewise.
3618 * sunrpc/xdr_stdio.c: Likewise.
3619 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3620 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3621
d6c33fda
RM
36222012-05-24 Roland McGrath <roland@hack.frob.com>
3623
c1487492
RM
3624 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3625
3626 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3627 in the third column, to generate for the shared library an IFUNC
3628 that uses _dl_vdso_vsym.
3629 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3630 * Makeconfig (object-suffixes-noshared): New variable.
3631
3632 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3633 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3634 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3635 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3636
d6c33fda
RM
3637 [BZ #14132]
3638 * include/sys/time.h (__gettimeofday): Remove macro.
3639 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3640 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3641 Remove INTDEF.
3642 (__gettimeofday): Add libc_hidden_def.
3643 (gettimeofday): Add libc_hidden_weak.
3644 * sysdeps/mach/gettimeofday.c: Likewise.
3645 * sysdeps/posix/gettimeofday.c: Likewise.
3646 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3647 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3648 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3649 (__gettimeofday_internal): Remove strong_alias.
3650 (__gettimeofday): Add libc_hidden_def.
3651 (gettimeofday): Add libc_hidden_weak.
3652 * sysdeps/unix/syscalls.list (gettimeofday):
3653 Remove __gettimeofday_internal alias.
3654
b5a2bbe6
L
36552012-05-24 Daniel Jacobowitz <drow@false.org>
3656 H.J. Lu <hongjiu.lu@intel.com>
3657
3658 [BZ #12495]
3659 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3660 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3661 (largebin_index_32_big): New.
3662 (largebin_index): Use it for 16-byte alignment.
3663 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3664 correction with front_misalign.
3665
cfba4fda
L
36662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3667
7f907421
L
3668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3670 Likewise.
3671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3672 Likewise.
3673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3674 Likewise.
3675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3676 Likewise.
3677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3678 Likewise.
3679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3680 Likewise.
3681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3682 Likewise.
3683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3684 Likewise.
3685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3686 Likewise.
3687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3688 Likewise.
3689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3690 Likewise.
3691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3692 Likewise.
3693
cfba4fda
L
3694 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3695 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3696
80bad0cc
JM
36972012-05-24 Joseph Myers <joseph@codesourcery.com>
3698
7a25eb06
JM
3699 [BZ #10846]
3700 [BZ #14036]
3701 * math/libm-test.inc (exp_test): Add test from bug 14036.
3702 (pow_test): Add test from bug 10846.
3703
795405f9
JM
3704 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3705 and other flags.
3706 (special_function): Do not include flags in test name.
3707 (parse_args): Likewise.
3708 * sysdeps/i386/fpu/libm-test-ulps: Update.
3709 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3710 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3711 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3713
80bad0cc
JM
3714 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3715 exceptions.
3716 * math/libm-test.inc ("Philosophy"): Update comment about
3717 exception testing.
3718 (UNDERFLOW_EXCEPTION): New macro.
3719 (UNDERFLOW_EXCEPTION_OK): Likewise.
3720 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3721 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3722 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3723 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3724 (INVALID_EXCEPTION_OK): Update value.
3725 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3726 (OVERFLOW_EXCEPTION_OK): Likewise.
3727 (IGNORE_ZERO_INF_SIGN): Likewise.
3728 (test_exceptions): Handle underflow exceptions.
3729 (acos_test): Update for underflow exception expectations.
3730 (cexp_test): Likewise.
3731 (clog_test): Likewise.
3732 (clog10_test): Likewise.
3733 (csqrt_test): Likewise.
3734 (ctan_test): Likewise.
3735 (ctanh_test): Likewise.
3736 (exp_test): Likewise.
3737 (exp10_test): Likewise.
3738 (exp2_test): Likewise.
3739 (expm1_test): Likewise.
3740 (fma_test): Likewise.
3741 (j0_test): Likewise.
3742 (jn_test): Likewise.
3743 (nexttoward_test): Likewise.
3744 (pow_test): Likewise.
3745 (scalbn_test): Likewise.
3746 (scalbln_test): Likewise.
3747 (tan_test): Likewise.
3748 (y1_test): Likewise.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3751
9e0e3d0b
DM
37522012-05-23 David S. Miller <davem@davemloft.net>
3753
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3755 (__libc_sigaction): Remove unused local variables.
3756
ccd0a08f
L
37572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3758
3759 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3760
62bdf9a6
PE
37612012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3762
f8591f80
PE
3763 mktime: avoid signed integer overflow
3764 * time/mktime.c (__mktime_internal): Do not mishandle the case
3765 where diff == INT_MIN.
3766
94c7d826
PE
3767 mktime: simplify computation of average
3768 * time/mktime.c (ranged_convert): Use new time_t_avg function
3769 instead of rolling our own (probably-slower) code.
3770
ce73d683
PE
3771 mktime: do not assume signed right shift propagates sign bit
3772 * time/mktime.c (isdst_differ): New static function.
3773 (__mktime_internal): No need to normalize tm_isdst now.
3774 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3775 tm_isdst values.
3776
72a22e59
PE
3777 mktime: merge another wrapv change from gnulib
3778 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3779 from some compilers.
3780
68605433
PE
3781 mktime: remove incorrect attempt at unusual arithmetics
3782 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3783 The code didn't really work on such machines anyway.
3784 (TYPE_MINIMUM): Assume two's complement.
3785 (twos_complement_arithmetic): Verify that long_int and time_t
3786 are two's complement (or unsigned, in the latter case).
3787
03cf7fe3
PE
3788 mktime: check signed shifts on long_int and time_t, too
3789 * time/mktime.c (SHR): Check that shifts work as desired
3790 on the types long_int and time_t too, as SHR is used on
3791 such types.
3792
f04dfbc2
PE
3793 mktime: do not assume 'long' is wide enough
3794 * time/mktime.c (verify): Move decl up.
3795 (long_int): New type.
3796 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3797 to remove assumption in the code that 'long' is wide enough to
3798 store year values. This assumption is not true on x32 and on
3799 some non-glibc platforms.
3800
62bdf9a6
PE
3801 mktime: merge wrapv change from gnulib
3802 * time/mktime.c (WRAPV): New macro.
3803 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3804 (guess_time_tm, __mktime_internal): Do not assume that signed
3805 integer overflow wraps around; modern compilers generate code
3806 where this assumption is no longer valid.
3807
5e292e4f
L
38082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3809
3810 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3811 Replace "jmp L(pseudo_end)" with "ret".
3812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3813 Likewise.
3814
8caf8c87
AJ
38152012-05-23 Andreas Jaeger <aj@suse.de>
3816
3817 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3818 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3819
1a09dc56
AJ
38202012-05-23 Andreas Jaeger <aj@suse.de>
3821 Maximilian Attems <max@stro.at>
3822
3823 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3824 New macros.
3825
1c87aba0
L
38262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3829 code so that pseudo_end is just ret and the stack pointer is
3830 correct also for static library in error case.
3831
40e45bd5
JM
38322012-05-23 Joseph Myers <joseph@codesourcery.com>
3833
c2670533
JM
3834 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3835 move to syscalls.list.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3840
40e45bd5
JM
3841 * manual/install.texi (Running make install): Do not mention Linux
3842 kernel version for which pt_chown is not needed.
3843 (Linux): Do not mention problems with nscd with 2.0 kernels.
3844 * INSTALL: Regenerated.
3845
be08eda5
AJ
38462012-05-23 Andreas Jaeger <aj@suse.de>
3847
3848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3849 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3850 macro.
3851 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3852 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3853 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3854 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3855 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3856 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3857 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3858 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3860 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3861 * sysdeps/unix/sysv/linux/bits/in.h
3862 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3863
a6a056bb
RM
38642012-05-22 Roland McGrath <roland@hack.frob.com>
3865
3866 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3867 (PREPARE_VERSION): Just use assert instead, it will be elided
3868 under [NDEBUG] anyway.
3869
c9009328
L
38702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 * sysdeps/unix/sysv/linux/Makefile: Include
3873 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3874 (sysdep_routines): Remove sysctl.
c9009328
L
3875 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3876 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3877 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3878 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3879 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3880
73338355
AJ
38812012-05-22 Andreas Jaeger <aj@suse.de>
3882
3883 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3884 that pseudo_end is just ret and the stack pointer is correct also
3885 for static library in error case.
3886
d44638b0
PP
38872012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3888
3889 [BZ #14122]
3890 * nss/nsswitch.c (defconfig_entries): New variable.
3891 (__nss_database_lookup): Don't leak defconfig entries.
3892 (nss_parse_service_list): Don't leak on error paths.
3893 (free_database_entries): New function.
3894 (free_defconfig): New function.
3895 (free_mem): Move common code to free_database_entries.
3896
31a39bd8
L
38972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3898
da0331a8
L
3899 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3900 Add arch_prctl.
3901 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3902
31a39bd8
L
3903 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3904 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3906 New macro.
3907 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3908 (INTERNAL_SYSCALL_TYPES): Likewise.
3909 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3910 (LOAD_REGS_TYPES_[1-6]): Likewise.
3911 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3912 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3913
45470df3
AZ
39142012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3915
3916 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3917 copysignl for GLIBC_2_0.
3918 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3919 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3921 logbl for GLIBC_2_0.
3922 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3923 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3924
98a61bcb
L
39252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3926
a4f6e481
L
3927 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3928 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3929
f63d5db6
L
3930 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3931 Use "neg %eax".
3932
98a61bcb
L
3933 * time/mktime.c: Update copyright years.
3934
95770f14
PE
39352012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3936
6226efbd
PE
3937 mktime: merge comment-quoting-style change from gnulib
3938 * time/mktime.c: Quote 'like this' in comments.
3939 The GNU coding standards suggest that we no longer quote `like this',
3940 as "`" and "'" are typically rendered asymmetrically nowadays.
3941 The typical gnulib style is to quote 'like this' when quoting
3942 code, and "like this" when quoting English.
3943
b99e4f78
PE
3944 * time/mktime.c (compile-command): Add "-I.".
3945
643e01e6
PE
3946 mktime: merge mktime-internal.h change from gnulib
3947 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3948
2554247d
PE
3949 mktime: merge time_r change from gnulib
3950 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3951
826dd0ab
PE
3952 mktime: merge DEBUG change from gnulib
3953 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3954 case system <time.h> has a #define.
3955
bd83aabe
PE
3956 mktime: merge <sys/types.h> change from gnulib
3957 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3958 since <time.t> is now guaranteed to define time_t.
3959
95770f14
PE
3960 mktime: merge HAVE_CONFIG_H change from gnulib
3961 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3962
5e1a27a9
L
39632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3964
0e44a77e
L
3965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3966 Use "neg %eax".
3967
5e1a27a9
L
3968 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3969 __rlim_t cast.
3970 (struct rusage): Use anonymous union to pad each field to
3971 __syscall_slong_t.
3972
46259bec
DM
39732012-05-21 David S. Miller <davem@davemloft.net>
3974
3975 * Makefules (o-iterator): Remove .s cases.
3976 (compile-command.s): Delete.
3977 (COMPILE.s): Delete.
3978 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3979
59f0c22e
JM
39802012-05-21 Joseph Myers <joseph@codesourcery.com>
3981
3982 * configure.in (libc_cv_predef_stack_protector): Only consider
3983 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3984 * configure: Regenerated.
3985
20c07380
L
39862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3987
bbb3154b
L
3988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3989 New macro. Use R*LP on int and pointer.
3990 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
3991 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3992 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
3993 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3994
20c07380
L
3995 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3996 [__WORDSIZE_TIME64_COMPAT32] instead of
3997 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3998 (struct utmp): Likewise.
3999 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4000 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4001 Renamed to ...
4002 (__WORDSIZE_TIME64_COMPAT32): This.
4003 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4004 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4005 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4006 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4007 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4008 (__WORDSIZE_TIME64_COMPAT32): New macro.
4009
d8d1017e
AJ
40102012-05-21 Andreas Jaeger <aj@suse.de>
4011
4012 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4013 only if [SHARED]. Add prototype for __wcschr_ia32.
4014
6c7fb145
RM
40152012-05-21 Roland McGrath <roland@hack.frob.com>
4016
4017 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4018 of %rbp unmolested in the jmp_buf while mangling the low bits.
4019 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4020 unmolested high bits of %rbp while demangling the low bits.
4021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4022
66274218
AJ
40232012-05-21 Andreas Jaeger <aj@suse.de>
4024
07c58f8f
AJ
4025 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4026 * sunrpc/svc_simple.c: Use it for registerrpc.
4027 * sunrpc/xcrypt.c: Use it for passwd2des.
4028
66274218
AJ
4029 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4030
61f65140
L
40312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4032
4033 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4034 Don't define if [__SYSCALL_WORDSIZE != 32].
4035 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4036 New macro.
4037
5fefb436
AJ
40382012-05-21 Bruno Haible <bruno@clisp.org>
4039 Andreas Jaeger <aj@suse.de>
4040
4041 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4042 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4043 inptr and inend for must_buffer_ch.
4044 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4045 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4046 * stdio-common/Makefile (tests): Remove bug15.
4047 (bug15-ENV): Remove macro.
4048 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4049 anymore.
4050
d8e272ab
AJ
40512012-05-19 Andreas Jaeger <aj@suse.de>
4052 Roland McGrath <roland@hack.frob.com>
4053
4054 * manual/contrib.texi: Completely rewritten. It contains now an
4055 alphabetical list of contributors and their contributions.
4056
4a56a162
RH
40572012-05-21 Richard Henderson <rth@twiddle.net>
4058
4059 * misc/getauxval.c (__getauxval): Use unsigned long int.
4060 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4061 (getauxval): Use unsigned long int.
4062
d024d23c
L
40632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4064
4065 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4066
cbc00a03
RM
40672012-05-21 Roland McGrath <roland@hack.frob.com>
4068
4069 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4070 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4071 __alignof__ (long double).
4072
478143fa
AZ
40732012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4074
4075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4076
c7683a6d
RH
40772012-05-20 Richard Henderson <rth@twiddle.net>
4078
4079 * misc/getauxval.c: New file.
4080 * misc/sys/auxv.h: New file.
4081 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4082 (routines): Add getauxval.
4083 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4084 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4085 * elf/dl-sysdep.c (_dl_auxv): Remove.
4086 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4087 * elf/dl-support.c (_dl_auxv): New variable.
4088 (_dl_aux_init): Initialize it.
4089 * manual/startup.texi (Auxiliary Vector): New node.
4090 * sysdeps/generic/bits/hwcap.h: New file.
4091 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4092 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4093 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4094 * sysdeps/sparc/sysdep.h: ... here. Include it.
4095 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4098 Update.
c7683a6d
RH
4099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4107
a6f1845d
AZ
41082012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4109
4110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4111
cbcbe830
DM
41122012-05-19 David S. Miller <davem@davemloft.net>
4113
4114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4115
e0b16cc2
JM
41162012-05-19 Joseph Myers <joseph@codesourcery.com>
4117
4118 [BZ #14123]
4119 * math/s_ccosh.c: Include <float.h>
4120 (__ccosh): Avoid internal overflow calculating sinh and cosh
4121 values before multiplying by sin and cos values.
4122 * math/s_ccoshf.c: Likewise.
4123 * math/s_ccoshl.c: Likewise.
4124 * math/s_csin.c: Likewise.
4125 * math/s_csinf.c: Likewise.
4126 * math/s_csinl.c: Likewise.
4127 * math/s_csinh.c: Likewise.
4128 * math/s_csinhf.c: Likewise.
4129 * math/s_csinhl.c: Likewise.
4130 * math/libm-test.inc (ccos_test): Add more tests.
4131 (ccosh_test): Likewise.
4132 (csin_test): Likewise.
4133 (csinh_test): Likewise.
4134 * sysdeps/i386/fpu/libm-test-ulps: Update.
4135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4136
6ad13e08
L
41372012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4138
f66f0ce8
L
4139 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4140 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4141
6ad13e08
L
4142 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4143
b1d072a7
JM
41442012-05-19 Joseph Myers <joseph@codesourcery.com>
4145
4146 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4147 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4148 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4149 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4150 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4151 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4152 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4153 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4154 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4155 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4156 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4157 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4158 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4159 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4160 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4161 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4162 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4163 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4164 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4165 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4166 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4167 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4168 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4169 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4170 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4171 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4172 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4173 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4174 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4175 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4176 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4177
9eae47cb
AJ
41782012-05-18 Andreas Jaeger <aj@suse.de>
4179
4180 * csu/.gitignore: Delete.
4181
bb07f69f
L
41822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4183
4184 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4185 (timex): Use __syscall_slong_t.
4186
e6bdb741
AJ
41872012-05-18 Andreas Jaeger <aj@suse.de>
4188 Carlos O'Donell <carlos_odonell@mentor.com>
4189
4190 * manual/install.texi (Configuring and compiling): Update
4191 description about files modified in the source directory.
d6c33fda 4192 * INSTALL: Regenerated.
e6bdb741 4193
1b74487e
L
41942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4195
4196 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4197 value. Use "or" to set return value to -1.
4198 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4199 negate return value.
4200
a88b64b9
TMQMF
42012012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4202
4203 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4204 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4205 failure if the compiler has Graphite support disabled.
4206 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4207 Likewise.
4208 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4209 CFLAGS-memmove.c): Likewise.
4210 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4211 Likewise.
4212
3707636e
L
42132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4214
610b8622
L
4215 * sysdeps/x86_64/x32/_itoa.h: New file.
4216
7cd195df
L
4217 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4218 getdents system call only if kernel and user dirents have the
4219 same d_ino and d_off.
4220
94b07d20
L
4221 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4222 LLONG_MAX != LONG_MAX.
4223 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4224 (_fitoa_word): Likewise.
4225
18298070
L
4226 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4227 years.
4228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4229 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4230 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4231
553c7ea4
L
4232 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4233 include <bits/wordsize.h>. Check __x86_64__ instead of
4234 __WORDSIZE.
4235 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4236 if __x86_64__ is defined. Use anonymous union on fpstate.
4237
3707636e
L
4238 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4239 anonymous union.
4240
b53ef01a
AS
42412012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4242
37fb1dc0
AS
4243 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4244 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4245 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4246 Refer to _rtld_local_ro instead of _rtld_global_ro.
4247 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4248 Likewise.
4249 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4250 Likewise.
4251 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4252 Likewise.
4253 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4254 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4255 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4256
b53ef01a
AS
4257 * sysdeps/powerpc/powerpc32/dl-machine.c
4258 (__elf_machine_runtime_setup) [PROF]: Don't reference
4259 _dl_prof_resolve.
4260
7a185db2
AJ
42612012-05-18 Andreas Jaeger <aj@suse.de>
4262
4263 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4264 function only available for GCCs before 3.4 since GCC 3.4
4265 introduced a builtin.
4266 (lrint): Likewise.
4267 (llrintf): Likewise.
4268 (llrint): Likewise.
4269 (fmaxf): Likewise.
4270 (fmax): Likewise.
4271 (fminf): Likewise.
4272 (fmin): Likewise.
4273 (rint): Likewise.
4274 (rintf): Likewise.
4275 (nearbyint): Likewise.
4276 (nearbyintf): Likewise.
4277 (ceil): Likewise.
4278 (ceilf): Likewise.
4279 (floor): Likewise.
4280 (floorf): Likewise.
4281
3e5aef87
L
42822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4283
428bd707
L
4284 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4285 on both fields and cast pointer to __syscall_ulong_t.
4286
3e5aef87
L
4287 * bits/types.h (__fsword_t): New type.
4288 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4289 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4291 (__FSWORD_T_TYPE): Likewise.
4292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4293 (__FSWORD_T_TYPE): Likewise.
4294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4295 (__FSWORD_T_TYPE): Likewise.
4296 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4297 (__FSWORD_T_TYPE): Likewise.
4298 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4299 __SWORD_TYPE with __fsword_t.
4300 (statfs64): Likewise.
4301
1ba7c3dc
DM
43022012-05-17 David S. Miller <davem@davemloft.net>
4303
4304 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4305
59910343
AJ
43062012-05-17 Andreas Jaeger <aj@suse.de>
4307
4308 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4309 warning.
4310
2e4c1e9e
L
43112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4312
4313 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4314
de7f5ce7
AJ
43152012-05-17 Andreas Jaeger <aj@suse.de>
4316
4317 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4318 when it is used.
4319
286abc3d
CM
43202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4321
4322 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4323
477cc68e
L
43242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4325
4326 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4327 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4328
1a0994f5
CD
43292012-05-17 Andreas Jaeger <aj@suse.de>
4330 Carlos O'Donell <carlos_odonell@mentor.com>
4331
4332 [BZ #14059]
4333 * sysdeps/x86_64/multiarch/init-arch.h
4334 (bit_YMM_Usable): Rename to...
4335 (bit_AVX_Usable): ... this.
4336 (bit_FMA4_Usable): New macro.
4337 (bit_XMM_state): New macro.
4338 (bit_YMM_state): New macro.
4339 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4340 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4341 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4342 (CPUID_OSXSAVE): New macro.
4343 (CPUID_AVX): New macro.
4344 (CPUID_FMA4): New macro.
4345 (index_YMM_Usable): Rename to...
4346 (index_AVX_Usable): ... this.
4347 (HAS_AVX): Use HAS_ARCH_FEATURE.
4348 (HAS_FMA4): Likewise.
4349 (HAS_YMM_USABLE): Remove.
4350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4351 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4352 are present.
4353 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4354 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4355 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4356 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4357 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4358
0af797de
CM
43592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4360
4361 * math/libm-test.c: Support platforms without multiple rounding modes.
4362 * math/bug-nextafter.c: Support platforms without FP exceptions.
4363 * math/bug-nexttoward.c: Likewise.
4364 * math/test-fenv.c: Likewise.
4365 * math/test-misc.c: Likewise.
4366 * stdlib/bug-getcontext.c: Likewise.
4367
e39745ff
AJ
43682012-05-17 Andreas Jaeger <aj@suse.de>
4369
4370 * manual/examples/search.c (critter_cmp): Change signature to
4371 avoid warnings.
4372 * manual/string.texi (Collation Functions): Likewise.
4373
48970aba
L
43742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4375
4376 * bits/types.h: Fold copyright years.
4377 * bits/typesizes.h: Likewise.
4378 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4382 * time/time.h: Likewise.
4383
bedee953
PP
43842012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4385
4386 [BZ #208]
4387 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4388 in instead of returning them. Return void.
4389 (__libc_mallinfo): Accumulate over all arenas.
4390 (__malloc_stats): Adjust for change in int_mallinfo interface.
4391
61653dfb
RM
43922012-05-16 Roland McGrath <roland@hack.frob.com>
4393
30b99d79
RM
4394 [BZ #10375]
4395 * configure.in (NM): Add AC_CHECK_TOOL for it.
4396 (libc_extra_cflags): New substituted variable.
4397 Check for -fstack-protector being used implicitly.
4398 * configure: Regenerated.
4399 * config.make.in (config-extra-cflags): New variable,
4400 gets @libc_extra_cflags@.
4401 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4402
61653dfb
RM
4403 [BZ #10375]
4404 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4405 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4406 * configure: Regenerated.
4407 * config.make.in (CPPUNDEFS): New substituted variable.
4408 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4409 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4410 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4411
661768bb
L
44122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4413
4414 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4415 (mq_attr): Use __syscall_slong_t.
4416
d4261567
L
44172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4418
4419 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4420 Check __x86_64__ instead of __WORDSIZE.
4421 (_STAT_VER_LINUX): Likewise.
4422 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4423 __syscall_ulong_t and __syscall_slong_t.
4424 (stat64): Likewise.
4425
cf3ff365
L
44262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4427
4428 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4429
76cf3e4d
L
44302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4431
4432 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4433
a637753a
L
44342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4435
4436 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4437 __syscall_ulong_t.
4438
d5e05119
L
4439 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4440 include <bits/wordsize.h>. Check __x86_64__ instead of
4441 __WORDSIZE.
4442 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4443 defined.
4444 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4445
f62ee380
L
4446 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4447 include <bits/wordsize.h>. Check __x86_64__ instead of
4448 __WORDSIZE.
4449 (user_regs_struct): Use "__extension__ unsigned long long"
4450 instead of "unsigned long" if __x86_64__ is defined.
4451 (user): Likewise. Pad after pointer field if __ILP32__ is
4452 defined.
4453
4e124ced
JM
44542012-05-16 Joseph Myers <joseph@codesourcery.com>
4455
6a3951a0
JM
4456 * configure.in (makeinfo): Require version 4.5 or later. Allow
4457 versions 5 to 9.
4458 * configure: Regenerated.
4459 * manual/install.texi (texinfo): Increase version requirement to
4460 4.5 or later.
4461 * INSTALL: Regenerated.
4462
4e124ced
JM
4463 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4464
953ca31a
L
44652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4466
4467 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4468
617aca05
L
4469 * sysdeps/x86_64/x32/ffs.c: New file.
4470
5762f7ae
L
4471 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4472 __syscall_ulong_t.
4473 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4474 defined. Use __syscall_ulong_t.
4475 (shminfo): Use __syscall_ulong_t.
4476 (shm_info): Likewise.
4477
a26b6856
L
4478 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4479 __syscall_ulong_t.
4480
cb2b9ef7
L
4481 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4482 <bits/wordsize.h>.
4483 (msgqnum_t): Use __syscall_ulong_t.
4484 (msglen_t): Likewise.
4485 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4486 __syscall_ulong_t.
4487
34683bb0
L
4488 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4490
84a68786
L
4491 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4492
48baa5f1
L
4493 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4494 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4495
180be88b
L
4496 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4497 __syscall_slong_t.
4498
5e90c8ad
L
4499 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4500 include <bits/wordsize.h>. Check __x86_64__ instead of
4501 __WORDSIZE.
4502
23dfb58b
L
4503 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4504 "unsigned long long int" if __x86_64__ is defined.
4505 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4506
ce5d54b0
L
4507 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4508 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4509 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4510
13dc9eac
L
4511 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4512 <stdint.h>.
4513 (GET_PC): Cast to uintptr_t first.
4514 (GET_FRAME): Likewise.
4515 (GET_STACK): Likewise.
4516
a7895d15
L
4517 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4518 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4519 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4520 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4521 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4522 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4523 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4524 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4525 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4526 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4527 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4528 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4529 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4530 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4531 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4532 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4533 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4534 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4535 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4536 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4537 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4538 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4540 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4541 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4542 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4543 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4544 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4545 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4546
656416c9
AS
45472012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4548
5bd66283
AS
4549 * Makerules (+depfiles): Also collect depfiles from .oS in
4550 $(extra-objs).
4551 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4552 .oS, $(libnldbl-routines)).
4553
656416c9
AS
4554 * Makerules (native-compile-mkdep-flags): Define.
4555 * sunrpc/Makefile (extra-objs): Add $(addprefix
4556 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4557 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4558 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4559 calling $(make-target-directory).
4560
a46f2169
L
45612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4562
4563 * bits/types.h (__snseconds_t): Removed.
4564 * time/time.h (struct timespec): Replace __snseconds_t with
4565 __syscall_slong_t.
4566 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4567 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4568 Likewise.
4569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4570 (__SNSECONDS_T_TYPE): Likewise.
4571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4572 (__SNSECONDS_T_TYPE): Likewise.
4573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4574 (__SNSECONDS_T_TYPE): Likewise.
4575
6af6528b
L
45762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 * sysdeps/mach/hurd/bits/typesizes.h
4579 (__SYSCALL_SLONG_TYPE): New macro.
4580 (__SYSCALL_ULONG_TYPE): Likewise.
4581
de986b56
L
45822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4583
4584 * bits/types.h (__syscall_slong_t): New type.
4585 (__syscall_ulong_t): Likewise.
4586
4587 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4588 (__SYSCALL_ULONG_TYPE): Likewise.
4589 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4590 (__SYSCALL_SLONG_TYPE): Likewise.
4591 (__SYSCALL_ULONG_TYPE): Likewise.
4592 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4593 (__SYSCALL_SLONG_TYPE): Likewise.
4594 (__SYSCALL_ULONG_TYPE): Likewise.
4595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4596 (__SYSCALL_SLONG_TYPE): Likewise.
4597 (__SYSCALL_ULONG_TYPE): Likewise.
4598
85736dc7
L
45992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4600
4601 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4602 Add sigaltstack-offsets.sym.
4603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4604 <sigaltstack-offsets.h>.
4605 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4606 longjmp_msg pointer.
4607 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4608 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4609 signal stack.
4610 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4611
cc03b296
JM
46122012-05-15 Joseph Myers <joseph@codesourcery.com>
4613
a9538892
JM
4614 * elf/stackguard-macros.h: Remove file.
4615 * sysdeps/generic/stackguard-macros.h: New file.
4616 * sysdeps/i386/stackguard-macros.h: Likewise.
4617 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4618 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4619 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4620 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4621 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4622 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4623 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4624 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4625 <elf/stackguard-macros.h>.
4626
cc03b296
JM
4627 [BZ #14109]
4628 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4629 __aligned__ in attribute.
4630 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4631 (gregset_t): Likewise.
4632
93171016
L
46332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4634
4635 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4636 * sysdeps/x86_64/64/Implies-after: Here. New file.
4637 * sysdeps/x86_64/x32/Implies-after: New file.
4638
d86813a0
L
46392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4640
4641 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4642 and access return value for _dl_profile_fixup. Use R10_LP to
4643 load frame size.
4644
2953ec75
L
46452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4646
4647 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4648
3b550e9e
L
46492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4650
4651 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4652 * sysdeps/x86_64/x32/sysdep.h: New file.
4653
eda41706
L
46542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4655
4656 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4657 * sysdeps/x86_64/setjmp.S: Likewise.
4658
9ea01d93
AZ
46592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4660
4661 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4662 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4663 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4664 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4665 remove unused global constant.
4666
02a91938
CM
46672012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4668
4669 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4670 include of <not-cancel.h>.
4671
6540185f
RM
46722012-05-15 Roland McGrath <roland@hack.frob.com>
4673
4674 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4675
509072a0
AJ
46762012-05-15 Jeff Law <law@redhat.com>
4677 Andreas Jaeger <aj@suse.de>
4678
4679 [BZ #13594]
4680 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4681 out from...
4682 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4683 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4684 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4685 code changing __hst_map_handle.map.
4686
ba75122d
RM
46872012-05-15 Roland McGrath <roland@hack.frob.com>
4688
4689 * configure.in (sysnames): Look for Implies-before and Implies-after
4690 files.
4691 * configure: Regenerated.
4692
890d8bd8
L
46932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4694
4695 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4696 8-byte data alignment with LP_SIZE alignment.
4697
f6ee6623
L
46982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4699
4700 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4701 into R10_LP.
4702
ea2626f6
L
47032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4704
4705 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4706
085f715e
L
47072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4708
4709 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4710 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4711 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4712 Likewise.
4713 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4714
be8498fc
L
47152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4716
4717 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4718 (stackinfo_sub_sp): Likewise.
4719
70bc83b9
L
47202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4721
4722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4723 RAX_LP.
4724
9bc0b730
L
47252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4726
4727 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4728 into R*_LP.
4729
6d2850e7
L
47302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4731
4732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4733 sizes into R*_LP.
4734
3cb84561
L
47352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4736
4737 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4738
54e2ed81
L
47392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4740
4741 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4742 into R11_LP and load __x86_64_shared_cache_size_half into
4743 R8_LP.
4744
8a17f349
L
47452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4746
4747 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4748 R8_LP.
4749
777b1eea
AZ
47502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4751
4752 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4753 logb for POWER7.
4754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4755 logbf for POWER7.
4756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4757 logbl for POWER7.
4758 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4759 powerpc32/power7/fpu/s_logb.c via #include.
4760 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4761 powerpc32/power7/fpu/s_logbf.c via #include.
4762 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4763 powerpc32/power7/fpu/s_logbl.c via #include.
4764
d20d4ac2
JM
47652012-05-15 Joseph Myers <joseph@codesourcery.com>
4766
4767 * README.libm: Remove file.
4768
6cdef1ab
L
47692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4770
4771 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4772 count for x32. Use R*_LP and omit operand-size suffix.
4773
0b254d8f
L
47742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4775
4776 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4777 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4778 * sysdeps/x86_64/x32/shlib-versions: New file.
4779
ceb809dc
RM
47802012-05-14 Roland McGrath <roland@hack.frob.com>
4781
4782 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4783 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4784 Use _dl_fatal_printf instead.
4785
37f1abd4
JM
47862012-05-14 Joseph Myers <joseph@codesourcery.com>
4787
4788 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4789 set if not set by the user. Do not allow for being unset.
4790 * sysdeps/unix/sysv/linux/configure: Regenerated.
4791
11de3a33
L
47922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4793
4794 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4795 the `q' suffix from lea and replace .quad with ASM_ADDR.
4796
e02f153a
L
47972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4798
4799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4800 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4801 instead of $17.
4802 (PTR_DEMANGLE): Likewise.
4803
520ae0fd
L
48042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4805
4806 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4807 (LP_OP): Likewise.
4808 (ASM_ADDR): Likewise.
4809 (RAX_LP): Likewise.
4810 (RBP_LP): Likewise.
4811 (RBX_LP): Likewise.
4812 (RCX_LP): Likewise.
4813 (RDI_LP): Likewise.
4814 (RSI_LP): Likewise.
4815 (RSP_LP): Likewise.
4816 (R8_LP): Likewise.
4817 (R9_LP): Likewise.
4818 (R10_LP): Likewise.
4819 (R10_LP): Likewise.
4820 (R11_LP): Likewise.
4821 (R12_LP): Likewise.
4822 (R13_LP): Likewise.
4823 (R14_LP): Likewise.
4824 (R15_LP): Likewise.
4825
b985be81
L
48262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4827
4828 * sysdeps/x86_64/x32/dl-machine.h: New file.
4829
6a4888ff
AJ
48302012-05-14 Andreas Jaeger <aj@suse.de>
4831
4832 * manual/Makefile (subdir): Remove export of subdir.
4833 (all): Remove target.
4834 (.PHONY): Remove all from list.
4835 (mkinstalldirs): Remove.
4836 (.PHONY): Remove installdirs from list.
4837 ($(inst_infodir)/libc.info): Use make-target-directory.
4838 (installdirs): Remove.
4839 (subdir_%): Remove.
4840 (glibc-targets): Remove.
4841 (lib): Remove.
4842 (stubs): Remove.
4843 ($(objpfx)stubs ../po/manual.pot): Remove.
4844 ($(objpfx)stamp%): Remove.
4845 (make-target-directory): Remove.
4846 (subdir_install): Remove.
4847 (routines): Remove.
4848 (aux): Remove.
4849 (sources): Remove.
4850 (objects): Remove.
4851 (headers): Remove.
4852
4853 [BZ #13750]
4854 * manual/.gitignore: Remove, it's not needed anymore.
4855 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4856 all files in it.
4857 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4858 directory.
4859 (texis): Renamed to $(objpfx)texis.
4860 (texis-path): New, contains path to generated files.
4861 (chapters.%): Use texis-path for complete path, add extra argument
4862 libc-texinfo.sh.
4863 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4864 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4865 (summary,texi, stamp-summary): Use complete path of
4866 files. Generate files in build dir.
4867 (dir-add.texi): Build in build dir.
4868 (libm-err.texi,stamp-libm-err): Likewise.
4869 (version.texi, stamp-version): Likewise.
4870 (.%c.texi): Likewise.
4871 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4872 (mostlyclean): Remove target.
4873 (realclean): Remove target.
4874 (generated): Add new variable with contents from mostlyclean and
4875 realclean, remove entries duplicated in common-mostlyclean, add
4876 stamp-libm-err and stamp-version.
4877 (generated-dirs): Add libc directory.
4878 ($(inst_infodir)/libc.info): Install files from build dir.
4879
4880 * manual/install.texi (Configuring and compiling): Adjust since
4881 the info files are not part of the tar ball anymore.
4882
7ac77294
AJ
48832012-05-14 Andreas Jaeger <aj@suse.de>
4884
4885 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4886 variable.
4887
ffb7875d
JM
48882012-05-14 Joseph Myers <joseph@codesourcery.com>
4889
4890 [BZ #13717]
4891 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4892 to 2.2.0 where earlier.
4893 * sysdeps/unix/sysv/linux/configure: Regenerated.
4894 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4895 Remove conditional code.
4896 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4897 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4898 Remove conditional code.
4899 [!__NR_lchown]: Likewise.
4900 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4901 [__NR_lchown]: Likewise.
4902 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4903 comment referencing __ASSUME_LCHOWN_SYSCALL.
4904 * sysdeps/unix/sysv/linux/i386/sigaction.c
4905 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4906 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4907 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4908 Remove conditional code.
4909 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4910 (__protocol_available): Remove #if 0 code.
4911 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4912 conditional code.
4913 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4914 * sysdeps/unix/sysv/linux/kernel-features.h
4915 (__ASSUME_GETCWD_SYSCALL): Don't define.
4916 (__ASSUME_REALTIME_SIGNALS): Likewise.
4917 (__ASSUME_PREAD_SYSCALL): Likewise.
4918 (__ASSUME_PWRITE_SYSCALL): Likewise.
4919 (__ASSUME_POLL_SYSCALL): Likewise.
4920 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4921 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4922 non-SPARC.
4923 (__ASSUME_SIOCGIFNAME): Don't define.
4924 (__ASSUME_MSG_NOSIGNAL): Likewise.
4925 (__ASSUME_SENDFILE): Define unconditionally.
4926 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4927 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4928 conditional code.
4929 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4930 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4931 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4932 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4933 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4934 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4935 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4937 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4938 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4940 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4943 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4944 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4946 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4947 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4949 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4950 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4952 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4955 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4956 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4958 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4960 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4961 Remove conditional code.
4962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4963 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4964 Remove conditional code.
4965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4966 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4967 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4968 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4969 Remove conditional code.
4970 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4971 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4972 Remove conditional code.
4973 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4974 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4975 Remove conditional code.
4976 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4977 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4978 Remove conditional code.
4979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4980 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4981 Remove conditional code.
4982 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4983 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4984 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4986 * sysdeps/unix/sysv/linux/sigaction.c
4987 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4988 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4989 * sysdeps/unix/sysv/linux/sigpending.c
4990 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4991 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4992 * sysdeps/unix/sysv/linux/sigprocmask.c
4993 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4994 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4995 * sysdeps/unix/sysv/linux/sigsuspend.c
4996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4998 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4999 (__libc_missing_rt_sigs): Remove.
5000 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5001 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5002 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5003 Remove conditional code.
5004 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5005 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5006 return 1.
5007 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5008 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5009 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5010 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5011
1bfb7291
AJ
50122012-05-14 Andreas Jaeger <aj@suse.de>
5013
caae5a81
AJ
5014 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5015 it's not used in glibc.
5016 (__coshm1): Likewise.
5017 (__acosh1p): Likewise.
5018 (__sgn): Likewise.
5019
1bfb7291
AJ
5020 * manual/string.texi (Copying and Concatenation): Add missing
5021 variable in concat example.
5022 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5023
c044d724
L
50242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5025
144c5467 5026 [BZ #14103]
c044d724
L
5027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5028 __builtin_clzl with __builtin_clzll.
5029
2523c62b
L
50302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5031
5032 [BZ #14104]
5033 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5034 libc_freeres_ptr.
5035
d7bb4c42
LD
50362012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5037
5038 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5039 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5040 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5041 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5042
9dc4e1fb
MF
50432012-05-14 Mike Frysinger <vapier@gentoo.org>
5044
5045 * NEWS: Update ia64 info.
5046
c7df0112
AS
50472012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5048
5049 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5050 used as bcopy.
5051
dc70356c
TS
50522012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5053
5054 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5055 * sysdeps/unix/syscalls.list (dup3): Likewise.
5056 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5057 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5058
9fb1a21f
L
50592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5060
5061 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5062 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5063
4822a2a5
L
50642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5065
5066 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5067 thread pointer.
5068 (TLS_IE): Use mov/add instead of movq/addq to load thread
5069 pointer.
5070 (TLS_GD_PREFIX): New.
5071 (TLS_GD): Use it.
5072
842b81d6
DM
50732012-05-11 David S. Miller <davem@davemloft.net>
5074
5075 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5076 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5077 (_FPU_SETCW): Likewise.
5078
1cf463cd
L
50792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5080
5081 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5082 is 32-byte aligned.
5083
60cc4a18
AS
50842012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5085
5086 [BZ #11837]
5087 * iconvdata/gb18030.c: Update tables.
5088 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5089 characters specially.
5090 (BODY for TO_LOOP): Add encoding of missing ranges.
5091
febb44a4
TS
50922012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5093
5094 [BZ #13673]
5095 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5096 * sysdeps/mach/hurd/dup3.c: Likewise.
5097 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5098 * sysdeps/powerpc/memmove.c:: Likewise.
5099
0a10fb9e
L
51002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5101
5102 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5103 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5104
df8a552f
L
51052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5106
5107 * elf/elf.h (R_X86_64_RELATIVE64): New.
5108 (R_X86_64_NUM): Updated.
5109 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5110 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5111 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5112 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5113 tst-quad1pie tst-quad2pie
5114 (modules-names): Add tst-quadmod1 tst-quadmod2.
5115 ($(objpfx)tst-quad1): New dependency.
5116 ($(objpfx)tst-quad2): Likewise.
5117 ($(objpfx)tst-quad1pie): Likewise.
5118 ($(objpfx)tst-quad2pie): Likewise.
5119 * sysdeps/x86_64/tst-quad1.c: New file.
5120 * sysdeps/x86_64/tst-quad1pie.c: New file.
5121 * sysdeps/x86_64/tst-quad2.c: Likewise.
5122 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5123 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5124 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5125 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5126 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5127
f34d6f84
ST
51282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5129
f42d41d1
ST
5130 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5131 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5132 * streams/stropts.h (t_scalar_t): Define type.
5133
3c3571fc
ST
5134 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5135 (_PATH_PRESERVE): Set to "/var/lib".
5136 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5137
61f06bd3
ST
5138 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5139 instead of int.
5140
918d4d71
ST
5141 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5142 if __dir_mkfile succeeded.
5143
f34d6f84
ST
5144 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5145 checking for _hurd_dtablesize. Unlock it right after having
5146 finished _hurd_dtable allocation.
5147
10589b4a
TS
51482012-05-10 Thomas Schwinge <thomas@schwinge.name>
5149
674cdbc7
TS
5150 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5151 * sysdeps/mach/hurd/configure: Regenerated.
5152 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5153 special-casing to...
5154 * sysdeps/gnu/configure.in: ... this new file.
5155 * sysdeps/unix/sysv/linux/configure: Regenerated.
5156 * sysdeps/gnu/configure: New generated file.
5157
8e41b99f
TS
5158 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5159 for Linux: use nsec instead of usec, as well as:
5160 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5161 members of type struct timespec.
5162 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5163 New macros.
5164 (struct stat64): Likewise.
5165 (_STATBUF_ST_NSEC): New macro.
5166 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5167
10589b4a
TS
5168 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5169 __strtoul_internal rather than strtoul.
5170
63643c85
PT
51712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5172
5173 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5174 and reject them.
5175
3faebe6a
ST
51762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5177
5178 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5179 which preserves existing values.
5180 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5181
c6474b07
PT
51822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5183
5184 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5185 TIMEOUT values. Return EINVAL for NFDS values either negative or
5186 greater than FD_SETSIZE.
5187
1043890b
ST
51882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5189
5190 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5191 allocated, call __vm_protect to finish enabling the existing space, and
5192 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5193 allocate the remainder.
5194
37ed8b9b
PT
51952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5196
5197 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5198 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5199
db653660
ST
52002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5201
37ed8b9b
PT
5202 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5203 sysdeps/mach/hurd/readlink.c.
b29d4053 5204
db653660
ST
5205 * posix/tst-sysconf.c (posix_options): Only use
5206 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5207 _POSIX_SYNCHRONIZED_IO when they are defined
5208 * sysdeps/mach/hurd/bits/posix_opt.h:
5209 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5210 (_XOPEN_REALTIME): Undefine macro.
5211 (_XOPEN_REALTIME_THREADS): Undefine macro.
5212 (_XOPEN_SHM): Undefine macro.
5213 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5214 macro to -1.
5215 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5216 macro to -1.
5217 (_POSIX_ASYNC_IO): Undefine macro.
5218 (_POSIX_PRIORITIZED_IO): Undefine macro.
5219 (_POSIX_SPIN_LOCKS): Define macro to -1.
5220
ee16e894
ST
5221 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5222 SA_NODEFER, SA_RESETHAND.
5223 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5224 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5225 F_DUPFD_CLOEXEC.
5226
6103ae3b
TS
52272012-05-10 Thomas Schwinge <thomas@schwinge.name>
5228
5229 * elf/Makefile (pldd-modules): Define unconditionally.
5230
80b4e5f3
TS
52312012-05-10 Thomas Schwinge <thomas@schwinge.name>
5232
5233 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5234
edadcbd6
ST
52352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5236
5237 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5238 Return ENOENT when name is empty.
5239 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5240
80694780
TS
52412012-05-10 Thomas Schwinge <thomas@schwinge.name>
5242
1792c087
TS
5243 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5244
80694780
TS
5245 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5246
6b645f0d
ST
52472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5248
80694780
TS
5249 Fix mlock in all cases except non-readable pages.
5250 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5251 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5252
6b645f0d
ST
5253 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5254 (__mkdir): When path is `/', just fail with EEXIST.
5255 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5256
e468f8a3
TS
52572012-05-10 Thomas Schwinge <thomas@schwinge.name>
5258
5259 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5260 <sys/uio.h> (for writev).
5261 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5262 and <sys/param.h> (for MIN).
5263
a4186cff
PT
52642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5265
5266 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5267 REQUESTED_TIME. Properly set the remaining time and return EINTR
5268 if interrupted.
5269
510bbf14
TS
52702012-05-10 Thomas Schwinge <thomas@schwinge.name>
5271
5272 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5273 Depend on against $(link-rpcuserlibs).
5274
5d5722e8
ST
52752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5276
a4186cff
PT
5277 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5278 (__libc_stack_end): Do not use attribute_relro.
5279 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5280 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5281 to libthread-provided value.
a4186cff
PT
5282 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5283 attribute_relro.
5d5722e8 5284
37233df9
TS
52852012-05-10 Thomas Schwinge <thomas@schwinge.name>
5286
be971a2b
TS
5287 [BZ #3748]
5288 * bits/libc-lock.h (__libc_once_get): New macro.
5289 * sysdeps/mach/bits/libc-lock.h: Likewise.
5290 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5291 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5292 instead of using implementation details.
5293
37233df9
TS
5294 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5295 * libio/freopen.c: Likewise.
5296 * libio/freopen64.c: Likewise.
5297 * misc/syslog.c: Likewise.
5298 * nscd/connections.c: Likewise.
5299 * nscd/netgroupcache.c: Likewise.
5300 * sysdeps/posix/getcwd.c: Likewise.
5301
38de94a5
RM
53022012-05-10 Roland McGrath <roland@hack.frob.com>
5303
5304 * math/w_ilogbf.c: Add #include <limits.h>.
5305
67530489
ST
53062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5307
a4186cff 5308 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5309 path instead of returning without unlocking.
5310
67530489
ST
5311 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5312 immediate-write ioctls.
5313 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5314
5aa3a74a
TS
53152012-05-10 Thomas Schwinge <thomas@schwinge.name>
5316
18bad2ae
TS
5317 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5318 __builtin_frame_address instead of making assumptions about the
5319 location of the return address relative to DATA. Force early load of
5320 the return address.
5321 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5322 __builtin_frame_address.
5323
5aa3a74a
TS
5324 dup3 for GNU Hurd.
5325 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5326 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5327 implement dup3 and do some further code clean-ups.
5328 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5329 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5330
ecd0de9a
ST
53312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5332
cd9fa985
ST
5333 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5334
a4186cff
PT
5335 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5336 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5337 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5338 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5339 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5340 d->port.lock.
802ca5a5 5341
a4186cff
PT
5342 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5343 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5344 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5345
bcf55240
TS
53462012-05-10 Thomas Schwinge <thomas@schwinge.name>
5347
6960eb42
TS
5348 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5349 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5350 definitions.
5351
eb43375f
TS
5352 accept4 for GNU Hurd.
5353 * include/sys/socket.h (__libc_accept4): New prototype.
5354 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5355 to implement __libc_accept4.
5356 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5357 __libc_accept4.
5358 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5359
bcf55240
TS
5360 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5361 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5362 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5363 signal-defines.sym.
5364
6178c55b
ST
53652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5366
a4186cff 5367 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5368
6f080c2f
TS
53692012-05-10 Thomas Schwinge <thomas@schwinge.name>
5370
5371 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5372 assertion on O_CLOEXEC flag.
5373 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5374 * hurd/intern-fd.c: Likewise.
5375 * hurd/port2fd.c: Likewise.
5376
bcfe3a54
ST
53772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5378
5379 [BZ #3906]
5380 * bits/in.h (IPV6_PKTINFO): Define new macro.
5381 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5382
89c9aa49
AZ
53832012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5384
5385 [BZ #13954]
5386 [BZ #13955]
5387 [BZ #13956]
5388 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5390 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5391 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5392 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5393 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5394 * math/libm-test.inc (logb_test) : Additional logb tests.
5395
021db4be
AJ
53962012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5397 Andreas Jaeger <aj@suse.de>
5398
5399 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5400 * configure: Regenerated.
5401 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5402 * config.make.in (link-obsolete-rpc): New substituted variable.
5403 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5404 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5405 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5406 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5407 so that libc.a contains the symbols.
5408 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5409 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5410 * sunrpc/auth_none.c: Likewise.
5411 * sunrpc/auth_unix.c: Likewise.
5412 * sunrpc/authdes_prot.c: Likewise.
5413 * sunrpc/authuxprot.c: Likewise.
5414 * sunrpc/clnt_gen.c: Likewise.
5415 * sunrpc/clnt_perr.c: Likewise.
5416 * sunrpc/clnt_raw.c: Likewise.
5417 * sunrpc/clnt_simp.c: Likewise.
5418 * sunrpc/clnt_tcp.c: Likewise.
5419 * sunrpc/clnt_udp.c: Likewise.
5420 * sunrpc/clnt_unix.c: Likewise.
5421 * sunrpc/des_crypt.c: Likewise.
5422 * sunrpc/des_soft.c: Likewise.
5423 * sunrpc/get_myaddr.c: Likewise.
5424 * sunrpc/key_call.c: Likewise.
5425 * sunrpc/key_prot.c: Likewise.
5426 * sunrpc/netname.c: Likewise.
5427 * sunrpc/pm_getmaps.c: Likewise.
5428 * sunrpc/pm_getport.c: Likewise.
5429 * sunrpc/pmap_clnt.c: Likewise.
5430 * sunrpc/pmap_prot.c: Likewise.
5431 * sunrpc/pmap_prot2.c: Likewise.
5432 * sunrpc/pmap_rmt.c: Likewise.
5433 * sunrpc/publickey.c: Likewise.
5434 * sunrpc/rpc_cmsg.c: Likewise.
5435 * sunrpc/rpc_common.c: Likewise.
5436 * sunrpc/rpc_dtable.c: Likewise.
5437 * sunrpc/rpc_prot.c: Likewise.
5438 * sunrpc/rpc_thread.c: Likewise.
5439 * sunrpc/rtime.c: Likewise.
5440 * sunrpc/svc.c: Likewise.
5441 * sunrpc/svc_auth.c: Likewise.
5442 * sunrpc/svc_raw.c: Likewise.
5443 * sunrpc/svc_run.c: Likewise.
5444 * sunrpc/svc_tcp.c: Likewise.
5445 * sunrpc/svc_udp.c: Likewise.
5446 * sunrpc/svc_unix.c: Likewise.
5447 * sunrpc/svcauth_des.c: Likewise.
5448 * sunrpc/xcrypt.c: Likewise.
5449 * sunrpc/xdr.c: Likewise.
5450 * sunrpc/xdr_array.c: Likewise.
5451 * sunrpc/xdr_float.c: Likewise.
5452 * sunrpc/xdr_intXX_t.c: Likewise.
5453 * sunrpc/xdr_mem.c: Likewise.
5454 * sunrpc/xdr_rec.c: Likewise.
5455 * sunrpc/xdr_ref.c: Likewise.
5456 * sunrpc/xdr_sizeof.c: Likewise.
5457 * sunrpc/xdr_stdio.c: Likewise.
5458
b5c086a2
RM
54592012-05-10 Roland McGrath <roland@hack.frob.com>
5460
5461 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5462 change. Update copyright years.
5463
6d74dd09
JM
54642012-05-10 Joseph Myers <joseph@codesourcery.com>
5465
5466 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5467
28e72501
MK
54682012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5469 Joseph Myers <joseph@codesourcery.com>
5470 Paul Pluzhnikov <ppluzhnikov@google.com>
5471
5472 [BZ #14012]
5473 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5474 requiring rpcgen.
5475 [cross-compiling] (extra-libs): Likewise.
5476 [cross-compiling] (extra-libs-others): Likewise.
5477 [cross-compiling] (librpcsvc-routines): Likewise.
5478 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5479 [cross-compiling] (omit-deps): Likewise.
5480 (sunrpc-CPPFLAGS): New variable.
5481 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5482 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5483 (cross-rpcgen-objs): New variable.
5484 (extra-objs): Append $(cross-rpcgen-objs).
5485 ($(cross-rpcgen-objs)): New rule.
5486 ($(objpfx)cross-rpcgen): Likewise.
5487 (rpcgen-cmd): Define to use $(built-program-file). Expand
5488 comment.
5489 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5490 ($(objpfx)x%.stmp): Likewise.
5491 * sunrpc/proto.h [IS_IN_build] (_): Define.
5492 [IS_IN_build] (_libc_intl_domainname): Likewise.
5493
c8c59454
L
54942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5495
5496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5497 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5498 and R_X86_64_TPOFF64.
5499
6f27cd16
JM
55002012-05-10 Joseph Myers <joseph@codesourcery.com>
5501
5502 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5503 sysdeps/unix/sysv/syscalls.list.
5504 (stime): Likewise.
5505 (utime): Likewise.
5506 * sysdeps/unix/sysv/syscalls.list: Remove file.
5507
02467e1c
PE
55082012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5509
5510 [BZ #3440]
5511 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5512 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5513 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5514 (__LC_IDENTIFICATION): Make these macros useful in #if
5515 expressions, as required by C99.
5516
da392631
AS
55172012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5518
5519 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5520 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5521 after this.
5522
8115f29b
L
55232012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5524
5525 * stdlib/longlong.h: Updated from GCC.
5526
bdd74070
AJ
55272012-05-09 Andreas Jaeger <aj@suse.de>
5528
edfe0dbe
AJ
5529 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5530 default is first entry.
5531 (run_mode): Set type.
5532 (main): Remove informal message about syslog.
5533 (options): Fix typo.
5534
bcfe3a54
ST
5535 [BZ #14053]
5536 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5537 to asm.
bcfe3a54
ST
5538 (lrint): Likewise.
5539 (llrintf): Likewise.
5540 (llrint): Likewise.
5541 (rint): Likewise.
5542 (rintf): Likewise.
5543 (nearbyint): Likewise.
5544 (nearbyintf): Likewise.
bdd74070 5545
91d8d69e
AJ
55462012-05-09 Andreas Jaeger <aj@suse.de>
5547 Pedro Alves <palves@redhat.com>
5548
5549 * nscd/nscd.c (run_mode): Use enum.
5550 (main): Cleanup coding style issue.
5551
bb90b80b
AJ
55522012-05-09 Alexandre Oliva <aoliva@redhat.com>
5553 Andreas Jaeger <aj@suse.de>
5554
bcfe3a54
ST
5555 * nscd/nscd.c (go_background): Replaced with...
5556 (run_mode): ... this.
bb90b80b 5557 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5558 (options): Add -F --foreground.
5559 (main): Implement it.
5560 (parse_opt): Parse it.
bb90b80b 5561
1a4b75a1
AJ
55622012-05-09 Andreas Jaeger <aj@suse.de>
5563
5564 [BZ #14083]
5565 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5566 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5567 -Wconversion warning.
5568 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5569 Likewise.
5570
b1cc2472
JM
55712012-05-09 Joseph Myers <joseph@codesourcery.com>
5572
5573 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5574 == 0.
5575 (LC_ALL): Use macro-int-constant.
5576 (LC_COLLATE): Likewise.
5577 (LC_CTYPE): Likewise.
5578 (LC_MESSAGES): Likewise.
5579 (LC_MONETARY): Likewise.
5580 (LC_NUMERIC): Likewise.
5581 (LC_TIME): Likewise.
5582 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5583 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5584 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5585 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5586 Specify type.
5587 [C99-based standards] (float_t): Expect type.
5588 [C99-based standards] (double_t): Expect type.
5589 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5590 type.
5591 [C99-based standards] (HUGE_VALL): Likewise.
5592 [C99-based standards] (INFINITY): Likewise.
5593 [C99-based standards] (NAN): Likewise.
5594 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5595 [C99-based standards] (FP_NAN): Likewise.
5596 [C99-based standards] (FP_NORMAL): Likewise.
5597 [C99-based standards] (FP_SUBNORMAL): Likewise.
5598 [C99-based standards] (FP_ZERO): Likewise.
5599 [C99-based standards] (FP_FAST_FMA): Use
5600 optional-macro-int-constant. Specify type. Require == 1.
5601 [C99-based standards] (FP_FAST_FMAF): Likewise.
5602 [C99-based standards] (FP_FAST_FMAL): Likewise.
5603 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5604 [C99-based standards] (FP_ILOGBNAN): Likewise.
5605 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5606 Specify type.
5607 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5608 [C99-based standards] (math_errhandling): Specify type.
5609 [ISO99 || ISO11] (signgam): Do not allow.
5610 [non-C99-based standards] (copysignf): Do not allow.
5611 [non-C99-based standards] (exp2f): Likewise.
5612 [non-C99-based standards] (log2f): Likewise.
5613 [non-C99-based standards] (modff): Allow.
5614 [non-C99-based standards] (erff): Do not allow.
5615 [non-C99-based standards] (erfcf): Likewise.
5616 [non-C99-based standards] (gammaf): Likewise.
5617 [non-C99-based standards] (hypotf): Likewise.
5618 [non-C99-based standards] (j0f): Likewise.
5619 [non-C99-based standards] (j1f): Likewise.
5620 [non-C99-based standards] (jnf): Likewise.
5621 [non-C99-based standards] (lgammaf): Likewise.
5622 [non-C99-based standards] (tgammaf): Likewise.
5623 [non-C99-based standards] (y0f): Likewise.
5624 [non-C99-based standards] (y1f): Likewise.
5625 [non-C99-based standards] (ynf): Likewise.
5626 [non-C99-based standards] (isnanf): Likewise.
5627 [non-C99-based standards] (acoshf): Likewise.
5628 [non-C99-based standards] (asinhf): Likewise.
5629 [non-C99-based standards] (atanhf): Likewise.
5630 [non-C99-based standards] (cbrtf): Likewise.
5631 [non-C99-based standards] (expm1f): Likewise.
5632 [non-C99-based standards] (ilogbf): Likewise.
5633 [non-C99-based standards] (log1pf): Likewise.
5634 [non-C99-based standards] (logbf): Likewise.
5635 [non-C99-based standards] (nextafterf): Likewise.
5636 [non-C99-based standards] (remainderf): Likewise.
5637 [non-C99-based standards] (rintf): Likewise.
5638 [non-C99-based standards] (scalbf): Likewise.
5639 [non-C99-based standards] (copysignl): Likewise.
5640 [non-C99-based standards] (exp2l): Likewise.
5641 [non-C99-based standards] (log2l): Likewise.
5642 [non-C99-based standards] (modfl): Allow.
5643 [non-C99-based standards] (erfl): Do not allow.
5644 [non-C99-based standards] (erfcl): Likewise.
5645 [non-C99-based standards] (gammal): Likewise.
5646 [non-C99-based standards] (hypotl): Likewise.
5647 [non-C99-based standards] (j0l): Likewise.
5648 [non-C99-based standards] (j1l): Likewise.
5649 [non-C99-based standards] (jnl): Likewise.
5650 [non-C99-based standards] (lgammal): Likewise.
5651 [non-C99-based standards] (tgammal): Likewise.
5652 [non-C99-based standards] (y0l): Likewise.
5653 [non-C99-based standards] (y1l): Likewise.
5654 [non-C99-based standards] (ynl): Likewise.
5655 [non-C99-based standards] (isnanl): Likewise.
5656 [non-C99-based standards] (acoshl): Likewise.
5657 [non-C99-based standards] (asinhl): Likewise.
5658 [non-C99-based standards] (atanhl): Likewise.
5659 [non-C99-based standards] (cbrtl): Likewise.
5660 [non-C99-based standards] (expm1l): Likewise.
5661 [non-C99-based standards] (ilogbl): Likewise.
5662 [non-C99-based standards] (log1pl): Likewise.
5663 [non-C99-based standards] (logbl): Likewise.
5664 [non-C99-based standards] (nextafterl): Likewise.
5665 [non-C99-based standards] (remainderl): Likewise.
5666 [non-C99-based standards] (rintl): Likewise.
5667 [non-C99-based standards] (scalbl): Likewise.
5668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5669 [non-C99-based standards] (FP_*): Do not allow.
5670 [C99-based standards] (FP_*): Change to
5671 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5672 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5673 allow.
5674 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5675 (SIG_ERR): Likewise.
5676 [X/Open-based standards] (SIG_HOLD): Likewise.
5677 (SIG_IGN): Likewise.
5678 (SIGABRT): Use macro-int-constant. Specify type. Require
5679 positive value.
5680 (SIGFPE): Likewise.
5681 (SIGILL): Likewise.
5682 (SIGINT): Likewise.
5683 (SIGSEGV): Likewise.
5684 (SIGTER): Likewise.
5685 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5686 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5687 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5694 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5699 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5700 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5701 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5702 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5703 [X/Open-based standards] (SIGTRAP): Likewise.
5704 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5705 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5706 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5707 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5708 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5709 allow.
5710
b9f1922d
IW
57112012-05-08 Ian Wienand <ianw@vmware.com>
5712
5713 [BZ #14080]
5714 * time/tzset.c (__tzset_parse_tz): Update default rules for
5715 daylight time changes in the Energy Policy Act of 2005.
5716
1db86e88
AJ
57172012-05-09 Andreas Jaeger <aj@suse.de>
5718
5719 [BZ #13983]
5720 * elf/ldconfig.c (parse_conf): Change string to make clear that
5721 ldconfig only issued a warning if ld.so.conf does not exist.
5722
dee4a4e3
DM
57232012-05-08 David S. Miller <davem@davemloft.net>
5724
ee0db190
DM
5725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5726 movxtod instead of popping the value on the stack.
5727
dee4a4e3
DM
5728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5729
6a43ec98
CD
57302012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5731
5732 * config.h.in: Add HAVE_ARM_PCS_VFP.
5733
05c2c961
RMG
57342012-05-08 Roland Mc Grath <roland@hack.frob.com>
5735
bcfe3a54
ST
5736 [BZ #13979]
5737 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5738 checking but the checks are disabled for any reason.
05c2c961 5739
4b30f61a
L
57402012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5741
5742 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5743 and ELF64_R_TYPE with ELFW(R_TYPE).
5744
eee2bc67
JM
57452012-05-08 Joseph Myers <joseph@codesourcery.com>
5746
7ea5391a
JM
5747 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5748 (ulimit): Likewise.
5749
eee2bc67
JM
5750 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5751 (settimeofday): Likewise.
5752
abb66a67
MF
57532012-05-08 Mike Frysinger <vapier@gentoo.org>
5754
5755 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5756 a struct th_u2 inside the union, and move tu_block/tu_code into
5757 a new th_u3 union of tu_block/tu_code inside of that. Move
5758 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5759 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5760 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5761 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5762 (th_stuff): Change to th_u1.tu_stuff.
5763 (th_data): Define.
5764 (th_msg): Change to th_u1.th_u2.tu_data.
5765
7f18b530
DM
57662012-05-07 David S. Miller <davem@davemloft.net>
5767
05760585
DM
5768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5769
7f18b530
DM
5770 [BZ #14074]
5771 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5772 (SETUP_PIC_REG): Use it.
5773 (SETUP_PIC_REG_LEAF): Use it.
5774
495fd99f
JM
57752012-05-07 Joseph Myers <joseph@codesourcery.com>
5776
5777 [BZ #13885]
5778 [BZ #13923]
5779 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5780 USE_AS_EXPM1L.
5781 (EXPL_FINITE): Likewise.
5782 (FLDLOG): Likewise.
5783 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5784 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5785 e_expl.S.
5786 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5787 USE_AS_EXPM1L.
5788 (EXPL_FINITE): Likewise.
5789 (FLDLOG): Likewise.
5790 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5791 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5792 e_expl.S.
5793 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5794 test of -max_value argument for long double.
5795 * sysdeps/i386/fpu/libm-test-ulps: Update.
5796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5797
6693d694
DM
57982012-05-06 David S. Miller <davem@davemloft.net>
5799
5800 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5801 quad soft-float symbols whose references which are compiler
5802 generated.
5803 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5804
6c23e11c
JM
58052012-05-06 Joseph Myers <joseph@codesourcery.com>
5806
d8b82cad
JM
5807 [BZ #13884]
5808 [BZ #13914]
5809 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5810 USE_AS_EXP10L.
5811 (EXPL_FINITE): Likewise.
5812 (FLDLOG): Likewise.
5813 (c0): Likewise.
5814 (c1): Likewise.
5815 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5816 Adjust comments for base varying.
5817 (__expl_finite): Change alias to EXPL_FINITE.
5818 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5819 e_expl.S.
5820 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5821 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5823 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5824 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5825 USE_AS_EXP10L.
5826 (EXPL_FINITE): Likewise.
5827 (FLDLOG): Likewise.
5828 (c0): Likewise.
5829 (c1): Likewise.
5830 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5831 Adjust comments for base varying.
5832 (__expl_finite): Change alias to EXPL_FINITE.
5833 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5834 tests for bugs.
5835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5836
6c23e11c
JM
5837 [BZ #14064]
5838 * math/libm-test.inc (check_float_internal): Correct ulp
5839 calculation for subnormal expected results.
5840
29ba805c
AJ
58412012-05-06 Andreas Jaeger <aj@suse.de>
5842
5843 * Makeconfig (+math-flags): New, set to -frounding-math.
5844 (+cflags): Add +math-flags so that all of glibc gets compiled with
5845 it.
5846
5847 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5848
7b17aeda
JM
58492012-05-05 Joseph Myers <joseph@codesourcery.com>
5850
5779f134
JM
5851 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5852 Disable one test.
5853
41498f4d
JM
5854 [BZ #13787]
5855 [BZ #13922]
5856 [BZ #14036]
5857 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5858 (__ieee754_expl): Allow for and saturate large arguments.
5859 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5860 (u_threshold): Likewise.
5861 (__exp): Call __ieee754_exp before checking for overflow and
5862 underflow.
5863 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5864 (u_threshold): Likewise.
5865 (__expf): Call __ieee754_expf before checking for overflow and
5866 underflow.
5867 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5868 (u_threshold): Likewise.
5869 (__expl): Call __ieee754_expl before checking for overflow and
5870 underflow.
5871 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5872 (__ieee754_expl): Allow for and saturate large arguments.
5873 * math/libm-test.inc (exp_test): Add another test. Do not allow
5874 missing overflow exception on overflow.
5875 (expm1_test): Do not allow missing overflow exception on overflow.
5876
6698b8bf
JM
5877 * sysdeps/i386/fpu/e_expl.c: Move to ...
5878 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5879 rather than using inline asm.
5880 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5881 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5882 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5883
7b17aeda
JM
5884 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5885 (nice): Likewise.
5886 (poll): Likewise.
5887 (signal): Likewise.
5888 (time): Likewise.
5889 (times): Likewise.
5890
f7c85819
JM
58912012-05-04 Joseph Myers <joseph@codesourcery.com>
5892
5893 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5894 sysdeps/unix/common/syscalls.list.
5895 (fchmod): Likewise.
5896 (fchown): Likewise.
5897 (ftruncate): Likewise.
5898 (getrusage): Likewise.
5899 (gettimeofday): Likewise.
5900 (setpgid): Likewise.
5901 (setregid): Likewise.
5902 (setreuid): Likewise.
5903 (sigaction): Likewise.
5904 (truncate): Likewise.
5905 (vhangup): Likewise.
5906 * sysdeps/unix/common/syscalls.list: Remove file.
5907 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5908 * sysdeps/unix/sysv/linux/Implies: Likewise.
5909
336270d0
L
59102012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5911
5912 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5914 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5915 Moved to ...
5916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5917 Here.
5918 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5919 to ...
5920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5921 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5922 to ...
5923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5924 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5925 to ...
5926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5927 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5928 to ...
5929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5930 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5931 to ...
5932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5933 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5934 to ...
5935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5936 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5937 to ...
5938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5939 Here.
5940 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5941 to ...
5942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5943 Here.
5944 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5945 to ...
5946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5947 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5948 Moved to ...
5949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5950 Here.
5951 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5952 to ...
5953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5954
d128e450
JM
59552012-05-04 Joseph Myers <joseph@codesourcery.com>
5956
fa8ee516
JM
5957 * sysdeps/unix/common/bits/dirent.h: Remove file.
5958 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5959
d128e450
JM
5960 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5961 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5962 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5963 * sysdeps/unix/bsd/isatty.c: Likewise.
5964 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5965 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5966 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5967
ff8faaf0 59682012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 5969
62881be4 5970 [BZ #13563]
31dc8730
AZ
5971 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5972 long double comparison inaccuracies.
5973 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5975
6fef930c
AS
59762012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5977
5978 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5979 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5980
8f203e6c
JM
59812012-05-04 Joseph Myers <joseph@codesourcery.com>
5982
5983 [BZ #14049]
5984 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5985 nonzero digits before rounding a hex value.
5986 * stdlib/tst-strtod.c (tests): Add another test.
5987
5197d9c2
AK
59882012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5989
5990 * sysdeps/s390/fpu/libm-test-ulps: Update.
5991
f0c1dedf
AJ
59922012-05-03 Andreas Jaeger <aj@suse.de>
5993
5994 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5995 does not get optimized out.
5996 (malloc_opt_barrier): New.
5997
a65ef2ae 59982012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 5999 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6000
2b942cb7 6001 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6002 intermediate file deletion.
2b942cb7 6003 (generated): Add .symlist files.
a65ef2ae 6004
54b71e02
JM
60052012-05-03 Joseph Myers <joseph@codesourcery.com>
6006
6007 [BZ #13775]
6008 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6009 Redirect under this condition.
6010 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6011 [__USE_GNU] (__dprintf_chk): Not under this condition.
6012 [__USE_GNU] (__vdprintf_chk): Likewise.
6013 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6014 under this condition.
6015 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6016 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6017 [__USE_XOPEN2K8] (vdprintf): Likewise.
6018 [__USE_GNU] (__dprintf_chk): Not under this condition.
6019 [__USE_GNU] (__vdprintf_chk): Likewise.
6020 [__USE_GNU] (dprintf): Likewise.
6021 [__USE_GNU] (vdprintf): Likewise.
6022
d3dfcc41
RM
60232012-05-03 Roland McGrath <roland@hack.frob.com>
6024
6025 * elf/Makefile (common-generated): Set this instead of generated for
6026 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6027 $(all-built-dso)-derived lists.
6028
7ac30cc5
AJ
60292012-05-03 Andreas Jaeger <aj@suse.de>
6030
0c51e550
AJ
6031 * sysdeps/i386/fpu/libm-test-ulps: Update.
6032
7ac30cc5
AJ
6033 * FAQ: Removed.
6034 * FAQ.in: Likewise.
6035 * scripts/gen-FAQ.pl: Likewise.
6036 * manual/install.texi (Installation): Point to online location of
6037 FAQ.
6038 * Makefile (files-for-dist): Remove FAQ.
6039 (FAQ): Remove.
6040
d4c2917f
AM
60412012-05-02 Allan McRae <allan@archlinux.org>
6042
6043 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6044 (LDFLAGS-reldepmod5.so): Likewise.
6045 (LDFLAGS-reldep6mod1.so): Likewise.
6046 (LDFLAGS-reldep6mod4.so): Likewise.
6047 (LDFLAGS-reldep8mod3.so): Likewise.
6048 (LDFLAGS-unload4mod1.so): Likewise.
6049 (LDFLAGS-unload4mod2.so): Likewise.
6050 (LDFLAGS-tst-initorder): Likewise.
6051 (LDFLAGS-tst-initordera2.so): Likewise.
6052 (LDFLAGS-tst-initordera3.so): Likewise.
6053 (LDFLAGS-tst-initordera4.so): Likewise.
6054 (LDFLAGS-tst-initorderb2.so): Likewise.
6055 (LDFLAGS-noload): Likewise.
6056 (LDFLAGS-next): Likewise.
6057 (LDFLAGS-order2mod1.so): Likewise.
6058 (LDFLAGS-order2mod2.so): Likewise.
6059 (LDFLAGS-tst-initorder2): Likewise.
6060 (LDFLAGS-tst-initorder2a.so): Likewise.
6061 (LDFLAGS-tst-initorder2b.so): Likewise.
6062 (LDFLAGS-tst-initorder2c.so): Likewise.
6063 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6064
d77f993f
DM
60652012-05-02 David S. Miller <davem@davemloft.net>
6066
6067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6068
171a70b4
PP
60692012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6070
6071 [BZ #14055]
6072 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6073
0be196ad
AJ
60742012-05-02 Andreas Jaeger <aj@suse.de>
6075
6076 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6077 since we manipulate rounding mode.
6078 (CPPFLAGS-test-idouble.c): Likewise.
6079 (CPPFLAGS-test-ifloat.c): Likewise.
6080 (CFLAGS-test-ldouble.c): Likewise.
6081 (CFLAGS-test-double.c): Likewise.
6082 (CFLAGS-test-float.c): Likewise.
6083 (CFLAGS-test-misc.c): Likewise.
6084 (CFLAGS-test-test-fenv.c): Likewise.
6085
4f9d04aa
AZ
60862012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087
2b942cb7
RM
6088 [BZ #2550]
6089 [BZ #2570]
6090 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6091 comparisons to determine direction to adjust input.
4f9d04aa 6092
82a79e7d
RM
60932012-05-01 Roland McGrath <roland@hack.frob.com>
6094
f5a01ca9
RM
6095 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6096 output to the target.
6097
90fe4186
RM
6098 * scripts/localplt.awk: New file.
6099 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6100 (check-localplt-CFLAGS): Variable removed.
6101 ($(all-built-dso:=.jmprel)): New static pattern rule.
6102 (generated): Add those targets.
6103 (localplt-built-dso): New variable.
6104 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6105
6106 * elf/check-localplt.c: File removed.
6107
82397ed6
RM
6108 * scripts/check-execstack.awk: New file.
6109 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6110 (check-execstack-CFLAGS): Variable removed.
6111 ($(objpfx)check-execstack.h): Target removed.
6112 ($(objpfx)execstack-default): New target.
6113 (generated): Add that instead of check-execstack.h.
6114 ($(all-built-dso:=.phdr)): New static pattern rule.
6115 (generated): Add those targets.
6116 * elf/check-execstack.c: File removed.
6117
82a79e7d
RM
6118 * scripts/check-textrel.awk: New file.
6119 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6120 (check-textrel-CFLAGS): Variable removed.
6121 (all-built-dso): Use := to define.o
6122 ($(all-built-dso:=.dyn)): New static pattern rule.
6123 (generated): Add those targets.
6124 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6125 * config.make.in (READELF): New substituted variable.
6126 * elf/check-textrel.c: File removed.
6127
62fde54f 61282012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6129
615605c9
JM
6130 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6131 allow.
6132 * conform/data/ctype.h-data [C99-based standards] (isblank):
6133 Expect function.
6134 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6135 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6136 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6137 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6138 Specify type. Require positive value.
6139 (EILSEQ): Likewise.
6140 (ERANGE): Likewise.
6141 [ISO || POSIX] (EILSEQ): Do not expect.
6142 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6143 Specify type. Require positive value.
6144 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6145 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6146 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6147 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6148 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6149 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6150 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6151 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6152 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6153 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6154 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6155 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6156 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6157 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6158 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6159 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6160 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6161 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6162 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6163 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6164 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6165 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6166 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6167 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6168 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6169 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6170 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6171 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6172 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6173 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6174 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6175 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6176 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6177 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6178 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6179 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6180 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6181 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6182 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6183 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6184 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6185 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6186 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6187 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6188 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6189 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6190 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6191 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6192 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6193 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6194 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6195 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6196 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6197 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6198 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6199 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6200 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6201 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6202 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6203 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6204 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6205 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6206 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6207 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6208 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6209 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6210 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6211 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6212 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6213 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6214 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6215 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6216 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6217 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6218 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6219 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6220 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6221 Require >= 2.
6222 (FLT_ROUNDS): Expect as macro, not constant.
6223 (FLT_MANT_DIG): Use macro-int-constant.
6224 (DBL_MANT_DIG): Likewise.
6225 (LDBL_MANT_DIG): Likewise.
6226 (FLT_DIG): Likewise.
6227 (DBL_DIG): Likewise.
6228 (LDBL_DIG): Likewise.
6229 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6230 (DBL_MIN_EXP): Likewise.
6231 (LDBL_MIN_EXP): Likewise.
6232 (FLT_MAX_EXP): Use macro-int-constant.
6233 (DBL_MAX_EXP): Likewise.
6234 (LDBL_MAX_EXP): Likewise.
6235 (FLT_MAX_10_EXP): Likewise.
6236 (DBL_MAX_10_EXP): Likewise.
6237 (LDBL_MAX_10_EXP): Likewise.
6238 (FLT_MAX): Use macro-constant.
6239 (DBL_MAX): Likewise.
6240 (LDBL_MAX): Likewise.
6241 (FLT_EPSILON): Use macro-constant. Give upper bound.
6242 (DBL_EPSILON): Likewise.
6243 (LDBL_EPSILON): Likewise.
6244 (FLT_MIN): Likewise.
6245 (DBL_MIN): Likewise.
6246 (LDBL_MIN): Likewise.
6247 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6248 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6249 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6250 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6251 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6252 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6253 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6254 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6255 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6256 [ISO11] (FLT_TRUE_MIN): Likewise.
6257 [ISO11] (LDBL_TRUE_MIN): Likewise.
6258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6259 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6260 (SCHAR_MIN): Use macro-int-constant. Specify type.
6261 (SCHAR_MAX): Likewise.
6262 (UCHAR_MAX): Likewise.
6263 (CHAR_MIN): Likewise.
6264 (CHAR_MAX): Likewise.
6265 (MB_LEN_MAX): Use macro-int-constant.
6266 (SHRT_MIN): Use macro-int-constant. Specify type.
6267 (SHRT_MAX): Likewise.
6268 (USHRT_MAX): Likewise.
6269 (INT_MAX): Likewise.
6270 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6271 bound negative.
6272 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6273 bound with "U".
6274 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6275 bound with "L".
6276 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6277 bound negative. Suffix upper bound with "L".
6278 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6279 bound with "UL".
6280 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6281 Specify type.
6282 [C99-based standards] (LLONG_MAX): Likewise.
6283 [C99-based standards] (ULLONG_MAX): Likewise.
6284 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6285 == 0.
6286 [ISO11] (max_align_t): Require type.
6287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6288
c9140a62
JM
6289 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6290 from $CFLAGS, without defining away __attribute__ calls.
6291 (checknamespace): Use $CFLAGS_namespace.
6292
9af0bf29
JM
6293 * conform/conformtest.pl (@keywords): Only include C99 keywords
6294 for standards based on C99 or C11.
6295
343222a2
JM
6296 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6297 Disable tests.
6298 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6299 UNIX98]: Likewise.
6300
661f8cf0
JM
6301 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6302 usability of symbols in #if.
6303
ee74b9cb
JM
6304 * conform/conformtest.pl: If macro or constant types start
6305 "promoted:", expect the symbol to be of the following type
6306 promoted by the integer promotions.
62fde54f 6307
aafc49b3
JM
6308 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6309 in one place. Also handle "macro-constant".
6310
fefdf574
JM
6311 * conform/conformtest.pl: Only accept expected macro values with
6312 "==". Parse all "macro" lines in one place.
6313 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6314
f2d922fe
JM
6315 * conform/conformtest.pl: Handle braced types on "constant" lines
6316 instead of handling "typed-constant".
6317 * conform/data/signal.h-data: Use "constant" instead of
6318 "typed-constant".
6319
d22956c9
JM
6320 * conform/conformtest.pl: Handle "optional-" at start of lines in
6321 one place rather than duplicating several cases. Handle each
6322 format of "macro" line with initial "optional-".
6323
028e2e38
JM
6324 * conform/conformtest.pl: Only accept expected constant or
6325 optional-constant values with "==". Parse all "constant" lines in
6326 one place. Parse all "optional-constant" lines in one place.
6327 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6328 * conform/data/fmtmsg.h-data: Likewise.
6329 * conform/data/netinet/in.h-data: Likewise.
6330 * conform/data/tar.h-data: Likewise.
6331 * conform/data/limits.h-data: Use "==" form on "constant" and
6332 "optional-constant" lines.
6333
1b8f2850
JM
6334 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6335 Use -std=c99 for XOPEN2K.
6336 (@knownproblems): Remove.
6337 (newtoken): Don't check %isknown.
6338
a05a144b
JM
6339 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6340 Do not expect macro.
6341 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6342 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6343 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6344 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6345 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6346 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6347 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6348 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6349 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6350 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6351 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6352 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6353 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6354 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6355 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6356 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6357 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6358 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6359 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6360 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6361 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6362 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6363 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6364 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6365 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6366 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6367 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6368 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6369 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6370 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6371 [XPG3] (acosh): Likewise.
6372 [XPG3] (asinh): Likewise.
6373 [XPG3] (atanh): Likewise.
6374 [XPG3] (cbrt): Likewise.
6375 [XPG3] (expm1): Likewise.
6376 [XPG3] (ilogb): Likewise.
6377 [XPG3] (log1p): Likewise.
6378 [XPG3] (logb): Likewise.
6379 [XPG3] (nextafter): Likewise.
6380 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6381 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6382 [XPG3] (remainder): Likewise.
6383 [XPG3] (rint): Likewise.
6384 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6385 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6386 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6387 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6388 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6389 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6390 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6391 [UNIX98 || XOPEN2K] (scalb): Expect.
6392 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6393 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6394 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6395 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6396 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6397 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6398 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6399 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6400 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6401 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6402 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6403 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6404 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6405 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6407 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6408 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6409 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6410 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6411 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6412 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6414 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6415 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6416 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6417 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6418 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6419 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6420 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6421 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6422 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6423 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6424 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6425 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6426 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6427 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6428 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6430 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6431 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6433 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6434 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6435 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6436 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6437 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6439 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6440 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6441 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6451 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6452 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6453 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6454 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6455 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6459 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6460 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6461 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6462 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6463 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6464 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6465 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6466 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6467 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6469 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6470 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6471 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6481 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6503 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6504 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6505 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6506 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6529
73c5ebe3
JM
6530 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6531 _XOPEN_SOURCE_EXTENDED for XPG4.
6532
39c33b6c
JM
6533 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6534
62fde54f
JM
6535 * Makeconfig (localtime): Remove variable.
6536 (inst_localtime-file): Likewise.
6537
0741d64c
AS
65382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6539
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6541 Update.
6542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6543 Update.
6544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6545 Update.
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6547 Update.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6549 Update.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6551 Update.
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6553 Update.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6555 Update.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6557 Update.
6558
7cb029ee
JM
65592012-05-01 Joseph Myers <joseph@codesourcery.com>
6560
6561 [BZ #2550]
6562 [BZ #2570]
6563 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6564 comparisons to determine direction to adjust input.
6565 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6566 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6567 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6568 Likewise.
6569 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6570 Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6572 Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6574 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6575 Likewise.
6576 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6577 Likewise.
6578 * math/libm-test.inc (nexttoward_test): Add more tests.
6579
412bd966
AS
65802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6581
6582 [BZ #14040]
6583 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6584 in version GLIBC_2.1, not GLIBC_2.0.
6585 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6586 Likewise.
6587
9568c0c2
JM
65882012-04-30 Joseph Myers <joseph@codesourcery.com>
6589
adfbc8ac
JM
6590 [BZ #13942]
6591 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6592 (1 - x) * (1 + x).
6593 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6594 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6595 * math/libm-test.inc (acos_test): Add more tests.
6596 (asin_test): Likewise.
6597 * sysdeps/i386/fpu/libm-test-ulps: Update.
6598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6599
5ba3cc69
JM
6600 [BZ #14034]
6601 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6602 of square root.
6603 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6604 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6605 * math/libm-test.inc (acos_test_tonearest): New function.
6606 (acos_test_towardzero): Likewise.
6607 (acos_test_downward): Likewise.
6608 (acos_test_upward): Likewise.
6609 (asin_test_tonearest): Likewise.
6610 (asin_test_towardzero): Likewise.
6611 (asin_test_downward): Likewise.
6612 (asin_test_upward): Likewise.
6613 (main): Call the new functions.
6614 * sysdeps/i386/fpu/libm-test-ulps: Update.
6615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6616
9568c0c2
JM
6617 [BZ #13884]
6618 [BZ #13924]
6619 * math/e_exp10.c: Include <float.h>.
6620 (__ieee754_exp10): Handle underflow here rather than multiplying
6621 large negative argument by M_LN10.
6622 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6623 of __ieee754_expf.
6624 * math/e_exp10l.c: Include <float.h>.
6625 (__ieee754_exp10l): Handle underflow here rather than multiplying
6626 large negative argument by M_LN10l.
6627 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6628 spurious overflow exception on underflow.
6629
5ac3ea17
MP
66302012-04-29 Marek Polacek <polacek@redhat.com>
6631
6632 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6633 (__fortify_function): New macro.
6634 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6635 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6636 __extern_always_inline.
6637 * libio/bits/stdio2.h: Likewise.
6638 * libio/bits/stdio.h: Likewise.
6639 * string/string.h: Likewise.
6640 * string/bits/string3.h: Likewise.
6641 * include/stdio.h: Likewise.
6642 * stdlib/bits/stdlib.h: Likewise.
6643 * stdlib/stdlib.h: Likewise.
6644 * rt/bits/mqueue2.h: Likewise.
6645 * rt/mqueue.h: Likewise.
6646 * posix/bits/unistd.h: Likewise.
6647 * posix/unistd.h: Likewise.
6648 * io/bits/poll2.h: Likewise.
6649 * io/bits/fcntl2.h: Likewise.
6650 * io/fcntl.h: Likewise.
6651 * io/sys/poll.h: Likewise.
6652 * misc/bits/syslog.h: Likewise.
6653 * misc/bits/syslog-ldbl.h: Likewise.
6654 * misc/sys/syslog.h: Likewise.
6655 * socket/bits/socket2.h: Likewise.
6656 * socket/sys/socket.h: Likewise.
6657 * debug/tst-chk1.c: Likewise.
6658 * wcsmbs/bits/wchar2.h: Likewise.
6659 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6660 * wcsmbs/wchar.h: Likewise.
6661
ecf0ebfb
AJ
66622012-04-29 Andreas Jaeger <aj@suse.de>
6663
6664 * Makerules (tests): Remove enable-check-abi protection.
6665 (check-abi-warn): Remove.
6666 (check-abi-%): Remove check-abi-warn usage.
6667
6668 * configure.in: Remove check-abi configure option.
6669 * configure: Regenerated.
6670 * config.make.in (enable-check-abi): Remove.
6671
6d5c57fa
AS
66722012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6673
24c5d07e 6674 [BZ #14033]
ded5180a
AS
6675 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6676 double functions to double *_finite functions.
6677
7e0d315d
AS
6678 [BZ #13941]
6679 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6680 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6681 LDBL_MIN_EXP.
6682 * stdio-common/Makefile (tests): Add tst-sprintf3.
6683 * stdio-common/tst-sprintf3.c: New file.
6684
6d5c57fa
AS
6685 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6686 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6687
0749ff8b
JM
66882012-04-28 Joseph Myers <joseph@codesourcery.com>
6689
6690 * conform/conformtest.pl: Remove duplicate typed-constant
6691 handling.
6692
8dbd5d7b
DM
66932012-04-28 David S. Miller <davem@davemloft.net>
6694
6695 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6696 (check-abi-%): Remove AWK script prerequisite and explicit
6697 abilist directory.
6698 (check-abi): Rewrite to just diff the symlist with the abilist.
6699 (config-tls, config-abi-config): Delete, no longer used.
6700 (update-abi-%): Remove AWK script and explicit abilist directory.
6701 (update-abi): Rewrite to simply compare and conditionally copy the
6702 symlist and the sysdep abilist file. Remove update-abi-config
6703 checks.
6704 * abilist/ld.abilist: Remove.
6705 * abilist/libBrokenLocale.abilist: Remove.
6706 * abilist/libanl.abilist: Remove.
6707 * abilist/libcrypt.abilist: Remove.
6708 * abilist/libdl.abilist: Remove.
6709 * abilist/librt.abilist: Remove.
6710 * abilist/libthread_db.abilist: Remove.
6711 * abilist/libutil.abilist: Remove.
6712 * scripts/extract-abilist.awk: Remove.
6713 * scripts/merge-abilist.awk: Remove.
6714 * sysdeps/generic/libcidn.abilist: New file.
6715 * sysdeps/generic/libnss_compat.abilist: New file.
6716 * sysdeps/generic/libnss_db.abilist: New file.
6717 * sysdeps/generic/libnss_dns.abilist: New file.
6718 * sysdeps/generic/libnss_files.abilist: New file.
6719 * sysdeps/generic/libnss_hesiod.abilist: New file.
6720 * sysdeps/generic/libnss_nis.abilist: New file.
6721 * sysdeps/generic/libnss_nisplus.abilist: New file.
6722 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6723 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6724 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6725 file.
6726 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6727 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6728 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6729 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6730 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6731 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6732 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6733 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6734 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6735 file.
6736 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6737 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6738 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6739 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6740 file.
6741 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6742 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6743 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6744 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6745 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6746 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6747 file.
6748 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6749 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6750 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6751 file.
6752 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6754 New file.
6755 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6756 New file.
6757 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6758 New file.
6759 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6760 New file.
6761 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6762 New file.
6763 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6764 New file.
6765 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6766 New file.
6767 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6768 New file.
6769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6770 New file.
6771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6772 New file.
6773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6774 New file.
6775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6776 New file.
6777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6778 New file.
6779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6780 file.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6782 New file.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6784 New file.
6785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6786 file.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6788 New file.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6790 New file.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6792 file.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6794 New file.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6796 New file.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6798 New file.
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6800 New file.
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6802 New file.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6804 New file.
6805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6807 file.
6808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6809 New file.
6810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6811 file.
6812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6813 file.
6814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6815 file.
6816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6817 file.
6818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6819 file.
6820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6821 New file.
6822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6823 file.
6824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6825 file.
6826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6827 New file.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6829 file.
6830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6832 file.
6833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6834 New file.
6835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6836 file.
6837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6838 file.
6839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6840 file.
6841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6842 file.
6843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6844 file.
6845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6846 New file.
6847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6848 file.
6849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6850 file.
6851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6852 New file.
6853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6854 file.
6855 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6856 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6857 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6858 file.
6859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6860 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6861 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6862 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6863 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6864 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6865 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6866 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6867 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6868 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6871 file.
6872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6873 New file.
6874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6875 file.
6876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6877 file.
6878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6879 file.
6880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6881 file.
6882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6883 file.
6884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6885 New file.
6886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6887 New file.
6888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6889 file.
6890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6891 New file.
6892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6893 file.
6894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6896 file.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6898 New file.
6899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6900 file.
6901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6902 file.
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6904 file.
6905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6906 file.
6907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6908 file.
6909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6910 New file.
6911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6912 New file.
6913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6914 file.
6915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6916 New file.
6917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6918 file.
6919
41d73a1b
JM
69202012-04-28 Joseph Myers <joseph@codesourcery.com>
6921
6922 * conform/conformtest.pl: Fix typo in handling typed-constant from
6923 allow-header.
6924
28aeeda4
JM
69252012-04-27 Joseph Myers <joseph@codesourcery.com>
6926
adae8f5e
JM
6927 * README: Cut down references to pre-2.6 Linux kernels and
6928 Linuxthreads. Update lists of configurations in libc and ports
6929 and sort alphabetically. Say "or newer" with Linux kernel version
6930 requirements.
6931
28aeeda4
JM
6932 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6933
a462cb63
RA
69342012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6935
6936 [BZ #887]
6937 * math/libm-test.inc (logb_test_downward): New test to expose
6938 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6939 rounding mode.
6940
6ad3493e
JM
69412012-04-27 Joseph Myers <joseph@codesourcery.com>
6942
6943 [BZ #14027]
6944 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6945 to be done.
6946 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6947 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6948
2ce4f015
JM
69492012-04-26 Joseph Myers <joseph@codesourcery.com>
6950
5aeb141a
JM
6951 * sysdeps/unix/i386/brk.S: Remove file.
6952 * sysdeps/unix/i386/dl-brk.S: Likewise.
6953 * sysdeps/unix/i386/pipe.S: Likewise.
6954 * sysdeps/unix/i386/sigreturn.S: Likewise.
6955 * sysdeps/unix/i386/syscall.S: Likewise.
6956 * sysdeps/unix/i386/vfork.S: Likewise.
6957 * sysdeps/unix/i386/wait.S: Likewise.
6958
7143acae
JM
6959 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6960 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6961
2ce4f015
JM
6962 * configure.in (arm*-none*): Do not allow without
6963 --enable-hacker-mode.
6964 (netbsd*): Remove case setting base_os.
6965 (386bsd*): Likewise.
6966 (freebsd*): Likewise.
6967 (bsdi*): Likewise.
6968 (osf*): Likewise.
6969 (sunos*): Likewise.
6970 (ultrix*): Likewise.
6971 (newsos*): Likewise.
6972 (dynix*): Likewise.
6973 (*bsd*): Likewise.
6974 (sysv*): Likewise.
6975 (isc*): Likewise.
6976 (esix*): Likewise.
6977 (sco*): Likewise.
6978 (minix*): Likewise.
6979 (irix4*): Likewise.
6980 (irix6*): Likewise.
6981 (solaris[2-9]*): Likewise.
6982 (none): Likewise.
6983 * configure: Regenerated.
6984
0ac229c8
AZ
69852012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6986
6987 [BZ #11521]
6988 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6989 overflow or cancellation in calculating denominator.
6990 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6991 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6992 down expression to avoid unexpected rounding in newer GCCs.
6993 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6994
33f244f4
DM
69952012-04-26 David S. Miller <davem@davemloft.net>
6996
6997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6998 long-double compat symbols.
6999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7012
cfa1f3e8
DM
70132012-04-25 David S. Miller <davem@davemloft.net>
7014
7015 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7016 HWCAP_* values only after the memory barriers have been defined.
7017 (atomic_full_barrier): Define.
7018 (atomic_read_barrier): Define.
7019 (atomic_write_barrier): Define.
7020
6e236b92
SP
70212012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7022
7023 * shlib-versions: Add libgcc_s version information.
7024 * sysdeps/generic/libgcc_s.h: Remove.
7025 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7026 libgcc_s.h.
7027 * sysdeps/gnu/unwind-resume.c: Likewise.
7028 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7029
aab39a09
DM
70302012-04-25 David S. Miller <davem@davemloft.net>
7031
7032 * sysdeps/unix/sparc/brk.S: Delete.
7033 * sysdeps/unix/sparc/dl-brk.S: Delete.
7034 * sysdeps/unix/sparc/pipe.S: Delete.
7035 * sysdeps/unix/sparc/sysdep.S: Delete.
7036 * sysdeps/unix/sparc/sysdep.h: Delete.
7037 * sysdeps/unix/sparc/vfork.S: Delete.
7038 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7039 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7041 ret_ERRVAL, r0, r1, MOVE): Define.
7042 (JUMPTARGET): Remove.
7043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7044 sysdeps/unix/sparc/sysdep.h
7045 (ENTRY, END): Remove.
7046 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7047
a3cc4f48
JM
70482012-04-25 Joseph Myers <joseph@codesourcery.com>
7049
2ed8cda2
JM
7050 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7051 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7052 -DIS_IN_build.
7053
35d76d59
JM
7054 * timezone/README: Update upstream location and email address for
7055 tzcode and tzdata.
7056 * timezone/zdump.c: Update from tzcode 2012b.
7057 * timezone/zic.c: Likewise.
7058
a3cc4f48
JM
7059 * configure.in (libc_cv_as_needed): Remove test.
7060 * configure: Regenerated.
7061 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7062 conditional definition.
7063 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7064 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7065 * config.make.in (have-as-needed): Remove variable.
7066
ceab42c3
SP
70672012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7068 Paul Pluzhnikov <ppluzhnikov@google.com>
7069
7070 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7071 strings correctly.
7072
3ce2865f
CLT
70732012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7074
7075 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7076 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7077 * sysdeps/sh/strlen.S: Likewise.
7078
f37e0d68
JM
70792012-04-24 Joseph Myers <joseph@codesourcery.com>
7080
ae186e9a
JM
7081 * sysdeps/unix/fork.S: Remove file.
7082 * sysdeps/unix/i386/fork.S: Likewise.
7083 * sysdeps/unix/sparc/fork.S: Likewise.
7084
b96914af
JM
7085 * sysdeps/unix/system.c: Remove file.
7086 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7087
f37e0d68
JM
7088 * sysdeps/unix/getegid.S: Remove file.
7089 * sysdeps/unix/geteuid.S: Likewise.
7090
87ef29ca
RM
70912012-04-24 Roland McGrath <roland@hack.frob.com>
7092
83bcd236
RM
7093 * scripts/check-localplt.awk: New file.
7094 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7095 of diff.
7096 * scripts/data/localplt-generic.data: Add a comment.
7097
87ef29ca
RM
7098 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7099 NODE when __dir_mkfile failed.
7100 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7101 Reported by Ludovic Courtès <ludo@gnu.org>.
7102
e5a6e567
AJ
71032012-04-24 Andreas Jaeger <aj@suse.de>
7104
7105 * Makerules (common-clean): Also remove gen-as-const-headers
7106 files.
7107
c1820385
JM
71082012-04-24 Joseph Myers <joseph@codesourcery.com>
7109
7110 * Makerules (native-compile): Do not change working directory for
7111 build. Use $(OUTPUT_OPTION) in command.
7112 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7113
94e02fc4
AZ
71142012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7115
7116 [BZ #13886]
7117 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7118 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7119 * math/libm-test.inc (floor_test): Add more tests.
7120 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7121
3a533ca3
JM
71222012-04-24 Joseph Myers <joseph@codesourcery.com>
7123
940ab4b3
JM
7124 * sysdeps/unix/getdents.c: Remove file.
7125 * sysdeps/unix/sysv/getdents.c: Likewise.
7126 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7127
90e037bd
JM
7128 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7129 sysdeps/unix/mman/syscalls.list.
7130 (mmap): Likewise.
7131 (mprotect): Likewise.
7132 (msync): Likewise.
7133 (munmap): Likewise.
7134 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7135 * sysdeps/unix/mman/syscalls.list: Remove.
7136 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7137
3a533ca3
JM
7138 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7139 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7140 * configure: Regenerated.
7141 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7142 $(libgcc_s_suffix).
7143 * config.make.in (libgcc_s_suffix): Remove variable.
7144
1ad743de
JM
71452012-04-23 Joseph Myers <joseph@codesourcery.com>
7146
4ad451e2
JM
7147 * sysdeps/unix/sysv/gethostname.c: Move to ...
7148 * sysdeps/posix/gethostname.c: ... here.
7149
5e37ce39
JM
7150 * sysdeps/unix/execve.S: Remove file.
7151
1ad743de
JM
7152 * sysdeps/unix/_exit.S: Remove file.
7153
4e681b5b
AJ
71542012-04-23 Andreas Jaeger <aj@suse.de>
7155
7156 [BZ #13739]
7157 * manual/Makefile: Remove make dist support, there's no
7158 need for a stand-alone documentation tar ball.
7159 (TEXI2DVI): Define always, it's not in Makeconfig.
7160 (dist): Removed.
7161 (tar-it): Removed.
7162 (edition): Removed.
7163 (glibc-doc-$(edition).tar): Removed
7164 (%.Z): Removed.
7165 (%.gz): Removed.
7166 (%.uu): Removed.
7167 (ETAGS): Remove, it's in Makeconfig.
7168 (move-if-change): Remove, it's in Makeconfig.
7169
c0baea34
PE
71702013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7171
7172 [BZ #13970]
7173 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7174 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7175 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7176 (strtod_l, strtof_l, strtold_l): Remove __wur.
7177 It is not necessarily an error to ignore strtol's return value.
7178 One can reliably look at the stored endptr to decide whether
7179 the number had valid syntax.
7180
7c0616fa
AJ
71812012-04-21 Andreas Jaeger <aj@suse.de>
7182
803cb6b7 7183 [BZ #13739]
7c0616fa
AJ
7184 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7185
b0fe253f
JM
71862012-04-21 Joseph Myers <joseph@codesourcery.com>
7187
7188 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7189 * sysdeps/unix/sysv/Versions: Remove file.
7190
8280f22d
MT
71912012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7192
7193 [BZ #13927]
7194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7195
75ce411f 71962012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7197
7198 [BZ #7064]
7199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7200 version from __vm86.
7201
097d59fa
JM
72022012-04-20 Joseph Myers <joseph@codesourcery.com>
7203
a90f3bcb
JM
7204 * sysdeps/unix/common/lxstat.c: Remove file.
7205 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7206
edc7ea78
JM
7207 * sysdeps/unix/sysv/Makefile: Remove file.
7208
cb78c221
JM
7209 * sysdeps/unix/sysv/direct.h: Remove file.
7210
efa6a45f
JM
7211 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7212 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7213 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7214 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7215 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7216 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7217 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7218
9c9f2d0c
JM
7219 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7220
4541c83b
JM
7221 * sysdeps/unix/xmknod.c: Remove file.
7222 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7223
f5d153a0
JM
7224 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7225
aa746595
JM
7226 * sysdeps/unix/sysv/i386/time.S: Remove file.
7227
cce5905e
JM
7228 * sysdeps/unix/fxstat.c: Remove file.
7229 * sysdeps/unix/xstat.c: Likewise.
7230 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7231
37fa3841
JM
7232 * sysdeps/unix/sysv/sigaction.c: Remove file.
7233
ff1962a3
JM
7234 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7235 (sysdep_headers): Remove variable.
7236 [termio.h not in sysdep_headers] (generated): Likewise.
7237 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7238 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7239 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7240 * sysdeps/unix/sysv/tcflow.c: Likewise.
7241 * sysdeps/unix/sysv/tcflush.c: Likewise.
7242 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7243 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7244 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7245 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7246 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7247
e7740d31
JM
7248 * sysdeps/unix/siglist.c: Remove file.
7249
ee06f18b
JM
7250 * sysdeps/unix/getppid.S: Remove file.
7251
097d59fa
JM
7252 * sysdeps/unix/mkdir.c: Remove file.
7253 * sysdeps/unix/rmdir.c: Likewise.
7254
ff3d51ec
AS
72552012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7256
7257 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7258 ERR_MAX value.
7259 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7260 errlist-compat value.
7261
50f81fd7
DM
72622012-04-18 David S. Miller <davem@davemloft.net>
7263
7264 * sysdeps/generic/memcopy.h (reg_char): Delete.
7265 * debug/strcat_chk.c: Use char, not reg_char.
7266 * debug/strcpy_chk.c: Likewise.
7267 * debug/strncat_chk.c: Likewise.
7268 * debug/strncpy_chk.c: Likewise.
7269 * string/memchr.c: Likewise.
7270 * string/memrchr.c: Likewise.
7271 * string/rawmemchr.c: Likewise.
7272 * string/strcat.c: Likewise.
7273 * string/strchr.c: Likewise.
7274 * string/strchrnul.c: Likewise.
7275 * string/strcmp.c: Likewise.
7276 * string/strcpy.c: Likewise.
7277 * string/strncat.c: Likewise.
7278 * string/strncmp.c: Likewise.
7279 * string/strncpy.c: Likewise.
7280
8ff41c46
WS
72812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7282
7283 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7284 __builtin_memcopy is called when src and dest ranges are known to not
7285 overlap.
7286
6b652f46
WS
72872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7288
7289 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7290 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7291 fwd_align_merge macro call.
7292 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7293 bwd_align_merge macro call.
7294 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7295
b282631e
WS
72962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7297
7298 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7299 bwd_align_merge macros.
7300 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7301 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7302 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7303
95aa737c
DM
73042012-04-18 David S. Miller <davem@davemloft.net>
7305
7306 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7307
7a99a614
AJ
73082012-04-18 Andreas Jaeger <aj@suse.de>
7309
7310 [BZ# 6794]
7311 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7312 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7313 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7314
7315 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7316 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7317 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7318
7319 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7320 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7321 Adjust for changed ldbl-128 files.
7322
7323 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7324 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7325 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7326
e5270c23
DM
73272012-04-17 David S. Miller <davem@davemloft.net>
7328
7329 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7330
fb5e92c9
AS
73312012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7332
7333 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7334 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7335 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7336 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7337 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7338 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7339
76da7265
AZ
73402012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7341
7342 [BZ #6794]
7343 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7344 * math/libm-test.inc: Add ilogb errno and exception tests.
7345 * math/w_ilogb.c: New file: ilogb wrapper.
7346 * math/w_ilogbf.c: New file: ilogbf wrapper.
7347 * math/w_ilogbl.c: New file: ilogbl wrapper.
7348 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7349 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7350 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7351 exception being thrown with 0.0 as argument.
7352 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7353 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7354 exception being thrown with 0.0 as argument.
7355 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7356 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7357 exception being thrown with 0.0 as argument.
7358 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7359 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7360 exception being thrown with 0.0 as argument.
7361 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7362 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7363 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7364 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7365 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7366 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7367 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7368 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7369 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7370
0396e69d
PB
73712012-04-17 Petr Baudis <pasky@ucw.cz>
7372
7373 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7374 with altivec.
7375
750b5926
MP
73762012-04-16 Marek Polacek <polacek@redhat.com>
7377
7378 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7379
751728a1
MP
73802012-04-16 Marek Polacek <polacek@redhat.com>
7381
7382 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7383 operands of fdivp instruction.
7384
34a27407
L
73852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7386
7387 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7388 * elf/tst-auditmod3b.c: Likewise.
7389 * elf/tst-auditmod4b.c: Likewise.
7390 * elf/tst-auditmod5b.c: Likewise.
7391 * elf/tst-auditmod6b.c: Likewise.
7392 * elf/tst-auditmod6c.c: Likewise.
7393 * elf/tst-auditmod7b.c: Likewise.
7394 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7395 * sysdeps/x86_64/preconfigure.in: Likewise.
7396 * sysdeps/x86_64/preconfigure: Regenerated.
7397
7e73e17d
L
73982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7399
7400 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7401 __ILP32__.
7402
c7a6ab72
AB
74032012-04-13 Antoine Balestrat <merkil33@gmail.com>
7404
7405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7406 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7407
a9e8e0e0
CL
74082012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7409
7410 [BZ #13973]
7411 * locale/iso-639.def: Fix gl language name. Spotted by
7412 Yaron Shahrabani.
7413
ec98af7d
RM
74142012-04-12 Roland McGrath <roland@hack.frob.com>
7415
7416 [BZ #2074]
7417 * libio/libio.h (__io_write_fn): Update comment.
7418
247c3ede
PB
74192012-04-12 Petr Baudis <pasky@ucw.cz>
7420
7421 [BZ #2074]
7422 * stdio.texi (Hook Functions): The user provided writer function
7423 is not allowed to return -1.
7424
55939d6d
DM
74252012-04-11 David S. Miller <davem@davemloft.net>
7426
7427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7428
90020f5a
MF
74292012-04-11 Mike Frysinger <vapier@gentoo.org>
7430
7431 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7432 Add a leading slash to rtkaio.
7433
288f9098
JM
74342012-04-11 Jim Meyering <meyering@redhat.com>
7435
90020f5a
MF
7436 [BZ #11959]
7437 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7438 It is not necessarily an error to ignore fwrite's return
7439 value. One can reliably use ferror to test for errors after
7440 the fact.
288f9098 7441
4be2b570
L
74422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7443
7444 * bits/types.h (__snseconds_t): New type.
7445 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7446
7447 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7449 (__SNSECONDS_T_TYPE): Likewise.
7450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7451 (__SNSECONDS_T_TYPE): Likewise.
7452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7453 (__SNSECONDS_T_TYPE): Likewise.
7454
288f9098 74552012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7456
7457 [BZ #2636]
7458 * manual/time.texi (Processor Time): Return type of times is
7459 elapsed real time since an arbitrary point in the past.
7460 (CPU Time): Move CLK_TCK from here...
7461 (Processor Time): ...to here. Correct description.
7462 * manual/conf.texi (Constants for Sysconf): Correct description of
7463 _SC_CLK_TCK.
7464
d7dd4413
DM
74652012-04-10 David S. Miller <davem@davemloft.net>
7466
7467 [BZ #13967]
7468 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7469 where the is a gap between DT_REL(A) and DT_JMPREL.
7470
b46068fc
L
74712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7472
7473 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7474 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7475 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7476
73d65cc3
SP
74772012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7478
7479 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7480 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7481 (dl_main): Handle --inhibit-cache.
7482 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7483 _dl_inhibit_cache.
7484 * elf/dl-load.c (_dl_map_object): Use it.
7485 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7486
bcc8d661
JM
74872012-04-09 Joseph Myers <joseph@codesourcery.com>
7488
8f9a2fae
JM
7489 [BZ #13872]
7490 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7491 (__ieee754_powl): Saturate large exponents rather than testing for
7492 overflow of y*log2(x).
7493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7494 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7495 exceptions.
7496
bcc8d661
JM
7497 [BZ #11521]
7498 * math/s_ctan.c: Include <float.h>.
7499 (__ctan): Avoid internal overflow or cancellation in calculating
7500 denominator.
7501 * math/s_ctanf.c: Likewise.
7502 * math/s_ctanl.c: Likewise.
7503 * math/s_ctanh.c: Likewise.
7504 * math/s_ctanhf.c: Likewise.
7505 * math/s_ctanhl.c: Likewise.
7506 * math/libm-test.inc (ctan_test): Add more tests.
7507 (ctanh_test): Likewise.
7508 * sysdeps/i386/fpu/libm-test-ulps: Update.
7509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7510
823fbbb4
AJ
75112012-04-09 Andreas Jaeger <aj@suse.de>
7512
03879793
AJ
7513 [BZ #6894]
7514 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7515 is an optional BSD extension.
7516
823fbbb4
AJ
7517 [BZ #10254]
7518 * manual/stdio.texi (Opening Streams): Document additional fopen
7519 parameters.
7520
8de131cb
RM
75212012-04-09 Roland McGrath <roland@hack.frob.com>
7522
7523 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7524 %eax without telling the compiler.
7525
c0ed9d7d
CD
75262012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7527
7528 [BZ # 13963]
7529 * manual/install.texi: Use sourceware.org.
7530
c483f6b4
JM
75312012-04-09 Joseph Myers <joseph@codesourcery.com>
7532
d7dd9453
JM
7533 [BZ #13873]
7534 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7535 (__ieee754_pow): Generate overflow and underflow using huge*huge
7536 and tiny*tiny rather than just returning constant infinity or zero
7537 for large exponents.
7538 * math/libm-test.inc (pow_test): Require overflow exceptions for
7539 applicable cases of large exponents.
7540
c483f6b4
JM
7541 [BZ #706]
7542 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7543 (__ieee754_pow): Use iterative multiplication algorithm only for
7544 integer exponents with absolute value below 1024. Check for odd
7545 integer exponents when using algorithm for real exponents.
7546 * math/libm-test.inc (pow_test): Add more tests.
7547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7548
d2de7579
JM
75492012-04-08 Joseph Myers <joseph@codesourcery.com>
7550
7551 [BZ #13705]
7552 * math/libm-test.inc (exp_test): Do not allow overflow exception
7553 on underflow test.
7554
f77f1232
AJ
75552012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7556
7557 [BZ #13705]
7558 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7559 instead of __kernel_standard_f.
7560
3884932b
MF
75612012-04-08 Mike Frysinger <vapier@gentoo.org>
7562
7563 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7564 * sysdeps/x86_64/memset_chk.S: Likewise.
7565
54472e9c
AJ
75662012-04-08 Andreas Jaeger <aj@suse.de>
7567
6ab0fbfc
AJ
7568 [BZ #10153]
7569 * manual/startup.texi (Environment Access): Describe return value
7570 for putenv and setenv.
7571
61efba8c
AJ
7572 [BZ #6895]
7573 * manual/filesys.texi (Directory Entries): Add description for
7574 DT_LNK.
7575
95c3f29a
AJ
7576 [BZ #6890]
7577 * manual/filesys.texi (Directory Entries): Clarify that it's file
7578 system not operating system in the description of DT_UNKNOWN.
7579
54472e9c
AJ
7580 [BZ #6578]
7581 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7582
624254b1
SC
75832012-04-08 Stephen Compall <s11@member.fsf.org>
7584
7585 [BZ #6649]
7586 * manual/llio.texi (Opening and Closing Files): Add cross
7587 reference to explain mode argument.
7588
1e4920e0
MF
75892012-04-07 Mike Frysinger <vapier@gentoo.org>
7590
7591 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7592 * sysdeps/x86_64/memset_chk.S: Likewise.
7593
5ed848f3
DM
75942012-04-07 David S. Miller <davem@davemloft.net>
7595
7596 * elf/elf.h (R_SPARC_WDISP10): Define.
7597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7598 R_SPARC_SIZE32.
7599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7600 R_SPARC_SIZE64 and R_SPARC_H34.
7601
96154cd8
CD
76022012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7603
7604 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7605 conditions and remove no longer applicable assertion.
7606
9904dc47
L
76072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7608
7609 * bits/byteswap.h: Include <features.h>.
7610 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7611 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7612
f8887d0a
L
76132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7614
7615 * bits/byteswap.h (__bswap_16): Removed.
7616 Include <bits/byteswap-16.h> to get __bswap_16.
7617 * sysdeps/i386/bits/byteswap.h: Likewise.
7618 * sysdeps/s390/bits/byteswap.h: Likewise.
7619 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7620 * bits/byteswap-16.h: New file.
7621 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7622 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7623 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7624 * string/Makefile (headers): Add bits/byteswap-16.h.
7625
62470f60
PP
76262012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7627
7628 [BZ #13895]
7629 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7630 extra indirection.
7631 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7632 * nss/tst-nss-static.c: New.
7633
4dad7bab
RM
76342012-04-06 Robert Millan <rmh@gnu.org>
7635
7636 [BZ #6486]
7637 * manual/llio.texi (File Position Primitive): lseek
7638 refers to WHENCE when it really means OFFSET.
7639
e9142a17
AJ
76402012-04-06 Andreas Jaeger <aj@suse.de>
7641
2c040eff
AJ
7642 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7643 strncmp declarations.
7644
e9142a17
AJ
7645 * abilist/libc.abilist: Add __poll and __ppoll.
7646
ff9f1c5f
DM
76472012-04-05 David S. Miller <davem@davemloft.net>
7648
dcd2ae90
DM
7649 * scripts/check-local-headers.sh: Accept a host triplet in the
7650 path matched by the exclude regexp.
7651
993eb054
DM
7652 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7653 definition.
7654 * sysdeps/powerpc/powerpc32/dl-machine.h
7655 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7656 * sysdeps/s390/s390-32/dl-machine.h
7657 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7658 * sysdeps/sparc/sparc32/dl-machine.h
7659 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7660 * sysdeps/sparc/sparc64/dl-machine.h
7661 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7662
ff9f1c5f
DM
7663 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7664 lazy binding.
48e2e132 7665 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7666 undefined symbol errors.
7667
48e2e132 7668 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7669 DT_NEEDED entries.
7670
e80d6f94
MM
76712012-04-05 Michael Matz <matz@suse.de>
7672
7673 [BZ #13592]
7674 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7675
349fa79f
AJ
76762012-04-05 Andreas Jaeger <aj@suse.de>
7677
7678 [BZ #13908]
7679 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7680 comment.
7681
f402708f
KK
76822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7683
7684 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7685 which ROUND is no valid rounding mode.
7686
2ecccfc9
KK
76872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7688
7689 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7690 read again.
7691 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7692
8a53f50f
KK
76932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7694
7695 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7696 an exception using FPU order intentionally.
7697
76982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7699
7700 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7701 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7702 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7703 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7704
d653abb7
SJ
77052012-04-05 Simon Josefsson <simon@josefsson.org>
7706
7707 [BZ #12340]
7708 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7709 EINVAL when BUFLEN is too smal.
7710
c3b1bf7d
TS
77112012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7712
7713 [BZ #13553]
7714 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7715 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7716
b1aa60f3
AJ
77172012-04-03 Andreas Jaeger <aj@suse.de>
7718
c3b1bf7d 7719 [BZ #13938]
67f60a26
AJ
7720 * manual/setjmp.texi (System V contexts): Fix sentence.
7721
b1aa60f3
AJ
7722 [BZ #13926]
7723 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7724 New macro for this case.
7725 [!__GNUC__] (__bswap_64): New inline function for this case.
7726 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7727 * bits/byteswap.h: Likewise.
7728 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7729 ull, guard with __GLIBC_HAVE_LONG_LONG.
7730
7731 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7732 __GLIBC_HAVE_LONG_LONG.
7733
7734 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7735 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7736
39c59c35
TMQMF
77372012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7738
7739 [BZ #13691]
7740 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7741 inptr and inend, rather than using last_ch.
7742
135ffda8
DM
77432012-04-02 David S. Miller <davem@davemloft.net>
7744
7745 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7746 * stdio-common/printf-parse.h (read_int): Change return type to
7747 'int', return -1 on INT_MAX overflow.
7748 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7749 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7750 overflows INT_MAX. Check for overflow of in-format-string precision
7751 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7752 SIZE_MAX not INT_MAX for integer overflow test.
7753 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7754 skip the construct in the format string but do not record anything.
7755 * stdio-common/bug22.c: Adjust to test both width/prevision
7756 INT_MAX overflow as well as total length INT_MAX overflow. Check
7757 explicitly for proper errno values.
7758
228c019e
TS
77592012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7760
302cadd3
TS
7761 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7762 CHAR_MAX.
7763 * string/test-strcmp.c [! WIDE]: Likewise.
7764 * time/tst-mktime2.c: Likewise for INT_MAX.
7765 * string/test-string.h: #include <sys/param.h> for MIN.
7766
228c019e
TS
7767 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7768 * sysdeps/i386/init-first.c (init): Likewise.
7769 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7770 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7771 * sysdeps/sh/init-first.c (init): Likewise.
7772
cfa633f5
UD
77732012-04-01 Ulrich Drepper <drepper@gmail.com>
7774
7775 * po/ru.po: Update from translation team.
d1635ef8 7776 * po/vi.po: Likewise.
cfa633f5 7777
6cd0a5ea
SP
77782012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7779
7780 * resolv/nss_dns/dns-host.c: Merge copyright years.
7781
4b43400f
LD
77822012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7783
7784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7785 Optimize memcpy with prefetch if
7786 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7787 src, dst pointers have unequal 16 byte alignments.
7788
48c41d04
SP
77892012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7790
7791 [BZ #13928]
7792 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7793 from a CNAME entry and return the minimum ttl for the query.
7794 (gaih_getanswer_slice): Likewise.
7795
b8dc394d
JL
77962012-03-30 Jeff Law <law@redhat.com>
7797
7798 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7799 due to long keys.
7800 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7801 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7802
2f5a5ed0
JL
7803 * resolv/nss_dns/dns-host.c: Update copyright year.
7804
1d39e359
UD
78052012-03-30 Ulrich Drepper <drepper@gmail.com>
7806
c030f70c 7807 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7808 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7809
1d39e359
UD
7810 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7811 comments for sendmmsg.
7812
78132012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7814
7815 [BZ #13691]
7816 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7817 with only 1 character between 0x0041 and 0x01b0.
7818 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7819 * wcsmbs/tst-mbsnrtowcs.c: New file.
7820
20fde227
DM
78212012-03-29 David S. Miller <davem@davemloft.net>
7822
7823 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7824 small copies by hand.
7825
984a4237
JL
78262012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7827
7828 [BZ #13761]
7829 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7830 _nss_compat_initgroups_dyn): Fall back to malloc/free
7831 for large group memberships.
7832
18c9d62b
DM
78332012-03-28 David S. Miller <davem@davemloft.net>
7834
88d85d4f
DM
7835 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7836 that branches into memcpy.
7837 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7838 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7839 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7840 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7841 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7842 bits.
7843 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7844 implementation too.
7845 * sysdeps/sparc/mempcpy.S: New file.
7846
e5aa83e1
DM
7847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7848 the IFUNC routine in the libc case.
7849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7850
88570753
DM
7851 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7852 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7853 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7854 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7855 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7856 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7857 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7858 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7859
249d7567
DM
7860 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7861 loop to 256 bytes instead of 64 bytes and fix test signedness.
7862
18c9d62b
DM
7863 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7864 * sysdeps/sparc/sparc32/Makefile: rather than here...
7865 * sysdeps/sparc/sparc64/Makefile: and here.
7866
05f3d1f6
UD
78672012-03-28 Ulrich Drepper <drepper@gmail.com>
7868
7869 * malloc/mallocbug.c: Avoid warnings about unused variables.
7870
86ae07a8
JL
78712012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7872
7873 [BZ #13760]
7874 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7875 in the right place. Discard and retry query if response is
7876 larger than input buffer size.
7877
41bf21a1
JM
78782012-03-28 Joseph Myers <joseph@codesourcery.com>
7879
d6270972
JM
7880 [BZ #369]
7881 [BZ #2678]
7882 [BZ #3866]
7883 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7884 x for large integer exponent.
7885 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7886 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7887 sign of result as needed afterwards.
7888 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7889 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7890 result for underflowing pow the same as for overflow.
7891 (__kernel_standard_l): Handle powl overflow and underflow here
7892 rather than calling __kernel_standard.
7893 * math/libm-test.inc (pow_test): Add more tests.
7894
414fca03 7895 [BZ #3868]
41bf21a1
JM
7896 [BZ #13879]
7897 [BZ #13910]
7898 [BZ #13911]
7899 [BZ #13912]
7900 [BZ #13913]
7901 [BZ #13915]
7902 [BZ #13916]
7903 [BZ #13917]
7904 [BZ #13918]
7905 [BZ #13919]
7906 [BZ #13920]
7907 [BZ #13921]
7908 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7909 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7910 (__kernel_standard_l): New function.
7911 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7912 __kernel_standard.
7913 * math/w_acosl.c (__acosl): Likewise.
7914 * math/w_asinl.c (__asinl): Likewise.
7915 * math/w_atan2l.c (__atan2l): Likewise.
7916 * math/w_atanhl.c (__atanhl): Likewise.
7917 * math/w_coshl.c (__coshl): Likewise.
7918 * math/w_exp10l.c (__exp10l): Likewise.
7919 * math/w_exp2l.c (__exp2l): Likewise.
7920 * math/w_fmodl.c (__fmodl): Likewise.
7921 * math/w_hypotl.c (__hypotl): Likewise.
7922 * math/w_j0l.c (__j0l, __y0l): Likewise.
7923 * math/w_j1l.c (__j1l, __y1l): Likewise.
7924 * math/w_jnl.c (__jnl, __ynl): Likewise.
7925 * math/w_lgammal.c (__lgammal): Likewise.
7926 * math/w_log10l.c (__log10l): Likewise.
7927 * math/w_log2l.c (__log2l): Likewise.
7928 * math/w_logl.c (__logl): Likewise.
7929 * math/w_powl.c (__powl): Likewise.
7930 * math/w_remainderl.c (__remainderl): Likewise.
7931 * math/w_scalbl.c (sysv_scalbl): Likewise.
7932 * math/w_sinhl.c (__sinhl): Likewise.
7933 * math/w_sqrtl.c (__sqrtl): Likewise.
7934 * math/w_tgammal.c (__tgammal): Likewise.
7935 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7936 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7937 * math/libm-test.inc (acos_test): Add more tests.
7938 (acosh_test): Likewise.
7939 (asin_test): Likewise.
7940 (atanh_test): Likewise.
7941 (exp_test): Likewise.
7942 (exp10_test): Likewise.
7943 (exp2_test): Likewise.
7944 (expm1_test): Likewise.
7945 (lgamma_test): Likewise.
7946 (log_test): Likewise.
7947 (log10_test): Likewise.
7948 (log1p_test): Likewise.
7949 (log2_test): Likewise.
7950 (pow_test): Do not allow some spurious overflow exceptions.
7951 (sqrt_test): Add more tests.
7952 (tgamma_test): Likewise.
7953 (y0_test): Likewise.
7954 (y1_test): Likewise.
7955 (yn_test): Likewise.
7956
dd62fda6
AB
79572012-03-27 Anton Blanchard <anton@samba.org>
7958
7959 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7960 MAP_HUGETLB.
7961 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7962 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7963 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7964
1e3cdfda
AJ
79652012-03-27 David S. Miller <davem@davemloft.net>
7966
b855ab85
DM
7967 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7968
1e3cdfda
AJ
7969 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7970 have-as-vis3 check.
7971
79722012-03-27 Andreas Jaeger <aj@suse.de>
7973
7974 * sysdeps/x86_64/elf/configure.in: Moved to ...
7975 * sysdeps/x86_64/configure.in: ... here.
7976 * sysdeps/x86_64/elf/start.S: Moved to ...
7977 * sysdeps/x86_64/start.S: ... here.
7978 * sysdeps/x86_64/elf/configure: Delete.
7979
7980 * sysdeps/x86_64/configure.in: Merge contents from
7981 sysdeps/i386/configure.in (without i686 check).
7982
7983 * sysdeps/i386/elf/Versions: Merge into ...
7984 * sysdeps/i386/Versions: ... this.
7985 * sysdeps/i386/elf/Versions: Delete file.
7986 * sysdeps/i386/elf/start.S: Moved to ...
7987 * sysdeps/i386/start.S: ...here.
7988 * sysdeps/i386/elf/configure.in: Merge into...
7989 * sysdeps/i386/configure.in: ...here.
7990 * sysdeps/i386/elf/configure.in: Delete file.
7991 * sysdeps/i386/elf/configure: Delete file.
7992
7993 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7994 * debug/backtracesyms.c: ... here.
7995 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7996 * debug/backtracesymsfd.c: ... here.
7997 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7998 * sysdeps/generic/ifunc-sel.h: ... here.
7999
8000 * sysdeps/unix/i386/start.c: Delete file.
8001 * sysdeps/unix/sparc/start.c: Delete file.
8002 * sysdeps/unix/start.c: Delete file.
8003
8004 * sysdeps/sh/elf/configure.in: Moved to ...
8005 * sysdeps/sh/configure.in: ... here.
8006 * sysdeps/sh/elf/start.S: Moved to ...
8007 * sysdeps/sh/start.S: ... here.
8008 * sysdeps/sh/elf/configure: Delete file.
8009
8010 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8011 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8012 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8013 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8014 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8015 * sysdeps/powerpc/powerpc64/start.S: here.
8016 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8017 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8018 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8019 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8020 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8021
8022 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8023 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8024 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8025 * sysdeps/powerpc/powerpc32/start.S: ... here.
8026 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8027 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8028 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8029
8030 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8031 * sysdeps/powerpc/ifunc-sel.h: ... here.
8032 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8033 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8034
8035 * sysdeps/sparc/elf/configure.in: Moved to ...
8036 * sysdeps/sparc/configure.in: ... here.
8037 * sysdeps/sparc/elf/configure: Delete file.
8038 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8039 * sysdeps/sparc/sparc32/start.S: ... here.
8040 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8041 * sysdeps/sparc/sparc64/start.S: ... here.
8042 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8043 * sysdeps/sparc/sparc32/Makefile: ... this.
8044 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8045 * sysdeps/sparc/sparc64/Makefile: ... this.
8046
8047 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8048 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8049 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8050 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8051 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8052 * sysdeps/s390/s390-32/setjmp.S: ... here.
8053 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8054 * sysdeps/s390/s390-32/configure.in: ... here.
8055 * sysdeps/s390/s390-32/elf/configure: Delete file.
8056 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8057 * sysdeps/s390/s390-32/start.S: ... here.
8058
8059 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8060 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8061 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8062 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8063 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8064 * sysdeps/s390/s390-64/setjmp.S: ... here.
8065 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8066 * sysdeps/s390/s390-64/configure.in: ... here
8067 * sysdeps/s390/s390-64/elf/configure: Delete file.
8068 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8069 * sysdeps/s390/s390-64/start.S: ... here.
8070 * sysdeps/s390/s390-64/elf/configure: Delete.
8071
8072 * configure.in: Remove support for elf directories in sysdeps.
8073
8074 * configure: Regenerated.
8075 * sysdeps/i386/configure: Regenerated.
8076 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8077 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8078 * sysdeps/s390/s390-32/configure: Regenerated.
8079 * sysdeps/s390/s390-64/configure: Regenerated.
8080 * sysdeps/sh/configure: Regenerated.
8081 * sysdeps/sparc/configure: Regenerated.
8082 * sysdeps/x86_64/configure: Regenerated.
8083
a3f61311
AS
80842012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8085
c876e002
AS
8086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8087
a3f61311
AS
8088 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8089 denormal result into account.
8090
ac4c54f0
RM
80912012-03-25 Roland McGrath <roland@hack.frob.com>
8092
8093 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8094 Reported by Allan McRae <allan@archlinux.org>.
8095
6a9b9c02
JL
80962012-03-23 Jeff Law <law@redhat.com>
8097
8098 * nss/getnssent.c (__nss_getent): Fix typo.
8099
4c42a0c1
DM
81002012-03-23 David S. Miller <davem@davemloft.net>
8101
8102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8103
1532c7ac
L
81042012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8105
8106 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8107 to pad to uint64_t for each field.
8108 (dl_tls_index): Replace unsigned long with uint64_t.
8109
3ff42526
PP
81102012-03-23 Daniel Jacobowitz <dmj@google.com>
8111 Paul Pluzhnikov <ppluzhnikov@google.com>
8112
8113 [BZ #6528]
8114 * grp/Makefile (otherlibs): Don't set it.
8115 * inet/Makefile (otherlibs): Likewise.
8116 * login/Makefile (otherlibs): Likewise.
8117 * nscd/Makefile (otherlibs): Likewise.
8118 * posix/Makefile (otherlibs): Likewise.
8119 * pwd/Makefile (otherlibs): Likewise.
8120 * rt/Makefile (otherlibs): Likewise.
8121 * sunrpc/Makefile (otherlibs): Likewise.
8122 * nss/Makefile (otherlibs): Likewise.
8123 Add libnss_files to routines and static-only-routines.
8124 ($(objpfx)getent): Remove rule.
8125 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8126 static-only-routines.
8127
7c69cd14
JM
81282012-03-22 Joseph Myers <joseph@codesourcery.com>
8129
8130 [BZ #13892]
8131 * math/s_cexp.c: Include <float.h>.
8132 (__cexp): Handle exp result overflowing not necessarily
8133 overflowing both real and imaginary parts of result.
8134 * math/s_cexpf.c: Likewise.
8135 * math/s_cexpl.c: Likewise.
8136 * math/libm-test.inc (cexp_test): Add more tests.
8137 * sysdeps/i386/fpu/libm-test-ulps: Update.
8138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8139
81b035fe
L
81402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8141
8142 * include/link.h (ELFW): New macro.
8143 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8144 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8145
1da7940c
L
81462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8147
8148 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8149 with uint64_t.
8150
b749dbb9
L
81512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8152
8153 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8154 declaration.
8155 (struct La_x32_retval): Likewise.
8156
2ff87f3f
L
81572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8158
8159 * sysdeps/x86_64/preconfigure.in: New file.
8160 * sysdeps/x86_64/preconfigure: New generated file.
8161
c0df8e69
JM
81622012-03-22 Joseph Myers <joseph@codesourcery.com>
8163
48e44791
JM
8164 [BZ #13824]
8165 * math/e_exp2l.c: Include <float.h>.
8166 (__ieee754_exp2l): Handle overflow and underflow cases
8167 separately. Only pass fractional part of argument to
8168 __ieee754_expl.
8169 * math/libm-test.inc (exp2_test): Add more tests.
8170
c0df8e69
JM
8171 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8172 negating x to take absolute value.
8173 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8174 Likewise.
8175 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8176 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8177 Likewise.
8178 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8179 computing low part if x was negated.
8180 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8181
c8e43ba7
L
81822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8183
8184 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8185 la_x32_gnu_pltexit.
8186 (pltexit): Cast int_retval to ptrdiff_t.
8187 * elf/tst-auditmod3b.c: Likewise.
8188 * elf/tst-auditmod4b.c: Likewise.
8189 * elf/tst-auditmod5b.c: Likewise.
8190 * elf/tst-auditmod6b.c: Likewise.
8191 * elf/tst-auditmod6c.c: Likewise.
8192 * elf/tst-auditmod7b.c: Likewise.
8193
8194 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8195 and x32_gnu_pltexit.
8196
8197 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8198 __ELF_NATIVE_CLASS.
8199 (La_x32_regs): New macro.
8200 (La_x32_retval): Likewise.
8201 (la_x32_gnu_pltenter): New function prototype.
8202 (la_x32_gnu_pltexit): Likewise.
8203
7998fa78
AS
82042012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8205
dcb33988
AS
8206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8207 exponent.
8208
233fc563
AS
8209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8210
7998fa78
AS
8211 * configure.in (libc_cv_cc_nofma): Check for option to disable
8212 generation of FMA instructions.
8213 * configure: Regenerate.
8214 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8215 * sysdeps/ieee754/dbl-64/Makefile: New file.
8216 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8217 Remove brandred-fma4.
8218 (CFLAGS-brandred-fma4.c): Remove.
8219 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8220 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8221 define.
8222 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8223 define.
8224
8e95c99a
L
82252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8226
8227 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8228 LLONG_MAX != LONG_MAX.
8229 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8230 (_fitoa_word): Likewise.
8231 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8232 LLONG_MAX != LONG_MAX.
8233 * stdio-common/_itowa.h: Include <_itoa.h>.
8234 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8235 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8236 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8237 only if not defined.
8238 (_ITOA_WORD_TYPE): Likewise.
8239 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8240 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8241
6f4db457
DM
82422012-03-21 David S. Miller <davem@davemloft.net>
8243
8244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8245
7785fe5a
L
82462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8247
8248 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8249 of x86_64 when setting libc_cv_slibdir, libdir and
8250 libc_cv_localedir.
8251 * sysdeps/unix/sysv/linux/configure: Regenerated.
8252
4535cd55
JM
82532012-03-21 Joseph Myers <joseph@codesourcery.com>
8254
8255 * manual/lang.texi (Old Varargs): Remove section.
8256 (How Variadic): Update menu.
8257 (va_start): Do not mention varargs.h.
8258
17228132
TS
82592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8260 Joseph Myers <joseph@codesourcery.com>
8261
8262 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8263 link test.
8264 * configure: Regenerated.
8265
8149f976
TS
82662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8267
05f3d1f6
UD
8268 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8269 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8270 conformtest.pl
8149f976 8271
1a4ac776
JM
82722012-03-21 Joseph Myers <joseph@codesourcery.com>
8273
be22ce65
JM
8274 * NOTES: Remove.
8275 * Makefile (files-for-dist): Remove NOTES.
8276 (NOTES): Remove rule.
8277 * README: Don't refer to NOTES.
8278 * manual/creature.texi: Don't include macros.texi.
8279 * manual/intro.texi (creature.texi): Remove comment referring to
8280 NOTES.
8281
40b601fb
JM
8282 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8283 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8284 * configure: Regenerated.
8285 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8286 LIBC_TRY_CC_OPTION.
8287 (libc_cv_as_i686): Likewise.
8288 (libc_cv_cc_avx): Likewise.
8289 (libc_cv_cc_sse2avx): Likewise.
8290 (libc_cv_cc_fma4): Likewise.
8291 (libc_cv_cc_novzeroupper): Likewise.
8292 * sysdeps/i386/configure: Regenerated.
8293
1a4ac776
JM
8294 [BZ #13883]
8295 * sysdeps/i386/fpu/s_cexp.S: Remove.
8296 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8297 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8298 * math/libm-test.inc (cexp_test): Add more tests.
8299 * sysdeps/i386/fpu/libm-test-ulps: Update.
8300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8301
a458e7fe
AM
83022012-03-21 Allan McRae <allan@archlinux.org>
8303
8304 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8305
0cb7efc5
JM
83062012-03-21 Joseph Myers <joseph@codesourcery.com>
8307
8308 [BZ #13871]
8309 * math/w_exp2.c: Do not include <float.h>.
8310 (o_threshold, u_threshold): Remove.
8311 (__exp2): Calculate result before checking finiteness and calling
8312 __kernel_standard.
8313 * math/w_exp2f.c: Likewise.
8314 * math/w_exp2l.c: Likewise.
8315 * math/libm-test.inc (exp2_test): Require overflow exception for
8316 1e6 input.
2460d3aa
JM
8317
8318 [BZ #3866]
8319 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8320 range of signed 64-bit integers before using fistpll. Remove
8321 checks for whether integers fit in mantissa bits.
8322 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8323 the range of signed 32-bit integers before using fistpl. Remove
8324 checks for whether integers fit in mantissa bits.
8325 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8330 divide-by-zero is raised for zero to large negative powers.
8331 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8332 (__ieee754_powl): Test for y outside the range of signed 64-bit
8333 integers before using fistpll. Reduce 64-bit values to 63-bit
8334 ones as needed.
8335 * math/libm-test.inc (pow_test): Add more tests.
8336
eb96ffb0
L
83372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8338
8339 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8340 <stdio-common/_itoa.h>.
8341 * debug/segfault.c: Likewise.
8342 * elf/dl-cache.c: Likewise.
8343 * elf/dl-minimal.c: Likewise.
8344 * elf/dl-misc.c: Likewise.
8345 * elf/dl-sysdep.c: Likewise.
8346 * elf/dl-version.c: Likewise.
8347 * elf/rtld.c: Likewise.
8348 * hurd/hurdsock.c: Likewise.
8349 * hurd/lookup-retry.c: Likewise.
8350 * malloc/malloc.c: Likewise.
8351 * malloc/mtrace.c: Likewise.
8352 * nscd/nscd_getgr_r.c: Likewise.
8353 * nscd/nscd_getpw_r.c: Likewise.
8354 * nscd/nscd_getserv_r.c: Likewise.
8355 * posix/getopt_init.c: Likewise.
8356 * posix/wordexp.c: Likewise.
8357 * stdio-common/_itoa.c: Likewise.
8358 * stdio-common/printf_fphex.c: Likewise.
8359 * stdio-common/vfprintf.c: Likewise.
8360 * string/_strerror.c: Likewise.
8361 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8362 * sysdeps/i386/i686/hp-timing.h: Likewise.
8363 * sysdeps/mach/_strerror.c: Likewise.
8364 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8365 * sysdeps/mach/hurd/sethostid.c: Likewise.
8366 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8367 * sysdeps/mach/xpg-strerror.c: Likewise.
8368 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8369 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8370 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8371 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8372 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8373 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8374 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8375 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8376 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8377 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8378 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8379 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8380 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8381 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8382 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8383 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8384 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8385 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8386 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8387 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8388 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8389
8390 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8391
8392 * stdio-common/_itoa.h: Moved to ...
8393 * sysdeps/generic/_itoa.h: Here.
8394
8395 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8396
8397 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8398 instead of "_itoa.h" and "_itowa.h".
8399 * stdio-common/vfprintf.: Likewise.
8400
d1af992d
L
84012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8404 <bits/wordsize.h>.
8405 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8406 (__signbit): Likwise.
8407 (llrintf): Likwise.
8408 (llrint): Likwise.
8409
114883e0
L
84102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8411
8412 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8413 __WORDSIZE != 64.
8414
c135cc1b
JM
84152012-03-20 Joseph Myers <joseph@codesourcery.com>
8416
8417 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8418 OVERFLOW_EXCEPTION_OK.
8419 * math/libm-test.inc ("Philosophy"): Update comment about
8420 exception testing.
8421 (OVERFLOW_EXCEPTION): Define.
8422 (OVERFLOW_EXCEPTION_OK): Likewise.
8423 (INVALID_EXCEPTION_OK): Renumber.
8424 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8425 (IGNORE_ZERO_INF_SIGN): Likewise.
8426 (test_exceptions): Handle FE_OVERFLOW.
8427 (exp10_test): Expect overflow exceptions.
8428 (exp2_test): Likewise.
8429 (expm1_test): Likewise.
8430 (nextafter_test): Likewise.
8431 (pow_test): Likewise.
8432 (scalbn_test): Likewise.
8433 (scalbln_test): Likewise.
8434
95443d88
L
84352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8436
8437 * sysdeps/x86_64/bits/atomic.h
8438 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8439 64bit integer.
8440 (atomic_exchange_acq): Likewise.
8441 (__arch_exchange_and_add_body): Likewise.
8442 (__arch_add_body): Likewise.
8443 (atomic_add_negative): Likewise.
8444 (atomic_add_zero): Likewise.
8445
490df6c4
L
84462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8447
c2722551 8448 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8449 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8450
5e52b189
L
84512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8452
8453 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8454 Check __x86_64__ instead of __WORDSIZE.
8455
a9879d4c
L
84562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8457
8458 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8459
5df98260
DM
84602012-03-19 David S. Miller <davem@davemloft.net>
8461
e1497744
DM
8462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8463
5df98260
DM
8464 * sysdeps/sparc/fpu/fenv_private.h: New file.
8465 * sysdeps/sparc/fpu/math_private.h: Use it.
8466 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8467 Remove.
8468 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8469 (libc_feholdexcept_setroundl): Remove.
8470 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8471 Remove.
8472 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8473 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8474
b4c35121
L
84752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8478 int64_t instead of long int.
8479 (INSERT_WORDS64): Likwise.
8480
56965fd7
L
84812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8482
8483 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8484 _Unwind_GetCFA return to _Unwind_Ptr first.
8485
83d1aec8
JM
84862012-03-19 Joseph Myers <joseph@codesourcery.com>
8487
1897ad44
JM
8488 [BZ #13629]
8489 * math/s_clog.c: Include <float.h>.
8490 (__clog): Scale large or subnormal inputs.
8491 * math/s_clogf.c: Likewise.
8492 * math/s_clogl.c: Likewise.
8493 * math/s_clog10.c: Include <float.h>.
8494 (M_LOG10_2): Define.
8495 (__clog10): Scale large or subnormal inputs.
8496 * math/s_clog10f.c: Likewise.
8497 * math/s_clog10l.c: Likewise.
8498 * math/libm-test.inc (clog_test): Add more tests.
8499 (clog10_test): Likewise.
8500 * sysdeps/i386/fpu/libm-test-ulps: Update.
8501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8502
7726d6a9
JM
8503 [BZ #11451]
8504 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8505 x and y.
8506 * math/libm-test.inc (atan2_test): Add another test.
8507
83d1aec8
JM
8508 * Makerules (common-objdir-compile): Remove.
8509 * sysdeps/unix/Makefile (config-generated): Do not add
8510 $(unix-generated) to variable.
8511 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8512 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8513 Remove rule.
8514 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8515 Likewise.
8516 [generic bits/local_lim.h] (before-compile): Do not append to
8517 variable.
8518 [generic bits/local_lim.h] (common-generated): Likewise.
8519 [generic sys/param.h] (before-compile): Do not append to variable.
8520 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8521 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8522 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8523 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8524 include.
8525 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8526 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8527 [generic sys/param.h] ($(addprefix
8528 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8529 [generic sys/param.h] (common-generated): Do not append to
8530 variable.
8531 [generic sys/param.h] (sysdep_headers): Likewise.
8532 [generic bits/errno.h] (before-compile): Do not append to
8533 variable.
8534 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8535 rule.
8536 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8537 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8538 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8539 [generic bits/errno.h] (common-generated): Do not append to
8540 variable.
8541 [generic bits/ioctls.h] (before-compile): Do not append to
8542 variable.
8543 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8544 rule.
8545 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8546 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8547 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8548 rule.
8549 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8550 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8551 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8552 [generic bits/ioctls.h] (common-generated): Do not append to
8553 variable.
8554 [generic sys/syscall.h] (syscall.h): Remove variable.
8555 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8556 rule.
8557 [generic sys/syscall.h] (before-compile): Do not append to
8558 variable.
8559 [generic sys/syscall.h] (common-generated): Likewise.
8560 * sysdeps/unix/errnos-tmpl.c: Remove file.
8561 * sysdeps/unix/errnos.awk: Likewise.
8562 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8563 * sysdeps/unix/ioctls.awk: Likewise.
8564 * sysdeps/unix/mk-local_lim.c: Likewise.
8565 * sysdeps/unix/snarf-ioctls: Likewise.
8566
4851a949
RH
85672012-03-19 Richard Henderson <rth@twiddle.net>
8568
bd37f2ee
RH
8569 * sysdeps/i386/fpu/fenv_private.h: New file.
8570 * sysdeps/i386/fpu/math_private.h: Use it.
8571 (math_opt_barrier, math_force_eval): Remove.
8572 (libc_feholdexcept_setround_53bit): Remove.
8573 (libc_feupdateenv_53bit): Remove.
8574 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8575 (math_opt_barrier, math_force_eval): Remove.
8576 (libc_feholdexcept): Remove.
8577 (libc_feholdexcept_setround): Remove.
8578 (libc_fetestexcept, libc_fesetenv): Remove.
8579 (libc_feupdateenv_test): Remove.
8580 (libc_feupdateenv, libc_feholdsetround): Remove.
8581 (libc_feresetround): Remove.
8582
d0adc922
RH
8583 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8584 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8585
0fe0f1f8
RH
8586 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8587 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8588 (libc_feupdateenv_testl): New.
8589 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8590 (libc_feupdateenv_testf): New.
8591 (libc_feupdateenv): Use libc_feupdateenv_test.
8592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8593 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8594
eb92c487
RH
8595 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8596 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8597 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8598 (libc_feresetround_noex): New.
8599 (libc_feresetround_noexf): New.
8600 (libc_feresetround_noexl): New.
8601 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8602 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8603 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8604 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8605 SET_RESTORE_ROUND.
8606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8607 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8608 (__cos): Likewise.
8609 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8610 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8611 SET_RESTORE_ROUND_NOEX.
8612 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8613 SET_RESTORE_ROUND_NOEXF.
8614 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8615 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8616 (libc_feholdsetroundf): New.
8617 (libc_feresetround, libc_feresetroundf): New.
8618
7d2e8012
RH
8619 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8620 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8621 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8622
b4dabbb4
RH
8623 * sysdeps/generic/math_private.h: Include <fenv.h>.
8624 (default_libc_feholdexcept): New.
8625 (default_libc_feholdexcept_setround): New.
8626 (default_libc_fesetenv, default_libc_feupdateenv): New.
8627 (libc_feholdexcept): Only define if undefined.
8628 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8629 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8630 (libc_feholdexcept_setroundl): Likewise.
8631 (libc_feholdexcept_setround_53bit): Likewise.
8632 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8633 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8634 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8635 (libc_feupdateenv_53bit): Likewise.
8636 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8637 (libc_feholdexcept): Convert from macro to inline function.
8638 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8639 (libc_fesetenv, libc_feupdateenv): Likewise.
8640
4851a949
RH
8641 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8642 not previously defined.
8643 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8644 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8645 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8646 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8647 * sysdeps/ieee754/flt-32/math_private.h: New file.
8648 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8649 math_private.h below SET_FLOAT_WORD.
8650 (__isnan, __isinf_ns, __finite): Remove.
8651 (__isnanf, __isinf_nsf, __finitef): Remove.
8652
e79d442e
AS
86532012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8654
8655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8656
90b80344
DM
86572012-03-17 David S. Miller <davem@davemloft.net>
8658
8659 [BZ #6471]
8660 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8661 for 2.16.
8662
edc21804
DM
86632012-03-16 David S. Miller <davem@davemloft.net>
8664
77e927af
DM
8665 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8666 warnings.
8667
374976dd
DM
8668 [BZ #6471]
8669 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8670 properly.
8671 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8672 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8673 sysdep_routines when subdir is sysvipc.
8674 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8675 __getshmlba helper.
8676
edc21804
DM
8677 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8678
473c3ef3
L
86792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8680
8681 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8682 [__LP64__].
8683
eb0f39b6
L
86842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8687 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8688 (__lround): Renamed to ...
8689 (__llround): This. Replace long int with long long int.
8690 Define lround functions as aliases of llround functions.
8691 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8692
6b6cd74b
L
86932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8694
8695 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8696 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8697 adresses to uintptr_t. Replace "long int" and "unsigned long
8698 int" with "greg_t" on va_arg.
8699
f1a77b01
L
87002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8701
8702 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8703 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8704
8705 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8706 Move e_machine check before EI_CLASS check. Handle x32
8707 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8708 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8709 SKIP_EM_IA_64 and include
8710 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8711
8712 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8713 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8714 (add_system_dir): New macro.
8715
8716 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8717 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8718
11b90b9f
JM
87192012-03-16 Joseph Myers <joseph@codesourcery.com>
8720
c36e1d23
JM
8721 [BZ #2551]
8722 [BZ #2552]
8723 [BZ #2553]
8724 [BZ #2554]
8725 [BZ #2562]
8726 [BZ #2563]
8727 [BZ #2565]
8728 [BZ #2566]
8729 [BZ #2576]
8730 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8731 (y0): Likewise.
8732 * math/w_j0f.c (j0f): Likewise.
8733 (y0f): Likewise.
8734 * math/w_j0l.c (__j0l): Likewise.
8735 (__y0l): Likewise.
8736 * math/w_j1.c (j1): Likewise.
8737 (y1): Likewise.
8738 * math/w_j1f.c (j1f): Likewise.
8739 (y1f): Likewise.
8740 * math/w_j1l.c (__j1l): Likewise.
8741 (__y1l): Likewise.
8742 * math/w_jn.c (jn): Likewise.
8743 (yn): Likewise.
8744 * math/w_jnf.c (jnf): Likewise.
8745 (ynf): Likewise.
8746 * math/w_jnl.c (__jnl): Likewise.
8747 (__ynl): Likewise.
8748 * math/libm-test.inc (j0_test): Add more tests.
8749 (j1_test): Likewise.
8750 (jn_test): Likewise. Add trailing semicolon to existing test.
8751 (y0_test): Likewise.
8752 (y1_test): Likewise.
8753 * sysdeps/i386/fpu/libm-test-ulps: Update.
8754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755
11b90b9f
JM
8756 [BZ #13851]
8757 [BZ #13854]
8758 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8759 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8760 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8761 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8762 (__tanl): Set errno for infinite argument.
8763 * sysdeps/i386/fpu/mptan.c: Remove.
8764 * sysdeps/i386/fpu/s_tan.S: Likewise.
8765 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8766 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8767 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8768 * math/libm-test.inc (tan_test): Add more tests and enable more
8769 tests for double and long double.
8770 * sysdeps/i386/fpu/libm-test-ulps: Update.
8771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8772
6a1bd2a1
JK
87732012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8774
8775 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8776 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8777
10a803e0
RM
87782012-03-16 Roland McGrath <roland@hack.frob.com>
8779
8780 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8781 * configure.in: Use it for both main tree and add-ons.
8782 * configure: Regenerated.
8783
f196c7f7
L
87842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8785
8786 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8787
8848d99d
JM
87882012-03-16 Joseph Myers <joseph@codesourcery.com>
8789
96cbe7f4
JM
8790 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8791 in comment.
8792
8848d99d
JM
8793 [BZ #13851]
8794 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8795 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8799 infinite argument.
8800 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8802 != 0 for prec == 2.
8803 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8804 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8805 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8806 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8807 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8808 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8809 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8810 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8811 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8812 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8813 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8814 * math/libm-test.inc (cos_test): Add more tests and enable more
8815 tests for long double.
8816 (sin_test): Likewise.
8817 (sincos_test): Likewise.
8818 * sysdeps/i386/fpu/libm-test-ulps: Update.
8819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8820
dd7f4703
DM
88212012-03-16 David S. Miller <davem@davemloft.net>
8822
8823 * sysdeps/sparc/fpu/math_private.h: New file.
8824
006f1daa
DM
88252012-03-15 David S. Miller <davem@davemloft.net>
8826
c0c83bc8
DM
8827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8828 file.
e6a62e18 8829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8831 file.
e6a62e18
DM
8832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8838 sysdep routines.
8839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8840
88cb87d9
DM
8841 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8842 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8843
006f1daa 8844 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8846 sparc-ifunc.h
006f1daa 8847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8849 Likewise.
8850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8851 Likewise.
006f1daa
DM
8852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8856 Likewise.
006f1daa
DM
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8862 Likewise.
8863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8864 Likewise.
006f1daa
DM
8865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8871 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8872 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8883 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8886 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8888 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8889
11e0098e
AS
88902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8891
8892 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8893 scaling.
8894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8895
e85b09d0
AJ
88962012-03-15 Andreas Jaeger <aj@suse.de>
8897
8898 [BZ #13852]
8899 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8900 ieee754/flt-32 implementation for sin, cos and sincos.
8901 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8902 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8903 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8904 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8905 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8906 ieee754/flt-32 implementation for tan.
8907
8908 * math/libm-test.inc (cos_test): Enable some large input tests for
8909 float as well
8910 (sin_test): Likewise.
8911 (sincos_test): Likewise.
8912 (tan_test): Add tests for large input.
8913
8914 * sysdeps/i386/fpu/libm-test-ulps: Update.
8915
81c64153
AJ
89162012-03-15 Andreas Jaeger <aj@suse.de>
8917
8918 [BZ #13658]
8919 * math/libm-test.inc (cos_test): Add more test cases.
8920 (sin_test): Likewise.
8921 (sincos_test): Likewise.
8922
7bbfa5c6
AJ
89232012-03-15 Andreas Jaeger <aj@suse.de>
8924
8925 [BZ #13837]
8926 * math/libm-test.inc (cos_test): Add a test case for large input
8927 value.
8928 (sin_test): Likewise.
8929 (sincos_test): Likewise.
8930
89312012-03-15 Andreas Jaeger <aj@suse.de>,
8932 Joseph Myers <joseph@codesourcery.com>
8933
8934 [BZ #13658]
0671f479 8935 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
8936 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8937 * sysdeps/i386/fpu/branred.c: Likewise.
8938 * sysdeps/i386/fpu/dosincos.c: Likewise.
8939 * sysdeps/i386/fpu/mpa.c: Likewise.
8940 * sysdeps/i386/fpu/s_cos.S: Likewise.
8941 * sysdeps/i386/fpu/s_sin.S: Likewise.
8942 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8943 * sysdeps/i386/fpu/sincos32.c: Likewise.
8944
8945 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8946 Define.
8947 (libc_feupdateenv_53bit): Define.
8948 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8949 Define.
8950 (libc_feupdateenv_53bit): Define.
8951
8952 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8953 53 bit (without extend i386 double precision).
8954
8955 * math/libm-test.inc (sincos_test): Add tests for large input.
8956 (sin): Likewise.
8957 (cos): Likewise.
8958
8959 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8960
9cad04ea
AS
89612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8962
8963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8964
f7062b9a
DM
89652012-03-15 David S. Miller <davem@davemloft.net>
8966
8967 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8968 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8969 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8970 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8983 file.
f7062b9a 8984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
8985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8986 file.
f7062b9a 8987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
8988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8989 file.
f7062b9a 8990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
8991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8992 file.
f7062b9a
DM
8993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8995 fmin/fmax sysdep routines.
8996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8997
7bd951ff
DM
89982012-03-14 David S. Miller <davem@davemloft.net>
8999
559398ab
DM
9000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9004 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9005 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9006 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9007 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9020 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9021 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9022 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9023 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9024 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9025 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9026 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9027 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9029 routines.
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9031 file.
559398ab 9032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9034 file.
559398ab 9035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9037 file.
559398ab 9038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9040 file.
559398ab 9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9043 file.
559398ab 9044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9046 file.
9047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9048 file.
9049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9050 file.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9052 file.
9053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9054 New file.
9055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9056 file.
9057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9058 file.
559398ab 9059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9061 file.
559398ab 9062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9064 file.
559398ab 9065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9067 file.
559398ab 9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9070 VIS3 routines.
559398ab
DM
9071
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9073 New file.
9074
5a1c1e32
DM
9075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9076
eae47a36
DM
9077 * sysdeps/sparc/configure.in: New file.
9078 * sysdeps/sparc/configure: Generate.
9079 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9080 * configure: Regenerate.
9081 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9082 * config.make.in (have-as-vis3): New.
9083 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9084 available use -Av9d instead of -Av9a.
9085 * sysdeps/sparc/sparc64/Makefile: Likewise.
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9088 New file.
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9090 file.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9092 New file.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9094 file.
eae47a36
DM
9095 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9097 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9098 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9099 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9100
c0c83bc8
DM
9101 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9102 fzeros/fnegs to load 0x80000000 into a float register instead of
9103 using the stack.
7bd951ff
DM
9104 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9105
bd951ccb
JM
91062012-03-14 Joseph Myers <joseph@codesourcery.com>
9107
9108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9109 bits/syscall.h.
9110 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9111 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9112 ($(inst_includedir)/bits/syscall.h): Remove rule.
9113 ($(objpfx)bits/syscall.d): Include instead of
9114 $(objpfx)syscall-list.d.
9115 (generated): Change syscall-list.h and syscall-list.d to
9116 bits/syscall.h and bits/syscall.d.
9117
bb4e6db2
RM
91182012-03-14 Roland McGrath <roland@hack.frob.com>
9119
9120 [BZ #13846]
9121 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9122
aa4a2ae1
JM
91232012-03-14 Joseph Myers <joseph@codesourcery.com>
9124
e456826d
JM
9125 [BZ #13841]
9126 * math/s_csqrt.c: Include <float.h>.
9127 (__csqrt): Scale large or subnormal inputs.
9128 * math/s_csqrtf.c: Likewise.
9129 * math/s_csqrtl.c: Likewise.
9130 * math/libm-test.inc (csqrt_test): Add more tests.
9131 * sysdeps/i386/fpu/libm-test-ulps: Update.
9132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9133
aa4a2ae1
JM
9134 [BZ #13840]
9135 * math/libm-test.inc (hypot_test): Add more tests.
9136
7c10fd35
DM
91372012-03-13 David S. Miller <davem@davemloft.net>
9138
9139 [BZ #13840]
9140 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9141 double-precision for the calculation instead of scaling.
9142
f453b98b
JM
91432012-03-13 Joseph Myers <joseph@codesourcery.com>
9144
9145 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9146 manipulate bits before adding and subtracting TWO52[sx].
9147 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9148 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9149 Likewise.
9150 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9151
09a3453f
DM
91522012-03-13 David S. Miller <davem@davemloft.net>
9153
8e59da90
DM
9154 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9155 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9157 rtld-global-offsets.h
9158 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9159
2a8ab7f2
DM
9160 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9161 large parameters.
9162
10f62770
DM
9163 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9164
5f0bdb18
DM
9165 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9166 'err' in the ifdef scope in which it is actually used.
9167
09a3453f
DM
9168 * nss/nss_db/db-init.c: Include string.h
9169
b4b2eb5e
DM
91702012-03-12 David S. Miller <davem@davemloft.net>
9171
98bb2f1c
DM
9172 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9173 masking out of the most significant byte of random value used.
9174 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9175 Fix coding style in previous change.
9176
b4b2eb5e
DM
9177 * sysdeps/unix/sysv/linux/kernel-features.h
9178 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9179 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9180 expression.
9181 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9182 later.
9183
6e226b09
DM
91842012-03-11 David S. Miller <davem@davemloft.net>
9185
a1bcbd40
DM
9186 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9187 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9188 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9189 for 'resultvar' otherwise things get truncated on 64-bit.
9190
cb9d6174
DM
9191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9192 Fix masking out of the most significant byte of random value used.
9193
6e226b09
DM
9194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9195
058c132d
AS
91962012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9197
9198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9199
2d2cd515
DM
92002012-03-09 David S. Miller <davem@davemloft.net>
9201
9202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9203 variables with appropriate CPP guards.
9204 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9205 frame pointer, not the stack pointer. Correct layout comments. Fix test
9206 on resulting framesize and the management of the outregs buffer for pltexit.
9207 Preserve floating point return values across _dl_call_pltexit call.
9208 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9209 framesize and the management of the outregs buffer for pltexit.
9210 Preserve floating point return values across _dl_call_pltexit
9211 call.
9212 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9213 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9214 (print_exit): Fix format string for return register value.
9215
9a07f9d0
JM
92162012-03-10 Joseph Myers <joseph@codesourcery.com>
9217
9218 * sunrpc/Makefile (others): Add rpcgen.
9219 ($(objpfx)rpcgen): Remove special build rule and dependency on
9220 libc.
9221 * sunrpc/rpcgen.c: New file.
9222
547b5e30
PE
92232012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9224
c524201a
PE
9225 [BZ #13673]
9226 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9227 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9228 * sysdeps/i386/crti.S: Likewise.
9229 * sysdeps/i386/crtn.S: Likewise.
9230 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9231 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9232 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9233 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9234 * sysdeps/sh/crti.S: Likewise.
9235 * sysdeps/sh/crtn.S: Likewise.
9236 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9237
7b6235f2
PE
9238 [BZ #13673]
9239 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9240 with URL.
9241 * locale/programs/locfile-kw.gperf: Likewise.
9242 * locale/programs/charmap-kw.h: Regenerated.
9243 * locale/programs/locfile-kw.h: Likewise.
9244
547b5e30
PE
9245 [BZ #13673]
9246 * intl/plural.y: Replace FSF snail mail address with URL.
9247 * intl/plural.c: Regenerated.
9248
5f0a5dae
RH
92492012-03-09 Richard Henderson <rth@twiddle.net>
9250
9251 * include/math_private.h: Remove file.
9252 * math/math_private.h: Move file ...
9253 * sysdeps/generic/math_private.h: ... here.
9254
b8c03620
RH
9255 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9256 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9257 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9258
4e234f5d 9259 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9260 and <math_private.h>.
9261 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9262 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9263 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9264 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9265 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9300 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9301 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9303 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9304 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9305 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9306 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9308 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9312 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9313 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9349 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9350 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9351 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9352 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9354 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9355 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9356 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9357 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9358 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9359 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9360 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9361 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9362 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9363 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9364 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9365 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9366 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9367 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9368 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9369 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9371 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9372 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9373 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9374 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9375 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9376 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9377 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9378 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9379 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9380 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9381 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9382 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9383 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9384 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9385 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9386 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9387 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9388 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9389 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9390 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9391 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9392 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9393 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9394 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9395 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9396 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9397 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9398 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9399 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9400 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9401 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9402 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9403 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9404 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9405 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9406 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9407 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9408 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9409 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9410 * sysdeps/ieee754/k_standard.c: Likewise.
9411 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9412 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9415 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9416 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9417 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9469 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9484 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9526 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9530 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9531 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9533 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9536 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9538 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9543 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9559 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9560 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9561 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9571 * sysdeps/ieee754/s_lib_version.c: Likewise.
9572 * sysdeps/ieee754/s_matherr.c: Likewise.
9573 * sysdeps/ieee754/s_signgam.c: Likewise.
9574 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9575 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9576 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9577 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9578 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9579 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9580 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9581 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9582 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9583 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9584 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9585 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9586 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9587 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9588 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9589 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9590 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9591 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9592 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9593 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9594 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9595
1991fa03
JM
95962012-03-09 Joseph Myers <joseph@codesourcery.com>
9597
9598 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9599 * sunrpc/rpc_main.c: Likewise.
9600 * sunrpc/rpc_svcout.c: Likewise.
9601
60d6f5a6
DM
96022012-03-09 David S. Miller <davem@davemloft.net>
9603
9604 * include/math_private.h: New file.
9605
4962050e
JM
96062012-03-09 Joseph Myers <joseph@codesourcery.com>
9607
02a6f887
JM
9608 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9609 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9610 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9611 from <bits/socket_type.h>.
9612 (enum __socket_type): Don't define here.
9613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9615 bits/socket_type.h.
9616
c6e013c1
JM
9617 [BZ #13566]
9618 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9619 checking __USE_GNU.
9620
4962050e
JM
9621 * Makerules ($(inst_includedir)/%.h): New rule.
9622 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9623 (install-others): Remove variable setting.
9624 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9625
38842f45
RH
96262012-03-08 Richard Henderson <rth@twiddle.net>
9627
67bb6da6
RH
9628 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9629 from macro to inline function; merge with the
9630 !__LIBC_INTERNAL_MATH_INLINES version.
9631 (__ieee754_sqrtf): Likewise.
9632
15194b4b
RH
9633 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9634 to inline function.
9635 (__rintf, __floor, __floorf): Likewise.
9636
64e21ede
RH
9637 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9638 macro to inline function.
9639 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9640
38842f45
RH
9641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9642 not <math/math_private.h>.
9643
c64bf5fe
DM
96442012-03-08 David S. Miller <davem@davemloft.net>
9645
9646 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9647 copyright year.
9648 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9649
82d86f28
TS
96502012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9651
9652 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9653 normalization.
9654 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9655 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9656
aea5d727
UD
96572012-03-08 Ulrich Drepper <drepper@gmail.com>
9658
9659 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9660 be defined individually, they must be defined as a block. Define
9661 S for printing a string instead of hidint the different by using a
9662 macro for adding the 'l'.
9663 * stdio-common/tst-fphex-wide.c: Adjust.
9664
70bca0a3
MP
96652012-03-07 Marek Polacek <polacek@redhat.com>
9666
9667 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9668
65b81130
MP
96692012-03-08 Marek Polacek <polacek@redhat.com>
9670
9671 [BZ #13806]
9672 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9673 * stdio-common/tst-fphex.c: Define a few macros to make the
9674 test reusable. Use them.
9675 * stdio-common/tst-fphex-wide.c: New file.
9676
07037eeb
JM
96772012-03-08 Joseph Myers <joseph@codesourcery.com>
9678
a7a93d50
JM
9679 [BZ #6911]
9680 * manual/macros.texi (gnusystems): New macro.
9681 (nongnusystems): Likewise.
9682 (gnulinuxhurdsystems): Likewise.
9683 (gnuhurdsystems): Likewise..
9684 (gnulinuxsystems): Likewise.
9685 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9686 variants of the GNU system, not "GNU system".
9687 * manual/conf.texi: Likewise.
9688 * manual/errno.texi: Likewise. Update example of errno macro
9689 expansion.
9690 * manual/filesys.texi: Likewise.
9691 (getumask): Document as specific to GNU/Hurd.
9692 * manual/install.texi: Likewise. Reword some references to
9693 GNU/Linux.
9694 * manual/intro.texi: Likewise.
9695 * manual/io.texi: Likewise.
9696 (File Name Portability): Detail which constraints are inapplicable
9697 to all GNU systems and which are only inapplicable to GNU/Hurd.
9698 * manual/job.texi: Likewise.
9699 * manual/llio.texi: Likewise.
9700 (O_NOCTTY): Document as present on GNU/Linux.
9701 * manual/maint.texi: Likewise.
9702 * manual/memory.texi: Likewise.
9703 * manual/pattern.texi: Likewise.
9704 * manual/pipe.texi: Likewise.
9705 * manual/process.texi: Likewise.
9706 * manual/resource.texi: Likewise.
9707 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9708 child on GNU/Hurd.
9709 * manual/setjmp.texi: Likewise.
9710 * manual/signal.texi: Likewise.
9711 * manual/startup.texi: Likewise.
9712 * manual/stdio.texi: Likewise.
9713 * manual/terminal.texi: Likewise.
9714 (ONLCR): Document as POSIX.
9715 (OXTABS): Document availability on GNU/Linux as XTABS.
9716 (ONOEOT): Document availability separately from other bits.
9717 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9718 * manual/time.texi: Likewise.
9719 * manual/users.texi: Likewise.
9720 * INSTALL: Regenerated.
9721 * sysdeps/gnu/errlist.c: Regenerated.
9722
07037eeb
JM
9723 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9724 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9725 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9726 puts.
9727 * configure: Regenerated.
9728
d1d3431a
JM
97292012-03-07 Joseph Myers <joseph@codesourcery.com>
9730
af6a1e37
JM
9731 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9732 default includes instead of AC_HEADER_CHECK.
9733 * sysdeps/i386/configure: Regenerated.
9734
d1d3431a
JM
9735 [BZ #10716]
9736 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9737 * math/s_cacoshf.c (__cacoshf): Likewise.
9738 * math/s_cacoshl.c (__cacoshl): Likewise.
9739 * math/s_casinh.c (__casinh): Set signs of result from argument.
9740 * math/s_casinhf.c (__casinhf): Likewise.
9741 * math/s_casinhl.c (__casinhl): Likewise.
9742 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9743 (casinh_test): Add more tests.
9744 * sysdeps/i386/fpu/libm-test-ulps: Update.
9745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9746
482ff4da
UD
97472012-03-07 Ulrich Drepper <drepper@gmail.com>
9748
872fda05
UD
9749 * po/zh_TW.po: Update from translation team.
9750
a4300c7a
UD
9751 * login/Makefile (distribute): Remove variable.
9752 * catgets/Makefile: Likewise.
9753 * mach/Makefile: Likewise.
9754 * malloc/Makefile: Likewise.
9755 * misc/Makefile: Likewise.
9756 * iconv/Makefile: Likewise.
9757 * nscd/Makefile: Likewise.
9758 * hurd/Makefile: Likewise.
9759 * manual/Makefile: Likewise.
9760 * locale/Makefile: Likewise.
9761 * intl/Makefile: Likewise.
9762 * conform/Makefile: Likewise.
9763 * nss/Makefile: Likewise.
9764 * time/Makefile: Likewise.
9765 * soft-fp/Makefile: Likewise.
9766 * dirent/Makefile: Likewise.
9767 * gmon/Makefile: Likewise.
9768 * po/Makefile: Likewise.
9769 * rt/Makefile: Likewise.
9770 * socket/Makefile: Likewise.
9771 * math/Makefile: Likewise.
9772 * signal/Makefile: Likewise.
9773 * debug/Makefile: Likewise.
9774 * elf/Makefile: Likewise.
9775 * timezone/Makefile: Likewise.
9776 * stdlib/Makefile: Likewise.
9777 * iconvdata/Makefile: Likewise.
9778 * sunrpc/Makefile: Likewise.
9779 * io/Makefile: Likewise.
9780 * argp/Makefile: Likewise.
9781 * inet/Makefile: Likewise.
9782 * hesiod/Makefile: Likewise.
9783 * grp/Makefile: Likewise.
9784 * csu/Makefile: Likewise.
9785 * wctype/Makefile: Likewise.
9786 * crypt/Makefile: Likewise.
9787 * libio/Makefile: Likewise.
9788 * string/Makefile: Likewise.
9789 * nis/Makefile: Likewise.
9790 * resolv/Makefile: Likewise.
9791 * stdio-common/Makefile: Likewise.
9792 * wcsmbs/Makefile: Likewise.
9793 * dlfcn/Makefile: Likewise.
9794 * posix/Makefile: Likewise.
9795
3b7c4e74 9796 [BZ #6959]
482ff4da
UD
9797 * timezone/Makefile: Don't install timezone files, just the programs
9798 and scripts.
9799
f72ed77d
UD
98002012-03-06 Ulrich Drepper <drepper@gmail.com>
9801
a000466f
UD
9802 * nss/databases.def: Add missing gshadow entry.
9803
f72ed77d
UD
9804 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9805
a53b7a4e
MP
98062012-03-06 Marek Polacek <polacek@redhat.com>
9807
9808 [BZ #13726]
9809 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9810 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9811 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9812 * stdio-common/tst-long-dbl-fphex.c: New file.
9813
e9258400
DM
98142012-03-06 David S. Miller <davem@davemloft.net>
9815
9816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9817 (set_obp_int): New function.
9818 (get_obp_int): New function.
9819 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9820 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9821 Avoid unused variable warnings on 'val' and use builtin_expect.
9822 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9823 __builtin_expect.
e9258400
DM
9824 (INLINE_CLONE_SYSCALL): Likewise.
9825
3bd2c723
DM
98262012-03-05 David S. Miller <davem@davemloft.net>
9827
9828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9829
bbb78d03
AS
98302012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9831
884c5db4
AS
9832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9833
bbb78d03
AS
9834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9835 only for |x| >= 40.
9836 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9837
1c9f702a 98382012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9839
9840 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9841 Replace gettimeofday with __vdso_gettimeofday.
9842
7be16f82
RM
9843 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9844 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9845 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9846
9847 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9848 time with __vdso_time.
9849
ed58a00f
JM
98502012-03-05 Joseph Myers <joseph@codesourcery.com>
9851
9852 * manual/lang.texi (size_t): Note types to which size_t may be
9853 equivalent with the GNU C Library, but do not describe when
9854 differences between them are significant.
9855
30ee4ced
AJ
98562012-03-05 Andreas Jaeger <aj@suse.de>
9857
9858 * sysdeps/i386/fpu/libm-test-ulps: Update.
9859
b7cd39e8
JM
98602012-03-05 Joseph Myers <joseph@codesourcery.com>
9861
9862 [BZ #3976]
9863 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9864 (__ieee754_pow): Save and restore rounding mode and use
9865 round-to-nearest for main computations.
9866 * math/libm-test.inc (pow_test_tonearest): New function.
9867 (pow_test_towardzero): Likewise.
9868 (pow_test_downward): Likewise.
9869 (pow_test_upward): Likewise.
9870 (main): Call the new functions.
9871 * sysdeps/i386/fpu/libm-test-ulps: Update.
9872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9873
9874 [BZ #3976]
9875 * math/libm-test.inc (cosh_test_tonearest): New function.
9876 (cosh_test_towardzero): Likewise.
9877 (cosh_test_downward): Likewise.
9878 (cosh_test_upward): Likewise.
9879 (sinh_test_tonearest): Likewise.
9880 (sinh_test_towardzero): Likewise.
9881 (sinh_test_downward): Likewise.
9882 (sinh_test_upward): Likewise.
9883 (main): Call the new functions.
9884 * sysdeps/i386/fpu/libm-test-ulps: Update.
9885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9886
6c6a98c9
TV
98872012-03-05 Tom de Vries <tom@codesourcery.com>
9888
9889 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9890 default stack guard is set in last bytes.
9891 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9892
21bb2d2e 98932012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9894
21bb2d2e 9895 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9896
21bb2d2e
AJ
9897 [BZ #13656]
9898 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9899 possibly allocate from heap instead of stack.
9900 * stdio-common/bug-vfprintf-nargs.c: New file.
9901 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 9902
c6922934
AS
99032012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9904
9905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9906
bc957d53
MP
99072012-03-03 Marek Polacek <polacek@redhat.com>
9908
9909 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9910 * math/math_private.h: Likewise.
9911 * stdlib/tst-strtod.c: Likewise.
9912 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9913 * sysdeps/x86_64/bits/atomic.h: Likewise.
9914
6358490d
DM
99152012-03-02 David S. Miller <davem@davemloft.net>
9916
9917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9921 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9922 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9923 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9924 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9925
01ae168d
RM
99262012-03-02 Roland McGrath <roland@hack.frob.com>
9927
d9a17c07
RM
9928 [BZ #13792]
9929 * manual/examples/README: New file, says the example source files
9930 can be used under GPL>=2.
9931 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9932 line containing just "*/".
9933 * manual/examples/add.c: Add copyright header (GPL>=2).
9934 * manual/examples/argp-ex1.c: Likewise.
9935 * manual/examples/argp-ex2.c: Likewise.
9936 * manual/examples/argp-ex3.c: Likewise.
9937 * manual/examples/argp-ex4.c: Likewise.
9938 * manual/examples/atexit.c: Likewise.
9939 * manual/examples/db.c: Likewise.
9940 * manual/examples/dir.c: Likewise.
9941 * manual/examples/dir2.c: Likewise.
9942 * manual/examples/execinfo.c: Likewise.
9943 * manual/examples/filecli.c: Likewise.
9944 * manual/examples/filesrv.c: Likewise.
9945 * manual/examples/fmtmsgexpl.c: Likewise.
9946 * manual/examples/genpass.c: Likewise.
9947 * manual/examples/inetcli.c: Likewise.
9948 * manual/examples/inetsrv.c: Likewise.
9949 * manual/examples/isockad.c: Likewise.
9950 * manual/examples/longopt.c: Likewise.
9951 * manual/examples/memopen.c: Likewise.
9952 * manual/examples/memstrm.c: Likewise.
9953 * manual/examples/mkfsock.c: Likewise.
9954 * manual/examples/mkisock.c: Likewise.
9955 * manual/examples/mygetpass.c: Likewise.
9956 * manual/examples/pipe.c: Likewise.
9957 * manual/examples/popen.c: Likewise.
9958 * manual/examples/rprintf.c: Likewise.
9959 * manual/examples/search.c: Likewise.
9960 * manual/examples/select.c: Likewise.
9961 * manual/examples/setjmp.c: Likewise.
9962 * manual/examples/sigh1.c: Likewise.
9963 * manual/examples/sigusr.c: Likewise.
9964 * manual/examples/stpcpy.c: Likewise.
9965 * manual/examples/strdupa.c: Likewise.
9966 * manual/examples/strftim.c: Likewise.
9967 * manual/examples/strncat.c: Likewise.
9968 * manual/examples/subopt.c: Likewise.
9969 * manual/examples/swapcontext.c: Likewise.
9970 * manual/examples/termios.c: Likewise.
9971 * manual/examples/testopt.c: Likewise.
9972 * manual/examples/testpass.c: Likewise.
9973 * manual/examples/timeval_subtract.c: Likewise.
9974
01ae168d
RM
9975 [BZ #13792]
9976 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9977 function to ...
9978 * manual/timeval_subtract.c.texi: ... here, new file.
9979
49efa33d
DM
99802012-03-02 David S. Miller <davem@davemloft.net>
9981
9982 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9983
28afd92d
JM
99842012-03-02 Joseph Myers <joseph@codesourcery.com>
9985
804360ed
JM
9986 [BZ #3976]
9987 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9988 (__sin): Save and restore rounding mode and use round-to-nearest
9989 for all computations.
9990 (__cos): Save and restore rounding mode and use round-to-nearest
9991 for all computations.
9992 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9993 <fenv.h>.
9994 (tan): Save and restore rounding mode and use round-to-nearest for
9995 all computations.
9996 * math/libm-test.inc (cos_test_tonearest): New function.
9997 (cos_test_towardzero): Likewise.
9998 (cos_test_downward): Likewise.
9999 (cos_test_upward): Likewise.
10000 (sin_test_tonearest): Likewise.
10001 (sin_test_towardzero): Likewise.
10002 (sin_test_downward): Likewise.
10003 (sin_test_upward): Likewise.
10004 (tan_test_tonearest): Likewise.
10005 (tan_test_towardzero): Likewise.
10006 (tan_test_downward): Likewise.
10007 (tan_test_upward): Likewise.
10008 (main): Call the new functions.
10009 * sysdeps/i386/fpu/libm-test-ulps: Update.
10010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10011
a6d06d7b
JM
10012 [BZ #10135]
10013 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10014 small n, then large n, before computing and testing k+n.
10015 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10017 Likewise.
10018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10019 Likewise.
10020 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10021 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10022 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10023 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10026 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10027 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10028 * math/libm-test.inc (scalbn_test): Add more tests.
10029 (scalbln_test): Likewise.
10030
07e12bb3
JM
10031 * manual/filesys.texi (mode_t): Describe constraints on size and
10032 signedness, not exact equivalence to a particular type.
10033 (ino_t): Likewise.
10034 (ino64_t): Likewise.
10035 (dev_t): Likewise.
10036 (nlink_t): Likewise.
10037 (blkcnt_t): Likewise.
10038 (blkcnt64_t): Likewise.
10039 * manual/llio.texi (off_t): Likewise.
10040
28afd92d
JM
10041 [BZ #3976]
10042 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10043 (__ieee754_exp): Save and restore rounding mode and use
10044 round-to-nearest for all computations.
10045 * math/libm-test.inc (exp_test_tonearest): New function.
10046 (exp_test_towardzero): Likewise.
10047 (exp_test_downward): Likewise.
10048 (exp_test_upward): Likewise.
10049 (main): Call the new functions.
10050 * sysdeps/i386/fpu/libm-test-ulps: Update.
10051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10052
b1eeb65d
CD
100532012-03-01 Chris Demetriou <cgd@google.com>
10054
10055 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10056 have predictable order.
10057
53362a4b
DM
100582012-03-01 David S. Miller <davem@davemloft.net>
10059
3c969083
DM
10060 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10061
759707de
DM
10062 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10063 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10064 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10065 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10066
dfdb8ff2
DM
10067 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10068 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10069 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10071 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10072 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10073 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10074 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10075 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10076
ead89f96
DM
10077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10078
7f66bd07
DM
10079 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10080 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10081 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10082
53362a4b
DM
10083 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10084 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10085 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10086 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10087 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10088 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10089 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10090 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10091 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10092 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10093 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10094 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10096 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10097 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10099 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10100 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10101 * sysdeps/sparc/elf/configure: Regenerated.
10102
7b1902cb
JM
101032012-03-01 Joseph Myers <joseph@codesourcery.com>
10104
bec039bc
JM
10105 * configure.in (AS, LD): Require binutils 2.20 or later.
10106 * configure: Regenerated.
10107 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10108 as required minimum version.
10109 * INSTALL: Regenerated.
10110
7b1902cb
JM
10111 [BZ #2541]
10112 [BZ #4108]
10113 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10114 before squaring exponent.
10115 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10116 bottom long double and 27 bits of top long double before squaring
10117 exponent.
10118 * math/libm-test.inc (erfc_test): Add more tests.
10119 * sysdeps/i386/fpu/libm-test-ulps: Update.
10120 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10122
f775c276
KT
101232012-03-01 Kai Tietz <ktietz@redhat.com>
10124
10125 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10126 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10127 containing bit-fields.
10128 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10129 * soft-fp/single.h (_FP_UNION_S): Likewise.
10130 * soft-fp/double.h (_FP_UNION_D): Likewise.
10131
5b8a4d4a
JM
101322012-02-29 Joseph Myers <joseph@codesourcery.com>
10133
0bab47b6
JM
10134 [BZ #13786]
10135 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10136 not include ../strcmp.S.
10137 [USE_AS_STRNCASECMP_L]: Likewise.
10138 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10139 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10140 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10141 (__strncasecmp_l_ia32): Define as alias to
10142 __strncasecmp_l_nonascii.
10143
0fcad3e2
JM
10144 [BZ #5794]
10145 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10146 * sysdeps/i386/fpu/libm-test-ulps: Update.
10147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10148
5b8a4d4a
JM
10149 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10151
8fdceb2e
JL
101522012-02-29 Jeff Law <law@redhat.com>
10153
10154 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10155 out of bounds read.
10156
1f393a11
MP
101572012-02-29 Marek Polacek <polacek@redhat.com>
10158
10159 [BZ #13706]
10160 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10161 * elf/Makefile: Add rules to run tst-unused-dep.out.
10162
8847f037
DM
101632012-02-28 David S. Miller <davem@davemloft.net>
10164
10165 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10166 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10167 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10168 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10169 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10170 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10171
169d7f11
JM
101722012-02-29 Joseph Myers <joseph@codesourcery.com>
10173
10174 * math/libm-test.inc (llround_test): Move one test from
10175 lround_test. Use TEST_f_L in moved test.
10176 (lround_test): Move misplaced test to llround_test. Add testcase
10177 from bug 2561.
10178
39adf059
UD
101792012-02-28 Ulrich Drepper <drepper@gmail.com>
10180
10181 * sysdeps/x86_64/fpu/e_expf.S: New file.
10182 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10183
71b5d1c5
SB
101842012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10185
10186 [BZ #13637]
10187 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10188 of remain_len that may cause incomplete multi-byte character and
10189 false match.
10190 * posix/bug-regex33.c: New file.
10191 * posix/Makefile (tests): Add bug-regex33.
10192
1f77f049
JM
101932012-02-28 Joseph Myers <joseph@codesourcery.com>
10194
10195 * manual/macros.texi: New file.
10196 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10197 * manual/libc.texinfo: Include macros.texi.
10198 * manual/creatute.texi: Likewise.
10199 * manual/install.texi: Likewise.
10200 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10201 @glibcadj{} in references to the GNU C Library.
10202 * manual/charset.texi: Likewise.
10203 * manual/conf.texi: Likewise.
10204 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10205 when not using those macros.
10206 * manual/creature.texi: Likewise.
10207 * manual/crypt.texi: Likewise.
10208 * manual/errno.texi: Likewise.
10209 * manual/filesys.texi: Likewise.
10210 * manual/header.texi: Likewise.
10211 * manual/install.texi: Likewise.
10212 * manual/intro.texi: Likewise.
10213 * manual/io.texi: Likewise.
10214 * manual/job.texi: Likewise.
10215 * manual/lang.texi: Likewise.
10216 * manual/libc.texiinfo: Likewise.
10217 * manual/llio.texi: Likewise.
10218 * manual/locale.texi: Likewise.
10219 * manual/maint.texi: Likewise.
10220 * manual/math.texi: Likewise.
10221 * manual/memory.texi: Likewise.
10222 * manual/message.texi: Likewise.
10223 * manual/nss.texi: Likewise.
10224 * manual/pattern.texi: Likewise.
10225 * manual/process.texi: Likewise.
10226 * manual/resource.texi: Likewise.
10227 * manual/search.texi: Likewise.
10228 * manual/setjmp.texi: Likewise.
10229 * manual/signal.texi: Likewise.
10230 * manual/socket.texi: Likewise.
10231 * manual/startup.texi: Likewise.
10232 * manual/stdio.texi: Likewise.
10233 * manual/string.texi: Likewise.
10234 * manual/sysinfo.texi: Likewise.
10235 * manual/syslog.texi: Likewise.
10236 * manual/terminal.texi: Likewise.
10237 * manual/time.texi: Likewise.
10238 * manual/users.texi: Likewise.
10239 * INSTALL: Regenerated.
10240 * NOTES: Regenerated.
d40c5d54 10241 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10242
450bf206
AS
102432012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10244
10245 * include/dirent.h: Include <dirstream.h> before
10246 <dirent/dirent.h>.
10247
741a235b
DM
102482012-02-28 David S. Miller <davem@davemloft.net>
10249
10250 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10251 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10252 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10253 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10254
d6b5aa58
DM
102552012-02-27 David S. Miller <davem@davemloft.net>
10256
1aff59a3
DM
10257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10259 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10260 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10261
d6b5aa58
DM
10262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10263 frame pointer instead of stack pointer relative arg slot.
10264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10265 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10266 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10267
433f48bf
CD
102682012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10269
10270 [BZ #3992]
10271 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10272
d674b76d
DM
102732012-02-27 David S. Miller <davem@davemloft.net>
10274
10275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10279 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10280 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10281 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10282 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10283
0e7727f7
JM
102842012-02-27 Joseph Myers <joseph@codesourcery.com>
10285
10286 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10287 later. Allow versions 5-9.
43be4ca2 10288 * configure: Regenerated.
0e7727f7
JM
10289 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10290 required minimum version and 4.6 as recommended version. Do not
10291 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10292 * INSTALL: Regenerated.
0e7727f7 10293
a78bc654
DM
102942012-02-27 David S. Miller <davem@davemloft.net>
10295
428d5830
DM
10296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10300 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10301 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10302 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10303 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10304
a78bc654
DM
10305 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10306 manipulate bits before adding and subtracting TWO112[sx].
10307 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10308
4579f81c
RM
103092012-02-27 Roland McGrath <roland@hack.frob.com>
10310
36c8acb4
RM
10311 [BZ #13775]
10312 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10313 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10314 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10315 being in POSIX, because they are in 1003.1-2008.
10316
84ad622b
RM
10317 * rt/tst-aio.c: Include <fcntl.h>.
10318 * rt/tst-aio7.c: Likewise.
10319 * rt/tst-aio64.c: Likewise.
10320
4579f81c
RM
10321 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10322
abd923db
JM
103232012-02-27 Joseph Myers <joseph@codesourcery.com>
10324
10325 * manual/install.texi (--with-headers): Describe headers as
10326 interface headers, not private headers.
10327 (Specific advice for GNU/Linux systems): Describe use of headers
10328 from "make headers_install", not private headers from older
10329 kernels.
43be4ca2 10330 * INSTALL: Regenerated.
abd923db
JM
10331 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10332 Change to 2.6.19.
10333 * sysdeps/unix/sysv/linux/configure: Regenerated.
10334
6664049b
JM
10335 * manual/llio.texi (fclean): Remove documentation.
10336
bb8b6697
JM
10337 * manual/Makefile (libc-texi-generated): New variable. Include
10338 version.texi.
10339 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10340 $(libc-texi-generated), not duplicated list of files.
10341 (version.texi, stamp-version): New rules.
10342 (realclean): Remove $(libc-texi-generated), not individual files
10343 from that list. Do not remove dir-add.texinfo.
10344 * manual/libc.texinfo: Comment out uses of edition numbers and
10345 references to printed manual. Remove last-updated dates.
10346 (EDITION): Comment out.
10347 (ISBN): Likewise.
10348 (VERSION, UPDATED): Remove.
10349 (version.texi): Include.
10350
12e5c3b9
AS
103512012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10352
10353 * sysdeps/posix/spawni.c: Include <signal.h>.
10354 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10355 * sysdeps/pthread/aio_fsync.c: Likewise.
10356
4efeffc1 103572012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10358
ba63ba08
UD
10359 * conform/Makefile (tests): Run only when not cross-compiling and
10360 when fast-check is not defined.
10361
d94a4670
UD
10362 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10363 * conform/data/limits.h-data: Fixes for POSIX2008.
10364 * conform/run-conformtest.sh: Run all tests.
10365 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10366 headers.
10367 * include/bits/dlfcn.h: Likewise.
10368 * include/langinfo.h: Likewise.
10369 * include/monetary.h: Likewise.
10370 * include/sys/poll.h: Likewise.
10371
10372 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10373 for __USE_GNU.
10374 * posix/spawn.h: Define __need_sigset_t.
10375 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10376 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10377 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10378 to get sigevent_t only.
10379 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10380 only for __USE_GNU.
10381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10382 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10383 process_vm_writev only for __USE_GNU.
10384 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10385
10386 * conform/Makefile: For now ignore errors from run-conformtest.
10387 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10388 POSIX to avoid namespace pollution. Don't prepend headers.
10389 * conform/data/aio.h-data: Fixes for POSIX testing.
10390 * conform/data/fcntl.h-data: Likewise.
10391 * conform/data/glob.h-data: Likewise.
10392 * conform/data/grp.h-data: Likewise.
10393 * conform/data/pthread.h-data: Likewise.
10394 * conform/data/pwd.h-data: Likewise.
10395 * conform/data/signal.h-data: Likewise.
10396 * conform/data/spawn.h-data: Likewise.
10397 * conform/data/stdio.h-data: Likewise.
10398 * conform/data/stdlib.h-data: Likewise.
10399 * conform/data/stropts.h-data: Likewise.
10400 * conform/data/sys/mman.h-data: Likewise.
10401 * conform/data/sys/stat.h-data: Likewise.
10402 * conform/data/sys/types.h-data: Likewise.
10403 * conform/data/sys/wait.h-data: Likewise.
10404 * conform/data/time.h-data: Likewise.
10405 * conform/data/unistd.h-data: Likewise.
10406 * conform/data/utime.h-data: Likewise.
10407
10408 * io/sys/stat.h: fchmod was always in POSIX.
10409 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10410 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10411 * rt/aio.h: Define __need_timespec before including <time.h>.
10412 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10413 struct. Add forward declaration of pthread_attr_t and use it in
10414 sigevent.
10415 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10416 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10417 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10418 always remove CLK_TCK definition.
10419
c20105c3
AS
104202012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10421
10422 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10423
7a270350
UD
104242012-02-25 Ulrich Drepper <drepper@gmail.com>
10425
31341567
UD
10426 * conform/run-conformtest.sh: New file.
10427 * conform/Makefile: Run run-conformtest for tests.
10428 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10429 support.
10430
10431 * conform/data/uchar.h-data: New file.
10432 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10433 * conform/data/arpa/inet.h-data: Likewise.
10434 * conform/data/assert.h-data: Likewise.
10435 * conform/data/complex.h-data: Likewise.
10436 * conform/data/cpio.h-data: Likewise.
10437 * conform/data/ctype.h-data: Likewise.
10438 * conform/data/dirent.h-data: Likewise.
10439 * conform/data/dlfcn.h-data: Likewise.
10440 * conform/data/errno.h-data: Likewise.
10441 * conform/data/fcntl.h-data: Likewise.
10442 * conform/data/float.h-data: Likewise.
10443 * conform/data/fmtmsg.h-data: Likewise.
10444 * conform/data/fnmatch.h-data: Likewise.
10445 * conform/data/ftw.h-data: Likewise.
10446 * conform/data/glob.h-data: Likewise.
10447 * conform/data/grp.h-data: Likewise.
10448 * conform/data/iconv.h-data: Likewise.
10449 * conform/data/inttypes.h-data: Likewise.
10450 * conform/data/langinfo.h-data: Likewise.
10451 * conform/data/libgen.h-data: Likewise.
10452 * conform/data/limits.h-data: Likewise.
10453 * conform/data/locale.h-data: Likewise.
10454 * conform/data/math.h-data: Likewise.
10455 * conform/data/monetary.h-data: Likewise.
10456 * conform/data/mqueue.h-data: Likewise.
10457 * conform/data/ndbm.h-data: Likewise.
10458 * conform/data/net/if.h-data: Likewise.
10459 * conform/data/netdb.h-data: Likewise.
10460 * conform/data/netinet/in.h-data: Likewise.
10461 * conform/data/nl_types.h-data: Likewise.
10462 * conform/data/poll.h-data: Likewise.
10463 * conform/data/pthread.h-data: Likewise.
10464 * conform/data/pwd.h-data: Likewise.
10465 * conform/data/regex.h-data: Likewise.
10466 * conform/data/sched.h-data: Likewise.
10467 * conform/data/search.h-data: Likewise.
10468 * conform/data/semaphore.h-data: Likewise.
10469 * conform/data/setjmp.h-data: Likewise.
10470 * conform/data/signal.h-data: Likewise.
10471 * conform/data/spawn.h-data: Likewise.
10472 * conform/data/stdarg.h-data: Likewise.
10473 * conform/data/stdio.h-data: Likewise.
10474 * conform/data/stdlib.h-data: Likewise.
10475 * conform/data/string.h-data: Likewise.
10476 * conform/data/strings.h-data: Likewise.
10477 * conform/data/stropts.h-data: Likewise.
10478 * conform/data/sys/ipc.h-data: Likewise.
10479 * conform/data/sys/mman.h-data: Likewise.
10480 * conform/data/sys/msg.h-data: Likewise.
10481 * conform/data/sys/resource.h-data: Likewise.
10482 * conform/data/sys/select.h-data: Likewise.
10483 * conform/data/sys/sem.h-data: Likewise.
10484 * conform/data/sys/shm.h-data: Likewise.
10485 * conform/data/sys/socket.h-data: Likewise.
10486 * conform/data/sys/stat.h-data: Likewise.
10487 * conform/data/sys/statvfs.h-data: Likewise.
10488 * conform/data/sys/time.h-data: Likewise.
10489 * conform/data/sys/timeb.h-data: Likewise.
10490 * conform/data/sys/times.h-data: Likewise.
10491 * conform/data/sys/types.h-data: Likewise.
10492 * conform/data/sys/uio.h-data: Likewise.
10493 * conform/data/sys/un.h-data: Likewise.
10494 * conform/data/sys/utsname.h-data: Likewise.
10495 * conform/data/sys/wait.h-data: Likewise.
10496 * conform/data/syslog.h-data: Likewise.
10497 * conform/data/tar.h-data: Likewise.
10498 * conform/data/termios.h-data: Likewise.
10499 * conform/data/utime.h-data: Likewise.
10500 * conform/data/utmpx.h-data: Likewise.
10501 * conform/data/varargs.h-data: Likewise.
10502 * conform/data/wchar.h-data: Likewise.
10503 * conform/data/wctype.h-data: Likewise.
10504 * conform/data/wordexp.h-data: Likewise.
10505
10506 * include/stropts.h: New file.
10507 * include/uchar.h: New file.
10508 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10509 * include/assert.h: Likewise.
10510 * include/ctype.h: Likewise.
10511 * include/dirent.h: Likewise.
10512 * include/dlfcn.h: Likewise.
10513 * include/fcntl.h: Likewise.
10514 * include/fnmatch.h: Likewise.
10515 * include/glob.h: Likewise.
10516 * include/grp.h: Likewise.
10517 * include/libio.h: Likewise.
10518 * include/locale.h: Likewise.
10519 * include/math.h: Likewise.
10520 * include/net/if.h: Likewise.
10521 * include/netdb.h: Likewise.
10522 * include/netinet/in.h: Likewise.
10523 * include/pthread.h: Likewise.
10524 * include/pwd.h: Likewise.
10525 * include/regex.h: Likewise.
10526 * include/sched.h: Likewise.
10527 * include/search.h: Likewise.
10528 * include/setjmp.h: Likewise.
10529 * include/signal.h: Likewise.
10530 * include/stdio.h: Likewise.
10531 * include/stdlib.h: Likewise.
10532 * include/string.h: Likewise.
10533 * include/sys/cdefs.h: Likewise.
10534 * include/sys/mman.h: Likewise.
10535 * include/sys/msg.h: Likewise.
10536 * include/sys/resource.h: Likewise.
10537 * include/sys/select.h: Likewise.
10538 * include/sys/socket.h: Likewise.
10539 * include/sys/stat.h: Likewise.
10540 * include/sys/statvfs.h: Likewise.
10541 * include/sys/time.h: Likewise.
10542 * include/sys/times.h: Likewise.
10543 * include/sys/uio.h: Likewise.
10544 * include/sys/utsname.h: Likewise.
10545 * include/sys/wait.h: Likewise.
10546 * include/termios.h: Likewise.
10547 * include/time.h: Likewise.
10548 * include/ulimit.h: Likewise.
10549 * include/unistd.h: Likewise.
10550 * include/utime.h: Likewise.
10551 * include/wchar.h: Likewise.
10552 * include/wctype.h: Likewise.
10553 * include/wordexp.h: Likewise.
10554
10555 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10556
7a270350
UD
10557 * time/time.h: TIME_UTC must be a macro.
10558 Make timespec_get available for ISO C11 only as well.
10559
7724defc
UD
105602012-02-24 Ulrich Drepper <drepper@gmail.com>
10561
10562 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10563 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10564
6b1d1d46
JM
105652012-02-24 Joseph Myers <joseph@codesourcery.com>
10566
10567 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10568
0f8bbd69
JM
105692012-02-24 Joseph Myers <joseph@codesourcery.com>
10570
10571 * manual/texinfo.tex: Update to version 2012-01-19.16.
10572
66ab80bc
JM
105732012-02-24 Joseph Myers <joseph@codesourcery.com>
10574
10575 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10576
74981cc5
RM
105772012-02-24 Roland McGrath <roland@hack.frob.com>
10578
ee968201
RM
10579 [BZ #13738]
10580 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10581 * manual/fdl-1.3.texi: New file.
10582 * manual/fdl-1.1.texi: File removed.
10583
74981cc5
RM
10584 [BZ #13738]
10585 * manual/libc.texinfo (FDL_VERSION): New @set.
10586 Use it for mention of FDL in cover text.
10587 (Documentation License): Use it in @include file name.
10588
7bb764bc
JM
105892012-02-22 Joseph Myers <joseph@codesourcery.com>
10590 Roland McGrath <roland@hack.frob.com>
10591
10592 [BZ #5461]
10593 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10594 not LONG_LONG_MAX and LONG_LONG_MIN.
10595 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10596 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10597 name.
10598 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10599
6cbeae47
JM
106002012-02-22 Joseph Myers <joseph@codesourcery.com>
10601
10602 [BZ #2547]
10603 [BZ #11365]
10604 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10605 manipulate bits before adding and subtracting TWO23[sx].
10606 * math/libm-test.inc (nearbyint_test): Add more tests.
10607
fe45ce09
JM
106082012-02-22 Joseph Myers <joseph@codesourcery.com>
10609
10610 [BZ #2548]
10611 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10612 bits before adding and subtracting TWO23[sx].
10613 * math/libm-test.inc (rint_test): Add more tests.
10614 (rint_test_tonearest): Likewise.
10615 (rint_test_towardzero): Likewise.
10616 (rint_test_downward): Likewise.
10617 (rint_test_upward: Likewise.
10618
ff3b3d82
JM
106192012-02-22 Joseph Myers <joseph@codesourcery.com>
10620
10621 [BZ #10110]
10622 * include/stdc-predef.h: New file. Extracted from features.h.
10623 * include/features.h: Include stdc-predef.h.
10624 * Makefile (headers): Add stdc-predef.h.
10625 * CONFORMANCE (Compiler limitations): Update.
10626
ef0aab35
JM
106272012-02-22 Joseph Myers <joseph@codesourcery.com>
10628
10629 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10630
58639409
DM
106312012-02-21 David S. Miller <davem@davemloft.net>
10632
10633 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10634 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10635
c0e70b25
DM
106362012-02-20 David S. Miller <davem@davemloft.net>
10637
10638 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10639 using a normal save/restore sequence, rather than allocating a
10640 dummy stack frame just to store a frame pointer and restore.
10641 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10642
fb06851d
JM
106432012-02-21 Joseph Myers <joseph@codesourcery.com>
10644
10645 * manual/install.texi: Fix stray word in line-wrapped comment.
10646
7a8b71c3
DM
106472012-02-20 David S. Miller <davem@davemloft.net>
10648
d510c123
DM
10649 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10650 both binutils and gcc support GOTDATA.
10651
0722d7c2
DM
10652 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10653 "rd %pc" in the PIC register setup sequences.
10654
3d2b3019
DM
10655 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10656 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10657 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10658 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10659 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10661 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10662 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10664 (SYSCALL_ERROR_HANDLER): Likewise.
10665 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10666 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10668 (SYSCALL_ERROR_HANDLER): Likewise.
10669
c80098a9
DM
10670 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10671 (HAVE_GCC_GOTDATA): New.
10672 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10673 relocation support in both binutils and gcc.
10674 * sysdeps/sparc/elf/configure: Regenerate.
10675
3a2545a0
DM
10676 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10677 * sysdeps/sparc/sparc32/elf/configure: Delete.
10678 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10679 * sysdeps/sparc/sparc64/elf/configure: Delete.
10680 * sysdeps/sparc/elf/configure.in: New file.
10681 * sysdeps/sparc/elf/configure: Generate.
10682
7a8b71c3
DM
10683 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10684 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10685 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10686 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10687 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10688
f1e86fca
JM
106892012-02-21 Joseph Myers <joseph@codesourcery.com>
10690
10691 * manual/install.texi: Do not mention specific glibc version
10692 numbers.
10693 * manual/libc.texinfo (VERSION, UPDATED): Update.
10694 (@copying): Use @copyright{} and range of years.
10695
0e7dfaef
JM
106962012-02-21 Joseph Myers <joseph@codesourcery.com>
10697
10698 [BZ #13695]
10699 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10700 [crti.S not in sysdirs] (generated): Do not append.
10701 [crti.S not in sysdirs] (omit-deps): Likewise.
10702 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10703 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10704 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10705 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10706 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10707 Likewise.
10708 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10709 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10710 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10711 * csu/defs.awk: Remove file.
10712 * sysdeps/generic/initfini.c: Likewise.
10713 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10714 variable.
10715 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10716 Likewise.
10717
599af3ca
JM
107182012-02-20 Joseph Myers <joseph@codesourcery.com>
10719
10720 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10721 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10722 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10724 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10725 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10726 <bits/epoll.h>.
10727 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10728 (__EPOLL_PACKED): Define to empty if not defined by
10729 <bits/epoll.h>.
10730 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10732 bits/epoll.h.
10733
0e499750
JM
107342012-02-20 Joseph Myers <joseph@codesourcery.com>
10735
10736 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10737 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10738 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10739 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10740 <bits/timerfd.h>.
10741 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10743 bits/timerfd.h.
10744
5ad91f6e
JM
107452012-02-20 Joseph Myers <joseph@codesourcery.com>
10746
10747 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10748 in C locale.
10749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10750 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10751 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10753
06b99b02
AJ
107542012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10755
10756 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10757 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10758
7638c0fd
AS
107592012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10760
10761 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10762 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10763 defined.
10764 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10765 Likewise.
10766 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10767 entry for 2.16.
10768
92221550
AJ
107692012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10770
10771 * math/w_acos.c: Use non-signaling floating-point comparisons.
10772 * math/w_acosf.c: Likewise.
10773 * math/w_acosh.c: Likewise.
10774 * math/w_acoshf.c: Likewise.
10775 * math/w_acoshl.c: Likewise.
10776 * math/w_acosl.c: Likewise.
10777 * math/w_asin.c: Likewise.
10778 * math/w_asinf.c: Likewise.
10779 * math/w_asinl.c: Likewise.
10780 * math/w_atanh.c: Likewise.
10781 * math/w_atanhf.c: Likewise.
10782 * math/w_atanhl.c: Likewise.
10783 * math/w_exp2.c: Likewise.
10784 * math/w_exp2f.c: Likewise.
10785 * math/w_exp2l.c: Likewise.
10786 * math/w_j0.c: Likewise.
10787 * math/w_j0f.c: Likewise.
10788 * math/w_j0l.c: Likewise.
10789 * math/w_j1.c: Likewise.
10790 * math/w_j1f.c: Likewise.
10791 * math/w_j1l.c: Likewise.
10792 * math/w_jn.c: Likewise.
10793 * math/w_jnf.c: Likewise.
10794 * math/w_log.c: Likewise.
10795 * math/w_log10.c: Likewise.
10796 * math/w_log10f.c: Likewise.
10797 * math/w_log10l.c: Likewise.
10798 * math/w_log2.c: Likewise.
10799 * math/w_log2f.c: Likewise.
10800 * math/w_log2l.c: Likewise.
10801 * math/w_logf.c: Likewise.
10802 * math/w_logl.c: Likewise.
10803 * math/w_sqrt.c: Likewise.
10804 * math/w_sqrtf.c: Likewise.
10805 * math/w_sqrtl.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10808 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10809 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10811
ebaf36eb
JM
108122012-02-19 Joseph Myers <joseph@codesourcery.com>
10813
10814 [BZ #9739]
10815 * manual/string.texi (strnlen): Use correct parameter name in
10816 equivalent expression.
10817
71c254a6
JM
108182012-02-19 Joseph Myers <joseph@codesourcery.com>
10819
10820 [BZ #11174]
10821 * manual/users.texi (seteuid): Consistently use neweuid for
10822 argument name.
10823
16d2c631
JM
108242012-02-19 Joseph Myers <joseph@codesourcery.com>
10825
10826 [BZ #13704]
10827 * manual/nss.texi (Services in the NSS configuration): Correct
10828 list of services in example configuration file.
10829
cd837b09
NB
108302012-02-19 Nick Bowler <nbowler@draconx.ca>
10831
10832 [BZ #11322]
10833 * manual/arith.texi: Remove statements about negative zero
10834 behaving identically to zero.
10835
02c4bbad
JM
108362012-02-18 Joseph Myers <joseph@codesourcery.com>
10837
10838 [BZ #5993]
10839 * manual/install.texi: Do not document upgrading from libc5.
10840
366842e7
JM
108412012-02-18 Joseph Myers <joseph@codesourcery.com>
10842
10843 [BZ #4596]
10844 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10845
dd54084d
DM
108462012-02-18 David S. Miller <davem@davemloft.net>
10847
10848 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10849 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10850 %o7 across the call.
10851 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10852 instead.
10853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10854 SETUP_PIC_REG_LEAF.
10855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10856 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10857 * sysdeps/sparc/crtn.S: Likewise.
10858
2bcc53a3
UD
108592012-02-17 Ulrich Drepper <drepper@gmail.com>
10860
10861 * aout/Makefile: Remove.
10862
09c093b5
RK
108632012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10864
10865 [BZ #13058]
10866 * manual/examples/argp-ex1.c (main): Format definition in GNU
10867 style.
10868 * manual/examples/argp-ex2.c (main): Likewise.
10869 * manual/examples/argp-ex3.c (main): Likewise.
10870 * manual/examples/argp-ex4.c (main): Likewise.
10871 * manual/examples/longopt.c (main): Use new-style prototype
10872 definition.
10873 * manual/examples/strncat.c (main): Specify return type and use
10874 (void) for arguments.
10875 * manual/examples/subopt.c (main): Use char **argv argument.
10876
2ee633a2
JM
108772012-02-17 Joseph Myers <joseph@codesourcery.com>
10878
10879 [BZ #5077]
10880 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10881 rounding modes.
10882
0520adde
FB
108832012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10884
10885 [BZ #6907]
10886 * manual/string.texi (strchr): Change when strchrnul is
10887 recommended.
10888
3f4081cd
DGM
108892012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10890
10891 [BZ #174]
10892 * manual/locale.texi (setlocale): Document LOCPATH.
10893
d1b10e78
JM
108942012-02-17 Joseph Myers <joseph@codesourcery.com>
10895
10896 [BZ #10210]
10897 * manual/process.texi (execle): Move @dots{} before last argument.
10898
79c6869c
PB
108992012-02-17 Paul Bolle <pebolle@tiscali.nl>
10900
10901 [BZ #12047]
10902 * manual/charset.texi (Generic Charset Conversion): Fix typo
10903 (LC_TYPE -> LC_CTYPE).
10904
cc6e48bc
NB
109052012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10906
10907 [BZ #5805]
10908 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10909 (scalbnf): Likewise.
10910 (scalbnl): Likewise.
10911 (scalbln): Likewise.
10912 (scalblnf): Likewise.
10913 (scalblnl): Likewise.
10914 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10915 (vwarnx): Likewise.
10916 (verr): Likewise.
10917 (verrx): Likewise.
10918 * manual/filesys.texi (telldir): Use braces around return type.
10919 * manual/llio.texi (mmap): Add space after comma.
10920 (mmap64): Likewise.
10921 * manual/math.texi (jn): Use @var{} on parameter names.
10922 (jnf): Likewise.
10923 (jnl): Likewise.
10924 (yn): Likewise.
10925 (ynf): Likewise.
10926 (ynl): Likewise.
10927 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10928 line.
10929 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10930 "...".
10931 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10932 (sched_get_priority_max): Likewise.
10933 * manual/signal.texi (sigvec): Add space after comma.
10934 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10935 names.
10936 (if_indextoname): Likewise.
10937 (if_freenameindex): Likewise.
10938 (sendto): Use ',' instead of '.' in prototype.
10939 * manual/startup.texi (syscall): Use @dots{} instead of literal
10940 "...".
10941 * manual/stdio.texi (__fpending): Separate initial words of
10942 paragraph from @deftypefun line.
10943 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10944 "...".
10945 (vsyslog): Use @var{} on parameter names.
10946 * manual/terminal.texi (stty): Use @var{} on parameter names.
10947 * manual/users.texi (getutmp): Use @var{} on parameter names.
10948 (getutmpx): Likewise.
10949
5b23062f
JM
109502012-02-17 Joseph Myers <joseph@codesourcery.com>
10951
10952 [BZ #6884]
10953 * manual/stdio.texi (fopen): Fix typos in description of
10954 ",ccs=STRING".
10955
8dee4833
AJ
109562012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10957
10958 [BZ #4026]
10959 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10960 get clock_id definition.
10961
9078ce93
TS
109622012-02-17 Thomas Schwinge <thomas@schwinge.name>
10963
10964 [BZ #4822]
10965 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10966 (madvise): Cast every argument to void on its own.
10967
3835c55f
JM
109682012-02-17 Joseph Myers <joseph@codesourcery.com>
10969
10970 [BZ #9902]
10971 * manual/startup.texi (Exit Status): Fix typo.
10972
35c47e37
JM
109732012-02-17 Joseph Myers <joseph@codesourcery.com>
10974
10975 [BZ #10140]
10976 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10977 * manual/examples/argp-ex2.c: Likewise.
10978 * manual/examples/argp-ex3.c: Likewise.
10979
e3b69ca7
RH
109802012-02-16 Richard Henderson <rth@redhat.com>
10981
10982 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10983 * sysdeps/s390/s390-32/initfini.c: Remove.
10984 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10985 * sysdeps/s390/s390-64/initfini.c: Remove.
10986
df83af67
KK
109872012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10988
10989 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10990 compiler output for sysdeps/generic/initfini.c.
10991 * sysdeps/sh/elf/initfini.c: Remove file.
10992
f63f3380
DM
109932012-02-16 David S. Miller <davem@davemloft.net>
10994
fb59b3a4
DM
10995 [BZ #11494]
10996 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10997
f63f3380
DM
10998 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10999 * sysdeps/sparc/crti.S: New file.
11000 * sysdeps/sparc/crtn.S: New file.
11001 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11002 * sysdeps/sparc/sparc64/Makefile: Likewise.
11003
df6a4a4a
MF
110042012-02-15 Mike Frysinger <vapier@gentoo.org>
11005
6dd8f3dc 11006 [BZ #3335]
df6a4a4a
MF
11007 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11008
1cac7236
RM
110092012-02-15 Roland McGrath <roland@hack.frob.com>
11010
d2c736f8
RM
11011 [BZ #4822]
11012 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11013
1cac7236
RM
11014 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11015 (write, read, close): Likewise.
11016 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11017
8e475601
JM
110182012-02-15 Joseph Myers <joseph@codesourcery.com>
11019
11020 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11021 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11022 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11023 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11024 <bits/signalfd.h>.
11025 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11027 bits/signalfd.h.
11028
ed656b40
MP
110292012-02-14 Marek Polacek <polacek@redhat.com>
11030
11031 * sysdeps/x86_64/crti.S: New file.
11032 * sysdeps/x86_64/crtn.S: New file.
11033 * sysdeps/x86_64/elf/initfini.c: Remove file.
11034
2a979d3a
JM
110352012-02-13 Joseph Myers <joseph@codesourcery.com>
11036
11037 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11038 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11039 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11040 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11041 <bits/inotify.h>.
11042 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11044 bits/inotify.h.
11045
2a418ac3
JM
110462012-02-13 Joseph Myers <joseph@codesourcery.com>
11047
11048 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11049 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11050 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11051 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11052 <bits/eventfd.h>.
11053 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11055 bits/eventfd.h.
11056
fb779be7
TS
110572012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11058
e19e83c5
RM
11059 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11060 __feraiseexcept instead of feraiseexcept.
7c35ffed 11061
fb779be7
TS
11062 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11063 nanosleep invocations.
11064 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11065 strings, and add error checking for a nanosleep invocations.
11066
59ba27a6
PE
110672012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11068
11069 Replace FSF snail mail address with URLs, as per GNU coding standards.
11070 Most of the snail mail addresses were wrong anyway, and omitting
11071 them makes the source code easier to maintain. Almost all of the
11072 changes are to license notices and to locale LC_IDENTIFICATION
11073 addresses, except for this one:
11074 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11075 not its snail mail address.
11076
57b957eb
RH
110772012-02-09 Richard Henderson <rth@twiddle.net>
11078
af850b1c
RH
11079 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11080 of kernel-features.h.
11081
57b957eb
RH
11082 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11083
6b73181a
MP
110842012-02-08 Marek Polacek <polacek@redhat.com>
11085
11086 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11087 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11088 * sysdeps/gnu/_G_config.h: Likewise.
11089 * sysdeps/generic/_G_config.h: Likewise.
11090
26ecc33a
AS
110912012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11092
6c6dbc63
AS
11093 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11094 tests.
11095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11096
e216c012
AS
11097 * sysdeps/powerpc/powerpc32/crti.S: New file.
11098 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11099 * sysdeps/powerpc/powerpc64/crti.S: New file.
11100 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11101
26ecc33a
AS
11102 * Makeconfig (have-initfini): Don't set.
11103 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11104 * configure.in (nopic_initfini): Don't substitute.
11105 * config.h.in (HAVE_INITFINI): Don't #undef.
11106 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11107 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11108
3add8e13
JM
111092012-02-08 Joseph Myers <joseph@codesourcery.com>
11110
11111 Support crti.S and crtn.S provided directly by architectures.
11112 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11113 [crti.S in sysdirs] (omit-deps): Likewise.
11114 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11115 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11116 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11117 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11118 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11119 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11120 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11121 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11122 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11123 compiler output for sysdeps/generic/initfini.c.
11124 * sysdeps/i386/elf/Makefile: Remove file.
11125 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11126
a22f12b4
MP
111272012-02-07 Marek Polacek <polacek@redhat.com>
11128
11129 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11130 * sysdeps/gnu/_G_config.h: Likewise.
11131 * sysdeps/mach/hurd/_G_config.h: Likewise.
11132
148cf100
MP
111332012-02-07 Marek Polacek <polacek@redhat.com>
11134
11135 * math/Makefile (tests): Add tst-CMPLX2.
11136 * math/tst-CMPLX2.c: New file.
11137
cfdc0dd7
AS
111382012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11139
84ba42c4
AS
11140 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11141
cfdc0dd7
AS
11142 * math/libm-test.inc (jn_test): Add missing L suffix.
11143
622c86f4
MP
111442012-02-06 Marek Polacek <polacek@redhat.com>
11145
11146 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11147 * sysdeps/i386/fpu/e_powf.S: Likewise.
11148 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11149 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11150 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11151 * sysdeps/i386/fpu/e_pow.S: Likewise.
11152 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11153 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11154 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11155 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11156 * sysdeps/i386/fpu/e_log2.S: Likewise.
11157 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11158 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11159 * sysdeps/i386/fpu/e_powl.S: Likewise.
11160 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11161 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11162 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11163 * sysdeps/i386/fpu/e_logl.S: Likewise.
11164 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11165 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11166 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11167 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11168 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11169 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11170 * sysdeps/i386/fpu/e_log.S: Likewise.
11171 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11172 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11173 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11174 * sysdeps/i386/fpu/e_logf.S: Likewise.
11175 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11176 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11177 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11178 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11179 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11180 * sysdeps/i386/fpu/e_log10.S: Likewise.
11181 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11182 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11183 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11184 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11185 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11186 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11187 * sysdeps/i386/asm-syntax.h: Likewise.
11188 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11189 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11190 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11191 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11192 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11193 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11194 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11195 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11196 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11197 * sysdeps/powerpc/sysdep.h: Likewise.
11198 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11199 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11200
d4a54ac6
JM
112012012-02-06 Joseph Myers <joseph@codesourcery.com>
11202
11203 [BZ #411]
11204 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11205
314054ea
JM
112062012-02-06 Joseph Myers <joseph@codesourcery.com>
11207
11208 * sysdeps/i386/sysdep.h: Include <features.h>.
11209 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11210 version.
11211
d8e0ca50
JM
112122012-02-05 Joseph Myers <joseph@codesourcery.com>
11213
11214 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11215 Define.
11216 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11217 LOAD_PIC_REG_STR.
11218
b1da7dd9
JM
112192012-02-03 Joseph Myers <joseph@codesourcery.com>
11220
11221 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11222 (SETUP_PIC_REG): Use GET_PC_THUNK.
11223 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11224 macro.
11225
9a1d9254
JM
112262012-02-03 Joseph Myers <joseph@codesourcery.com>
11227
11228 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11229 for non-PIC compilation.
11230 (SETUP_PIC_REG): Add .p2align directive.
11231 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11232 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11233 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11234 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11235 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11236 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11237 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11238 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11239 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11240 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11241 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11242 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11243 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11244 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11245 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11246 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11247 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11248 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11249 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11250 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11251 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11252 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11253 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11254 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11255 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11257 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11258 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11259 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11260 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11261 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11262 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11263 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11264 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11265 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11266 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11267 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11268 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11269 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11270 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11271 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11272
65dc3b75
JM
112732012-02-03 Joseph Myers <joseph@codesourcery.com>
11274
11275 * math/tst-CMPLX.c: Include <stdio.h>.
11276
d55bf177
JM
112772012-01-31 Joseph Myers <joseph@codesourcery.com>
11278
11279 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11280 float.
11281 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11282 * sysdeps/sparc/bits/mathdef.h: Likewise.
11283
69db4f8f
MP
112842012-01-31 Marek Polacek <polacek@redhat.com>
11285
11286 * libio/libio.h: Don't define _PARAMS.
11287 * locale/programs/config.h: Don't define PARAMS.
11288 * stdlib/strtol_l.c: Likewise.
11289 (__strtol_l): Remove PARAMS from the prototype.
11290
41b81892
UD
112912012-01-31 Ulrich Drepper <drepper@gmail.com>
11292
3b49edc0
UD
11293 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11294 names. Just use the correct names. Remove unnecessary wrapper
11295 functions.
11296 * malloc/arena.c: Likewise.
11297 * malloc/hooks.c: Likewise.
11298
41b81892
UD
11299 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11300 ARENA_TEST says not to. Simplify test for creation of a new arena.
11301 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11302
27a25b6e
UD
113032012-01-30 Ulrich Drepper <drepper@gmail.com>
11304
11305 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11306 into tail calls.
11307 (update_get_addr): New function.
11308 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11309 GET_ADDR_MODULE parameter.
11310
c8a89e7d
JM
113112012-01-30 Joseph Myers <joseph@codesourcery.com>
11312
11313 * crypt/cert.c: Remove __STDC__ conditionals.
11314 * crypt/crypt-entry.c: Likewise.
11315 * crypt/crypt_util.c: Likewise.
11316 * libio/filedoalloc.c: Likewise.
11317 * libio/fileops.c: Likewise.
11318 * libio/genops.c: Likewise.
11319 * libio/iofclose.c: Likewise.
11320 * libio/iofdopen.c: Likewise.
11321 * libio/iofopen.c: Likewise.
11322 * libio/iofopen64.c: Likewise.
11323 * libio/iogetdelim.c: Likewise.
11324 * libio/iopopen.c: Likewise.
11325 * libio/obprintf.c: Likewise.
11326 * libio/oldfileops.c: Likewise.
11327 * libio/oldiofclose.c: Likewise.
11328 * libio/oldiofdopen.c: Likewise.
11329 * libio/oldiofopen.c: Likewise.
11330 * libio/oldiopopen.c: Likewise.
11331 * libio/wfiledoalloc.c: Likewise.
11332 * libio/wgenops.c: Likewise.
11333 * locale/programs/xmalloc.c: Likewise.
11334 * misc/syslog.c: Likewise.
11335 * stdio-common/xbug.c: Likewise.
11336 * string/memchr.c: Likewise.
11337 * string/memcmp.c: Likewise.
11338 * string/memrchr.c: Likewise.
11339 * string/rawmemchr.c: Likewise.
11340 * sysdeps/posix/getcwd.c: Likewise.
11341 * time/strftime_l.c: Likewise.
11342
3b100462
JM
113432012-01-30 Joseph Myers <joseph@codesourcery.com>
11344
11345 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11346 * config.make.in (config-cflags-sse2avx): Define.
11347 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11348 Fix typo.
11349
607998af
CM
113502012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11351
11352 * scripts/config.guess: Update from upstream config git repository.
11353 * scripts/config.sub: Likewise.
11354
3601428f
CM
113552012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11356
3ac8b282
CM
11357 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11358 (EM_NUM): Update.
11359 (R_TILEPRO_*, R_TILEGX_*): New macros.
11360
e034841e
CM
11361 * scripts/firstversions.awk: Fix bug in version range handling.
11362
540d7568
CM
11363 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11364
3601428f
CM
11365 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11366
463de862
CM
11367 * include/sys/epoll.h: New file.
11368 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11369 libc_hidden_def.
11370
73139a76
UD
113712012-01-28 Ulrich Drepper <drepper@gmail.com>
11372
96bc5b45
UD
11373 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11374 Avoid unnecessary __WORDSIZE == 64 test.
11375 (fmaxf): Use VEX format if possible.
11376 (fmax): Likewise.
11377 (fminf): Likewise.
11378 (fmin): Likewise.
11379
56f6f6a2
UD
11380 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11381 * math/math_private.h: Remove libc_fegetround* and
11382 libc_fesetround*.
11383 * sysdeps/i386/configure.in: Check for -msse2avx.
11384 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11385 also if SSE2AVX is defined.
11386 Remove libc_fegetround* and libc_fesetround*.
11387 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11388 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11389 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11390 of HAS_YMM_USABLE.
11391 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11392 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11393 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11394 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11395 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11396
73139a76
UD
11397 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11398
d73f93a4
AZ
113992012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11400
11401 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11402 size is not set.
11403 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11404
6ee65ed6
UD
114052012-01-27 Ulrich Drepper <drepper@gmail.com>
11406
11407 [BZ #13618]
11408 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11409 relocation.
11410 * Makeconfig (libm): Define.
11411 * elf/Makefile: Add rules to build and run tst-relsort1.
11412 * elf/tst-relsort1.c: New file.
11413 * elf/tst-relsort1mod1.c: New file.
11414 * elf/tst-relsort1mod2.c: New file.
11415
8db21882
JM
114162012-01-27 Joseph Myers <joseph@codesourcery.com>
11417
11418 * math/s_ldexp.c: Remove __STDC__ conditionals.
11419 * math/s_ldexpf.c: Likewise.
11420 * math/s_ldexpl.c: Likewise.
11421 * math/s_nextafter.c: Likewise.
11422 * math/s_nexttowardf.c: Likewise.
11423 * math/s_significand.c: Likewise.
11424 * math/s_significandf.c: Likewise.
11425 * math/s_significandl.c: Likewise.
11426 * math/w_jnl.c: Likewise.
11427 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11428 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11429 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11430 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11431 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11432 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11433 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11434 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11435 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11436 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11437 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11440 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11444 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11446 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11447 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11448 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11449 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11451 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11452 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11453 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11454 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11455 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11462 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11463 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11464 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11465 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11467 * sysdeps/ieee754/k_standard.c: Likewise.
11468 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11469 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11470 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11471 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11472 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11473 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11474 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11475 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11476 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11477 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11478 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11479 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11480 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11481 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11482 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11483 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11484 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11485 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11486 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11487 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11488 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11489 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11490 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11491 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11492 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11493 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11494 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11498 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11499 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11511 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11529 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11534 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11542 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11543 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11547 * sysdeps/ieee754/s_matherr.c: Likewise.
11548 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11549 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11550 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11551 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11552
965a54a4
JM
115532012-01-26 Joseph Myers <joseph@codesourcery.com>
11554
11555 * crypt/md5.h: Remove __STDC__ conditionals.
11556 * libio/libioP.h: Likewise.
11557 * locale/programs/config.h: Likewise.
11558 * sysdeps/generic/sysdep.h: Likewise.
11559 * sysdeps/i386/asm-syntax.h: Likewise.
11560 * sysdeps/s390/asm-syntax.h: Likewise.
11561 * sysdeps/unix/sysdep.h: Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11564
7071ad79
JM
115652012-01-26 Joseph Myers <joseph@codesourcery.com>
11566
11567 * libio/libio.h: Remove __STDC__ conditionals.
11568 * malloc/obstack.h: Likewise.
11569 * math/complex.h: Likewise.
11570 * math/math.h: Likewise.
11571 * sysdeps/generic/_G_config.h: Likewise.
11572 * sysdeps/gnu/_G_config.h: Likewise.
11573 * sysdeps/mach/hurd/_G_config.h: Likewise.
11574 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11575 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11576 * sysdeps/sparc/bits/mathdef.h: Likewise.
11577
afc5ed09
UD
115782012-01-26 Ulrich Drepper <drepper@gmail.com>
11579
11580 [BZ #13583]
11581 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11582 Clean up HAS_* macros.
afc5ed09 11583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11584 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11585 possible.
11586 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11587 HAS_AVX.
11588 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11589 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11590 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11591 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11592 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11593
bdb6de1d
JM
115942012-01-25 Joseph Myers <joseph@codesourcery.com>
11595
11596 * elf/tst-unique3.cc (gets): Remove declaration.
11597 * elf/tst-unique3lib.cc (gets): Likewise.
11598 * elf/tst-unique3lib2.cc (gets): Likewise.
11599 * elf/tst-unique4.cc (gets): Likewise.
11600
b15549e6
UD
116012012-01-24 Ulrich Drepper <drepper@gmail.com>
11602
11603 * include/stdio.h: Add C++ protection. Add gets declarations and
11604 definitions.
11605 * debug/tst-chk1.c: Don't declare gets here.
11606 * stdio-common/tst-gets.c: Likewise.
11607
a037381f
JM
116082012-01-24 Joseph Myers <joseph@codesourcery.com>
11609
11610 * posix/glob: Remove directory.
11611
f1d4aa75
JM
116122012-01-24 Joseph Myers <joseph@codesourcery.com>
11613
11614 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11615
81c0c964
PT
116162012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11617
11618 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11619 of the non-standard EPFNOSUPPORT.
11620
0ea698ae
ST
116212011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11622
11623 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11624 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11625 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11626
d220b117
UD
116272012-01-21 Ulrich Drepper <drepper@gmail.com>
11628
11629 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11630
3e1aa84e
UD
116312012-01-20 Ulrich Drepper <drepper@gmail.com>
11632
11633 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11634 transient errors.
11635 * nscd/grpcache.c (cache_addgr): Likewise.
11636 * nscd/hstcache.c (cache_addhst): Likewise.
11637 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11638 * nscd/pwdcache.c (cache_addpw): Likewise.
11639 * nscd/servicescache.c (cache_addserv): Likewise.
11640
400aa020
UD
116412012-01-16 Ulrich Drepper <drepper@gmail.com>
11642
d77e7869
UD
11643 * malloc/malloc.c: Various cleanups.
11644 * malloc/hooks.c: Likewise.
11645
400aa020
UD
11646 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11647 * stdlib/bug-fmtmsg1.c: New file.
11648
11649 * stdlib/fmtmsg.c (init): Add missing unlock.
11650 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11651
e0a309cf
MP
116522012-01-12 Marek Polacek <polacek@redhat.com>
11653
11654 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11655 and _GNU_SOURCE.
11656
929d11c7
WS
116572012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11658
11659 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11660 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11661 macro to ensure uniqueness of label name.
11662 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11663 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11664
41d0e869
UD
116652012-01-11 Ulrich Drepper <drepper@gmail.com>
11666
0cc5ed3b
UD
11667 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11668
41d0e869
UD
11669 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11670 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11673
a47a831a
UD
116742012-01-10 Ulrich Drepper <drepper@gmail.com>
11675
daa891c0
UD
11676 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11677
11678 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11679 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11680 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11681
e58ef0f2
UD
11682 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11683
a47a831a 11684 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11685 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11686 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11688
11689 * math/bits/math-finite.h: Add ldexp support.
11690
a0bfc9c7
MP
116912012-01-10 Marek Polacek <polacek@redhat.com>
11692
11693 * locale/programs/localedef.h (show_archive_content): Add noreturn
11694 attribute.
11695
d6e97a1d
UD
116962012-01-09 Ulrich Drepper <drepper@gmail.com>
11697
11698 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11699
d5835c26
UD
117002012-01-08 Ulrich Drepper <drepper@gmail.com>
11701
e5f484c6
UD
11702 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11703
d5835c26
UD
11704 * io/Makefile (headers): Add bits/poll2.h.
11705
d1f741e9
WS
117062011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11707
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11709 typo #include statement.
11710
ec09c1c4
UD
117112012-01-08 Ulrich Drepper <drepper@gmail.com>
11712
11713 * include/sys/cdefs.h: Define __attribute_alloc_size.
11714 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11715 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11716 * elf/pldd.c: Likewise.
11717 * iconv/iconv_charmap.c: Likewise.
11718 * iconv/iconvconfig.c: Likewise.
11719 * iconv/strtab.c: Likewise.
11720 * locale/programs/locale.c: Likewise.
11721 * locale/programs/localedef.h: Likewise.
11722 * locale/programs/simple-hash.c: Likewise.
11723 * nscd/nscd.h: Likewise.
11724 * nss/makedb.c: Likewise.
11725 * sysdeps/generic/ldconfig.h: Likewise.
11726 * locale/programs/localedef.c: Remove xmalloc prototype.
11727 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11728
20b38e03
PP
117292012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11730
11731 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11732 appropriate.
11733
a0da5fe1
UD
117342012-01-08 Ulrich Drepper <drepper@gmail.com>
11735
1d5a644a 11736 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11737 * math/tst-CMPLX.c: New file.
1d5a644a 11738
8784a6db
UD
11739 * math/complex.h (CMPLXL): Fix typo.
11740
d9a216c0
UD
11741 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11742 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11743 GLIBC_2.16.
11744 * debug/tst-chk1.c: Add poll and ppoll tests.
11745 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11746 * include/sys/poll.h: Add hidden proto for ppoll.
11747 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11748 * sysdeps/mach/hurd/ppoll.c: Likewise.
11749 * io/ppoll.c: Likewise.
11750 * debug/poll_chk.c: New file.
11751 * debug/ppoll_chk.c: New file.
11752 * include/bits/poll2.h: New file.
11753 * io/bits/poll2.h: New file.
11754
ac097f5c
UD
11755 [BZ #1350]
11756 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11757
2119dcfa
UD
11758 * configure.in: static is always set to yes. Remove.
11759 * config.make.in: Don't set build-static.
11760 * Makeconfig: Remove use of build-static.
11761 * dlfcn/Makefile: Likewise.
11762 * elf/Makefile: Likewise.
11763 * math/Makefile: Likewise.
11764 * misc/Makefile: Likewise.
11765 * nptl/Makefile: Likewise.
11766 * sysdeps/mach/hurd/Makefile: Likewise.
11767
121766a9
UD
11768 * configure.in: PWD_P is not used anymore.
11769 * config.make.in: Remove PWD_P entry.
11770
51a1d39c 11771 * configure.in: Remove last remnants of RANLIB.
8720d066 11772 No need to check for signed size_t anymore.
215f4bdc
UD
11773 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11774 and IA-64.
3857022a 11775 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11776 * aclocal.m4: Likewise.
11777
d3ed7225
UD
11778 * wcsmbs/mbrtoc16.c: Implement using towc function.
11779 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11780 * wcsmbs/wcsmbsload.c: Likewise.
11781 * iconv/gconv_simple.c: Likewise.
11782 * iconv/gconv_int.h: Likewise.
11783 * iconv/gconv_builtin.h: Likewise.
11784 * iconv/iconv_prog.c: Remove CHAR16 handling.
11785
11786 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11787
11788 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11789
a0da5fe1
UD
11790 * configure.in: Remove --with-elf and --enable-bounded options.
11791 Dont set base_machine for ia64. More non-ELF conditions removed.
11792 Remove testing and setting of leading underscore information.
11793 * config.make.in (build-bounded): Set to no.
11794 * config.h.in: Remove NO_UNDERSCORES entry.
11795 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11796 them.
11797 * csu/start.c: Remove !NO_UNDERSCORE code.
11798 * locale/localeinfo.h: Likewise.
11799 * sysdeps/generic/machine-gmon.h: Likewise.
11800 * sysdeps/generic/sysdep.h: Likewise.
11801 * sysdeps/i386/sysdep.h: Likewise.
11802 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11803 * sysdeps/mach/sysdep.h: Likewise.
11804 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11805 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11806 * sysdeps/sh/sysdep.h: Likewise.
11807 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11808 * sysdeps/unix/i386/sysdep.S: Likewise.
11809 * sysdeps/unix/sparc/start.c: Likewise.
11810 * sysdeps/unix/sparc/sysdep.S: Likewise.
11811 * sysdeps/unix/sparc/sysdep.h: Likewise.
11812 * sysdeps/unix/start.c: Likewise.
11813 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11814 * sysdeps/x86_64/sysdep.h: Likewise.
11815
df78418a
UD
118162012-01-07 Ulrich Drepper <drepper@gmail.com>
11817
a784e502
UD
11818 [BZ #13553]
11819 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11820 for non-gcc.
11821 * argp/argp-fmtstream.h: Use const instead __const.
11822 * argp/argp.h: Likewise.
11823 * assert/assert.h: Likewise.
11824 * bits/fenv.h: Likewise.
11825 * bits/sched.h: Likewise.
11826 * bits/sigset.h: Likewise.
11827 * bits/sigthread.h: Likewise.
11828 * catgets/nl_types.h: Likewise.
11829 * conform/data/pthread.h-data: Likewise.
11830 * crypt/crypt-private.h: Likewise.
11831 * crypt/crypt.h: Likewise.
11832 * crypt/crypt_util.c: Likewise.
11833 * ctype/ctype.h: Likewise.
11834 * debug/execinfo.h: Likewise.
11835 * debug/mbsnrtowcs_chk.c: Likewise.
11836 * debug/mbsrtowcs_chk.c: Likewise.
11837 * debug/wcsnrtombs_chk.c: Likewise.
11838 * debug/wcsrtombs_chk.c: Likewise.
11839 * debug/wcstombs_chk.c: Likewise.
11840 * dirent/dirent.h: Likewise.
11841 * dlfcn/dlfcn.h: Likewise.
11842 * elf/neededtest4.c: Likewise.
11843 * grp/grp.h: Likewise.
11844 * gshadow/gshadow.h: Likewise.
11845 * iconv/gconv.h: Likewise.
11846 * iconv/gconv_int.h: Likewise.
11847 * iconv/gconv_simple.c: Likewise.
11848 * iconv/iconv.h: Likewise.
11849 * iconv/loop.c: Likewise.
11850 * iconv/skeleton.c: Likewise.
11851 * include/aio.h: Likewise.
11852 * include/aliases.h: Likewise.
11853 * include/argz.h: Likewise.
11854 * include/arpa/inet.h: Likewise.
11855 * include/assert.h: Likewise.
11856 * include/dirent.h: Likewise.
11857 * include/dlfcn.h: Likewise.
11858 * include/execinfo.h: Likewise.
11859 * include/fcntl.h: Likewise.
11860 * include/fenv.h: Likewise.
11861 * include/glob.h: Likewise.
11862 * include/grp.h: Likewise.
11863 * include/libintl.h: Likewise.
11864 * include/mntent.h: Likewise.
11865 * include/netdb.h: Likewise.
11866 * include/pwd.h: Likewise.
11867 * include/rpc/netdb.h: Likewise.
11868 * include/sched.h: Likewise.
11869 * include/search.h: Likewise.
11870 * include/shadow.h: Likewise.
11871 * include/signal.h: Likewise.
11872 * include/stdio.h: Likewise.
11873 * include/stdlib.h: Likewise.
11874 * include/string.h: Likewise.
11875 * include/sys/socket.h: Likewise.
11876 * include/sys/stat.h: Likewise.
11877 * include/sys/statfs.h: Likewise.
11878 * include/sys/statvfs.h: Likewise.
11879 * include/sys/syslog.h: Likewise.
11880 * include/sys/time.h: Likewise.
11881 * include/sys/uio.h: Likewise.
11882 * include/time.h: Likewise.
11883 * include/unistd.h: Likewise.
11884 * include/utmp.h: Likewise.
11885 * include/wchar.h: Likewise.
11886 * include/wctype.h: Likewise.
11887 * inet/aliases.h: Likewise.
11888 * inet/arpa/inet.h: Likewise.
11889 * inet/netinet/ether.h: Likewise.
11890 * inet/netinet/in.h: Likewise.
11891 * intl/libintl.h: Likewise.
11892 * io/bits/fcntl2.h: Likewise.
11893 * io/fcntl.h: Likewise.
11894 * io/ftw.h: Likewise.
11895 * io/sys/poll.h: Likewise.
11896 * io/sys/stat.h: Likewise.
11897 * io/sys/statfs.h: Likewise.
11898 * io/sys/statvfs.h: Likewise.
11899 * io/utime.h: Likewise.
11900 * libio/bits/stdio.h: Likewise.
11901 * libio/bits/stdio2.h: Likewise.
11902 * libio/libio.h: Likewise.
11903 * libio/libioP.h: Likewise.
11904 * libio/stdio.h: Likewise.
11905 * locale/lc-ctype.c: Likewise.
11906 * locale/locale.h: Likewise.
11907 * login/utmp.h: Likewise.
11908 * malloc/arena.c: Likewise.
11909 * malloc/malloc.c: Likewise.
11910 * malloc/malloc.h: Likewise.
11911 * malloc/mcheck.c: Likewise.
11912 * malloc/mtrace.c: Likewise.
11913 * math/bits/mathcalls.h: Likewise.
11914 * math/fenv.h: Likewise.
11915 * math/math_private.h: Likewise.
11916 * misc/bits/error.h: Likewise.
11917 * misc/bits/syslog.h: Likewise.
11918 * misc/err.h: Likewise.
11919 * misc/error.h: Likewise.
11920 * misc/fstab.h: Likewise.
11921 * misc/mntent.h: Likewise.
11922 * misc/regexp.h: Likewise.
11923 * misc/search.h: Likewise.
11924 * misc/sgtty.h: Likewise.
11925 * misc/sys/mman.h: Likewise.
11926 * misc/sys/syslog.h: Likewise.
11927 * misc/sys/uio.h: Likewise.
11928 * misc/sys/xattr.h: Likewise.
11929 * misc/ttyent.h: Likewise.
11930 * nis/rpcsvc/ypclnt.h: Likewise.
11931 * nss/nss.h: Likewise.
11932 * posix/bits/unistd.h: Likewise.
11933 * posix/fnmatch.h: Likewise.
11934 * posix/glob.h: Likewise.
11935 * posix/sched.h: Likewise.
11936 * posix/spawn.h: Likewise.
11937 * posix/sys/wait.h: Likewise.
11938 * posix/unistd.h: Likewise.
11939 * posix/wordexp.h: Likewise.
11940 * pwd/pwd.h: Likewise.
11941 * resolv/netdb.h: Likewise.
11942 * resource/sys/resource.h: Likewise.
11943 * rt/aio.h: Likewise.
11944 * rt/bits/mqueue2.h: Likewise.
11945 * rt/mqueue.h: Likewise.
11946 * shadow/shadow.h: Likewise.
11947 * signal/signal.h: Likewise.
11948 * socket/send.c: Likewise.
11949 * socket/sendto.c: Likewise.
11950 * socket/sys/socket.h: Likewise.
11951 * stdio-common/printf.h: Likewise.
11952 * stdlib/bits/stdlib.h: Likewise.
11953 * stdlib/fmtmsg.h: Likewise.
11954 * stdlib/monetary.h: Likewise.
11955 * stdlib/stdlib.h: Likewise.
11956 * stdlib/ucontext.h: Likewise.
11957 * streams/stropts.h: Likewise.
11958 * string/argz.h: Likewise.
11959 * string/bits/string2.h: Likewise.
11960 * string/string.h: Likewise.
11961 * string/strings.h: Likewise.
11962 * sunrpc/rpc/auth.h: Likewise.
11963 * sunrpc/rpc/auth_des.h: Likewise.
11964 * sunrpc/rpc/clnt.h: Likewise.
11965 * sunrpc/rpc/netdb.h: Likewise.
11966 * sunrpc/rpc/pmap_clnt.h: Likewise.
11967 * sunrpc/rpc/xdr.h: Likewise.
11968 * sysdeps/generic/inttypes.h: Likewise.
11969 * sysdeps/generic/net/if.h: Likewise.
11970 * sysdeps/generic/sys/swap.h: Likewise.
11971 * sysdeps/gnu/net/if.h: Likewise.
11972 * sysdeps/gnu/utmpx.h: Likewise.
11973 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11974 * sysdeps/i386/i486/bits/string.h: Likewise.
11975 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11976 * sysdeps/s390/bits/string.h: Likewise.
11977 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11978 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11979 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11980 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11981 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11982 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11983 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11984 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11985 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11986 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11987 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11988 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11989 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11990 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11991 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11992 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11993 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11995 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11996 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11997 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11998 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11999 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12000 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12001 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12002 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12003 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12005 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12006 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12007 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12008 * sysvipc/sys/ipc.h: Likewise.
12009 * sysvipc/sys/msg.h: Likewise.
12010 * sysvipc/sys/sem.h: Likewise.
12011 * sysvipc/sys/shm.h: Likewise.
12012 * termios/termios.h: Likewise.
12013 * time/sys/time.h: Likewise.
12014 * time/time.h: Likewise.
12015 * wcsmbs/bits/wchar2.h: Likewise.
12016 * wcsmbs/uchar.h: Likewise.
12017 * wcsmbs/wchar.h: Likewise.
12018 * wctype/wctype.h: Likewise.
12019
0269750c
UD
12020 [BZ #13551]
12021 * Makeconfig: Remove all but ELF support including AIX support.
12022 * Makerules: Likewise.
12023 * config.h.in: Likewise.
12024 * config.make.in: Likewise.
12025 * configure: Likewise.
12026 * configure.in: Likewise.
12027 * csu/Makefile: Likewise.
12028 * csu/version.c: Likewise.
12029 * debug/Makefile: Likewise.
12030 * dlfcn/Makefile: Likewise.
12031 * elf/Makefile: Likewise.
12032 * extra-lib.mk: Likewise.
12033 * iconv/Makefile: Likewise.
12034 * include/libc-symbols.h: Likewise.
12035 * include/shlib-compat.h: Likewise.
12036 * resolv/Makefile: Likewise.
12037 * resolv/res_libc.c: Likewise.
12038 * rt/Makefile: Likewise.
12039 * sysdeps/i386/asm-syntax.h: Likewise.
12040 * sysdeps/i386/sysdep.h: Likewise.
12041 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12042 * sysdeps/mach/sysdep.h: Likewise.
12043 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12044 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12045 * sysdeps/s390/asm-syntax.h: Likewise.
12046 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12047 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12048 * sysdeps/sh/sysdep.h: Likewise.
12049 * sysdeps/unix/sparc/sysdep.h: Likewise.
12050 * sysdeps/wordsize-32/divdi3.c: Likewise.
12051 * sysdeps/x86_64/sysdep.h: Likewise.
12052
00bbd29b
UD
12053 * argp/Versions: Remove _argp_unlock_xxx.
12054
12055 [BZ #13559]
12056 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12057 * abilist/libBrokenLocale.abilist: Likewise.
12058 * abilist/libanl.abilist: Likewise.
12059 * abilist/libc.abilist: Likewise.
12060 * abilist/libcrypt.abilist: Likewise.
12061 * abilist/libdl.abilist: Likewise.
12062 * abilist/libm.abilist: Likewise.
12063 * abilist/libnsl.abilist: Likewise.
12064 * abilist/libpthread.abilist: Likewise.
12065 * abilist/libresolv.abilist: Likewise.
12066 * abilist/librt.abilist: Likewise.
12067 * abilist/libthread_db.abilist: Likewise.
12068 * abilist/libutil.abilist: Likewise.
12069 * abilist/libnss_db.abilist: New file.
12070
12071 * scripts/abilist.awk: Add support for indirect functions.
12072
a2693a0e
UD
12073 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12074
3f05895f
UD
12075 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12076
ecb6fb48
UD
12077 * shlib-versions: Remove entries for ports architectures.
12078
664f8cb9
UD
12079 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12080 files in ports.
12081 * elf/stackguard-macros.h: Remove support for IA-64.
12082 * elf/tst-auditmod1.c: Likewise.
12083 * sysdeps/generic/ldsodefs.h: Likewise.
12084
7ae81d88
UD
12085 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12086 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12087 configure files.
12088
bdeba135
UD
12089 [BZ #13552]
12090 * configure.in: Remove --enable-omitfp support.
12091 * FAQ.in: Adjust.
12092 * config.make.in: Likewise.
12093 * Makeconfig: Likewise.
12094 * manual/install.texi: Likewise.
12095
d75a0a62
UD
12096 In case anyone cares, the IA-64 architecture could move to ports.
12097 * sysdeps/ia64/*: Removed.
12098 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12099 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12100
dcc9756b
UD
12101 [BZ #13555]
12102 * configure.in: Remove entries for unsupported architectures.
12103
d3761ebc 12104 [BZ #13533]
9954432e
UD
12105 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12106 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12107 routines.
12108 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12109 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12110 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12111 fall back to using wcrtomb.
12112 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12113 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12114 renaming.
12115 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12116 * wcsmbs/tst-c16c32-1.c: New file.
12117
12118 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12119 local variable.
12120
c3a87236
UD
12121 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12122
28926a1b
UD
12123 * elf/tst-unique3.cc: Add explicit declaration of gets.
12124 * elf/tst-unique3lib.cc: Likewise.
12125 * elf/tst-unique3lib2.cc: Likewise.
12126 * elf/tst-unique4.cc: Likewise.
12127
df78418a
UD
12128 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12129
8ecd6b2a
JM
121302012-01-06 Joseph Myers <joseph@codesourcery.com>
12131
12132 [BZ #13566]
12133 * assert/assert.h (static_assert): Don't define for C++.
12134 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12135 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12136
9f115170
UD
121372012-01-03 Ulrich Drepper <drepper@gmail.com>
12138
5e0d0300
UD
12139 * iconv/loop.c (single loop): Fix assertion in storing of
12140 remaining bytes.
12141
9f115170
UD
12142 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12143
81fb02b0
UD
121442012-01-01 Ulrich Drepper <drepper@gmail.com>
12145
12146 * posix/getconf.c: Update copyright year.
12147 * nss/getent.c: Likewise.
a316c1f6 12148 * nss/makedb.c: Likewise.
81fb02b0
UD
12149 * iconv/iconvconfig.c: Likewise.
12150 * iconv/iconv_prog.c: Likewise.
12151 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12152 * elf/pldd.c: Likewise.
12153 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12154 * catgets/gencat.c: Likewise.
12155 * csu/version.c: Likewise.
12156 * elf/ldd.bash.in: Likewise.
12157 * elf/sprof.c (print_version): Likewise.
12158 * locale/programs/locale.c: Likewise.
12159 * locale/programs/localedef.c: Likewise.
a316c1f6 12160 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12161 * nscd/nscd.c (print_version): Likewise.
12162 * debug/xtrace.sh: Likewise.
12163 * malloc/memusage.sh: Likewise.
12164 * malloc/mtrace.pl: Likewise.
12165 * debug/catchsegv.sh: Likewise.
12166
2ba92745
JJ
121672011-12-30 Jakub Jelinek <jakub@redhat.com>
12168
12169 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12170 pure attribute.
12171
dadebdae
UD
121722011-12-24 Ulrich Drepper <drepper@gmail.com>
12173
d3761ebc 12174 [BZ #13533]
db6af3eb
UD
12175 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12176 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12177 transformations.
12178 * iconv/gconv_int.h: Likewise.
12179 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12180 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12181 from libc for GLIBC_2.16.
12182 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12183 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12184 * wcsmbs/uchar.h: Really define mbstate_t.
12185 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12186 * wcsmbs/c16rtomb.c: New file.
12187 * wcsmbs/mbrtoc16.c: New file.
12188 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12189 for C/POSIX locale.
12190 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12191 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12192
dadebdae
UD
12193 * wcsmbs/wchar.h: Add missing __restrict.
12194
67371b56
UD
121952011-12-23 Ulrich Drepper <drepper@gmail.com>
12196
74033a25
UD
12197 [BZ #13532]
12198 * time/Makefile (routines): Add timespec_get.
12199 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12200 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12201 timespec for ISO C11.
12202 * time/timespec_get.c: New file.
12203 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12204 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12205
380d7e87
UD
12206 [BZ #13531]
12207 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12208 * stdlib/stdlib.h: Declare aligned_alloc.
12209 * Versions.def: Add GLIBC_2.16 for libc.
12210 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12211
4e9e7a35
UD
12212 [BZ 13527]
12213 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12214 ISO C11.
12215
380d7e87 12216 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12217 code.
12218
03a71829
UD
12219 [BZ #13528]
12220 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12221
839e283e
UD
12222 [BZ #13529]
12223 * assert/assert.h (static_assert): Define.
12224
ce5294e2 12225 * version.h: Update for 2.16 development version.
90fa7312 12226
8d44e150 12227 [BZ #13526]
d7809905
UD
12228 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12229 _ISOC11_SOURCE.
12230
c0da14cd
UD
12231 * version.h (RELEASE): Bump for 2.15 release.
12232 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12233
530a3249
MP
12234 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12235 Patch by Marek Polacek <mpolacek@redhat.com>.
12236
67371b56
UD
12237 * bits/byteswap.h: Protect long long constants with __extension__.
12238 * sysdeps/i386/bits/byteswap.h: Likewise.
12239 * sysdeps/ia64/bits/byteswap.h: Likewise.
12240 * sysdeps/s390/bits/byteswap.h: Likewise.
12241 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12242
15db4de1
LD
122432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12244
12245 [BZ #13540]
bbe315ea
LD
12246 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12247 destination buffer.
15db4de1
LD
12248 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12249
2b2596b1
MP
122502011-12-23 Marek Polacek <polacek@redhat.com>
12251
12252 * elf/dl-addr.c (determine_info): Add inline keyword.
12253 * elf/tst-auditmod4b.c (check_avx): Likewise.
12254 * elf/tst-auditmod6b.c (check_avx): Likewise.
12255 * elf/tst-auditmod6c.c (check_avx): Likewise.
12256 * elf/tst-auditmod7b.c (check_avx): Likewise.
12257
70c6c246
UD
122582011-12-23 Ulrich Drepper <drepper@gmail.com>
12259
12260 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12261 !__SSE_MATH__.
12262
c044cf14
LD
122632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12264
15db4de1 12265 [BZ #13540]
c044cf14
LD
12266 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12267 processing for last bytes.
12268
6b13d9d9
BH
122692011-08-06 Bruno Haible <bruno@clisp.org>
12270
d455f537
BH
12271 [BZ #13061]
12272 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12273 U+0385, not to U+1FEE.
12274
6b13d9d9
BH
12275 [BZ #13062]
12276 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12277 entry for U+00A5 U+0301.
12278
db910efd
UD
122792011-12-22 Ulrich Drepper <drepper@gmail.com>
12280
27deeafc
UD
12281 [BZ #13166]
12282 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12283 buffer for the output is too small.
12284
aed9d171
UD
12285 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12286 optimization.
12287
db910efd
UD
12288 [BZ #13185]
12289 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12290 SSE flags if possible.
12291
2bd779ae
LD
122922011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12293
e7f9dac3 12294 [BZ #13540]
2bd779ae
LD
12295 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12296 processing for last bytes.
12297
154bfc16
JM
122982011-12-22 Joseph Myers <joseph@codesourcery.com>
12299
12300 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12301 (syscall-list-default-options, syscall-list-default-condition)
12302 (syscall-list-includes): Define.
12303 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12304 list of ABIs and options and #if conditions for each ABI. Do not
12305 handle common syscalls between ABIs specially.
12306 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12307 Remove.
12308 (syscall-list-variants, syscall-list-32bit-options)
12309 (syscall-list-32bit-condition, syscall-list-64bit-options)
12310 (syscall-list-64bit-condition): Define.
12311 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12312 (syscall-list-variants, syscall-list-32bit-options)
12313 (syscall-list-32bit-condition, syscall-list-64bit-options)
12314 (syscall-list-64bit-condition): Define.
12315 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12316 Remove.
12317 (syscall-list-variants, syscall-list-32bit-options)
12318 (syscall-list-32bit-condition, syscall-list-64bit-options)
12319 (syscall-list-64bit-condition): Define.
12320 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12321 Remove.
12322 (syscall-list-variants, syscall-list-32bit-options)
12323 (syscall-list-32bit-condition, syscall-list-64bit-options)
12324 (syscall-list-64bit-condition): Define.
12325
21eaf3a5
UD
123262011-12-22 Ulrich Drepper <drepper@gmail.com>
12327
16c6f992
UD
12328 * locale/iso-639.def: Add brx entry.
12329
41043168
UD
12330 [BZ #13328]
12331 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12332 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12333
21eaf3a5
UD
12334 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12335 __feraiseexcept_renamed.
12336
e3a851a2
UD
123372011-12-21 Ulrich Drepper <drepper@gmail.com>
12338
4920765e
UD
12339 [BZ #13538]
12340 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12341 EPOLLET with unsigned values.
12342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12343 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12344
e3a851a2
UD
12345 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12346 to large cancellation.
12347 * math/s_cacoshf.c: Likewise.
12348 * math/s_cacoshl.c: Likewise.
12349
b27e24b8
RK
123502011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12351
12352 [BZ #13305]
aebefeee 12353 [BZ #12786]
b27e24b8
RK
12354 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12355 * math/s_cacoshf.c: Likewise.
12356 * math/s_cacoshl.c: Likewise.
12357
ee190f67
UD
123582011-12-21 Ulrich Drepper <drepper@gmail.com>
12359
12360 [BZ #13439]
12361 * iconv/gconv.h: Define __GCONV_SWAP.
12362 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12363 * iconvdata/utf-16.c: Likewise.
12364 * iconvdata/utf-32.c: Likewise.
12365
707f25df
AS
123662011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12367
12368 [BZ #13524]
12369 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12370 numerator after shifting it by one limb.
12371
d2daaa1e
RÁE
123722011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12373
12374 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12375 under [__USE_EXTERN_INLINES].
12376
a4647e72
UD
123772011-12-17 Ulrich Drepper <drepper@gmail.com>
12378
12379 [BZ #13446]
12380 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12381
f0b264f1
AZ
123822011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12383
12384 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12385 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12386 optimized code.
12387 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12388 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12389 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12390 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12391 for strncasecmp/strncasecmp_l compilation.
12392 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12393 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12394
8ef4f244
MP
123952011-12-08 Marek Polacek <mpolacek@redhat.com>
12396
12397 [BZ #13484]
12398 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12399 of __asm__.
12400
97ac2654
UD
124012011-12-17 Ulrich Drepper <drepper@gmail.com>
12402
12403 [BZ #13506]
12404 * time/tzfile.c (__tzfile_read): Check values from file header.
12405
91d2a845
WS
124062011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12407
12408 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12409 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12410 * powerpc/powerpc32/dl-start.S: Likewise.
12411 * powerpc/powerpc32/elf/start.S: Likewise.
12412 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12413 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12414 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12415 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12416 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12417 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12418 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12419 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12420 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12421 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12422 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12423 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12424 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12425 * powerpc/powerpc32/memset.S: Likewise.
12426 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12427 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12428 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12429 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12430 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12431 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12432 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12433 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12434 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12435 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12436 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12437 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12438 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12439
a1267ba1
AZ
124402011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12441
12442 * math/libm-test.inc: Added more nearbyint tests.
12443 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12444 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12445 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12446 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12447
ad8ac1bd
RL
124482011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12449
12450 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12451 FD_CLOEXEC.
12452
1d3e4b61
UD
124532011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12454
12455 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12456 Add wcscpy-ssse3 wcscpy-c.
12457 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12458 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12459 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12460 * sysdeps/x86_64/wcschr.S: New file.
12461 * sysdeps/x86_64/wcsrchr.S: New file.
12462 * string/test-strcmp.c: Remove checking of wcscmp function for
12463 wrong alignments.
12464 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12465 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12466 wcsrchr-sse2 wcsrchr-c.
12467 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12468 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12469 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12470 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12471 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12472 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12473 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12474 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12475 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12476 * wcsmbc/wcschr.c (WCSCHR): New macro.
12477
5b330a2d
UD
124782011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12479
12480 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12481 * wcsmbs/test-wcsrchr.c: New file.
12482 * string/test-strrchr.c: Add wcsrchr support.
12483 (WIDE): New macro.
12484 * wcsmbs/test-wcscpy.c: New file.
12485 * string/test-strcpy.c: Add wcscpy support.
12486 (WIDE): New macro.
26428b7c 12487
f039c043
UD
124882011-12-10 Ulrich Drepper <drepper@gmail.com>
12489
12490 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12491 the inner loop.
12492
850fb039
AS
124932011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12494
12495 [BZ #13472]
12496 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12497
4efbd5cb
UD
124982011-12-04 Ulrich Drepper <drepper@gmail.com>
12499
52ff5dd0 12500 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12501 Minor optimizations.
52ff5dd0 12502
4efbd5cb
UD
12503 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12504 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12505 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12506
8a426e12
UD
125072011-12-03 Ulrich Drepper <drepper@gmail.com>
12508
aff2453d
UD
12509 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12510 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12511 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12512 for gcc to avoid warnings.
12513 * inet/Makefile (tests): Add tst-checks.
12514 * inet/tst-checks.c: New file.
12515
12516 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12517 warning.
12518
12519 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12520 __wmemcmp_sse2.
12521
12522 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12523 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12524
8a426e12
UD
12525 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12526
9bea3473
UD
125272011-12-02 Ulrich Drepper <drepper@gmail.com>
12528
3a965496
UD
12529 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12530 problem.
12531
9bea3473
UD
12532 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12533
f101631b
UD
125342011-11-29 Joseph Myers <joseph@codesourcery.com>
12535
12536 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12537 conditional on GCC version.
12538 (__arch_compare_and_exchange_val_8_acq)
12539 (__arch_compare_and_exchange_val_16_acq)
12540 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12541 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12542 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12543
a98275aa
UD
125442011-12-02 Joseph Myers <joseph@codesourcery.com>
12545
12546 * sysdeps/sh/backtrace.c: New file.
12547
d4cc29a2
AS
125482011-12-02 Andreas Schwab <schwab@redhat.com>
12549
12550 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12551 parenthesis.
12552
6257af2d
AS
125532011-12-01 Andreas Schwab <schwab@redhat.com>
12554
12555 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12556 falling back to utime.
12557
b5f44c1a
AS
125582011-11-30 Andreas Schwab <schwab@redhat.com>
12559
12560 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12561 expectations for float.
12562
f3a6cc0a
AS
125632011-11-29 Andreas Schwab <schwab@redhat.com>
12564
12565 * locale/weight.h (findidx): Add parameter len.
12566 * locale/weightwc.h (findidx): Likewise.
12567 * posix/fnmatch_loop.c (FCT): Adjust caller.
12568 * posix/regcomp.c (build_equiv_class): Likewise.
12569 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12570 * posix/regexec.c (check_node_accept_bytes): Likewise.
12571 * string/strcoll_l.c (STRCOLL): Likewise.
12572 * string/strxfrm_l.c (STRXFRM): Likewise.
12573
9d65ea3a
UD
125742011-11-17 Ulrich Drepper <drepper@gmail.com>
12575
12576 * Makefile.in: Remove CVSOPT handling.
12577 * configure.in: Remove use of AC_REVISION.
12578 * iconvdata/Makefile (distribute): No need to filter out CVS.
12579 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12580 handling.
12581
5583a086
AS
125822011-11-16 Andreas Schwab <schwab@redhat.com>
12583
12584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12585 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12586 [USE_AS_STRNCASECMP_L]: Likewise.
12587 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12588 NO_TLS_DIRECT_SEG_REFS.
12589 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12590 Fix argument offsets for non-PIC.
12591 [USE_AS_STRNCASECMP_L]: Likewise.
12592 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12593 NO_TLS_DIRECT_SEG_REFS.
12594
d62a8200
UD
125952011-11-15 Ulrich Drepper <drepper@gmail.com>
12596
9d65ea3a 12597 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12598 O_CLOEXEC.
12599 * locale/loadlocale.c (_nl_load_locale): Likewise.
12600
09f93bd3
AS
126012011-11-15 Andreas Schwab <schwab@redhat.com>
12602
446514f9
AS
12603 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12604 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12605 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12606 (SYSCALL_GETTIME): Set errno on error.
12607
09f93bd3
AS
12608 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12609 count references to noai6ai_cached.
12610
312be3f9
UD
126112011-11-15 Ulrich Drepper <drepper@gmail.com>
12612
12613 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12614
12615 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12616 FD_CLOEXEC for /proc/self/maps.
12617
12618 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12619 FD_CLOEXEC for /proc/meminfo.
12620
12621 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12622 gai.conf.
12623
12624 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12625 FD_CLOEXEC for given file.
12626
12627 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12628
12629 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12630 FD_CLOEXEC for /etc/hosts.
12631 (_gethtent): Likewise.
12632
12633 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12634
12635 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12636 cancellation and set FD_CLOEXEC for /etc/netgroup.
12637
12638 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12639 reading /etc/publickey.
12640
12641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12642 allow cancellation when reading /etc/group.
12643
12644 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12645 cancellation.
12646 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12647
12648 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12649 when using data file.
12650
12651 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12652
12653 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12654 (write_nis_obj): Use "c" and "e" in fopen.
12655
12656 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12657
12658 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12659
12660 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12661
12662 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12663
12664 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12665 locale.alias.
12666
12667 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12668
12669 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12670
12671 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12672
12673 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12674 file parsing and set FD_CLOEXEC.
12675
82af0fa8
UD
126762011-11-14 Ulrich Drepper <drepper@gmail.com>
12677
12678 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12679
a5fb313c
AS
126802011-11-14 Andreas Schwab <schwab@redhat.com>
12681
12682 * malloc/arena.c (arena_get2): Don't call reused_arena when
12683 _int_new_arena failed.
12684
6abf3465
UD
126852011-11-14 Ulrich Drepper <drepper@gmail.com>
12686
12687 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12688 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12689 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12690 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12693 to compile strcasecmp and strncasecmp.
12694 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12695 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12696
12697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12698
76e3966e
UD
126992011-11-13 Ulrich Drepper <drepper@gmail.com>
12700
12701 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12702 locale-defines.sym to gen-as-const-headers.
12703 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12704 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12706 to compile strcasecmp and strncasecmp.
12707 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12708 strcasecmp_l and strncasecmp_l.
12709 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12710 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12711 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12712 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12713 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12714 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12715 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12716 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12717 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12718 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12719 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12720
ab26144e
UD
127212011-11-12 Ulrich Drepper <drepper@gmail.com>
12722
7edb22ef
UD
12723 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12724 result of SYSDEP_GETTIME_CPU to retval.
12725 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12726 parameter list to macro. Remove trailing semicolon. Adjust users.
12727
9694fc44
UD
12728 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12729 variable.
12730
8ad89ef8
UD
12731 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12732 mantissa words.
12733 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12734
0c822ef9
UD
12735 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12736 from unused variable.
12737
874e0564
UD
12738 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12739 DWARF definitions.
12740 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12741 for assembling.
12742
3a2edc79
UD
12743 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12744 over namespaces.
12745
f3c2577f
UD
12746 * sunrpc/rpc_prot.c (rejected): Fix case value.
12747
294ce126
UD
12748 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12749 unsigned long long int to avoid warnings in shift.
12750
5e2b63c6
UD
12751 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12752 of use of trans.
12753 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12754 variable tmp.
12755
e7f4b08e
UD
12756 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12757 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12758 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12759
ab26144e
UD
12760 * nis/nis_table.c (nis_list): Use variable of correct type for
12761 result of __follow_path call.
12762
8a6d5255
AZ
127632011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12764
12765 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12766 of math functions ceil, trunc, floor, round, and sqrt, when
12767 avaliable on the platform.
12768 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12769 name clash.
12770 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12771 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12772 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12773
aaddc98c
MP
127742011-10-30 Marek Polacek <mpolacek@redhat.com>
12775
12776 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12777 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12778
95b7042b
RM
127792011-11-11 Roland McGrath <roland@hack.frob.com>
12780
12781 * include/unistd.h: Fix __readlink return type.
12782 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12783
57769839
UD
127842011-11-11 Ulrich Drepper <drepper@gmail.com>
12785
12786 * stdlib/ucontext.h: Undo last change for makecontext.
12787
edc5984d
AS
127882011-11-11 Andreas Schwab <schwab@redhat.com>
12789
98591e58
AS
12790 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12791
edc5984d
AS
12792 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12793 * setjmp/setjmp.h: Mark functions as non-leaf.
12794 * setjmp/bits/setjmp2.h: Likewise.
12795 * stdlib/ucontext.h: Likewise.
12796
77cdc054
AS
127972011-11-10 Andreas Schwab <schwab@redhat.com>
12798
12799 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12800 (reused_arena): Don't check arena limit.
12801 (arena_get2): Atomically check arena limit.
12802
fe72eebd
UD
128032011-11-08 Ulrich Drepper <drepper@gmail.com>
12804
5f078c32
UD
12805 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12806 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12807
fe72eebd
UD
12808 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12809 instructions.
12810
ae1bc2fa
AS
128112011-11-07 Andreas Schwab <schwab@redhat.com>
12812
7583a88d
AS
12813 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12814 handler when locking.
12815
ae1bc2fa
AS
12816 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12817 Fix size of allocated buffer.
12818
10fb0bfa
AS
128192011-11-04 Andreas Schwab <schwab@redhat.com>
12820
998832a4
AS
12821 [BZ #10103]
12822 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12823 declarations for long double functions.
12824 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12825
10fb0bfa
AS
12826 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12827
3d7ba52b
AS
128282011-11-03 Andreas Schwab <schwab@redhat.com>
12829
a9ae54a1
AS
12830 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12831 installed.
12832
3d7ba52b
AS
12833 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12834 is disabled.
12835
bc8db248
ST
128362011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12837
12838 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12839
45b96dd6
AS
128402011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12841
647776f6
AS
12842 * include/alloca.h (stackinfo_alloca_round): Define.
12843 (extend_alloca): Use it.
12844 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12845 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12846 here.
12847
d91a8b93
AS
12848 * scripts/check-local-headers.sh: Ignore libaudit.h.
12849
45b96dd6
AS
12850 * nscd/Makefile (extra-objs): Make recursively expanded.
12851
432d41ce
UD
128522011-11-01 Ulrich Drepper <drepper@gmail.com>
12853
34372fc6
UD
12854 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12855 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12856
fadb59f8
UD
12857 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12858 * posix/tst-rfc3484-2.c: Likewise.
12859 * posix/tst-rfc3484-3.c: Likewise.
12860
78239589
UD
12861 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12862 process_vm_writev.
12863 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12864 process_vm_writev.
12865 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12866 process_vm_writev from libc using GLIBC_2.15 version.
12867
432d41ce
UD
12868 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12869
02f9c6cf
PP
128702011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12871
12872 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12873 stack usage.
12874
3a2c0242
UD
128752011-10-31 Ulrich Drepper <drepper@gmail.com>
12876
f4ec4833
UD
12877 [BZ #13367]
12878 * nss/getent.c (initgroups_keys): Show error message in case no group
12879 names are given.
12880
3a2c0242
UD
12881 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12882 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12883 __bump_nl_timestamp.
12884 * nscd/connections (nscd_init): When host database is served open
12885 netlink socket and request notification about configuration changes.
12886 (main_loop_poll): Track netlink file descriptor and bump timestamp
12887 in case data becomes available.
12888 (main_loop_epoll): Likewise.
12889 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12890 (database_pers_head): Add extra_data fileds.
12891 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12892 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12893 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12894 Adjust caller.
12895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12896 in6ai data, call __free_in6ai.
12897 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12898 Add -DHAVE_NETLINK.
12899 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12900 interface information. Reuse previous data if netlink timestamp
12901 is not changed.
12902 (__bump_nl_timestamp): New function.
12903 (__free_in6ai): New function.
12904
636064eb
UD
129052011-10-30 Ulrich Drepper <drepper@gmail.com>
12906
12907 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12908 close_not_cancel_no_status here.
12909 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12910
9beb2334
UD
129112011-10-29 Ulrich Drepper <drepper@gmail.com>
12912
6ef76f3b
UD
12913 [BZ #13276]
12914 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12915 return value.
12916
0ffc4f3e 12917 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
12918 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12919 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12920
cb95113e
UD
129212011-07-03 Andreas Jaeger <aj@suse.de>
12922
12923 [BZ #10709]
12924 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12925 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12926 * math/libm-test.inc (sin_test): Add test case.
12927
a1b560ff
UD
129282011-10-29 Ulrich Drepper <drepper@gmail.com>
12929
c9aaface
UD
12930 [BZ #13337]
12931 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12932 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12933
d272e7f1
UD
12934 * elf/chroot_canon.c (chroot_canon): Cleanups.
12935
1bc33071
UD
12936 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12937
1760874d
TJ
12938 [BZ #13335]
12939 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12940 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12941
51d91b18
UD
12942 * string/test-strchr.c: Make usable for strchrnul testing.
12943 * string/test-strchrnul.c: New file.
12944 * string/Makefile (strop-tests): Add strchrnul.
12945
a1b560ff 12946 * po/it.po: Update from translation team.
b611fb81 12947 * po/es.po: Likewise.
a1b560ff 12948
a5b81e1f
UD
129492011-10-28 Ulrich Drepper <drepper@gmail.com>
12950
fd52bc6d
UD
12951 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12952 the three constants needed as parameters. Drop the others.
12953 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12954 __m128i_strloadu_tolower.
52e4b9eb
UD
12955 Create and initialize variable zero and use it in all the places
12956 where _mm_setzero_si128 was used.
fd52bc6d 12957
a5b81e1f
UD
12958 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12959 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12960 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12961 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12962 anymore.
12963 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12964 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12965 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12966 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12967 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12968 __mpranred, __mptan.
12969 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12970 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12971 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12972 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12973 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12974 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12976 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12977 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12978
b4343346
AS
129792011-10-28 Andreas Schwab <schwab@redhat.com>
12980
0c92d8a8
AS
12981 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12982 redefine if SHARED.
12983 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12984
b4343346
AS
12985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12986 wide char related routines to wcsmbs subdir.
12987
3871f58f
AS
129882011-10-27 Andreas Schwab <schwab@redhat.com>
12989
12990 [BZ #13344]
12991 * misc/sys/cdefs.h (__THROWNL): Define.
12992 * posix/unistd.h: Use __THREADNL instead of __THREAD
12993 for memory synchronization functions.
12994
94d44d9f
RM
129952011-10-26 Roland McGrath <roland@hack.frob.com>
12996
21b64b15 12997 [BZ #13349]
94d44d9f
RM
12998 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12999 doesn't exist.
13000 * manual/stdio.texi (Obstack Streams): Node removed.
13001
f6ce9294
AS
130022011-10-26 Andreas Schwab <schwab@redhat.com>
13003
80479147
AS
13004 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13005 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13006 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13007
f6ce9294
AS
13008 * math/math_private.h (math_force_eval): Allow non-addressable
13009 arguments.
13010 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13011
618280a1
UD
130122011-10-25 Ulrich Drepper <drepper@gmail.com>
13013
e0016b11
UD
13014 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13015 file is not needed.
13016
13017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13019 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13020 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13021 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13022 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13023 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13024 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13025 Add AVX variants.
13026 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13027 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13028 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13029 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13030 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13031 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13032 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13033 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13034 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13035 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13036 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13037 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13038 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13039 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13040 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13041 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13042 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13043 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13044 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13045
13046 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13047 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13048
618280a1
UD
13049 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13050 place. Use VEX encoding when compiling for AVX.
13051
37822576
AS
130522011-10-25 Andreas Schwab <schwab@redhat.com>
13053
1f1e1947
AS
13054 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13055 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13056
37822576
AS
13057 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13058
31ea014d
UD
130592011-10-25 Ulrich Drepper <drepper@gmail.com>
13060
d7826aa1 13061 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13062 useless if() expression.
d7826aa1
UD
13063 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13072 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13073 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13074 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13075 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13076 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13077 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13078 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13079 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13081 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13082
31ea014d
UD
13083 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13084
16437fec
AS
130852011-10-25 Andreas Schwab <schwab@redhat.com>
13086
13087 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13088 condition.
13089 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13090
31d3cc00
UD
130912011-10-25 Ulrich Drepper <drepper@gmail.com>
13092
13093 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13094 .text section. Avoid duplicate constants.
13095 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13105 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13107 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13110 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13112 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13118 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13119 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13120 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13121 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13122 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13123 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13124 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13125 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13126 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13127 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13128 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13129 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13130 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13131 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13132 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13133 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13134 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13135 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13136 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13137 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13138 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13139 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13140
58985aa9
UD
131412011-10-24 Ulrich Drepper <drepper@gmail.com>
13142
202c9deb
UD
13143 * sysdeps/x86_64/dla.h: Move to ...
13144 * sysdeps/x86_64/fpu/dla.h: ...here.
13145 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13146 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13147
af968f62
UD
13148 * config.make.in: Add have-mfma4 entry.
13149 * configure.in: Substitute libc_cv_cc_fma4.
13150 * math/Makefile (dbl-only-routines): Add sincostab.
13151 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13152 Use __sincostab not sincos.
13153 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13154 name is a macro.
13155 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13159 using __copysign.
13160 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13161 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13162 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13163 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13164 and __inv.
13165 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13166 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13167 __copysign.
13168 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13169 define aliases when function name is a macro.
13170 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13171 sysdeps/ieee754/dbl-64/sincos.tbl.
13172 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13173 fma4-enabled routines.
13174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13175 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13176 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13177 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13178 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13179 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13180 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13181 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13182 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13183 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13184 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13185 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13186 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13187 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13188 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13189 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13190 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13191 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13192 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13194 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13195 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13196 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13197 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13198 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13199 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13200 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13201 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13202 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13203 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13204
58985aa9
UD
13205 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13206 rename.
13207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13215
a201fbcf
AS
132162011-10-24 Andreas Schwab <schwab@redhat.com>
13217
13218 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13219
fc2ee42a
LD
132202011-10-23 Ulrich Drepper <drepper@gmail.com>
13221
bb3129bd
UD
13222 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13223
0275fff8
UD
13224 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13225 prediction.
13226 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13227
2fa2ae85
UD
13228 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13229 Remove unused variable magic_bits.
13230 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13231
fc2ee42a
LD
13232 * string/strnlen.c: Define and use STRNLEN macro.
13233 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13234 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13235 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13236 * wcsmbs/wcslen.c: Define and use WCSLEN.
13237 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13238 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13239 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13240 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13241 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13242 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13243 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13244
ce7dd29f
LD
132452011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13246
13247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13248 strnlen-sse2-no-bsf.
13249 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13251 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13252 Add strnlen support.
13253 (USE_AS_STRNLEN): New macro.
13254 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13255 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13256 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13257 * sysdeps/x86_64/wcslen.S: New file.
13258
979c70a3
MZ
132592011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13260
13261 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13262 XMM-moves are used for copying on small sizes.
13263
2d09f82f
LD
132642011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13265
13266 * wcsmbs/Makefile (strop-tests): Add wcschr.
13267 * wcsmbs/test-wcschr.c: New file.
13268 * string/test-strchr.c: Update.
13269 Add wcschr support.
13270 (WIDE): New macro.
13271
619fccca
LD
132722011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13273
2d09f82f 13274 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13275 * wcsmbs/test-wcslen.c: New file.
13276 * string/test-strlen.c: Update.
13277 Add wcslen support.
13278 (WIDE): New macro.
13279
09f699ea
UD
132802011-10-23 Ulrich Drepper <drepper@gmail.com>
13281
13282 * po/it.po: Update from translation team.
13283
95584d3b
LD
132842011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13285
13286 * sysdeps/x86_64/wcscmp.S: Update.
13287 Fix wrong comparison semantics.
13288 wcscmp shall use signed comparison not unsigned.
13289 Don't use substraction to avoid overflow bug.
13290 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13291 * wcsmbc/wcscmp.c: Likewise.
13292 * string/test-strcmp.c: Likewise.
13293 Add new tests to check cases with negative values.
13294
c8b3296b
UD
132952011-10-23 Ulrich Drepper <drepper@gmail.com>
13296
13297 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13298 * sysdeps/x86_64/dla.h: ...here. New file.
13299 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13308
246ad57a
AS
133092011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13310
13311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13312 __ynl_finite aliases.
13313
a1a87169
UD
133142011-10-22 Ulrich Drepper <drepper@gmail.com>
13315
0d355eb7
UD
13316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13317
a1a87169
UD
13318 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13319 define DLA_FMA.
13320 [DLA_FMA] (EMULV): Use DLA_FMA.
13321 [DLA_FMA] (MUL12): Use EMULV.
13322 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13323 that are not needed.
13324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13331
ee2aafe0
AS
133322011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13333
13334 * math/s_nan.c: Undef __nan.
13335 * math/s_nanf.c: Undef __nanf.
13336 * math/s_nanl.c: Undef __nanl.
13337 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13338 "math_private.h".
13339
bc62c2fb
UD
133402011-10-22 Ulrich Drepper <drepper@gmail.com>
13341
77425c63
UD
13342 * math/s_catan.c: Add branch predictions.
13343 * math/s_catanf.c: Likewise.
13344 * math/s_catanh.c: Likewise.
13345 * math/s_catanhf.c: Likewise.
13346 * math/s_catanhl.c: Likewise.
13347 * math/s_catanl.c: Likewise.
13348 * math/s_cexp.c: Likewise.
13349 * math/s_cexpf.c: Likewise.
13350 * math/s_cexpl.c: Likewise.
13351 * math/s_clog.c: Likewise.
13352 * math/s_clog10.c: Likewise.
13353 * math/s_clog10f.c: Likewise.
13354 * math/s_clog10l.c: Likewise.
13355 * math/s_clogf.c: Likewise.
13356 * math/s_clogl.c: Likewise.
13357 * math/s_csqrt.c: Likewise.
13358 * math/s_csqrtf.c: Likewise.
13359 * math/s_csqrtl.c: Likewise.
13360 * math/s_ctanf.c: Likewise.
13361 * math/s_ctanh.c: Likewise.
13362 * math/s_ctanhf.c: Likewise.
13363 * math/s_ctanhl.c: Likewise.
13364 * math/s_ctanl.c: Likewise.
13365
bc62c2fb
UD
13366 * math/math_private.h: Define __nan, __nanf, __nanl.
13367 * math/s_cacosh.c: Include <math_private.h>.
13368 * math/s_cacoshl.c: Likewise.
13369 * math/s_casinh.c: Likewise.
13370 * math/s_casinhf.c: Likewise.
13371 * math/s_casinhl.c: Likewise.
13372 * math/s_ccos.c: Rely entire on ccosh.
13373 * math/s_ccosf.c: Rely entire on ccoshf.
13374 * math/s_ccosl.c: Rely entirely on ccoshl.
13375 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13376 Remove tests for FE_INVALID.
13377 * math/s_ccoshf.c: Likewise.
13378 * math/s_ccoshl.c: Likewise.
13379 * math/s_csin.c: Likewise.
13380 * math/s_csinf.c: Likewise.
13381 * math/s_csinh.c Likewise.
13382 * math/s_csinhf.c: Likewise.
13383 * math/s_csinhl.c: Likewise.
13384 * math/s_csinl.c: Likewise.
13385 * math/s_ctan.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13387 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13388 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13389
8ec250a4
UD
133902011-10-21 Ulrich Drepper <drepper@gmail.com>
13391
c196fed8
UD
13392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13393 compilation problems.
13394
8ec250a4
UD
13395 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13396 __builtin_expect.
13397
8d4f46c6
UD
133982011-10-20 Ulrich Drepper <drepper@gmail.com>
13399
ed72b654
UD
13400 * sysdeps/i386/configure.in: Test for -mfma4 option.
13401 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13402 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13403 COMMON_CPUID_INDEX_80000001.
13404 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13405 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13406 use it if FMA3 is not supported.
13407 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13408
8d4f46c6
UD
13409 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13410 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13411
d45c60c2
AS
134122011-10-20 Andreas Schwab <schwab@redhat.com>
13413
13414 [BZ #12892]
13415 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13416 it would create a cycle with a link time dependency.
13417
d9a4d2ab
UD
134182011-10-19 Ulrich Drepper <drepper@gmail.com>
13419
855d1560
UD
13420 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13421 instruction.
13422 * string/Makefile (strop-tests): Add rawmemchr.
13423 * string/test-rawmemchr.c: New file.
13424
d9a4d2ab
UD
13425 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13426 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13427 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13428 when compiling str{,n}casecmp and when AVX is available. Hook up
13429 new optimized code in initializers.
13430
8f3b1ffe
AS
134312011-10-19 Andreas Schwab <schwab@redhat.com>
13432
13433 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13434 __feraiseexcept instead of feraiseexcept.
13435
d38f1dba
UD
134362011-10-18 Ulrich Drepper <drepper@gmail.com>
13437
d9a8d0ab
UD
13438 * math/math_private.h: Define defaults for libc_fetestexcept and
13439 libc_feupdateenv.
13440 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13441 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13442 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13443 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13444 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13445 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13446 libc_fetestexcept and libc_feupdateenv.
13447
4855e3dd
UD
13448 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13449 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13450 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13451 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13452 libc_feholdexcept_setround.
13453
581d30e3
UD
13454 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13455 Add s_nearbyint-c and s_nearbyintf-c.
13456 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13457 nearbyintf inlines.
13458 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13459 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13460 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13461 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13462
d38f1dba
UD
13463 * math/math_private.h: Define defaults for libc_fegetround,
13464 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13465 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13466 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13467 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13468 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13469 standard functions.
13470 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13471 Remove comments and hacks for old compiler versions.
13472 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13473 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13474 libc_feholdexceptl.
13475
caa6c9d8
AS
134762011-10-18 Andreas Schwab <schwab@redhat.com>
13477
13478 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13479 (__feraiseexcept_renamed): Add __NTH.
13480 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13481 namespace violations.
13482
97c066e6
UD
134832011-10-17 Ulrich Drepper <drepper@gmail.com>
13484
99ce7b04
UD
13485 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13486
1004d182
UD
13487 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13488
228a984d
UD
13489 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13490 recently added interfaces.
13491 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13492
c8553a6a
UD
13493 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13494 about macro parameter expansion.
13495
ed22dcf6
UD
13496 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13497 __NO_MATH_INLINES is defined. Cleanups.
13498
13499 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13500 and __floorf is target has SSE4.1.
13501 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13502 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13503 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13504 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13505
b171c137
UD
13506 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13507 name.
13508 (floorf): Likewise.
13509
97c066e6
UD
13510 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13511
629f62ef
AS
135122011-10-17 Andreas Schwab <schwab@redhat.com>
13513
49a43d80
AS
13514 * misc/sys/cdefs.h: Fix last change.
13515
629f62ef
AS
13516 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13517 database lookup.
13518
e453f6cd
UD
135192011-10-16 Ulrich Drepper <drepper@gmail.com>
13520
aa78043a
UD
13521 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13522
ad0f5cad
UD
13523 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13524 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13529 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13530 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13531 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13532 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13533 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13534 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13535 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13536 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13537 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13538 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13539 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13540 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13541 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13542 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13543 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13544 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13545
13546 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13547 ceil, ceilf, floor, floorf.
13548
13549 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13550 Perform IRELATIVE relocations last.
13551
e453f6cd
UD
13552 * elf/do-rel.h: Add another parameter nrelative, replacing the
13553 local variable with the same name. Change name of the function
13554 to end in Rel or Rela (uppercase).
13555 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13556 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13557 elf_dynamic_do_##reloc function.
13558
fd5bdc09
UD
135592011-10-15 Ulrich Drepper <drepper@gmail.com>
13560
79b195b5
UD
13561 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13562 is sufficient, at least on modern CPUs.
13563
d4a28569
UD
13564 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13565
b61099b5
UD
13566 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13567 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13568
bcf01e6d
UD
13569 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13570 __expl_finite.
13571 * math/bits/math-finite.h: Add entries for exp.
13572 * math/e_expl.c: Add __*_finite alias.
13573 * sysdeps/i386/fpu/e_exp.S: Likewise.
13574 * sysdeps/i386/fpu/e_expf.S: Likewise.
13575 * sysdeps/i386/fpu/e_expl.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13577 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13581 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13582 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13583
ba1a0d59
UD
13584 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13585 is sufficient, at least on modern CPUs.
13586
fd5bdc09
UD
13587 * ctype/ctype-info.c (__ctype_init): Define.
13588 * include/ctype.h (__ctype_init): Declare.
13589 (__ctype_b_loc): The variable is always initialized.
13590 (__ctype_toupper_loc): Likewise.
13591 (__ctype_tolower_loc): Likewise.
13592 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13593 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13594
7872cfb0
AS
135952011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13596
b468825a
AS
13597 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13598
7872cfb0
AS
13599 * configure.in: Also look in $cxxmachine/include for C++ system
13600 headers.
13601
be13f7bf
LD
136022011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13603
13604 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13605 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13606 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13607 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13608 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13609 (USE_AS_WMEMCMP): New macro.
13610 Fixing indents.
13611 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13612 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13613 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13614 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13616 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13617 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13618 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13619 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13620 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13621 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13622 (USE_AS_WMEMCMP): New macro.
13623 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13624 * sysdeps/string/test-memcmp.c: Update.
13625 Fix simple_wmemcmp.
13626 Add new tests.
13627 * wcsmbs/wmemcmp.c: Update.
13628 (WMEMCMP): New macro.
13629 Fix overflow bug.
13630
556a2007
AJ
136312011-10-12 Andreas Jaeger <aj@suse.de>
13632
13633 [BZ #13268]
13634 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13635
538faaa7
UD
136362011-10-15 Ulrich Drepper <drepper@gmail.com>
13637
ab6737ff
UD
13638 * libio/iofwide.c (do_length): Avoid warning.
13639
538faaa7
UD
13640 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13641
396a21b1
UD
136422011-10-14 Ulrich Drepper <drepper@gmail.com>
13643
cdf2901f
UD
13644 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13645
38ad40ce
UD
13646 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13647 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13648 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13649 * sysdeps/i386/i686/fpu/e_log.S: New file.
13650 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13651 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13652
396a21b1
UD
13653 * ctype/ctype.h: Add support for inlined isXXX functions when
13654 compiling C++ code.
13655
6b1f68c9
AS
136562011-10-14 Andreas Schwab <schwab@redhat.com>
13657
349290c0
AS
13658 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13659
6b1f68c9
AS
13660 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13661
f2282d42
RM
136622011-10-13 Roland McGrath <roland@hack.frob.com>
13663
13664 [BZ #13291]
13665 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13666
5298ffa8
AS
136672011-10-13 Andreas Schwab <schwab@redhat.com>
13668
714fad23
AS
13669 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13670 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13671 feraiseexcept.
13672
81dcc7fb
AS
13673 * sysdeps/x86_64/memrchr.S: Check for zero size.
13674
5298ffa8
AS
13675 * string/stratcliff.c: Add memrchr tests.
13676
951fbcec
LD
136772011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13678
13679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13680 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13681 rawmemchr-sse2 rawmemchr-sse2-bsf.
13682 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13683 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13684 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13685 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13686 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13687 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13688 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13689 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13690 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13691 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13692 * string/memrchr.c (MEMRCHR): New macro.
13693
0ac5ae23
UD
136942011-10-12 Ulrich Drepper <drepper@gmail.com>
13695
13696 Add integration with gcc's -ffinite-math-only and optimize wrapper
13697 functions in libm.
13698 * Versions.def: Define GLIBC_2.15 version for libm.
13699 * math/Makefile (headers): Add bits/math-finite.h.
13700 * math/bits/math-finite.h: New file.
13701 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13702 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13703 * math/e_acoshl.c: Add __*_finite alias.
13704 * math/e_acosl.c: Likewise.
13705 * math/e_asinl.c: Likewise.
13706 * math/e_atan2l.c: Likewise.
13707 * math/e_atanhl.c: Likewise.
13708 * math/e_coshl.c: Likewise.
13709 * math/e_exp10.c: Likewise.
13710 * math/e_exp10f.c: Likewise.
13711 * math/e_exp10l.c: Likewise.
13712 * math/e_exp2l.c: Likewise.
13713 * math/e_fmodl.c: Likewise.
13714 * math/e_gammal_r.c: Likewise.
13715 * math/e_hypotl.c: Likewise.
13716 * math/e_j0l.c: Likewise.
13717 * math/e_j1l.c: Likewise.
13718 * math/e_jnl.c: Likewise.
13719 * math/e_lgammal_r.c: Likewise.
13720 * math/e_log10l.c: Likewise.
13721 * math/e_log2l.c: Likewise.
13722 * math/e_logl.c: Likewise.
13723 * math/e_powl.c: Likewise.
13724 * math/e_sinhl.c: Likewise.
13725 * math/e_sqrtl.c: Likewise.
13726 * math/e_scalb.c: Completely rewritten and optimized.
13727 * math/e_scalbf.c: Likewise.
13728 * math/e_scalbl.c: Likewise.
13729 * math/w_acos.c: Likewise.
13730 * math/w_acosf.c: Likewise.
13731 * math/w_acosl.c: Likewise.
13732 * math/w_acosh.c: Likewise.
13733 * math/w_acoshf.c: Likewise.
13734 * math/w_acoshl.c: Likewise.
13735 * math/w_asin.c: Likewise.
13736 * math/w_asinf.c: Likewise.
13737 * math/w_asinl.c: Likewise.
13738 * math/w_atan2.c: Likewise.
13739 * math/w_atan2f.c: Likewise.
13740 * math/w_atan2l.c: Likewise.
13741 * math/w_atanh.c: Likewise.
13742 * math/w_atanhf.c: Likewise.
13743 * math/w_atanhl.c: Likewise.
13744 * math/w_exp10.c: Likewise.
13745 * math/w_exp10f.c: Likewise.
13746 * math/w_exp10l.c: Likewise.
13747 * math/w_fmod.c: Likewise.
13748 * math/w_fmodf.c: Likewise.
13749 * math/w_fmodl.c: Likewise.
13750 * math/w_j0.c: Likewise.
13751 * math/w_j0f.c: Likewise.
13752 * math/w_j0l.c: Likewise.
13753 * math/w_j1.c: Likewise.
13754 * math/w_j1f.c: Likewise.
13755 * math/w_j1l.c: Likewise.
13756 * math/w_jn.c: Likewise.
13757 * math/w_jnf.c: Likewise.
13758 * math/w_log.c: Likewise.
13759 * math/w_logf.c: Likewise.
13760 * math/w_logl.c: Likewise.
13761 * math/w_log10.c: Likewise.
13762 * math/w_log10f.c: Likewise.
13763 * math/w_log10l.c: Likewise.
13764 * math/w_log2.c: Likewise.
13765 * math/w_log2f.c: Likewise.
13766 * math/w_log2l.c: Likewise.
13767 * math/w_pow.c: Likewise.
13768 * math/w_powf.c: Likewise.
13769 * math/w_powl.c: Likewise.
13770 * math/w_remainder.c: Likewise.
13771 * math/w_remainderf.c: Likewise.
13772 * math/w_remainderl.c: Likewise.
13773 * math/w_scalb.c: Likewise.
13774 * math/w_scalbf.c: Likewise.
13775 * math/w_scalbl.c: Likewise.
13776 * math/w_sqrt.c: Likewise.
13777 * math/w_sqrtf.c: Likewise.
13778 * math/w_sqrtl.c: Likewise.
13779 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13780 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13781 used.
13782 * math/math_private.h: Declare __kernel_standard_f.
13783 * math/w_cosh.c: Remove cruft and optimize a bit.
13784 * math/w_coshf.c: Likewise.
13785 * math/w_coshl.c: Likewise.
13786 * math/w_exp2.c: Likewise.
13787 * math/w_exp2f.c: Likewise.
13788 * math/w_exp2l.c: Likewise.
13789 * math/w_hypot.c: Likewise.
13790 * math/w_hypotf.c: Likewise.
13791 * math/w_hypotl.c: Likewise.
13792 * math/w_lgamma.c: Likewise.
13793 * math/w_lgamma_r.c: Likewise.
13794 * math/w_lgammaf.c: Likewise.
13795 * math/w_lgammaf_r.c: Likewise.
13796 * math/w_lgammal.c: Likewise.
13797 * math/w_lgammal_r.c: Likewise.
13798 * math/w_sinh.c: Likewise.
13799 * math/w_sinhf.c: Likewise.
13800 * math/w_sinhl.c: Likewise.
13801 * math/w_tgamma.c: Likewise.
13802 * math/w_tgammaf.c: Likewise.
13803 * math/w_tgammal.c: Likewise.
13804 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13805 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13806 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13807 Minor optimizations. Pretty printing. Remove cruft.
13808 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13809 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13810 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13811 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13812 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13813 * sysdeps/i386/fpu/e_asin.S: Likewise.
13814 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13815 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13816 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13817 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13818 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13819 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13820 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13821 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13822 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13823 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13824 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13825 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13826 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13827 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13828 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13829 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13830 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13831 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13832 * sysdeps/i386/fpu/e_log.S: Likewise.
13833 * sysdeps/i386/fpu/e_log10.S: Likewise.
13834 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13835 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13836 * sysdeps/i386/fpu/e_log2.S: Likewise.
13837 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13838 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13839 * sysdeps/i386/fpu/e_logf.S: Likewise.
13840 * sysdeps/i386/fpu/e_logl.S: Likewise.
13841 * sysdeps/i386/fpu/e_pow.S: Likewise.
13842 * sysdeps/i386/fpu/e_powf.S: Likewise.
13843 * sysdeps/i386/fpu/e_powl.S: Likewise.
13844 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13845 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13846 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13847 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13848 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13849 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13850 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13851 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13852 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13874 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13875 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13876 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13877 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13878 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13879 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13880 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13881 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13882 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13883 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13884 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13885 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13886 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13887 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13888 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13889 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13890 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13891 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13892 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13893 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13894 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13925 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13933 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13936 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13938 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13939 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13944 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13945 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13946 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13947 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13948 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13949 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13950 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13951 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13952 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13953 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13954 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13955 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13956 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13957 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13958 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13959 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13960 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13961 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13962 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13963 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13964 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13965 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13966 (__isnanf): Likewise.
13967 (__isinf_ns): Likewise.
13968 (__isinf_nsf): Likewise.
13969 (__finite): Likewise.
13970 (__finitef): Likewise.
13971 (__ieee754_sqrt): Define as macro.
13972 (__ieee754_sqrtf): Define as macro.
13973 (__ieee754_sqrtl): Define as macro.
13974 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13975 inlined copy.
13976 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13977 __FINITE_MATH_ONLY__ consistent.
13978 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13979
12cc2fcd
AS
139802011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13981
a843a204
AS
13982 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13983 of rawmemchr.
13984
12cc2fcd
AS
13985 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13986
c853acd5
UD
139872011-10-09 Ulrich Drepper <drepper@gmail.com>
13988
13989 * po/ja.po: Update from translation team.
13990
c658d255
RM
139912011-10-08 Roland McGrath <roland@hack.frob.com>
13992
110946e4
RM
13993 * locale/programs/locarchive.c (prepare_address_space): New function.
13994 (create_archive, enlarge_archive, open_archive): Use it.
13995
50604220
RM
13996 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13997 inside [SHARED], where it is used.
13998
c658d255
RM
13999 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14000
14001 * nss/getent.c (netgroup_keys): Remove unused variable.
14002 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14003
6a621eb7
UD
140042011-10-08 Ulrich Drepper <drepper@gmail.com>
14005
7edb55ce
UD
14006 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14007 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14009 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14010 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14011 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14012 * math/Makefile (libm-calls): Add s_isinf_ns.
14013 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14014 * math/multc3.c: Likewise.
14015 * math/s_casin.c: Likewise.
14016 * math/s_casinf.c: Likewise.
14017 * math/s_casinl.c: Likewise.
14018 * math/s_ccos.c: Likewise.
14019 * math/s_ccosf.c: Likewise.
14020 * math/s_ccosl.c: Likewise.
14021 * math/s_ctan.c: Likewise.
14022 * math/s_ctanf.c: Likewise.
14023 * math/s_ctanh.c: Likewise.
14024 * math/s_ctanhf.c: Likewise.
14025 * math/s_ctanhl.c: Likewise.
14026 * math/s_ctanl.c: Likewise.
14027 * math/w_fmod.c: Likewise.
14028 * math/w_fmodf.c: Likewise.
14029 * math/w_fmodl.c: Likewise.
14030 * math/w_remainder.c: Likewise.
14031 * math/w_remainderf.c: Likewise.
14032 * math/w_remainderl.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14034 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14035 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14037 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14038 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14039 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14040 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14041
187da0ae
UD
14042 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14043 of the number.
14044 * stdio-common/printf_fphex.c: Likewise.
14045 * stdio-common/printf_size.c: Likewise.
14046
9277c064
UD
14047 * math/e_exp10.c: Include math_private.h using <...> not "...".
14048 * math/e_exp10f.c: Likewise.
14049 * math/e_exp10l.c: Likewise.
14050 * math/e_exp2l.c: Likewise.
14051 * math/e_j0l.c: Likewise.
14052 * math/e_j1l.c: Likewise.
14053 * math/e_jnl.c: Likewise.
14054 * math/e_lgammal_r.c: Likewise.
14055 * math/e_rem_pio2l.c: Likewise.
14056 * math/e_scalb.c: Likewise.
14057 * math/e_scalbf.c: Likewise.
14058 * math/e_scalbl.c: Likewise.
14059 * math/k_cosl.c: Likewise.
14060 * math/k_sinl.c: Likewise.
14061 * math/k_tanl.c: Likewise.
14062 * math/s_cacoshf.c: Likewise.
14063 * math/s_catan.c: Likewise.
14064 * math/s_catanf.c: Likewise.
14065 * math/s_catanh.c: Likewise.
14066 * math/s_catanhf.c: Likewise.
14067 * math/s_catanhl.c: Likewise.
14068 * math/s_catanl.c: Likewise.
14069 * math/s_ccosh.c: Likewise.
14070 * math/s_ccoshf.c: Likewise.
14071 * math/s_ccoshl.c: Likewise.
14072 * math/s_cexp.c: Likewise.
14073 * math/s_cexpf.c: Likewise.
14074 * math/s_cexpl.c: Likewise.
14075 * math/s_clog.c: Likewise.
14076 * math/s_clog10.c: Likewise.
14077 * math/s_clog10f.c: Likewise.
14078 * math/s_clog10l.c: Likewise.
14079 * math/s_clogf.c: Likewise.
14080 * math/s_clogl.c: Likewise.
14081 * math/s_csin.c: Likewise.
14082 * math/s_csinf.c: Likewise.
14083 * math/s_csinh.c: Likewise.
14084 * math/s_csinhf.c: Likewise.
14085 * math/s_csinhl.c: Likewise.
14086 * math/s_csinl.c: Likewise.
14087 * math/s_csqrt.c: Likewise.
14088 * math/s_csqrtf.c: Likewise.
14089 * math/s_csqrtl.c: Likewise.
14090 * math/s_ctan.c: Likewise.
14091 * math/s_ctanf.c: Likewise.
14092 * math/s_ctanh.c: Likewise.
14093 * math/s_ctanhf.c: Likewise.
14094 * math/s_ctanhl.c: Likewise.
14095 * math/s_ctanl.c: Likewise.
14096 * math/s_ldexp.c: Likewise.
14097 * math/s_ldexpf.c: Likewise.
14098 * math/s_ldexpl.c: Likewise.
14099 * math/s_significand.c: Likewise.
14100 * math/s_significandf.c: Likewise.
14101 * math/s_significandl.c: Likewise.
14102 * math/w_acos.c: Likewise.
14103 * math/w_acosf.c: Likewise.
14104 * math/w_acosh.c: Likewise.
14105 * math/w_acoshf.c: Likewise.
14106 * math/w_acoshl.c: Likewise.
14107 * math/w_acosl.c: Likewise.
14108 * math/w_asin.c: Likewise.
14109 * math/w_asinf.c: Likewise.
14110 * math/w_asinl.c: Likewise.
14111 * math/w_atan2.c: Likewise.
14112 * math/w_atan2f.c: Likewise.
14113 * math/w_atan2l.c: Likewise.
14114 * math/w_atanh.c: Likewise.
14115 * math/w_atanhf.c: Likewise.
14116 * math/w_atanhl.c: Likewise.
14117 * math/w_cosh.c: Likewise.
14118 * math/w_coshf.c: Likewise.
14119 * math/w_coshl.c: Likewise.
14120 * math/w_dremf.c: Likewise.
14121 * math/w_exp10.c: Likewise.
14122 * math/w_exp10f.c: Likewise.
14123 * math/w_exp10l.c: Likewise.
14124 * math/w_exp2.c: Likewise.
14125 * math/w_exp2f.c: Likewise.
14126 * math/w_fmod.c: Likewise.
14127 * math/w_fmodf.c: Likewise.
14128 * math/w_fmodl.c: Likewise.
14129 * math/w_hypot.c: Likewise.
14130 * math/w_hypotf.c: Likewise.
14131 * math/w_hypotl.c: Likewise.
14132 * math/w_j0.c: Likewise.
14133 * math/w_j0f.c: Likewise.
14134 * math/w_j0l.c: Likewise.
14135 * math/w_j1.c: Likewise.
14136 * math/w_j1f.c: Likewise.
14137 * math/w_j1l.c: Likewise.
14138 * math/w_jn.c: Likewise.
14139 * math/w_jnf.c: Likewise.
14140 * math/w_jnl.c: Likewise.
14141 * math/w_lgamma.c: Likewise.
14142 * math/w_lgamma_r.c: Likewise.
14143 * math/w_lgammaf.c: Likewise.
14144 * math/w_lgammaf_r.c: Likewise.
14145 * math/w_lgammal.c: Likewise.
14146 * math/w_lgammal_r.c: Likewise.
14147 * math/w_log.c: Likewise.
14148 * math/w_log10.c: Likewise.
14149 * math/w_log10f.c: Likewise.
14150 * math/w_log10l.c: Likewise.
14151 * math/w_log2.c: Likewise.
14152 * math/w_log2f.c: Likewise.
14153 * math/w_log2l.c: Likewise.
14154 * math/w_logf.c: Likewise.
14155 * math/w_logl.c: Likewise.
14156 * math/w_pow.c: Likewise.
14157 * math/w_powf.c: Likewise.
14158 * math/w_powl.c: Likewise.
14159 * math/w_remainder.c: Likewise.
14160 * math/w_remainderf.c: Likewise.
14161 * math/w_remainderl.c: Likewise.
14162 * math/w_scalb.c: Likewise.
14163 * math/w_scalbf.c: Likewise.
14164 * math/w_scalbl.c: Likewise.
14165 * math/w_sinh.c: Likewise.
14166 * math/w_sinhf.c: Likewise.
14167 * math/w_sinhl.c: Likewise.
14168 * math/w_sqrt.c: Likewise.
14169 * math/w_sqrtf.c: Likewise.
14170 * math/w_sqrtl.c: Likewise.
14171 * math/w_tgamma.c: Likewise.
14172 * math/w_tgammaf.c: Likewise.
14173 * math/w_tgammal.c: Likewise.
14174
6a621eb7
UD
14175 * po/ja.po: Update from translation team.
14176
bf582445
AJ
141772011-09-29 Andreas Jaeger <aj@suse.de>
14178
f9efbf3a
AJ
14179 [BZ #13179]
14180 * sunrpc/netname.c (netname2host): Fix logic.
14181
bf582445
AJ
14182 [BZ #6779]
14183 [BZ #6783]
14184 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14185 correctly.
14186 * math/w_remainder.c (__remainder): Likewise.
14187 * math/w_remainderf.c (__remainderf): Likewise.
14188 * math/libm-test.inc (remainder_test): Add test cases.
14189
48693bea
AK
141902011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14191
14192 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14193 sdiv_qrnnd.
14194
42622229
LD
141952011-10-07 Ulrich Drepper <drepper@gmail.com>
14196
14197 * string/test-memcmp.c: Avoid unncessary #defines.
14198 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14199
093ecf92
LD
142002011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14201
14202 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14203 Use new sse2 version for core i3 - i7 as it's faster
14204 than sse42 version.
14205 (bit_Prefer_PMINUB_for_stringop): New.
14206 * sysdeps/x86_64/rawmemchr.S: Update.
14207 Replace with faster SSE2 version.
14208 * sysdeps/x86_64/memrchr.S: New file.
14209 * sysdeps/x86_64/memchr.S: Update.
14210 Replace with faster SSE2 version.
14211
fde56e5c
MP
142122011-09-12 Marek Polacek <mpolacek@redhat.com>
14213
14214 * elf/dl-load.c (lose): Add cast to avoid warning.
14215
21fd49a9
UD
142162011-10-07 Ulrich Drepper <drepper@gmail.com>
14217
5a06e643
UD
14218 * po/ca.po: Update from translation team.
14219
684ae515
UD
14220 * inet/getnetgrent_r.c: Hook up nscd.
14221 * nscd/Makefile (routines): Add nscd_netgroup.
14222 (nscd-modules): Add netgroupcache.
14223 (CFLAGS-netgroupcache.c): Define.
14224 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14225 (cache_search): Add const to second parameter.
14226 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14227 INNETGR.
14228 (dbs): Add netgrdb entry.
14229 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14230 (verify_persistent_db): Handle netgrdb.
14231 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14232 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14233 GETFDNETGR.
14234 (netgroup_response_header): Define.
14235 (innetgroup_response_header): Define.
14236 (datahead): Add netgroup_response_header and innetgroup_response_header
14237 elements.
14238 * nscd/nscd.conf: Add entries for netgroup cache.
14239 * nscd/nscd.h (dbtype): Add netgrdb.
14240 (_PATH_NSCD_NETGROUP_DB): Define.
14241 (netgroup_iov_disabled): Declare.
14242 (xmalloc, xcalloc, xrealloc): Move declarations here.
14243 (cache_search): Adjust prototype.
14244 Add netgroup-related prototypes.
14245 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14246 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14247 (__nscd_innetgr): Declare.
14248 * nscd/selinux.c (perms): Use access_vector_t as element type and
14249 add netgroup-related initializers.
14250 * nscd/netgroupcache.c: New file.
14251 * nscd/nscd_netgroup.c: New file.
14252 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14253 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14254 For four parameters use innetgr.
14255 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14256 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14257 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14258 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14259
21fd49a9
UD
14260 * nscd/connections.c (register_traced_file): Don't register file
14261 for disabled databases.
14262
054c0457
UD
142632011-10-06 Ulrich Drepper <drepper@gmail.com>
14264
32b63198
UD
14265 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14266
054c0457
UD
14267 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14268 from tree and freeing node.
14269
64031225
JO
142702011-09-25 Jiri Olsa <jolsa@redhat.com>
14271
14272 * nss/nsswitch.c (__nss_database_lookup): Handle
14273 nss_parse_service_list out of memory case.
14274
0490345c
JO
142752011-09-15 Jiri Olsa <jolsa@redhat.com>
14276
14277 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14278 out of memory case.
14279
3a62d00d
AS
142802011-10-04 Andreas Schwab <schwab@redhat.com>
14281
14282 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14283 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14284 pass it down.
14285 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14286 elf_machine_rela, elf_machine_lazy_rel.
14287 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14288 (ELF_DYNAMIC_DO_REL): Likewise.
14289 (ELF_DYNAMIC_DO_RELA): Likewise.
14290 (ELF_DYNAMIC_RELOCATE): Likewise.
14291 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14292 to ELF_DYNAMIC_DO_REL.
14293 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14294 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14295 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14296 elf_machine_rela.
14297 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14298 skip_ifunc, don't call ifunc function if non-zero.
14299 (elf_machine_rela): Likewise.
14300 (elf_machine_lazy_rel): Likewise.
14301 (elf_machine_lazy_rela): Likewise.
14302 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14303 (elf_machine_lazy_rel): Likewise.
14304 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14305 Likewise.
14306 (elf_machine_lazy_rel): Likewise.
14307 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14308 Likewise.
14309 (elf_machine_lazy_rel): Likewise.
14310 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14311 (elf_machine_lazy_rel): Likewise.
14312 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14313 (elf_machine_lazy_rel): Likewise.
14314 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14315 (elf_machine_lazy_rel): Likewise.
14316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14317 (elf_machine_lazy_rel): Likewise.
14318 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14319 (elf_machine_lazy_rel): Likewise.
14320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14321 (elf_machine_lazy_rel): Likewise.
14322
68577918
UD
143232011-09-28 Ulrich Drepper <drepper@gmail.com>
14324
14325 * nss/nss_files/files-init.c (_nss_files_init): Use static
14326 initialization for all the *_traced_file variables.
14327
68822d74
AS
143282011-09-28 Andreas Schwab <schwab@redhat.com>
14329
14330 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14331
2056100b
RM
143322011-09-27 Roland McGrath <roland@hack.frob.com>
14333
14334 [BZ #13226]
14335 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14336
32c76b63
AS
143372011-09-27 Andreas Schwab <schwab@redhat.com>
14338
14339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14340 Reread the line before reparsing it.
14341
bf972c9d
AS
143422011-09-26 Andreas Schwab <schwab@redhat.com>
14343
14344 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14345
e057a1b5
JM
143462011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14347 Maxim Kuvyrkov <maxim@codesourcery.com>
14348 Joseph Myers <joseph@codesourcery.com>
14349
14350 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14351 if needed for __stack_chk_guard.
14352
bc7e1c36
RM
143532011-09-19 Roland McGrath <roland@hack.frob.com>
14354
ecb1482f
RM
14355 * sysdeps/posix/spawni.c (script_execute): Always define it.
14356 It will be optimized away if unused.
14357 (maybe_script_execute): New function.
14358 (__spawni): Call it.
14359
bc7e1c36
RM
14360 * Makerules: Don't include tls.make.
14361 (config-tls): Always set to thread.
14362 * tls.make.c: File removed.
14363
1c3b002b
MF
143642011-09-19 Mike Frysinger <vapier@gentoo.org>
14365
14366 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14367 * config.make.in (CPPFLAGS-config): New substituted variable.
14368
2840865d
UD
143692011-09-15 Ulrich Drepper <drepper@gmail.com>
14370
88738eb6
UD
14371 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14372
cbf645a6 14373 [BZ #13192]
2840865d
UD
14374 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14375 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14376
b402e91a
RM
143772011-09-15 Roland McGrath <roland@hack.frob.com>
14378
14379 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14380 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14382 (CALL_FAIL): Likewise.
14383 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14384 (CALL_FAIL): Macro removed.
14385 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14386
4c1a1f71
UD
143872011-09-15 Ulrich Drepper <drepper@gmail.com>
14388
14389 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14390 for __FINITE_MATH_ONLY__ == 1.
14391
edc121be
AS
143922011-09-15 Andreas Schwab <schwab@redhat.com>
14393
14394 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14395 __ieee754_sqrt instead of sqrt.
14396 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14397 __ieee754_sqrtf instead of sqrtf.
14398 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14399 __floorf instead of floorf.
14400 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14401 __floorf, __truncf instead of floorf, truncf.
14402
cd205654
UD
144032011-09-14 Ulrich Drepper <drepper@gmail.com>
14404
ee4d0315
UD
14405 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14406
cd205654
UD
14407 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14408 __extern_always_inline.
14409 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14410 32-bit.
14411
48b67d71
AS
144122011-09-14 Andreas Schwab <schwab@redhat.com>
14413
14414 * elf/rtld.c (dl_main): Also relocate in dependency order when
14415 doing symbol dependency testing.
14416
1ae12c75
AS
144172011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14418
14419 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14420 Always define `refsym'.
14421
995a80df
AS
144222011-09-13 Andreas Schwab <schwab@redhat.com>
14423
e529793b
AS
14424 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14425 (__FD_ELT): Renamed from __FDELT.
14426 * misc/bits/select2.h (__FD_ELT): Likewise.
14427 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14428 __FD_MASK instead of __FDELT, __FDMASK.
14429 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14430 Likewise.
14431 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14432 Likewise.
14433
52d4fef8
AS
14434 * elf/Makefile (gen-ldd): Fix pattern.
14435
995a80df
AS
14436 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14437 (init_tls): Likewise.
14438
8682f8b0
UD
144392011-09-12 Ulrich Drepper <drepper@gmail.com>
14440
14441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14442
de82006d
AS
144432011-09-12 Andreas Schwab <schwab@redhat.com>
14444
a7c8e6a1
AS
14445 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14446 `struct cmsghdr *' instead of `void *'.
14447 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14448 Likewise.
14449
0f31fe77
AS
144502011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14451
14452 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14453 if non-absolute.
14454 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14455 ldd_rewrite_script.
0f31fe77 14456
32b4c839
UD
144572011-09-11 Ulrich Drepper <drepper@gmail.com>
14458
83cd1420
UD
14459 * configure.in: Remove --with-tls option.
14460 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14461 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14462 out in case it is missing.
14463 * sysdeps/ia64/elf/configure.in: Likewise.
14464 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14465 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14466 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14467 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14468 * sysdeps/sh/elf/configure.in: Likewise.
14469 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14470 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14471 * sysdeps/x86_64/elf/configure.in: Likewise.
14472 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14473 * sysdeps/mach/hurd/tls.h: Likewise.
14474
633f745d
UD
14475 [BZ #13067]
14476 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14477
f318beb8
UD
14478 [BZ #13090]
14479 * configure.in: Fix use of AC_INIT.
14480
32b4c839
UD
14481 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14482
3ce1f295
UD
144832011-09-10 Ulrich Drepper <drepper@gmail.com>
14484
bb016596
UD
14485 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14486 __set_errno.
8e58439c
UD
14487 * malloc/hooks.c: Likewise.
14488
aebae053 14489 [BZ #11929]
02d46fc4
UD
14490 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14491 variables statically.
14492 (narenas): Initialize.
14493 (list_lock): Initialize.
bb016596
UD
14494 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14495 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14496 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14497 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14498 Add initializers to main_arena and mp_.
14499 (malloc_state): Remove pagesize member. Change all users to use
14500 GLRO(dl_pagesize).
14501
14502 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14503 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14504 is always initialized.
14505
22a89187
UD
14506 * malloc/malloc.c: Removed unused configurations and dead code.
14507 * malloc/arena.c: Likewise.
14508 * malloc/hooks.c: Likewise.
02d46fc4 14509 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14510
d063d164
UD
14511 * include/tls.h: Removed. USE___THREAD must always be defined.
14512 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14513 * elf/dl-libc.c: Likewise.
14514 * elf/dl-tsd.c: Likewise.
14515 * include/errno.h: Likewise.
14516 * include/netdb.h: Likewise.
14517 * include/resolv.h: Likewise.
14518 * inet/herrno-loc.c: Likewise.
14519 * inet/herrno.c: Likewise.
14520 * malloc/arena.c: Likewise.
14521 * malloc/hooks.c: Likewise.
14522 * malloc/malloc.c: Likewise.
14523 * resolv/res-state.c: Likewise.
14524 * resolv/res_libc.c: Likewise.
14525 * sysdeps/i386/dl-machine.h: Likewise.
14526 * sysdeps/ia64/dl-machine.h: Likewise.
14527 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14528 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14529 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14530 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14531 * sysdeps/sh/dl-machine.h: Likewise.
14532 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14533 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14534 * sysdeps/unix/i386/sysdep.S: Likewise.
14535 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14536 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14538 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14539 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14540 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14541 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14543 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14545 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14546 * sysdeps/x86_64/dl-machine.h: Likewise.
14547 * tls.make.c: Likewise.
14548
3ce1f295
UD
14549 * configure.in: Remove --with-__thread option. Make tests for
14550 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14551 tls_model attribute fail if no support is available. Remove
14552 USE_IN_LIBIO.
14553 * Makeconfig: Adjust for dropped configure option. All features are
14554 now mandatory.
14555 * Makerules: Likewise.
14556 * Versions.def: Likewise.
14557 * argp/argp-fmtstream.c: Likewise.
14558 * argp/argp-fmtstream.h: Likewise.
14559 * argp/argp-help.c: Likewise.
14560 * assert/assert.c: Likewise.
14561 * config.h.in: Likewise.
14562 * config.make.in: Likewise.
14563 * configure: Likewise.
14564 * configure.in: Likewise.
14565 * csu/Versions: Likewise.
14566 * csu/init.c: Likewise.
14567 * elf/tst-audit2.c: Likewise.
14568 * elf/tst-tls10.c: Likewise.
14569 * elf/tst-tls10.h: Likewise.
14570 * elf/tst-tls11.c: Likewise.
14571 * elf/tst-tls12.c: Likewise.
14572 * elf/tst-tls14.c: Likewise.
14573 * elf/tst-tlsmod11.c: Likewise.
14574 * elf/tst-tlsmod12.c: Likewise.
14575 * elf/tst-tlsmod13.c: Likewise.
14576 * elf/tst-tlsmod13a.c: Likewise.
14577 * elf/tst-tlsmod14a.c: Likewise.
14578 * elf/tst-tlsmod15b.c: Likewise.
14579 * elf/tst-tlsmod16a.c: Likewise.
14580 * elf/tst-tlsmod16b.c: Likewise.
14581 * elf/tst-tlsmod7.c: Likewise.
14582 * elf/tst-tlsmod8.c: Likewise.
14583 * elf/tst-tlsmod9.c: Likewise.
14584 * gmon/gmon.c: Likewise.
14585 * grp/fgetgrent_r.c: Likewise.
14586 * grp/putgrent.c: Likewise.
14587 * hurd/fopenport.c: Likewise.
14588 * include/libc-symbols.h: Likewise.
14589 * include/tls.h: Likewise.
14590 * intl/gettextP.h: Likewise.
14591 * intl/loadinfo.h: Likewise.
14592 * locale/global-locale.c: Likewise.
14593 * locale/localeinfo.h: Likewise.
14594 * mach/devstream.c: Likewise.
14595 * malloc/arena.c: Likewise.
14596 * malloc/set-freeres.c: Likewise.
14597 * misc/err.c: Likewise.
14598 * misc/getttyent.c: Likewise.
14599 * misc/mntent_r.c: Likewise.
14600 * posix/getopt.c: Likewise.
14601 * posix/wordexp.c: Likewise.
14602 * pwd/fgetpwent_r.c: Likewise.
14603 * resolv/Versions: Likewise.
14604 * resolv/res_hconf.c: Likewise.
14605 * shadow/fgetspent_r.c: Likewise.
14606 * shadow/putspent.c: Likewise.
14607 * stdio-common/printf_fphex.c: Likewise.
14608 * stdio-common/tmpfile.c: Likewise.
14609 * stdlib/abort.c: Likewise.
14610 * stdlib/fmtmsg.c: Likewise.
14611 * sunrpc/auth_unix.c: Likewise.
14612 * sunrpc/clnt_perr.c: Likewise.
14613 * sunrpc/clnt_tcp.c: Likewise.
14614 * sunrpc/clnt_udp.c: Likewise.
14615 * sunrpc/clnt_unix.c: Likewise.
14616 * sunrpc/openchild.c: Likewise.
14617 * sunrpc/svc_simple.c: Likewise.
14618 * sunrpc/svc_tcp.c: Likewise.
14619 * sunrpc/svc_udp.c: Likewise.
14620 * sunrpc/svc_unix.c: Likewise.
14621 * sunrpc/xdr.c: Likewise.
14622 * sunrpc/xdr_array.c: Likewise.
14623 * sunrpc/xdr_rec.c: Likewise.
14624 * sunrpc/xdr_ref.c: Likewise.
14625 * sunrpc/xdr_stdio.c: Likewise.
14626
1248c1c4
PB
146272011-09-09 Ulrich Drepper <drepper@gmail.com>
14628
14629 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14630
146312011-07-03 Andreas Jaeger <aj@suse.de>
14632
14633 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14634 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14635 regenerate with gen-libm-tests.pl.
14636
146372010-05-12 Petr Baudis <pasky@suse.cz>
14638
14639 [BZ #11589]
14640 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14641 around j0() zero points by switching to j1().
14642 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14646
f22e1074
UD
146472011-09-09 Ulrich Drepper <drepper@gmail.com>
14648
f19009c1
UD
14649 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14650 instead of 0.
14651 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14652 instead of 0. .
14653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14654 Patch in part by Pavel Roskin <proski@gnu.org>.
14655
3f8cc204
UD
14656 [BZ #13138]
14657 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14658 realloc.
14659 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14660 Free memory block if necessary.
14661
f22e1074
UD
14662 [BZ #12847]
14663 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14664 be NULL. Don't lock in this case.
14665
0a2349f9
RM
146662011-09-09 Roland McGrath <roland@hack.frob.com>
14667
14668 * elf/elf.h (ELFOSABI_GNU): New macro.
14669 (ELFOSABI_LINUX): Define to that.
14670
f3cdd467
DZ
146712011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14672
14673 * string/strncat.c (strncat): Undef the symbol in case it has been
14674 defined in bits/string.h.
14675
74718d13
UD
146762011-09-09 Ulrich Drepper <drepper@gmail.com>
14677
633e9e0f
UD
14678 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14679
0a2349f9 14680 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14681 link map.
14682
f9924780
AJ
146832011-08-17 Andreas Jaeger <aj@suse.de>
14684
14685 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14686
7f5517aa
PP
146872011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14688 Ian Lance Taylor <iant@google.com>
14689
14690 * math/libm-test.inc (lround_test): New testcase.
14691 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14692
762011fe
UD
146932011-09-08 Ulrich Drepper <drepper@gmail.com>
14694
92963737
UD
14695 * Makefile: Remove support for automatic cvs check-ins.
14696 * Makerules: Likewise.
14697 * config.make.in: Likewise.
14698 * configure.in: Likewise.
14699 * intl/Makefile: Likewise.
14700 * locale/Makefile: Likewise.
14701 * po/Makefile: Likewise.
14702 * posix/Makefile: Likewise.
14703 * sysdeps/gnu/Makefile: Likewise.
14704 * sysdeps/mach/hurd/Makefile: Likewise.
14705 * sysdeps/sparc/sparc32/Makefile: Likewise.
14706
b0727fd8
JS
14707 [BZ #13118]
14708 * posix/Makefile (bug-regex32-ENV): Define.
14709 Patch by John Stanley <jpsinthemix@verizon.net>.
14710
a0f33f99
UD
14711 * misc/Makefile (headers): Add bits/select2.h.
14712 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14713 * misc/bits/select2.h: New file.
14714 * include/bits/select2.h: New file.
14715 * debug/Makefile (routines): Add fdelt_chk.
14716 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14717 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14718 FD_ISSET.
14719 * debug/fdelt_chk.c: New file.
14720
762011fe
UD
14721 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14722 * wcsmbs/test-wmemcmp.c: Likewise.
14723 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14724 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14725
147262011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14727
14728 * string/Makefile (strop-tests): Add memcmp.
14729 * string/test-wmemcmp.c: New file.
14730 * string/test-memcmp.c: Add wmemcmp support.
14731
7f513ec8
RM
147322011-09-08 Roland McGrath <roland@hack.frob.com>
14733
0442afb4
RM
14734 [BZ #13153]
14735 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14736 2011-07-19 change.
14737
7f513ec8
RM
14738 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14739 garbage value in a __mach_port_mod_refs call in the cases of the
14740 task-self and thread-self ports.
14741
a12b2239
ST
147422011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14743
14744 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14745
610f9ab4
AS
147462011-09-08 Andreas Schwab <schwab@redhat.com>
14747
7f513ec8 14748 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14749
48882a1a
LD
147502011-09-07 Ulrich Drepper <drepper@gmail.com>
14751
b49865be
UD
14752 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14753
fdc86bc9
UD
14754 * elf/dl-libc.c (dlerror_run): Pass back error code from
14755 dl_catch_error.
14756
c966526a
UD
14757 [BZ #13123]
14758 * elf/dl-load.c (lose): Free l_origin if it is valid.
14759
48882a1a
LD
14760 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14761 names.
14762 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14763 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14764 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14765 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14766 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14767 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14768
77a2a8b4
AZ
147692011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14770
14771 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14772 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14773 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14774 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14775 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14776 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14777 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14778 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14779 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14780 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14781
24f579d8
AM
147822011-08-15 Alan Modra <amodra@gmail.com>
14783
14784 [BZ #13092]
14785 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14786 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14787 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14788 ppc_mcount to static-only-routines.
14789 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14790 __mcount_internal.
14791 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14792 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14793
3d4837df
UD
147942011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14795
14796 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14797 for finite and infinity parameters.
14798
22700377
WS
147992011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14800
14801 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14802 and add nop instructions for throughput optimization.
14803 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14804
5025581e
WS
148052011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14806
14807 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14808 aligned copy for power7 with vector-scalar instructions.
14809 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14810
08a300c9
L
148112011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14812
14813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14814 AVX check.
14815
59178ef9
AS
148162011-09-07 Andreas Schwab <schwab@redhat.com>
14817
14818 [BZ #13144]
14819 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14820 last change.
14821
e38ba7ab
UD
148222011-09-07 Ulrich Drepper <drepper@gmail.com>
14823
14824 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14825 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14826 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14827 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14828 clock_gettime.
14829
d53a73ac
UD
148302011-09-06 Ulrich Drepper <drepper@gmail.com>
14831
fc8bffcc
UD
14832 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14833 Forgot to demangle the pointer.
14834
ceaa0c5d
UD
14835 * sysdeps/i386/sysdep.h: Define atom_text_section.
14836 * sysdeps/x86_64/sysdep.h: Likewise.
14837 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14838 section with atom_text_section.
14839 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14840 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14841 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14842 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14843 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14844
a77d3c17
UD
14845 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14846 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14847 already be defined. Change to take two parameters and don't assign
14848 result to variable. Adjust all users.
14849 Define INTERNAL_GETTIME if not already defined.
14850 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14851 call.
14852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14853 HAVE_CLOCK_GETTIME_VSYSCALL.
14854 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14855
d53a73ac
UD
14856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14857 gettimeofday vsyscall, just use time.
14858
a8f84144
AS
148592011-09-06 Andreas Schwab <schwab@redhat.com>
14860
14861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14862 <errno.h>.
14863
ef606249
UD
148642011-09-06 Ulrich Drepper <drepper@gmail.com>
14865
14866 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14867 syscall on x86-64.
14868 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14869 syscall.
14870 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14872 syscall if possible.
14873
6585cb60
UD
148742011-09-05 Ulrich Drepper <drepper@gmail.com>
14875
14876 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14877 e_ident. Don't pass to find_mapsXX.
14878 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14879
a5f524e4
LD
148802011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14881
14882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14883 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14884 * sysdeps/x86_64/multiarch/strchr.S: Update.
14885 Check bit_slow_BSF bit.
14886 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14887 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14888 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14889
554881ef
UD
148902011-09-05 Ulrich Drepper <drepper@gmail.com>
14891
d96de963
UD
14892 [BZ #13134]
14893 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14894 before glibc 2.15.
14895 (tryshell): Define.
14896 (__spawni): Change last parameter to be flag. Test
14897 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14898 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14899 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14900 * posix/spawni.c: Likewise.
14901 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14902 * posix/spawnp.c: Likewise. Change normal version to use
14903 SPAWN_XFLAGS_USE_PATH.
14904 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14905 SPAWN_XFLAGS_TRY_SHELL.
14906
d48e5868
UD
14907 [BZ #13150]
14908 * posix/glob.h: Remove gcc 1.x support.
14909
554881ef
UD
14910 [BZ #13068]
14911 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14912
693fb948
LD
149132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14914
14915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14916 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14917 strrchr-sse2-bsf
14918 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14919 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14920 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14921 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14922 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14923 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14924
1b48c537
UD
149252011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14926
49d42c37
UD
14927 * sysdeps/x86_64/wcscmp.S: New file.
14928
1b48c537
UD
14929 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14930 wcscmp-c wcscmp-sse2
14931 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14932 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14933 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14934 * wcsmbs/wcscmp.c: Allow renaming.
14935
15c95c5d
DM
149362011-09-05 David S. Miller <davem@davemloft.net>
14937
14938 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14939 stack slot, rather than the struct return pointer slot.
14940 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14941 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14943 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14944
2f0ad8f3
UD
149452011-09-05 Ulrich Drepper <drepper@gmail.com>
14946
d88ae418
UD
14947 * po/ja.po: Update from translation team.
14948
2f0ad8f3
UD
14949 [BZ #13144]
14950 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14951 kernel in 64-bit binaries.
14952
5f4318d1
DM
149532011-09-01 David S. Miller <davem@davemloft.net>
14954
14955 * elf/elf.h (HWCAP_SPARC_*): Move to..
14956 * sysdeps/sparc/sysdep.h: this new file and add new values.
14957 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14958 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14959 _DL_HWCAP_COUNT to 24.
14960 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14961 entries.
14962 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14963 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14964 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14965 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14966 instead of magic constants.
14967 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14968
3ba57516
DM
149692011-08-31 David S. Miller <davem@davemloft.net>
14970
14971 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14973 Reimplement to do errno handling inline.
14974 (SYSCALL_ERROR_HANDLER): New macro.
14975 (__SYSCALL_STRING): Do not do errno handling in asm.
14976 (__CLONE_SYSCALL_STRING): Delete.
14977 (__INTERNAL_SYSCALL_STRING): Delete.
14978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14979 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14980 (PSEUDO): Reimplement to do errno handling inline.
14981 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14982 (SYSCALL_ERROR_HANDLER): New macro.
14983 (__SYSCALL_STRING): Do not do errno handling in asm.
14984 (__CLONE_SYSCALL_STRING): Delete.
14985 (__INTERNAL_SYSCALL_STRING): Delete.
14986 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14987 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14988 i386.
14989 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14990 (inline_syscall*): Add 'err' argument.
14991 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14992 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14993 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14994 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14995
14996 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14997 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14998
2bc17433
AS
149992011-08-30 Andreas Schwab <schwab@redhat.com>
15000
15001 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15002
fbeb5f4d
JO
150032011-08-29 Jiri Olsa <jolsa@redhat.com>
15004
15005 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15006 directive.
15007
ad69cc26
DM
150082011-08-24 David S. Miller <davem@davemloft.net>
15009
15010 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15011
39dd69df
AS
150122011-08-24 Andreas Schwab <schwab@redhat.com>
15013
15014 * elf/Makefile: Add rules to build and run unload8 test.
15015 * elf/unload8.c: New file.
15016 * elf/unload8mod1.c: New file.
15017 * elf/unload8mod1x.c: New file.
15018 * elf/unload8mod2.c: New file.
15019 * elf/unload8mod3.c: New file.
15020
15021 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15022 it wasn't used.
15023
2c0b250a
DM
150242011-08-23 David S. Miller <davem@davemloft.net>
15025
15026 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15027 subtract stack bias.
15028 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15029 %sp not %fp in calculations.
15030 (_JMPBUF_UNWINDS_ADJ): Likewise.
15031
22044b48
DM
15032 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15033 (aio_suspend): Call it to force an exception region around the
15034 AIO_MISC_WAIT() invocation.
15035
2cae4995
AS
150362011-08-23 Andreas Schwab <schwab@redhat.com>
15037
15038 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15039 backslash.
15040
873a772e
AJ
150412011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15042
15043 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15044 protection macro.
15045 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15046 and <dl-machine.h>.
15047 (Elf64_FuncDesc): Remove.
15048
25ad0df1
DM
150492011-08-22 David S. Miller <davem@davemloft.net>
15050
15051 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15052 sigaltstack check, add missing cfi directives.
15053 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15054 missing cfi directives, and sigaltstack handling.
15055
e888bcbe
AS
150562011-08-16 Andreas Schwab <schwab@redhat.com>
15057
15058 [BZ #11724]
15059 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15060 object is seen twice.
15061 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15062
15063 * elf/Makefile (distribute): Add tst-initorder2.c.
15064 (tests): Add tst-initorder2.
15065 (modules-names): Add tst-initorder2a tst-initorder2b
15066 tst-initorder2c tst-initorder2d. Add rules to build them.
15067 ($(objpfx)tst-initorder2.out): New rule.
15068 * elf/tst-initorder2.c: New file.
15069 * elf/tst-initorder2.exp: New file.
15070
87162f46
AS
150712011-08-22 Andreas Schwab <schwab@redhat.com>
15072
70538b7f
AS
15073 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15074
f55ffe58
AS
15075 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15076 dependencies back to end of function.
15077
87162f46
AS
15078 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15079 $(elfobjdir)/ld.so.
15080
91b392a4
UD
150812011-08-21 Ulrich Drepper <drepper@gmail.com>
15082
15083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15084 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15086 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15087 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15088 of __vdso_gettimeofday.
15089 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15090 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15091 attribute_hidden.
15092 (_libc_vdso_platform_setup): Remove initialization of
15093 __vdso_gettimeofday and __vdso_time.
15094
5c43483f
UD
150952011-08-20 Ulrich Drepper <drepper@gmail.com>
15096
775a77e7
UD
15097 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15098 and fgetc_unlocked.
15099 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15100 getc_unlocked.
89f447ed 15101
49c74ba9
UD
15102 * elf/dl-open.c (add_to_global): Report additions to the global scope
15103 for LD_DEBUG=scopes.
15104 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15105 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15106
5c43483f
UD
15107 [BZ #13114]
15108 * stdio-common/Makefile (tests): Add bug24.
15109 * stdio-common/bug24.c: New file.
15110
a101b025
AJ
151112011-08-19 Andreas Jaeger <aj@suse.de>
15112
15113 [BZ #13114]
15114 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15115 non-existant file when using close-on-exec mode.
15116
c88f1766
UD
151172011-08-20 Ulrich Drepper <drepper@gmail.com>
15118
0276a718
UD
15119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15120 the very first instruction.
15121
c88f1766
UD
15122 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15123 the CFI state in the end.
15124 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15125 inclusion of dl-trampoline.h.
15126 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15127
51ccffa0
AS
151282011-08-19 Andreas Schwab <schwab@redhat.com>
15129
94d7165f
AS
15130 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15131 expectations for long double.
15132
51ccffa0
AS
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15134 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15135
fd708658 151362011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15137
15138 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15139 artificual limit depends upon the system page size.
15140
44f0a71e
UD
151412011-08-17 Ulrich Drepper <drepper@gmail.com>
15142
15143 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15144 * resolv/Makefile: Define CFLAGS-libresolv.
15145
8de79a24
AS
151462011-08-17 Andreas Schwab <schwab@redhat.com>
15147
15148 * nss/makedb.c (compute_tables): Make variables used in nested
15149 function static.
15150
27724598
UD
151512011-08-17 Ulrich Drepper <drepper@gmail.com>
15152
c5305d88
UD
15153 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15154 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15155 if buffer was too small.
15156
27724598
UD
15157 * elf/pldd.c (main): Attach to all threads in the process.
15158 Rewrite /proc handling to use *at functions.
15159
076fe015
UD
151602011-08-16 Ulrich Drepper <drepper@gmail.com>
15161
174baab3
UD
15162 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15163 specifies first scope to show.
15164 (dl_open_worker): Update callers. Move printing scope of new
15165 object to before the relocation.
44f0a71e 15166 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15167 * sysdeps/generic/ldsodefs.h: Update declaration.
15168
076fe015
UD
15169 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15170 string for the scope number.
15171
a60df2c3
UD
151722011-08-14 Ulrich Drepper <drepper@gmail.com>
15173
15174 * nscd/servicescache.c (cache_addserv): Make sure written is always
15175 initialized.
15176
5e4287d1
RM
151772011-08-14 Roland McGrath <roland@hack.frob.com>
15178
85ae0589
RM
15179 * sysdeps/i386/i486/bits/atomic.h
15180 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15181 statement expression, so as to suppress "set but not used" warning.
15182 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15183
69f63097
RM
15184 * string/strncat.c (STRNCAT): Use prototype definition.
15185
675456ef
RM
15186 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15187 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15188 -Iprograms here.
15189 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15190 (localedef-modules): Add localedef.
15191 (locale-modules): Add locale.
15192
5e4287d1
RM
15193 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15194 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15195 to avoid a warning.
15196
9c96ff23
DM
151972011-08-14 David S. Miller <davem@davemloft.net>
15198
15199 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15200 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15201
f9ddf089
UD
152022011-08-13 Ulrich Drepper <drepper@gmail.com>
15203
44f0a71e 15204 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15205 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15206 * elf/rtld.c (dl_main): Set l_name of vDSO.
15207 Call _dl_show_scope when DL_DEBUG_SCOPES.
15208 (process_dl_debug): Recognize scopes flag and also set it for all.
15209 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15210 Declare _dl_show_scope.
15211
1dc27704
UD
15212 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15213 (do_dlopen): Pass caller_dlopen to dl_open.
15214 (__libc_dlopen_mode): Initialize caller_dlopen.
15215
f9ddf089
UD
15216 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15217 of libc. Make tolower call locale-independent. Optimize a bit by
15218 using isdigit instead of isalnum.
15219 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15220
9ac533d3
UD
152212011-08-12 Ulrich Drepper <drepper@gmail.com>
15222
15223 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15224 was a dependency or dynamically loaded.
15225
89edf2e9
UD
152262011-08-11 Ulrich Drepper <drepper@gmail.com>
15227
8e999d29
UD
15228 * intl/l10nflist.c: Allow architecture-specific pop function.
15229 * sysdeps/x86_64/l10nflist.c: New file.
15230
89edf2e9
UD
15231 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15232 classification.
15233
14d96785
AS
152342011-08-10 Andreas Schwab <schwab@redhat.com>
15235
15236 * include/dirent.h: Add libc_hidden_proto for scandirat and
15237 scandirat64. Don't declare __scandirat64.
15238 * dirent/scandirat.c: Add libc_hidden_def.
15239 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15240 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15241
6761ac04
DM
152422011-08-10 David S. Miller <davem@davemloft.net>
15243
15244 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15245 enum.
15246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15248 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15249
c55fbd1e
UD
152502011-08-09 Ulrich Drepper <drepper@gmail.com>
15251
15252 * Versions.def [libc]: Add GLIBC_2.15.
15253 * dirent/Makefile (routines): Add scandirat and scandirat64.
15254 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15255 GLIBC_2.15.
15256 * dirent/dirent.h: Declare scandirat and scandirat64.
15257 * dirent/scandirat.c: New file.
15258 * dirent/scandirat64.c: New file.
15259 * sysdeps/wordsize-64/scandirat.c: New file.
15260 * sysdeps/wordsize-64/scandirat64.c: New file.
15261 * dirent/opendir.c: Define opendirat.
15262 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15263 using scandirat.
15264 * dirent/scandir64.c: Adjust for scandir.c change.
15265 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15266 __scandirat64, and __scandir_cancel_handler.
15267 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15268 additional parameter and use openat instead of open (outside of ld.so).
15269 Add new __opendir as wrapper around __opendirat.
15270 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15271 here without requiring old scandirat implementation.
15272
879165f2
UD
152732011-08-08 Ulrich Drepper <drepper@gmail.com>
15274
15275 * dirent/scandir.c (cancel_handler): Renamed to
15276 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15277 defined. Adjust users.
15278 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15279 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15280
cb7e923b
UD
152812011-08-04 Ulrich Drepper <drepper@gmail.com>
15282
16292edd
UD
15283 * string/test-string.h (IMPL): Use __STRING to expand name and then
15284 stringify it.
15285
cb7e923b
UD
15286 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15287 of cleanups.
15288
cff82933
LD
152892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15290
15291 * string/Makefile: Update.
15292 (strop-tests): Append strncat.
15293 * string/test-wcscmp.c: New file.
15294 New comprehensive test for wcscmp.
15295 * string/test-strcmp.c: Update.
15296 (WIDE): New define.
15297
9be9bfcc
AS
152982011-07-22 Andreas Schwab <schwab@redhat.com>
15299
15300 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15301 line.
15302
2e96f1c7
AS
153032011-07-26 Andreas Schwab <schwab@redhat.com>
15304
15305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15306 encoding to ACE if AI_IDN.
15307
85188888
JJ
153082011-08-01 Jakub Jelinek <jakub@redhat.com>
15309
15310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15311 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15312
5fa16e9b
LD
153132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15314
15315 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15316 Fix overflow bug in strncat.
15317 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15318
15319 * string/test-strncat.c: Update.
15320 Add new tests for checking overflow bugs.
15321
153222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15323
15324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15325 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15326 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15327 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15329 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15330 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15331 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15332 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15333
15334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15335 (USE_AS_STRCAT): Define.
15336 Add strcat and strncat support.
15337 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15338
8c1a459f
AS
153392011-07-25 Andreas Schwab <schwab@redhat.com>
15340
15341 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15342 __n bigger than INT_MAX+1.
15343 (__strncmp_g): Likewise.
15344
bba33c28
UD
153452011-07-23 Ulrich Drepper <drepper@gmail.com>
15346
798be72d
UD
15347 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15348 * libio/stido.h: Likewise.
15349
8accd4dc
UD
15350 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15351 (AF_NFC): Define.
15352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15353 (AF_NFC): Define.
15354
cbff0d96
UD
15355 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15356 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15357 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15358 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15359 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15360
9191c04a
UD
15361 [BZ #13021]
15362 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15363 installed.
15364
bba33c28
UD
15365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15366 typo.
15367 (_dl_x86_64_save_sse): Likewise.
15368
90f139dd
UD
153692011-07-22 Ulrich Drepper <drepper@gmail.com>
15370
1aae088a
UD
15371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15372 OSXSAVE.
15373 (_dl_x86_64_save_sse): Likewise.
15374
8e2045f5
UD
15375 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15376
90f139dd
UD
15377 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15378
1d002f25
AS
153792011-07-21 Andreas Schwab <schwab@redhat.com>
15380
15381 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15382 change.
15383 (_dl_x86_64_save_sse): Use correct AVX check.
15384
21137f89
UD
153852011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15386
15387 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15388 bug in strncpy/strncat.
15389 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15390
a65c0b7a
UD
153912011-07-21 Ulrich Drepper <drepper@gmail.com>
15392
15393 * string/tester.c (test_strcat): Add tests for different alignments
15394 of source and destination.
15395 (test_strncat): Likewise.
15396
6986b98a
UD
153972011-07-20 Ulrich Drepper <drepper@gmail.com>
15398
90bb2039
UD
15399 [BZ #12852]
15400 * posix/glob.c (glob): Check passed in values before using them in
15401 expressions to avoid some overflows.
15402 (glob_in_dir): Likewise.
15403
5644ef54
UD
15404 [BZ #13007]
15405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15406 check for AVX enablement so that we don't crash with old kernels and
15407 new hardware.
15408 * elf/tst-audit4.c: Add same checks here.
15409 * elf/tst-audit6.c: Likewise.
15410
15411 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15412
bfc9dc9b
AS
154132011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15414
15415 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15416
702e64bb
UD
154172011-07-20 Ulrich Drepper <drepper@gmail.com>
15418
15419 * po/cs.po: Update from translation team.
15420 * po/bg.po: Likewise.
15421
295e904f
MP
154222011-07-12 Marek Polacek <mpolacek@redhat.com>
15423
15424 * misc/sys/cdefs.h: Add support for const attribute.
15425 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15426 to gnu_dev_{major,minor,makedev} functions.
15427
3ff94596
MP
154282011-07-20 Marek Polacek <mpolacek@redhat.com>
15429
15430 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15431
28b59fca
AS
154322011-07-20 Andreas Schwab <schwab@redhat.com>
15433
15434 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15435 strlen results.
15436
19df733e
AK
154372011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15438
15439 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15440 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15441 register in order to avoid conflicts with the soft frame pointer
15442 being held in r11 when necessary.
15443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15444 (INTERNAL_VSYSCALL_NCS): Likewise.
15445
c8835729
MP
154462011-07-14 Marek Polacek <mpolacek@redhat.com>
15447
15448 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15449 * elf/dl-fini.c (_dl_fini): Adjust caller.
15450 * elf/dl-close.c (_dl_close_worker): Likewise.
15451 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15452
b902330c
MP
154532011-07-15 Marek Polacek <mpolacek@redhat.com>
15454
8991e135
MP
15455 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15456 "aux_cache->nlibs < 0".
15457
b902330c
MP
15458 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15459 in the reload-count case.
15460
99710781
LD
154612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15462
15463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15464 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15465 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15466 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15467 * sysdeps/x86_64/multiarch/strcat.S: New file.
15468 * sysdeps/x86_64/multiarch/strncat.S: New file.
15469 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15470 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15471 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15472 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15473 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15474 (USE_AS_STRCAT): Define.
15475 Add strcat and strncat support.
15476 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15477 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15478 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15479 * string/strncat.c: Update.
15480 (USE_AS_STRNCAT): Define.
15481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15482 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15483 and i7.
15484 * sysdeps/x86_64/multiarch/init-arch.h
15485 (bit_Prefer_PMINUB_for_stringop): New.
15486 (index_Prefer_PMINUB_for_stringop): Likewise.
15487 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15488 bit_Prefer_PMINUB_for_stringop.
15489
7dc6bd90
UD
154902011-07-19 Ulrich Drepper <drepper@gmail.com>
15491
15492 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15493 buffer64.
15494 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15495 of casting of buffer.
15496 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15497 buffer32 and buffer64.
15498 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15499 writes instead of casting of buffer.
15500 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15501 buffer32.
15502 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15503 casting of buffer.
15504
e0e72284
AS
155052011-07-19 Andreas Schwab <schwab@redhat.com>
15506
15507 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15508
feb1eb0b
UD
155092011-07-19 Ulrich Drepper <drepper@gmail.com>
15510
15511 * nscd/nscd.c (termination_handler): Don't do anything for a database
15512 if it has not yet been initialized.
15513
298711ff
UD
155142011-07-18 Ulrich Drepper <drepper@gmail.com>
15515
15516 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15517
155182011-07-15 Marek Polacek <mpolacek@redhat.com>
15519
15520 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15521
f9d68389
UD
155222011-07-18 Ulrich Drepper <drepper@gmail.com>
15523
15524 * po/nl.po: Update from translation team.
15525 * po/sv.po: Likewise.
15526
db290cf5
RM
155272011-07-16 Roland McGrath <roland@hack.frob.com>
15528
15529 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15530 now disallowed by GCC.
5c550700 15531
fd5e21c7
RM
15532 * configure.in (use-default-link): Default to yes if a test -shared
15533 link meets our qualifications.
15534 * configure: Regenerated.
15535
5c550700
RM
15536 * config.make.in (output-format): New variable.
15537 * configure.in: Check for ld --print-output-format support.
15538 * configure: Regenerated.
15539 * Makerules ($(common-objpfx)format.lds)
15540 [$(output-format) != unknown]: Just use $(output-format),
15541 instead of the linker-script munging.
15542
9fa2c032
RM
155432011-07-14 Roland McGrath <roland@hack.frob.com>
15544
a6928d51
RM
15545 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15546 of $(common-objpfx)shlib.lds.
15547 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15548
661607b3
RM
15549 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15550 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15551
9fa2c032
RM
15552 * configure.in (-z relro check): Adjust test code to add a large
15553 writable data section after it.
15554 * configure: Regenerated.
15555
defe9061
RM
155562011-07-11 Roland McGrath <roland@hack.frob.com>
15557
15558 * configure.in (-z relro check): Fix test code to make the variable
15559 truly const.
15560 * configure: Regenerated.
15561
319b9ad4
UD
155622011-07-11 Ulrich Drepper <drepper@gmail.com>
15563
15564 * nscd/nscd.h (struct traced_file): Define.
15565 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15566 elements. Add traced_files.
15567 (inotify_fd): Declare.
15568 (register_traced_file): Declare.
15569 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15570 (inotify_fd): Export.
15571 (resolv_conf_descr): Remove.
15572 (nscd_init): Move inotify descriptor creation to main.
15573 Don't register files for notification here.
15574 (register_traced_file): New function.
15575 (invalidate_cache): Don't use reset_res to determine whether to call
15576 res_init, go through the list of registered files.
15577 (main_loop_poll): The inotify descriptors are now stored in the
15578 structures for the traced files.
15579 (main_loop_epoll): Likewise
15580 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15581 to __nss_disable_nscd.
15582 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15583 for a database anymore. Check the records for all the registered
15584 files instead.
15585 * nss/Makefile (libnss_files-routines): Add files-init.
15586 (libnss_db-routines): Add db-init.
15587 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15588 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15589 * nss/nss_db/db-init.c: New file.
15590 * nss/nss_files/files-init.c: New file.
15591 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15592 __nss_lookup_function.
15593 (__nss_lookup_function): Call nss_load_library.
15594 (nss_load_all_libraries): New function.
15595 (__nss_disable_nscd): Take parameter with callback function for files
15596 to register. Set is_nscd. Load all the DSOs for the NSS modules
15597 used for the cached services.
15598 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15599 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15600 options for features to all the files in nscd.
15601
15602 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15603
23bee3e8
RM
156042011-07-10 Roland McGrath <roland@hack.frob.com>
15605
15606 * csu/elf-init.c (__libc_csu_init): Comment typo.
15607
46a5b7f0
UD
156082011-07-09 Ulrich Drepper <drepper@gmail.com>
15609
15610 * po/pl.po: Update from translation team.
15611 * po/ja.po: Likewise.
15612 * po/ru.po: Likewise.
15613 * po/ko.po: Likewise.
15614 * po/fr.po: Likewise.
15615
d30cf5bb
RM
156162011-07-09 Roland McGrath <roland@hack.frob.com>
15617
113ddea4
RM
15618 * configure.in (.ctors/.dtors header and trailer check):
15619 Use an empirical test on a built program.
15620 * configure: Regenerated.
15621
574920b4
RM
15622 * configure.in (-z relro check): Use an empirical test on a built DSO.
15623 Detect, but do not require, on ia64.
15624 * configure: Regenerated.
15625
d30cf5bb
RM
15626 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15627 Update tests that use readelf to use $READELF instead.
15628 * configure: Regenerated.
15629
8538fdb3
UD
156302011-07-08 Ulrich Drepper <drepper@gmail.com>
15631
15632 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15633 if the result is not used.
15634
04d08991
AJ
156352011-07-05 Andreas Jaeger <aj@suse.de>
15636
15637 [BZ#9696]
15638 * stdlib/tst-strtod.c: Add testcase.
15639
de283087
AD
156402011-07-07 Ulrich Drepper <drepper@gmail.com>
15641
4e5f31c8 15642 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15643 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15644 The latter has a higher limit. Take additional parameter to pass to
15645 the new function.
15646 (__pathconf): Pass file to __statfs_link_max.
15647 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15648 __statfs_link_max.
15649 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15650 __statfs_link_max.
15651
de283087
AD
15652 [BZ #12868]
15653 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15654 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15655 Handle Lustre.
15656 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15657 (__statfs_filesize_max): Likewise.
15658 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15659
c75fa153
AJ
156602011-07-05 Andreas Jaeger <aj@suse.de>
15661
15662 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15663
1a544854
UD
156642011-07-06 Marek Polacek <mpolacek@redhat.com>
15665
15666 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15667 `status' variable.
15668 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15669 Likewise.
15670
6f0eec67
UD
156712011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15672
15673 * Makefile (strop-tests): Add strncat.
15674 * string/test-strncat.c: New file.
15675
aae30307
UD
156762011-06-30 Marek Polacek <mpolacek@redhat.com>
15677
15678 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15679
c0cfb5eb
UD
156802011-06-21 Andreas Jaeger <aj@suse.de>
15681
15682 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15683 Copy rule from iconvdata/Makefile.
15684
01636b21
UD
156852011-07-06 Ulrich Drepper <drepper@gmail.com>
15686
15687 [BZ #12922]
15688 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15689 but no long options are defined, just return 'W'.
15690
9895c8bc
UD
156912011-06-22 Marek Polacek <mpolacek@redhat.com>
15692
15693 [BZ #9696]
15694 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15695
5d4cf042
UD
156962011-07-06 Ulrich Drepper <drepper@gmail.com>
15697
15698 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15699 netgroups to read.
960e5535 15700 (innetgr): Likewise.
5d4cf042 15701
751eb97e
RM
157022011-07-05 Roland McGrath <roland@hack.frob.com>
15703
15704 * config.make.in (install_root): Default to $(DESTDIR).
15705
f15f1e45
UD
157062011-07-05 Ulrich Drepper <drepper@gmail.com>
15707
15708 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15709
4e34ac6a
RM
157102011-07-02 Roland McGrath <roland@hack.frob.com>
15711
5e9b6af4
RM
15712 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15713
84f9ea0f
RM
15714 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15715 containing directory rather than embedding absolute directory names.
15716
ea5ee9f7
RM
15717 * scripts/check-local-headers.sh: Rewritten using awk.
15718 Match by word, not by line. Print error messages for matches.
15719 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15720
1b74661a
RM
15721 * Makerules [shlib-lds-flags empty]:
15722 ($(common-objpfx)libc_pic.opts): New target.
15723 ($(common-objpfx)libc_pic.os.clean): New target.
15724 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15725
15726 * config.make.in (OBJCOPY): New variable.
15727 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15728 * configure: Regenerated.
15729
f781ef40
RM
15730 * config.make.in (use-default-link): New variable.
15731 * configure.in (use_default_link): Grok --with-default-link to set it.
15732 * configure: Regenerated.
15733 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15734 (shlib-lds, shlib-lds-flags): Define to empty.
15735
2d4fa81e
RM
15736 * Makerules (shlib-lds): New variable.
15737 (shlib-lds-flags): New variable.
15738 (build-shlib, build-moduile, build-module-asneeded): Use it.
15739 ($(common-objpfx)libc.so): Use $(shlib-lds).
15740 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15741 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15742
31fffa6b
RM
15743 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15744 DT_FLAGS/DT_FLAGS_1 with zero flags.
15745
4e34ac6a
RM
15746 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15747 linker script munging.
15748
fcfc776b
UD
157492011-07-02 Ulrich Drepper <drepper@gmail.com>
15750
15751 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15752 as 128-bit value.
15753 * crypt/sha512.c (sha512_process_block): Perform total addition using
15754 128-bit if possible.
15755 (__sha512_finish_ctx): Likewise.
15756 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15757 as 64-bit value.
15758 * crypt/sha256.c (SWAP64): Define.
15759 (sha256_process_block): Perform total addition using 64-bit if
15760 possible.
15761 (__sha256_finish_ctx): Likewise.
15762
99231d9a
UD
157632011-07-01 Ulrich Drepper <drepper@gmail.com>
15764
15765 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15766 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15767 * nscd/hstcache.c (cache_addhst): Likewise.
15768 * nscd/grpcache.c (cache_addgr): Likewise.
15769 * nscd/aicache.c (addhstaiX): Likewise
15770 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15771
445b4a53
TK
157722011-07-01 Thorsten Kukuk <kukuk@suse.de>
15773
15774 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15775 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15776 * nscd/hstcache.c (cache_addhst): Likewise.
15777 * nscd/grpcache.c (cache_addgr): Likewise.
15778 * nscd/aicache.c (addhstaiX): Likewise
15779
6d4d8e8e
AS
157802011-07-01 Andreas Schwab <schwab@redhat.com>
15781
15782 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15783 domain only when needed.
15784
89f654c5
AS
157852011-06-30 Andreas Schwab <schwab@redhat.com>
15786
15787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15788 is always restored.
15789
cf3b23ff
UD
157902011-06-29 Ulrich Drepper <drepper@gmail.com>
15791
15792 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15793 are re-adding the entry.
15794 * nscd/servicescache.c (cache_addserv): Likewise.
15795
751626f9
AJ
157962011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15797
15798 * sysdeps/generic/dl-irel.h: fix protection against multiple
15799 inclusions.
15800 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15801
9113ea1f
UD
158022011-06-28 Ulrich Drepper <drepper@gmail.com>
15803
5c0b8d90
UD
15804 [BZ #12935]
15805 * malloc/memusage.sh: Fix quoting in message.
15806 * debug/xtrace.sh: Likewise.
15807
9113ea1f
UD
15808 * configure.in: Remove support for --experimental-malloc option, make
15809 it the default.
15810 * config.make.in: Likewise.
15811 * malloc/Makefile: Likewise.
15812
a4172181
AS
158132011-06-27 Andreas Schwab <schwab@redhat.com>
15814
15815 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15816 two-byte characters.
15817
78a7eee7
RM
158182011-06-27 Roland McGrath <roland@hack.frob.com>
15819
62bede13
RM
15820 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15821 AC_CACHE_CHECK invocation.
15822 * configure: Regenerated.
15823
78a7eee7
RM
15824 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15825
5ce33a62
UD
158262011-06-27 Ulrich Drepper <drepper@gmail.com>
15827
034807a9
UD
15828 [BZ #12350]
15829 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15830 bit from old_res_options.
15831
4902da17
UD
15832 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15833
5ce33a62
UD
15834 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15835 value type for setfct.
15836
c2344f56
L
158372011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15838
15839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15840 __gettimeofday instead of gettimeofday.
15841
68468076
UD
158422011-06-26 Ulrich Drepper <drepper@gmail.com>
15843
15844 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15845
acb0d739
L
158462011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15847
15848 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15849
15850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15851 info.
15852
8912479f
L
158532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15854
15855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15856 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15857 strcpy-sse2-unaligned strncpy-sse2-unaligned
15858 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15859 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15860 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15861 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15862 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15863 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15865 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15866 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15867 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15868 (STRCPY): Support SSE2 and SSSE3 versions.
15869
d5495a11
UD
158702011-06-24 Ulrich Drepper <drepper@gmail.com>
15871
15872 [BZ #12874]
15873 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15874 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15875 kernels which artificially limit size of requests.
15876
0b1cbaae
L
158772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15878
15879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15880 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15881 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15882 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15883 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15884 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15885 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15886 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15889 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15890 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15891 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15892 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15893 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15895 Enable unaligned load optimization for Intel Core i3, i5 and i7
15896 processors.
15897 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15898 Define.
15899 (index_Fast_Unaligned_Load): Define.
15900 (HAS_FAST_UNALIGNED_LOAD): Define.
15901
07f494a0
MP
159022011-06-23 Marek Polacek <mpolacek@redhat.com>
15903
15904 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15905
fa3fc0fe
UD
159062011-06-22 Ulrich Drepper <drepper@gmail.com>
15907
15908 [BZ #12907]
15909 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15910 until it is clear that the information is realy needed.
15911 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15912
e12df166
AS
159132011-06-22 Andreas Schwab <schwab@redhat.com>
15914
15915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15916
852eb34d
UD
159172011-06-22 Ulrich Drepper <drepper@gmail.com>
15918
84e2a551
UD
15919 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15920 /sys/devices/system/cpu/online if it is usable.
15921
852eb34d
UD
15922 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15923 reading the information from the /proc filesystem to once a second.
15924
6e502e19
UD
159252011-06-21 Andreas Jaeger <aj@suse.de>
15926
15927 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15928 NULL after inclusion of kernel headers.
15929
75d39ff2
UD
159302011-06-21 Ulrich Drepper <drepper@gmail.com>
15931
51f9aa6a
UD
15932 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15933 calls to internal_setent.
15934
c0244a9d
UD
15935 [BZ #12885]
15936 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15937 addresses using gethostbyname4_r ignore IPv4 addresses.
15938
c5e3c2ae
UD
15939 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15940 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15941
75d39ff2
UD
15942 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15943
42675c6f
DM
159442011-06-20 David S. Miller <davem@davemloft.net>
15945
15946 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15947 inclusions.
15948 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15949
15950 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15951 (elf_irel): Use it.
15952 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15953 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15954 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15955 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15956 * sysdeps/x86_64/dl-irel.h: Likewise.
15957
15958 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15959 * elf/dl-sym.c: Likewise.
15960
57912a71
UD
159612011-06-15 Ulrich Drepper <drepper@gmail.com>
15962
15963 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15964 need to dereference resplen2.
15965
ee22793d
AS
159662011-06-14 Andreas Schwab <schwab@redhat.com>
15967
15968 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15969
a9e836b0
UD
159702011-06-15 Ulrich Drepper <drepper@gmail.com>
15971
77fb9117
UD
15972 * Makeconfig: Define vardbdir and inst_vardbdir.
15973 * nss/Makefile: Add rules to install db-Makefile.
15974
40c1b22c
UD
15975 * nss/nss_db/db-XXX.c: Cleanup.
15976
9f2da732
UD
15977 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15978 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15979 GLIBC_PRIVATE.
15980 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15981 * nss/makedb.c: Implement -g option to specify that value strings
15982 are generated and should not be added to table iterated over for
15983 get*ent calls.
15984 * nss/nss_db/db-initgroups.c: New file.
15985
82e9a1f7
UD
15986 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15987 interface.
15988
c41af17e
UD
15989 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15990 (internal_getgrouplist): Adjust to name change.
15991 Update use_initgroups_entry if this is not the first call.
15992 * nss/databases.def: Add initgroups entry.
15993
a9e836b0
UD
15994 * nss/makedb.c (compute_tables): Check result of multiple hash table
15995 sizes to minimize maximum chain length.
15996
2666d441
UD
159972011-06-14 Ulrich Drepper <drepper@gmail.com>
15998
15999 * Versions.def: Add entry for libnss_db.
16000 * shlib-versions: Likewise.
16001 * nss/Makefile: Add rules to build libnss_db.
16002 * nss/Versions: Add libnss_db information. Organize libnss_files
16003 entries better.
16004 * nss/db-Makefile: Add gshadow support. Change rules for the new
16005 makedb progra. Some minor improvements to generate smaller files.
16006 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16007 here from...
16008 * nss/makedb.c: ...here.
16009 Improve database format to be smaller and require less memory at
16010 runtime.
16011 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16012 db anymore.
16013 * nss/nss_db/db-netgrp.c: Likewise.
16014 * nss/nss_db/db-open.c: Likewise.
16015 * nss/nss_files/flies-XXX.x: Adjust comments.
16016 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16017 * nss/nss_files/files-grp.c: Likewise.
16018 * nss/nss_files/files-hosts.c: Likewise.
16019 * nss/nss_files/files-network.c: Likewise.
16020 * nss/nss_files/files-proto.c: Likewise.
16021 * nss/nss_files/files-pwd.c: Likewise.
16022 * nss/nss_files/files-rpc.c: Likewise.
16023 * nss/nss_files/files-service.c: Likewise.
16024 * nss/nss_files/files-sgrp.c: Likewise.
16025 * nss/nss_files/files-spwd.c: Likewise.
16026 * nss/nss_db/db-alias.c: Removed.
16027 * nss/nss_db/dummy-db.h: Removed.
16028
9ee76b5a
UD
160292011-06-02 Ulrich Drepper <drepper@gmail.com>
16030
16031 * nss/makedb.c: Rewritten to not use database library.
16032 * nss/Makefile: Update to build new makedb program.
16033
c71ca1f8
AJ
160342011-06-14 Andreas Jaeger <aj@suse.de>
16035
16036 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16037 memset declaration.
16038
3154bfb8
UD
160392011-06-10 Andreas Schwab <schwab@redhat.com>
16040
16041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16042 tmpbuf.
16043
b350afab
RM
160442011-06-10 Roland McGrath <roland@hack.frob.com>
16045
decd4e50
RM
16046 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16047 * elf/Makefile ($(objpfx)ld.so): Likewise.
16048
5615eaf2
RM
16049 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16050 Don't list ld.so twice in dependencies.
16051
16052 * posix/bug-regex31.c: Include <stdlib.h>.
16053
16054 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16055
16056 * nis/nss_compat/compat-spwd.c
16057 (getspent_next_nss_netgr): Remove unused variable.
16058 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16059
16060 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16061 nonmembers" output to use the right array.
16062
16063 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16064
16065 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16066
16067 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16068 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16069 * catgets/gencat.c (read_input_file): Likewise.
16070 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16071
16072 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16073 variable definition inside #if's controlling its use.
16074
16075 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16076
16077 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16078
16079 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16080
16081 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16082 unreachable code.
16083
16084 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16085
b68e08db
RM
16086 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16087 * configure: Regenerated.
16088
b350afab
RM
16089 * Makerules: Revert last change.
16090 * elf/Makefile: Likewise.
16091
28368601
RM
160922011-06-09 Roland McGrath <roland@hack.frob.com>
16093
16094 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16095 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16096 (reloc-link): Likewise.
16097
11988f8f
UD
160982011-06-09 Ulrich Drepper <drepper@gmail.com>
16099
16100 * elf/Makefile: Add rules to build pldd.
16101 * elf/pldd.c: New file.
16102 * elf/pldd-xx.c: New file.
16103
e80fab37
UD
161042011-06-07 Ulrich Drepper <drepper@gmail.com>
16105
16106 * version.h: Update for 2.15 development version.
16107
9b849836
DM
161082011-06-07 David S. Miller <davem@davemloft.net>
16109
16110 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16111 ifuncs.
16112 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16113 elf_machine_lazy_rel): Likewise.
16114 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16115 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16116 elf_machine_lazy_rel): Likewise.
16117 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16118 dl_hwcap via passed in argument.
16119 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16120 Likewise.
16121
5a31b283
AK
161222011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16123
16124 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16125
069e52f8
RM
161262011-06-06 Roland McGrath <roland@hack.frob.com>
16127
16128 [BZ #12849]
16129 * manual/fdl-1.1.texi: New file, verbatim from:
16130 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16131 * manual/lgpl-2.1.texi: New file, verbatim from:
16132 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16133 * manual/Makefile (licenses): New variable, list those new file names.
16134 (texis): Use it.
16135 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16136
16137 * manual/fdl.texi: File removed.
16138 * manual/lesser.texi: File removed.
16139 * manual/libc.texinfo (Copying, Documentation License):
16140 Use new @include file names, put @appendix directive before @include.
16141
f16846a5
JJ
161422011-06-04 Jakub Jelinek <jakub@redhat.com>
16143
16144 [BZ #12841]
16145 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16146 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16147 (mq_open): Add __NTH.
16148
3d29045b
L
161492011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16150
16151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16152 Assume Intel Core i3/i5/i7 processor if AVX is available.
16153
8c297311
UD
161542011-05-31 Ulrich Drepper <drepper@gmail.com>
16155
16156 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16157 typo.
16158
c8fc0c91
UD
161592011-05-31 Andreas Schwab <schwab@redhat.com>
16160
16161 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16162 memory. Use alloca_account. Fix memory leak when retrying.
16163
5b27a807
UD
161642011-05-31 Ulrich Drepper <drepper@gmail.com>
16165
356f8bc6
UD
16166 * version.h (RELEASE): Bump for 2.14 release.
16167 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16168
5b27a807
UD
16169 * config.make.in (RANLIB): Remove entry.
16170
01f16ab0
UD
161712011-05-30 Ulrich Drepper <drepper@gmail.com>
16172
41fce8bd
UD
16173 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16174 (libc.pot): Work around missing support for .ksh extension in xgettext.
16175
4769ae77
UD
16176 [BZ #12684]
16177 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16178 if both request failed.
16179 (send_dg): In case of server errors clear resplen or *resplen2.
16180
6b1e7d19
UD
16181 [BZ #12454]
16182 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16183 when there are multiple maps.
16184 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16185 (_dl_fini): Remove test here.
16186
01f16ab0
UD
16187 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16188
b1ebd700
UD
161892011-05-29 Ulrich Drepper <drepper@gmail.com>
16190
7ae22829
UD
16191 [BZ #12350]
16192 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16193 bit from old_res_options.
16194 (gaih_inet): Likewise.
16195
553149f6 16196 [BZ #11099]
18a84741 16197 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16198 as signed.
16199
652ffab1
UD
16200 * resolv/res_init.c (res_setoptions): Make the code more compact.
16201
16985fd0
UD
16202 [BZ #11558]
16203 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16204 set RES_USEVC.
16205
0464f746
UD
16206 [BZ #11634]
16207 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16208
7d17596c
UD
16209 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16210
cf6bbbd7
UD
16211 [BZ #11781]
16212 * malloc/malloc.h: Declare malloc hook variables as volatile.
16213
13f1ab36
UD
16214 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16215 in last patch.
16216
b1ebd700
UD
16217 [BZ #11799]
16218 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16219 raise in the comment.
80e2212d
UD
16220 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16221 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16222 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16223
ce67228d
UD
162242011-05-28 Ulrich Drepper <drepper@gmail.com>
16225
8887a920
UD
16226 [BZ #12811]
16227 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16228 grow the buffers more if it already has to be sufficient.
16229 (build_wcs_upper_buffer): Likewise.
16230 * posix/regexec.c (check_matching): Likewise.
16231 (clean_state_log_if_needed): Likewise.
16232 (extend_buffers): Don't enlarge buffers beyond size of the input
16233 buffer.
16234 Patches mostly by Emil Wojak <emil@wojak.eu>.
16235 * posix/bug-regex32.c: New file.
16236 * posix/Makefile (tests): Add bug-regex32.
16237
4f031072
UD
16238 * locale/findlocale.c (_nl_find_locale): Return right away if
16239 _nl_explode_name failed.
16240 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16241
d0478f0c
UD
16242 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16243
de81b246
UD
16244 * debug/xtrace.sh: Unify messages.
16245 * malloc/memusage.sh: Likewise.
16246
c738465a
UD
16247 [BZ #12813]
16248 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16249 time symbol from vDSO. Substitute with vsyscall if not available.
16250 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16251 __vdso_time.
16252
f1f929d7
UD
16253 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16254 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16255 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16256 Add sendmmsg and internal_sendmmsg.
16257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16258 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16259 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16260
ce67228d
UD
16261 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16262 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16263 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16264
e57420c6
UD
162652011-05-27 Ulrich Drepper <drepper@gmail.com>
16266
a8509ca5
UD
16267 [BZ #12813]
16268 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16269 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16270 available.
16271 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16272 __vdso_getcpu.
16273
e57420c6
UD
16274 [BZ #12814]
16275 * iconvdata/Makefile (tests): Add bug-iconv9.
16276 * iconvdata/bug-iconv9.c: New file.
16277
4d07db15
AS
162782011-05-27 Andreas Schwab <schwab@redhat.com>
16279
16280 [BZ #12814]
16281 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16282
ea486f69
JJ
162832011-05-25 Jakub Jelinek <jakub@redhat.com>
16284
16285 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16286 (struct user_regs_struct): Change intcs field back to cs.
16287
6f038433
UD
162882011-05-25 Ulrich Drepper <drepper@gmail.com>
16289
16290 * po/ja.po: Update from translation team.
16291
67f86a25
UD
162922011-05-23 Ulrich Drepper <drepper@gmail.com>
16293
16294 [BZ #12795]
16295 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16296 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16297
def7fbd6
AS
162982011-05-20 Andreas Schwab <schwab@redhat.com>
16299
16300 * stdlib/longlong.h: Update from GCC.
16301
f50ef8f1
AS
163022011-05-23 Andreas Schwab <schwab@redhat.com>
16303
16304 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16305 parameter name.
16306 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16307 Add parameter name.
16308 (__sysconf): Pass it down.
16309
de7ce8f1
UD
163102011-05-22 Ulrich Drepper <drepper@gmail.com>
16311
f2962a71
UD
16312 [BZ #12671]
16313 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16314 some situations.
16315 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16316 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16317 add in in __libc_use_alloca calls. Adjust callers.
16318 (glob): Use malloc in some situations.
16319
de7ce8f1
UD
16320 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16321 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16322 pltexit.
16323
aec84f53
UD
163242011-05-21 Ulrich Drepper <drepper@gmail.com>
16325
05bb4a68
UD
16326 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16327 and CLOCK_BOOTTIME_ALARM.
16328
7ea72f99
UD
16329 [BZ #12782]
16330 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16331 is returned.
16332
7e4afad5
UD
16333 * string/_strerror.c (__strerror_r): Print negative errors as signed
16334 numbers.
16335
8e211fec
UD
16336 [BZ #12777]
16337 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16338 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16339 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16340
f7d82dc9
UD
16341 * configure.in: Fix typo in redirection and correct removal of test
16342 files in two cases.
16343
cc9e536d
UD
16344 [BZ #12788]
16345 * locale/setlocale.c (new_composite_name): Fix test to check for
16346 identical name of all categories.
16347
aec84f53
UD
16348 [BZ #12792]
16349 * libio/filedoalloc.c (local_isatty): New function.
16350 (_IO_file_doallocate): Use local_isatty.
16351 * stdio-common/perror.c (perror): In case a new stream is used
16352 forward the stream error.
16353 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16354 error flag.
16355
78e64fdc
RT
163562011-05-20 Ulrich Drepper <drepper@gmail.com>
16357
34a9094f
UD
16358 [BZ #11869]
16359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16360 alloca.
16361 * include/alloca.h (extend_alloca_account): Define.
16362
78e64fdc
RT
16363 [BZ #11857]
16364 * posix/regex.h: Fix comments with documentation of user-accessible
16365 fields after compilation and describe correct free'ing of pattern
16366 after re_compile_pattern.
16367 Patch by Reuben Thomas <rrt@sc3d.org>.
16368
457bddfc
RA
163692011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16370
16371 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16372 and -mno-altivec to prevent the compiler from using Altivec and/or
16373 VSX instructions when the corresponding registers are not available.
16374
a4527b51
AS
163752011-05-19 Andreas Schwab <schwab@redhat.com>
16376
16377 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16378
ed690b2f
UD
163792011-05-19 Ulrich Drepper <drepper@gmail.com>
16380
16381 * libio/freopen.c (freopen): Use __dup2, not dup2.
16382 * libio/freopen64.c (freopen64): Likewise.
16383
8db73634
L
163842011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16385
16386 [BZ #12775]
16387 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16388 * math/Makefile (tests): Add test-powl.
16389 (CFLAGS-test-powl.c): Define.
16390 * math/test-powl.c: New file.
16391
0a197a9d
L
163922011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16393
16394 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16395
ee30c380
UD
163962011-05-17 Ulrich Drepper <drepper@gmail.com>
16397
16398 [BZ #11837]
16399 * iconvdata/gb18030.c: Update to GB18020-2005.
16400
6ce75379
UD
164012011-05-16 Ulrich Drepper <drepper@gmail.com>
16402
a4b89fd8
AR
16403 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16404 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16405 Patch by Aharon Robbins <arnold@skeeve.com>.
16406
ea389b12
UD
16407 [BZ #11892]
16408 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16409 on the stack.
16410
68a3f91f
UD
16411 [BZ #11895]
16412 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16413 through underflows.
16414
15cc7dd1
UD
16415 [BZ #12766]
16416 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16417 point to strings before performing equality test for error_one_per_line
16418 mode.
16419
f3799213
UD
16420 [BZ #11697]
16421 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16422
d79a9c94
UD
16423 [BZ #11820]
16424 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16425 (struct user_fpregs_struct): Avoid __uint*_t types.
16426
56e5eb46
UD
16427 [BZ #6420]
16428 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16429 symbol info. Use it instead of calling _dl_addr locally.
16430 (lock_and_info): New function.
16431 (tr_freehook): Call lock_and_info and pass symbol info as additional
16432 parameter to tr_where.
16433 (tr_mallochook): Likewise.
16434 (tr_reallochook): Likewise.
16435 (tr_memalignhook): Likewise.
16436
6ce75379
UD
16437 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16438 used and couldn't be at all thread-safe.
16439
f8a3b5bf
UD
164402011-05-15 Ulrich Drepper <drepper@gmail.com>
16441
94b7cc37
UD
16442 * libio/freopen.c (freopen): Don't close old file descriptor
16443 before the new one is opened. Instead dup the new file descriptor
16444 to the old one after the new stream is created.
16445 * libio/freopen64.c (freopen64): Likewise.
16446 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16447 * libio/fileops.c (_IO_new_file_close_it): Handle new
16448 _IO_FLAGS2_NOCLOSE flag.
16449 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16450 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16451 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16452 _IO_FLAGS2_NOCLOSE flag.
16453 * include/unistd.h: Add hidden_proto for dup3.
16454 Define __have_dup3.
16455 * io/dup3.c: Define hidden symbol.
16456 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16457
bd25564e
UD
16458 [BZ #7101]
16459 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16460 when an incomplete long option is used.
16461 * posix/tst-getopt_long1.c: New file.
16462 * posix/Makefile (tests): Add tst-getopt_long1.
16463
c84cfef4
UD
16464 [BZ #10138]
16465 * scripts/config.guess: Update from autoconf-2.68.
16466 * scripts/config.sub: Likewise.
16467
3b85df27
UD
16468 [BZ #10157]
16469 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16470 tests into ...
16471 (has_cpuclock): ...this. New function.
16472 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16473 macro here based on has_cpuclock code.
16474
15a856b1
UD
16475 [BZ #10149]
16476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16477 First byte (not low byte) is now always NUL.
16478 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16479
05f399e6
UD
16480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16481 Use non-cancelable interfaces.
16482
10a52685 16483 [BZ #9809]
94ecc67d
UD
16484 * locale/iso-639.def: Add entry for Sorani.
16485
f8a3b5bf
UD
16486 [BZ #11901]
16487 * include/stdlib.h: Move include protection to the right place.
16488 Define abort_msg_s. Declare __abort_msg with it.
16489 * stdlib/abort.c (__abort_msg): Adjust type.
16490 * assert/assert.c (__assert_fail_base): New function. Majority
16491 of code from __assert_fail. Allocate memory for __abort_msg with
16492 mmap.
16493 (__assert_fail): Now call __assert_fail_base.
16494 * assert/assert-perr.c: Remove bulk of implementation. Use
16495 __assert_fail_base.
16496 * include/assert.hL Declare __assert_fail_base.
16497 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16498 mmap.
16499 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16500
1af4e298
UD
165012011-05-14 Ulrich Drepper <drepper@gmail.com>
16502
f8a3b5bf 16503 [BZ #11952]
d26dfc60
MG
16504 [BZ #12453]
16505 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16506 until all modules are registered in the DTV.
16507 * elf/Makefile: Add rules to build and run tst-tls19.
16508 * elf/tst-tls19.c: New file.
16509 * elf/tst-tls19mod1.c: New file.
16510 * elf/tst-tls19mod2.c: New file.
16511 * elf/tst-tls19mod3.c: New file.
16512 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16513
2fc54d6f
UD
16514 [BZ #12083]
16515 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16516 correctly.
16517
98d76b46
UD
16518 [BZ #12601]
16519 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16520 two-byte sequence errors.
16521 * iconvdata/Makefile (tests): Add bug-iconv8.
16522 * iconvdata/bug-iconv8.c: New file.
16523
da3c19ef
UD
16524 [BZ #12626]
16525 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16526 buf2 definition.
16527
ca408c15
UD
16528 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16529
d6f67f7d
UD
16530 [BZ #12432]
16531 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16532 (dummy_getcfa): New function.
16533 (init): Get _Unwind_GetCFA address, use dummy if not found.
16534 (backtrace_helper): In recursion check, also check whether CFA changes.
16535 (__backtrace): Completely initialize arg.
16536
1af4e298 16537 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16538 storing incomplete byte sequence in state object. Avoid testing for
16539 guaranteed too small input if we know there is enough data available.
1af4e298 16540
da62f81b
AS
165412011-05-11 Andreas Schwab <schwab@redhat.com>
16542
16543 * Makeconfig (+link-pie): Indent.
16544 * Rules (binaries-pie): Define if $(have-fpie) and
16545 $(build-shared).
16546 (binaries-shared): Also filter out $(binaries-pie).
16547 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16548 * nscd/Makefile (others-pie): Add nscd.
16549 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16550 ($(objpfx)nscd): Remove command override.
16551 * login/Makefile (others-pie): Add pt_chown.
16552 ($(objpfx)pt_chown): Remove command override.
16553 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16554 remove command overrides.
16555
fcabc0f8
UD
165562011-05-13 Ulrich Drepper <drepper@gmail.com>
16557
20030ae6
UD
16558 * libio/tst_putwc.c: Fix error messages.
16559
fcabc0f8
UD
16560 [BZ #12724]
16561 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16562 currently writing and seek to current position when not.
16563 * libio/Makefile (tests): Add bug-fclose1.
16564 * libio/bug-fclose1.c: New file.
16565
320a5dc0
PB
165662011-05-12 Ulrich Drepper <drepper@gmail.com>
16567
16568 [BZ #12511]
16569 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16570 don't set DF_1_NODELETE here.
16571 (do_lookup_x): When entering new entry test for copy relocation
16572 and if necessary set DF_1_NODELETE flag.
16573 * elf/tst-unique4.cc: New file.
16574 * elf/tst-unique4.h: New file.
16575 * elf/tst-unique4lib.cc: New file.
16576 * elf/Makefile: Add rules to build and run tst-unique4.
16577 Patch by Piotr Bury <pbury@goahead.com>.
16578
22836f52
UD
165792011-05-11 Ulrich Drepper <drepper@gmail.com>
16580
f574184a
UD
16581 [BZ #12052]
16582 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16583
e1fb097f
UD
16584 [BZ #12625]
16585 * misc/mntent_r.c (addmntent): Flush the stream after the output
16586
22836f52
UD
16587 [BZ #12393]
16588 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16589 (is_trusted_path_normalize): Skip initial colon. Append slash
16590 to empty buffer. Duplicate is_trusted_path code but allow
16591 constructed patch to be prefix.
16592 (is_dst): Allow $ORIGIN followed by /.
16593 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16594 Correct testing of result of is_trusted_path_normalize
16595 (decompose_rpath): Fix warning.
16596
7b3b0b2a
UD
165972011-05-10 Ulrich Drepper <drepper@gmail.com>
16598
16599 [BZ #11257]
16600 * grp/initgroups.c (internal_getgrouplist): When we found the service
16601 list through the initgroups entry in nsswitch.conf do not always
16602 continue on a successful lookup. Don't always use the
eac80ce2 16603 __nss_group_database value if it is set.
7b3b0b2a
UD
16604 * nss/nsswitch.conf (initgroups): Change action for successful db
16605 lookup to continue for compatibility.
16606
2a81eaa5
UD
166072011-05-09 Ulrich Drepper <drepper@gmail.com>
16608
be97a69e
UD
16609 [BZ #11532]
16610 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16611 and CP774 modules.
16612 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16613 and CP774 modules.
16614 * iconvdata/tst-tables.sh: Likewise.
16615 * iconvdata/cp770.c: New file.
16616 * iconvdata/cp771.c: New file.
16617 * iconvdata/cp772.c: New file.
16618 * iconvdata/cp773.c: New file.
16619 * iconvdata/cp774.c: New file.
16620 * iconvdata/testdata/CP770: New file.
16621 * iconvdata/testdata/CP770..UTF8: New file.
16622 * iconvdata/testdata/CP771: New file.
16623 * iconvdata/testdata/CP771..UTF8: New file.
16624 * iconvdata/testdata/CP772: New file.
16625 * iconvdata/testdata/CP772..UTF8: New file.
16626 * iconvdata/testdata/CP773: New file.
16627 * iconvdata/testdata/CP773..UTF8: New file.
16628 * iconvdata/testdata/CP774: New file.
16629 * iconvdata/testdata/CP774..UTF8: New file.
16630
16631 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16632 END CHARMAP line.
16633 * iconvdata/gen-8bit-gap.sh: Likewise.
16634 * iconvdata/gen-8bit.sh: Likewise.
16635
c1e9e399
UD
16636 * locale/iso-639.def: Add ary entry.
16637
24c55fb3 16638 [BZ #11258]
96b4b1b0
UD
16639 * locale/C-translit.h.in: Add U20A1 transliteration.
16640
bdc2f971
KB
16641 [BZ #12178]
16642 * locale/iso-639.def: Add wae entry.
16643 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16644
2952b117
UD
16645 [BZ #12545]
16646 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16647 for n.
16648
2a81eaa5
UD
16649 [BZ #12711]
16650 * locale/C-translit.h.in: Add entry for U20B9.
16651 Patch by pravin.d.s@gmail.com.
16652
28377d1b
UD
166532011-05-08 Ulrich Drepper <drepper@gmail.com>
16654
7fb90fb8
UD
16655 [BZ #12713]
16656 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16657 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16658 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16659 in rtld. Use *stat64.
7fb90fb8 16660 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16661 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16662 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16663 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16664 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16665 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16666 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16667 __fstatat64 macros.
7fb90fb8
UD
16668 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16669 * dirent/rewinddir.c: Add libc_hidden_def.
16670 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16671 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16672
28377d1b
UD
16673 * include/dirent.h (__alloc_dir): Add flags parameter.
16674 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16675 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16676 __alloc_dir.
16677 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16678 from fdopendir if O_CLOEXEC is already set.
16679
66bdbaa4
AM
166802011-03-15 Alan Modra <amodra@gmail.com>
16681
16682 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16683 l_tls_firstbyte_offset non-zero. Save padding offset in
16684 l_tls_firstbyte_offset for later use.
16685 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16686 freeing static tls block.
16687
95721191
JN
166882011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16689
16690 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16691 where #ifdef was intended. The intent is to prevent ARG_MAX from
16692 being defined by the kernel headers.
16693
f87dfb1f
UD
166942011-05-07 Ulrich Drepper <drepper@gmail.com>
16695
16696 [BZ #12734]
16697 * resolv/resolv.h: Define RES_NOTLDQUERY.
16698 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16699 no-tld-query and set RES_NOTLDQUERY.
16700 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16701 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16702 modern BIND to search name as TLD unless forbidden.
16703
47c3cd7a
UD
167042011-05-07 Petr Baudis <pasky@suse.cz>
16705 Ulrich Drepper <drepper@gmail.com>
16706
16707 [BZ #12393]
16708 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16709 (is_trusted_path): ...to here.
c1e9ea35 16710 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16711 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16712 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16713
8a35c912
PP
167142011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16715
16716 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16717 __BEGIN/__END_DECLS.
16718
acd41f47
UD
167192011-05-06 Ulrich Drepper <drepper@gmail.com>
16720
16721 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16722 NSS_STATUS_NOTFOUND if no record was found.
16723
597df647
AS
167242011-05-05 Andreas Schwab <schwab@redhat.com>
16725
16726 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16727 (headers-not-in-tirpc): Remove rpc/netdb.h
16728 * resolv/netdb.h: Revert last change.
16729
b9af1301
PP
167302011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16731
16732 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16733 circular dependency between libgcc.a and libc.a.
16734
4e34d5f5
AS
167352011-05-05 Andreas Schwab <schwab@redhat.com>
16736
16737 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16738 * nis/Makefile: Don't install rpcsvc/*.
16739 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16740 instead of <rpc/types.h>.
16741 (MAXHOSTNAMELEN): Define.
16742
00ee369c
AS
167432011-05-03 Andreas Schwab <schwab@redhat.com>
16744
16745 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16746
0b592a30
MB
167472011-04-28 Maciej Babinski <mbabinski@google.com>
16748
16749 [BZ #12714]
16750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16751 gethostbyname4_r when IPv6 results are possible.
16752
6e04cbbe
UD
167532011-05-02 Ulrich Drepper <drepper@gmail.com>
16754
16755 [BZ #12723]
16756 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16757 _PC_PIPE_BUF handling.
16758
e4ecafe0
BH
167592011-04-30 Bruno Haible <bruno@clisp.org>
16760
16761 [BZ #12717]
16762 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16763 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16764 to 'int'.
16765 * inet/getnameinfo.c (getnameinfo): Likewise.
16766
125ee683
UD
167672011-04-29 Ulrich Drepper <drepper@gmail.com>
16768
16769 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16770 to groups setting in database lookup.
16771 * nss/nsswitch.conf: Add initgroups entry.
16772
b722481a
EB
167732011-04-22 Ulrich Drepper <drepper@gmail.com>
16774
16775 [BZ #12685]
16776 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16777 mode string.
16778 Patch by Eric Blake <eblake@redhat.com>.
16779
4df46dbd
L
167802011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16781
16782 * sunrpc/Makefile (need-export-routines): Add svc_run.
16783 (routines): Remove svc_run.
16784 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16785 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16786 * sunrpc/svc_run.c (svc_run): Likewise.
16787 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16788
e84142d2
UD
167892011-04-21 Ulrich Drepper <drepper@gmail.com>
16790
16791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16792 problem in reallocation in last patch.
16793
877175d8
UD
167942011-04-20 Ulrich Drepper <drepper@gmail.com>
16795
16796 * sunrpc/Makefile: Move inclusion of Rules.
16797
ab8eed78
UD
167982011-04-19 Ulrich Drepper <drepper@gmail.com>
16799
16800 * nss/nss_files/files-initgroups.c: New file.
16801 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16802 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16803 _nss_files_initgroups_dyn.
16804
e3d8f584
RS
168052011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16806
16807 * elf/elf.h (R_ARM_IRELATIVE): Define.
16808
af190f45
UD
168092011-04-19 Ulrich Drepper <drepper@gmail.com>
16810
16811 * po/ru.po: Update from translation team.
16812
53cf59ef
UD
168132011-04-17 Ulrich Drepper <drepper@gmail.com>
16814
16815 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16816 dependencies.
16817
4c559bcd
MF
168182011-02-06 Mike Frysinger <vapier@gentoo.org>
16819
16820 [BZ #12653]
16821 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16822 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16823 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16824 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16825 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16826
4420675c
AS
168272011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16828
16829 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16830 differing bytes.
16831 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16833 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16834
75ea32ab
UD
168352011-04-17 Ulrich Drepper <drepper@gmail.com>
16836
16837 [BZ #12420]
16838 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16839 storing it.
16840 * stdlib/bug-getcontext.c: New file.
16841 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16842
27390476
AK
168432011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16844
16845 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16846 instructions into .machine "z9-109".
16847 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16848 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16849
10442705
AK
168502011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16851
16852 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16853 between environment variables and auxiliary vector.
16854
7b57bfe5
UD
168552011-04-16 Ulrich Drepper <drepper@gmail.com>
16856
16857 * Makefile: Add rules to build linkobj/libc.so.
16858 * include/libc-symbols.h: Define libc_hidden_nolink.
16859 * include/rpc/auth.h: Mark functions which are to be hidden.
16860 * include/rpc/auth_des.h: Likewise.
16861 * include/rpc/auth_unix.h: Likewise.
16862 * include/rpc/clnt.h: Likewise.
16863 * include/rpc/des_crypt.h: Likewise.
16864 * include/rpc/key_prot.h: Likewise.
16865 * include/rpc/pmap_clnt.h: Likewise.
16866 * include/rpc/pmap_prot.h: Likewise.
16867 * include/rpc/pmap_rmt.h: Likewise.
16868 * include/rpc/rpc_msg.h: Likewise.
16869 * include/rpc/svc.h: Likewise.
16870 * include/rpc/svc_auth.h: Likewise.
16871 * include/rpc/xdr.h: Likewise.
16872 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16873 * nss/Makefile: Likewise.
16874 * sunrpc/Makefile: Don't install headers. Build library with normal
16875 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16876 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16877 for the compat linking library. Remove use of INTDEF/INTUSE.
16878 * sunrpc/auth_none.c: Likewise.
16879 * sunrpc/auth_unix.c: Likewise.
16880 * sunrpc/authdes_prot.c: Likewise.
16881 * sunrpc/authuxprot.c: Likewise.
16882 * sunrpc/clnt_gen.c: Likewise.
16883 * sunrpc/clnt_perr.c: Likewise.
16884 * sunrpc/clnt_raw.c: Likewise.
16885 * sunrpc/clnt_simp.c: Likewise.
16886 * sunrpc/clnt_tcp.c: Likewise.
16887 * sunrpc/clnt_udp.c: Likewise.
16888 * sunrpc/clnt_unix.c: Likewise.
16889 * sunrpc/des_crypt.c: Likewise.
16890 * sunrpc/des_soft.c: Likewise.
16891 * sunrpc/get_myaddr.c: Likewise.
16892 * sunrpc/key_call.c: Likewise.
16893 * sunrpc/key_prot.c: Likewise.
16894 * sunrpc/netname.c: Likewise.
16895 * sunrpc/pm_getmaps.c: Likewise.
16896 * sunrpc/pm_getport.c: Likewise.
16897 * sunrpc/pmap_clnt.c: Likewise.
16898 * sunrpc/pmap_prot.c: Likewise.
16899 * sunrpc/pmap_prot2.c: Likewise.
16900 * sunrpc/pmap_rmt.c: Likewise.
16901 * sunrpc/publickey.c: Likewise.
16902 * sunrpc/rpc_cmsg.c: Likewise.
16903 * sunrpc/rpc_common.c: Likewise.
16904 * sunrpc/rpc_dtable.c: Likewise.
16905 * sunrpc/rpc_prot.c: Likewise.
16906 * sunrpc/rpc_thread.c: Likewise.
16907 * sunrpc/rtime.c: Likewise.
16908 * sunrpc/svc.c: Likewise.
16909 * sunrpc/svc_auth.c: Likewise.
16910 * sunrpc/svc_authux.c: Likewise.
16911 * sunrpc/svc_raw.c: Likewise.
16912 * sunrpc/svc_run.c: Likewise.
16913 * sunrpc/svc_simple.c: Likewise.
16914 * sunrpc/svc_tcp.c: Likewise.
16915 * sunrpc/svc_udp.c: Likewise.
16916 * sunrpc/svc_unix.c: Likewise.
16917 * sunrpc/svcauth_des.c: Likewise.
16918 * sunrpc/xcrypt.c: Likewise.
16919 * sunrpc/xdr.c: Likewise.
16920 * sunrpc/xdr_array.c: Likewise.
16921 * sunrpc/xdr_float.c: Likewise.
16922 * sunrpc/xdr_intXX_t.c: Likewise.
16923 * sunrpc/xdr_mem.c: Likewise.
16924 * sunrpc/xdr_rec.c: Likewise.
16925 * sunrpc/xdr_ref.c: Likewise.
16926 * sunrpc/xdr_sizeof.c: Likewise.
16927 * sunrpc/xdr_stdio.c: Likewise.
16928
e6c61494
UD
169292011-04-10 Ulrich Drepper <drepper@gmail.com>
16930
16931 [BZ #12650]
16932 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16933 * sysdeps/ia64/dl-tls.h: Likewise.
16934 * sysdeps/powerpc/dl-tls.h: Likewise.
16935 * sysdeps/s390/dl-tls.h: Likewise.
16936 * sysdeps/sh/dl-tls.h: Likewise.
16937 * sysdeps/sparc/dl-tls.h: Likewise.
16938 * sysdeps/x86_64/dl-tls.h: Likewise.
16939 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16940
34fe483e
AS
169412011-03-14 Andreas Schwab <schwab@redhat.com>
16942
16943 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16944 rpath element also skip the following colon.
16945 (expand_dynamic_string_token): Add is_path parameter and pass
16946 down to DL_DST_REQUIRED and _dl_dst_substitute.
16947 (decompose_rpath): Call expand_dynamic_string_token with
16948 non-zero is_path. Ignore empty rpaths.
16949 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16950 with zero is_path.
16951
f12a32e6
AS
169522011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16953
16954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16955 Make cancelable.
16956
38a7d692
UD
169572011-04-09 Ulrich Drepper <drepper@gmail.com>
16958
16959 [BZ #12655]
16960 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16961 Patch by Filipe David Manana <fdmanana@apache.org>.
16962
e451d22b
AS
169632011-04-07 Andreas Schwab <schwab@redhat.com>
16964
16965 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16966 Maintain aligned stack.
16967 (CHECK_RSP): Remove unused macro.
16968
dedc7c7b
UD
169692011-04-03 Ulrich Drepper <drepper@gmail.com>
16970
16971 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16972 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16973
94521213
UD
169742011-04-02 Ulrich Drepper <drepper@gmail.com>
16975
16976 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16977
8cb700c0 16978 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 16979
0354e355
L
169802011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16981
16982 [BZ #12518]
16983 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16984 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16985 * sysdeps/x86_64/memmove.c: New file.
16986 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16987 (memcpy): Renamed to ...
16988 (__new_memcpy): This.
16989 (memcpy): Provide GLIBC_2_14 memcpy.
16990 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16991 (memcpy): Provide GLIBC_2_2_5 memcpy.
16992
8593482f
UD
169932011-04-01 Ulrich Drepper <drepper@gmail.com>
16994
16995 [BZ #12631]
16996 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16997
81a5726b
AS
169982011-03-30 Andreas Schwab <schwab@redhat.com>
16999
17000 * misc/syncfs.c: New file.
17001 * misc/Makefile (routines): Add syncfs.
17002 * posix/unistd.h: Declare syncfs.
17003 * sysdeps/unix/syscalls.list: Add syncfs.
17004
00e5419f
AS
170052011-04-01 Andreas Schwab <schwab@redhat.com>
17006
17007 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17008 open_by_handle_at.
17009 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17010 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17012 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17013 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17014 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17015 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17016
748876bf
UD
170172011-04-01 Ulrich Drepper <drepper@gmail.com>
17018
658e451d
UD
17019 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17020 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17021 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17026
748876bf
UD
17027 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17028 sync_file_range.c with -fexceptions.
17029 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17030 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17031 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17032 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17033 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17034 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17036 sync_file_range as cancellation point
17037 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17038 now a wrapper around __call_sync_file_range with cancellation handling.
17039 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17040 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17041 function name to __call_sync_file_range.
17042 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17043 Add call_sync_file_range.
748876bf 17044
6e63d5e1
AS
170452011-04-01 Andreas Schwab <schwab@redhat.com>
17046
17047 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17048 bits/timex.h.
6e63d5e1 17049
46998f74
UD
170502011-04-01 Ulrich Drepper <drepper@gmail.com>
17051
4c1423ed
UD
17052 * iconv/iconv.h: Fix typo in comment.
17053 * io/fcntl.h: Likewise.
17054 * libio/stdio.h: Likewise.
17055 * posix/spawn.h: Likewise.
17056 * posix/unistd.h: Likewise.
17057 * stdlib/stdlib.h: Likewise.
17058 * time/time.h: Likewise.
17059 * wcsmbs/wchar.h: Likewise.
17060
158648c0
UD
17061 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17062 open_by_handle): Add.
17063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17064 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17065 Augment a few comments.
17066 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17071 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17072 open_by_handle.
17073
46998f74
UD
17074 * io/fcntl.h (AT_EMPTY_PATH): Define.
17075
83fe108b
UD
170762011-03-30 Ulrich Drepper <drepper@gmail.com>
17077
17078 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17079 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17080 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17081 to...
17082 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17083 * Versions.def: Add GLIBC_2.14.
17084 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17085 Export.
83fe108b 17086
bb242059
UD
170872011-03-22 Ulrich Drepper <drepper@gmail.com>
17088
17089 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17090 round counter.
17091 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17092
c97a1282
L
170932011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17094
17095 [BZ #12597]
17096 * string/test-strncmp.c (do_page_test): New function.
17097 (check2): Likewise.
17098 (test_main): Call check2.
17099 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17100
2a115601
UD
171012011-03-20 Ulrich Drepper <drepper@gmail.com>
17102
17103 [BZ #12587]
17104 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17105 Handle cache information in CPU leaf 4.
17106 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17107
8126d904
UD
171082011-03-18 Ulrich Drepper <drepper@gmail.com>
17109
042c49c6 17110 [BZ #12583]
8126d904
UD
17111 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17112 character representation.
17113 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17114
ccfe366e
RA
171152011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17116
17117 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17118 END(__isnan) to END(__isnanf) to match function entry point/label
17119 EALIGN(__isnanf,...).
17120
c6e13027
JJ
171212011-03-10 Jakub Jelinek <jakub@redhat.com>
17122
17123 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17124
33f85a3f
UD
171252011-03-10 Ulrich Drepper <drepper@gmail.com>
17126
028478fa
UD
17127 [BZ #12510]
17128 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17129 copy from the symbol referenced in the relocation to initialize the
17130 used variable.
17131 Patch by Piotr Bury <pbury@goahead.com>.
17132 * elf/Makefile: Add rules to build and tst-unique3.
17133 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17134 * elf/tst-unique3.cc: New file.
17135 * elf/tst-unique3.h: New file.
17136 * elf/tst-unique3lib.cc: New file.
17137 * elf/tst-unique3lib2.cc: New file.
17138
33f85a3f
UD
17139 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17140
03592fc7
MF
171412011-03-10 Mike Frysinger <vapier@gentoo.org>
17142
17143 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17144 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17145 to _start.
03592fc7 17146
6a5ee102
UD
171472011-03-06 Ulrich Drepper <drepper@gmail.com>
17148
17149 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17150 to-be-loaded object along a path to loader is ld.so.
17151
7e4ba49c
HJ
171522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17153 Ulrich Drepper <drepper@gmail.com>
17154
17155 * sysdeps/x86_64/memset.S: After aligning destination, code
17156 branches to different locations depending on the value of
17157 misalignment, when multiarch is enabled. Fix this.
17158
171592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17160
17161 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17162 Set _x86_64_preferred_memory_instruction for AMD processsors.
17163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17164 Set bit_Prefer_SSE_for_memop for AMD processors.
17165
13a804de
UD
171662011-03-04 Ulrich Drepper <drepper@gmail.com>
17167
17168 * libio/fmemopen.c (fmemopen): Optimize a bit.
17169
9d25c392
AS
171702011-03-03 Andreas Schwab <schwab@redhat.com>
17171
17172 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17173
a5543c6a
RM
171742011-03-03 Roland McGrath <roland@redhat.com>
17175
17176 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17177
012d35f7
DM
171782011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17179
7e4ba49c 17180 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17181 __bzero_ultra1 instead of __memset_ultra1.
17182
4bff6e01
AS
171832011-02-23 Andreas Schwab <schwab@redhat.com>
17184 Ulrich Drepper <drepper@gmail.com>
17185
17186 [BZ #12509]
17187 * include/link.h (struct link_map): Add l_orig_initfini.
17188 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17189 returning unsuccessfully.
17190 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17191 close of a file loaded at startup, restore the original l_initfini
17192 list.
17193 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17194 list, store the pointer.
17195 * elf/Makefile ($(objpfx)noload-mem): New rule.
17196 (noload-ENV): Define.
17197 (tests): Add $(objpfx)noload-mem.
17198 * elf/noload.c: Include <memcheck.h>.
17199 (main): Call mtrace. Close all opened handles.
17200
f2092faf
AS
172012011-02-17 Andreas Schwab <schwab@redhat.com>
17202
17203 [BZ #12454]
17204 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17205 dependencies are missing.
17206
6c8a2e88
ST
172072011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17208
f2092faf 17209 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17210 Hurd needs munmap.
17211 * sysdeps/mach/hurd/ifreq.h: New file.
17212
84a42118
PB
172132011-01-27 Petr Baudis <pasky@suse.cz>
17214 Ulrich Drepper <drepper@gmail.com>
17215
071f805e 17216 [BZ 12445]#
84a42118
PB
17217 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17218 to extend_alloca().
17219 * stdio-common/bug23.c: New file.
17220 * stdio-common/Makefile (tests): Add bug23.
17221
e23fe25b
AS
172222010-09-28 Andreas Schwab <schwab@redhat.com>
17223 Ulrich Drepper <drepper@gmail.com>
17224
17225 [BZ #12489]
17226 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17227 before performing relro protection. At old place add assertion
17228 to make sure nothing changed.
17229
d3f02e10
NS
172302011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17231 Glauber de Oliveira Costa <glommer@gmail.com>
17232
17233 * elf/elf.h: Add new ARM TLS relocs.
17234
d55fd7a5
RA
172352011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17236
17237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17238 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17239 cast from r3.
17240 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17241 'tests' variable.
17242 * sysdeps/wordsize-64/tst-writev.c: New file.
17243
2206397e
RA
172442011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17245
17246 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17247 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17248 insns in _dl_start to prevent a TOC reference before relocs are
17249 resolved.
17250
e9433893
UD
172512011-02-15 Ulrich Drepper <drepper@gmail.com>
17252
17253 [BZ #12469]
17254 * Makeconfig: Remove RANLIB definition.
17255 * Makerules: Don't use RANLIB.
17256 * aclocal.m4: Remove ranlib test.
17257 * configure.in: No need to check for ranlib.
17258 * elf/rtld-Rules: Don't use RANLIB.
17259
f75286c6
ST
172602011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17261
8e31c82d
ST
17262 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17263 protection macro.
17264 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17265 inclusion protection macro.
17266
f75286c6
ST
17267 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17268 SIGRTMIN and SIGRTMAX and print information in that case only when
17269 SIGRTMIN is defined.
17270
c1d0e639
JJ
172712011-02-11 Jakub Jelinek <jakub@redhat.com>
17272
17273 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17274 arginfo fn returning -1.
17275
17276 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17277 and thousands string is zero terminated.
17278
edf9294e
AS
172792011-02-03 Andreas Schwab <schwab@redhat.com>
17280
17281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17282 sysdeps/unix/sysv/linux/bits/socket.h.
17283
2b7e92df
ST
172842011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17285
edf9294e
AS
17286 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17287 (__CPU_COUNT): Remove old macros.
17288 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17289 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17290 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17291 (__sched_cpualloc, __sched_cpufree): Add declarations.
17292
a4c7ea7b
UD
172932011-02-05 Ulrich Drepper <drepper@gmail.com>
17294
17295 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17296 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17297 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17298 (readdhstai): Return value of addhstaiX call.
17299 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17300 (addgrbyX): Return value returned by cache_addgr.
17301 (readdgrbyname): Return value returned by addgrbyX.
17302 (readdgrbygid): Likewise.
17303 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17304 (addpwbyX): Return value returned by cache_addpw.
17305 (readdpwbyname): Return value returned by addhstbyX.
17306 (readdpwbyuid): Likewise.
17307 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17308 (addservbyX): Return value returned by cache_addserv.
17309 (readdservbyname): Return value returned by addservbyX:
17310 (readdservbyport): Likewise.
17311 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17312 (addhstbyX): Return value returned by cache_addhst.
17313 (readdhstbyname): Return value returned by addhstbyX.
17314 (readdhstbyaddr): Likewise.
17315 (readdhstbynamev6): Likewise.
17316 (readdhstbyaddrv6): Likewise.
17317 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17318 (readdinitgroups): Return value returned by addinitgroupsX.
17319 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17320 (prune_cache): Keep track of timeout value of re-added entries.
17321 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17322 * nscd/nscd.h: Adjust prototypes of readd* functions.
17323
a0bf67cc
RM
173242011-02-04 Roland McGrath <roland@redhat.com>
17325
17326 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17327 (nis_stats): Likewise.
17328 * nis/nis_modify.c (nis_modify): Likewise.
17329 * nis/nis_remove.c (nis_remove): Likewise.
17330 * nis/nis_add.c (nis_add): Likewise.
17331
17332 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17333
17334 * posix/fnmatch_loop.c: Add some consts.
17335
17336 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17337
435b95eb
L
173382011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17339
17340 [BZ #12460]
17341 * config.make.in (config-cflags-novzeroupper): Define.
17342 * configure.in: Substitute libc_cv_cc_novzeroupper.
17343 * elf/Makefile (AVX-CFLAGS): Define.
17344 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17345 (CFLAGS-tst-auditmod4a.c): Likewise.
17346 (CFLAGS-tst-auditmod4b.c): Likewise.
17347 (CFLAGS-tst-auditmod6b.c): Likewise.
17348 (CFLAGS-tst-auditmod6c.c): Likewise.
17349 (CFLAGS-tst-auditmod7b.c): Likewise.
17350 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17351
8517b15e
UD
173522011-02-02 Ulrich Drepper <drepper@gmail.com>
17353
17354 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17355 function to the callback.
17356 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17357
10a656fe
AS
173582011-02-02 Andreas Schwab <schwab@redhat.com>
17359
17360 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17361 of errno.
17362
968dad0a
UD
173632011-01-19 Ulrich Drepper <drepper@gmail.com>
17364
9f94d2ea 17365 [BZ #11724]
968dad0a
UD
17366 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17367 of constructors.
17368 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17369 of destructors.
17370 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17371
17372 [BZ #11724]
17373 * elf/Makefile: Add rules to build and run new test.
17374 * elf/tst-initorder.c: New file.
17375 * elf/tst-initorder.exp: New file.
17376 * elf/tst-initordera1.c: New file.
17377 * elf/tst-initordera2.c: New file.
17378 * elf/tst-initordera3.c: New file.
17379 * elf/tst-initordera4.c: New file.
17380 * elf/tst-initorderb1.c: New file.
17381 * elf/tst-initorderb2.c: New file.
17382 * elf/tst-order-a1.c: New file.
17383 * elf/tst-order-a2.c: New file.
17384 * elf/tst-order-a3.c: New file.
17385 * elf/tst-order-a4.c: New file.
17386 * elf/tst-order-b1.c: New file.
17387 * elf/tst-order-b2.c: New file.
17388 * elf/tst-order-main.c: New file.
17389 New test case by George Gensure <werkt0@gmail.com>.
17390
86e92359
UD
173912010-10-01 Andreas Schwab <schwab@redhat.com>
17392
17393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17394 decoding ACE if AI_CANONIDN.
17395
5d5732b0
UD
173962011-01-18 Ulrich Drepper <drepper@gmail.com>
17397
17398 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17399
a77e8cbc
UD
174002011-01-17 Ulrich Drepper <drepper@gmail.com>
17401
6392473f
UD
17402 * version.h (RELEASE): Bump for 2.13 release.
17403 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17404
620a0529
UD
17405 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17406
18ba70a5
UD
17407 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17408 MADV_NOHUGEPAGE.
32465c3e
UD
17409 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17410 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17411 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17412 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17413 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17414 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17415
c0dafcf1
UD
17416 * posix/getconf.c: Update copyright year.
17417 * catgets/gencat.c: Likewise.
17418 * csu/version.c: Likewise.
17419 * debug/catchsegv.sh: Likewise.
17420 * debug/xtrace.sh: Likewise.
17421 * elf/ldconfig.c: Likewise.
17422 * elf/ldd.bash.in: Likewise.
17423 * elf/sprof.c (print_version): Likewise.
17424 * iconv/iconv_prog.c: Likewise.
17425 * iconv/iconvconfig.c: Likewise.
17426 * locale/programs/locale.c: Likewise.
17427 * locale/programs/localedef.c: Likewise.
17428 * malloc/memusage.sh: Likewise.
17429 * malloc/mtrace.pl: Likewise.
17430 * nscd/nscd.c (print_version): Likewise.
17431 * nss/getent.c: Likewise.
17432
a77e8cbc
UD
17433 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17434 PF_CAIF, and PF_ALG.
17435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17436
77e8bddf
AS
174372011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17438
1f20b93a
AS
17439 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17440 (modules-names): Use them.
17441 (ifunc-test-modules, ifunc-pie-tests): Define.
17442 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17443 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17444 (test-extras): Likewise.
17445 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17446 $(compile-command.c).
17447 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17448 (all-built-dso): Define.
17449 (check-textrel.out, check-execstack.out): Depend on it.
17450
77e8bddf
AS
17451 * configure.in: Don't override --enable-multi-arch.
17452
bc425b33
UD
174532011-01-15 Ulrich Drepper <drepper@gmail.com>
17454
17455 [BZ #6812]
17456 * nscd/hstcache.c (tryagain): Define.
17457 (cache_addhst): Return tryagain not notfound for temporary errors.
17458 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17459 failed.
17460
794c3ad3
UD
174612011-01-14 Ulrich Drepper <drepper@gmail.com>
17462
70181fdd
UD
17463 [BZ #10563]
17464 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17465 to make the syscall.
17466 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17467
794c3ad3
UD
17468 [BZ #12378]
17469 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17470 and fall back to matching as normal character if the string ends before
17471 the matching ']' is found. This is what POSIX requires.
17472 * posix/testfnm.c: Adjust test result.
17473 * posix/globtest.sh: Adjust test result. Add new test.
17474 * posix/tst-fnmatch.input: Likewise.
17475 * posix/tst-fnmatch2.c: Add new test.
17476
68dc9497
AS
174772010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17478
17479 * elf/Makefile (check-execstack): Revert last change. Depend on
17480 check-execstack.h.
17481 (check-execstack.h): New target.
17482 (generated): Add check-execstack.h.
17483 * elf/check-execstack.c: Include "check-execstack.h".
17484 (main): Revert last change.
17485 (handle_file): Return zero if GNU_STACK is absent and
17486 DEFAULT_STACK_PERMS doesn't include PF_X.
17487
451f001b
UD
174882011-01-13 Ulrich Drepper <drepper@gmail.com>
17489
cfa28e56
UD
17490 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17491 in child fails because the descriptor is already closed.
8cf8ce17
UD
17492 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17493 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17494 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17495
1086d70d
UD
17496 [BZ #12397]
17497 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17498 syscall.
17499
451f001b
UD
17500 [BZ #10484]
17501 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17502 temporary buffer used to handle multi lookups locally.
a85b5cb4 17503 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17504
08769175
UD
175052011-01-12 Ulrich Drepper <drepper@gmail.com>
17506
17507 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17508 loader is ld.so.
17509
5e49c52e
UD
175102011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17511
17512 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17513 alignment for SSE2.
17514
60522a5f
UD
175152011-01-12 Ulrich Drepper <drepper@gmail.com>
17516
17517 [BZ #12394]
17518 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17519 characters. When rounding increased number of integer digits recompute
17520 number of groups.
17521 * stdio-common/tst-grouping.c: New file.
17522 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17523
f257bbd7
UD
175242011-01-09 Ulrich Drepper <drepper@gmail.com>
17525
17526 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17527 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17528
17529 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17530 void.
17531 * bits/select.h: Likewise.
17532
fa9c15cb
UD
175332011-01-08 Ulrich Drepper <drepper@gmail.com>
17534
17535 * po/ja.po: Update from translation team.
17536
16c2895f
DM
175372011-01-04 David S. Miller <davem@sunset.davemloft.net>
17538
17539 [BZ #11155]
17540 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17541 implementation just like for lxstat, fxstatat, et al.
17542
2543fef2
JM
175432010-12-27 Jim Meyering <meyering@redhat.com>
17544
17545 [BZ #12348]
17546 * posix/regexec.c (build_trtable): Return failure indication upon
17547 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17548
98727dbe
UD
175492010-12-25 Ulrich Drepper <drepper@gmail.com>
17550
5bd6dc5c
UD
17551 [BZ #12201]
17552 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17553 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17554 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17555 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17556
97983464
UD
17557 [BZ #12207]
17558 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17559
98727dbe
UD
17560 [BZ #12204]
17561 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17562 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17563
4a531bb0
L
175642010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17565
17566 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17567 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17568 script has SORT_BY_INIT_PRIORITY.
17569 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17570 NO_CTORS_DTORS_SECTIONS is defined.
17571 * elf/soinit.c: Likewise.
17572 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17573 NO_CTORS_DTORS_SECTIONS is defined.
17574 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17575 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17576 * sysdeps/sh/init-first.c: Likewise.
17577 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17578
07eb4b71
UD
175792010-12-24 Ulrich Drepper <drepper@gmail.com>
17580
17581 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17582 always use the slow path.
17583
30950a5f
RA
175842010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17585
17586 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17587 similar rule which adds the sysdep directories to the header search in
17588 order to pick up the correct platform stackinfo.h.
17589 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17590 perform test if it is, otherwise return successfully without testing.
17591 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17592 DEFAULT_STACK_PERMS define in stackinfo.h.
17593 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17594 defined in stackinfo.h.
17595 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17596 DEFAULT_STACK_PERMS defined in stackinfo.h.
17597 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17598 * sysdeps/ia64/stackinfo.h: Likewise.
17599 * sysdeps/s390/stackinfo.h: Likewise.
17600 * sysdeps/sh/stackinfo.h: Likewise.
17601 * sysdeps/sparc/stackinfo.h: Likewise.
17602 * sysdeps/x86_64/stackinfo.h: Likewise.
17603 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17604 PF_X for powerpc64. Retain PF_X for powerpc32.
17605
db753e2c
UD
176062010-12-19 Ulrich Drepper <drepper@gmail.com>
17607
14b697f7
UD
17608 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17609 accurately.
db753e2c
UD
17610 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17611 GETDENTS_64BIT_ALIGNED.
17612
28300719
UD
176132010-12-14 Ulrich Drepper <dreper@gmail.com>
17614
14b697f7 17615 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17616
4f197237
AS
176172010-12-10 Andreas Schwab <schwab@redhat.com>
17618
dbb0472f
AS
17619 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17620 _GNU_SOURCE.
17621
4f197237
AS
17622 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17623 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17624 Remove __restrict.
17625 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17626 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17627
fb88ac72
UD
176282010-12-09 Ulrich Drepper <drepper@gmail.com>
17629
17630 [BZ #11655]
17631 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17632 are initialized.
17633
42acbb92
JJ
176342010-12-09 Jakub Jelinek <jakub@redhat.com>
17635
17636 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17637
c038d98d
UD
176382010-12-03 Ulrich Drepper <drepper@gmail.com>
17639
17640 * po/it.po: Update from translation team.
17641
3a4a2499
L
176422010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17643
17644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17645 unused codes.
17646
1e24cf6e
UD
176472010-11-30 Ulrich Drepper <drepper@gmail.com>
17648
17649 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17650
a7690819
AS
176512010-11-24 Andreas Schwab <schwab@redhat.com>
17652
17653 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17654 specially.
17655 (gaih_getanswer_slice): Likewise.
17656
3bf8d1b1
JJ
176572010-10-20 Jakub Jelinek <jakub@redhat.com>
17658
17659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17660
6db52fbb
PB
176612010-05-31 Petr Baudis <pasky@suse.cz>
17662
17663 [BZ #11149]
17664 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17665 silently even in the chroot mode.
17666
eaca7569
UD
176672010-11-22 Ulrich Drepper <drepper@gmail.com>
17668
17669 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17670 last patch a bit. Pretty printing
17671
3056dcdb
UD
176722010-05-31 Petr Baudis <pasky@suse.cz>
17673
17674 [BZ #10085]
17675 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17676 initialization of skip_initgroups_dyn.
17677
cf7c9078
UD
176782010-11-19 Ulrich Drepper <drepper@gmail.com>
17679
17680 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17681 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17682
a1fb5e3e
UD
176832010-11-16 Ulrich Drepper <drepper@gmail.com>
17684
17685 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17686
3540d66b
AS
176872010-11-11 Andreas Schwab <schwab@redhat.com>
17688
17689 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17690 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17691 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17692 ($(objpfx)tst-fnmatch-mem): New rule.
17693 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17694 * posix/tst-fnmatch.c (main): Call mtrace.
17695
13b69574
L
176962010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17697
17698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17699 Support Intel processor model 6 and model 0x2c.
17700
da93d214
LM
177012010-11-10 Luis Machado <luisgpm@br.ibm.com>
17702
17703 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17704 signed comparison.
17705
8ca52c6e
L
177062010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17707
17708 [BZ #12205]
17709 * string/test-strncasecmp.c (check_result): New function.
17710 (do_one_test): Use it.
17711 (check1): New function.
17712 (test_main): Use it.
17713 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17714 Support strcasecmp and strncasecmp.
17715
69da074d
UD
177162010-11-08 Ulrich Drepper <drepper@gmail.com>
17717
17718 [BZ #12194]
17719 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17720 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17721
ff02d528
L
177222010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17723
17724 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17725 IFUNC support.
17726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17727 memset-x86-64.
17728 * sysdeps/x86_64/multiarch/bzero.S: New file.
17729 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17730 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17731 * sysdeps/x86_64/multiarch/memset.S: New file.
17732 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17734 Set bit_Prefer_SSE_for_memop for Intel processors.
17735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17736 Define.
17737 (index_Prefer_SSE_for_memop): Define.
17738 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17739
344d0b54
LM
177402010-11-04 Luis Machado <luisgpm@br.ibm.com>
17741
17742 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17743 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17744
c0dde15b
UD
177452010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17746
17747 [BZ #12191]
17748 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17749 (__x86_64_raw_data_cache_size_half): Likewise.
17750 (__x86_64_raw_shared_cache_size): Likewise.
17751 (__x86_64_raw_shared_cache_size_half): Likewise.
17752
17753 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17754 (__x86_64_raw_data_cache_size_half): Likewise.
17755 (__x86_64_raw_shared_cache_size): Likewise.
17756 (__x86_64_raw_shared_cache_size_half): Likewise.
17757 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17758 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17759 and __x86_64_raw_shared_cache_size_half. Round
17760 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17761 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17762 to multiple of 256 bytes.
17763
0e516e0e
MS
177642010-11-03 Ulrich Drepper <drepper@gmail.com>
17765
17766 [BZ #12167]
17767 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17768 of inacessible symlinks. Verify result of symlink before returning it.
17769 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17770 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17771
0e012e87
ER
177722010-10-28 Erich Ritz <erichritz@gmail.com>
17773
17774 * math/math.h (isinf): Fix typo in comment.
17775
de0ff7bc
UD
177762010-11-01 Ulrich Drepper <drepper@gmail.com>
17777
17778 * po/da.po: Update from translation team.
17779
fa41c84d
UD
177802010-10-26 Ulrich Drepper <drepper@gmail.com>
17781
17782 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17783 is added to the list.
17784
f0967738
AK
177852010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17786 Ulrich Drepper <drepper@gmail.com>
17787
17788 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17789 the global list here. Move code to...
17790 (_dl_add_to_namespace_list): ...here. New function.
17791 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17792 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17793 * elf/dl-load.c (lose): Don't remove the element from the list.
17794 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17795 (_dl_map_object): Likewise.
17796
177972010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17798
17799 [BZ #12159]
17800 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17801 into all bytes of SSE register.
17802 Patch by Richard Li <richardpku@gmail.com>.
17803
f0967738 178042010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17805
17806 [BZ #12140]
17807 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17808 perturbing.
17809
d0b9e94f
MB
178102010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17811
17812 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17813 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17814 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17815 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17817 submachine.
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17819
8e9f92e9
AS
178202010-10-22 Andreas Schwab <schwab@redhat.com>
17821
17822 * include/dlfcn.h (__RTLD_SECURE): Define.
17823 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17824 mode & __RTLD_SECURE instead.
17825 (open_path): Rename preloaded parameter to secure.
17826 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17827 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17828 * elf/dl-deps.c (openaux): Likewise.
17829 * elf/rtld.c (struct map_args): Remove is_preloaded.
17830 (map_doit): Don't use it.
17831 (dl_main): Likewise.
17832 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17833 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17834
bc96fbda
AS
178352010-09-09 Andreas Schwab <schwab@redhat.com>
17836
17837 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17838 (sysd-rules-targets): Remove duplicates.
17839 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17840 rtld-%.$o dependency.
17841
22cd1c9b
AS
178422010-10-18 Andreas Schwab <schwab@redhat.com>
17843
17844 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17845 _dl_map_object do it.
17846
18edac48
UD
178472010-10-19 Ulrich Drepper <drepper@gmail.com>
17848
17849 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17850 fast fma builtins, define the macros in the C99 standard.
17851 (FP_FAST_FMAF): Likewise.
17852 (FP_FAST_FMAL): Likewise.
17853 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17854
17855 * bits/mathdef.h: Update copyright year.
17856 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17857
d2050124
MM
178582010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17859
17860 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17861 builtins, define the macros in the C99 standard.
17862 (FP_FAST_FMAF): Likewise.
17863 (FP_FAST_FMAL): Likewise.
17864 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17865 multiply/add.
17866 (FP_FAST_FMAF): Likewise.
17867
475facd1
JJ
178682010-10-15 Jakub Jelinek <jakub@redhat.com>
17869
17870 [BZ #3268]
17871 * math/libm-test.inc (fma_test): Some new testcases.
17872 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17873 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17874 y and infinite z. Do multiplication by C already in long double.
17875 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17877 y and infinite z. Do bitwise or of inexact bit into u.d.
17878 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17879 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17880 * sysdeps/i386/fpu/s_fma.S: Removed.
17881 * sysdeps/i386/fpu/s_fmal.S: Removed.
17882
7c08a05c
JJ
178832010-10-16 Jakub Jelinek <jakub@redhat.com>
17884
17885 [BZ #3268]
17886 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17888 computation is not scheduled after fetestexcept. Fix value
17889 of minimum denormal long double.
17890
f3f7372d
JJ
178912010-10-14 Jakub Jelinek <jakub@redhat.com>
17892
17893 [BZ #3268]
17894 * math/libm-test.inc (fma_test): Add some more tests.
17895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17896 correctly.
17897
14d43591
AS
178982010-10-15 Andreas Schwab <schwab@redhat.com>
17899
17900 * scripts/data/localplt-s390-linux-gnu.data: New file.
17901 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17902
5e908464
JJ
179032010-10-13 Jakub Jelinek <jakub@redhat.com>
17904
17905 [BZ #3268]
17906 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17907 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17908 instead of dbl-64.
17909 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17910 inlines.
17911 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17913 if one of x and y is very large and the other is subnormal.
17914 * sysdeps/s390/fpu/s_fmaf.c: New file.
17915 * sysdeps/s390/fpu/s_fma.c: New file.
17916 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17917 * sysdeps/powerpc/fpu/s_fma.S: New file.
17918 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17919 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17920 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17921
179222010-10-12 Jakub Jelinek <jakub@redhat.com>
17923
17924 [BZ #3268]
17925 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17926 fma tests.
17927 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17928 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17929 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17930 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17931 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17932 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17933 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17934
b833d51f
UD
179352010-10-12 Ulrich Drepper <drepper@redhat.com>
17936
17937 [BZ #12078]
17938 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17939 * posix/bug-regex31.input: Add test case.
17940
1751705d
UD
179412010-10-11 Ulrich Drepper <drepper@gmail.com>
17942
e9b9cbf5
UD
17943 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17944 * posix/bug-regex31.input: New file.
17945
17946 [BZ #12078]
17947 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17948 (parse_sub_exp): Fix last change, use postorder.
17949
ef06edbe
UD
17950 * posix/bug-regex31.c: New file.
17951 * posix/Makefile: Add rules to build and run bug-regex31.
17952
a129c80d
UD
17953 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17954
17955 [BZ #12078]
17956 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17957
b76b818e
UD
17958 [BZ #12108]
17959 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17960 to have entries in sys_siglist.
17961
1751705d
UD
17962 [BZ #12093]
17963 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17964 be NULL.
17965
9ff8d36f
JJ
179662010-10-07 Jakub Jelinek <jakub@redhat.com>
17967
17968 [BZ #3268]
17969 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17970 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17971 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17972 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17973 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17974 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17975 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17976 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17977 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17978 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17979 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17980 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17981 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17982 * math/ftestexcept.c (fetestexcept): Likewise.
17983 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17984 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17985 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17986 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17987 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17988 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17989 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17990
af325969
UD
179912010-10-11 Ulrich Drepper <drepper@gmail.com>
17992
c579b202 17993 [BZ #12107]
af325969
UD
17994 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17995 newline.
17996
67a67b95
UD
179972010-10-06 Ulrich Drepper <drepper@gmail.com>
17998
17999 * string/bug-strstr1.c: New file.
18000 * string/Makefile: Add rules to build and run bug-strstr1.
18001
5fb308bc
EB
180022010-10-05 Eric Blake <eblake@redhat.com>
18003
18004 [BZ #12092]
18005 * string/str-two-way.h (two_way_long_needle): Always clear memory
18006 when skipping input due to the shift table.
18007
45db99c7
UD
180082010-10-03 Ulrich Drepper <drepper@gmail.com>
18009
3b111893
UD
18010 [BZ #12005]
18011 * malloc/mcheck.c: Handle large requests.
18012
45db99c7
UD
18013 [BZ #12077]
18014 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18015 for strncmp and strncasecmp.
18016 * string/stratcliff.c: Add tests for strcmp and strncmp.
18017 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18018
cf7a1eb8
NI
180192010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18020
18021 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18022 __set_fpscr.
18023
6484ba5e
AJ
180242010-09-30 Andreas Jaeger <aj@suse.de>
18025
18026 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18027 (CGROUP_SUPER_MAGIC): Define.
18028 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18029 Handle btrfs and cgroup file systems.
18030 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18031 Likewise.
18032
91c42559
LM
180332010-09-27 Luis Machado <luisgpm@br.ibm.com>
18034
18035 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18036 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18037
87a97932
AK
180382010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18039
18040 [BZ #12067]
18041 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18042 trying to locate the ELF header.
18043
c21cc9bc
AS
180442010-09-27 Andreas Schwab <schwab@redhat.com>
18045
18046 [BZ #11611]
18047 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18048 Mask out sign-bit copies when constructing f_fsid.
18049
315970f6
PB
180502010-09-24 Petr Baudis <pasky@suse.cz>
18051
18052 * debug/stack_chk_fail_local.c: Add missing licence exception.
18053 * debug/warning-nop.c: Likewise.
18054
1ac7a2c7
JM
180552010-09-15 Joseph Myers <joseph@codesourcery.com>
18056
18057 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18058 implementing getdents64 using getdents syscall, set d_type if
18059 __ASSUME_GETDENTS32_D_TYPE.
18060
56801c50
AS
180612010-09-16 Andreas Schwab <schwab@redhat.com>
18062
18063 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18064 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18065
dda51327
UD
180662010-09-21 Ulrich Drepper <drepper@redhat.com>
18067
18068 [BZ #12037]
18069 * posix/unistd.h: Undo change of feature selection for ftruncate from
18070 2010-01-11.
18071
8ffcee4a
UD
180722010-09-20 Ulrich Drepper <drepper@redhat.com>
18073
a545ecd9 18074 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18075 detection.
18076
e24f0a8b
AS
180772010-09-20 Andreas Schwab <schwab@redhat.com>
18078
18079 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18080 fanotify_mark.
18081 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18082
7291c56f
AS
180832010-09-14 Andreas Schwab <schwab@redhat.com>
18084
18085 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18086 variables after CHECK_SP call.
18087 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18088
bc5fb037
AS
180892010-09-13 Andreas Schwab <schwab@redhat.com>
18090 Ulrich Drepper <drepper@redhat.com>
18091
18092 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18093 re-relocationg ld.so.
18094 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18095 _dl_init_paths call.
18096 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18097 here anymore.
18098
e66e7419
UD
180992010-09-14 Ulrich Drepper <drepper@redhat.com>
18100
18101 * resolv/res_init.c (__res_vinit): Count the default server we added.
18102
c044aa75
CLT
181032010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18104 Ulrich Drepper <drepper@redhat.com>
18105
18106 [BZ #11968]
18107 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18108 (____longjmp_chk): Use %ebx for saving value across system call.
18109 Add unwind info.
18110
32cf4069
AS
181112010-09-06 Andreas Schwab <schwab@redhat.com>
18112
18113 * manual/Makefile: Don't mix pattern rules with normal rules.
18114
817328ee
AS
181152010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18116
18117 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18118 operation.
18119 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18120 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18121 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18122 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18124 Likewise.
18125
29fddf61
UD
181262010-09-04 Ulrich Drepper <drepper@redhat.com>
18127
18128 [BZ #11979]
18129 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18130 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18131
0959ffc9
UD
181322010-09-02 Ulrich Drepper <drepper@redhat.com>
18133
18134 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18135 * sysdeps/x86_64/addmul_1.S: Likewise.
18136 * sysdeps/x86_64/lshift.S: Likewise.
18137 * sysdeps/x86_64/mul_1.S: Likewise.
18138 * sysdeps/x86_64/rshift.S: Likewise.
18139 * sysdeps/x86_64/sub_n.S: Likewise.
18140 * sysdeps/x86_64/submul_1.S: Likewise.
18141
ece29840
ST
181422010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18143
0959ffc9
UD
18144 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18145 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18146 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18147 * bits/sched.h [__need_schedparam]
ece29840 18148 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18149 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18150 (__defined_schedparam): Define to 1.
ece29840
ST
18151 (__sched_param): New structure, identical to sched_param.
18152 (__need_schedparam): Undefine.
18153
e53a31fe
MF
181542010-08-31 Mike Frysinger <vapier@gentoo.org>
18155
fdc0c10d
MF
18156 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18157 (epoll_create1): Declare.
18158
e53a31fe
MF
18159 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18160
a726d796
AS
181612010-08-31 Andreas Schwab <schwab@redhat.com>
18162
18163 [BZ #7066]
18164 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18165 shifting retval into place.
18166
2f3e3dc7
UD
181672010-09-01 Ulrich Drepper <drepper@redhat.com>
18168
f2933da9
UD
18169 * nis/rpcsvc/nis.h: Update copyright notice.
18170 * nis/rpcsvc/nis.x: Likewise.
18171 * nis/rpcsvc/nis_callback.h: Likewise.
18172 * nis/rpcsvc/nis_callback.x: Likewise.
18173 * nis/rpcsvc/nis_object.x: Likewise.
18174 * nis/rpcsvc/nis_tags.h: Likewise.
18175 * nis/rpcsvc/yp.h: Likewise.
18176 * nis/rpcsvc/yp.x: Likewise.
18177 * nis/rpcsvc/ypupd.h: Likewise.
18178 * nis/yp_xdr.c: Likewise.
18179 * nis/ypupdate_xdr.c: Likewise.
18180
2f3e3dc7
UD
18181 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18182 mainly the body of pmap_getport. Add parameters to specify timeouts.
18183 (pmap_getport): Use __libc_rpc_getport.
18184 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18185 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18186 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18187
f3dcc2f9
AS
181882010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18189
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18191 fanotify_mark.
18192
6d34eb5b
RM
181932010-08-27 Roland McGrath <roland@redhat.com>
18194
18195 * sysdeps/i386/i686/multiarch/Makefile
18196 (CFLAGS-varshift.c): New variable.
18197
9ea3de11
UD
181982010-08-27 Ulrich Drepper <drepper@redhat.com>
18199
c96d23fc
UD
18200 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18201 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18202
9ea3de11
UD
18203 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18204
18205 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18206
623aac7f
L
182072010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18208
18209 * sysdeps/x86_64/strlen.S: Unroll the loop.
18210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18211 strlen-sse2 strlen-sse2-bsf.
18212 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18213 __strlen_no_bsf if bit_Slow_BSF is set.
18214 (__strlen_sse42): Removed.
18215 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18216 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18217
8b2b7715
RM
182182010-08-25 Roland McGrath <roland@redhat.com>
18219
18220 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18221 * sysdeps/x86_64/multiarch/varshift.c: New file.
18222 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18223 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18224 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18225 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18226
e73015f2
L
182272010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18228
18229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18230 strlen-sse2 strlen-sse2-bsf.
18231 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18232 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18233 (__strlen_sse2): Removed.
18234 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18235 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18237 bit_Slow_BSF for Atom.
18238 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18239 (index_Slow_BSF): Define.
18240 (HAS_SLOW_BSF): Define.
18241
df24a73e
UD
182422010-08-25 Ulrich Drepper <drepper@redhat.com>
18243
18244 [BZ #10851]
18245 * resolv/res_init.c (__res_vinit): When no server address at all
18246 is given default to loopback.
18247
f2ac4868
RM
182482010-08-24 Roland McGrath <roland@redhat.com>
18249
09055553
RM
18250 * configure.in: Remove config-name.h generation.
18251 * configure: Regenerated.
18252 * config-name.in: File removed.
18253 * scripts/config-uname.sh: New file.
18254 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18255 ($(objdir)config-name.h): New target.
18256
f2ac4868
RM
18257 * sunrpc/rpc_parse.h: Avoid nested comment.
18258
73f27d5e
RH
182592010-08-24 Richard Henderson <rth@redhat.com>
18260 Ulrich Drepper <drepper@redhat.com>
18261 H.J. Lu <hongjiu.lu@intel.com>
18262
18263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18265 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18266 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18267 _mm_alignr_epi8 with _mm_loadu_si128.
18268 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18269 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18270 (__m128i_shift_right): Removed.
18271 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18272 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18273 * sysdeps/x86_64/multiarch/varshift.h: New file.
18274 * sysdeps/x86_64/multiarch/varshift.S: New file.
18275
84b9230c
MF
182762010-08-21 Mike Frysinger <vapier@gentoo.org>
18277
18278 * configure.in: Move assembler checks to before sysdep dir checking.
18279
9bbd0ddc
PB
182802010-08-20 Petr Baudis <pasky@suse.cz>
18281
18282 * LICENSES: Sync the sunrpc license.
18283
9da4bb31
UD
182842010-08-19 Ulrich Drepper <drepper@redhat.com>
18285
a7ab6ec8
UD
18286 * sunrpc/auth_des.c: Update copyright notice once again.
18287 * sunrpc/auth_none.c: Likewise.
18288 * sunrpc/auth_unix.c: Likewise.
18289 * sunrpc/authdes_prot.c: Likewise.
18290 * sunrpc/authuxprot.c: Likewise.
18291 * sunrpc/bindrsvprt.c: Likewise.
18292 * sunrpc/clnt_gen.c: Likewise.
18293 * sunrpc/clnt_perr.c: Likewise.
18294 * sunrpc/clnt_raw.c: Likewise.
18295 * sunrpc/clnt_simp.c: Likewise.
18296 * sunrpc/clnt_tcp.c: Likewise.
18297 * sunrpc/clnt_udp.c: Likewise.
18298 * sunrpc/clnt_unix.c: Likewise.
18299 * sunrpc/des_crypt.c: Likewise.
18300 * sunrpc/des_soft.c: Likewise.
18301 * sunrpc/get_myaddr.c: Likewise.
18302 * sunrpc/getrpcport.c: Likewise.
18303 * sunrpc/key_call.c: Likewise.
18304 * sunrpc/key_prot.c: Likewise.
18305 * sunrpc/openchild.c: Likewise.
18306 * sunrpc/pm_getmaps.c: Likewise.
18307 * sunrpc/pm_getport.c: Likewise.
18308 * sunrpc/pmap_clnt.c: Likewise.
18309 * sunrpc/pmap_prot.c: Likewise.
18310 * sunrpc/pmap_prot2.c: Likewise.
18311 * sunrpc/pmap_rmt.c: Likewise.
18312 * sunrpc/rpc/auth.h: Likewise.
18313 * sunrpc/rpc/auth_unix.h: Likewise.
18314 * sunrpc/rpc/clnt.h: Likewise.
18315 * sunrpc/rpc/des_crypt.h: Likewise.
18316 * sunrpc/rpc/key_prot.h: Likewise.
18317 * sunrpc/rpc/netdb.h: Likewise.
18318 * sunrpc/rpc/pmap_clnt.h: Likewise.
18319 * sunrpc/rpc/pmap_prot.h: Likewise.
18320 * sunrpc/rpc/pmap_rmt.h: Likewise.
18321 * sunrpc/rpc/rpc.h: Likewise.
18322 * sunrpc/rpc/rpc_des.h: Likewise.
18323 * sunrpc/rpc/rpc_msg.h: Likewise.
18324 * sunrpc/rpc/svc.h: Likewise.
18325 * sunrpc/rpc/svc_auth.h: Likewise.
18326 * sunrpc/rpc/types.h: Likewise.
18327 * sunrpc/rpc/xdr.h: Likewise.
18328 * sunrpc/rpc_clntout.c: Likewise.
18329 * sunrpc/rpc_cmsg.c: Likewise.
18330 * sunrpc/rpc_common.c: Likewise.
18331 * sunrpc/rpc_cout.c: Likewise.
18332 * sunrpc/rpc_dtable.c: Likewise.
18333 * sunrpc/rpc_hout.c: Likewise.
18334 * sunrpc/rpc_main.c: Likewise.
18335 * sunrpc/rpc_parse.c: Likewise.
18336 * sunrpc/rpc_parse.h: Likewise.
18337 * sunrpc/rpc_prot.c: Likewise.
18338 * sunrpc/rpc_sample.c: Likewise.
18339 * sunrpc/rpc_scan.c: Likewise.
18340 * sunrpc/rpc_scan.h: Likewise.
18341 * sunrpc/rpc_svcout.c: Likewise.
18342 * sunrpc/rpc_tblout.c: Likewise.
18343 * sunrpc/rpc_util.c: Likewise.
18344 * sunrpc/rpc_util.h: Likewise.
18345 * sunrpc/rpcinfo.c: Likewise.
18346 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18347 * sunrpc/rpcsvc/key_prot.x: Likewise.
18348 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18349 * sunrpc/rpcsvc/mount.x: Likewise.
18350 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18351 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18352 * sunrpc/rpcsvc/rex.x: Likewise.
18353 * sunrpc/rpcsvc/rstat.x: Likewise.
18354 * sunrpc/rpcsvc/rusers.x: Likewise.
18355 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18356 * sunrpc/rpcsvc/spray.x: Likewise.
18357 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18358 * sunrpc/rtime.c: Likewise.
18359 * sunrpc/svc.c: Likewise.
18360 * sunrpc/svc_auth.c: Likewise.
18361 * sunrpc/svc_authux.c: Likewise.
18362 * sunrpc/svc_raw.c: Likewise.
18363 * sunrpc/svc_run.c: Likewise.
18364 * sunrpc/svc_simple.c: Likewise.
18365 * sunrpc/svc_tcp.c: Likewise.
18366 * sunrpc/svc_udp.c: Likewise.
18367 * sunrpc/svc_unix.c: Likewise.
18368 * sunrpc/svcauth_des.c: Likewise.
18369 * sunrpc/xcrypt.c: Likewise.
18370 * sunrpc/xdr.c: Likewise.
18371 * sunrpc/xdr_array.c: Likewise.
18372 * sunrpc/xdr_float.c: Likewise.
18373 * sunrpc/xdr_mem.c: Likewise.
18374 * sunrpc/xdr_rec.c: Likewise.
18375 * sunrpc/xdr_ref.c: Likewise.
18376 * sunrpc/xdr_sizeof.c: Likewise.
18377 * sunrpc/xdr_stdio.c: Likewise.
18378
9da4bb31
UD
18379 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18380 handling.
18381
bdaa77bc
AS
183822010-08-19 Andreas Schwab <schwab@redhat.com>
18383
18384 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18385
fe2f79db
LM
183862010-08-19 Luis Machado <luisgpm@br.ibm.com>
18387
18388 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18389 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18390 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18391 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18392 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18393 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18394 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18395 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18396 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18397 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18398 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18399 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18400 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18401 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18402
b9b42ee0
AB
184032010-07-26 Anton Blanchard <anton@samba.org>
18404
18405 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18406 * malloc/arena.c (heap_trim): Likewise.
18407
1c06ba31
UD
184082010-08-16 Ulrich Drepper <drepper@redhat.com>
18409
18410 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18411 here. Not...
18412 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18413 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18414
f8392f40
L
184152010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18416
18417 * sysdeps/i386/elf/Makefile: New file.
18418
3162f12e
AS
184192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18420
18421 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18422 from fanotify_init.
18423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18424 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18425
28c90b2c
UD
184262010-08-15 Ulrich Drepper <drepper@redhat.com>
18427
18428 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18429 of strncasecmp_l.
1feccb6c 18430 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18431
ca6bb004
UD
184322010-08-14 Ulrich Drepper <drepper@redhat.com>
18433
e9f82e0d
UD
18434 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18435 strncase_l-nonascii.
18436 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18437 Add strncase_l-ssse3.
18438 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18439 * sysdeps/x86_64/strcmp.S: Likewise.
18440 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18441 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18442 * sysdeps/x86_64/strncase.S: New file.
18443 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18444 * sysdeps/x86_64/strncase_l.S: New file.
18445 * string/Makefile (strop-tests): Add strncasecmp.
18446 * string/test-strncasecmp.c: New file.
18447
18448 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18449 warning.
18450
ca6bb004
UD
18451 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18452 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18453
052fa7b3
AS
184542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18455
18456 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18457
962dba78
UD
184582010-08-12 Ulrich Drepper <drepper@redhat.com>
18459
18460 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18461 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18462 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18463
bebff237
AM
184642010-05-01 Alan Modra <amodra@gmail.com>
18465
18466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18467 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18468 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18469 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18470 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18471 tidying. Don't tail-call __sigjmp_save for static lib.
18472 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18473 save location.
18474 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18475 (CALL_MCOUNT): Add eh info, and nop after bl.
18476 (TAIL_CALL_SYSCALL_ERROR): New macro.
18477 (PSEUDO_RET): Use it.
18478 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18479 Correct save location of integer regs and cr.
18480 (_dl_profile_resolve): Correct cr save location. Delete nops
18481 after bl when SHARED. Reduce cfi size a little by better
18482 placement of cfi directives.
18483 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18484 make a stack frame. Instead use parm save area as a temp.
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18486 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18488 Don't make a stack frame for parent, use parm save area.
18489 Increase child stack frame to 112 bytes. Don't save unused reg,
18490 and adjust reg usage. Set up cfi on error recovery and
18491 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18493 (__makecontext): Add dummy nop after jump to exit.
18494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18495 Use correct parm save area and cr save, reduce stack frame.
18496 Correct cfi for possible PSEUDO_RET frame setup.
18497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18498 Branch to local label emitted by PSEUDO_RET rather than
18499 __syscall_error.
18500
02637374
AS
185012010-08-12 Andreas Schwab <schwab@redhat.com>
18502
18503 [BZ #11904]
18504 * locale/programs/locale.c (print_assignment): New function.
18505 (show_locale_vars): Use it.
18506
c3e2f19b
UD
185072010-08-11 Ulrich Drepper <drepper@redhat.com>
18508
3cdaa6ad
UD
18509 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18510 field.
18511 (struct statfs64): Likewise.
18512 (_STATFS_F_FLAGS): Define.
18513 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18514 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18515 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18516 (ST_VALID): Define locally.
18517 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18518 __statvfs_getflags, use the provided value.
18519 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18520 __ASSUME_STATFS_F_FLAGS.
18521
754f7da3
UD
18522 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18523
10b3bedc
UD
18524 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18525 Add sys/fanotify.h.
18526 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18527 fanotify_mask for GLIBC_2.13.
18528 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18529 fanotify_init and fanotify_mark.
18530 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18531 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18532
c08fb0d7
UD
18533 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18534 Add prlimit.
18535 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18536 prlimit64 for GLIBC_2.13.
18537 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18538 prlimit64.
18539 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18540 syscall.
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18542 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18543 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18544 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18546 add prlimit alias.
18547 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18548
15bac72b
UD
18549 [BZ #11903]
18550 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18551 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18552
c3e2f19b
UD
18553 * nss/Makefile: Add rules to build and run tst-nss-test1.
18554 * shlib-versions: Add entry for libnss_test1.
18555 * nss/nss_test1.c: New file.
18556 * nss/tst-nss-test1.c: New file.
18557
18558 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18559 (__nss_configure_lookup): Set appropriate entry in
18560 __nss_configure_lookup to true.
18561 * nss/nsswitch.h: Define enum with indeces of databases in
18562 databases and __nss_database_custom arrays. Declare
18563 __nss_database_custom.
18564 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18565 to avoid using nscd when custom rules are installed.
18566 * nss/getXXbyYY_r.c: Likewise.
18567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18568
18569 * nss/nss_files/files-parse.c: Whitespace fixes.
18570
f15ce4d8
UD
185712010-08-09 Ulrich Drepper <drepper@redhat.com>
18572
18573 [BZ #11883]
18574 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18575 * posix/fnmatch_loop.c: Likewise.
18576
d22e4cc9
AK
185772010-07-17 Andi Kleen <ak@linux.intel.com>
18578
18579 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18580 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18581 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18582 * Versions.def [GLIBC_2.13]: Add.
18583
805bc17d
UD
185842010-08-06 Ulrich Drepper <drepper@redhat.com>
18585
18586 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18587 Also fail if tpwd after pwuid call is NULL.
18588
5a42321d
ST
185892010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18590
18591 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18592 when converting to ms.
18593
fd3ebeda
ST
185942010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18595
18596 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18597 EOPNOTSUPP errors with ENOTTY.
18598 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18599 EOPNOTSUPP errors with ENOTTY.
18600
73507d3a
UD
186012010-07-31 Ulrich Drepper <drepper@redhat.com>
18602
18603 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18604 Add strcasecmp_l-ssse3.
18605 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18606 strcasecmp.
18607 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18608 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18609 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18610
fe36dd02
UD
186112010-07-30 Ulrich Drepper <drepper@redhat.com>
18612
66f6765a
UD
18613 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18614
42e08a54
UD
18615 * string/Makefile (strop-tests): Add strcasecmp.
18616 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18617 strcasecmp_l-nonascii.
18618 (gen-as-const-headers): Add locale-defines.sym.
18619 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18620 * sysdeps/x86_64/strcasecmp.S: New file.
18621 * sysdeps/x86_64/strcasecmp_l.S: New file.
18622 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18623 * sysdeps/x86_64/locale-defines.sym: New file.
18624 * string/test-strcasecmp.c: New file.
18625
fe36dd02
UD
18626 * string/test-strcasestr.c: Test both ends of the range of characters.
18627 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18628
48cbc0d6
RM
186292010-07-29 Roland McGrath <roland@redhat.com>
18630
76e6d6bc 18631 [BZ #11856]
48cbc0d6
RM
18632 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18633
880113d9
UD
186342010-07-27 Ulrich Drepper <drepper@redhat.com>
18635
18636 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18637 for ld.so.
18638
deb9cabb
AS
186392010-07-27 Andreas Schwab <schwab@redhat.com>
18640
18641 * manual/memory.texi (Malloc Tunable Parameters): Document
18642 M_PERTURB.
18643
1c7570ff
RM
186442010-07-26 Roland McGrath <roland@redhat.com>
18645
18646 [BZ #11840]
18647 * configure.in (-fgnu89-inline check): Set and substitute
18648 gnu89_inline, not libc_cv_gnu89_inline.
18649 * configure: Regenerated.
18650 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18651
24fb0f88
UD
186522010-07-26 Ulrich Drepper <drepper@redhat.com>
18653
18654 * string/test-strnlen.c: New file.
18655 * string/Makefile (strop-tests): Add strnlen.
18656 * string/tester.c (test_strnlen): Add a few more test cases.
18657 * string/tst-strlen.c: Better error reporting.
18658
18659 * sysdeps/x86_64/strnlen.S: New file.
18660
8e96b93a
UD
186612010-07-24 Ulrich Drepper <drepper@redhat.com>
18662
18663 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18664 lower-latency instructions.
18665
dbc676d4
UD
186662010-07-23 Ulrich Drepper <drepper@redhat.com>
18667
18668 * string/test-strcasestr.c: New file.
18669 * string/test-strstr.c: New file.
18670 * string/Makefile (strop-tests): Add strstr and strcasestr.
18671 * string/str-two-way.h: Don't undefine MAX.
18672 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18673
f6a31e0e
AS
186742010-07-21 Andreas Schwab <schwab@redhat.com>
18675
18676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18677 strcasestr-nonascii.
18678 (CFLAGS-strcasestr-nonascii.c): Define.
18679 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18680 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18681 Remove unused attribute.
18682
5dbc3b6c
RM
186832010-07-20 Roland McGrath <roland@redhat.com>
18684
18685 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18686 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18687 ld.so.cache was broken. With it, there is no way to disable dsocaps
18688 like LD_HWCAP_MASK can disable hwcaps.
18689
23d101d8
EPM
186902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18691
18692 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18693
cc9f2e47
UD
186942010-07-16 Ulrich Drepper <drepper@redhat.com>
18695
18696 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18697 call in strcasestr.
18698 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18699 __strcasestr_sse42_nonascii.
18700 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18701 strcasestr-nonascii.c.
18702 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18703
77c1b069
LM
187042010-06-15 Luis Machado <luisgpm@br.ibm.com>
18705
18706 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18707 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18708 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18709 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18710
440566c3
UD
187112010-07-09 Ulrich Drepper <drepper@redhat.com>
18712
18713 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18714 fcntl.
18715
5be9d05d
AS
187162010-07-06 Andreas Schwab <schwab@redhat.com>
18717
c30b7ee2 18718 [BZ #11577]
5be9d05d
AS
18719 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18720 dl_signal_cerror.
18721
8a492a67
UD
187222010-07-06 Ulrich Drepper <drepper@redhat.com>
18723
18724 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18725 _PC_PIPE_BUF using F_GETPIPE_SZ.
18726
713df3d5
RM
187272010-07-05 Roland McGrath <roland@redhat.com>
18728
18729 * manual/arith.texi (Rounding Functions): Fix rint description
18730 implicit in round description.
18731
702e8f14
UD
187322010-07-02 Ulrich Drepper <drepper@redhat.com>
18733
18734 * elf/Makefile: Fix linking for a few tests to make recent linker
18735 happy.
18736
52ed8be9
AS
187372010-06-30 Andreas Schwab <schwab@redhat.com>
18738
18739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18740 $(common-objpfx)libc_nonshared.a.
18741
f47c9a11
LM
187422010-06-21 Luis Machado <luisgpm@br.ibm.com>
18743
18744 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18745 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18746 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18747 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18748 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18749 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18750 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18751 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18766 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18767 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18768 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18769 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18770 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18771 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18772 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18773 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18774 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18775 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18776 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18777 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18792
6fb8cbcb
L
187932010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18794
18795 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18796 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18797 * string/memmove.c (memmove): Renamed to ...
18798 (MEMMOVE): ...this. Default to memmove.
18799 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18800 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18801 (END_CHK): Define.
18802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18803 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18804 mempcpy-ssse3-back memmove-ssse3-back.
18805 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18807 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18808 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18809 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18810 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18811 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18812 * sysdeps/x86_64/multiarch/memmove.c: New file.
18813 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18814 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18815 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18816 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18817 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18818 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18819 Define.
18820 (index_Fast_Copy_Backward): Define.
18821 (HAS_ARCH_FEATURE): Define.
18822 (HAS_FAST_REP_STRING): Define.
18823 (HAS_FAST_COPY_BACKWARD): Define.
18824
4e733bac 188252010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18826
18827 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18828 Restore proper fallback handling.
18829
63c4ed22
UD
188302010-06-19 Ulrich Drepper <drepper@redhat.com>
18831
ac2b484c
UD
18832 [BZ #11701]
18833 * posix/group_member.c (__group_member): Correct checking loop.
18834
63c4ed22
UD
18835 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18836 OOM in getpwuid_r correctly. Return error number when the caller
18837 should return, otherwise -1.
18838 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18839 call returning > 0 value.
18840 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18841
765ade4b
AS
188422010-06-07 Andreas Schwab <schwab@redhat.com>
18843
18844 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18845 libc_nonshared.a from targets in modules-names.
18846
80da2e09
KS
188472010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18848
18849 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18850 requires it.
18851
158db122
LM
188522010-06-10 Luis Machado <luisgpm@br.ibm.com>
18853
18854 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18855 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18856 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18858
caa78cf8
AS
188592010-06-02 Andreas Schwab <schwab@redhat.com>
18860
18861 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18862
b2ef2c01
UD
188632010-06-14 Ulrich Drepper <drepper@redhat.com>
18864
18865 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18866 and F_GETPIPE_SZ.
18867 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18869 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18871 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18872 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18873
fbd643b6
RM
188742010-06-14 Roland McGrath <roland@redhat.com>
18875
18876 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18877
f32f2869
JJ
188782010-06-07 Jakub Jelinek <jakub@redhat.com>
18879
18880 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18881 __REDIRECT followed by __THROW.
18882 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18883 * posix/getopt.h (getopt): Likewise.
18884
2a50c078
EPM
188852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18886
18887 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18888 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18889 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18890 in AT_FLAGS.
18891 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18892 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18893
eb5ad2eb
LM
188942010-05-28 Luis Machado <luisgpm@br.ibm.com>
18895
18896 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18897
3c88fe1e
L
188982010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18899
18900 [BZ #11640]
18901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18902 Properly check family and model.
18903
d2f73151
TY
189042010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18905
18906 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18907
ebd2e13d
LM
189082010-05-24 Luis Machado <luisgpm@br.ibm.com>
18909
18910 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18911
b32b8b45
UD
189122010-05-21 Ulrich Drepper <drepper@redhat.com>
18913
18914 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18915 symbol reference.
18916
9acbe24d
AS
189172010-05-19 Andreas Schwab <schwab@redhat.com>
18918
18919 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18920 symbol reference.
18921
f0ccf6ea
AS
189222010-05-21 Andreas Schwab <schwab@redhat.com>
18923
3d04ff3a
AS
18924 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18925 and internal_recvmmsg.
18926 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18927 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18928 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18929 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18930
f0ccf6ea
AS
18931 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18932 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18933 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18934
5b08ac57
AS
189352010-05-20 Andreas Schwab <schwab@redhat.com>
18936
18937 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18938
4828935d
LM
189392010-05-17 Luis Machado <luisgpm@br.ibm.com>
18940
18941 POWER7 optimizations.
18942 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18943 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18944
373d545e
UD
189452010-05-19 Ulrich Drepper <drepper@redhat.com>
18946
18947 * version.h: Update for 2.13 development version.
18948
21a2b1ae
AS
189492010-05-12 Andrew Stubbs <ams@codesourcery.com>
18950
18951 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18952 exceptions. Return 0.
18953
3f7dcb2b
RM
189542010-05-07 Roland McGrath <roland@redhat.com>
18955
18956 * elf/ldconfig.c (main): Add a const.
18957
5f24d53a 189582010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 18959
a160f8d8
UD
18960 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18961 (args_options): Add no-idn option.
18962 (ahosts_keys_int): Add idn_flags to ai_flags.
18963 (parse_option): Handle 'i' option to clear idn_flags.
18964
5f24d53a
UD
18965 * malloc/malloc.c (_int_free): Possible race in the most recently
18966 added check. Only act on the data if no current modification
18967 happened.
265bb1ce
UD
18968
18969See ChangeLog.17 for earlier changes.