]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fixed minor typo in ChangeLog
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6ef9cc37
SP
12012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #1349]
4 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5 (tst-malloc-usable-ENV): Set environment for test case.
6 * malloc/hooks.c (malloc_check_get_size): New function to get
7 requested size.
8 * malloc/malloc.c (musable): Use malloc_check_get_size.
9 * malloc/tst-malloc-usable.c: New test case.
10
4d038ae3
AS
112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12
13 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14
c4e85184
AM
152012-09-05 Allan McRae <allan@archlinux.org>
16
b9dafc56 17 [BZ #13966]
c4e85184
AM
18 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19 determine header location.
20 * configure: Regenerated.
21
e1343020
AS
222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23
24 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25 float format.
26 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28 format.
e1343020
AS
29 (test): Regenerate.
30
0a9f1987
DM
312012-09-04 David S. Miller <davem@davemloft.net>
32
33 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36
29237804
FW
372012-09-04 Florian Weimer <fweimer@redhat.com>
38
39 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40 failures.
41
edb3cb88
FW
42 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43
60160d83
JM
442012-09-04 Joseph Myers <joseph@codesourcery.com>
45
46 [BZ #9914]
47 * libio/iogetdelim.c: Include <limits.h>.
48 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
49 + len + 1 would overflow.
50
bcd6c8dc
AJ
512012-09-03 Andreas Jaeger <aj@suse.de>
52
53 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54 * sysdeps/i386/fpu/libm-test-ulps: Update.
55
4ffffbd2
LD
562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57
58 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59 Add s_sinf-sse2, s_conf-sse2.
60
61 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
63 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
65
66 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67 for using routine as __sinf_ia32.
68 Use macro for function declaration and weak_alias.
69 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70 for using routine as __cosf_ia32.
71 Use macro for function declaration and weak_alias.
72
73 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75
76 * sysdeps/x86_64/fpu/s_sinf.S: New file.
77 * sysdeps/x86_64/fpu/s_cosf.S: New file.
78 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79
80 * math/libm-test.inc (cos_test): Add more test cases.
81 (sin_test): Likewise.
82 (sincos_test): Likewise.
83
511fa286
AK
842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85
86 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
87 (IFUNC_RESOLVE): Make pointers to the specialized implementations
88 hidden.
89 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
90
5f30cfec
L
912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
92
93 [BZ #14538]
94 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
95 first element of the GOT.
96 (elf_machine_load_address): Return the difference between
97 the runtime address of _DYNAMIC and elf_machine_dynamic ().
98
0786794f
AM
992012-09-01 Allan McRae <allan@archlinux.org>
100
5f30cfec
L
101 [BZ #13412]
102 * configure.in (AWK): Require gawk version 3.0 or later.
103 * configure: Regenerated.
0786794f 104
26889eac
JM
1052012-09-01 Joseph Myers <joseph@codesourcery.com>
106
107 * sysdeps/unix/sysv/linux/kernel-features.h
108 (__ASSUME_POSIX_CPU_TIMERS): Remove.
109 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
110 [__NR_clock_getres]: Make code unconditional.
111 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
112 (clock_getcpuclockid): Remove code left unreachable by removal of
113 conditionals.
114 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
115 code unconditional.
116 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
117 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
118 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
119 Make code unconditional.
120 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
121 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
122 * sysdeps/unix/sysv/linux/clock_settime.c
123 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
124 conditional code.
125 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
126 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
127
d22e28b0
L
1282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
129
130 [BZ #14476]
131 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
132 scripts/test-installation.pl.
133
134 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
135 and $ld_so_version if it is set.
136
050af9c4
SP
1372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
138
139 [BZ #14516]
140 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
141 failure if reading from procfs failed.
142 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
143
ad845c0b
JM
1442012-08-27 Joseph Myers <joseph@codesourcery.com>
145
146 * sysdeps/unix/sysv/linux/kernel-features.h
147 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
148 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
149 Remove conditional code.
150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
151 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
152 Remove conditional code.
153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
154 * sysdeps/unix/sysv/linux/i386/fxstat.c
155 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
157 * sysdeps/unix/sysv/linux/i386/fxstatat.c
158 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
160 * sysdeps/unix/sysv/linux/i386/lxstat.c
161 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
163 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
164 Remove conditional code.
165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
166 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
167 Remove conditional code.
168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
169 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
170 <kernel-features.h>.
171 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
172 Remove.
173 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
174 Remove conditional code.
175 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
176 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
177 Remove conditional.
178
5dbf56af
MF
1792012-08-27 Mike Frysinger <vapier@gentoo.org>
180
181 [BZ #5400]
182 * NEWS: Add fixed bug number.
183
d6e70f43
JM
1842012-08-27 Joseph Myers <joseph@codesourcery.com>
185
7efb4737
JM
186 [BZ #14519]
187 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
188 underflowing exponent in case of negative sign.
189 * stdlib/tst-strtod-round-data: Add more tests.
190 * stdlib/tst-strtod-round.c (tests): Regenerated.
191
af92131a
JM
192 [BZ #3479]
193 * stdlib/strtod_l.c (NDIG): Remove.
194 (HEXNDIG): Likewise.
195 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
196 smallest representable value.
197 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
198 lie within an exact representation of 1/2 ulp of the result.
199 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
200 unconditionally.
201 (TENS_P9_IDX): Define unconditionally.
202 (TENS_P9_SIZE): Likewise.
203 (TENS_P10_IDX): Likewise.
204 (TENS_P10_SIZE): Likewise.
205 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
206 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
207 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
208 entries for 10^2^13 and 10^2^14.
209 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
210 (TENS_P13_IDX): Define.
211 (TENS_P13_SIZE): Likewise.
212 (TENS_P14_IDX): Likewise.
213 (TENS_P14_SIZE): Likewise.
214 (_fpioconst_pow10): Change array size to
215 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
216 unconditional.
217 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
218 1024]: Add entries for 10^2^13 and 10^2^14.
219 [LAST_POW10 > _LAST_POW10]: Remove #error.
220 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
221 (_fpioconst_pow10): Change array size to
222 FPIOCONST_POW10_ARRAY_SIZE.
223 * stdlib/gen-fpioconst.c: New file.
224 * stdlib/gen-tst-strtod-round.c: Likewise.
225 * stdlib/tst-strtod-round-data: Likewise.
226 * stdlib/tst-strtod-round.c: Likewise.
227 * stdlib/Makefile (tests): Add tst-strtod-round.
228
d6e70f43
JM
229 [BZ #14459]
230 * stdlib/strtod_l.c: Include <stdint.h>.
231 (NDEBUG): Do not define.
232 (round_and_return): Change EXPONENT parameter to type intmax_t.
233 Rearrange calculations to avoid internal overflow possibilities.
234 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
235 Rearrange calculations to avoid internal overflow possibilities.
236 Assert that number fits inside MPNSIZE limbs.
237 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
238 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
239 calculations and add assertions to avoid internal overflow
240 possibilities. Add casts to avoid signed/unsigned operations.
241 * stdlib/tst-strtod-overflow.c: New file.
242 * stdlib/Makefile (tests): Add tst-strtod-overflow.
243
1f529f7d
MP
2442012-08-25 Marek Polacek <polacek@redhat.com>
245
246 * time/time.h: Fix some typos in comments.
247
59a629f1
RM
2482012-08-23 Roland McGrath <roland@hack.frob.com>
249
250 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
251 * posix/tst-rfc3484-2.c: Likewise.
252 * posix/tst-rfc3484-3.c: Likewise.
253
d3bafbc9
SM
2542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
255
256 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
257 (EF_ARM_ABI_FLOAT_HARD): Likewise.
258
4efcc022
JM
2592012-08-23 Joseph Myers <joseph@codesourcery.com>
260
261 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
262 #include of fxstatat64.c.
263
3cc3ef96
RM
2642012-08-22 Roland McGrath <roland@hack.frob.com>
265
f04e2132
RM
266 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
267 * shadow/getspent_r.c: Likewise.
268 * shadow/getspnam.c: Likewise.
269 * shadow/getspnam_r.c: Likewise.
270 * gshadow/getsgent.c: Likewise.
271 * gshadow/getsgent_r.c: Likewise.
272 * gshadow/getsgnam.c: Likewise.
273 * gshadow/getsgnam_r.c: Likewise.
274 * inet/getnetbyad.c: Likewise.
275 * inet/getnetbyad_r.c: Likewise.
276 * inet/getnetbynm.c: Likewise.
277 * inet/getnetbynm_r.c: Likewise.
278 * inet/getnetent.c: Likewise.
279 * inet/getnetent_r.c: Likewise.
280 * inet/getproto.c: Likewise.
281 * inet/getproto_r.c: Likewise.
282 * inet/getprtent.c: Likewise.
283 * inet/getprtent_r.c: Likewise.
284 * inet/getprtname.c: Likewise.
285 * inet/getprtname_r.c: Likewise.
286 * inet/getrpcbyname.c: Likewise.
287 * inet/getrpcbyname_r.c: Likewise.
288 * inet/getrpcbynumber.c: Likewise.
289 * inet/getrpcbynumber_r.c: Likewise.
290 * inet/getrpcent.c: Likewise.
291 * inet/getrpcent_r.c: Likewise.
292 * inet/getaliasent.c: Likewise.
293 * inet/getaliasent_r.c: Likewise.
294 * inet/getaliasname.c: Likewise.
295 * inet/getaliasname_r.c: Likewise.
296 * nscd/getgrgid_r.c: Likewise.
297 * nscd/getgrnam_r.c: Likewise.
298 * nscd/gethstbyad_r.c: Likewise.
299 * nscd/gethstbynm3_r.c: Likewise.
300 * nscd/getpwnam_r.c: Likewise.
301 * nscd/getpwuid_r.c: Likewise.
302 * nscd/getsrvbynm_r.c: Likewise.
303 * nscd/getsrvbypt_r.c: Likewise.
304 * nscd/gai.c: Likewise.
305
c53d909c
RM
306 * configure.in (build_nscd): New substituted variable, set
307 by --disable-build-nscd and defaults to $use_nscd.
308 * configure: Regenerated.
309 * config.make.in (build-nscd): New substituted variable.
310 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
311 Change conditional to require [$(build-nscd) = yes] as well.
312 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
313
3cc3ef96
RM
314 [BZ# 13696]
315 * configure.in (use_nscd): New substituted variable, set by
316 --disable-nscd. If enabled, define USE_NSCD.
317 * configure: Regenerated.
318 * config.h.in: Add USE_NSCD.
319 * config.make.in (use-nscd): New substituted variable.
320 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
321 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
322 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
323 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
324 (CFLAGS-getgrnam_r.c): Likewise.
325 (CFLAGS-initgroups.c): Likewise.
326 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
327 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
328 Variables removed.
329 * inet/getnetgrent_r.c
330 (nscd_setnetgrent): New function, broken out of ...
331 (setnetgrent): ... here. Call it.
332 (innetgr): Conditionalize nscd bits on [USE_NSCD].
333 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
334 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
335 * nscd/Makefile (routines, aux): Move definitions after include of
336 Makeconfig. Conditionalize on [$(use-nscd) != no].
337 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
338 Conditionalize on [USE_NSCD].
339 (is_nscd, nscd_init_cb): Likewise.
340 (nss_load_library): Conditionalize init callback on [USE_NSCD].
341 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
342 * nss/nss_db/db-init.c: Likewise.
343 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
344 [USE_NSCD].
345 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
346 (make_request): Use it.
347 (cache_valid_p): New function.
348 (__check_pf): Use it.
349 * NEWS: Add item for --disable-nscd.
350
07e51550
DL
3512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
352
353 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
354 to support sed >= 4.2.1-20-ga9bf076.
355 * configure: Regenerated.
356
35a5b08b
RM
3572012-08-22 Roland McGrath <roland@hack.frob.com>
358
359 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
360 Conditionalize whole body on [IREL].
361
8479f23a
JL
3622012-08-22 Jeff Law <law@redhat.com>
363
364 [BZ #14505]
365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
366 if the family is PF_UNSPEC.
367
48da0b21
MF
3682012-08-22 Mike Frysinger <vapier@gentoo.org>
369
370 * Makerules (lib-version): Rename from V.
371 (install-lib-nosubdir): Change V to lib-version.
372
15d0da8c
WS
3732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
374
375 [BZ #14252]
376 * powerpc32/power6/wcschr.c: New file.
377 * powerpc32/power6/wcscpy.c: New file.
378 * powerpc32/power6/wcsrchr.c: New file.
379 * powerpc64/power6/wcschr.c: New file.
380 * powerpc64/power6/wcscpy.c: New file.
381 * powerpc64/power6/wcsrchr.c: New file.
382
bcca0895
MK
3832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
384
385 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
386 (two_way_short_needle): Use it.
5a4aaa33
RM
387 * string/strstr.c (AVAILABLE1_USES_J): Define.
388 * string/strcasestr.c: Likewise.
99677e57
MK
389
390 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
391 array references.
392 * string/strcasestr.c (TOLOWER): Make side-effect safe.
393
400726de
MK
394 [BZ #11607]
395 * NEWS: Add an entry.
396 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
397 define their defaults.
398 (two_way_short_needle): Detect end-of-string on-the-fly.
399 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
400 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
401 * string/bug-strcasestr1.c: New test.
402 * string/Makefile: Run it.
403
20a71f2c
MK
4042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
405
406 [BZ #11607]
407 * string/str-two-way.h (two_way_short_needle): Optimize matching of
408 the first character.
409
21ad0558
RM
4102012-08-21 Roland McGrath <roland@hack.frob.com>
411
412 * csu/elf-init.c (__libc_csu_irel): Function removed.
413 * csu/libc-start.c (apply_irel): New function.
414 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
415
0e1d9911
JM
4162012-08-21 Joseph Myers <joseph@codesourcery.com>
417
418 * sysdeps/unix/sysv/linux/kernel-features.h
419 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
420 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
421 <kernel-features.h>.
422 [__NR_fadvise64_64]: Make code unconditional.
423 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
424 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
425 !__NR_fadvise64_64)]: Likewise.
426 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
427 !__NR_fadvise64_64))]: Likewise.
428 [__NR_fadvise64]: Make code unconditional.
429 [!__NR_fadvise64]: Remove conditional code.
430 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
431 <kernel-features.h>.
432 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
433 unconditional.
434 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
435 conditional code.
436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
437 not include <kernel-features.h>.
438 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
439 unconditional.
440 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
441 conditional code.
442 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
443 include <kernel-features.h>.
444 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
445 unconditional.
446 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
447 conditional code.
448
14a50c9d
WS
4492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
450
451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
452 slight instruction rearrangements per scrollpipe analysis.
453 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
454
c0f4faf0
RM
4552012-08-20 Roland McGrath <roland@hack.frob.com>
456
696da859
RM
457 * manual/syslog.texi (syslog; vsyslog, closelog):
458 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
459 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
460
c0f4faf0
RM
461 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
462 DSOCAPS to match condition on defining it.
463
348363b2
JM
4642012-08-20 Joseph Myers <joseph@codesourcery.com>
465
a35cbf28
JM
466 * sysdeps/unix/sysv/linux/kernel-features.h
467 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
469 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
470 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
472 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
473 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
475 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
476 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
477
445f7ecd
JM
478 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
479 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
480
348363b2
JM
481 * sysdeps/unix/sysv/linux/kernel-features.h
482 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
483 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
484 unconditional.
485 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
487 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
488 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
489 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
490 Make code unconditional.
491 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
492 (__mmap64) [!__NR_mmap2]: Likewise.
493 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
494 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
495 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
496 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
497 [__NR_mmap2]: Make code unconditional.
498 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
499 (__mmap64) [!__NR_mmap2]: Likewise.
500
bc5bc0e5
AK
5012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
502
503 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
504
88d506de
AJ
5052012-08-18 Andreas Jaeger <aj@suse.de>
506
507 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
508
493387d2
MF
5092012-08-18 Mike Frysinger <vapier@gentoo.org>
510
511 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
512 * include/unistd.h (__have_sock_cloexec): Likewise.
513 (__have_pipe2): Likewise.
514 (__have_dup3): Likewise.
515
a277af22
MF
5162012-08-18 Mike Frysinger <vapier@gentoo.org>
517
518 [BZ #9685]
519 * include/unistd.h (__have_pipe2): Change define into an extern int.
520 (__have_dup3): Likewise.
521 * socket/have_sock_cloexec.c: Include fcntl.h.
522 (__have_pipe2): New variable.
523 (__have_dup3): Likewise.
524
fdab8fd3
MF
5252012-08-17 Mike Frysinger <vapier@gentoo.org>
526
527 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
528
31035e80
MP
5292012-08-17 Marek Polacek <polacek@redhat.com>
530
531 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
532 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
533
3bd9e993
RM
5342012-08-17 Roland McGrath <roland@hack.frob.com>
535
c91c505f
RM
536 * configure.in: Add AC_SUBST for sysheaders.
537 * configure: Regenerated.
538 * config.make.in (sysheaders): New substituted variable.
539
7c6f9d53
RM
540 * sysdeps/unix/mkfifo.c: Moved ...
541 * sysdeps/posix/mkfifo.c: ... here.
542 * sysdeps/unix/mkfifoat.c: Moved ...
543 * sysdeps/posix/mkfifoat.c: ... here.
544
545 * sysdeps/unix/utime.c: Moved ...
546 * sysdeps/posix/utime.c: ... here.
547
548 * sysdeps/unix/time.c: Moved ...
549 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
550 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
551 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
552
553 * sysdeps/unix/nice.c: Moved ...
554 * sysdeps/posix/nice.c: ... here.
555
556 * sysdeps/unix/alarm.c: Moved ...
557 * sysdeps/posix/alarm.c: ... here.
558
3bd9e993
RM
559 * intl/Makefile ($(codeset_mo)): Depend on the input file.
560
d1f09384
JL
5612012-08-17 Jeff Law <law@redhat.com>
562
563 * intl/Makefile (codeset_mo): New variable.
564 ($(codeset_mo)): New target.
565 (tst-codeset.out): Depend on that. Remove explicit rule.
566 (tst-gettext3.out, tst-gettext5.out): Likewise.
567 (LOCPATH-ENV, tst-codeset-ENV): New variables.
568 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
569 * intl/tst-codeset.sh: Remove.
570 * intl/tst-gettext3.sh: Likewise.
571 * intl/tst-gettext5.sh: Likewise.
572
2ae1ae5c
RM
5732012-08-17 Roland McGrath <roland@hack.frob.com>
574
c31fdb83
RM
575 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
576 * sysdeps/unix/syscalls.list: ... here.
577
a0844057
RM
578 * sysdeps/posix/getaddrinfo.c
579 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
580 (gaiconf_init, gaiconf_reload): Use them.
581 [!_STATBUF_ST_NSEC]
582 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
583 Define using time_t rather than struct timespec.
584
750c1f2a
RM
585 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
586 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
587 Macros removed.
588 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
589 [!NO_THREADS].
590 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
591 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
592 Likewise.
593
2ae1ae5c
RM
594 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
595 __libc_cleanup_push argument.
596
e66a42f5
RM
597 * bits/param.h: New file.
598 * misc/sys/param.h: New file.
599 * include/sys/param.h: New file.
600 * misc/Makefile (headers): Add bits/param.h.
601 * sysdeps/generic/sys/param.h: File removed.
602 * sysdeps/unix/sysv/linux/bits/param.h: New file.
603 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
604 * sysdeps/mach/hurd/bits/param.h: New file.
605 * sysdeps/mach/hurd/sys/param.h: New file.
606
b7c08a66
RM
607 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
608 last change.
609
b2e1c562
RM
610 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
611 [_IO_MTSAFE_IO].
612 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
613 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
614 New macros.
615
c75ccd4c
RM
616 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
617 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
618 rather than -D_IO_MTSAFE_IO conditionally.
619 * stdio-common/Makefile (CPPFLAGS): Likewise.
620 * wcsmbs/Makefile (CPPFLAGS): Likewise.
621 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
622 Use $(libio-mtsafe).
623 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
624 of -D_IO_MTSAFE_IO.
625 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
626 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
627 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
628 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
629 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
630 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
631 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
632 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
633 (CFLAGS-fread_u_chk.c): Likewise.
634 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
635 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
636 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
637 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
638 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
639 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
640 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
641 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
642 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
643
644 * libio/Makefile: Test [$(libc-reentrant) = yes]
645 instead of [$(filter %REENTRANT, $(defines)) nonempty].
646
647 * Makeconfig
648 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
649 * sysdeps/pthread/configure: File removed.
650 * sysdeps/pthread/Makeconfig: New file.
651 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
652 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
653
d9195db8
GB
6542012-08-16 Gary Benson <gbenson@redhat.com>
655
656 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
657 unmapping the first object in a namespace.
658
86466cd9
RM
6592012-08-16 Roland McGrath <roland@hack.frob.com>
660
661 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
662 (__internal_setnetgrent): ... this. Add internal_function to
663 definition. Add libc_hidden_def.
664 (setnetgrent): Update caller.
665 (internal_endnetgrent): Renamed to ...
666 (__internal_endnetgrent): ... this. Add internal_function to
667 definition. Add libc_hidden_def.
668 (endnetgrent): Update caller.
669 (internal_getnetgrent_r): Renamed to ...
670 (__internal_getnetgrent_r): ... this. Add internal_function to
671 definition. Add libc_hidden_def.
672 (__getnetgrent_r): Update caller.
673 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
674
c3c8283c
JM
6752012-08-16 Joseph Myers <joseph@codesourcery.com>
676
677 * stdlib/longlong.h: Update from GCC.
678
db1ee0a8
RM
6792012-08-16 Roland McGrath <roland@hack.frob.com>
680
681 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
682 on _QL, which is set by umul_ppmm but never used.
683 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
684 variables, which are set by GMP macros but never used.
685 * stdio-common/_itowa.c (_itowa): Likewise.
686 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
687 * stdlib/mod_1.c (mpn_mod_1): Likewise.
688
30f69637
CD
6892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
690
691 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
692 struct La_sh_regs is not constant.
693 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
694 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
695 and struct La_sparc64_regs are not constant.
696
93a78ac4
JM
6972012-08-16 Joseph Myers <joseph@codesourcery.com>
698
699 * sysdeps/unix/sysv/linux/kernel-features.h
700 (__ASSUME_POSIX_TIMERS): Remove.
701 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
702 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
703 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
704 Make code unconditional.
705 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
706 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
707 Make code unconditional.
708 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
709 * sysdeps/unix/sysv/linux/clock_nanosleep.c
710 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
711 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
712 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
713 Make code unconditional.
714 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
715 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
716 (__libc_missing_posix_timers): Remove.
717
dd924cd7
RM
7182012-08-15 Roland McGrath <roland@hack.frob.com>
719
4b4f2771
RM
720 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
721 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
722
601c888b
RM
723 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
724
176790a7
RM
725 * elf/dl-sym.c: Include <stdlib.h>.
726
329bc018
RM
727 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
728 constants, which avoids warnings in 32-bit builds.
729
e04e272d
RM
730 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
731 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
732
952bf94a
RM
733 * misc/lseek.c: File moved to ...
734 * io/lseek.c: ... here.
735
7c99b50a
RM
736 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
737
dd924cd7
RM
738 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
739 shifting LEN more than 31 bits at once.
740
b3f479a8
LD
7412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
742
743 [BZ #14195]
8c4ae0d4
RM
744 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
745 segmentation fault for a case of two empty input strings.
b3f479a8
LD
746 * string/test-strncasecmp.c (check1): Renamed to...
747 (bz12205): ...this.
748 (bz14195): Add new testcase for two empty input strings and N > 0.
749 (test_main): Call new testcase, adapt for renamed function.
750
9c55864e
AJ
7512012-08-15 Andreas Jaeger <aj@suse.de>
752
753 [BZ #14090]
754 * crypt/md5test2.c: New test, based on test supplied by Serge
755 Belyshev <belyshev@depni.sinp.msu.ru>.
756 * crypt/Makefile (xtests): Add md5test-giant..
757 * crypt/Makefile ($(objpfx)md5test-giant): Add.
758
02dcb6c5
PE
7592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
760
761 [BZ #14090]
762 * crypt/md5.c (md5_process_block): Don't assume the buffer
763 length is less than 2**32.
764 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
765 length is less than 2**64.
766
a3f95dcc
RM
7672012-08-15 Roland McGrath <roland@hack.frob.com>
768
be75d758
RM
769 * string/str-two-way.h: Include <sys/param.h>.
770 (MAX): Macro removed.
771
7312ca90
RM
772 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
773 Move #define and #undef of memmove to just before and after
774 including <string.h>.
775
9a0a5486
RM
776 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
777 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
778 and after including <string.h>. Move declarations of
779 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
780 to before #include "string/memmove.c".
781
67cc348d
RM
782 * include/dirent.h: Declare __getdirentries.
783
a3f95dcc
RM
784 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
785 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
786
ca98e171
MF
7872012-08-14 Mike Frysinger <vapier@gentoo.org>
788
789 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
790 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
791 * sysdeps/i386/configure: Regenerated.
792 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
793 STABS_CURRENT_FILE, and STABS_FUN.
794 (END): Remove call to STABS_FUN_END.
795 (STABS_CURRENT_FILE1): Delete.
796 (STABS_CURRENT_FILE): Likewise.
797 (STABS_FUN): Likewise.
798 (STABS_FUN_END): Likewise.
799 (STABS_FUN2): Likewise.
800 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
801 * sysdeps/x86_64/configure: Regenerated.
802
5908bf46
RM
8032012-08-14 Roland McGrath <roland@hack.frob.com>
804
805 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 806 * elf/dl-lookup.c: Likewise.
5908bf46 807
f2c05b9e
JM
8082012-08-14 Joseph Myers <joseph@codesourcery.com>
809
810 * sysdeps/unix/sysv/linux/kernel-features.h
811 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
812 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
813 unconditionally.
814 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
815 unconditionally.
816 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
817 condition on __ASSUME_CLONE_THREAD_FLAGS.
818
e11f5155
AJ
8192012-08-14 Andreas Jaeger <aj@suse.de>
820
821 * sysdeps/i386/fpu/libm-test-ulps: Update.
822
51a9ba86
MK
8232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
824
2fdd4f78
AJ
825 * include/atomic.h (atomic_exchange_and_add): Split into ...
826 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
827 New atomic macros.
51a9ba86 828
ba6cba9e
MT
8292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
830
831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
832
42443a47
JL
8332012-08-13 Jeff Law <law@redhat.com>
834
835 * manual/stdio.texi (snprintf): Clarify handling of the trailing
836 null byte in the output string.
837
121dce05
JM
8382012-08-10 Joseph Myers <joseph@codesourcery.com>
839
840 * sysdeps/unix/sysv/linux/kernel-features.h
841 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
842 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
843 (__ASSUME_ARG_MAX_STACK_BASED): Define.
844 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
845 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
846 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
847 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
848
bf51f568
JL
8492012-08-09 Jeff Law <law@redhat.com>
850
851 [BZ #13939]
852 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
853 When avoid_arena is set, don't retry in the that arena. Pick the
854 next one, whatever it might be.
855 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
856 (arena_lock): Pass in new parameter to arena_get2.
857 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
858 arena_get2.
859 (__libc_malloc): Unify retrying after main arena failure with
860 __libc_memalign version.
861 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
862
f85fa270
L
8632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
864
865 [BZ #14166]
866 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
867 to __redirect_strstr.
868 (__strstr_sse42): Use typeof __redirect_strstr.
869 (__strstr_ia32): Likewise.
870 (__libc_strstr): New prototype.
871 (strstr): Renamed to ...
872 (__libc_strstr): This.
873 (strstr): New strong alias of __libc_strstr.
874 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
875 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
876 __redirect_time.
877 Include <time.h>.
878 (__libc_time): New prototype.
879 (time_ifunc): Replace time with __libc_time.
880 (time): New strong alias and hidden definition of __libc_time.
881 (__GI_time): Remove strong alias.
882 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
883 Include <stddef.h>.
884 (memmove): Redefined to __redirect_memmove.
885 (__memmove_sse2): Use typeof __redirect_memmove.
886 (__memmove_ssse3): Likewise.
887 (__memmove_ssse3_back): Likewise.
888 (__libc_memmove): New prototype.
889 (memmove): Renamed to ...
890 (__libc_memmove): This.
891 (memmove): New strong alias of __libc_memmove.
892
33b4a91e
MS
8932012-08-08 Mark Salter <msalter@redhat.com>
894
895 * elf/elf.h
896 (R_MN10300_TLS_GD): Define.
897 (R_MN10300_TLS_LD): Likewise.
898 (R_MN10300_TLS_LDO): Likewise.
899 (R_MN10300_TLS_GOTIE): Likewise.
900 (R_MN10300_TLS_IE): Likewise.
901 (R_MN10300_TLS_LE): Likewise.
902 (R_MN10300_TLS_DTPMOD): Likewise.
903 (R_MN10300_TLS_DTPOFF): Likewise.
904 (R_MN10300_TLS_TPOFF): Likewise.
905 (R_MN10300_SYM_DIFF): Likewise.
906 (R_MN10300_ALIGN): Likewise.
907 (R_MN10300_NUM): Update.
908
b36137f1
JM
9092012-08-08 Joseph Myers <joseph@codesourcery.com>
910
911 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
912 Remove.
913
cdd915fd
RM
9142012-08-08 Roland McGrath <roland@hack.frob.com>
915
a2433aac
RM
916 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
917
cdd915fd
RM
918 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
919 sysdeps/unix -> sysdeps/posix move.
920 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
921
bf9b740a
AM
9222012-08-07 Allan McRae <allan@archlinux.org>
923
924 [BZ #14303]
925 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
926 (SUNOS_CPP): Likewise.
927 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
928 not found.
929 (open_input): Call CPP using execvp.
930
93df14ee
JM
9312012-08-07 Joseph Myers <joseph@codesourcery.com>
932
933 * sysdeps/unix/sysv/linux/kernel-features.h
934 (__ASSUME_PROT_GROWSUPDOWN): Remove.
935 (__ASSUME_NO_CLONE_DETACHED): Likewise.
936 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
937 (__ASSUME_WAITID_SYSCALL): Likewise.
938 * sysdeps/unix/sysv/linux/dl-execstack.c
939 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
940 code unconditional.
941 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
942 conditional code.
943 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
944 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
945 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
946 code.
947 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
948 unconditional.
949 [__ASSUME_WAITID_SYSCALL]: Likewise.
950 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
951
d34689de
RM
9522012-08-07 Roland McGrath <roland@hack.frob.com>
953
a281decc
RM
954 * sysdeps/unix/closedir.c: Renamed to ...
955 * sysdeps/posix/closedir.c: ... here.
956 * sysdeps/unix/dirfd.c: Renamed to ...
957 * sysdeps/posix/dirfd.c: ... here.
958 * sysdeps/unix/dirstream.h: Renamed to ...
959 * sysdeps/posix/dirstream.h: ... here.
960 * sysdeps/unix/fdopendir.c: Renamed to ...
961 * sysdeps/posix/fdopendir.c: ... here.
962 * sysdeps/unix/opendir.c: Renamed to ...
963 * sysdeps/posix/opendir.c: ... here.
964 * sysdeps/unix/readdir.c: Renamed to ...
965 * sysdeps/posix/readdir.c: ... here.
966 * sysdeps/unix/readdir_r.c: Renamed to ...
967 * sysdeps/posix/readdir_r.c: ... here.
968 * sysdeps/unix/rewinddir.c: Renamed to ...
969 * sysdeps/posix/rewinddir.c: ... here.
970 * sysdeps/unix/seekdir.c: Renamed to ...
971 * sysdeps/posix/seekdir.c: ... here.
972 * sysdeps/unix/telldir.c: Renamed to ...
973 * sysdeps/posix/telldir.c: ... here.
974 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
975 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
976 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
977 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
978
22895b47
RM
979 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
980 * bits/fcntl.h: ... here.
981
707a53b6
RM
982 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
983 not 0.
984 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
985 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
986 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
987 (struct flock): Move l_start, l_len to the beginning.
988 Use __pid_t for l_pid.
989 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
990 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
991 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
992 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
993 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
994 [__USE_LARGEFILE64] (struct flock64): New type.
995 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
996
f0bd3e25
RM
997 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
998 * bits/dirent.h: ... here.
999
d34689de
RM
1000 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1001 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1002
6dad2c06
JM
10032012-08-07 Joseph Myers <joseph@codesourcery.com>
1004
1005 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1006 Change from 2.6.0 to 2.6.16.
1007 * sysdeps/unix/sysv/linux/configure: Regenerated.
1008 * sysdeps/unix/sysv/linux/kernel-features.h
1009 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1010 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1011 version.
1012 (__ASSUME_UTIMES): Likewise.
1013 (__ASSUME_CLONE_STOPPED): Remove.
1014 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1015 architectures, not kernel version.
1016 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1017 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1018 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1019 (__ASSUME_WAITID_SYSCALL): Likewise.
1020 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1021 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1022 * README: State 2.6.16 as minimum Linux kernel version. Do not
1023 refer to older versions.
1024
03af9520
RM
10252012-08-06 Roland McGrath <roland@hack.frob.com>
1026
8e49df1d
RM
1027 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1028 Define alphasort64 as an alias.
1029 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1030 Define versionsort64 as an alias.
1031 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1032 Define scandir64 as an alias.
1033 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1034 Define scandirat64 as an alias.
1035 * dirent/alphasort64.c (alphasort64):
1036 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1037 * dirent/versionsort64.c: Likewise.
1038 * dirent/scandir64.c: Likewise.
1039 * dirent/scandirat64.c: Likewise.
1040 * sysdeps/wordsize-64/alphasort.c: File removed.
1041 * sysdeps/wordsize-64/alphasort64.c: File removed.
1042 * sysdeps/wordsize-64/scandir.c: File removed.
1043 * sysdeps/wordsize-64/scandir64.c: File removed.
1044 * sysdeps/wordsize-64/scandirat.c: File removed.
1045 * sysdeps/wordsize-64/scandirat64.c: File removed.
1046 * sysdeps/wordsize-64/versionsort.c: File removed.
1047 * sysdeps/wordsize-64/versionsort64.c: File removed.
1048 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1049 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1050 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1051 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1052 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1053 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1054 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1055 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1056
1057 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1059 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1061 [defined __arch64__ || defined __sparcv9]
1062 (__INO_T_MATCHES_INO64_T): New macro.
1063 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1064 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1065 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1066 * sysdeps/unix/sysv/linux/bits/dirent.h
1067 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1068 (_DIRENT_MATCHES_DIRENT64): New macro.
1069
03af9520
RM
1070 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1071 Define lockf64 as an alias.
1072 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1073 Define fseeko64 as an alias.
1074 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1075 Define ftello64 as an alias.
1076 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1077 Define _IO_fgetpos64 and fgetpos64 as aliases.
1078 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1079 Define _IO_fsetpos64 and fsetpos64 as aliases.
1080 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1081 Conditionalize body on this.
1082 * libio/fseeko64.c: Likewise.
1083 * libio/ftello64.c: Likewise.
1084 * libio/iofgetpos64.c: Likewise.
1085 * libio/iofsetpos64.c: Likewise.
1086 * sysdeps/wordsize-64/lockf.c: File removed.
1087 * sysdeps/wordsize-64/lockf64.c: File removed.
1088 * sysdeps/wordsize-64/fseeko.c: File removed.
1089 * sysdeps/wordsize-64/fseeko64.c: File removed.
1090 * sysdeps/wordsize-64/ftello.c: File removed.
1091 * sysdeps/wordsize-64/ftello64.c: File removed.
1092 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1093 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1094 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1095 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1096 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1097 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1098 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1099 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1100 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1101 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1102 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1103 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1104 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1105 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1106
1107 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1109 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1111 [defined __arch64__ || defined __sparcv9]
1112 (__OFF_T_MATCHES_OFF64_T): New macro.
1113 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1114 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1116 (__OFF_T_MATCHES_OFF64_T): New macro.
1117
c5757acd
L
11182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * stdlib/secure-getenv.c (__secure_getenv): Replace
1121 GLIBC_2_16 with GLIBC_2_17.
1122
3a31811e
L
11232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1126 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1127
faa2bccb
DM
11282012-08-03 David S. Miller <davem@davemloft.net>
1129
1130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1131
85fe1997
JM
11322012-08-03 Joseph Myers <joseph@codesourcery.com>
1133
1134 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1135 Remove.
1136 (__ASSUME_CORRECT_SI_PID): Likewise.
1137 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1138 (__ASSUME_TMPFS_NAME): Likewise.
1139 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1140 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1141 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1142 (HAVE_AUX_SECURE): Make definition unconditional.
1143 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1144 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1145
4f75b7a0
RM
11462012-08-03 Roland McGrath <roland@hack.frob.com>
1147
1148 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1149 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1150 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1151 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1152 __eloop_threshold instead of SYMLOOP_MAX.
1153
1154 * sysdeps/generic/eloop-threshold.h: New file.
1155 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1156 of MAXSYMLINKS.
1157 * elf/chroot_canon.c (chroot_canon): Likewise.
1158
7aab07e4
JM
11592012-08-03 Joseph Myers <joseph@codesourcery.com>
1160
1161 [BZ #13717]
1162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1163 Change to 2.6.0 everywhere.
1164 * sysdeps/unix/sysv/linux/configure: Regenerated.
1165 * sysdeps/unix/sysv/linux/kernel-features.h
1166 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1167 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1168 kernel versions.
1169 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1170 (__ASSUME_FUTEX_REQUEUE): Remove.
1171 (__ASSUME_STATFS64): Define unconditionally.
1172 (__ASSUME_AT_SECURE): Likewise.
1173 (__ASSUME_CORRECT_SI_PID): Likewise.
1174 (__ASSUME_TGKILL): Define without depending on kernel version for
1175 i386.
1176 (__ASSUME_UTIMES): Likewise.
1177 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1178 kernel version.
1179 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1180 (__ASSUME_TMPFS_NAME): Likewise.
1181 * README: Update reference to Linux kernel versions.
1182
b67e9372
MP
11832012-08-02 Marek Polacek <polacek@redhat.com>
1184
1f529f7d 1185 [BZ# 14150]
b67e9372
MP
1186 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1187 libc_cv_asm_type_prefix with %.
1188 * configure: Regenerated.
d2441631
RM
1189 * include/libc-symbols.h: Remove comment about
1190 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1191 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1192 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1193 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1194 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1195 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1196 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1197 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1198 * elf/tst-unique2mod1.c: Likewise.
1199 * elf/tst-unique1mod2.c: Likewise.
1200 * elf/tst-unique1mod1.c: Likewise.
1201 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1202 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1203 Replace ASM_TYPE_DIRECTIVE with .type.
1204 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1205 * sysdeps/i386/sysdep.h: Likewise.
1206 * sysdeps/x86_64/sysdep.h: Likewise.
1207 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1209 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1210 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1211 * sysdeps/powerpc/powerpc32/sysdep.h:
1212 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1213 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1214 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1215 * sysdeps/i386/fpu/e_powf.S: Likewise.
1216 * sysdeps/i386/fpu/e_expl.S: Likewise.
1217 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1218 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1219 * sysdeps/i386/fpu/e_pow.S: Likewise.
1220 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1221 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1222 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1223 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1224 * sysdeps/i386/fpu/e_log2.S: Likewise.
1225 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1226 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1227 * sysdeps/i386/fpu/e_powl.S: Likewise.
1228 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1229 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1230 * sysdeps/i386/fpu/e_logl.S: Likewise.
1231 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1232 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1233 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1234 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1235 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1236 * sysdeps/i386/fpu/e_log.S: Likewise.
1237 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1238 * sysdeps/i386/fpu/e_logf.S: Likewise.
1239 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1240 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1241 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1242 * sysdeps/i386/fpu/e_log10.S: Likewise.
1243 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1245 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1246 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1247 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1248 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1249 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1250 * sysdeps/i386/i686/strtok.S: Likewise.
1251 * sysdeps/i386/i386-mcount.S: Likewise.
1252 * sysdeps/i386/strtok.S: Likewise.
1253 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1254 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1255 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1256 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1257 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1258 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1259 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1260 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1261 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1262 * sysdeps/x86_64/_mcount.S: Likewise.
1263 * sysdeps/x86_64/strtok.S: Likewise.
1264 * sysdeps/sh/_mcount.S: Likewise.
1265
2747bf9a
RM
12662012-08-01 Roland McGrath <roland@hack.frob.com>
1267
1268 * libio/iofopen.c: Include <fcntl.h>.
1269 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1270 (_IO_fopen64, fopen64): Define as aliases.
1271 * libio/iofopen64.c: Include <fcntl.h>.
1272 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1273 Conditionalize body on this.
1274 * sysdeps/wordsize-64/iofopen.c: File removed.
1275 * sysdeps/wordsize-64/iofopen64.c: File removed.
1276
3fb791b8
MP
12772012-08-01 Marek Polacek <polacek@redhat.com>
1278
1279 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1280 Use dlfcn directly instead of a variable.
1281 (binfmt-subdir): Do not define.
1282 (dlfcn): Likewise.
1283
a9f1039f
JM
12842012-08-01 Joseph Myers <joseph@codesourcery.com>
1285
23bddc06
JM
1286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1287 Remove all definitions.
1288 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1289 <kernel-features.h>.
1290 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1291 (miss_F_GETOWN_EX): Remove all definitions.
1292 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1293 macro definition.
1294 [!__ASSUME_FCNTL64]: Remove conditional code.
1295 [__ASSUME_FCNTL64]: Make code unconditional.
1296 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1297 <kernel-features.h>.
1298 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1299 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1300 (lockf64) [__NR_fcntl64]: Make code unconditional.
1301 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1302
a9f1039f
JM
1303 * sysdeps/unix/sysv/linux/kernel-features.h
1304 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1305 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1306 Make code unconditional.
1307 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1308 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1310 [__NR_vfork]: Make code unconditional.
1311 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1312 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1314 [__NR_vfork]: Make code unconditional.
1315 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1316 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1317
09c0ee5f
RM
13182012-08-01 Roland McGrath <roland@hack.frob.com>
1319
48aec5b9
RM
1320 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1321 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1322
cd97c966
RM
1323 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1324 Define mkstemp64 as an alias.
3f55550c
RM
1325 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1326 Define mkstemps64 as an alias.
cd97c966
RM
1327 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1328 Define mkostemp64 as an alias.
b8625cfc
RM
1329 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1330 Define mkostemps64 as an alias.
cd97c966
RM
1331 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1332 Conditionalize body on this.
1333 * misc/mkostemp64.c: Likewise.
b8625cfc 1334 * misc/mkostemps64.c: Likewise.
3f55550c 1335 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1336 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1337 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1338 * sysdeps/wordsize-64/mkostemp.c: File removed.
1339 * sysdeps/wordsize-64/mkstemp.c: File removed.
1340 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1341 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1342 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1343 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1344
09c0ee5f
RM
1345 [BZ #14138]
1346 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1347 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1348 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1349 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1350
1351 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1352 compat_symbol macros from <shlib-compat.h> rather than the underlying
1353 default_symbol_version and symbol_version macros, so that DEFAULT
1354 lines in shlib-versions are respected.
1355 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1356
7e66ee51
FW
13572012-08-01 Florian Weimer <fweimer@redhat.com>
1358
1359 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1360 Declare with warn_unused_result.
1361 (setgid, setregid, setegid, setresgid): Likewise.
1362 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1363 Likewise.
1364 * WUR-REPORT: Remove set*id functions.
1365
d2a54255
PT
13662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1367
1368 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1369
7ecdb005
RM
13702012-07-31 Roland McGrath <roland@hack.frob.com>
1371
789bd351
RM
1372 * include/sys/socket.h (__libc_accept, __libc_accept4):
1373 Add attribute_hidden.
1374 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1375
40ce302d
RM
1376 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1377 use of PTR_MANGLE.
1378 * inet/getnetgrent_r.c (setup): Likewise.
1379
7ecdb005
RM
1380 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1381
e2eabb2c
DM
13822012-07-31 David S. Miller <davem@davemloft.net>
1383
1384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1385
d0419dbf
JM
13862012-07-31 Joseph Myers <joseph@codesourcery.com>
1387
1388 [BZ #13629]
1389 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1390 value between 1.0 and 2.0 and smaller part has absolute value less
1391 than 1.0.
1392 * math/s_clog10.c (__clog10): Likewise.
1393 * math/s_clog10f.c (__clog10f): Likewise.
1394 * math/s_clog10l.c (__clog10l): Likewise.
1395 * math/s_clogf.c (__clogf): Likewise.
1396 * math/s_clogl.c (__clogl): Likewise.
1397 * math/libm-test.inc (clog_test): Add more tests.
1398 (clog10_test): Likewise.
1399 * sysdeps/i386/fpu/libm-test-ulps: Update.
1400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1401
2bc13872
FW
14022012-07-31 Florian Weimer <fweimer@redhat.com>
1403
1404 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1405 Exit with zero in case no suitable GID is found, and write a
1406 message to standard error.
1407
bea9b193
RM
14082012-07-30 Roland McGrath <roland@hack.frob.com>
1409
1410 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1411 rather than to 1.
1412 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1413 (MAXPATHLEN): Removed.
1414 (NOGROUP, NODEV): New macros.
1415 (setbit, clrbit, isset, isclr): New macros.
1416 (howmany, roundup, powerof2): New macros.
1417 (DEV_BSIZE): New macro.
1418
1419 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1420 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1421
1422 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1423 definition on [!__NO_LONG_DOUBLE_MATH].
1424
1425 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1426 PTR_MANGLE and PTR_DEMANGLE.
1427
1428 * socket/accept4.c (accept4): Rename to __libc_accept4.
1429 Define accept4 as a weak alias.
1430
1431 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1432 on [_DIRENT_HAVE_D_TYPE].
1433 * io/ftw.c (ftw_dir): Likewise.
1434
1435 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1436
1437 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1438
1439 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1440 Use the BSD numbers rather than the arbitrary ones we had.
1441 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1442 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1443 (SIGXCPU, SIGXFSZ): New macros.
1444 (_NSIG): Now 32.
1445
1446 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1447 initializer on [_LIBC_REENTRANT].
1448
1449 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1450 definitions inside [_POSIX_MAPPED_FILES].
1451
1452 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1453
1454 * dirent/opendir.c: Include <fcntl.h>.
1455
1456 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1457 (__libc_getspecific): Likewise.
1458 (__libc_key_create): Likewise.
1459
1460 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1461 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1462 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1463 (tmpfile64): Define as alias.
1464 * sysdeps/wordsize-64/tmpfile.c: File removed.
1465 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1466 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1467 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1468
1469 * stdio-common/vfscanf.c: Include <stdbool.h>.
1470 * nss/makedb.c: Likewise.
1471 * stdio-common/_i18n_number.h: Likewise.
1472 * argp/argp-help.c: Likewise.
1473 * posix/wordexp.c: Likewise.
1474 * sysdeps/posix/spawni.c: Likewise.
1475 * nss/nss_files/files-initgroups.c: Likewise.
1476 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1477 * nss/nss_files/files-initgroups.c: Likewise.
1478 * nss/nss_db/db-netgrp.c: Likewise.
1479 * nss/nss_db/db-initgroups.c: Likewise.
1480 * io/fchmodat.c: Include <sys/stat.h>.
1481
1482 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1483 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1484
1485 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1486 [HAVE_MMAP].
1487
1488 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1489 Add multiple inclusion protection.
1490
e5abc686
DM
14912012-07-27 David S. Miller <davem@davemloft.net>
1492
1493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1494
815e6fa3
GB
14952012-07-27 Gary Benson <gbenson@redhat.com>
1496
1497 [BZ #14298]
1498 * elf/rtld.c: Include <stap-probe.h>.
1499 (dl_main): Added static probes "init_start" and "init_complete".
1500 * elf/dl-load.c: Include <stap-probe.h>.
1501 (lose): Take new parameter "nsid".
1502 Added static probe "map_failed".
1503 (_dl_map_object_from_fd): Pass namespace id to lose.
1504 Added static probe "map_start".
1505 (open_verify): Pass namespace id to lose.
1506 * elf/dl-open.c: Include <stap-probe.h>.
1507 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1508 and "reloc_complete".
1509 * elf/dl-close.c: Include <stap-probe.h>.
1510 (_dl_close_worker): Added static probes "unmap_start" and
1511 "unmap_complete".
1512 * elf/rtld-debugger-interface.txt: New file documenting the above.
1513
9f98c16c
RM
15142012-07-26 Roland McGrath <roland@hack.frob.com>
1515
1516 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1517 rather than a string variable.
1518 * sunrpc/rpc_main.c (h_output): Likewise.
1519 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1520
f3c22df3
PT
15212012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1522
1523 * inet/check_native.c: New file.
1524
3129cfc6
JM
15252012-07-26 Joseph Myers <joseph@codesourcery.com>
1526
da865e95
JM
1527 [BZ #13629]
1528 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1529 if larger part has absolute value 1.0.
1530 * math/s_clog10.c (__clog10): Likewise.
1531 * math/s_clog10f.c (__clog10f): Likewise.
1532 * math/s_clog10l.c (__clog10l): Likewise.
1533 * math/s_clogf.c (__clogf): Likewise.
1534 * math/s_clogl.c (__clogl): Likewise.
1535 * math/libm-test.inc (clog_test): Add more tests.
1536 (clog10_test): Likewise.
1537 * sysdeps/i386/fpu/libm-test-ulps: Update.
1538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1539
3129cfc6
JM
1540 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1541 (pltexit): Likewise.
1542 (La_regs): Likewise.
1543 (La_retval): Likewise.
1544 (int_retval): Likewise.
1545 Update #error for removed macros to refer only to definitions in
1546 tst-audit.h.
1547 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1548 macro.
1549 (pltexit): Likewise.
1550 (La_regs): Likewise.
1551 (La_retval): Likewise.
1552 (int_retval): Likewise.
1553 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1554 macro.
1555 (pltexit): Likewise.
1556 (La_regs): Likewise.
1557 (La_retval): Likewise.
1558 (int_retval): Likewise.
1559 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1560 macro.
1561 (pltexit): Likewise.
1562 (La_regs): Likewise.
1563 (La_retval): Likewise.
1564 (int_retval): Likewise.
1565 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1566 macro.
1567 (pltexit): Likewise.
1568 (La_regs): Likewise.
1569 (La_retval): Likewise.
1570 (int_retval): Likewise.
1571 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1572 macro.
1573 (pltexit): Likewise.
1574 (La_regs): Likewise.
1575 (La_retval): Likewise.
1576 (int_retval): Likewise.
1577 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1578 macro.
1579 (pltexit): Likewise.
1580 (La_regs): Likewise.
1581 (La_retval): Likewise.
1582 (int_retval): Likewise.
1583 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1584 macro definitions in tst-audit.h.
1585 * sysdeps/i386/tst-audit.h: New file.
1586 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1587 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1588 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1589 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1590 * sysdeps/sh/tst-audit.h: Likewise.
1591 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1592 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1593 * sysdeps/x86_64/tst-audit.h: Likewise.
1594
bfc07087
AJ
15952012-07-26 Andreas Jaeger <aj@suse.de>
1596
b1b2aaf8
AJ
1597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1598 ptrace.
1599
1600 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1601 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1602 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1603 PTRACE_O_MASK.
1604 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1605 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1606 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1607
bfc07087
AJ
1608 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1609 value.
1610
1611 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1612 _sigsys.
1613 (si_call_addr, si_syscall, si_arch): Define new macro.
1614 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1615 _sigsys.
1616 (si_call_addr, si_syscall, si_arch): Define new marcro.
1617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1618 _sigsys.
1619 (si_call_addr, si_syscall, si_arch): Define new macro.
1620 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1621 _sigsys.
1622 (si_call_addr, si_syscall, si_arch): Define new macro.
1623
89b4b02f
JM
16242012-07-25 Joseph Myers <joseph@codesourcery.com>
1625
1626 [BZ #13717]
1627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1628 Change to 2.4.21 where previously 2.4.1.
1629 * sysdeps/unix/sysv/linux/configure: Regenerated.
1630 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1631 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1632 Linux kernel version.
1633 (__ASSUME_STD_AUXV): Remove.
1634 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1635 kernel version.
1636 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1637 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1638 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1639 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1640 (__ASSUME_NETLINK_SUPPORT): Likewise.
1641 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1642 (__no_netlink_support): Remove conditional definition.
1643 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1644 Remove.
1645 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1646 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1647 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1648 (if_nameindex_ioctl): Remove.
1649 (if_nameindex_netlink): Do not handle __no_netlink_support.
1650 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1651 code.
1652 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1653 Remove conditional code.
1654 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1655 code.
1656 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1657 unconditional.
1658 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1659 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1660 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1661 Remove.
1662 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1663 [!__ASSUME_STD_AUXV]: Remove conditional code.
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1665 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1666 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1668 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1669 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1670 code.
1671 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1673 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1674 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1675 conditional code.
1676 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1678 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1679 code.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1681 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1682 conditional code.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1684 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1685 code unconditional.
1686 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1687 conditional code.
1688 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1689 unconditional.
1690 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1691 conditional code.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1693 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1694 unconditional.
1695 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1696 conditional code.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1698 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1699 code unconditional.
1700 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1701 conditional code.
1702 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1703 unconditional.
1704 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1705 conditional code.
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1707 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1708 code unconditional.
1709 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1710 conditional code.
1711 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1712 unconditional.
1713 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1714 conditional code.
1715
842a39cd
AS
17162012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1717
1718 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1719 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1720 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1721 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1722 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1723 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1724 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1725 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1726 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1727 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1728 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1729 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1730 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1731 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1732 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1734 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1736 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1738 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1739 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1740 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1741
84b3fd84
FW
17422012-07-25 Florian Weimer <fweimer@redhat.com>
1743
1744 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1745 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1746 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1747 Introduce __libc_secure_getenv.
0c7936d5
FW
1748 * stdlib/Versions (2.17): Add secure_getenv
1749 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1750 * stdlib/secure-getenv.c: Rename __secure_getenv to
1751 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1752 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1753 * stdlib/tst-secure-getenv.c: New.
1754 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1755 * manual/startup.texi (Environment Access): Document
1756 secure_getenv.
84b3fd84
FW
1757 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1758 __libc_secure_getenv.
1759 * inet/ruserpass.c (ruserpass): Likewise.
1760 * malloc/mtrace.c (mtrace): Likewise.
1761 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1762 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1763 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1764 * sysdeps/posix/tempname.c: Likewise. Evaluate
1765 HAVE_SECURE_GETENV.
1766 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1767 __secure_getenv to __libc_secure_getenv.
84b3fd84 1768 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1770 Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1772 Likewise.
1773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1780
56e49b71
JM
17812012-07-25 Joseph Myers <joseph@codesourcery.com>
1782
1783 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1784 (struct La_i86_retval): Likewise.
1785 (struct La_x86_64_regs): Likewise.
1786 (struct La_x86_64_retval): Likewise.
1787 (struct La_x32_regs): Likewise.
1788 (struct La_x32_retval): Likewise.
1789 (struct La_ppc32_regs): Likewise.
1790 (struct La_ppc32_retval): Likewise.
1791 (struct La_ppc64_regs): Likewise.
1792 (struct La_ppc64_retval): Likewise.
1793 (struct La_sh_regs): Likewise.
1794 (struct La_sh_retval): Likewise.
1795 (struct La_s390_32_regs): Likewise.
1796 (struct La_s390_32_retval): Likewise.
1797 (struct La_s390_64_regs): Likewise.
1798 (struct La_s390_64_retval): Likewise.
1799 (struct La_sparc32_regs): Likewise.
1800 (struct La_sparc32_retval): Likewise.
1801 (struct La_sparc64_regs): Likewise.
1802 (struct La_sparc64_retval): Likewise.
1803 (struct audit_ifaces): Remove architecture-specific pltenter and
1804 pltexit members.
1805 * sysdeps/i386/ldsodefs.h: New file.
1806 * sysdeps/powerpc/ldsodefs.h: Likewise.
1807 * sysdeps/s390/ldsodefs.h: Likewise.
1808 * sysdeps/sh/ldsodefs.h: Likewise.
1809 * sysdeps/sparc/ldsodefs.h: Likewise.
1810 * sysdeps/x86_64/ldsodefs.h: Likewise.
1811
354691b7
MP
18122012-07-25 Marek Polacek <polacek@redhat.com>
1813
1814 [BZ #6808]
1815 * math/libm-test.inc (yn_test): Add another test.
1816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1817 to ERANGE when the result is +-Inf.
1818 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1819 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1820 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1821 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1822
bf9e2071
JM
18232012-07-24 Joseph Myers <joseph@codesourcery.com>
1824
1825 * conform/data/time.h-data (NULL): Use macro-constant. Require
1826 equal to 0.
1827 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1828 clock_t.
1829 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1830
57633811
TS
18312012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1832
1833 * configure.in <sysdeps resolving>: Correct printing
1834 Implies_before.
1835 * configure: Regenerate.
1836
c23c33b0
TS
18372012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1838
1839 * math/w_ilogb.c: Include <limits.h>.
1840 * math/w_ilogbl.c: Likewise.
1841
b5982523
JM
18422012-07-20 Joseph Myers <joseph@codesourcery.com>
1843
1844 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1845 va_copy. Document allowing for unavailable va_copy only as
1846 pre-C99 compatibility.
1847 * manual/string.texi (Copying and Concatenation): Use va_copy
1848 instead of __va_copy in concat example.
1849
ac4ea442
PT
18502012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1851
1852 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1853 (__sendto): Use create_address_port. Initialize APORT and deallocate
1854 it if not null.
1855
f98eafbd
PT
1856 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1857 with O_NOLINK passed to __file_name_lookup.
1858
898c7aab
PT
1859 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1860 with O_NOLINK passed to __file_name_lookup.
1861
0ced335a
PT
1862 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1863 negative N or less than NGIDS.
1864
b3404dbd
PT
1865 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1866 type to string_t. Set ERANGE as errno and return it if NAME is not big
1867 enough. Use memcpy instead of strncpy.
1868
0f48659e
JM
18692012-07-20 Joseph Myers <joseph@codesourcery.com>
1870
1871 * elf/Makefile (check-data): Remove.
1872 (localplt.data): New vpath directive.
1873 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1874 instead of $(check-data).
1875 * scripts/data/localplt-generic.data: Move to ...
1876 * sysdeps/generic/localplt.data: ... here.
1877 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1878 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1879 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1881 ... here.
1882 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1884 ... here.
1885 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1887 ... here.
1888 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1890 ... here.
1891 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1893 ... here.
1894 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1896 ... here.
1897
d37cbdaa
AZ
18982012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1899
1900 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1901 PPC32 and PPC64 files.
1902 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1903 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1904
46f85fc2
AK
19052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1906
1907 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1908 __makecontext_ret to ...
1909 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1910 ... here and call exit if uc_link is NULL. New file.
1911 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1912 __makecontext_ret.S.
1913 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1914 __makecontext_ret to ...
1915 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1916 ... here and call exit if uc_link is NULL. New file.
1917 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1918 __makecontext_ret.S.
1919
08f43f9b
AK
19202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1921
1922 * elf/elf.h (R_390_IRELATIVE): New definition.
1923 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1924 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1925 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1926 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1927 (elf_machine_lazy_rel): Likewise.
1928 * sysdeps/s390/dl-irel.h: New file.
1929 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1930 * sysdeps/s390/s390-64/memset.S: New asm code.
1931 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1932 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1933 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1934 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1935 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1936 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1937 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1938 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1939 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1940 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1941 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1942 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1943 * sysdeps/s390/s390-32/memset.S: New asm code.
1944 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1945
3b05db33
MP
19462012-07-17 Marek Polacek <polacek@redhat.com>
1947
1948 [BZ #14349]
1949 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1950 * sysdeps/s390/s390-64/configure.in: Likewise.
1951 * sysdeps/sparc/configure.in: Likewise.
1952 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1953 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1954 * sysdeps/i386/configure.in: Likewise.
1955 * sysdeps/x86_64/configure.in: Likewise.
1956 * sysdeps/sh/configure.in: Likewise.
1957 * sysdeps/s390/s390-32/configure: Regenerated.
1958 * sysdeps/s390/s390-64/configure: Likewise.
1959 * sysdeps/x86_64/configure: Likewise.
1960 * sysdeps/sh/configure: Likewise.
1961 * sysdeps/powerpc/powerpc64/configure: Likewise.
1962 * sysdeps/powerpc/powerpc32/configure: Likewise.
1963 * sysdeps/sparc/configure: Likwise.
1964 * sysdeps/i386/configure: Likewise.
1965
a66877c6
MP
1966 * elf/dl-open.c: Comment fixes.
1967
cfc82fd8
JM
19682012-07-17 Joseph Myers <joseph@codesourcery.com>
1969
bd29910a
JM
1970 * Makefile [CXX] (check-data): Remove.
1971 [CXX] (c++-types.data): New vpath directive.
1972 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1973 vpath. Do not allow for C++ type data being missing.
1974 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1975 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1976 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1977 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1978 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1979 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1980 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1982 ... here.
1983 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1985 ... here.
1986 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1988 ... here.
1989 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1991 ... here.
1992 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1994 ... here.
1995 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1997 ... here.
1998 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2000 ... here.
2001 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2003
cfc82fd8
JM
2004 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2005 definitions to architecture-specific files.
2006 (TLS_IE): Likewise.
2007 (TLS_LD): Likewise.
2008 (TLS_GD): Likewise.
2009 * sysdeps/i386/tls-macros.h: New file.
2010 * sysdeps/powerpc/tls-macros.h: Likewise.
2011 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2012 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2013 * sysdeps/sh/tls-macros.h: Likewise.
2014 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2015 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2016 * sysdeps/x86_64/tls-macros.h: Likewise.
2017
f7db3170
TS
20182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2019
07cbfc23
TS
2020 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2021 zero value for regular exit case.
2022
f7db3170
TS
2023 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2024 (__start_context): Preserve zero value for regular exit case.
2025
dc97c227
TS
20262012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2027 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2028
2029 * manual/setjmp.texi (setcontext): Clarify normal process
2030 termination when uc_link is the null pointer.
2031 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2032 exit call.
2033
d0cd7d02
AS
20342012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2035
2036 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2037 preprocessor. Test for each exception mask separately.
2038
dd318934
AJ
20392012-07-16 Andreas Jaeger <aj@suse.de>
2040
2041 * po/ru.po: Update from translation team.
2042
8048311a
JM
20432012-07-15 Joseph Myers <joseph@codesourcery.com>
2044
2045 * conform/data/string.h-data (NULL): Use macro-constant. Require
2046 equal to 0.
2047 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2048 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2049 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2050 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2052
b637d46e
AJ
20532012-07-13 Andreas Jaeger <aj@suse.de>
2054
2055 * po/fr.po: Update from translation team.
2056
541428fe
MP
20572012-07-12 Marek Polacek <polacek@redhat.com>
2058
2059 [BZ #14173]
2060 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2061 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2062 loop condition.
2063
ec332e94
JM
20642012-07-12 Joseph Myers <joseph@codesourcery.com>
2065
2066 [BZ #13717]
2067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2068 Change to 2.4.1 where previously 2.4.0.
2069 * sysdeps/unix/sysv/linux/configure: Regenerated.
2070 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2071 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2072 version.
2073 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2074 (__ASSUME_AT_CLKTCK): Remove.
2075 (__ASSUME_AT_PAGESIZE): Likewise.
2076 (__ASSUME_AT_XID): Likewise.
2077 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2078 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2079 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2080 unconditionally.
2081 (HAVE_AUX_PAGESIZE): Likewise.
2082 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2083 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2084 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2085
7b6e99be
JB
20862012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2087
2088 [BZ #14307]
2089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2090 the temporary buffer used to invoke __gethostbyname2_r,
2091 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2092 host_data / struct gaih_addrtuple.
2093 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2094 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2095 header file nss/nsswitch.h.
2096 * nss/nsswitch.h (global scope): Add definition of implementation
2097 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2098 resolv/nss_dns/dns-host.c).
2099
608404eb
AJ
21002012-07-11 Andreas Jaeger <aj@suse.de>
2101
2102 * po/fr.po: Update from translation team.
2103
71220aca
AJ
2104 * po/sv.po: Update from translation team
2105 * po/fr.po: Another update from translation team.
2106
28cfe843
AZ
21072012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108
2109 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2110 for subnormals or multiply small sinh result by itself.
2111 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2113
6b90f981
DM
21142012-07-11 David S. Miller <davem@davemloft.net>
2115
2116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2117
c6825772
AS
21182012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2119
2120 [BZ #14347]
2121 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2122 (INTERNAL_MARK): Shift it here.
2123
7b8e0d49
MP
21242012-07-10 Marek Polacek <polacek@redhat.com>
2125
2126 [BZ #14151]
2127 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2128 libc_cv_asm_global_directive with .globl.
2129 * configure: Regenerated.
2130 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2131 with .globl.
2132 * sysdeps/i386/configure: Regenerated.
2133 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2134 with .globl.
2135 * sysdeps/x86_64/configure: Regenerated.
2136 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2137 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2138 * elf/tst-unique2mod2.c: Likewise.
2139 * elf/tst-unique2mod1.c: Likewise.
2140 * elf/tst-unique1mod2.c: Likewise.
2141 * elf/tst-unique1mod1.c: Likewise.
2142 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2143 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2144 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2145 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2146 * sysdeps/mach/sysdep.h: Likewise.
2147 * sysdeps/i386/sysdep.h: Likewise.
2148 * sysdeps/i386/i386-mcount.S: Likewise.
2149 * sysdeps/x86_64/_mcount.S: Likewise.
2150 * sysdeps/x86_64/sysdep.h: Likewise.
2151 * sysdeps/sh/_mcount.S: Likewise.
2152 * sysdeps/sh/sysdep.h: Likewise.
2153 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2154 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2155 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2156 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2157 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2158 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2159 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2160 * locale/localeinfo.h: Likewise.
2161 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2162 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2163
6c55cda3
RM
21642012-07-09 Roland McGrath <roland@hack.frob.com>
2165
2166 [BZ #14336]
2167 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2168 system".
2169 * manual/message.texi (The Uniforum approach): Likewise.
2170 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2171 (glibc iconv Implementation): Likewise.
2172
638a572e
JM
21732012-07-09 Joseph Myers <joseph@codesourcery.com>
2174
2175 [BZ #14337]
2176 * math/s_clog.c (__clog): Avoid scaling a value down where that
2177 could result in underflow.
2178 * math/s_clog10.c (__clog10): Likewise.
2179 * math/s_clog10f.c (__clog10f): Likewise.
2180 * math/s_clog10l.c (__clog10l): Likewise.
2181 * math/s_clogf.c (__clogf): Likewise.
2182 * math/s_clogl.c (__clogl): Likewise.
2183 * math/libm-test.inc (clog_test): Add more tests.
2184 (clog10_test): Likewise.
2185 * sysdeps/i386/fpu/libm-test-ulps: Update.
2186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2187
261f4859
AS
21882012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2189
0abaf3e4
AS
2190 [BZ #14283]
2191 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2192 by 7 not 8 to examine high bit of fractional part.
2193
261f4859
AS
2194 [BZ #14042]
2195 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2196 for call to __mcount_internal.
2197 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2198 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2199 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2200
f17ac40d
JM
22012012-07-06 Joseph Myers <joseph@codesourcery.com>
2202
9ad63c23
JM
2203 [BZ #14154]
2204 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2205 approximation for values within 0x1p-13f of an odd multiple of
2206 pi/4.
2207 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2208 exception. Add more tests.
2209 * sysdeps/i386/fpu/libm-test-ulps: Update.
2210
f17ac40d
JM
2211 [BZ #6778]
2212 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2213 inputs and return -1 for them. Do not check for +Inf in case not
2214 reachable for +Inf.
2215 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2216 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2217 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2218 and return -1 for them. Do not check for +Inf in case not
2219 reachable for +Inf.
2220 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2221 define.
2222 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2223 and return -1 for them. Do not check for +Inf in case not
2224 reachable for +Inf.
2225 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2226 spurious underflow.
2227 * sysdeps/i386/fpu/libm-test-ulps: Update.
2228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2229
fb21f89b
MF
22302012-07-06 Mike Frysinger <vapier@gentoo.org>
2231
2232 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2233
cdfe2c5e
JM
22342012-07-05 Joseph Myers <joseph@codesourcery.com>
2235
2236 [BZ #14157]
2237 [BZ #14331]
2238 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2239 could result in spurious underflow. Scale down values above
2240 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2241 * math/s_csqrtf.c (__csqrtf): Likewise.
2242 * math/s_csqrtl.c (__csqrtl): Likewise.
2243 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2244 spurious underflow.
2245 * sysdeps/i386/fpu/libm-test-ulps: Update.
2246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2247
70d35b67
AS
22482012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2249
704bc459
AS
2250 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2251 xopen-msg.sed.
2252 * catgets/xopen-msg.awk: New file.
2253 * catgets/xopen-msg.sed: Removed.
2254
70d35b67
AS
2255 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2256 po2text.sed.
2257 * intl/po2test.awk: New file.
2258 * intl/po2test.sed: Removed.
2259
ca61cf32
JM
22602012-07-04 Joseph Myers <joseph@codesourcery.com>
2261
2262 [BZ #14328]
2263 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2264 or multiply small sinh result by itself.
2265 * math/s_ctanf.c (__ctanf): Likewise.
2266 * math/s_ctanh.c (__ctanh): Likewise.
2267 * math/s_ctanhf.c (__ctanhf): Likewise.
2268 * math/s_ctanhl.c (__ctanhl): Likewise.
2269 * math/s_ctanl.c (__ctanl): Likewise.
2270 * math/libm-test.inc (ctan_test_tonearest): New function.
2271 (ctan_test_towardzero): Likewise.
2272 (ctan_test_downward): Likewise.
2273 (ctan_test_upward): Likewise.
2274 (ctanh_test_tonearest): Likewise.
2275 (ctanh_test_towardzero): Likewise.
2276 (ctanh_test_downward): Likewise.
2277 (ctanh_test_upward): Likewise.
2278 (main): Call these new functions.
2279 * sysdeps/i386/fpu/libm-test-ulps: Update.
2280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2281
ca48a46a
MF
22822012-07-03 Mike Frysinger <vapier@gentoo.org>
2283
2284 * .gitignore: Delete /ports entry.
2285
9d63d37d
AJ
22862012-07-03 Andreas Jaeger <aj@suse.de>
2287
2288 * po/bg.po: Update from translation team.
2289 * po/cs.po: Likewise.
2290 * po/de.po: Likewise.
2291 * po/hr.po: Likewise.
2292 * po/nl.pl: Likewise.
2293 * po/pl.po: Likewise.
2294 * po/vi.po: Likewise.
2295
370ca3d2
JM
22962012-07-03 Joseph Myers <joseph@codesourcery.com>
2297
95f5a9a8
JM
2298 * Makeconfig [!+link] (+link-before-libc): New variable.
2299 [!+link] (+link-after-libc): Likewise.
2300 [!+link] (+link-tests): Likewise.
2301 [!+link] (+link): Define in terms of $(+link-before-libc) and
2302 $(+link-after-libc).
2303 [!+link-static] (+link-static-before-libc): New variable.
2304 [!+link-static] (+link-static-after-libc): Likewise.
2305 [!+link-static] (+link-static-tests): Likewise.
2306 [!+link-static] (+link-static): Define in terms of
2307 $(+link-static-before-libc) and $(+link-static-after-libc).
2308 [build-shared] (link-libc-before-gnulib): New variable.
2309 [build-shared] (link-libc-tests): Likewise.
2310 [build-shared] (link-libc): Define in terms of
2311 $(link-libc-before-gnulib).
2312 [!build-shared] (link-libc-tests): New variable.
2313 (link-libc-static-tests): New variable.
2314 [!gnulib] (gnulib-arch): New variable.
2315 [!gnulib] (gnulib-tests): Likewise.
2316 [!gnulib] (static-gnulib-arch): Likewise.
2317 [!gnulib] (static-gnulib-tests): Likewise.
2318 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2319 Define with "=" instead of ":=".
2320 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2321 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2322 * Rules (binaries-all-notests): New variable.
2323 (binaries-all-tests): Likewise.
2324 (binaries-static-notests): Likewise.
2325 (binaries-static-tests): Likewise.
2326 (binaries-all): Define using $(binaries-all-notests) and
2327 $(binaries-all-tests).
2328 (binaries-static): Define using $(binaries-static-notests) and
2329 $(binaries-static-tests).
2330 (binaries-shared-tests): New variable.
2331 (binaries-shared-notests): Likewise.
2332 (binaries-shared): Remove variable.
2333 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2334 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2335 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2336 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2337 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2338 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2339 * elf/Makefile (sln-modules): New variable.
2340 (extra-objs): Add $(sln-modules:=.o).
2341 (ldconfig-modules): Add static-stubs.
2342 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2343 * elf/static-stubs.c: New file.
2344
7a845b2c
JM
2345 [BZ #14283]
2346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2347 by 7 not 8 to examine high bit of fractional part. Use volatile
2348 variables when splitting into final array of floats if
2349 __FLT_EVAL_METHOD__ != 0.
2350 * math/libm-test.inc (cos_test): Add another test.
2351 (sin_test): Likewise.
2352 * sysdeps/i386/fpu/libm-test-ulps: Update.
2353
e2283f38
JM
2354 [BZ #14273]
2355 * math/libm-test.inc (cosh_test): Add more tests.
2356
370ca3d2
JM
2357 * version.h (RELEASE): Set to "development".
2358 (VERSION): Set to "2.16.90".
2359
ee9247c3
CD
23602012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2361
2362 * NEWS: Update copyright. Remove last-updated date.
2363 Mention math library bug fixes and timezone data changes.
2364 * README: Mention GNU/Hurd, x32, and HPPA support status.
2365
4648c381
TS
23662012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2367
2368 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2369
aac78a43
AJ
23702012-06-27 Andreas Jaeger <aj@suse.de>
2371
2372 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2373
ed3dbfad
AJ
23742012-06-25 Andreas Jaeger <aj@suse.de>
2375
2376 * sysdeps/s390/fpu/libm-test-ulps: Update.
2377
4d0ee855
AS
23782012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2379 Thomas Schwinge <thomas@codesourcery.com>
2380
2381 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2382 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2384 fanotify_mark.
2385
af1bce34
TS
23862012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2387
a9fa33ba
TS
2388 * sysdeps/mach/start.c: Remove file.
2389 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2390 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2391 * sysdeps/sh/init-first.c: Likewise.
2392
58f902b8
TS
2393 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2394 registers for frame unwinding purposes, add CFI directives.
2395 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2396 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2397 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2398 Likewise.
2399
1518f58b
TS
2400 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2401 __fortify_fail returning.
2402 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2403
db9b5059
TS
2404 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2405 sysdeps/sh/____longjmp_chk.S.
2406 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2407 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2408 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2409 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2410
967705fe
TS
2411 * sysdeps/sh/abort-instr.h: New file.
2412 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2413 process in case exit returns.
2414
a9def8c4
TS
2415 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2416 initialize the GOT register before use.
2417
2a649725
TS
2418 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2419 calculation of ARGC > 4.
2420
af1bce34
TS
2421 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2422 meaningful names to some local labels.
2423
d230f50a
KK
24242012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2425 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2426
2427 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2428 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2429 (__arch_compare_and_exchange_val_16_acq): Likewise.
2430 (__arch_compare_and_exchange_val_32_acq): Likewise.
2431 (atomic_exchange_and_add): Fix gUSA sequence.
2432 (atomic_add): Likewise.
2433 (atomic_add_negative): Likewise.
2434 (atomic_add_zero): Likewise.
2435 (atomic_bit_test_set): Likewise.
2436
0479b305
AS
24372012-06-22 Andreas Schwab <schwab@redhat.com>
2438
2439 [BZ #13579]
2440 * include/link.h (struct link_map): Add l_free_initfini.
2441 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2442 l_initfini.
2443 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2444 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2445 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2446 set.
2447
0e3933b9
CD
24482012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2449
2450 * configure.in: Use AC_LANG_SOURCE.
2451 * configure: Regenerate.
2452
4248b1b1
RM
24532012-06-22 Roland McGrath <roland@hack.frob.com>
2454
2455 * configure.in (libc_cv_localstatedir): New substituted variable.
2456 * configure: Regenerated.
2457 * config.make.in (localstatedir): New variable, substituted from
2458 libc_cv_localstatedir.
2459 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2460 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2461 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2462 * sysdeps/gnu/configure: Regenerated.
2463
006dd861
JL
24642012-06-21 Jeff Law <law@redhat.com>
2465
2466 [BZ #14277]
2467 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2468 free. Simplify list management for _LIBC case.
2469
79662d42
JM
24702012-06-21 Joseph Myers <joseph@codesourcery.com>
2471
b7abb4bf
JM
2472 [BZ #14273]
2473 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2474 Clear sign bit of 64-bit integer value before comparing against
2475 overflow value.
2476
79662d42
JM
2477 * sysdeps/mach/configure: Regenerated.
2478
1f150908
L
24792012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2480
2481 [BZ #14278]
2482 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2483
28363bbf
JL
24842012-06-21 Jeff Law <law@redhat.com>
2485
2486 [BZ #13882]
2487 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2488 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2489 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2490 * elf/dl-open.c (dl_open_worker): Likewise.
2491
09615db4
CD
24922012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2493
2494 * scripts/list-sources.sh: Scan PORTS for translations.
2495 * po/libc.pot: Regenerated.
2496
2174c6dd
AJ
24972012-06-21 Andreas Jaeger <aj@suse.de>
2498
2499 [BZ #12194]
2500 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2501 warning.
2502 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2503 * bits/byteswap-16.h (__bswap_16): Likewise.
2504 * bits/byteswap.h (__bswap_constant_16): Likewise.
2505
3ee947b1
L
25062012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2507
2508 [BZ #14117]
a2f34833
L
2509 * sysdeps/i386/fpu_control.h: Removed.
2510 * sysdeps/x86_64/fpu_control.h: Moved to ...
2511 * sysdeps/x86/fpu_control.h: Here.
2512
3ee947b1
L
2513 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2514 (_FPU_SETCW): Likewise.
2515
ed1825f8
L
25162012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2517
25f1282a
L
2518 [BZ #14117]
2519 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2520 * sysdeps/x86/fpu/bits/mathinline.h: This.
2521 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2522
ed1825f8
L
2523 [BZ #14050]
2524 [BZ #14117]
2525 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2526 functions if __x86_64__ is defined.
2527
36d54b74
CLT
25282012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2529
2530 * string/endian.h: Add !__ASSEMBLER__ condition for including
2531 conversion interfaces.
2532
10285c21
JM
25332012-06-15 Joseph Myers <joseph@codesourcery.com>
2534
2535 [BZ #14241]
2536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2537 of ABS(x) in calculating zero to negative powers other than odd
2538 integers.
2539 * math/libm-test.inc (pow_test): Add more tests.
2540
06c5abbd
AJ
25412012-06-15 Andreas Jaeger <aj@suse.de>
2542
2543 * manual/contrib.texi (Contributors): Update entry of Liubov
2544 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2545 Machado Filho.
2546
a3aeac40
CH
25472012-06-15 Cyril Hrubis <metan@ucw.cz>
2548
2549 * string/string.h: Add __wur to GNU version of strerror_r.
2550
49bdf4c1
L
25512012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 [BZ #14229]
2554 * string/Makefile (tests): Add tst-strtok_r.
2555 * string/tst-strtok_r.c: New file.
2556 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2557 RAX_LP/RDX_LP on SAVE_PTR.
2558
834f9b8d
RM
25592012-06-14 Roland McGrath <roland@hack.frob.com>
2560
2561 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2562
75fa1921
JM
25632012-06-14 Joseph Myers <joseph@codesourcery.com>
2564
2565 * libm_test.inc (csqrt_test): Allow more spurious underflow
2566 exceptions.
2567 (j0_test): Likewise.
2568 (j1_test): Likewise.
2569 (y0_test): Likewise.
2570 (y1_test): Likewise.
2571
771766df
CD
25722012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2573
2574 * po/Makefile (libc.pot): Use UTF-8 charset.
2575
ceb9e56b
PP
25762012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2577
2578 [BZ #14210]
2579 Suppress sign-conversion warning from FD_SET.
2580 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2581 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2582 not unsigned long int.
2583 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2584
ddb28975
L
25852012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 [BZ #14050]
2588 [BZ #14117]
2589 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2590 __extern_always_inline instead of __extern_inline.
2591 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2592 (__signbit): Likewise.
2593 (__signbitl): Support C++ namespace.
2594 (lrintf): New inline function.
2595 (lrint): Likewise.
2596 (llrintf): Likewise.
2597 (llrint): Likewise.
2598 (fmaxf): Likewise.
2599 (fmax): Likewise.
2600 (fminf): Likewise.
2601 (fmin): Likewise.
2602 (rint): Likewise.
2603 (rintf): Likewise.
2604 (ceil): Likewise.
2605 (ceilf): Likewise.
2606 (floor): Likewise.
2607 (floorf): Likewise.
2608 (nearbyint): Likewise.
2609 (nearbyintf): Likewise.
2610
d7b4fb26
TS
26112012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2612
2613 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2614 non-default versions.
2615
eb55f5c2
RM
26162012-06-11 Roland McGrath <roland@hack.frob.com>
2617
2618 [BZ #14218]
2619 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2620
366af02c
TS
26212012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2622
99ff6e5c
TS
2623 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2624 (FE_UPWARD, FE_DOWNWARD): Don't define.
2625 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2626 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2627
366af02c
TS
2628 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2629 reading it.
2630 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2631 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2632
793ea851
KK
26332012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2634
2635 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2636 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2637 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2638 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2639
a728a38f
L
26402012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2641
2642 [BZ #14117]
c08010c7
L
2643 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2644 * sysdeps/i386/fpu/Implies: New file.
2645 * sysdeps/x86_64/fpu/Implies: Likewise.
2646 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2647 * sysdeps/x86/fpu/bits/fenv.h: This.
2648
a728a38f
L
2649 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2650 __SSE_MATH__.
2651
6e230d11
SP
26522012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2653
2654 [BZ #14134]
2655 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2656 character 0xffff that matches the last element of the
2657 conversion table.
2658
1b671feb
AZ
26592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2660
2661 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2662 fmodl commit.
2663
6043738b
AZ
26642012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2665
2666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2667 values higher than 25.6283.
2668
34ae0b32
AZ
26692012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670
2671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2672 subnormal exponent extraction and add some __builtin_expect.
2673 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2674 Fix for subnormal mantissa calculation.
2675
1214ec8f
MF
26762012-06-04 Mike Frysinger <vapier@gentoo.org>
2677
2678 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2679 cpu2 is -1 and errno is not ENOSYS.
2680
f3d1f93c
L
26812012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2682
2683 [BZ #14117]
0e4a3cd7
L
2684 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2685 * sysdeps/x86/bits/string.h: This.
2686 * sysdeps/x86_64/bits/string.h: Removed.
2687
6704c645
L
2688 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2689 if not compiling for x86-64, but compiling for >= i486.
2690
48495318
L
2691 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2692 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2693
14adcbfc
L
2694 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2695 New macro from Linux kernel 3.4.0.
2696 (FP_XSTATE_MAGIC2): Likewise.
2697 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2698 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2699 (struct _fpx_sw_bytes): New struct.
2700 (struct _xsave_hdr): Likewise.
2701 (struct _ymmh_state): Likewise.
2702 (struct _xstate): Likewise.
2703
68e408ab
L
2704 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2705 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2706 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2707 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2708 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2709 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2710
f3d1f93c
L
2711 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2712 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2713 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2714 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2715 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2716 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2717
d9dc34cd
TMQMF
27182012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2719
2720 [BZ #13743]
2721 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2722 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2723 (sysdep_headers): Include sys/platform/ppc.h.
2724 * sysdeps/powerpc/test-gettimebase.c: Test for
2725 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2726 * manual/Makefile (appendices): Include platform.texi.
2727 * manual/contrib.texi (Contributors): Update @node pointers.
2728 * manual/maint.texi (Maintenance): Likewise.
2729 (Platform): New node.
2730 * manual/platform.texi: New file. Document the new features.
2731
4af3879c
SP
27322012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2733 Jakub Jelinek <jakub@redhat.com>
2734
2735 [BZ #14188]
2736 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2737 where __builtin_expect is unavailable.
2738
2fd6ff13
DM
27392012-06-03 David S. Miller <davem@davemloft.net>
2740
2741 * stdlib/longlong.h: Updated from GCC.
2742
173f7220
AS
27432012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2744
2745 [BZ #14042]
2746 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2747 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2748 __mcount_internal.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2750 (GLIBC_2.16): Likewise.
2751
f34a1c6f
L
27522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2753
2754 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2755
88a4576f
JM
27562012-06-01 Joseph Myers <joseph@codesourcery.com>
2757
ea32bcdd
JM
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2759 (default-abi): New variable.
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2761 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2762 variable.
2763 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2764 Likewise.
2765 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2766 Likewise.
2767 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2768 Likewise.
2769
88a4576f
JM
2770 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2771 definition. Document in comment.
2772
402fe938
DM
27732012-06-01 David S. Miller <davem@davemloft.net>
2774
2775 * stdlib/longlong.h: Updated from GCC.
2776
3553723f
L
27772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2778
2779 [BZ #14117]
3bd872c4
L
2780 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2781 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2782 sys/debugreg.h sys/io.h here.
2783 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2784 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2785 sys/io.h.
2786 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2787 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2788 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2789 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2790 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2791 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2792
3553723f
L
2793 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2794 Define only if __x86_64__ is defined.
2795
4842e4fe
JM
27962012-06-01 Joseph Myers <joseph@codesourcery.com>
2797
c5bfe3d5
JM
2798 [BZ #14048]
2799 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2800 Use int64_t for variable i.
2801 * math/libm-test.inc (fmod_test): Add more tests.
2802
4842e4fe
JM
2803 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2804 z computation is not scheduled after fetestexcept.
2805 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2806 Use math_force_eval instead of asm to ensure calculation scheduled
2807 before exception test.
2808 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2809 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2810
efb73488
AJ
28112012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2812
2813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2814 computation is not scheduled after fetestexcept.
2815
29bcce7c
L
28162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2817
2818 [BZ #14117]
2819 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2820 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2821
73a68f94
AZ
28222012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2823
2824 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2825 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2826
67b6df78
L
28272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2828
edf2933a 2829 [BZ #14117]
ebc64a18
L
2830 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2831 <bits/wordsize.h>.
2832 (__WCHAR_MIN): Support __WORDSIZE == 64.
2833 (__WCHAR_MAX): Likewise.
2834
edf2933a
L
2835 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2836 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2837
57c6cf40
L
2838 [BZ #14183]
2839 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2840 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2841
67b6df78 2842 [BZ #14117]
8eb6281e
L
2843 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2844 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2845
aac639f4
L
2846 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2847 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2848
67b6df78
L
2849 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2850 Defined to 1 if __x86_64__ isn't defined.
2851 (_STAT_VER_LINUX_OLD): New.
2852 (st_atime): Remove duplicate.
2853 (st_mtime): Likewise.
2854 (st_ctime): Likewise.
2855
1c2cfe81
DM
28562012-05-31 David S. Miller <davem@davemloft.net>
2857
2858 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2859 entries.
2860
5be8418c
AS
28612012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2862
e7725326
AS
2863 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2864 gen-libm-test.pl.
2865
5be8418c
AS
2866 [BZ #14132]
2867 * elf/dl-reloc.c: Include <_itoa.h>.
2868 (_dl_reloc_bad_type): Remove use of INTUSE.
2869 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2870 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2871 * stdio-common/psiginfo.c (psiginfo): Likewise.
2872 * stdio-common/psignal.c (psignal): Likewise.
2873 * string/strsignal.c (strsignal): Likewise.
2874 * include/signal.h (_sys_siglist): Declare hidden proto.
2875 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2876 INTVARDEF with libc_hidden_data_def.
2877 * stdio-common/itoa-udigits.c: Likewise.
2878 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2879 (_itoa_lower_digits_internal): Remove declaration.
2880 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2881 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2882 (_sys_sigabbrev_internal): Remove aliases.
2883 (_sys_siglist): Define hidden alias.
2884
507352f1
MT
28852012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2886
2887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2888 bits/sysctl.h.
2889
42bbb1c3
L
28902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 [BZ #14117]
6bd784b6
L
2893 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2894 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2895
8bca20f0
L
2896 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2897 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2898 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2899 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2901 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2902
f9e890a9
L
2903 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2904 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2905 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2906
471101a1
L
2907 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2908 with __addr.
2909 (insw): Likewise.
2910 (insl): Likewise.
2911 (outsb): Likewise.
2912 (outsw): Likewise.
2913 (outsl): Likewise.
2914
6451c862
L
2915 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2916 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2917 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2918
a254b8c9
L
2919 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2920 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2921 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2922 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2923 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2924 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2925
b8dfdd92
L
2926 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2927 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2928
578cd270
L
2929 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2930 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2931
de662f5f
L
2932 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2933 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2934 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2935
25653439
L
2936 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2937 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2938 to ...
2939 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2940
6bad24a0
L
2941 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2942 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2943 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2944
42bbb1c3
L
2945 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2946 for x86-64.
2947 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2948
2d10d547
JM
29492012-05-31 Joseph Myers <joseph@codesourcery.com>
2950
2951 * math/math.h (M_El): Use two more decimal places.
2952 (M_LOG2El): Likewise.
2953 (M_LOG10El): Likewise.
2954 (M_LN2l): Likewise.
2955 (M_LN10l): Likewise.
2956 (M_PIl): Likewise.
2957 (M_PI_2l): Likewise.
2958 (M_PI_4l): Likewise.
2959 (M_1_PIl): Likewise.
2960 (M_2_PIl): Likewise.
2961 (M_2_SQRTPIl): Likewise.
2962 (M_SQRT2l): Likewise.
2963 (M_SQRT1_2l): Likewise.
2964
f230c29b
DM
29652012-05-31 David S. Miller <davem@davemloft.net>
2966
2967 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2968 values between float registers.
2969 * sysdeps/sparc/sparc64/memset.S: Likewise.
2970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2971
fed806c3
MF
29722012-05-31 Mike Frysinger <vapier@gentoo.org>
2973
2974 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2975 -D_FORTIFY_SOURCE=1.
2976 (CPPFLAGS-tst-longjmp_chk.c): Define.
2977 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2978 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2979 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2980 CFLAGS-tst-wchar-h.c.
2981
30917259
MP
29822012-05-31 Marek Polacek <polacek@redhat.com>
2983
2984 [BZ #14132]
2985 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2986 __endmntent_internal): Remove declaration.
2987 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2988 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2989 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2990
1c58d5dc
DM
29912012-05-30 David S. Miller <davem@davemloft.net>
2992
2993 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2994 (___Q_simulate_exceptions): Use real FP ops rather than writing
2995 into the %fsr.
2996 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2997 Likewise.
2998
7dc00e0d
L
29992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 [BZ #14117]
0bd53985
L
3002 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3003 * sysdeps/x86/bits/xtitypes.h: This.
3004
3a257e66
L
3005 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3006 * sysdeps/x86/bits/wordsize.h: This.
3007
62f62904
L
3008 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3009 * sysdeps/x86/bits/huge_vall.h: This.
3010
404fe9d9
L
3011 * sysdeps/i386/bits/select.h: Removed.
3012 * sysdeps/x86_64/bits/select.h: Renamed to ...
3013 * sysdeps/x86/bits/select.h: This.
3014
d48d0446
L
3015 * sysdeps/i386/bits/setjmp.h: Removed.
3016 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3017 * sysdeps/x86/bits/setjmp.h: This.
3018
7dc00e0d
L
3019 * sysdeps/i386/bits/mathdef.h: Removed.
3020 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3021 * sysdeps/x86/bits/mathdef.h: This.
3022
03277f8f
AS
30232012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3024
3025 [BZ #14132]
3026 * include/sys/socket.h (__connect_internal)
3027 (__libc_sa_len_internal): Remove declaration.
3028 (__connect, __libc_sa_len): Declare hidden_proto.
3029 (SA_LEN): Remove use of INTUSE.
3030 * socket/connect.c: Add libc_hidden_def.
3031 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3032 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3033 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3034 alias.
3035 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3036 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3037 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3038 of adding _internal alias.
3039
13764867
L
30402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 [BZ #14117]
6bd97696
L
3043 * sysdeps/i386/bits/link.h: Removed.
3044 * sysdeps/i386/bits/linkmap.h: Likewise.
3045 * sysdeps/x86_64/bits/link.h: Renamed to ...
3046 * sysdeps/x86/bits/link.h: This.
3047 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3048 * sysdeps/x86/bits/linkmap.h: This.
3049
f726f0bb
L
3050 * sysdeps/i386/bits/endian.h: Removed.
3051 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3052 * sysdeps/x86/bits/endian.h: This.
3053
13764867
L
3054 * sysdeps/i386/bits/byteswap.h: Removed.
3055 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3056 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3057 * sysdeps/x86/bits/byteswap.h: This.
3058 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3059 * sysdeps/x86/bits/byteswap-16.h: This.
3060 * sysdeps/i386/Implies: Add x86.
3061 * sysdeps/x86_64/Implies: Likewise.
3062
ae251b0b
DM
30632012-05-30 David S. Miller <davem@davemloft.net>
3064
3065 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3066 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3067 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3068 (FP_TRAPPING_EXCEPTIONS): Define.
3069 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3070 (FP_TRAPPING_EXCEPTIONS): Define.
3071 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3072 subnormals only when inexact has been signalled or underflow
3073 exceptions are enabled.
3074 (_FP_PACK_CANONICAL): Likewise.
3075
d5c90867
L
30762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3077
3078 [BZ #14183]
3079 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3080 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3081
63f1549e
RH
30822012-05-30 Richard Henderson <rth@twiddle.net>
3083
8d8f2279
RH
3084 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3085 with #ifndef NOT_IN_libc.
3086
63f1549e
RH
3087 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3088 marked to avoid plt entry.
3089
0ab0291b
L
30902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3091
3092 [BZ #14112]
3093 * Makeconfig (default-abi): New macro.
3094 (abi-includes): Likewise.
3095 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3096 $(abi-$(default-abi)-lib-soname) for soname if defined.
3097 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3098 abi-variants.
3099 * Makefile (installed-stubs): Likewise.
3100 * include/stubs-biarch.h: Removed.
3101 * scripts/lib-names.awk: Only handle one library at a time.
3102 * scripts/soversions.awk: Remove WORDSIZE support.
3103 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3104 entries.
3105 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3106 Removed.
3107 (syscall-list-default-condition): Likewise.
3108 (syscall-list-default-condition): Likewise.
3109 (syscall-list-includes): Likewise.
3110 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3111 syscall-list-* with abi-*. Handle undefined abi-variants.
3112 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3113 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3114 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3115 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3116 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3117 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3118 Removed.
3119 (syscall-list-32-options): Likewise.
3120 (syscall-list-32-condition): Likewise.
3121 (syscall-list-64-options): Likewise.
3122 (syscall-list-64-condition): Likewise.
3123 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3124 macro.
3125 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3126 Renamed to ...
3127 (abi-*): This.
3128 (abi-64-ld-soname): New macro.
3129 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3131 Renamed to ...
3132 (abi-*): This.
3133 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3134 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3135
4da0431d
JM
31362012-05-30 Joseph Myers <joseph@codesourcery.com>
3137
3a85279c
JM
3138 * sysdeps/unix/sysv/linux/kernel-features.h
3139 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3140 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3141 include <kernel-features.h>.
3142 [!__NR_ftruncate64]: Remove conditional code.
3143 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3144 [__NR_ftruncate64]: Make code unconditional.
3145 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3146 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3147 include <kernel-features.h>.
3148 [!__NR_ftruncate64]: Remove conditional code.
3149 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3150 [__NR_ftruncate64]: Make code unconditional.
3151 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3153 include <kernel-features.h>.
3154 [!__NR_ftruncate64]: Remove conditional code.
3155 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3156 [__NR_ftruncate64]: Make code unconditional.
3157 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3159 include <kernel-features.h>.
3160 [!__NR_ftruncate64]: Remove conditional code.
3161 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3162 [__NR_ftruncate64]: Make code unconditional.
3163 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3164
4da0431d
JM
3165 * configure.in (libc_cv_fpie): Weaken to a compile test using
3166 LIBC_TRY_CC_OPTION.
3167 * configure: Regenerated.
3168
11ef492c
AK
31692012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3170
3171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3175 Refreshed.
3176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3182 Refreshed.
3183
d66ef399
DM
31842012-05-27 David S. Miller <davem@davemloft.net>
3185
3186 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3187 (___Q_zero): New.
3188 (__Q_simulate_exceptions): Return void. Change to simulate
3189 exceptions by writing into the %fsr.
3190 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3191 (__Qp_handle_exceptions): Likewise.
3192 (numbers): Delete.
3193 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3194 __Qp_handle_exceptions.
3195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3196 __Qp_handle_exceptions.
3197 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3198 as unused and give dummy FP_RND_NEAREST initializer.
3199 (FP_INHIBIT_RESULTS): Define.
3200 (___Q_simulate_exceptions): Update declaration.
3201 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3202 formatting.
3203 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3204 as unused and give dummy FP_RND_NEAREST initializer.
3205 (__Qp_handle_exceptions): Update declaration.
3206 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3207 formatting.
3208
04fb54b5
TS
32092012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3210
3211 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3212 the temporary FPU control word.
3213 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3214 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3215 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3216 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3217 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3218 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3219 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3220 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3221 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3222 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3223 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3224
3f99608f
KK
32252012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3226
3227 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3228 fields.
3229
65a4de4e
CLT
32302012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3231
3232 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3233 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3234 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3235 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3236 Likewise.
3237 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3238 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3239 Likewise.
3240
15749d40
UD
32412012-05-27 Ulrich Drepper <drepper@gmail.com>
3242
3243 * po/h.po: Update from translation team.
3244
25dbcb27
AS
32452012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3246
3d3f8e55
AS
3247 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3248
25dbcb27
AS
3249 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3250 handling of denormals.
3251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3252 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3253 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3254 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3256 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3258 Likewise.
3259
7ad47a80 32602012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3261
3262 [BZ #14152]
3263 * math/libm-test.inc (fma_test): Don't always expect underflow
3264 exception.
3265
9c6ea9fa
SP
32662012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3267
3268 [BZ #12416]
3269 * elf/tst-execstack.c: Include stackinfo.h.
3270 (do_test): Adjust test case to ensure that pthread_getattr_np
3271 behaviour remains the same after marking stack executable.
3272
a8239222
JM
32732012-05-25 Joseph Myers <joseph@codesourcery.com>
3274
3275 * sysdeps/unix/sysv/linux/kernel-features.h
3276 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3277 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3278 kernel-features.h.
3279 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3280 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3281 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3282 kernel-features.h.
3283 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3284 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3285
918b5606
L
32862012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * configure.in: Define the default includes to being none.
3289 * configure: Regenerated.
3290
3a097cc7
RM
32912012-05-25 Roland McGrath <roland@hack.frob.com>
3292
8422c9a5
RM
3293 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3294 * sysdeps/x86_64/setjmp.S: Likewise.
3295 * sysdeps/i386/bsd-setjmp.S: Likewise.
3296 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3297 * sysdeps/i386/setjmp.S: Likewise.
3298 * sysdeps/i386/__longjmp.S: Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3300 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3301
3a097cc7
RM
3302 * include/stap-probe.h: New file.
3303 * configure.in: Handle --enable-systemtap.
3304 * configure: Regenerated.
3305 * config.h.in (USE_STAP_PROBE): New #undef.
3306 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3307 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3308 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3309
21708942
JM
33102012-05-25 Joseph Myers <joseph@codesourcery.com>
3311
3312 [BZ #13717]
3313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3314 to 2.4.0 where earlier.
3315 * sysdeps/unix/sysv/linux/configure: Regenerated.
3316 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3317 <kernel-features.h>.
3318 [__ASSUME_32BITUIDS]: Make code unconditional.
3319 [!__ASSUME_32BITUIDS]: Remove conditional code.
3320 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3321 <kernel-features.h>.
3322 [__ASSUME_32BITUIDS]: Make code unconditional.
3323 [!__ASSUME_32BITUIDS]: Remove conditional code.
3324 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3325 [__ASSUME_32BITUIDS]: Make code unconditional.
3326 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3327 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3328 <kernel-features.h>.
3329 [__ASSUME_32BITUIDS]: Make code unconditional.
3330 [!__ASSUME_32BITUIDS]: Remove conditional code.
3331 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3332 <kernel-features.h>.
3333 [__ASSUME_32BITUIDS]: Make code unconditional.
3334 [!__ASSUME_32BITUIDS]: Remove conditional code.
3335 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3336 <kernel-features.h>.
3337 [__ASSUME_32BITUIDS]: Make code unconditional.
3338 [!__ASSUME_32BITUIDS]: Remove conditional code.
3339 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3340 <kernel-features.h>.
3341 [__ASSUME_32BITUIDS]: Make code unconditional.
3342 [!__ASSUME_32BITUIDS]: Remove conditional code.
3343 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3344 <kernel-features.h>.
3345 [__ASSUME_32BITUIDS]: Make code unconditional.
3346 [!__ASSUME_32BITUIDS]: Remove conditional code.
3347 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3348 <kernel-features.h>.
3349 [__ASSUME_32BITUIDS]: Make code unconditional.
3350 [!__ASSUME_32BITUIDS]: Remove conditional code.
3351 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3352 <kernel-features.h>.
3353 [__ASSUME_32BITUIDS]: Make code unconditional.
3354 [!__ASSUME_32BITUIDS]: Remove conditional code.
3355 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3356 <kernel-features.h>.
3357 [__ASSUME_32BITUIDS]: Make code unconditional.
3358 [!__ASSUME_32BITUIDS]: Remove conditional code.
3359 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3360 <kernel-features.h>.
3361 [__ASSUME_32BITUIDS]: Make code unconditional.
3362 [!__ASSUME_32BITUIDS]: Remove conditional code.
3363 * sysdeps/unix/sysv/linux/i386/semctl.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/i386/setegid.c: Do not include
3368 <kernel-features.h>.
3369 [__NR_setresgid] (__setresgid): Do not declare.
3370 [__ASSUME_32BITUIDS]: Make code unconditional.
3371 [!__ASSUME_32BITUIDS]: Remove conditional code.
3372 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3373 <kernel-features.h>.
3374 [__NR_setresuid] (__setresuid): Do not declare.
3375 [__ASSUME_32BITUIDS]: Make code unconditional.
3376 [!__ASSUME_32BITUIDS]: Remove conditional code.
3377 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3378 <kernel-features.h>.
3379 [__ASSUME_32BITUIDS]: Make code unconditional.
3380 [!__ASSUME_32BITUIDS]: Remove conditional code.
3381 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3382 <kernel-features.h>.
3383 [__ASSUME_32BITUIDS]: Make code unconditional.
3384 [!__ASSUME_32BITUIDS]: Remove conditional code.
3385 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3386 <kernel-features.h>.
3387 [__ASSUME_32BITUIDS]: Make code unconditional.
3388 [!__ASSUME_32BITUIDS]: Remove conditional code.
3389 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3390 <kernel-features.h>.
3391 [__ASSUME_32BITUIDS]: Make code unconditional.
3392 [!__ASSUME_32BITUIDS]: Remove conditional code.
3393 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3394 <kernel-features.h>.
3395 [__ASSUME_32BITUIDS]: Make code unconditional.
3396 [!__ASSUME_32BITUIDS]: Remove conditional code.
3397 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3398 <kernel-features.h>.
3399 [__ASSUME_32BITUIDS]: Make code unconditional.
3400 [!__ASSUME_32BITUIDS]: Remove conditional code.
3401 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3402 <kernel-features.h>.
3403 [__ASSUME_32BITUIDS]: Make code unconditional.
3404 [!__ASSUME_32BITUIDS]: Remove conditional code.
3405 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3406 <kernel-features.h>.
3407 [__ASSUME_32BITUIDS]: Make code unconditional.
3408 [!__ASSUME_32BITUIDS]: Remove conditional code.
3409 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3410 <kernel-features.h>.
3411 [__ASSUME_32BITUIDS]: Make code unconditional.
3412 [!__ASSUME_32BITUIDS]: Remove conditional code.
3413 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3414 <kernel-features.h>.
3415 [__ASSUME_32BITUIDS]: Make code unconditional.
3416 [!__ASSUME_32BITUIDS]: Remove conditional code.
3417 * sysdeps/unix/sysv/linux/kernel-features.h
3418 (__ASSUME_SETRESUID_SYSCALL): Remove.
3419 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3420 (__ASSUME_32BITUIDS): Likewise.
3421 (__ASSUME_LDT_WORKS): Likewise.
3422 (__ASSUME_O_DIRECTORY): Likewise.
3423 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3424 architecture but not kernel version.
3425 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3426 (__ASSUME_MMAP2_SYSCALL): Likewise.
3427 (__ASSUME_STAT64_SYSCALL): Likewise.
3428 (__ASSUME_IPC64): Likewise.
3429 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3430 <kernel-features.h>.
3431 [__ASSUME_32BITUIDS]: Make code unconditional.
3432 [!__ASSUME_32BITUIDS]: Remove conditional code.
3433 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3434 <kernel-features.h>.
3435 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3436 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3437 132096]: Remove conditional code.
3438 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3439 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3440 <kernel-features.h>.
3441 [__ASSUME_32BITUIDS]: Make code unconditional.
3442 [!__ASSUME_32BITUIDS]: Remove conditional code.
3443 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3444 <kernel-features.h>.
3445 [__ASSUME_32BITUIDS]: Make code unconditional.
3446 [!__ASSUME_32BITUIDS]: Remove conditional code.
3447 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3448 <kernel-features.h>.
3449 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3450 unconditional.
3451 (__setresgid): Do not declare.
3452 [__ASSUME_32BITUIDS]: Make code unconditional.
3453 [!__ASSUME_32BITUIDS]: Remove conditional code.
3454 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3455 <kernel-features.h>.
3456 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3457 unconditional.
3458 (__setresuid): Do not declare.
3459 [__ASSUME_32BITUIDS]: Make code unconditional.
3460 [!__ASSUME_32BITUIDS]: Remove conditional code.
3461 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3462 <kernel-features.h>.
3463 [__ASSUME_32BITUIDS]: Make code unconditional.
3464 [!__ASSUME_32BITUIDS]: Remove conditional code.
3465 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3466 <kernel-features.h>.
3467 [__ASSUME_32BITUIDS]: Make code unconditional.
3468 [!__ASSUME_32BITUIDS]: Remove conditional code.
3469
a386f1cc
RH
34702012-05-25 Richard Henderson <rth@twiddle.net>
3471
3472 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3473 dl_hwcap to ifunc resolver.
3474 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3475 elf_ifunc_invoke.
3476 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3477 dl_hwcap to ifunc resolver.
3478 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3479
b6550497
JM
34802012-05-24 Joseph Myers <joseph@codesourcery.com>
3481
3482 [BZ #14153]
3483 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3484 for |x| <= 2**-26, not 2**-57.
3485 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3486 exception.
3487
b0bc23a1
JL
34882012-05-24 Jeff Law <law@redhat.com>
3489
3490 * stdio-common/Makefile (tests): Add bug25.
3491 * stdio-common/bug25.c: New test.
3492
347c92e9
L
34932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3494
3495 [BZ #13576]
3496 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3497 multiple of MALLOC_ALIGNMENT in size.
3498 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3499
6bcc8b3f
JM
35002012-05-24 Joseph Myers <joseph@codesourcery.com>
3501
3502 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3503 Require >= 256.
3504 (FILENAME_MAX): Use macro-int-constant.
3505 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3506 (_IOFBF): Use macro-int-constant.
3507 (_IOLBF): Likewise.
3508 (_IONBF): Likewise.
3509 (SEEK_CUR): Likewise.
3510 (SEEK_END): Likewise.
3511 (SEEK_SET): Likewise.
3512 (TMP_MAX): Likewise.
3513 (EOF): Use macro-int-constant. Require < 0.
3514 (NULL): Use macro-constant. Require == 0.
3515 (stdin): Require type to be FILE *.
3516 (stdout): Likewise.
3517 (stderr): Likewise.
3518 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3519 macro-int-constant.
3520 (EXIT_SUCCESS): Likewise.
3521 (NULL): Use macro-constant. Require == 0.
3522 (RAND_MAX): Use macro-int-constant.
3523 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3524 [C99-based standards] (strtof): Require function.
3525 [C99-based standards] (strtold): Likewise.
3526 [C99-based standards] (strtoll): Likewise.
3527 [C99-based standards] (strtoull): Likewise.
3528 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3529 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3530 [ISO || ISO99 || ISO11] (math.h): Likewise.
3531 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3532 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3534
d18ea0c5
AS
35352012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3536
3537 [BZ #14132]
56d25bb8
AS
3538 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3539 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3540 * intl/dgettext.c (DCGETTEXT): Likewise.
3541 * intl/gettext.c (DCGETTEXT): Likewise.
3542 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3543 * posix/regex_internal.h (gettext): Likewise.
3544 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3545 Remove declaration.
3546 * include/argz.h (__argz_count_internal)
3547 (__argz_stringify_internal): Remove declaration.
3548 (__argz_count, __argz_stringify): Declare hidden proto.
3549 * intl/dcgettext.c: Remove use of INTDEF.
3550 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3551 * string/argz-stringify.c: Likewise.
3552 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3553 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3554 Declare hidden proto.
d18ea0c5
AS
3555 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3556 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3557 Declare hidden proto.
3558 * include/stdio.h (__asprintf_internal): Don't declare.
3559 (__asprintf): Don't define as macro. Declare hidden proto.
3560 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3561 (__fsetlocking): Declare hidden proto.
3562 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3563 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3564 hidden proto.
3565 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3566 (_IO_setlinebuf): Remove use of INTUSE.
3567 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3568 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3569 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3570 Remove declaration.
3571 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3572 (_IO_do_flush): Remove use of INTUSE.
3573 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3574 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3575 (_IO_adjust_column, _IO_least_wmarker)
3576 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3577 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3578 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3579 (_IO_default_doallocate, _IO_wdefault_doallocate)
3580 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3581 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3582 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3583 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3584 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3585 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3586 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3587 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3588 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3589 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3590 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3591 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3592 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3593 proto.
3594 (_IO_flush_all_internal, _IO_adjust_column_internal)
3595 (_IO_default_uflow_internal, _IO_default_finish_internal)
3596 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3597 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3598 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3599 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3600 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3601 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3602 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3603 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3604 (_IO_file_close_internal, _IO_file_close_it_internal)
3605 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3606 (_IO_file_init_internal, _IO_file_attach_internal)
3607 (_IO_file_fopen_internal, _IO_file_read_internal)
3608 (_IO_file_sync_internal, _IO_file_seek_internal)
3609 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3610 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3611 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3612 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3613 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3614 (_IO_list_all_internal, _IO_link_in_internal)
3615 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3616 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3617 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3618 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3619 (_IO_do_write_internal, _IO_padn_internal)
3620 (_IO_getline_info_internal, _IO_getline_internal)
3621 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3622 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3623 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3624 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3625 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3626 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3627 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3628 with libc_hidden_ver, remove use of INTUSE.
3629 * libio/genops.c: Likewise.
3630 * libio/freopen.c: Likewise.
3631 * libio/freopen64.c: Likewise.
3632 * libio/iofclose.c: Likewise.
3633 * libio/iofdopen.c: Likewise.
3634 * libio/iofflush.c: Likewise.
3635 * libio/iofflush_u.c: Likewise.
3636 * libio/iofgets.c: Likewise.
3637 * libio/iofgets_u.c: Likewise.
3638 * libio/iofopen.c: Likewise.
3639 * libio/iofopncook.c: Likewise.
3640 * libio/iofread.c: Likewise.
3641 * libio/iofread_u.c: Likewise.
3642 * libio/ioftell.c: Likewise.
3643 * libio/iofwrite.c: Likewise.
3644 * libio/iogetline.c: Likewise.
3645 * libio/iogets.c: Likewise.
3646 * libio/iogetwline.c: Likewise.
3647 * libio/iopadn.c: Likewise.
3648 * libio/iopopen.c: Likewise.
3649 * libio/ioseekoff.c: Likewise.
3650 * libio/ioseekpos.c: Likewise.
3651 * libio/iosetbuffer.c: Likewise.
3652 * libio/iosetvbuf.c: Likewise.
3653 * libio/ioungetc.c: Likewise.
3654 * libio/ioungetwc.c: Likewise.
3655 * libio/iovdprintf.c: Likewise.
3656 * libio/iovsprintf.c: Likewise.
3657 * libio/iovsscanf.c: Likewise.
3658 * libio/memstream.c: Likewise.
3659 * libio/obprintf.c: Likewise.
3660 * libio/oldfileops.c: Likewise.
3661 * libio/oldiofclose.c: Likewise.
3662 * libio/oldiofdopen.c: Likewise.
3663 * libio/oldiofopen.c: Likewise.
3664 * libio/oldiopopen.c: Likewise.
3665 * libio/oldstdfiles.c: Likewise.
3666 * libio/putc.c: Likewise.
3667 * libio/setbuf.c: Likewise.
3668 * libio/setlinebuf.c: Likewise.
3669 * libio/stdfiles.c: Likewise.
3670 * libio/strops.c: Likewise.
3671 * libio/vasprintf.c: Likewise.
3672 * libio/vscanf.c: Likewise.
3673 * libio/vsnprintf.c: Likewise.
3674 * libio/vswprintf.c: Likewise.
3675 * libio/wfiledoalloc.c: Likewise.
3676 * libio/wfileops.c: Likewise.
3677 * libio/wgenops.c: Likewise.
3678 * libio/wmemstream.c: Likewise.
3679 * libio/wstrops.c: Likewise.
3680 * libio/__fpurge.c: Likewise.
3681 * libio/__fsetlocking.c: Likewise.
3682 * assert/assert.c: Likewise.
3683 * debug/fgets_chk.c: Likewise.
3684 * debug/fgets_u_chk.c: Likewise.
3685 * debug/fread_chk.c: Likewise.
3686 * debug/fread_u_chk.c: Likewise.
3687 * debug/gets_chk.c: Likewise.
3688 * debug/obprintf_chk.c: Likewise.
3689 * debug/vasprintf_chk.c: Likewise.
3690 * debug/vdprintf_chk.c: Likewise.
3691 * debug/vsnprintf_chk.c: Likewise.
3692 * debug/vsprintf_chk.c: Likewise.
3693 * malloc/mtrace.c: Likewise.
3694 * misc/error.c: Likewise.
3695 * misc/syslog.c: Likewise.
3696 * stdio-common/asprintf.c: Likewise.
3697 * stdio-common/fxprintf.c: Likewise.
3698 * stdio-common/getw.c: Likewise.
3699 * stdio-common/isoc99_fscanf.c: Likewise.
3700 * stdio-common/isoc99_scanf.c: Likewise.
3701 * stdio-common/isoc99_vfscanf.c: Likewise.
3702 * stdio-common/isoc99_vscanf.c: Likewise.
3703 * stdio-common/isoc99_vsscanf.c: Likewise.
3704 * stdio-common/printf-prs.c: Likewise.
3705 * stdio-common/printf_fp.c: Likewise.
3706 * stdio-common/printf_fphex.c: Likewise.
3707 * stdio-common/printf_size.c: Likewise.
3708 * stdio-common/putw.c: Likewise.
3709 * stdio-common/scanf.c: Likewise.
3710 * stdio-common/sprintf.c: Likewise.
3711 * stdio-common/tmpfile.c: Likewise.
3712 * stdio-common/vfprintf.c: Likewise.
3713 * stdio-common/vfscanf.c: Likewise.
3714 * stdlib/strfmon_l.c: Likewise.
3715 * sunrpc/openchild.c: Likewise.
3716 * sunrpc/xdr_stdio.c: Likewise.
3717 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3718 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3719
d6c33fda
RM
37202012-05-24 Roland McGrath <roland@hack.frob.com>
3721
c1487492
RM
3722 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3723
3724 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3725 in the third column, to generate for the shared library an IFUNC
3726 that uses _dl_vdso_vsym.
3727 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3728 * Makeconfig (object-suffixes-noshared): New variable.
3729
3730 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3731 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3732 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3733 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3734
d6c33fda
RM
3735 [BZ #14132]
3736 * include/sys/time.h (__gettimeofday): Remove macro.
3737 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3738 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3739 Remove INTDEF.
3740 (__gettimeofday): Add libc_hidden_def.
3741 (gettimeofday): Add libc_hidden_weak.
3742 * sysdeps/mach/gettimeofday.c: Likewise.
3743 * sysdeps/posix/gettimeofday.c: Likewise.
3744 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3745 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3747 (__gettimeofday_internal): Remove strong_alias.
3748 (__gettimeofday): Add libc_hidden_def.
3749 (gettimeofday): Add libc_hidden_weak.
3750 * sysdeps/unix/syscalls.list (gettimeofday):
3751 Remove __gettimeofday_internal alias.
3752
b5a2bbe6
L
37532012-05-24 Daniel Jacobowitz <drow@false.org>
3754 H.J. Lu <hongjiu.lu@intel.com>
3755
3756 [BZ #12495]
3757 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3758 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3759 (largebin_index_32_big): New.
3760 (largebin_index): Use it for 16-byte alignment.
3761 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3762 correction with front_misalign.
3763
cfba4fda
L
37642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3765
7f907421
L
3766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3768 Likewise.
3769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3770 Likewise.
3771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3772 Likewise.
3773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3774 Likewise.
3775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3776 Likewise.
3777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3778 Likewise.
3779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3780 Likewise.
3781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3782 Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3784 Likewise.
3785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3786 Likewise.
3787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3788 Likewise.
3789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3790 Likewise.
3791
cfba4fda
L
3792 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3793 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3794
80bad0cc
JM
37952012-05-24 Joseph Myers <joseph@codesourcery.com>
3796
7a25eb06
JM
3797 [BZ #10846]
3798 [BZ #14036]
3799 * math/libm-test.inc (exp_test): Add test from bug 14036.
3800 (pow_test): Add test from bug 10846.
3801
795405f9
JM
3802 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3803 and other flags.
3804 (special_function): Do not include flags in test name.
3805 (parse_args): Likewise.
3806 * sysdeps/i386/fpu/libm-test-ulps: Update.
3807 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3809 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3811
80bad0cc
JM
3812 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3813 exceptions.
3814 * math/libm-test.inc ("Philosophy"): Update comment about
3815 exception testing.
3816 (UNDERFLOW_EXCEPTION): New macro.
3817 (UNDERFLOW_EXCEPTION_OK): Likewise.
3818 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3819 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3820 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3821 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3822 (INVALID_EXCEPTION_OK): Update value.
3823 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3824 (OVERFLOW_EXCEPTION_OK): Likewise.
3825 (IGNORE_ZERO_INF_SIGN): Likewise.
3826 (test_exceptions): Handle underflow exceptions.
3827 (acos_test): Update for underflow exception expectations.
3828 (cexp_test): Likewise.
3829 (clog_test): Likewise.
3830 (clog10_test): Likewise.
3831 (csqrt_test): Likewise.
3832 (ctan_test): Likewise.
3833 (ctanh_test): Likewise.
3834 (exp_test): Likewise.
3835 (exp10_test): Likewise.
3836 (exp2_test): Likewise.
3837 (expm1_test): Likewise.
3838 (fma_test): Likewise.
3839 (j0_test): Likewise.
3840 (jn_test): Likewise.
3841 (nexttoward_test): Likewise.
3842 (pow_test): Likewise.
3843 (scalbn_test): Likewise.
3844 (scalbln_test): Likewise.
3845 (tan_test): Likewise.
3846 (y1_test): Likewise.
3847 * sysdeps/i386/fpu/libm-test-ulps: Update.
3848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3849
9e0e3d0b
DM
38502012-05-23 David S. Miller <davem@davemloft.net>
3851
3852 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3853 (__libc_sigaction): Remove unused local variables.
3854
ccd0a08f
L
38552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3856
3857 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3858
62bdf9a6
PE
38592012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3860
f8591f80
PE
3861 mktime: avoid signed integer overflow
3862 * time/mktime.c (__mktime_internal): Do not mishandle the case
3863 where diff == INT_MIN.
3864
94c7d826
PE
3865 mktime: simplify computation of average
3866 * time/mktime.c (ranged_convert): Use new time_t_avg function
3867 instead of rolling our own (probably-slower) code.
3868
ce73d683
PE
3869 mktime: do not assume signed right shift propagates sign bit
3870 * time/mktime.c (isdst_differ): New static function.
3871 (__mktime_internal): No need to normalize tm_isdst now.
3872 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3873 tm_isdst values.
3874
72a22e59
PE
3875 mktime: merge another wrapv change from gnulib
3876 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3877 from some compilers.
3878
68605433
PE
3879 mktime: remove incorrect attempt at unusual arithmetics
3880 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3881 The code didn't really work on such machines anyway.
3882 (TYPE_MINIMUM): Assume two's complement.
3883 (twos_complement_arithmetic): Verify that long_int and time_t
3884 are two's complement (or unsigned, in the latter case).
3885
03cf7fe3
PE
3886 mktime: check signed shifts on long_int and time_t, too
3887 * time/mktime.c (SHR): Check that shifts work as desired
3888 on the types long_int and time_t too, as SHR is used on
3889 such types.
3890
f04dfbc2
PE
3891 mktime: do not assume 'long' is wide enough
3892 * time/mktime.c (verify): Move decl up.
3893 (long_int): New type.
3894 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3895 to remove assumption in the code that 'long' is wide enough to
3896 store year values. This assumption is not true on x32 and on
3897 some non-glibc platforms.
3898
62bdf9a6
PE
3899 mktime: merge wrapv change from gnulib
3900 * time/mktime.c (WRAPV): New macro.
3901 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3902 (guess_time_tm, __mktime_internal): Do not assume that signed
3903 integer overflow wraps around; modern compilers generate code
3904 where this assumption is no longer valid.
3905
5e292e4f
L
39062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3909 Replace "jmp L(pseudo_end)" with "ret".
3910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3911 Likewise.
3912
8caf8c87
AJ
39132012-05-23 Andreas Jaeger <aj@suse.de>
3914
3915 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3916 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3917
1a09dc56
AJ
39182012-05-23 Andreas Jaeger <aj@suse.de>
3919 Maximilian Attems <max@stro.at>
3920
3921 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3922 New macros.
3923
1c87aba0
L
39242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3925
3926 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3927 code so that pseudo_end is just ret and the stack pointer is
3928 correct also for static library in error case.
3929
40e45bd5
JM
39302012-05-23 Joseph Myers <joseph@codesourcery.com>
3931
c2670533
JM
3932 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3933 move to syscalls.list.
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3938
40e45bd5
JM
3939 * manual/install.texi (Running make install): Do not mention Linux
3940 kernel version for which pt_chown is not needed.
3941 (Linux): Do not mention problems with nscd with 2.0 kernels.
3942 * INSTALL: Regenerated.
3943
be08eda5
AJ
39442012-05-23 Andreas Jaeger <aj@suse.de>
3945
3946 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3947 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3948 macro.
3949 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3950 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3951 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3952 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3953 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3954 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3955 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3956 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3957 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3958 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3959 * sysdeps/unix/sysv/linux/bits/in.h
3960 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3961
a6a056bb
RM
39622012-05-22 Roland McGrath <roland@hack.frob.com>
3963
3964 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3965 (PREPARE_VERSION): Just use assert instead, it will be elided
3966 under [NDEBUG] anyway.
3967
c9009328
L
39682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 * sysdeps/unix/sysv/linux/Makefile: Include
3971 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 3972 (sysdep_routines): Remove sysctl.
c9009328
L
3973 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3974 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3975 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3976 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3977 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3978
73338355
AJ
39792012-05-22 Andreas Jaeger <aj@suse.de>
3980
3981 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3982 that pseudo_end is just ret and the stack pointer is correct also
3983 for static library in error case.
3984
d44638b0
PP
39852012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3986
3987 [BZ #14122]
3988 * nss/nsswitch.c (defconfig_entries): New variable.
3989 (__nss_database_lookup): Don't leak defconfig entries.
3990 (nss_parse_service_list): Don't leak on error paths.
3991 (free_database_entries): New function.
3992 (free_defconfig): New function.
3993 (free_mem): Move common code to free_database_entries.
3994
31a39bd8
L
39952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3996
da0331a8
L
3997 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3998 Add arch_prctl.
3999 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4000
31a39bd8
L
4001 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4002 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4004 New macro.
4005 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4006 (INTERNAL_SYSCALL_TYPES): Likewise.
4007 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4008 (LOAD_REGS_TYPES_[1-6]): Likewise.
4009 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4010 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4011
45470df3
AZ
40122012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4013
4014 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4015 copysignl for GLIBC_2_0.
4016 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4017 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4018 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4019 logbl for GLIBC_2_0.
4020 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4021 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4022
98a61bcb
L
40232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4024
a4f6e481
L
4025 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4026 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4027
f63d5db6
L
4028 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4029 Use "neg %eax".
4030
98a61bcb
L
4031 * time/mktime.c: Update copyright years.
4032
95770f14
PE
40332012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4034
6226efbd
PE
4035 mktime: merge comment-quoting-style change from gnulib
4036 * time/mktime.c: Quote 'like this' in comments.
4037 The GNU coding standards suggest that we no longer quote `like this',
4038 as "`" and "'" are typically rendered asymmetrically nowadays.
4039 The typical gnulib style is to quote 'like this' when quoting
4040 code, and "like this" when quoting English.
4041
b99e4f78
PE
4042 * time/mktime.c (compile-command): Add "-I.".
4043
643e01e6
PE
4044 mktime: merge mktime-internal.h change from gnulib
4045 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4046
2554247d
PE
4047 mktime: merge time_r change from gnulib
4048 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4049
826dd0ab
PE
4050 mktime: merge DEBUG change from gnulib
4051 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4052 case system <time.h> has a #define.
4053
bd83aabe
PE
4054 mktime: merge <sys/types.h> change from gnulib
4055 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4056 since <time.t> is now guaranteed to define time_t.
4057
95770f14
PE
4058 mktime: merge HAVE_CONFIG_H change from gnulib
4059 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4060
5e1a27a9
L
40612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4062
0e44a77e
L
4063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4064 Use "neg %eax".
4065
5e1a27a9
L
4066 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4067 __rlim_t cast.
4068 (struct rusage): Use anonymous union to pad each field to
4069 __syscall_slong_t.
4070
46259bec
DM
40712012-05-21 David S. Miller <davem@davemloft.net>
4072
4073 * Makefules (o-iterator): Remove .s cases.
4074 (compile-command.s): Delete.
4075 (COMPILE.s): Delete.
4076 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4077
59f0c22e
JM
40782012-05-21 Joseph Myers <joseph@codesourcery.com>
4079
4080 * configure.in (libc_cv_predef_stack_protector): Only consider
4081 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4082 * configure: Regenerated.
4083
20c07380
L
40842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4085
bbb3154b
L
4086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4087 New macro. Use R*LP on int and pointer.
4088 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4089 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4090 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4091 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4092
20c07380
L
4093 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4094 [__WORDSIZE_TIME64_COMPAT32] instead of
4095 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4096 (struct utmp): Likewise.
4097 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4098 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4099 Renamed to ...
4100 (__WORDSIZE_TIME64_COMPAT32): This.
4101 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4102 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4103 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4104 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4105 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4106 (__WORDSIZE_TIME64_COMPAT32): New macro.
4107
d8d1017e
AJ
41082012-05-21 Andreas Jaeger <aj@suse.de>
4109
4110 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4111 only if [SHARED]. Add prototype for __wcschr_ia32.
4112
6c7fb145
RM
41132012-05-21 Roland McGrath <roland@hack.frob.com>
4114
4115 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4116 of %rbp unmolested in the jmp_buf while mangling the low bits.
4117 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4118 unmolested high bits of %rbp while demangling the low bits.
4119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4120
66274218
AJ
41212012-05-21 Andreas Jaeger <aj@suse.de>
4122
07c58f8f
AJ
4123 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4124 * sunrpc/svc_simple.c: Use it for registerrpc.
4125 * sunrpc/xcrypt.c: Use it for passwd2des.
4126
66274218
AJ
4127 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4128
61f65140
L
41292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4130
4131 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4132 Don't define if [__SYSCALL_WORDSIZE != 32].
4133 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4134 New macro.
4135
5fefb436
AJ
41362012-05-21 Bruno Haible <bruno@clisp.org>
4137 Andreas Jaeger <aj@suse.de>
4138
4139 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4140 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4141 inptr and inend for must_buffer_ch.
4142 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4143 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4144 * stdio-common/Makefile (tests): Remove bug15.
4145 (bug15-ENV): Remove macro.
4146 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4147 anymore.
4148
d8e272ab
AJ
41492012-05-19 Andreas Jaeger <aj@suse.de>
4150 Roland McGrath <roland@hack.frob.com>
4151
4152 * manual/contrib.texi: Completely rewritten. It contains now an
4153 alphabetical list of contributors and their contributions.
4154
4a56a162
RH
41552012-05-21 Richard Henderson <rth@twiddle.net>
4156
4157 * misc/getauxval.c (__getauxval): Use unsigned long int.
4158 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4159 (getauxval): Use unsigned long int.
4160
d024d23c
L
41612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4162
4163 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4164
cbc00a03
RM
41652012-05-21 Roland McGrath <roland@hack.frob.com>
4166
4167 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4168 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4169 __alignof__ (long double).
4170
478143fa
AZ
41712012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4172
4173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4174
c7683a6d
RH
41752012-05-20 Richard Henderson <rth@twiddle.net>
4176
4177 * misc/getauxval.c: New file.
4178 * misc/sys/auxv.h: New file.
4179 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4180 (routines): Add getauxval.
4181 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4182 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4183 * elf/dl-sysdep.c (_dl_auxv): Remove.
4184 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4185 * elf/dl-support.c (_dl_auxv): New variable.
4186 (_dl_aux_init): Initialize it.
4187 * manual/startup.texi (Auxiliary Vector): New node.
4188 * sysdeps/generic/bits/hwcap.h: New file.
4189 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4190 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4191 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4192 * sysdeps/sparc/sysdep.h: ... here. Include it.
4193 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4196 Update.
c7683a6d
RH
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4205
a6f1845d
AZ
42062012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4207
4208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4209
cbcbe830
DM
42102012-05-19 David S. Miller <davem@davemloft.net>
4211
4212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4213
e0b16cc2
JM
42142012-05-19 Joseph Myers <joseph@codesourcery.com>
4215
4216 [BZ #14123]
4217 * math/s_ccosh.c: Include <float.h>
4218 (__ccosh): Avoid internal overflow calculating sinh and cosh
4219 values before multiplying by sin and cos values.
4220 * math/s_ccoshf.c: Likewise.
4221 * math/s_ccoshl.c: Likewise.
4222 * math/s_csin.c: Likewise.
4223 * math/s_csinf.c: Likewise.
4224 * math/s_csinl.c: Likewise.
4225 * math/s_csinh.c: Likewise.
4226 * math/s_csinhf.c: Likewise.
4227 * math/s_csinhl.c: Likewise.
4228 * math/libm-test.inc (ccos_test): Add more tests.
4229 (ccosh_test): Likewise.
4230 (csin_test): Likewise.
4231 (csinh_test): Likewise.
4232 * sysdeps/i386/fpu/libm-test-ulps: Update.
4233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4234
6ad13e08
L
42352012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4236
f66f0ce8
L
4237 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4238 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4239
6ad13e08
L
4240 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4241
b1d072a7
JM
42422012-05-19 Joseph Myers <joseph@codesourcery.com>
4243
4244 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4245 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4246 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4247 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4248 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4249 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4250 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4251 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4252 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4253 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4254 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4255 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4256 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4257 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4258 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4259 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4260 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4261 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4262 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4263 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4264 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4265 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4266 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4267 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4268 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4269 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4270 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4271 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4272 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4273 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4274 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4275
9eae47cb
AJ
42762012-05-18 Andreas Jaeger <aj@suse.de>
4277
4278 * csu/.gitignore: Delete.
4279
bb07f69f
L
42802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4281
4282 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4283 (timex): Use __syscall_slong_t.
4284
e6bdb741
AJ
42852012-05-18 Andreas Jaeger <aj@suse.de>
4286 Carlos O'Donell <carlos_odonell@mentor.com>
4287
4288 * manual/install.texi (Configuring and compiling): Update
4289 description about files modified in the source directory.
d6c33fda 4290 * INSTALL: Regenerated.
e6bdb741 4291
1b74487e
L
42922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4293
4294 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4295 value. Use "or" to set return value to -1.
4296 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4297 negate return value.
4298
a88b64b9
TMQMF
42992012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4300
4301 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4302 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4303 failure if the compiler has Graphite support disabled.
4304 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4305 Likewise.
4306 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4307 CFLAGS-memmove.c): Likewise.
4308 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4309 Likewise.
4310
3707636e
L
43112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4312
610b8622
L
4313 * sysdeps/x86_64/x32/_itoa.h: New file.
4314
7cd195df
L
4315 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4316 getdents system call only if kernel and user dirents have the
4317 same d_ino and d_off.
4318
94b07d20
L
4319 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4320 LLONG_MAX != LONG_MAX.
4321 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4322 (_fitoa_word): Likewise.
4323
18298070
L
4324 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4325 years.
4326 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4327 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4328 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4329
553c7ea4
L
4330 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4331 include <bits/wordsize.h>. Check __x86_64__ instead of
4332 __WORDSIZE.
4333 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4334 if __x86_64__ is defined. Use anonymous union on fpstate.
4335
3707636e
L
4336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4337 anonymous union.
4338
b53ef01a
AS
43392012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4340
37fb1dc0
AS
4341 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4342 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4343 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4344 Refer to _rtld_local_ro instead of _rtld_global_ro.
4345 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4346 Likewise.
4347 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4348 Likewise.
4349 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4350 Likewise.
4351 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4352 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4353 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4354
b53ef01a
AS
4355 * sysdeps/powerpc/powerpc32/dl-machine.c
4356 (__elf_machine_runtime_setup) [PROF]: Don't reference
4357 _dl_prof_resolve.
4358
7a185db2
AJ
43592012-05-18 Andreas Jaeger <aj@suse.de>
4360
4361 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4362 function only available for GCCs before 3.4 since GCC 3.4
4363 introduced a builtin.
4364 (lrint): Likewise.
4365 (llrintf): Likewise.
4366 (llrint): Likewise.
4367 (fmaxf): Likewise.
4368 (fmax): Likewise.
4369 (fminf): Likewise.
4370 (fmin): Likewise.
4371 (rint): Likewise.
4372 (rintf): Likewise.
4373 (nearbyint): Likewise.
4374 (nearbyintf): Likewise.
4375 (ceil): Likewise.
4376 (ceilf): Likewise.
4377 (floor): Likewise.
4378 (floorf): Likewise.
4379
3e5aef87
L
43802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4381
428bd707
L
4382 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4383 on both fields and cast pointer to __syscall_ulong_t.
4384
3e5aef87
L
4385 * bits/types.h (__fsword_t): New type.
4386 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4387 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4389 (__FSWORD_T_TYPE): Likewise.
4390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4391 (__FSWORD_T_TYPE): Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4393 (__FSWORD_T_TYPE): Likewise.
4394 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4395 (__FSWORD_T_TYPE): Likewise.
4396 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4397 __SWORD_TYPE with __fsword_t.
4398 (statfs64): Likewise.
4399
1ba7c3dc
DM
44002012-05-17 David S. Miller <davem@davemloft.net>
4401
4402 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4403
59910343
AJ
44042012-05-17 Andreas Jaeger <aj@suse.de>
4405
4406 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4407 warning.
4408
2e4c1e9e
L
44092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4410
4411 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4412
de7f5ce7
AJ
44132012-05-17 Andreas Jaeger <aj@suse.de>
4414
4415 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4416 when it is used.
4417
286abc3d
CM
44182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4419
4420 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4421
477cc68e
L
44222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4425 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4426
1a0994f5
CD
44272012-05-17 Andreas Jaeger <aj@suse.de>
4428 Carlos O'Donell <carlos_odonell@mentor.com>
4429
4430 [BZ #14059]
4431 * sysdeps/x86_64/multiarch/init-arch.h
4432 (bit_YMM_Usable): Rename to...
4433 (bit_AVX_Usable): ... this.
4434 (bit_FMA4_Usable): New macro.
4435 (bit_XMM_state): New macro.
4436 (bit_YMM_state): New macro.
4437 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4438 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4439 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4440 (CPUID_OSXSAVE): New macro.
4441 (CPUID_AVX): New macro.
4442 (CPUID_FMA4): New macro.
4443 (index_YMM_Usable): Rename to...
4444 (index_AVX_Usable): ... this.
4445 (HAS_AVX): Use HAS_ARCH_FEATURE.
4446 (HAS_FMA4): Likewise.
4447 (HAS_YMM_USABLE): Remove.
4448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4449 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4450 are present.
4451 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4452 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4453 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4454 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4455 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4456
0af797de
CM
44572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4458
4459 * math/libm-test.c: Support platforms without multiple rounding modes.
4460 * math/bug-nextafter.c: Support platforms without FP exceptions.
4461 * math/bug-nexttoward.c: Likewise.
4462 * math/test-fenv.c: Likewise.
4463 * math/test-misc.c: Likewise.
4464 * stdlib/bug-getcontext.c: Likewise.
4465
e39745ff
AJ
44662012-05-17 Andreas Jaeger <aj@suse.de>
4467
4468 * manual/examples/search.c (critter_cmp): Change signature to
4469 avoid warnings.
4470 * manual/string.texi (Collation Functions): Likewise.
4471
48970aba
L
44722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 * bits/types.h: Fold copyright years.
4475 * bits/typesizes.h: Likewise.
4476 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4478 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4480 * time/time.h: Likewise.
4481
bedee953
PP
44822012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4483
4484 [BZ #208]
4485 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4486 in instead of returning them. Return void.
4487 (__libc_mallinfo): Accumulate over all arenas.
4488 (__malloc_stats): Adjust for change in int_mallinfo interface.
4489
61653dfb
RM
44902012-05-16 Roland McGrath <roland@hack.frob.com>
4491
30b99d79
RM
4492 [BZ #10375]
4493 * configure.in (NM): Add AC_CHECK_TOOL for it.
4494 (libc_extra_cflags): New substituted variable.
4495 Check for -fstack-protector being used implicitly.
4496 * configure: Regenerated.
4497 * config.make.in (config-extra-cflags): New variable,
4498 gets @libc_extra_cflags@.
4499 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4500
61653dfb
RM
4501 [BZ #10375]
4502 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4503 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4504 * configure: Regenerated.
4505 * config.make.in (CPPUNDEFS): New substituted variable.
4506 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4507 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4508 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4509
661768bb
L
45102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4511
4512 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4513 (mq_attr): Use __syscall_slong_t.
4514
d4261567
L
45152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4518 Check __x86_64__ instead of __WORDSIZE.
4519 (_STAT_VER_LINUX): Likewise.
4520 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4521 __syscall_ulong_t and __syscall_slong_t.
4522 (stat64): Likewise.
4523
cf3ff365
L
45242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4525
4526 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4527
76cf3e4d
L
45282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4529
4530 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4531
a637753a
L
45322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4533
4534 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4535 __syscall_ulong_t.
4536
d5e05119
L
4537 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4538 include <bits/wordsize.h>. Check __x86_64__ instead of
4539 __WORDSIZE.
4540 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4541 defined.
4542 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4543
f62ee380
L
4544 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4545 include <bits/wordsize.h>. Check __x86_64__ instead of
4546 __WORDSIZE.
4547 (user_regs_struct): Use "__extension__ unsigned long long"
4548 instead of "unsigned long" if __x86_64__ is defined.
4549 (user): Likewise. Pad after pointer field if __ILP32__ is
4550 defined.
4551
4e124ced
JM
45522012-05-16 Joseph Myers <joseph@codesourcery.com>
4553
6a3951a0
JM
4554 * configure.in (makeinfo): Require version 4.5 or later. Allow
4555 versions 5 to 9.
4556 * configure: Regenerated.
4557 * manual/install.texi (texinfo): Increase version requirement to
4558 4.5 or later.
4559 * INSTALL: Regenerated.
4560
4e124ced
JM
4561 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4562
953ca31a
L
45632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4564
4565 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4566
617aca05
L
4567 * sysdeps/x86_64/x32/ffs.c: New file.
4568
5762f7ae
L
4569 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4570 __syscall_ulong_t.
4571 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4572 defined. Use __syscall_ulong_t.
4573 (shminfo): Use __syscall_ulong_t.
4574 (shm_info): Likewise.
4575
a26b6856
L
4576 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4577 __syscall_ulong_t.
4578
cb2b9ef7
L
4579 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4580 <bits/wordsize.h>.
4581 (msgqnum_t): Use __syscall_ulong_t.
4582 (msglen_t): Likewise.
4583 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4584 __syscall_ulong_t.
4585
34683bb0
L
4586 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4587 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4588
84a68786
L
4589 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4590
48baa5f1
L
4591 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4592 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4593
180be88b
L
4594 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4595 __syscall_slong_t.
4596
5e90c8ad
L
4597 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4598 include <bits/wordsize.h>. Check __x86_64__ instead of
4599 __WORDSIZE.
4600
23dfb58b
L
4601 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4602 "unsigned long long int" if __x86_64__ is defined.
4603 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4604
ce5d54b0
L
4605 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4606 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4607 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4608
13dc9eac
L
4609 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4610 <stdint.h>.
4611 (GET_PC): Cast to uintptr_t first.
4612 (GET_FRAME): Likewise.
4613 (GET_STACK): Likewise.
4614
a7895d15
L
4615 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4616 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4617 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4618 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4619 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4620 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4621 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4622 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4623 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4624 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4625 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4626 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4627 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4628 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4629 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4630 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4631 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4632 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4633 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4634 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4635 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4636 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4637 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4638 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4639 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4641 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4642 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4643 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4644
656416c9
AS
46452012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4646
5bd66283
AS
4647 * Makerules (+depfiles): Also collect depfiles from .oS in
4648 $(extra-objs).
4649 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4650 .oS, $(libnldbl-routines)).
4651
656416c9
AS
4652 * Makerules (native-compile-mkdep-flags): Define.
4653 * sunrpc/Makefile (extra-objs): Add $(addprefix
4654 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4655 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4656 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4657 calling $(make-target-directory).
4658
a46f2169
L
46592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 * bits/types.h (__snseconds_t): Removed.
4662 * time/time.h (struct timespec): Replace __snseconds_t with
4663 __syscall_slong_t.
4664 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4665 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4666 Likewise.
4667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4668 (__SNSECONDS_T_TYPE): Likewise.
4669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4670 (__SNSECONDS_T_TYPE): Likewise.
4671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4672 (__SNSECONDS_T_TYPE): Likewise.
4673
6af6528b
L
46742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4675
4676 * sysdeps/mach/hurd/bits/typesizes.h
4677 (__SYSCALL_SLONG_TYPE): New macro.
4678 (__SYSCALL_ULONG_TYPE): Likewise.
4679
de986b56
L
46802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4681
4682 * bits/types.h (__syscall_slong_t): New type.
4683 (__syscall_ulong_t): Likewise.
4684
4685 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4686 (__SYSCALL_ULONG_TYPE): Likewise.
4687 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4688 (__SYSCALL_SLONG_TYPE): Likewise.
4689 (__SYSCALL_ULONG_TYPE): Likewise.
4690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4691 (__SYSCALL_SLONG_TYPE): Likewise.
4692 (__SYSCALL_ULONG_TYPE): Likewise.
4693 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4694 (__SYSCALL_SLONG_TYPE): Likewise.
4695 (__SYSCALL_ULONG_TYPE): Likewise.
4696
85736dc7
L
46972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4698
4699 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4700 Add sigaltstack-offsets.sym.
4701 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4702 <sigaltstack-offsets.h>.
4703 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4704 longjmp_msg pointer.
4705 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4706 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4707 signal stack.
4708 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4709
cc03b296
JM
47102012-05-15 Joseph Myers <joseph@codesourcery.com>
4711
a9538892
JM
4712 * elf/stackguard-macros.h: Remove file.
4713 * sysdeps/generic/stackguard-macros.h: New file.
4714 * sysdeps/i386/stackguard-macros.h: Likewise.
4715 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4716 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4717 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4718 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4719 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4720 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4721 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4722 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4723 <elf/stackguard-macros.h>.
4724
cc03b296
JM
4725 [BZ #14109]
4726 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4727 __aligned__ in attribute.
4728 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4729 (gregset_t): Likewise.
4730
93171016
L
47312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4732
4733 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4734 * sysdeps/x86_64/64/Implies-after: Here. New file.
4735 * sysdeps/x86_64/x32/Implies-after: New file.
4736
d86813a0
L
47372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4738
4739 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4740 and access return value for _dl_profile_fixup. Use R10_LP to
4741 load frame size.
4742
2953ec75
L
47432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4744
4745 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4746
3b550e9e
L
47472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4748
4749 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4750 * sysdeps/x86_64/x32/sysdep.h: New file.
4751
eda41706
L
47522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4753
4754 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4755 * sysdeps/x86_64/setjmp.S: Likewise.
4756
9ea01d93
AZ
47572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4758
4759 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4760 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4761 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4762 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4763 remove unused global constant.
4764
02a91938
CM
47652012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4766
4767 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4768 include of <not-cancel.h>.
4769
6540185f
RM
47702012-05-15 Roland McGrath <roland@hack.frob.com>
4771
4772 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4773
509072a0
AJ
47742012-05-15 Jeff Law <law@redhat.com>
4775 Andreas Jaeger <aj@suse.de>
4776
4777 [BZ #13594]
4778 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4779 out from...
4780 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4781 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4782 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4783 code changing __hst_map_handle.map.
4784
ba75122d
RM
47852012-05-15 Roland McGrath <roland@hack.frob.com>
4786
4787 * configure.in (sysnames): Look for Implies-before and Implies-after
4788 files.
4789 * configure: Regenerated.
4790
890d8bd8
L
47912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4792
4793 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4794 8-byte data alignment with LP_SIZE alignment.
4795
f6ee6623
L
47962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4797
4798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4799 into R10_LP.
4800
ea2626f6
L
48012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4802
4803 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4804
085f715e
L
48052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4806
4807 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4808 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4809 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4810 Likewise.
4811 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4812
be8498fc
L
48132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4814
4815 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4816 (stackinfo_sub_sp): Likewise.
4817
70bc83b9
L
48182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4821 RAX_LP.
4822
9bc0b730
L
48232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4824
4825 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4826 into R*_LP.
4827
6d2850e7
L
48282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4829
4830 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4831 sizes into R*_LP.
4832
3cb84561
L
48332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4834
4835 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4836
54e2ed81
L
48372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4840 into R11_LP and load __x86_64_shared_cache_size_half into
4841 R8_LP.
4842
8a17f349
L
48432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4844
4845 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4846 R8_LP.
4847
777b1eea
AZ
48482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4849
4850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4851 logb for POWER7.
4852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4853 logbf for POWER7.
4854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4855 logbl for POWER7.
4856 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4857 powerpc32/power7/fpu/s_logb.c via #include.
4858 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4859 powerpc32/power7/fpu/s_logbf.c via #include.
4860 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4861 powerpc32/power7/fpu/s_logbl.c via #include.
4862
d20d4ac2
JM
48632012-05-15 Joseph Myers <joseph@codesourcery.com>
4864
4865 * README.libm: Remove file.
4866
6cdef1ab
L
48672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4868
4869 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4870 count for x32. Use R*_LP and omit operand-size suffix.
4871
0b254d8f
L
48722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4873
4874 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4875 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4876 * sysdeps/x86_64/x32/shlib-versions: New file.
4877
ceb809dc
RM
48782012-05-14 Roland McGrath <roland@hack.frob.com>
4879
4880 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4881 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4882 Use _dl_fatal_printf instead.
4883
37f1abd4
JM
48842012-05-14 Joseph Myers <joseph@codesourcery.com>
4885
4886 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4887 set if not set by the user. Do not allow for being unset.
4888 * sysdeps/unix/sysv/linux/configure: Regenerated.
4889
11de3a33
L
48902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4891
4892 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4893 the `q' suffix from lea and replace .quad with ASM_ADDR.
4894
e02f153a
L
48952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4896
4897 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4898 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4899 instead of $17.
4900 (PTR_DEMANGLE): Likewise.
4901
520ae0fd
L
49022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4903
4904 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4905 (LP_OP): Likewise.
4906 (ASM_ADDR): Likewise.
4907 (RAX_LP): Likewise.
4908 (RBP_LP): Likewise.
4909 (RBX_LP): Likewise.
4910 (RCX_LP): Likewise.
4911 (RDI_LP): Likewise.
4912 (RSI_LP): Likewise.
4913 (RSP_LP): Likewise.
4914 (R8_LP): Likewise.
4915 (R9_LP): Likewise.
4916 (R10_LP): Likewise.
4917 (R10_LP): Likewise.
4918 (R11_LP): Likewise.
4919 (R12_LP): Likewise.
4920 (R13_LP): Likewise.
4921 (R14_LP): Likewise.
4922 (R15_LP): Likewise.
4923
b985be81
L
49242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4925
4926 * sysdeps/x86_64/x32/dl-machine.h: New file.
4927
6a4888ff
AJ
49282012-05-14 Andreas Jaeger <aj@suse.de>
4929
4930 * manual/Makefile (subdir): Remove export of subdir.
4931 (all): Remove target.
4932 (.PHONY): Remove all from list.
4933 (mkinstalldirs): Remove.
4934 (.PHONY): Remove installdirs from list.
4935 ($(inst_infodir)/libc.info): Use make-target-directory.
4936 (installdirs): Remove.
4937 (subdir_%): Remove.
4938 (glibc-targets): Remove.
4939 (lib): Remove.
4940 (stubs): Remove.
4941 ($(objpfx)stubs ../po/manual.pot): Remove.
4942 ($(objpfx)stamp%): Remove.
4943 (make-target-directory): Remove.
4944 (subdir_install): Remove.
4945 (routines): Remove.
4946 (aux): Remove.
4947 (sources): Remove.
4948 (objects): Remove.
4949 (headers): Remove.
4950
4951 [BZ #13750]
4952 * manual/.gitignore: Remove, it's not needed anymore.
4953 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4954 all files in it.
4955 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4956 directory.
4957 (texis): Renamed to $(objpfx)texis.
4958 (texis-path): New, contains path to generated files.
4959 (chapters.%): Use texis-path for complete path, add extra argument
4960 libc-texinfo.sh.
4961 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4962 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4963 (summary,texi, stamp-summary): Use complete path of
4964 files. Generate files in build dir.
4965 (dir-add.texi): Build in build dir.
4966 (libm-err.texi,stamp-libm-err): Likewise.
4967 (version.texi, stamp-version): Likewise.
4968 (.%c.texi): Likewise.
4969 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4970 (mostlyclean): Remove target.
4971 (realclean): Remove target.
4972 (generated): Add new variable with contents from mostlyclean and
4973 realclean, remove entries duplicated in common-mostlyclean, add
4974 stamp-libm-err and stamp-version.
4975 (generated-dirs): Add libc directory.
4976 ($(inst_infodir)/libc.info): Install files from build dir.
4977
4978 * manual/install.texi (Configuring and compiling): Adjust since
4979 the info files are not part of the tar ball anymore.
4980
7ac77294
AJ
49812012-05-14 Andreas Jaeger <aj@suse.de>
4982
4983 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4984 variable.
4985
ffb7875d
JM
49862012-05-14 Joseph Myers <joseph@codesourcery.com>
4987
4988 [BZ #13717]
4989 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4990 to 2.2.0 where earlier.
4991 * sysdeps/unix/sysv/linux/configure: Regenerated.
4992 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4993 Remove conditional code.
4994 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4995 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4996 Remove conditional code.
4997 [!__NR_lchown]: Likewise.
4998 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4999 [__NR_lchown]: Likewise.
5000 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5001 comment referencing __ASSUME_LCHOWN_SYSCALL.
5002 * sysdeps/unix/sysv/linux/i386/sigaction.c
5003 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5004 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5005 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5006 Remove conditional code.
5007 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5008 (__protocol_available): Remove #if 0 code.
5009 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5010 conditional code.
5011 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5012 * sysdeps/unix/sysv/linux/kernel-features.h
5013 (__ASSUME_GETCWD_SYSCALL): Don't define.
5014 (__ASSUME_REALTIME_SIGNALS): Likewise.
5015 (__ASSUME_PREAD_SYSCALL): Likewise.
5016 (__ASSUME_PWRITE_SYSCALL): Likewise.
5017 (__ASSUME_POLL_SYSCALL): Likewise.
5018 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5019 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5020 non-SPARC.
5021 (__ASSUME_SIOCGIFNAME): Don't define.
5022 (__ASSUME_MSG_NOSIGNAL): Likewise.
5023 (__ASSUME_SENDFILE): Define unconditionally.
5024 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5025 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5026 conditional code.
5027 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5028 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5029 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5030 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5031 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5032 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5033 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5035 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5038 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5041 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5047 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5048 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5050 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5053 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5056 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5058 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5059 Remove conditional code.
5060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5061 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5062 Remove conditional code.
5063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5064 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5065 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5066 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5067 Remove conditional code.
5068 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5069 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5070 Remove conditional code.
5071 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5072 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5073 Remove conditional code.
5074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5075 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5076 Remove conditional code.
5077 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5078 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5079 Remove conditional code.
5080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5081 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5082 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5083 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5084 * sysdeps/unix/sysv/linux/sigaction.c
5085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5087 * sysdeps/unix/sysv/linux/sigpending.c
5088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5090 * sysdeps/unix/sysv/linux/sigprocmask.c
5091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5093 * sysdeps/unix/sysv/linux/sigsuspend.c
5094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5096 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5097 (__libc_missing_rt_sigs): Remove.
5098 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5099 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5100 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5101 Remove conditional code.
5102 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5103 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5104 return 1.
5105 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5106 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5107 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5108 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5109
1bfb7291
AJ
51102012-05-14 Andreas Jaeger <aj@suse.de>
5111
caae5a81
AJ
5112 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5113 it's not used in glibc.
5114 (__coshm1): Likewise.
5115 (__acosh1p): Likewise.
5116 (__sgn): Likewise.
5117
1bfb7291
AJ
5118 * manual/string.texi (Copying and Concatenation): Add missing
5119 variable in concat example.
5120 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5121
c044d724
L
51222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5123
144c5467 5124 [BZ #14103]
c044d724
L
5125 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5126 __builtin_clzl with __builtin_clzll.
5127
2523c62b
L
51282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5129
5130 [BZ #14104]
5131 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5132 libc_freeres_ptr.
5133
d7bb4c42
LD
51342012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5135
5136 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5137 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5138 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5139 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5140
9dc4e1fb
MF
51412012-05-14 Mike Frysinger <vapier@gentoo.org>
5142
5143 * NEWS: Update ia64 info.
5144
c7df0112
AS
51452012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5146
5147 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5148 used as bcopy.
5149
dc70356c
TS
51502012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5151
5152 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5153 * sysdeps/unix/syscalls.list (dup3): Likewise.
5154 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5155 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5156
9fb1a21f
L
51572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5158
5159 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5160 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5161
4822a2a5
L
51622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5163
5164 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5165 thread pointer.
5166 (TLS_IE): Use mov/add instead of movq/addq to load thread
5167 pointer.
5168 (TLS_GD_PREFIX): New.
5169 (TLS_GD): Use it.
5170
842b81d6
DM
51712012-05-11 David S. Miller <davem@davemloft.net>
5172
5173 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5174 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5175 (_FPU_SETCW): Likewise.
5176
1cf463cd
L
51772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5178
5179 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5180 is 32-byte aligned.
5181
60cc4a18
AS
51822012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5183
5184 [BZ #11837]
5185 * iconvdata/gb18030.c: Update tables.
5186 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5187 characters specially.
5188 (BODY for TO_LOOP): Add encoding of missing ranges.
5189
febb44a4
TS
51902012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5191
5192 [BZ #13673]
5193 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5194 * sysdeps/mach/hurd/dup3.c: Likewise.
5195 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5196 * sysdeps/powerpc/memmove.c:: Likewise.
5197
0a10fb9e
L
51982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5199
5200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5201 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5202
df8a552f
L
52032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5204
5205 * elf/elf.h (R_X86_64_RELATIVE64): New.
5206 (R_X86_64_NUM): Updated.
5207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5208 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5209 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5210 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5211 tst-quad1pie tst-quad2pie
5212 (modules-names): Add tst-quadmod1 tst-quadmod2.
5213 ($(objpfx)tst-quad1): New dependency.
5214 ($(objpfx)tst-quad2): Likewise.
5215 ($(objpfx)tst-quad1pie): Likewise.
5216 ($(objpfx)tst-quad2pie): Likewise.
5217 * sysdeps/x86_64/tst-quad1.c: New file.
5218 * sysdeps/x86_64/tst-quad1pie.c: New file.
5219 * sysdeps/x86_64/tst-quad2.c: Likewise.
5220 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5221 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5222 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5223 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5224 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5225
f34d6f84
ST
52262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5227
f42d41d1
ST
5228 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5229 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5230 * streams/stropts.h (t_scalar_t): Define type.
5231
3c3571fc
ST
5232 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5233 (_PATH_PRESERVE): Set to "/var/lib".
5234 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5235
61f06bd3
ST
5236 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5237 instead of int.
5238
918d4d71
ST
5239 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5240 if __dir_mkfile succeeded.
5241
f34d6f84
ST
5242 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5243 checking for _hurd_dtablesize. Unlock it right after having
5244 finished _hurd_dtable allocation.
5245
10589b4a
TS
52462012-05-10 Thomas Schwinge <thomas@schwinge.name>
5247
674cdbc7
TS
5248 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5249 * sysdeps/mach/hurd/configure: Regenerated.
5250 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5251 special-casing to...
5252 * sysdeps/gnu/configure.in: ... this new file.
5253 * sysdeps/unix/sysv/linux/configure: Regenerated.
5254 * sysdeps/gnu/configure: New generated file.
5255
8e41b99f
TS
5256 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5257 for Linux: use nsec instead of usec, as well as:
5258 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5259 members of type struct timespec.
5260 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5261 New macros.
5262 (struct stat64): Likewise.
5263 (_STATBUF_ST_NSEC): New macro.
5264 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5265
10589b4a
TS
5266 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5267 __strtoul_internal rather than strtoul.
5268
63643c85
PT
52692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5270
5271 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5272 and reject them.
5273
3faebe6a
ST
52742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5275
5276 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5277 which preserves existing values.
5278 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5279
c6474b07
PT
52802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5281
5282 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5283 TIMEOUT values. Return EINVAL for NFDS values either negative or
5284 greater than FD_SETSIZE.
5285
1043890b
ST
52862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5287
5288 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5289 allocated, call __vm_protect to finish enabling the existing space, and
5290 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5291 allocate the remainder.
5292
37ed8b9b
PT
52932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5294
5295 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5296 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5297
db653660
ST
52982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5299
37ed8b9b
PT
5300 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5301 sysdeps/mach/hurd/readlink.c.
b29d4053 5302
db653660
ST
5303 * posix/tst-sysconf.c (posix_options): Only use
5304 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5305 _POSIX_SYNCHRONIZED_IO when they are defined
5306 * sysdeps/mach/hurd/bits/posix_opt.h:
5307 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5308 (_XOPEN_REALTIME): Undefine macro.
5309 (_XOPEN_REALTIME_THREADS): Undefine macro.
5310 (_XOPEN_SHM): Undefine macro.
5311 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5312 macro to -1.
5313 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5314 macro to -1.
5315 (_POSIX_ASYNC_IO): Undefine macro.
5316 (_POSIX_PRIORITIZED_IO): Undefine macro.
5317 (_POSIX_SPIN_LOCKS): Define macro to -1.
5318
ee16e894
ST
5319 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5320 SA_NODEFER, SA_RESETHAND.
5321 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5322 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5323 F_DUPFD_CLOEXEC.
5324
6103ae3b
TS
53252012-05-10 Thomas Schwinge <thomas@schwinge.name>
5326
5327 * elf/Makefile (pldd-modules): Define unconditionally.
5328
80b4e5f3
TS
53292012-05-10 Thomas Schwinge <thomas@schwinge.name>
5330
5331 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5332
edadcbd6
ST
53332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5334
5335 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5336 Return ENOENT when name is empty.
5337 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5338
80694780
TS
53392012-05-10 Thomas Schwinge <thomas@schwinge.name>
5340
1792c087
TS
5341 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5342
80694780
TS
5343 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5344
6b645f0d
ST
53452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5346
80694780
TS
5347 Fix mlock in all cases except non-readable pages.
5348 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5349 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5350
6b645f0d
ST
5351 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5352 (__mkdir): When path is `/', just fail with EEXIST.
5353 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5354
e468f8a3
TS
53552012-05-10 Thomas Schwinge <thomas@schwinge.name>
5356
5357 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5358 <sys/uio.h> (for writev).
5359 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5360 and <sys/param.h> (for MIN).
5361
a4186cff
PT
53622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5363
5364 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5365 REQUESTED_TIME. Properly set the remaining time and return EINTR
5366 if interrupted.
5367
510bbf14
TS
53682012-05-10 Thomas Schwinge <thomas@schwinge.name>
5369
5370 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5371 Depend on against $(link-rpcuserlibs).
5372
5d5722e8
ST
53732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5374
a4186cff
PT
5375 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5376 (__libc_stack_end): Do not use attribute_relro.
5377 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5378 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5379 to libthread-provided value.
a4186cff
PT
5380 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5381 attribute_relro.
5d5722e8 5382
37233df9
TS
53832012-05-10 Thomas Schwinge <thomas@schwinge.name>
5384
be971a2b
TS
5385 [BZ #3748]
5386 * bits/libc-lock.h (__libc_once_get): New macro.
5387 * sysdeps/mach/bits/libc-lock.h: Likewise.
5388 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5390 instead of using implementation details.
5391
37233df9
TS
5392 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5393 * libio/freopen.c: Likewise.
5394 * libio/freopen64.c: Likewise.
5395 * misc/syslog.c: Likewise.
5396 * nscd/connections.c: Likewise.
5397 * nscd/netgroupcache.c: Likewise.
5398 * sysdeps/posix/getcwd.c: Likewise.
5399
38de94a5
RM
54002012-05-10 Roland McGrath <roland@hack.frob.com>
5401
5402 * math/w_ilogbf.c: Add #include <limits.h>.
5403
67530489
ST
54042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5405
a4186cff 5406 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5407 path instead of returning without unlocking.
5408
67530489
ST
5409 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5410 immediate-write ioctls.
5411 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5412
5aa3a74a
TS
54132012-05-10 Thomas Schwinge <thomas@schwinge.name>
5414
18bad2ae
TS
5415 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5416 __builtin_frame_address instead of making assumptions about the
5417 location of the return address relative to DATA. Force early load of
5418 the return address.
5419 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5420 __builtin_frame_address.
5421
5aa3a74a
TS
5422 dup3 for GNU Hurd.
5423 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5424 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5425 implement dup3 and do some further code clean-ups.
5426 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5427 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5428
ecd0de9a
ST
54292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5430
cd9fa985
ST
5431 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5432
a4186cff
PT
5433 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5434 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5435 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5436 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5437 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5438 d->port.lock.
802ca5a5 5439
a4186cff
PT
5440 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5441 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5442 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5443
bcf55240
TS
54442012-05-10 Thomas Schwinge <thomas@schwinge.name>
5445
6960eb42
TS
5446 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5447 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5448 definitions.
5449
eb43375f
TS
5450 accept4 for GNU Hurd.
5451 * include/sys/socket.h (__libc_accept4): New prototype.
5452 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5453 to implement __libc_accept4.
5454 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5455 __libc_accept4.
5456 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5457
bcf55240
TS
5458 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5459 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5460 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5461 signal-defines.sym.
5462
6178c55b
ST
54632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5464
a4186cff 5465 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5466
6f080c2f
TS
54672012-05-10 Thomas Schwinge <thomas@schwinge.name>
5468
5469 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5470 assertion on O_CLOEXEC flag.
5471 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5472 * hurd/intern-fd.c: Likewise.
5473 * hurd/port2fd.c: Likewise.
5474
bcfe3a54
ST
54752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5476
5477 [BZ #3906]
5478 * bits/in.h (IPV6_PKTINFO): Define new macro.
5479 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5480
89c9aa49
AZ
54812012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5482
5483 [BZ #13954]
5484 [BZ #13955]
5485 [BZ #13956]
5486 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5487 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5488 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5489 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5491 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5492 * math/libm-test.inc (logb_test) : Additional logb tests.
5493
021db4be
AJ
54942012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5495 Andreas Jaeger <aj@suse.de>
5496
5497 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5498 * configure: Regenerated.
5499 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5500 * config.make.in (link-obsolete-rpc): New substituted variable.
5501 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5502 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5503 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5504 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5505 so that libc.a contains the symbols.
5506 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5507 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5508 * sunrpc/auth_none.c: Likewise.
5509 * sunrpc/auth_unix.c: Likewise.
5510 * sunrpc/authdes_prot.c: Likewise.
5511 * sunrpc/authuxprot.c: Likewise.
5512 * sunrpc/clnt_gen.c: Likewise.
5513 * sunrpc/clnt_perr.c: Likewise.
5514 * sunrpc/clnt_raw.c: Likewise.
5515 * sunrpc/clnt_simp.c: Likewise.
5516 * sunrpc/clnt_tcp.c: Likewise.
5517 * sunrpc/clnt_udp.c: Likewise.
5518 * sunrpc/clnt_unix.c: Likewise.
5519 * sunrpc/des_crypt.c: Likewise.
5520 * sunrpc/des_soft.c: Likewise.
5521 * sunrpc/get_myaddr.c: Likewise.
5522 * sunrpc/key_call.c: Likewise.
5523 * sunrpc/key_prot.c: Likewise.
5524 * sunrpc/netname.c: Likewise.
5525 * sunrpc/pm_getmaps.c: Likewise.
5526 * sunrpc/pm_getport.c: Likewise.
5527 * sunrpc/pmap_clnt.c: Likewise.
5528 * sunrpc/pmap_prot.c: Likewise.
5529 * sunrpc/pmap_prot2.c: Likewise.
5530 * sunrpc/pmap_rmt.c: Likewise.
5531 * sunrpc/publickey.c: Likewise.
5532 * sunrpc/rpc_cmsg.c: Likewise.
5533 * sunrpc/rpc_common.c: Likewise.
5534 * sunrpc/rpc_dtable.c: Likewise.
5535 * sunrpc/rpc_prot.c: Likewise.
5536 * sunrpc/rpc_thread.c: Likewise.
5537 * sunrpc/rtime.c: Likewise.
5538 * sunrpc/svc.c: Likewise.
5539 * sunrpc/svc_auth.c: Likewise.
5540 * sunrpc/svc_raw.c: Likewise.
5541 * sunrpc/svc_run.c: Likewise.
5542 * sunrpc/svc_tcp.c: Likewise.
5543 * sunrpc/svc_udp.c: Likewise.
5544 * sunrpc/svc_unix.c: Likewise.
5545 * sunrpc/svcauth_des.c: Likewise.
5546 * sunrpc/xcrypt.c: Likewise.
5547 * sunrpc/xdr.c: Likewise.
5548 * sunrpc/xdr_array.c: Likewise.
5549 * sunrpc/xdr_float.c: Likewise.
5550 * sunrpc/xdr_intXX_t.c: Likewise.
5551 * sunrpc/xdr_mem.c: Likewise.
5552 * sunrpc/xdr_rec.c: Likewise.
5553 * sunrpc/xdr_ref.c: Likewise.
5554 * sunrpc/xdr_sizeof.c: Likewise.
5555 * sunrpc/xdr_stdio.c: Likewise.
5556
b5c086a2
RM
55572012-05-10 Roland McGrath <roland@hack.frob.com>
5558
5559 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5560 change. Update copyright years.
5561
6d74dd09
JM
55622012-05-10 Joseph Myers <joseph@codesourcery.com>
5563
5564 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5565
28e72501
MK
55662012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5567 Joseph Myers <joseph@codesourcery.com>
5568 Paul Pluzhnikov <ppluzhnikov@google.com>
5569
5570 [BZ #14012]
5571 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5572 requiring rpcgen.
5573 [cross-compiling] (extra-libs): Likewise.
5574 [cross-compiling] (extra-libs-others): Likewise.
5575 [cross-compiling] (librpcsvc-routines): Likewise.
5576 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5577 [cross-compiling] (omit-deps): Likewise.
5578 (sunrpc-CPPFLAGS): New variable.
5579 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5580 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5581 (cross-rpcgen-objs): New variable.
5582 (extra-objs): Append $(cross-rpcgen-objs).
5583 ($(cross-rpcgen-objs)): New rule.
5584 ($(objpfx)cross-rpcgen): Likewise.
5585 (rpcgen-cmd): Define to use $(built-program-file). Expand
5586 comment.
5587 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5588 ($(objpfx)x%.stmp): Likewise.
5589 * sunrpc/proto.h [IS_IN_build] (_): Define.
5590 [IS_IN_build] (_libc_intl_domainname): Likewise.
5591
c8c59454
L
55922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5593
5594 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5595 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5596 and R_X86_64_TPOFF64.
5597
6f27cd16
JM
55982012-05-10 Joseph Myers <joseph@codesourcery.com>
5599
5600 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5601 sysdeps/unix/sysv/syscalls.list.
5602 (stime): Likewise.
5603 (utime): Likewise.
5604 * sysdeps/unix/sysv/syscalls.list: Remove file.
5605
02467e1c
PE
56062012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5607
5608 [BZ #3440]
5609 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5610 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5611 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5612 (__LC_IDENTIFICATION): Make these macros useful in #if
5613 expressions, as required by C99.
5614
da392631
AS
56152012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5616
5617 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5618 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5619 after this.
5620
8115f29b
L
56212012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5622
5623 * stdlib/longlong.h: Updated from GCC.
5624
bdd74070
AJ
56252012-05-09 Andreas Jaeger <aj@suse.de>
5626
edfe0dbe
AJ
5627 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5628 default is first entry.
5629 (run_mode): Set type.
5630 (main): Remove informal message about syslog.
5631 (options): Fix typo.
5632
bcfe3a54
ST
5633 [BZ #14053]
5634 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5635 to asm.
bcfe3a54
ST
5636 (lrint): Likewise.
5637 (llrintf): Likewise.
5638 (llrint): Likewise.
5639 (rint): Likewise.
5640 (rintf): Likewise.
5641 (nearbyint): Likewise.
5642 (nearbyintf): Likewise.
bdd74070 5643
91d8d69e
AJ
56442012-05-09 Andreas Jaeger <aj@suse.de>
5645 Pedro Alves <palves@redhat.com>
5646
5647 * nscd/nscd.c (run_mode): Use enum.
5648 (main): Cleanup coding style issue.
5649
bb90b80b
AJ
56502012-05-09 Alexandre Oliva <aoliva@redhat.com>
5651 Andreas Jaeger <aj@suse.de>
5652
bcfe3a54
ST
5653 * nscd/nscd.c (go_background): Replaced with...
5654 (run_mode): ... this.
bb90b80b 5655 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5656 (options): Add -F --foreground.
5657 (main): Implement it.
5658 (parse_opt): Parse it.
bb90b80b 5659
1a4b75a1
AJ
56602012-05-09 Andreas Jaeger <aj@suse.de>
5661
5662 [BZ #14083]
5663 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5664 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5665 -Wconversion warning.
5666 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5667 Likewise.
5668
b1cc2472
JM
56692012-05-09 Joseph Myers <joseph@codesourcery.com>
5670
5671 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5672 == 0.
5673 (LC_ALL): Use macro-int-constant.
5674 (LC_COLLATE): Likewise.
5675 (LC_CTYPE): Likewise.
5676 (LC_MESSAGES): Likewise.
5677 (LC_MONETARY): Likewise.
5678 (LC_NUMERIC): Likewise.
5679 (LC_TIME): Likewise.
5680 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5681 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5682 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5683 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5684 Specify type.
5685 [C99-based standards] (float_t): Expect type.
5686 [C99-based standards] (double_t): Expect type.
5687 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5688 type.
5689 [C99-based standards] (HUGE_VALL): Likewise.
5690 [C99-based standards] (INFINITY): Likewise.
5691 [C99-based standards] (NAN): Likewise.
5692 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5693 [C99-based standards] (FP_NAN): Likewise.
5694 [C99-based standards] (FP_NORMAL): Likewise.
5695 [C99-based standards] (FP_SUBNORMAL): Likewise.
5696 [C99-based standards] (FP_ZERO): Likewise.
5697 [C99-based standards] (FP_FAST_FMA): Use
5698 optional-macro-int-constant. Specify type. Require == 1.
5699 [C99-based standards] (FP_FAST_FMAF): Likewise.
5700 [C99-based standards] (FP_FAST_FMAL): Likewise.
5701 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5702 [C99-based standards] (FP_ILOGBNAN): Likewise.
5703 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5704 Specify type.
5705 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5706 [C99-based standards] (math_errhandling): Specify type.
5707 [ISO99 || ISO11] (signgam): Do not allow.
5708 [non-C99-based standards] (copysignf): Do not allow.
5709 [non-C99-based standards] (exp2f): Likewise.
5710 [non-C99-based standards] (log2f): Likewise.
5711 [non-C99-based standards] (modff): Allow.
5712 [non-C99-based standards] (erff): Do not allow.
5713 [non-C99-based standards] (erfcf): Likewise.
5714 [non-C99-based standards] (gammaf): Likewise.
5715 [non-C99-based standards] (hypotf): Likewise.
5716 [non-C99-based standards] (j0f): Likewise.
5717 [non-C99-based standards] (j1f): Likewise.
5718 [non-C99-based standards] (jnf): Likewise.
5719 [non-C99-based standards] (lgammaf): Likewise.
5720 [non-C99-based standards] (tgammaf): Likewise.
5721 [non-C99-based standards] (y0f): Likewise.
5722 [non-C99-based standards] (y1f): Likewise.
5723 [non-C99-based standards] (ynf): Likewise.
5724 [non-C99-based standards] (isnanf): Likewise.
5725 [non-C99-based standards] (acoshf): Likewise.
5726 [non-C99-based standards] (asinhf): Likewise.
5727 [non-C99-based standards] (atanhf): Likewise.
5728 [non-C99-based standards] (cbrtf): Likewise.
5729 [non-C99-based standards] (expm1f): Likewise.
5730 [non-C99-based standards] (ilogbf): Likewise.
5731 [non-C99-based standards] (log1pf): Likewise.
5732 [non-C99-based standards] (logbf): Likewise.
5733 [non-C99-based standards] (nextafterf): Likewise.
5734 [non-C99-based standards] (remainderf): Likewise.
5735 [non-C99-based standards] (rintf): Likewise.
5736 [non-C99-based standards] (scalbf): Likewise.
5737 [non-C99-based standards] (copysignl): Likewise.
5738 [non-C99-based standards] (exp2l): Likewise.
5739 [non-C99-based standards] (log2l): Likewise.
5740 [non-C99-based standards] (modfl): Allow.
5741 [non-C99-based standards] (erfl): Do not allow.
5742 [non-C99-based standards] (erfcl): Likewise.
5743 [non-C99-based standards] (gammal): Likewise.
5744 [non-C99-based standards] (hypotl): Likewise.
5745 [non-C99-based standards] (j0l): Likewise.
5746 [non-C99-based standards] (j1l): Likewise.
5747 [non-C99-based standards] (jnl): Likewise.
5748 [non-C99-based standards] (lgammal): Likewise.
5749 [non-C99-based standards] (tgammal): Likewise.
5750 [non-C99-based standards] (y0l): Likewise.
5751 [non-C99-based standards] (y1l): Likewise.
5752 [non-C99-based standards] (ynl): Likewise.
5753 [non-C99-based standards] (isnanl): Likewise.
5754 [non-C99-based standards] (acoshl): Likewise.
5755 [non-C99-based standards] (asinhl): Likewise.
5756 [non-C99-based standards] (atanhl): Likewise.
5757 [non-C99-based standards] (cbrtl): Likewise.
5758 [non-C99-based standards] (expm1l): Likewise.
5759 [non-C99-based standards] (ilogbl): Likewise.
5760 [non-C99-based standards] (log1pl): Likewise.
5761 [non-C99-based standards] (logbl): Likewise.
5762 [non-C99-based standards] (nextafterl): Likewise.
5763 [non-C99-based standards] (remainderl): Likewise.
5764 [non-C99-based standards] (rintl): Likewise.
5765 [non-C99-based standards] (scalbl): Likewise.
5766 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5767 [non-C99-based standards] (FP_*): Do not allow.
5768 [C99-based standards] (FP_*): Change to
5769 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5770 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5771 allow.
5772 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5773 (SIG_ERR): Likewise.
5774 [X/Open-based standards] (SIG_HOLD): Likewise.
5775 (SIG_IGN): Likewise.
5776 (SIGABRT): Use macro-int-constant. Specify type. Require
5777 positive value.
5778 (SIGFPE): Likewise.
5779 (SIGILL): Likewise.
5780 (SIGINT): Likewise.
5781 (SIGSEGV): Likewise.
5782 (SIGTER): Likewise.
5783 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5787 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5788 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5789 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5790 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5791 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5792 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5794 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5796 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5797 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5798 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5800 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5801 [X/Open-based standards] (SIGTRAP): Likewise.
5802 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5803 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5804 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5805 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5806 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5807 allow.
5808
b9f1922d
IW
58092012-05-08 Ian Wienand <ianw@vmware.com>
5810
5811 [BZ #14080]
5812 * time/tzset.c (__tzset_parse_tz): Update default rules for
5813 daylight time changes in the Energy Policy Act of 2005.
5814
1db86e88
AJ
58152012-05-09 Andreas Jaeger <aj@suse.de>
5816
5817 [BZ #13983]
5818 * elf/ldconfig.c (parse_conf): Change string to make clear that
5819 ldconfig only issued a warning if ld.so.conf does not exist.
5820
dee4a4e3
DM
58212012-05-08 David S. Miller <davem@davemloft.net>
5822
ee0db190
DM
5823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5824 movxtod instead of popping the value on the stack.
5825
dee4a4e3
DM
5826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5827
6a43ec98
CD
58282012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5829
5830 * config.h.in: Add HAVE_ARM_PCS_VFP.
5831
05c2c961
RMG
58322012-05-08 Roland Mc Grath <roland@hack.frob.com>
5833
bcfe3a54
ST
5834 [BZ #13979]
5835 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5836 checking but the checks are disabled for any reason.
05c2c961 5837
4b30f61a
L
58382012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5839
5840 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5841 and ELF64_R_TYPE with ELFW(R_TYPE).
5842
eee2bc67
JM
58432012-05-08 Joseph Myers <joseph@codesourcery.com>
5844
7ea5391a
JM
5845 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5846 (ulimit): Likewise.
5847
eee2bc67
JM
5848 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5849 (settimeofday): Likewise.
5850
abb66a67
MF
58512012-05-08 Mike Frysinger <vapier@gentoo.org>
5852
5853 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5854 a struct th_u2 inside the union, and move tu_block/tu_code into
5855 a new th_u3 union of tu_block/tu_code inside of that. Move
5856 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5857 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5858 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5859 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5860 (th_stuff): Change to th_u1.tu_stuff.
5861 (th_data): Define.
5862 (th_msg): Change to th_u1.th_u2.tu_data.
5863
7f18b530
DM
58642012-05-07 David S. Miller <davem@davemloft.net>
5865
05760585
DM
5866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5867
7f18b530
DM
5868 [BZ #14074]
5869 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5870 (SETUP_PIC_REG): Use it.
5871 (SETUP_PIC_REG_LEAF): Use it.
5872
495fd99f
JM
58732012-05-07 Joseph Myers <joseph@codesourcery.com>
5874
5875 [BZ #13885]
5876 [BZ #13923]
5877 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5878 USE_AS_EXPM1L.
5879 (EXPL_FINITE): Likewise.
5880 (FLDLOG): Likewise.
5881 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5882 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5883 e_expl.S.
5884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5885 USE_AS_EXPM1L.
5886 (EXPL_FINITE): Likewise.
5887 (FLDLOG): Likewise.
5888 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5889 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5890 e_expl.S.
5891 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5892 test of -max_value argument for long double.
5893 * sysdeps/i386/fpu/libm-test-ulps: Update.
5894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5895
6693d694
DM
58962012-05-06 David S. Miller <davem@davemloft.net>
5897
5898 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5899 quad soft-float symbols whose references which are compiler
5900 generated.
5901 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5902
6c23e11c
JM
59032012-05-06 Joseph Myers <joseph@codesourcery.com>
5904
d8b82cad
JM
5905 [BZ #13884]
5906 [BZ #13914]
5907 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5908 USE_AS_EXP10L.
5909 (EXPL_FINITE): Likewise.
5910 (FLDLOG): Likewise.
5911 (c0): Likewise.
5912 (c1): Likewise.
5913 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5914 Adjust comments for base varying.
5915 (__expl_finite): Change alias to EXPL_FINITE.
5916 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5917 e_expl.S.
5918 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5919 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5920 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5921 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5922 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5923 USE_AS_EXP10L.
5924 (EXPL_FINITE): Likewise.
5925 (FLDLOG): Likewise.
5926 (c0): Likewise.
5927 (c1): Likewise.
5928 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5929 Adjust comments for base varying.
5930 (__expl_finite): Change alias to EXPL_FINITE.
5931 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5932 tests for bugs.
5933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5934
6c23e11c
JM
5935 [BZ #14064]
5936 * math/libm-test.inc (check_float_internal): Correct ulp
5937 calculation for subnormal expected results.
5938
29ba805c
AJ
59392012-05-06 Andreas Jaeger <aj@suse.de>
5940
5941 * Makeconfig (+math-flags): New, set to -frounding-math.
5942 (+cflags): Add +math-flags so that all of glibc gets compiled with
5943 it.
5944
5945 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5946
7b17aeda
JM
59472012-05-05 Joseph Myers <joseph@codesourcery.com>
5948
5779f134
JM
5949 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5950 Disable one test.
5951
41498f4d
JM
5952 [BZ #13787]
5953 [BZ #13922]
5954 [BZ #14036]
5955 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5956 (__ieee754_expl): Allow for and saturate large arguments.
5957 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5958 (u_threshold): Likewise.
5959 (__exp): Call __ieee754_exp before checking for overflow and
5960 underflow.
5961 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5962 (u_threshold): Likewise.
5963 (__expf): Call __ieee754_expf before checking for overflow and
5964 underflow.
5965 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5966 (u_threshold): Likewise.
5967 (__expl): Call __ieee754_expl before checking for overflow and
5968 underflow.
5969 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5970 (__ieee754_expl): Allow for and saturate large arguments.
5971 * math/libm-test.inc (exp_test): Add another test. Do not allow
5972 missing overflow exception on overflow.
5973 (expm1_test): Do not allow missing overflow exception on overflow.
5974
6698b8bf
JM
5975 * sysdeps/i386/fpu/e_expl.c: Move to ...
5976 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5977 rather than using inline asm.
5978 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5979 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5980 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5981
7b17aeda
JM
5982 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5983 (nice): Likewise.
5984 (poll): Likewise.
5985 (signal): Likewise.
5986 (time): Likewise.
5987 (times): Likewise.
5988
f7c85819
JM
59892012-05-04 Joseph Myers <joseph@codesourcery.com>
5990
5991 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5992 sysdeps/unix/common/syscalls.list.
5993 (fchmod): Likewise.
5994 (fchown): Likewise.
5995 (ftruncate): Likewise.
5996 (getrusage): Likewise.
5997 (gettimeofday): Likewise.
5998 (setpgid): Likewise.
5999 (setregid): Likewise.
6000 (setreuid): Likewise.
6001 (sigaction): Likewise.
6002 (truncate): Likewise.
6003 (vhangup): Likewise.
6004 * sysdeps/unix/common/syscalls.list: Remove file.
6005 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6006 * sysdeps/unix/sysv/linux/Implies: Likewise.
6007
336270d0
L
60082012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6009
6010 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6012 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6013 Moved to ...
6014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6015 Here.
6016 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6017 to ...
6018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6019 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6020 to ...
6021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6022 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6023 to ...
6024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6025 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6026 to ...
6027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6028 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6029 to ...
6030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6031 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6032 to ...
6033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6034 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6035 to ...
6036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6037 Here.
6038 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6039 to ...
6040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6041 Here.
6042 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6043 to ...
6044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6045 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6046 Moved to ...
6047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6048 Here.
6049 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6050 to ...
6051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6052
d128e450
JM
60532012-05-04 Joseph Myers <joseph@codesourcery.com>
6054
fa8ee516
JM
6055 * sysdeps/unix/common/bits/dirent.h: Remove file.
6056 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6057
d128e450
JM
6058 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6059 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6060 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6061 * sysdeps/unix/bsd/isatty.c: Likewise.
6062 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6063 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6064 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6065
ff8faaf0 60662012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6067
62881be4 6068 [BZ #13563]
31dc8730
AZ
6069 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6070 long double comparison inaccuracies.
6071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6073
6fef930c
AS
60742012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6075
6076 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6077 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6078
8f203e6c
JM
60792012-05-04 Joseph Myers <joseph@codesourcery.com>
6080
6081 [BZ #14049]
6082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6083 nonzero digits before rounding a hex value.
6084 * stdlib/tst-strtod.c (tests): Add another test.
6085
5197d9c2
AK
60862012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6087
6088 * sysdeps/s390/fpu/libm-test-ulps: Update.
6089
f0c1dedf
AJ
60902012-05-03 Andreas Jaeger <aj@suse.de>
6091
6092 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6093 does not get optimized out.
6094 (malloc_opt_barrier): New.
6095
a65ef2ae 60962012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6097 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6098
2b942cb7 6099 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6100 intermediate file deletion.
2b942cb7 6101 (generated): Add .symlist files.
a65ef2ae 6102
54b71e02
JM
61032012-05-03 Joseph Myers <joseph@codesourcery.com>
6104
6105 [BZ #13775]
6106 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6107 Redirect under this condition.
6108 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6109 [__USE_GNU] (__dprintf_chk): Not under this condition.
6110 [__USE_GNU] (__vdprintf_chk): Likewise.
6111 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6112 under this condition.
6113 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6114 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6115 [__USE_XOPEN2K8] (vdprintf): Likewise.
6116 [__USE_GNU] (__dprintf_chk): Not under this condition.
6117 [__USE_GNU] (__vdprintf_chk): Likewise.
6118 [__USE_GNU] (dprintf): Likewise.
6119 [__USE_GNU] (vdprintf): Likewise.
6120
d3dfcc41
RM
61212012-05-03 Roland McGrath <roland@hack.frob.com>
6122
6123 * elf/Makefile (common-generated): Set this instead of generated for
6124 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6125 $(all-built-dso)-derived lists.
6126
7ac30cc5
AJ
61272012-05-03 Andreas Jaeger <aj@suse.de>
6128
0c51e550
AJ
6129 * sysdeps/i386/fpu/libm-test-ulps: Update.
6130
7ac30cc5
AJ
6131 * FAQ: Removed.
6132 * FAQ.in: Likewise.
6133 * scripts/gen-FAQ.pl: Likewise.
6134 * manual/install.texi (Installation): Point to online location of
6135 FAQ.
6136 * Makefile (files-for-dist): Remove FAQ.
6137 (FAQ): Remove.
6138
d4c2917f
AM
61392012-05-02 Allan McRae <allan@archlinux.org>
6140
6141 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6142 (LDFLAGS-reldepmod5.so): Likewise.
6143 (LDFLAGS-reldep6mod1.so): Likewise.
6144 (LDFLAGS-reldep6mod4.so): Likewise.
6145 (LDFLAGS-reldep8mod3.so): Likewise.
6146 (LDFLAGS-unload4mod1.so): Likewise.
6147 (LDFLAGS-unload4mod2.so): Likewise.
6148 (LDFLAGS-tst-initorder): Likewise.
6149 (LDFLAGS-tst-initordera2.so): Likewise.
6150 (LDFLAGS-tst-initordera3.so): Likewise.
6151 (LDFLAGS-tst-initordera4.so): Likewise.
6152 (LDFLAGS-tst-initorderb2.so): Likewise.
6153 (LDFLAGS-noload): Likewise.
6154 (LDFLAGS-next): Likewise.
6155 (LDFLAGS-order2mod1.so): Likewise.
6156 (LDFLAGS-order2mod2.so): Likewise.
6157 (LDFLAGS-tst-initorder2): Likewise.
6158 (LDFLAGS-tst-initorder2a.so): Likewise.
6159 (LDFLAGS-tst-initorder2b.so): Likewise.
6160 (LDFLAGS-tst-initorder2c.so): Likewise.
6161 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6162
d77f993f
DM
61632012-05-02 David S. Miller <davem@davemloft.net>
6164
6165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6166
171a70b4
PP
61672012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6168
6169 [BZ #14055]
6170 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6171
0be196ad
AJ
61722012-05-02 Andreas Jaeger <aj@suse.de>
6173
6174 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6175 since we manipulate rounding mode.
6176 (CPPFLAGS-test-idouble.c): Likewise.
6177 (CPPFLAGS-test-ifloat.c): Likewise.
6178 (CFLAGS-test-ldouble.c): Likewise.
6179 (CFLAGS-test-double.c): Likewise.
6180 (CFLAGS-test-float.c): Likewise.
6181 (CFLAGS-test-misc.c): Likewise.
6182 (CFLAGS-test-test-fenv.c): Likewise.
6183
4f9d04aa
AZ
61842012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185
2b942cb7
RM
6186 [BZ #2550]
6187 [BZ #2570]
6188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6189 comparisons to determine direction to adjust input.
4f9d04aa 6190
82a79e7d
RM
61912012-05-01 Roland McGrath <roland@hack.frob.com>
6192
f5a01ca9
RM
6193 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6194 output to the target.
6195
90fe4186
RM
6196 * scripts/localplt.awk: New file.
6197 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6198 (check-localplt-CFLAGS): Variable removed.
6199 ($(all-built-dso:=.jmprel)): New static pattern rule.
6200 (generated): Add those targets.
6201 (localplt-built-dso): New variable.
6202 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6203
6204 * elf/check-localplt.c: File removed.
6205
82397ed6
RM
6206 * scripts/check-execstack.awk: New file.
6207 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6208 (check-execstack-CFLAGS): Variable removed.
6209 ($(objpfx)check-execstack.h): Target removed.
6210 ($(objpfx)execstack-default): New target.
6211 (generated): Add that instead of check-execstack.h.
6212 ($(all-built-dso:=.phdr)): New static pattern rule.
6213 (generated): Add those targets.
6214 * elf/check-execstack.c: File removed.
6215
82a79e7d
RM
6216 * scripts/check-textrel.awk: New file.
6217 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6218 (check-textrel-CFLAGS): Variable removed.
6219 (all-built-dso): Use := to define.o
6220 ($(all-built-dso:=.dyn)): New static pattern rule.
6221 (generated): Add those targets.
6222 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6223 * config.make.in (READELF): New substituted variable.
6224 * elf/check-textrel.c: File removed.
6225
62fde54f 62262012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6227
615605c9
JM
6228 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6229 allow.
6230 * conform/data/ctype.h-data [C99-based standards] (isblank):
6231 Expect function.
6232 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6233 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6235 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6236 Specify type. Require positive value.
6237 (EILSEQ): Likewise.
6238 (ERANGE): Likewise.
6239 [ISO || POSIX] (EILSEQ): Do not expect.
6240 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6241 Specify type. Require positive value.
6242 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6244 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6245 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6246 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6247 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6248 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6249 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6250 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6251 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6253 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6254 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6257 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6258 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6259 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6260 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6261 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6262 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6263 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6264 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6265 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6266 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6267 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6268 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6269 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6270 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6271 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6272 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6273 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6274 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6275 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6276 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6277 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6278 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6279 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6280 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6281 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6282 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6283 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6284 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6285 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6286 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6287 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6288 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6289 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6290 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6291 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6292 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6293 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6294 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6295 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6296 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6297 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6298 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6299 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6300 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6301 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6302 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6303 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6304 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6305 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6306 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6307 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6308 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6309 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6310 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6311 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6312 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6313 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6314 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6315 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6316 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6317 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6318 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6319 Require >= 2.
6320 (FLT_ROUNDS): Expect as macro, not constant.
6321 (FLT_MANT_DIG): Use macro-int-constant.
6322 (DBL_MANT_DIG): Likewise.
6323 (LDBL_MANT_DIG): Likewise.
6324 (FLT_DIG): Likewise.
6325 (DBL_DIG): Likewise.
6326 (LDBL_DIG): Likewise.
6327 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6328 (DBL_MIN_EXP): Likewise.
6329 (LDBL_MIN_EXP): Likewise.
6330 (FLT_MAX_EXP): Use macro-int-constant.
6331 (DBL_MAX_EXP): Likewise.
6332 (LDBL_MAX_EXP): Likewise.
6333 (FLT_MAX_10_EXP): Likewise.
6334 (DBL_MAX_10_EXP): Likewise.
6335 (LDBL_MAX_10_EXP): Likewise.
6336 (FLT_MAX): Use macro-constant.
6337 (DBL_MAX): Likewise.
6338 (LDBL_MAX): Likewise.
6339 (FLT_EPSILON): Use macro-constant. Give upper bound.
6340 (DBL_EPSILON): Likewise.
6341 (LDBL_EPSILON): Likewise.
6342 (FLT_MIN): Likewise.
6343 (DBL_MIN): Likewise.
6344 (LDBL_MIN): Likewise.
6345 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6346 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6347 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6348 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6349 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6350 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6351 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6352 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6353 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6354 [ISO11] (FLT_TRUE_MIN): Likewise.
6355 [ISO11] (LDBL_TRUE_MIN): Likewise.
6356 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6357 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6358 (SCHAR_MIN): Use macro-int-constant. Specify type.
6359 (SCHAR_MAX): Likewise.
6360 (UCHAR_MAX): Likewise.
6361 (CHAR_MIN): Likewise.
6362 (CHAR_MAX): Likewise.
6363 (MB_LEN_MAX): Use macro-int-constant.
6364 (SHRT_MIN): Use macro-int-constant. Specify type.
6365 (SHRT_MAX): Likewise.
6366 (USHRT_MAX): Likewise.
6367 (INT_MAX): Likewise.
6368 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6369 bound negative.
6370 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6371 bound with "U".
6372 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6373 bound with "L".
6374 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6375 bound negative. Suffix upper bound with "L".
6376 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6377 bound with "UL".
6378 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6379 Specify type.
6380 [C99-based standards] (LLONG_MAX): Likewise.
6381 [C99-based standards] (ULLONG_MAX): Likewise.
6382 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6383 == 0.
6384 [ISO11] (max_align_t): Require type.
6385 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6386
c9140a62
JM
6387 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6388 from $CFLAGS, without defining away __attribute__ calls.
6389 (checknamespace): Use $CFLAGS_namespace.
6390
9af0bf29
JM
6391 * conform/conformtest.pl (@keywords): Only include C99 keywords
6392 for standards based on C99 or C11.
6393
343222a2
JM
6394 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6395 Disable tests.
6396 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6397 UNIX98]: Likewise.
6398
661f8cf0
JM
6399 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6400 usability of symbols in #if.
6401
ee74b9cb
JM
6402 * conform/conformtest.pl: If macro or constant types start
6403 "promoted:", expect the symbol to be of the following type
6404 promoted by the integer promotions.
62fde54f 6405
aafc49b3
JM
6406 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6407 in one place. Also handle "macro-constant".
6408
fefdf574
JM
6409 * conform/conformtest.pl: Only accept expected macro values with
6410 "==". Parse all "macro" lines in one place.
6411 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6412
f2d922fe
JM
6413 * conform/conformtest.pl: Handle braced types on "constant" lines
6414 instead of handling "typed-constant".
6415 * conform/data/signal.h-data: Use "constant" instead of
6416 "typed-constant".
6417
d22956c9
JM
6418 * conform/conformtest.pl: Handle "optional-" at start of lines in
6419 one place rather than duplicating several cases. Handle each
6420 format of "macro" line with initial "optional-".
6421
028e2e38
JM
6422 * conform/conformtest.pl: Only accept expected constant or
6423 optional-constant values with "==". Parse all "constant" lines in
6424 one place. Parse all "optional-constant" lines in one place.
6425 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6426 * conform/data/fmtmsg.h-data: Likewise.
6427 * conform/data/netinet/in.h-data: Likewise.
6428 * conform/data/tar.h-data: Likewise.
6429 * conform/data/limits.h-data: Use "==" form on "constant" and
6430 "optional-constant" lines.
6431
1b8f2850
JM
6432 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6433 Use -std=c99 for XOPEN2K.
6434 (@knownproblems): Remove.
6435 (newtoken): Don't check %isknown.
6436
a05a144b
JM
6437 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6438 Do not expect macro.
6439 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6440 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6441 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6451 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6452 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6453 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6454 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6455 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6459 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6460 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6461 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6462 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6463 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6464 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6465 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6466 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6467 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6469 [XPG3] (acosh): Likewise.
6470 [XPG3] (asinh): Likewise.
6471 [XPG3] (atanh): Likewise.
6472 [XPG3] (cbrt): Likewise.
6473 [XPG3] (expm1): Likewise.
6474 [XPG3] (ilogb): Likewise.
6475 [XPG3] (log1p): Likewise.
6476 [XPG3] (logb): Likewise.
6477 [XPG3] (nextafter): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6480 [XPG3] (remainder): Likewise.
6481 [XPG3] (rint): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6489 [UNIX98 || XOPEN2K] (scalb): Expect.
6490 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6491 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6503 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6504 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6505 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6506 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6545 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6546 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6547 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6550 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6551 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6566 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6568 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6574 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6575 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6577 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6583 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6584 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6585 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6589 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6590 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6591 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6592 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6593 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6605 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6606 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6607 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6608 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6610 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6611 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6612 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6613 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6618 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6619 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6623 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6624 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6626 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6627
73c5ebe3
JM
6628 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6629 _XOPEN_SOURCE_EXTENDED for XPG4.
6630
39c33b6c
JM
6631 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6632
62fde54f
JM
6633 * Makeconfig (localtime): Remove variable.
6634 (inst_localtime-file): Likewise.
6635
0741d64c
AS
66362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6637
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6639 Update.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6641 Update.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6643 Update.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6645 Update.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6647 Update.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6649 Update.
6650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6651 Update.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6653 Update.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6655 Update.
6656
7cb029ee
JM
66572012-05-01 Joseph Myers <joseph@codesourcery.com>
6658
6659 [BZ #2550]
6660 [BZ #2570]
6661 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6662 comparisons to determine direction to adjust input.
6663 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6664 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6666 Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6668 Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6670 Likewise.
6671 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6672 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6673 Likewise.
6674 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6675 Likewise.
6676 * math/libm-test.inc (nexttoward_test): Add more tests.
6677
412bd966
AS
66782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6679
6680 [BZ #14040]
6681 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6682 in version GLIBC_2.1, not GLIBC_2.0.
6683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6684 Likewise.
6685
9568c0c2
JM
66862012-04-30 Joseph Myers <joseph@codesourcery.com>
6687
adfbc8ac
JM
6688 [BZ #13942]
6689 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6690 (1 - x) * (1 + x).
6691 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6692 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6693 * math/libm-test.inc (acos_test): Add more tests.
6694 (asin_test): Likewise.
6695 * sysdeps/i386/fpu/libm-test-ulps: Update.
6696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6697
5ba3cc69
JM
6698 [BZ #14034]
6699 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6700 of square root.
6701 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6702 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6703 * math/libm-test.inc (acos_test_tonearest): New function.
6704 (acos_test_towardzero): Likewise.
6705 (acos_test_downward): Likewise.
6706 (acos_test_upward): Likewise.
6707 (asin_test_tonearest): Likewise.
6708 (asin_test_towardzero): Likewise.
6709 (asin_test_downward): Likewise.
6710 (asin_test_upward): Likewise.
6711 (main): Call the new functions.
6712 * sysdeps/i386/fpu/libm-test-ulps: Update.
6713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6714
9568c0c2
JM
6715 [BZ #13884]
6716 [BZ #13924]
6717 * math/e_exp10.c: Include <float.h>.
6718 (__ieee754_exp10): Handle underflow here rather than multiplying
6719 large negative argument by M_LN10.
6720 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6721 of __ieee754_expf.
6722 * math/e_exp10l.c: Include <float.h>.
6723 (__ieee754_exp10l): Handle underflow here rather than multiplying
6724 large negative argument by M_LN10l.
6725 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6726 spurious overflow exception on underflow.
6727
5ac3ea17
MP
67282012-04-29 Marek Polacek <polacek@redhat.com>
6729
6730 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6731 (__fortify_function): New macro.
6732 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6733 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6734 __extern_always_inline.
6735 * libio/bits/stdio2.h: Likewise.
6736 * libio/bits/stdio.h: Likewise.
6737 * string/string.h: Likewise.
6738 * string/bits/string3.h: Likewise.
6739 * include/stdio.h: Likewise.
6740 * stdlib/bits/stdlib.h: Likewise.
6741 * stdlib/stdlib.h: Likewise.
6742 * rt/bits/mqueue2.h: Likewise.
6743 * rt/mqueue.h: Likewise.
6744 * posix/bits/unistd.h: Likewise.
6745 * posix/unistd.h: Likewise.
6746 * io/bits/poll2.h: Likewise.
6747 * io/bits/fcntl2.h: Likewise.
6748 * io/fcntl.h: Likewise.
6749 * io/sys/poll.h: Likewise.
6750 * misc/bits/syslog.h: Likewise.
6751 * misc/bits/syslog-ldbl.h: Likewise.
6752 * misc/sys/syslog.h: Likewise.
6753 * socket/bits/socket2.h: Likewise.
6754 * socket/sys/socket.h: Likewise.
6755 * debug/tst-chk1.c: Likewise.
6756 * wcsmbs/bits/wchar2.h: Likewise.
6757 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6758 * wcsmbs/wchar.h: Likewise.
6759
ecf0ebfb
AJ
67602012-04-29 Andreas Jaeger <aj@suse.de>
6761
6762 * Makerules (tests): Remove enable-check-abi protection.
6763 (check-abi-warn): Remove.
6764 (check-abi-%): Remove check-abi-warn usage.
6765
6766 * configure.in: Remove check-abi configure option.
6767 * configure: Regenerated.
6768 * config.make.in (enable-check-abi): Remove.
6769
6d5c57fa
AS
67702012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6771
24c5d07e 6772 [BZ #14033]
ded5180a
AS
6773 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6774 double functions to double *_finite functions.
6775
7e0d315d
AS
6776 [BZ #13941]
6777 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6778 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6779 LDBL_MIN_EXP.
6780 * stdio-common/Makefile (tests): Add tst-sprintf3.
6781 * stdio-common/tst-sprintf3.c: New file.
6782
6d5c57fa
AS
6783 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6784 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6785
0749ff8b
JM
67862012-04-28 Joseph Myers <joseph@codesourcery.com>
6787
6788 * conform/conformtest.pl: Remove duplicate typed-constant
6789 handling.
6790
8dbd5d7b
DM
67912012-04-28 David S. Miller <davem@davemloft.net>
6792
6793 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6794 (check-abi-%): Remove AWK script prerequisite and explicit
6795 abilist directory.
6796 (check-abi): Rewrite to just diff the symlist with the abilist.
6797 (config-tls, config-abi-config): Delete, no longer used.
6798 (update-abi-%): Remove AWK script and explicit abilist directory.
6799 (update-abi): Rewrite to simply compare and conditionally copy the
6800 symlist and the sysdep abilist file. Remove update-abi-config
6801 checks.
6802 * abilist/ld.abilist: Remove.
6803 * abilist/libBrokenLocale.abilist: Remove.
6804 * abilist/libanl.abilist: Remove.
6805 * abilist/libcrypt.abilist: Remove.
6806 * abilist/libdl.abilist: Remove.
6807 * abilist/librt.abilist: Remove.
6808 * abilist/libthread_db.abilist: Remove.
6809 * abilist/libutil.abilist: Remove.
6810 * scripts/extract-abilist.awk: Remove.
6811 * scripts/merge-abilist.awk: Remove.
6812 * sysdeps/generic/libcidn.abilist: New file.
6813 * sysdeps/generic/libnss_compat.abilist: New file.
6814 * sysdeps/generic/libnss_db.abilist: New file.
6815 * sysdeps/generic/libnss_dns.abilist: New file.
6816 * sysdeps/generic/libnss_files.abilist: New file.
6817 * sysdeps/generic/libnss_hesiod.abilist: New file.
6818 * sysdeps/generic/libnss_nis.abilist: New file.
6819 * sysdeps/generic/libnss_nisplus.abilist: New file.
6820 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6821 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6822 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6823 file.
6824 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6825 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6826 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6827 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6828 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6829 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6830 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6831 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6832 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6833 file.
6834 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6835 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6836 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6837 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6838 file.
6839 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6840 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6841 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6842 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6843 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6844 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6845 file.
6846 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6847 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6848 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6849 file.
6850 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6852 New file.
6853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6854 New file.
6855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6856 New file.
6857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6858 New file.
6859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6860 New file.
6861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6862 New file.
6863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6864 New file.
6865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6866 New file.
6867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6868 New file.
6869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6870 New file.
6871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6872 New file.
6873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6874 New file.
6875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6876 New file.
6877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6878 file.
6879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6880 New file.
6881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6882 New file.
6883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6884 file.
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6886 New file.
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6888 New file.
6889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6890 file.
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6892 New file.
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6894 New file.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6896 New file.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6898 New file.
6899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6900 New file.
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6902 New file.
6903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6905 file.
6906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6907 New file.
6908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6909 file.
6910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6911 file.
6912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6913 file.
6914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6915 file.
6916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6917 file.
6918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6919 New file.
6920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6921 file.
6922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6923 file.
6924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6925 New file.
6926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6927 file.
6928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6930 file.
6931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6932 New file.
6933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6934 file.
6935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6936 file.
6937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6938 file.
6939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6940 file.
6941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6942 file.
6943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6944 New file.
6945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6946 file.
6947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6948 file.
6949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6950 New file.
6951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6952 file.
6953 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6954 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6955 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6956 file.
6957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6958 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6959 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6960 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6961 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6962 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6963 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6964 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6965 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6966 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6969 file.
6970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6971 New file.
6972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6973 file.
6974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6975 file.
6976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6977 file.
6978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6979 file.
6980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6981 file.
6982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6983 New file.
6984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6985 New file.
6986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6987 file.
6988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6989 New file.
6990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6991 file.
6992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6994 file.
6995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6996 New file.
6997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6998 file.
6999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7000 file.
7001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7002 file.
7003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7004 file.
7005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7006 file.
7007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7008 New file.
7009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7010 New file.
7011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7012 file.
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7014 New file.
7015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7016 file.
7017
41d73a1b
JM
70182012-04-28 Joseph Myers <joseph@codesourcery.com>
7019
7020 * conform/conformtest.pl: Fix typo in handling typed-constant from
7021 allow-header.
7022
28aeeda4
JM
70232012-04-27 Joseph Myers <joseph@codesourcery.com>
7024
adae8f5e
JM
7025 * README: Cut down references to pre-2.6 Linux kernels and
7026 Linuxthreads. Update lists of configurations in libc and ports
7027 and sort alphabetically. Say "or newer" with Linux kernel version
7028 requirements.
7029
28aeeda4
JM
7030 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7031
a462cb63
RA
70322012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7033
7034 [BZ #887]
7035 * math/libm-test.inc (logb_test_downward): New test to expose
7036 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7037 rounding mode.
7038
6ad3493e
JM
70392012-04-27 Joseph Myers <joseph@codesourcery.com>
7040
7041 [BZ #14027]
7042 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7043 to be done.
7044 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7045 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7046
2ce4f015
JM
70472012-04-26 Joseph Myers <joseph@codesourcery.com>
7048
5aeb141a
JM
7049 * sysdeps/unix/i386/brk.S: Remove file.
7050 * sysdeps/unix/i386/dl-brk.S: Likewise.
7051 * sysdeps/unix/i386/pipe.S: Likewise.
7052 * sysdeps/unix/i386/sigreturn.S: Likewise.
7053 * sysdeps/unix/i386/syscall.S: Likewise.
7054 * sysdeps/unix/i386/vfork.S: Likewise.
7055 * sysdeps/unix/i386/wait.S: Likewise.
7056
7143acae
JM
7057 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7058 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7059
2ce4f015
JM
7060 * configure.in (arm*-none*): Do not allow without
7061 --enable-hacker-mode.
7062 (netbsd*): Remove case setting base_os.
7063 (386bsd*): Likewise.
7064 (freebsd*): Likewise.
7065 (bsdi*): Likewise.
7066 (osf*): Likewise.
7067 (sunos*): Likewise.
7068 (ultrix*): Likewise.
7069 (newsos*): Likewise.
7070 (dynix*): Likewise.
7071 (*bsd*): Likewise.
7072 (sysv*): Likewise.
7073 (isc*): Likewise.
7074 (esix*): Likewise.
7075 (sco*): Likewise.
7076 (minix*): Likewise.
7077 (irix4*): Likewise.
7078 (irix6*): Likewise.
7079 (solaris[2-9]*): Likewise.
7080 (none): Likewise.
7081 * configure: Regenerated.
7082
0ac229c8
AZ
70832012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7084
7085 [BZ #11521]
7086 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7087 overflow or cancellation in calculating denominator.
7088 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7089 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7090 down expression to avoid unexpected rounding in newer GCCs.
7091 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7092
33f244f4
DM
70932012-04-26 David S. Miller <davem@davemloft.net>
7094
7095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7096 long-double compat symbols.
7097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7110
cfa1f3e8
DM
71112012-04-25 David S. Miller <davem@davemloft.net>
7112
7113 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7114 HWCAP_* values only after the memory barriers have been defined.
7115 (atomic_full_barrier): Define.
7116 (atomic_read_barrier): Define.
7117 (atomic_write_barrier): Define.
7118
6e236b92
SP
71192012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7120
7121 * shlib-versions: Add libgcc_s version information.
7122 * sysdeps/generic/libgcc_s.h: Remove.
7123 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7124 libgcc_s.h.
7125 * sysdeps/gnu/unwind-resume.c: Likewise.
7126 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7127
aab39a09
DM
71282012-04-25 David S. Miller <davem@davemloft.net>
7129
7130 * sysdeps/unix/sparc/brk.S: Delete.
7131 * sysdeps/unix/sparc/dl-brk.S: Delete.
7132 * sysdeps/unix/sparc/pipe.S: Delete.
7133 * sysdeps/unix/sparc/sysdep.S: Delete.
7134 * sysdeps/unix/sparc/sysdep.h: Delete.
7135 * sysdeps/unix/sparc/vfork.S: Delete.
7136 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7137 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7138 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7139 ret_ERRVAL, r0, r1, MOVE): Define.
7140 (JUMPTARGET): Remove.
7141 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7142 sysdeps/unix/sparc/sysdep.h
7143 (ENTRY, END): Remove.
7144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7145
a3cc4f48
JM
71462012-04-25 Joseph Myers <joseph@codesourcery.com>
7147
2ed8cda2
JM
7148 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7149 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7150 -DIS_IN_build.
7151
35d76d59
JM
7152 * timezone/README: Update upstream location and email address for
7153 tzcode and tzdata.
7154 * timezone/zdump.c: Update from tzcode 2012b.
7155 * timezone/zic.c: Likewise.
7156
a3cc4f48
JM
7157 * configure.in (libc_cv_as_needed): Remove test.
7158 * configure: Regenerated.
7159 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7160 conditional definition.
7161 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7162 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7163 * config.make.in (have-as-needed): Remove variable.
7164
ceab42c3
SP
71652012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7166 Paul Pluzhnikov <ppluzhnikov@google.com>
7167
7168 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7169 strings correctly.
7170
3ce2865f
CLT
71712012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7172
7173 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7174 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7175 * sysdeps/sh/strlen.S: Likewise.
7176
f37e0d68
JM
71772012-04-24 Joseph Myers <joseph@codesourcery.com>
7178
ae186e9a
JM
7179 * sysdeps/unix/fork.S: Remove file.
7180 * sysdeps/unix/i386/fork.S: Likewise.
7181 * sysdeps/unix/sparc/fork.S: Likewise.
7182
b96914af
JM
7183 * sysdeps/unix/system.c: Remove file.
7184 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7185
f37e0d68
JM
7186 * sysdeps/unix/getegid.S: Remove file.
7187 * sysdeps/unix/geteuid.S: Likewise.
7188
87ef29ca
RM
71892012-04-24 Roland McGrath <roland@hack.frob.com>
7190
83bcd236
RM
7191 * scripts/check-localplt.awk: New file.
7192 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7193 of diff.
7194 * scripts/data/localplt-generic.data: Add a comment.
7195
87ef29ca
RM
7196 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7197 NODE when __dir_mkfile failed.
7198 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7199 Reported by Ludovic Courtès <ludo@gnu.org>.
7200
e5a6e567
AJ
72012012-04-24 Andreas Jaeger <aj@suse.de>
7202
7203 * Makerules (common-clean): Also remove gen-as-const-headers
7204 files.
7205
c1820385
JM
72062012-04-24 Joseph Myers <joseph@codesourcery.com>
7207
7208 * Makerules (native-compile): Do not change working directory for
7209 build. Use $(OUTPUT_OPTION) in command.
7210 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7211
94e02fc4
AZ
72122012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7213
7214 [BZ #13886]
7215 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7216 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7217 * math/libm-test.inc (floor_test): Add more tests.
7218 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7219
3a533ca3
JM
72202012-04-24 Joseph Myers <joseph@codesourcery.com>
7221
940ab4b3
JM
7222 * sysdeps/unix/getdents.c: Remove file.
7223 * sysdeps/unix/sysv/getdents.c: Likewise.
7224 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7225
90e037bd
JM
7226 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7227 sysdeps/unix/mman/syscalls.list.
7228 (mmap): Likewise.
7229 (mprotect): Likewise.
7230 (msync): Likewise.
7231 (munmap): Likewise.
7232 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7233 * sysdeps/unix/mman/syscalls.list: Remove.
7234 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7235
3a533ca3
JM
7236 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7237 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7238 * configure: Regenerated.
7239 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7240 $(libgcc_s_suffix).
7241 * config.make.in (libgcc_s_suffix): Remove variable.
7242
1ad743de
JM
72432012-04-23 Joseph Myers <joseph@codesourcery.com>
7244
4ad451e2
JM
7245 * sysdeps/unix/sysv/gethostname.c: Move to ...
7246 * sysdeps/posix/gethostname.c: ... here.
7247
5e37ce39
JM
7248 * sysdeps/unix/execve.S: Remove file.
7249
1ad743de
JM
7250 * sysdeps/unix/_exit.S: Remove file.
7251
4e681b5b
AJ
72522012-04-23 Andreas Jaeger <aj@suse.de>
7253
7254 [BZ #13739]
7255 * manual/Makefile: Remove make dist support, there's no
7256 need for a stand-alone documentation tar ball.
7257 (TEXI2DVI): Define always, it's not in Makeconfig.
7258 (dist): Removed.
7259 (tar-it): Removed.
7260 (edition): Removed.
7261 (glibc-doc-$(edition).tar): Removed
7262 (%.Z): Removed.
7263 (%.gz): Removed.
7264 (%.uu): Removed.
7265 (ETAGS): Remove, it's in Makeconfig.
7266 (move-if-change): Remove, it's in Makeconfig.
7267
c0baea34
PE
72682013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7269
7270 [BZ #13970]
7271 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7272 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7273 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7274 (strtod_l, strtof_l, strtold_l): Remove __wur.
7275 It is not necessarily an error to ignore strtol's return value.
7276 One can reliably look at the stored endptr to decide whether
7277 the number had valid syntax.
7278
7c0616fa
AJ
72792012-04-21 Andreas Jaeger <aj@suse.de>
7280
803cb6b7 7281 [BZ #13739]
7c0616fa
AJ
7282 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7283
b0fe253f
JM
72842012-04-21 Joseph Myers <joseph@codesourcery.com>
7285
7286 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7287 * sysdeps/unix/sysv/Versions: Remove file.
7288
8280f22d
MT
72892012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7290
7291 [BZ #13927]
7292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7293
75ce411f 72942012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7295
7296 [BZ #7064]
7297 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7298 version from __vm86.
7299
097d59fa
JM
73002012-04-20 Joseph Myers <joseph@codesourcery.com>
7301
a90f3bcb
JM
7302 * sysdeps/unix/common/lxstat.c: Remove file.
7303 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7304
edc7ea78
JM
7305 * sysdeps/unix/sysv/Makefile: Remove file.
7306
cb78c221
JM
7307 * sysdeps/unix/sysv/direct.h: Remove file.
7308
efa6a45f
JM
7309 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7310 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7311 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7312 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7313 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7314 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7315 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7316
9c9f2d0c
JM
7317 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7318
4541c83b
JM
7319 * sysdeps/unix/xmknod.c: Remove file.
7320 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7321
f5d153a0
JM
7322 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7323
aa746595
JM
7324 * sysdeps/unix/sysv/i386/time.S: Remove file.
7325
cce5905e
JM
7326 * sysdeps/unix/fxstat.c: Remove file.
7327 * sysdeps/unix/xstat.c: Likewise.
7328 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7329
37fa3841
JM
7330 * sysdeps/unix/sysv/sigaction.c: Remove file.
7331
ff1962a3
JM
7332 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7333 (sysdep_headers): Remove variable.
7334 [termio.h not in sysdep_headers] (generated): Likewise.
7335 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7336 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7337 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7338 * sysdeps/unix/sysv/tcflow.c: Likewise.
7339 * sysdeps/unix/sysv/tcflush.c: Likewise.
7340 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7341 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7342 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7343 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7344 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7345
e7740d31
JM
7346 * sysdeps/unix/siglist.c: Remove file.
7347
ee06f18b
JM
7348 * sysdeps/unix/getppid.S: Remove file.
7349
097d59fa
JM
7350 * sysdeps/unix/mkdir.c: Remove file.
7351 * sysdeps/unix/rmdir.c: Likewise.
7352
ff3d51ec
AS
73532012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7354
7355 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7356 ERR_MAX value.
7357 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7358 errlist-compat value.
7359
50f81fd7
DM
73602012-04-18 David S. Miller <davem@davemloft.net>
7361
7362 * sysdeps/generic/memcopy.h (reg_char): Delete.
7363 * debug/strcat_chk.c: Use char, not reg_char.
7364 * debug/strcpy_chk.c: Likewise.
7365 * debug/strncat_chk.c: Likewise.
7366 * debug/strncpy_chk.c: Likewise.
7367 * string/memchr.c: Likewise.
7368 * string/memrchr.c: Likewise.
7369 * string/rawmemchr.c: Likewise.
7370 * string/strcat.c: Likewise.
7371 * string/strchr.c: Likewise.
7372 * string/strchrnul.c: Likewise.
7373 * string/strcmp.c: Likewise.
7374 * string/strcpy.c: Likewise.
7375 * string/strncat.c: Likewise.
7376 * string/strncmp.c: Likewise.
7377 * string/strncpy.c: Likewise.
7378
8ff41c46
WS
73792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7380
7381 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7382 __builtin_memcopy is called when src and dest ranges are known to not
7383 overlap.
7384
6b652f46
WS
73852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7386
7387 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7388 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7389 fwd_align_merge macro call.
7390 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7391 bwd_align_merge macro call.
7392 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7393
b282631e
WS
73942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7395
7396 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7397 bwd_align_merge macros.
7398 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7399 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7400 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7401
95aa737c
DM
74022012-04-18 David S. Miller <davem@davemloft.net>
7403
7404 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7405
7a99a614
AJ
74062012-04-18 Andreas Jaeger <aj@suse.de>
7407
7408 [BZ# 6794]
7409 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7410 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7411 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7412
7413 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7414 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7415 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7416
7417 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7418 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7419 Adjust for changed ldbl-128 files.
7420
7421 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7422 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7423 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7424
e5270c23
DM
74252012-04-17 David S. Miller <davem@davemloft.net>
7426
7427 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7428
fb5e92c9
AS
74292012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7430
7431 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7432 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7433 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7434 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7435 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7436 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7437
76da7265
AZ
74382012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7439
7440 [BZ #6794]
7441 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7442 * math/libm-test.inc: Add ilogb errno and exception tests.
7443 * math/w_ilogb.c: New file: ilogb wrapper.
7444 * math/w_ilogbf.c: New file: ilogbf wrapper.
7445 * math/w_ilogbl.c: New file: ilogbl wrapper.
7446 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7447 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7448 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7449 exception being thrown with 0.0 as argument.
7450 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7451 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7452 exception being thrown with 0.0 as argument.
7453 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7454 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7455 exception being thrown with 0.0 as argument.
7456 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7457 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7458 exception being thrown with 0.0 as argument.
7459 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7460 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7461 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7462 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7463 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7464 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7465 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7466 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7467 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7468
0396e69d
PB
74692012-04-17 Petr Baudis <pasky@ucw.cz>
7470
7471 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7472 with altivec.
7473
750b5926
MP
74742012-04-16 Marek Polacek <polacek@redhat.com>
7475
7476 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7477
751728a1
MP
74782012-04-16 Marek Polacek <polacek@redhat.com>
7479
7480 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7481 operands of fdivp instruction.
7482
34a27407
L
74832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7484
7485 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7486 * elf/tst-auditmod3b.c: Likewise.
7487 * elf/tst-auditmod4b.c: Likewise.
7488 * elf/tst-auditmod5b.c: Likewise.
7489 * elf/tst-auditmod6b.c: Likewise.
7490 * elf/tst-auditmod6c.c: Likewise.
7491 * elf/tst-auditmod7b.c: Likewise.
7492 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7493 * sysdeps/x86_64/preconfigure.in: Likewise.
7494 * sysdeps/x86_64/preconfigure: Regenerated.
7495
7e73e17d
L
74962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7497
7498 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7499 __ILP32__.
7500
c7a6ab72
AB
75012012-04-13 Antoine Balestrat <merkil33@gmail.com>
7502
7503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7504 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7505
a9e8e0e0
CL
75062012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7507
7508 [BZ #13973]
7509 * locale/iso-639.def: Fix gl language name. Spotted by
7510 Yaron Shahrabani.
7511
ec98af7d
RM
75122012-04-12 Roland McGrath <roland@hack.frob.com>
7513
7514 [BZ #2074]
7515 * libio/libio.h (__io_write_fn): Update comment.
7516
247c3ede
PB
75172012-04-12 Petr Baudis <pasky@ucw.cz>
7518
7519 [BZ #2074]
7520 * stdio.texi (Hook Functions): The user provided writer function
7521 is not allowed to return -1.
7522
55939d6d
DM
75232012-04-11 David S. Miller <davem@davemloft.net>
7524
7525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7526
90020f5a
MF
75272012-04-11 Mike Frysinger <vapier@gentoo.org>
7528
7529 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7530 Add a leading slash to rtkaio.
7531
288f9098
JM
75322012-04-11 Jim Meyering <meyering@redhat.com>
7533
90020f5a
MF
7534 [BZ #11959]
7535 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7536 It is not necessarily an error to ignore fwrite's return
7537 value. One can reliably use ferror to test for errors after
7538 the fact.
288f9098 7539
4be2b570
L
75402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7541
7542 * bits/types.h (__snseconds_t): New type.
7543 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7544
7545 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7547 (__SNSECONDS_T_TYPE): Likewise.
7548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7549 (__SNSECONDS_T_TYPE): Likewise.
7550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7551 (__SNSECONDS_T_TYPE): Likewise.
7552
288f9098 75532012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7554
7555 [BZ #2636]
7556 * manual/time.texi (Processor Time): Return type of times is
7557 elapsed real time since an arbitrary point in the past.
7558 (CPU Time): Move CLK_TCK from here...
7559 (Processor Time): ...to here. Correct description.
7560 * manual/conf.texi (Constants for Sysconf): Correct description of
7561 _SC_CLK_TCK.
7562
d7dd4413
DM
75632012-04-10 David S. Miller <davem@davemloft.net>
7564
7565 [BZ #13967]
7566 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7567 where the is a gap between DT_REL(A) and DT_JMPREL.
7568
b46068fc
L
75692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7570
7571 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7572 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7573 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7574
73d65cc3
SP
75752012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7576
7577 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7578 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7579 (dl_main): Handle --inhibit-cache.
7580 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7581 _dl_inhibit_cache.
7582 * elf/dl-load.c (_dl_map_object): Use it.
7583 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7584
bcc8d661
JM
75852012-04-09 Joseph Myers <joseph@codesourcery.com>
7586
8f9a2fae
JM
7587 [BZ #13872]
7588 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7589 (__ieee754_powl): Saturate large exponents rather than testing for
7590 overflow of y*log2(x).
7591 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7592 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7593 exceptions.
7594
bcc8d661
JM
7595 [BZ #11521]
7596 * math/s_ctan.c: Include <float.h>.
7597 (__ctan): Avoid internal overflow or cancellation in calculating
7598 denominator.
7599 * math/s_ctanf.c: Likewise.
7600 * math/s_ctanl.c: Likewise.
7601 * math/s_ctanh.c: Likewise.
7602 * math/s_ctanhf.c: Likewise.
7603 * math/s_ctanhl.c: Likewise.
7604 * math/libm-test.inc (ctan_test): Add more tests.
7605 (ctanh_test): Likewise.
7606 * sysdeps/i386/fpu/libm-test-ulps: Update.
7607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7608
823fbbb4
AJ
76092012-04-09 Andreas Jaeger <aj@suse.de>
7610
03879793
AJ
7611 [BZ #6894]
7612 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7613 is an optional BSD extension.
7614
823fbbb4
AJ
7615 [BZ #10254]
7616 * manual/stdio.texi (Opening Streams): Document additional fopen
7617 parameters.
7618
8de131cb
RM
76192012-04-09 Roland McGrath <roland@hack.frob.com>
7620
7621 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7622 %eax without telling the compiler.
7623
c0ed9d7d
CD
76242012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7625
7626 [BZ # 13963]
7627 * manual/install.texi: Use sourceware.org.
7628
c483f6b4
JM
76292012-04-09 Joseph Myers <joseph@codesourcery.com>
7630
d7dd9453
JM
7631 [BZ #13873]
7632 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7633 (__ieee754_pow): Generate overflow and underflow using huge*huge
7634 and tiny*tiny rather than just returning constant infinity or zero
7635 for large exponents.
7636 * math/libm-test.inc (pow_test): Require overflow exceptions for
7637 applicable cases of large exponents.
7638
c483f6b4
JM
7639 [BZ #706]
7640 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7641 (__ieee754_pow): Use iterative multiplication algorithm only for
7642 integer exponents with absolute value below 1024. Check for odd
7643 integer exponents when using algorithm for real exponents.
7644 * math/libm-test.inc (pow_test): Add more tests.
7645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7646
d2de7579
JM
76472012-04-08 Joseph Myers <joseph@codesourcery.com>
7648
7649 [BZ #13705]
7650 * math/libm-test.inc (exp_test): Do not allow overflow exception
7651 on underflow test.
7652
f77f1232
AJ
76532012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7654
7655 [BZ #13705]
7656 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7657 instead of __kernel_standard_f.
7658
3884932b
MF
76592012-04-08 Mike Frysinger <vapier@gentoo.org>
7660
7661 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7662 * sysdeps/x86_64/memset_chk.S: Likewise.
7663
54472e9c
AJ
76642012-04-08 Andreas Jaeger <aj@suse.de>
7665
6ab0fbfc
AJ
7666 [BZ #10153]
7667 * manual/startup.texi (Environment Access): Describe return value
7668 for putenv and setenv.
7669
61efba8c
AJ
7670 [BZ #6895]
7671 * manual/filesys.texi (Directory Entries): Add description for
7672 DT_LNK.
7673
95c3f29a
AJ
7674 [BZ #6890]
7675 * manual/filesys.texi (Directory Entries): Clarify that it's file
7676 system not operating system in the description of DT_UNKNOWN.
7677
54472e9c
AJ
7678 [BZ #6578]
7679 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7680
624254b1
SC
76812012-04-08 Stephen Compall <s11@member.fsf.org>
7682
7683 [BZ #6649]
7684 * manual/llio.texi (Opening and Closing Files): Add cross
7685 reference to explain mode argument.
7686
1e4920e0
MF
76872012-04-07 Mike Frysinger <vapier@gentoo.org>
7688
7689 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7690 * sysdeps/x86_64/memset_chk.S: Likewise.
7691
5ed848f3
DM
76922012-04-07 David S. Miller <davem@davemloft.net>
7693
7694 * elf/elf.h (R_SPARC_WDISP10): Define.
7695 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7696 R_SPARC_SIZE32.
7697 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7698 R_SPARC_SIZE64 and R_SPARC_H34.
7699
96154cd8
CD
77002012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7701
7702 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7703 conditions and remove no longer applicable assertion.
7704
9904dc47
L
77052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7706
7707 * bits/byteswap.h: Include <features.h>.
7708 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7709 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7710
f8887d0a
L
77112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7712
7713 * bits/byteswap.h (__bswap_16): Removed.
7714 Include <bits/byteswap-16.h> to get __bswap_16.
7715 * sysdeps/i386/bits/byteswap.h: Likewise.
7716 * sysdeps/s390/bits/byteswap.h: Likewise.
7717 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7718 * bits/byteswap-16.h: New file.
7719 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7720 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7721 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7722 * string/Makefile (headers): Add bits/byteswap-16.h.
7723
62470f60
PP
77242012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7725
7726 [BZ #13895]
7727 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7728 extra indirection.
7729 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7730 * nss/tst-nss-static.c: New.
7731
4dad7bab
RM
77322012-04-06 Robert Millan <rmh@gnu.org>
7733
7734 [BZ #6486]
7735 * manual/llio.texi (File Position Primitive): lseek
7736 refers to WHENCE when it really means OFFSET.
7737
e9142a17
AJ
77382012-04-06 Andreas Jaeger <aj@suse.de>
7739
2c040eff
AJ
7740 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7741 strncmp declarations.
7742
e9142a17
AJ
7743 * abilist/libc.abilist: Add __poll and __ppoll.
7744
ff9f1c5f
DM
77452012-04-05 David S. Miller <davem@davemloft.net>
7746
dcd2ae90
DM
7747 * scripts/check-local-headers.sh: Accept a host triplet in the
7748 path matched by the exclude regexp.
7749
993eb054
DM
7750 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7751 definition.
7752 * sysdeps/powerpc/powerpc32/dl-machine.h
7753 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7754 * sysdeps/s390/s390-32/dl-machine.h
7755 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7756 * sysdeps/sparc/sparc32/dl-machine.h
7757 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7758 * sysdeps/sparc/sparc64/dl-machine.h
7759 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7760
ff9f1c5f
DM
7761 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7762 lazy binding.
48e2e132 7763 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7764 undefined symbol errors.
7765
48e2e132 7766 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7767 DT_NEEDED entries.
7768
e80d6f94
MM
77692012-04-05 Michael Matz <matz@suse.de>
7770
7771 [BZ #13592]
7772 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7773
349fa79f
AJ
77742012-04-05 Andreas Jaeger <aj@suse.de>
7775
7776 [BZ #13908]
7777 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7778 comment.
7779
f402708f
KK
77802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7781
7782 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7783 which ROUND is no valid rounding mode.
7784
2ecccfc9
KK
77852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7786
7787 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7788 read again.
7789 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7790
8a53f50f
KK
77912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7792
7793 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7794 an exception using FPU order intentionally.
7795
77962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7797
7798 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7799 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7800 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7801 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7802
d653abb7
SJ
78032012-04-05 Simon Josefsson <simon@josefsson.org>
7804
7805 [BZ #12340]
7806 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7807 EINVAL when BUFLEN is too smal.
7808
c3b1bf7d
TS
78092012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7810
7811 [BZ #13553]
7812 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7813 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7814
b1aa60f3
AJ
78152012-04-03 Andreas Jaeger <aj@suse.de>
7816
c3b1bf7d 7817 [BZ #13938]
67f60a26
AJ
7818 * manual/setjmp.texi (System V contexts): Fix sentence.
7819
b1aa60f3
AJ
7820 [BZ #13926]
7821 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7822 New macro for this case.
7823 [!__GNUC__] (__bswap_64): New inline function for this case.
7824 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7825 * bits/byteswap.h: Likewise.
7826 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7827 ull, guard with __GLIBC_HAVE_LONG_LONG.
7828
7829 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7830 __GLIBC_HAVE_LONG_LONG.
7831
7832 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7833 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7834
39c59c35
TMQMF
78352012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7836
7837 [BZ #13691]
7838 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7839 inptr and inend, rather than using last_ch.
7840
135ffda8
DM
78412012-04-02 David S. Miller <davem@davemloft.net>
7842
7843 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7844 * stdio-common/printf-parse.h (read_int): Change return type to
7845 'int', return -1 on INT_MAX overflow.
7846 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7847 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7848 overflows INT_MAX. Check for overflow of in-format-string precision
7849 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7850 SIZE_MAX not INT_MAX for integer overflow test.
7851 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7852 skip the construct in the format string but do not record anything.
7853 * stdio-common/bug22.c: Adjust to test both width/prevision
7854 INT_MAX overflow as well as total length INT_MAX overflow. Check
7855 explicitly for proper errno values.
7856
228c019e
TS
78572012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7858
302cadd3
TS
7859 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7860 CHAR_MAX.
7861 * string/test-strcmp.c [! WIDE]: Likewise.
7862 * time/tst-mktime2.c: Likewise for INT_MAX.
7863 * string/test-string.h: #include <sys/param.h> for MIN.
7864
228c019e
TS
7865 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7866 * sysdeps/i386/init-first.c (init): Likewise.
7867 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7868 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7869 * sysdeps/sh/init-first.c (init): Likewise.
7870
cfa633f5
UD
78712012-04-01 Ulrich Drepper <drepper@gmail.com>
7872
7873 * po/ru.po: Update from translation team.
d1635ef8 7874 * po/vi.po: Likewise.
cfa633f5 7875
6cd0a5ea
SP
78762012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7877
7878 * resolv/nss_dns/dns-host.c: Merge copyright years.
7879
4b43400f
LD
78802012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7881
7882 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7883 Optimize memcpy with prefetch if
7884 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7885 src, dst pointers have unequal 16 byte alignments.
7886
48c41d04
SP
78872012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7888
7889 [BZ #13928]
7890 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7891 from a CNAME entry and return the minimum ttl for the query.
7892 (gaih_getanswer_slice): Likewise.
7893
b8dc394d
JL
78942012-03-30 Jeff Law <law@redhat.com>
7895
7896 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7897 due to long keys.
7898 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7899 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7900
2f5a5ed0
JL
7901 * resolv/nss_dns/dns-host.c: Update copyright year.
7902
1d39e359
UD
79032012-03-30 Ulrich Drepper <drepper@gmail.com>
7904
c030f70c 7905 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7906 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7907
1d39e359
UD
7908 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7909 comments for sendmmsg.
7910
79112012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7912
7913 [BZ #13691]
7914 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7915 with only 1 character between 0x0041 and 0x01b0.
7916 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7917 * wcsmbs/tst-mbsnrtowcs.c: New file.
7918
20fde227
DM
79192012-03-29 David S. Miller <davem@davemloft.net>
7920
7921 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7922 small copies by hand.
7923
984a4237
JL
79242012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7925
7926 [BZ #13761]
7927 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7928 _nss_compat_initgroups_dyn): Fall back to malloc/free
7929 for large group memberships.
7930
18c9d62b
DM
79312012-03-28 David S. Miller <davem@davemloft.net>
7932
88d85d4f
DM
7933 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7934 that branches into memcpy.
7935 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7936 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7937 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7938 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7940 bits.
7941 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7942 implementation too.
7943 * sysdeps/sparc/mempcpy.S: New file.
7944
e5aa83e1
DM
7945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7946 the IFUNC routine in the libc case.
7947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7948
88570753
DM
7949 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7950 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7951 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7952 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7953 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7954 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7955 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7956 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7957
249d7567
DM
7958 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7959 loop to 256 bytes instead of 64 bytes and fix test signedness.
7960
18c9d62b
DM
7961 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7962 * sysdeps/sparc/sparc32/Makefile: rather than here...
7963 * sysdeps/sparc/sparc64/Makefile: and here.
7964
05f3d1f6
UD
79652012-03-28 Ulrich Drepper <drepper@gmail.com>
7966
7967 * malloc/mallocbug.c: Avoid warnings about unused variables.
7968
86ae07a8
JL
79692012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7970
7971 [BZ #13760]
7972 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7973 in the right place. Discard and retry query if response is
7974 larger than input buffer size.
7975
41bf21a1
JM
79762012-03-28 Joseph Myers <joseph@codesourcery.com>
7977
d6270972
JM
7978 [BZ #369]
7979 [BZ #2678]
7980 [BZ #3866]
7981 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7982 x for large integer exponent.
7983 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7984 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7985 sign of result as needed afterwards.
7986 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7987 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7988 result for underflowing pow the same as for overflow.
7989 (__kernel_standard_l): Handle powl overflow and underflow here
7990 rather than calling __kernel_standard.
7991 * math/libm-test.inc (pow_test): Add more tests.
7992
414fca03 7993 [BZ #3868]
41bf21a1
JM
7994 [BZ #13879]
7995 [BZ #13910]
7996 [BZ #13911]
7997 [BZ #13912]
7998 [BZ #13913]
7999 [BZ #13915]
8000 [BZ #13916]
8001 [BZ #13917]
8002 [BZ #13918]
8003 [BZ #13919]
8004 [BZ #13920]
8005 [BZ #13921]
8006 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8007 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8008 (__kernel_standard_l): New function.
8009 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8010 __kernel_standard.
8011 * math/w_acosl.c (__acosl): Likewise.
8012 * math/w_asinl.c (__asinl): Likewise.
8013 * math/w_atan2l.c (__atan2l): Likewise.
8014 * math/w_atanhl.c (__atanhl): Likewise.
8015 * math/w_coshl.c (__coshl): Likewise.
8016 * math/w_exp10l.c (__exp10l): Likewise.
8017 * math/w_exp2l.c (__exp2l): Likewise.
8018 * math/w_fmodl.c (__fmodl): Likewise.
8019 * math/w_hypotl.c (__hypotl): Likewise.
8020 * math/w_j0l.c (__j0l, __y0l): Likewise.
8021 * math/w_j1l.c (__j1l, __y1l): Likewise.
8022 * math/w_jnl.c (__jnl, __ynl): Likewise.
8023 * math/w_lgammal.c (__lgammal): Likewise.
8024 * math/w_log10l.c (__log10l): Likewise.
8025 * math/w_log2l.c (__log2l): Likewise.
8026 * math/w_logl.c (__logl): Likewise.
8027 * math/w_powl.c (__powl): Likewise.
8028 * math/w_remainderl.c (__remainderl): Likewise.
8029 * math/w_scalbl.c (sysv_scalbl): Likewise.
8030 * math/w_sinhl.c (__sinhl): Likewise.
8031 * math/w_sqrtl.c (__sqrtl): Likewise.
8032 * math/w_tgammal.c (__tgammal): Likewise.
8033 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8034 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8035 * math/libm-test.inc (acos_test): Add more tests.
8036 (acosh_test): Likewise.
8037 (asin_test): Likewise.
8038 (atanh_test): Likewise.
8039 (exp_test): Likewise.
8040 (exp10_test): Likewise.
8041 (exp2_test): Likewise.
8042 (expm1_test): Likewise.
8043 (lgamma_test): Likewise.
8044 (log_test): Likewise.
8045 (log10_test): Likewise.
8046 (log1p_test): Likewise.
8047 (log2_test): Likewise.
8048 (pow_test): Do not allow some spurious overflow exceptions.
8049 (sqrt_test): Add more tests.
8050 (tgamma_test): Likewise.
8051 (y0_test): Likewise.
8052 (y1_test): Likewise.
8053 (yn_test): Likewise.
8054
dd62fda6
AB
80552012-03-27 Anton Blanchard <anton@samba.org>
8056
8057 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8058 MAP_HUGETLB.
8059 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8060 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8062
1e3cdfda
AJ
80632012-03-27 David S. Miller <davem@davemloft.net>
8064
b855ab85
DM
8065 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8066
1e3cdfda
AJ
8067 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8068 have-as-vis3 check.
8069
80702012-03-27 Andreas Jaeger <aj@suse.de>
8071
8072 * sysdeps/x86_64/elf/configure.in: Moved to ...
8073 * sysdeps/x86_64/configure.in: ... here.
8074 * sysdeps/x86_64/elf/start.S: Moved to ...
8075 * sysdeps/x86_64/start.S: ... here.
8076 * sysdeps/x86_64/elf/configure: Delete.
8077
8078 * sysdeps/x86_64/configure.in: Merge contents from
8079 sysdeps/i386/configure.in (without i686 check).
8080
8081 * sysdeps/i386/elf/Versions: Merge into ...
8082 * sysdeps/i386/Versions: ... this.
8083 * sysdeps/i386/elf/Versions: Delete file.
8084 * sysdeps/i386/elf/start.S: Moved to ...
8085 * sysdeps/i386/start.S: ...here.
8086 * sysdeps/i386/elf/configure.in: Merge into...
8087 * sysdeps/i386/configure.in: ...here.
8088 * sysdeps/i386/elf/configure.in: Delete file.
8089 * sysdeps/i386/elf/configure: Delete file.
8090
8091 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8092 * debug/backtracesyms.c: ... here.
8093 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8094 * debug/backtracesymsfd.c: ... here.
8095 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8096 * sysdeps/generic/ifunc-sel.h: ... here.
8097
8098 * sysdeps/unix/i386/start.c: Delete file.
8099 * sysdeps/unix/sparc/start.c: Delete file.
8100 * sysdeps/unix/start.c: Delete file.
8101
8102 * sysdeps/sh/elf/configure.in: Moved to ...
8103 * sysdeps/sh/configure.in: ... here.
8104 * sysdeps/sh/elf/start.S: Moved to ...
8105 * sysdeps/sh/start.S: ... here.
8106 * sysdeps/sh/elf/configure: Delete file.
8107
8108 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8109 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8110 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8111 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8112 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8113 * sysdeps/powerpc/powerpc64/start.S: here.
8114 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8115 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8116 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8117 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8118 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8119
8120 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8121 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8122 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8123 * sysdeps/powerpc/powerpc32/start.S: ... here.
8124 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8125 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8126 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8127
8128 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8129 * sysdeps/powerpc/ifunc-sel.h: ... here.
8130 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8131 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8132
8133 * sysdeps/sparc/elf/configure.in: Moved to ...
8134 * sysdeps/sparc/configure.in: ... here.
8135 * sysdeps/sparc/elf/configure: Delete file.
8136 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8137 * sysdeps/sparc/sparc32/start.S: ... here.
8138 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8139 * sysdeps/sparc/sparc64/start.S: ... here.
8140 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8141 * sysdeps/sparc/sparc32/Makefile: ... this.
8142 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8143 * sysdeps/sparc/sparc64/Makefile: ... this.
8144
8145 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8146 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8147 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8148 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8149 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8150 * sysdeps/s390/s390-32/setjmp.S: ... here.
8151 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8152 * sysdeps/s390/s390-32/configure.in: ... here.
8153 * sysdeps/s390/s390-32/elf/configure: Delete file.
8154 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8155 * sysdeps/s390/s390-32/start.S: ... here.
8156
8157 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8158 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8159 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8160 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8161 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8162 * sysdeps/s390/s390-64/setjmp.S: ... here.
8163 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8164 * sysdeps/s390/s390-64/configure.in: ... here
8165 * sysdeps/s390/s390-64/elf/configure: Delete file.
8166 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8167 * sysdeps/s390/s390-64/start.S: ... here.
8168 * sysdeps/s390/s390-64/elf/configure: Delete.
8169
8170 * configure.in: Remove support for elf directories in sysdeps.
8171
8172 * configure: Regenerated.
8173 * sysdeps/i386/configure: Regenerated.
8174 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8175 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8176 * sysdeps/s390/s390-32/configure: Regenerated.
8177 * sysdeps/s390/s390-64/configure: Regenerated.
8178 * sysdeps/sh/configure: Regenerated.
8179 * sysdeps/sparc/configure: Regenerated.
8180 * sysdeps/x86_64/configure: Regenerated.
8181
a3f61311
AS
81822012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8183
c876e002
AS
8184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8185
a3f61311
AS
8186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8187 denormal result into account.
8188
ac4c54f0
RM
81892012-03-25 Roland McGrath <roland@hack.frob.com>
8190
8191 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8192 Reported by Allan McRae <allan@archlinux.org>.
8193
6a9b9c02
JL
81942012-03-23 Jeff Law <law@redhat.com>
8195
8196 * nss/getnssent.c (__nss_getent): Fix typo.
8197
4c42a0c1
DM
81982012-03-23 David S. Miller <davem@davemloft.net>
8199
8200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8201
1532c7ac
L
82022012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8203
8204 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8205 to pad to uint64_t for each field.
8206 (dl_tls_index): Replace unsigned long with uint64_t.
8207
3ff42526
PP
82082012-03-23 Daniel Jacobowitz <dmj@google.com>
8209 Paul Pluzhnikov <ppluzhnikov@google.com>
8210
8211 [BZ #6528]
8212 * grp/Makefile (otherlibs): Don't set it.
8213 * inet/Makefile (otherlibs): Likewise.
8214 * login/Makefile (otherlibs): Likewise.
8215 * nscd/Makefile (otherlibs): Likewise.
8216 * posix/Makefile (otherlibs): Likewise.
8217 * pwd/Makefile (otherlibs): Likewise.
8218 * rt/Makefile (otherlibs): Likewise.
8219 * sunrpc/Makefile (otherlibs): Likewise.
8220 * nss/Makefile (otherlibs): Likewise.
8221 Add libnss_files to routines and static-only-routines.
8222 ($(objpfx)getent): Remove rule.
8223 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8224 static-only-routines.
8225
7c69cd14
JM
82262012-03-22 Joseph Myers <joseph@codesourcery.com>
8227
8228 [BZ #13892]
8229 * math/s_cexp.c: Include <float.h>.
8230 (__cexp): Handle exp result overflowing not necessarily
8231 overflowing both real and imaginary parts of result.
8232 * math/s_cexpf.c: Likewise.
8233 * math/s_cexpl.c: Likewise.
8234 * math/libm-test.inc (cexp_test): Add more tests.
8235 * sysdeps/i386/fpu/libm-test-ulps: Update.
8236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8237
81b035fe
L
82382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8239
8240 * include/link.h (ELFW): New macro.
8241 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8242 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8243
1da7940c
L
82442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8245
8246 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8247 with uint64_t.
8248
b749dbb9
L
82492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8250
8251 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8252 declaration.
8253 (struct La_x32_retval): Likewise.
8254
2ff87f3f
L
82552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8256
8257 * sysdeps/x86_64/preconfigure.in: New file.
8258 * sysdeps/x86_64/preconfigure: New generated file.
8259
c0df8e69
JM
82602012-03-22 Joseph Myers <joseph@codesourcery.com>
8261
48e44791
JM
8262 [BZ #13824]
8263 * math/e_exp2l.c: Include <float.h>.
8264 (__ieee754_exp2l): Handle overflow and underflow cases
8265 separately. Only pass fractional part of argument to
8266 __ieee754_expl.
8267 * math/libm-test.inc (exp2_test): Add more tests.
8268
c0df8e69
JM
8269 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8270 negating x to take absolute value.
8271 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8272 Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8274 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8275 Likewise.
8276 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8277 computing low part if x was negated.
8278 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8279
c8e43ba7
L
82802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8281
8282 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8283 la_x32_gnu_pltexit.
8284 (pltexit): Cast int_retval to ptrdiff_t.
8285 * elf/tst-auditmod3b.c: Likewise.
8286 * elf/tst-auditmod4b.c: Likewise.
8287 * elf/tst-auditmod5b.c: Likewise.
8288 * elf/tst-auditmod6b.c: Likewise.
8289 * elf/tst-auditmod6c.c: Likewise.
8290 * elf/tst-auditmod7b.c: Likewise.
8291
8292 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8293 and x32_gnu_pltexit.
8294
8295 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8296 __ELF_NATIVE_CLASS.
8297 (La_x32_regs): New macro.
8298 (La_x32_retval): Likewise.
8299 (la_x32_gnu_pltenter): New function prototype.
8300 (la_x32_gnu_pltexit): Likewise.
8301
7998fa78
AS
83022012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8303
dcb33988
AS
8304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8305 exponent.
8306
233fc563
AS
8307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8308
7998fa78
AS
8309 * configure.in (libc_cv_cc_nofma): Check for option to disable
8310 generation of FMA instructions.
8311 * configure: Regenerate.
8312 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8313 * sysdeps/ieee754/dbl-64/Makefile: New file.
8314 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8315 Remove brandred-fma4.
8316 (CFLAGS-brandred-fma4.c): Remove.
8317 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8318 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8319 define.
8320 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8321 define.
8322
8e95c99a
L
83232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8324
8325 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8326 LLONG_MAX != LONG_MAX.
8327 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8328 (_fitoa_word): Likewise.
8329 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8330 LLONG_MAX != LONG_MAX.
8331 * stdio-common/_itowa.h: Include <_itoa.h>.
8332 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8333 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8334 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8335 only if not defined.
8336 (_ITOA_WORD_TYPE): Likewise.
8337 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8338 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8339
6f4db457
DM
83402012-03-21 David S. Miller <davem@davemloft.net>
8341
8342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8343
7785fe5a
L
83442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8345
8346 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8347 of x86_64 when setting libc_cv_slibdir, libdir and
8348 libc_cv_localedir.
8349 * sysdeps/unix/sysv/linux/configure: Regenerated.
8350
4535cd55
JM
83512012-03-21 Joseph Myers <joseph@codesourcery.com>
8352
8353 * manual/lang.texi (Old Varargs): Remove section.
8354 (How Variadic): Update menu.
8355 (va_start): Do not mention varargs.h.
8356
17228132
TS
83572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8358 Joseph Myers <joseph@codesourcery.com>
8359
8360 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8361 link test.
8362 * configure: Regenerated.
8363
8149f976
TS
83642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8365
05f3d1f6
UD
8366 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8367 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8368 conformtest.pl
8149f976 8369
1a4ac776
JM
83702012-03-21 Joseph Myers <joseph@codesourcery.com>
8371
be22ce65
JM
8372 * NOTES: Remove.
8373 * Makefile (files-for-dist): Remove NOTES.
8374 (NOTES): Remove rule.
8375 * README: Don't refer to NOTES.
8376 * manual/creature.texi: Don't include macros.texi.
8377 * manual/intro.texi (creature.texi): Remove comment referring to
8378 NOTES.
8379
40b601fb
JM
8380 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8381 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8382 * configure: Regenerated.
8383 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8384 LIBC_TRY_CC_OPTION.
8385 (libc_cv_as_i686): Likewise.
8386 (libc_cv_cc_avx): Likewise.
8387 (libc_cv_cc_sse2avx): Likewise.
8388 (libc_cv_cc_fma4): Likewise.
8389 (libc_cv_cc_novzeroupper): Likewise.
8390 * sysdeps/i386/configure: Regenerated.
8391
1a4ac776
JM
8392 [BZ #13883]
8393 * sysdeps/i386/fpu/s_cexp.S: Remove.
8394 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8395 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8396 * math/libm-test.inc (cexp_test): Add more tests.
8397 * sysdeps/i386/fpu/libm-test-ulps: Update.
8398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8399
a458e7fe
AM
84002012-03-21 Allan McRae <allan@archlinux.org>
8401
8402 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8403
0cb7efc5
JM
84042012-03-21 Joseph Myers <joseph@codesourcery.com>
8405
8406 [BZ #13871]
8407 * math/w_exp2.c: Do not include <float.h>.
8408 (o_threshold, u_threshold): Remove.
8409 (__exp2): Calculate result before checking finiteness and calling
8410 __kernel_standard.
8411 * math/w_exp2f.c: Likewise.
8412 * math/w_exp2l.c: Likewise.
8413 * math/libm-test.inc (exp2_test): Require overflow exception for
8414 1e6 input.
2460d3aa
JM
8415
8416 [BZ #3866]
8417 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8418 range of signed 64-bit integers before using fistpll. Remove
8419 checks for whether integers fit in mantissa bits.
8420 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8421 the range of signed 32-bit integers before using fistpl. Remove
8422 checks for whether integers fit in mantissa bits.
8423 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8424 (__ieee754_powl): Test for y outside the range of signed 64-bit
8425 integers before using fistpll. Reduce 64-bit values to 63-bit
8426 ones as needed.
8427 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8428 divide-by-zero is raised for zero to large negative powers.
8429 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8430 (__ieee754_powl): Test for y outside the range of signed 64-bit
8431 integers before using fistpll. Reduce 64-bit values to 63-bit
8432 ones as needed.
8433 * math/libm-test.inc (pow_test): Add more tests.
8434
eb96ffb0
L
84352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8436
8437 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8438 <stdio-common/_itoa.h>.
8439 * debug/segfault.c: Likewise.
8440 * elf/dl-cache.c: Likewise.
8441 * elf/dl-minimal.c: Likewise.
8442 * elf/dl-misc.c: Likewise.
8443 * elf/dl-sysdep.c: Likewise.
8444 * elf/dl-version.c: Likewise.
8445 * elf/rtld.c: Likewise.
8446 * hurd/hurdsock.c: Likewise.
8447 * hurd/lookup-retry.c: Likewise.
8448 * malloc/malloc.c: Likewise.
8449 * malloc/mtrace.c: Likewise.
8450 * nscd/nscd_getgr_r.c: Likewise.
8451 * nscd/nscd_getpw_r.c: Likewise.
8452 * nscd/nscd_getserv_r.c: Likewise.
8453 * posix/getopt_init.c: Likewise.
8454 * posix/wordexp.c: Likewise.
8455 * stdio-common/_itoa.c: Likewise.
8456 * stdio-common/printf_fphex.c: Likewise.
8457 * stdio-common/vfprintf.c: Likewise.
8458 * string/_strerror.c: Likewise.
8459 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8460 * sysdeps/i386/i686/hp-timing.h: Likewise.
8461 * sysdeps/mach/_strerror.c: Likewise.
8462 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8463 * sysdeps/mach/hurd/sethostid.c: Likewise.
8464 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8465 * sysdeps/mach/xpg-strerror.c: Likewise.
8466 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8468 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8469 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8470 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8471 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8472 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8473 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8474 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8475 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8476 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8477 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8478 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8479 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8480 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8481 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8482 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8483 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8484 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8485 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8486 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8487
8488 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8489
8490 * stdio-common/_itoa.h: Moved to ...
8491 * sysdeps/generic/_itoa.h: Here.
8492
8493 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8494
8495 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8496 instead of "_itoa.h" and "_itowa.h".
8497 * stdio-common/vfprintf.: Likewise.
8498
d1af992d
L
84992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8502 <bits/wordsize.h>.
8503 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8504 (__signbit): Likwise.
8505 (llrintf): Likwise.
8506 (llrint): Likwise.
8507
114883e0
L
85082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8511 __WORDSIZE != 64.
8512
c135cc1b
JM
85132012-03-20 Joseph Myers <joseph@codesourcery.com>
8514
8515 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8516 OVERFLOW_EXCEPTION_OK.
8517 * math/libm-test.inc ("Philosophy"): Update comment about
8518 exception testing.
8519 (OVERFLOW_EXCEPTION): Define.
8520 (OVERFLOW_EXCEPTION_OK): Likewise.
8521 (INVALID_EXCEPTION_OK): Renumber.
8522 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8523 (IGNORE_ZERO_INF_SIGN): Likewise.
8524 (test_exceptions): Handle FE_OVERFLOW.
8525 (exp10_test): Expect overflow exceptions.
8526 (exp2_test): Likewise.
8527 (expm1_test): Likewise.
8528 (nextafter_test): Likewise.
8529 (pow_test): Likewise.
8530 (scalbn_test): Likewise.
8531 (scalbln_test): Likewise.
8532
95443d88
L
85332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8534
8535 * sysdeps/x86_64/bits/atomic.h
8536 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8537 64bit integer.
8538 (atomic_exchange_acq): Likewise.
8539 (__arch_exchange_and_add_body): Likewise.
8540 (__arch_add_body): Likewise.
8541 (atomic_add_negative): Likewise.
8542 (atomic_add_zero): Likewise.
8543
490df6c4
L
85442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8545
c2722551 8546 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8547 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8548
5e52b189
L
85492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8550
8551 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8552 Check __x86_64__ instead of __WORDSIZE.
8553
a9879d4c
L
85542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8555
8556 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8557
5df98260
DM
85582012-03-19 David S. Miller <davem@davemloft.net>
8559
e1497744
DM
8560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8561
5df98260
DM
8562 * sysdeps/sparc/fpu/fenv_private.h: New file.
8563 * sysdeps/sparc/fpu/math_private.h: Use it.
8564 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8565 Remove.
8566 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8567 (libc_feholdexcept_setroundl): Remove.
8568 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8569 Remove.
8570 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8571 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8572
b4c35121
L
85732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8576 int64_t instead of long int.
8577 (INSERT_WORDS64): Likwise.
8578
56965fd7
L
85792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8582 _Unwind_GetCFA return to _Unwind_Ptr first.
8583
83d1aec8
JM
85842012-03-19 Joseph Myers <joseph@codesourcery.com>
8585
1897ad44
JM
8586 [BZ #13629]
8587 * math/s_clog.c: Include <float.h>.
8588 (__clog): Scale large or subnormal inputs.
8589 * math/s_clogf.c: Likewise.
8590 * math/s_clogl.c: Likewise.
8591 * math/s_clog10.c: Include <float.h>.
8592 (M_LOG10_2): Define.
8593 (__clog10): Scale large or subnormal inputs.
8594 * math/s_clog10f.c: Likewise.
8595 * math/s_clog10l.c: Likewise.
8596 * math/libm-test.inc (clog_test): Add more tests.
8597 (clog10_test): Likewise.
8598 * sysdeps/i386/fpu/libm-test-ulps: Update.
8599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8600
7726d6a9
JM
8601 [BZ #11451]
8602 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8603 x and y.
8604 * math/libm-test.inc (atan2_test): Add another test.
8605
83d1aec8
JM
8606 * Makerules (common-objdir-compile): Remove.
8607 * sysdeps/unix/Makefile (config-generated): Do not add
8608 $(unix-generated) to variable.
8609 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8610 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8611 Remove rule.
8612 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8613 Likewise.
8614 [generic bits/local_lim.h] (before-compile): Do not append to
8615 variable.
8616 [generic bits/local_lim.h] (common-generated): Likewise.
8617 [generic sys/param.h] (before-compile): Do not append to variable.
8618 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8619 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8620 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8621 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8622 include.
8623 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8624 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8625 [generic sys/param.h] ($(addprefix
8626 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8627 [generic sys/param.h] (common-generated): Do not append to
8628 variable.
8629 [generic sys/param.h] (sysdep_headers): Likewise.
8630 [generic bits/errno.h] (before-compile): Do not append to
8631 variable.
8632 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8633 rule.
8634 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8635 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8636 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8637 [generic bits/errno.h] (common-generated): Do not append to
8638 variable.
8639 [generic bits/ioctls.h] (before-compile): Do not append to
8640 variable.
8641 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8642 rule.
8643 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8644 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8645 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8646 rule.
8647 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8648 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8649 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8650 [generic bits/ioctls.h] (common-generated): Do not append to
8651 variable.
8652 [generic sys/syscall.h] (syscall.h): Remove variable.
8653 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8654 rule.
8655 [generic sys/syscall.h] (before-compile): Do not append to
8656 variable.
8657 [generic sys/syscall.h] (common-generated): Likewise.
8658 * sysdeps/unix/errnos-tmpl.c: Remove file.
8659 * sysdeps/unix/errnos.awk: Likewise.
8660 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8661 * sysdeps/unix/ioctls.awk: Likewise.
8662 * sysdeps/unix/mk-local_lim.c: Likewise.
8663 * sysdeps/unix/snarf-ioctls: Likewise.
8664
4851a949
RH
86652012-03-19 Richard Henderson <rth@twiddle.net>
8666
bd37f2ee
RH
8667 * sysdeps/i386/fpu/fenv_private.h: New file.
8668 * sysdeps/i386/fpu/math_private.h: Use it.
8669 (math_opt_barrier, math_force_eval): Remove.
8670 (libc_feholdexcept_setround_53bit): Remove.
8671 (libc_feupdateenv_53bit): Remove.
8672 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8673 (math_opt_barrier, math_force_eval): Remove.
8674 (libc_feholdexcept): Remove.
8675 (libc_feholdexcept_setround): Remove.
8676 (libc_fetestexcept, libc_fesetenv): Remove.
8677 (libc_feupdateenv_test): Remove.
8678 (libc_feupdateenv, libc_feholdsetround): Remove.
8679 (libc_feresetround): Remove.
8680
d0adc922
RH
8681 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8682 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8683
0fe0f1f8
RH
8684 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8685 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8686 (libc_feupdateenv_testl): New.
8687 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8688 (libc_feupdateenv_testf): New.
8689 (libc_feupdateenv): Use libc_feupdateenv_test.
8690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8691 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8692
eb92c487
RH
8693 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8694 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8695 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8696 (libc_feresetround_noex): New.
8697 (libc_feresetround_noexf): New.
8698 (libc_feresetround_noexl): New.
8699 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8700 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8701 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8702 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8703 SET_RESTORE_ROUND.
8704 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8705 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8706 (__cos): Likewise.
8707 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8708 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8709 SET_RESTORE_ROUND_NOEX.
8710 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8711 SET_RESTORE_ROUND_NOEXF.
8712 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8713 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8714 (libc_feholdsetroundf): New.
8715 (libc_feresetround, libc_feresetroundf): New.
8716
7d2e8012
RH
8717 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8718 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8719 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8720
b4dabbb4
RH
8721 * sysdeps/generic/math_private.h: Include <fenv.h>.
8722 (default_libc_feholdexcept): New.
8723 (default_libc_feholdexcept_setround): New.
8724 (default_libc_fesetenv, default_libc_feupdateenv): New.
8725 (libc_feholdexcept): Only define if undefined.
8726 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8727 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8728 (libc_feholdexcept_setroundl): Likewise.
8729 (libc_feholdexcept_setround_53bit): Likewise.
8730 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8731 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8732 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8733 (libc_feupdateenv_53bit): Likewise.
8734 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8735 (libc_feholdexcept): Convert from macro to inline function.
8736 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8737 (libc_fesetenv, libc_feupdateenv): Likewise.
8738
4851a949
RH
8739 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8740 not previously defined.
8741 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8742 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8743 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8744 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8745 * sysdeps/ieee754/flt-32/math_private.h: New file.
8746 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8747 math_private.h below SET_FLOAT_WORD.
8748 (__isnan, __isinf_ns, __finite): Remove.
8749 (__isnanf, __isinf_nsf, __finitef): Remove.
8750
e79d442e
AS
87512012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8752
8753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8754
90b80344
DM
87552012-03-17 David S. Miller <davem@davemloft.net>
8756
8757 [BZ #6471]
8758 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8759 for 2.16.
8760
edc21804
DM
87612012-03-16 David S. Miller <davem@davemloft.net>
8762
77e927af
DM
8763 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8764 warnings.
8765
374976dd
DM
8766 [BZ #6471]
8767 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8768 properly.
8769 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8770 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8771 sysdep_routines when subdir is sysvipc.
8772 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8773 __getshmlba helper.
8774
edc21804
DM
8775 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8776
473c3ef3
L
87772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8778
8779 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8780 [__LP64__].
8781
eb0f39b6
L
87822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8783
8784 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8785 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8786 (__lround): Renamed to ...
8787 (__llround): This. Replace long int with long long int.
8788 Define lround functions as aliases of llround functions.
8789 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8790
6b6cd74b
L
87912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8792
8793 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8794 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8795 adresses to uintptr_t. Replace "long int" and "unsigned long
8796 int" with "greg_t" on va_arg.
8797
f1a77b01
L
87982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8799
8800 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8801 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8802
8803 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8804 Move e_machine check before EI_CLASS check. Handle x32
8805 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8806 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8807 SKIP_EM_IA_64 and include
8808 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8809
8810 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8811 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8812 (add_system_dir): New macro.
8813
8814 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8815 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8816
11b90b9f
JM
88172012-03-16 Joseph Myers <joseph@codesourcery.com>
8818
c36e1d23
JM
8819 [BZ #2551]
8820 [BZ #2552]
8821 [BZ #2553]
8822 [BZ #2554]
8823 [BZ #2562]
8824 [BZ #2563]
8825 [BZ #2565]
8826 [BZ #2566]
8827 [BZ #2576]
8828 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8829 (y0): Likewise.
8830 * math/w_j0f.c (j0f): Likewise.
8831 (y0f): Likewise.
8832 * math/w_j0l.c (__j0l): Likewise.
8833 (__y0l): Likewise.
8834 * math/w_j1.c (j1): Likewise.
8835 (y1): Likewise.
8836 * math/w_j1f.c (j1f): Likewise.
8837 (y1f): Likewise.
8838 * math/w_j1l.c (__j1l): Likewise.
8839 (__y1l): Likewise.
8840 * math/w_jn.c (jn): Likewise.
8841 (yn): Likewise.
8842 * math/w_jnf.c (jnf): Likewise.
8843 (ynf): Likewise.
8844 * math/w_jnl.c (__jnl): Likewise.
8845 (__ynl): Likewise.
8846 * math/libm-test.inc (j0_test): Add more tests.
8847 (j1_test): Likewise.
8848 (jn_test): Likewise. Add trailing semicolon to existing test.
8849 (y0_test): Likewise.
8850 (y1_test): Likewise.
8851 * sysdeps/i386/fpu/libm-test-ulps: Update.
8852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8853
11b90b9f
JM
8854 [BZ #13851]
8855 [BZ #13854]
8856 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8857 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8858 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8859 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8860 (__tanl): Set errno for infinite argument.
8861 * sysdeps/i386/fpu/mptan.c: Remove.
8862 * sysdeps/i386/fpu/s_tan.S: Likewise.
8863 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8864 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8865 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8866 * math/libm-test.inc (tan_test): Add more tests and enable more
8867 tests for double and long double.
8868 * sysdeps/i386/fpu/libm-test-ulps: Update.
8869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8870
6a1bd2a1
JK
88712012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8872
8873 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8874 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8875
10a803e0
RM
88762012-03-16 Roland McGrath <roland@hack.frob.com>
8877
8878 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8879 * configure.in: Use it for both main tree and add-ons.
8880 * configure: Regenerated.
8881
f196c7f7
L
88822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8883
8884 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8885
8848d99d
JM
88862012-03-16 Joseph Myers <joseph@codesourcery.com>
8887
96cbe7f4
JM
8888 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8889 in comment.
8890
8848d99d
JM
8891 [BZ #13851]
8892 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8893 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8897 infinite argument.
8898 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8899 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8900 != 0 for prec == 2.
8901 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8902 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8903 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8904 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8905 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8906 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8907 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8908 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8909 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8910 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8911 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8912 * math/libm-test.inc (cos_test): Add more tests and enable more
8913 tests for long double.
8914 (sin_test): Likewise.
8915 (sincos_test): Likewise.
8916 * sysdeps/i386/fpu/libm-test-ulps: Update.
8917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8918
dd7f4703
DM
89192012-03-16 David S. Miller <davem@davemloft.net>
8920
8921 * sysdeps/sparc/fpu/math_private.h: New file.
8922
006f1daa
DM
89232012-03-15 David S. Miller <davem@davemloft.net>
8924
c0c83bc8
DM
8925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8926 file.
e6a62e18 8927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8929 file.
e6a62e18
DM
8930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8936 sysdep routines.
8937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8938
88cb87d9
DM
8939 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8940 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8941
006f1daa 8942 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8944 sparc-ifunc.h
006f1daa 8945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8947 Likewise.
8948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8949 Likewise.
006f1daa
DM
8950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8954 Likewise.
006f1daa
DM
8955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8960 Likewise.
8961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8962 Likewise.
006f1daa
DM
8963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8969 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8970 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8971 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8982 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8987
11e0098e
AS
89882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8989
8990 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8991 scaling.
8992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8993
e85b09d0
AJ
89942012-03-15 Andreas Jaeger <aj@suse.de>
8995
8996 [BZ #13852]
8997 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8998 ieee754/flt-32 implementation for sin, cos and sincos.
8999 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9000 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9001 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9002 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9003 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9004 ieee754/flt-32 implementation for tan.
9005
9006 * math/libm-test.inc (cos_test): Enable some large input tests for
9007 float as well
9008 (sin_test): Likewise.
9009 (sincos_test): Likewise.
9010 (tan_test): Add tests for large input.
9011
9012 * sysdeps/i386/fpu/libm-test-ulps: Update.
9013
81c64153
AJ
90142012-03-15 Andreas Jaeger <aj@suse.de>
9015
9016 [BZ #13658]
9017 * math/libm-test.inc (cos_test): Add more test cases.
9018 (sin_test): Likewise.
9019 (sincos_test): Likewise.
9020
7bbfa5c6
AJ
90212012-03-15 Andreas Jaeger <aj@suse.de>
9022
9023 [BZ #13837]
9024 * math/libm-test.inc (cos_test): Add a test case for large input
9025 value.
9026 (sin_test): Likewise.
9027 (sincos_test): Likewise.
9028
90292012-03-15 Andreas Jaeger <aj@suse.de>,
9030 Joseph Myers <joseph@codesourcery.com>
9031
9032 [BZ #13658]
0671f479 9033 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9034 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9035 * sysdeps/i386/fpu/branred.c: Likewise.
9036 * sysdeps/i386/fpu/dosincos.c: Likewise.
9037 * sysdeps/i386/fpu/mpa.c: Likewise.
9038 * sysdeps/i386/fpu/s_cos.S: Likewise.
9039 * sysdeps/i386/fpu/s_sin.S: Likewise.
9040 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9041 * sysdeps/i386/fpu/sincos32.c: Likewise.
9042
9043 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9044 Define.
9045 (libc_feupdateenv_53bit): Define.
9046 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9047 Define.
9048 (libc_feupdateenv_53bit): Define.
9049
9050 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9051 53 bit (without extend i386 double precision).
9052
9053 * math/libm-test.inc (sincos_test): Add tests for large input.
9054 (sin): Likewise.
9055 (cos): Likewise.
9056
9057 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9058
9cad04ea
AS
90592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9060
9061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9062
f7062b9a
DM
90632012-03-15 David S. Miller <davem@davemloft.net>
9064
9065 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9066 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9067 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9068 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9081 file.
f7062b9a 9082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9084 file.
f7062b9a 9085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9087 file.
f7062b9a 9088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9090 file.
f7062b9a
DM
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9092 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9093 fmin/fmax sysdep routines.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9095
7bd951ff
DM
90962012-03-14 David S. Miller <davem@davemloft.net>
9097
559398ab
DM
9098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9102 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9103 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9123 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9124 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9125 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9126 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9127 routines.
9128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9129 file.
559398ab 9130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9132 file.
559398ab 9133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9135 file.
559398ab 9136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9138 file.
559398ab 9139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9141 file.
559398ab 9142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9144 file.
9145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9146 file.
9147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9148 file.
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9150 file.
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9152 New file.
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9154 file.
9155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9156 file.
559398ab 9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9159 file.
559398ab 9160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9162 file.
559398ab 9163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9165 file.
559398ab 9166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9168 VIS3 routines.
559398ab
DM
9169
9170 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9171 New file.
9172
5a1c1e32
DM
9173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9174
eae47a36
DM
9175 * sysdeps/sparc/configure.in: New file.
9176 * sysdeps/sparc/configure: Generate.
9177 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9178 * configure: Regenerate.
9179 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9180 * config.make.in (have-as-vis3): New.
9181 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9182 available use -Av9d instead of -Av9a.
9183 * sysdeps/sparc/sparc64/Makefile: Likewise.
9184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9186 New file.
9187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9188 file.
9189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9190 New file.
9191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9192 file.
eae47a36
DM
9193 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9194 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9195 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9197 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9198
c0c83bc8
DM
9199 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9200 fzeros/fnegs to load 0x80000000 into a float register instead of
9201 using the stack.
7bd951ff
DM
9202 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9203
bd951ccb
JM
92042012-03-14 Joseph Myers <joseph@codesourcery.com>
9205
9206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9207 bits/syscall.h.
9208 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9209 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9210 ($(inst_includedir)/bits/syscall.h): Remove rule.
9211 ($(objpfx)bits/syscall.d): Include instead of
9212 $(objpfx)syscall-list.d.
9213 (generated): Change syscall-list.h and syscall-list.d to
9214 bits/syscall.h and bits/syscall.d.
9215
bb4e6db2
RM
92162012-03-14 Roland McGrath <roland@hack.frob.com>
9217
9218 [BZ #13846]
9219 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9220
aa4a2ae1
JM
92212012-03-14 Joseph Myers <joseph@codesourcery.com>
9222
e456826d
JM
9223 [BZ #13841]
9224 * math/s_csqrt.c: Include <float.h>.
9225 (__csqrt): Scale large or subnormal inputs.
9226 * math/s_csqrtf.c: Likewise.
9227 * math/s_csqrtl.c: Likewise.
9228 * math/libm-test.inc (csqrt_test): Add more tests.
9229 * sysdeps/i386/fpu/libm-test-ulps: Update.
9230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9231
aa4a2ae1
JM
9232 [BZ #13840]
9233 * math/libm-test.inc (hypot_test): Add more tests.
9234
7c10fd35
DM
92352012-03-13 David S. Miller <davem@davemloft.net>
9236
9237 [BZ #13840]
9238 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9239 double-precision for the calculation instead of scaling.
9240
f453b98b
JM
92412012-03-13 Joseph Myers <joseph@codesourcery.com>
9242
9243 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9244 manipulate bits before adding and subtracting TWO52[sx].
9245 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9246 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9247 Likewise.
9248 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9249
09a3453f
DM
92502012-03-13 David S. Miller <davem@davemloft.net>
9251
8e59da90
DM
9252 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9253 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9254 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9255 rtld-global-offsets.h
9256 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9257
2a8ab7f2
DM
9258 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9259 large parameters.
9260
10f62770
DM
9261 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9262
5f0bdb18
DM
9263 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9264 'err' in the ifdef scope in which it is actually used.
9265
09a3453f
DM
9266 * nss/nss_db/db-init.c: Include string.h
9267
b4b2eb5e
DM
92682012-03-12 David S. Miller <davem@davemloft.net>
9269
98bb2f1c
DM
9270 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9271 masking out of the most significant byte of random value used.
9272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9273 Fix coding style in previous change.
9274
b4b2eb5e
DM
9275 * sysdeps/unix/sysv/linux/kernel-features.h
9276 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9277 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9278 expression.
9279 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9280 later.
9281
6e226b09
DM
92822012-03-11 David S. Miller <davem@davemloft.net>
9283
a1bcbd40
DM
9284 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9285 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9286 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9287 for 'resultvar' otherwise things get truncated on 64-bit.
9288
cb9d6174
DM
9289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9290 Fix masking out of the most significant byte of random value used.
9291
6e226b09
DM
9292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9293
058c132d
AS
92942012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9295
9296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9297
2d2cd515
DM
92982012-03-09 David S. Miller <davem@davemloft.net>
9299
9300 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9301 variables with appropriate CPP guards.
9302 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9303 frame pointer, not the stack pointer. Correct layout comments. Fix test
9304 on resulting framesize and the management of the outregs buffer for pltexit.
9305 Preserve floating point return values across _dl_call_pltexit call.
9306 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9307 framesize and the management of the outregs buffer for pltexit.
9308 Preserve floating point return values across _dl_call_pltexit
9309 call.
9310 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9311 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9312 (print_exit): Fix format string for return register value.
9313
9a07f9d0
JM
93142012-03-10 Joseph Myers <joseph@codesourcery.com>
9315
9316 * sunrpc/Makefile (others): Add rpcgen.
9317 ($(objpfx)rpcgen): Remove special build rule and dependency on
9318 libc.
9319 * sunrpc/rpcgen.c: New file.
9320
547b5e30
PE
93212012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9322
c524201a
PE
9323 [BZ #13673]
9324 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9325 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9326 * sysdeps/i386/crti.S: Likewise.
9327 * sysdeps/i386/crtn.S: Likewise.
9328 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9329 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9330 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9331 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9332 * sysdeps/sh/crti.S: Likewise.
9333 * sysdeps/sh/crtn.S: Likewise.
9334 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9335
7b6235f2
PE
9336 [BZ #13673]
9337 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9338 with URL.
9339 * locale/programs/locfile-kw.gperf: Likewise.
9340 * locale/programs/charmap-kw.h: Regenerated.
9341 * locale/programs/locfile-kw.h: Likewise.
9342
547b5e30
PE
9343 [BZ #13673]
9344 * intl/plural.y: Replace FSF snail mail address with URL.
9345 * intl/plural.c: Regenerated.
9346
5f0a5dae
RH
93472012-03-09 Richard Henderson <rth@twiddle.net>
9348
9349 * include/math_private.h: Remove file.
9350 * math/math_private.h: Move file ...
9351 * sysdeps/generic/math_private.h: ... here.
9352
b8c03620
RH
9353 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9354 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9355 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9356
4e234f5d 9357 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9358 and <math_private.h>.
9359 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9360 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9361 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9362 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9363 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9414 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9447 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9448 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9449 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9450 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9451 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9452 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9453 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9454 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9455 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9456 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9457 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9458 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9459 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9460 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9461 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9462 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9463 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9464 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9465 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9466 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9467 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9468 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9469 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9470 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9471 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9472 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9473 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9474 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9475 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9476 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9477 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9478 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9479 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9480 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9481 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9482 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9483 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9484 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9485 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9486 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9487 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9488 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9489 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9490 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9491 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9492 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9494 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9495 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9497 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9498 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9499 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9500 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9501 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9502 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9503 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9504 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9505 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9506 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9507 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9508 * sysdeps/ieee754/k_standard.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9576 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9628 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9629 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9631 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9636 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9641 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9659 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9669 * sysdeps/ieee754/s_lib_version.c: Likewise.
9670 * sysdeps/ieee754/s_matherr.c: Likewise.
9671 * sysdeps/ieee754/s_signgam.c: Likewise.
9672 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9673 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9674 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9675 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9676 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9677 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9678 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9679 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9680 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9681 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9682 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9683 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9684 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9685 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9686 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9687 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9688 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9689 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9690 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9691 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9692 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9693
1991fa03
JM
96942012-03-09 Joseph Myers <joseph@codesourcery.com>
9695
9696 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9697 * sunrpc/rpc_main.c: Likewise.
9698 * sunrpc/rpc_svcout.c: Likewise.
9699
60d6f5a6
DM
97002012-03-09 David S. Miller <davem@davemloft.net>
9701
9702 * include/math_private.h: New file.
9703
4962050e
JM
97042012-03-09 Joseph Myers <joseph@codesourcery.com>
9705
02a6f887
JM
9706 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9707 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9708 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9709 from <bits/socket_type.h>.
9710 (enum __socket_type): Don't define here.
9711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9713 bits/socket_type.h.
9714
c6e013c1
JM
9715 [BZ #13566]
9716 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9717 checking __USE_GNU.
9718
4962050e
JM
9719 * Makerules ($(inst_includedir)/%.h): New rule.
9720 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9721 (install-others): Remove variable setting.
9722 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9723
38842f45
RH
97242012-03-08 Richard Henderson <rth@twiddle.net>
9725
67bb6da6
RH
9726 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9727 from macro to inline function; merge with the
9728 !__LIBC_INTERNAL_MATH_INLINES version.
9729 (__ieee754_sqrtf): Likewise.
9730
15194b4b
RH
9731 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9732 to inline function.
9733 (__rintf, __floor, __floorf): Likewise.
9734
64e21ede
RH
9735 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9736 macro to inline function.
9737 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9738
38842f45
RH
9739 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9740 not <math/math_private.h>.
9741
c64bf5fe
DM
97422012-03-08 David S. Miller <davem@davemloft.net>
9743
9744 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9745 copyright year.
9746 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9747
82d86f28
TS
97482012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9749
9750 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9751 normalization.
9752 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9753 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9754
aea5d727
UD
97552012-03-08 Ulrich Drepper <drepper@gmail.com>
9756
9757 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9758 be defined individually, they must be defined as a block. Define
9759 S for printing a string instead of hidint the different by using a
9760 macro for adding the 'l'.
9761 * stdio-common/tst-fphex-wide.c: Adjust.
9762
70bca0a3
MP
97632012-03-07 Marek Polacek <polacek@redhat.com>
9764
9765 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9766
65b81130
MP
97672012-03-08 Marek Polacek <polacek@redhat.com>
9768
9769 [BZ #13806]
9770 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9771 * stdio-common/tst-fphex.c: Define a few macros to make the
9772 test reusable. Use them.
9773 * stdio-common/tst-fphex-wide.c: New file.
9774
07037eeb
JM
97752012-03-08 Joseph Myers <joseph@codesourcery.com>
9776
a7a93d50
JM
9777 [BZ #6911]
9778 * manual/macros.texi (gnusystems): New macro.
9779 (nongnusystems): Likewise.
9780 (gnulinuxhurdsystems): Likewise.
9781 (gnuhurdsystems): Likewise..
9782 (gnulinuxsystems): Likewise.
9783 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9784 variants of the GNU system, not "GNU system".
9785 * manual/conf.texi: Likewise.
9786 * manual/errno.texi: Likewise. Update example of errno macro
9787 expansion.
9788 * manual/filesys.texi: Likewise.
9789 (getumask): Document as specific to GNU/Hurd.
9790 * manual/install.texi: Likewise. Reword some references to
9791 GNU/Linux.
9792 * manual/intro.texi: Likewise.
9793 * manual/io.texi: Likewise.
9794 (File Name Portability): Detail which constraints are inapplicable
9795 to all GNU systems and which are only inapplicable to GNU/Hurd.
9796 * manual/job.texi: Likewise.
9797 * manual/llio.texi: Likewise.
9798 (O_NOCTTY): Document as present on GNU/Linux.
9799 * manual/maint.texi: Likewise.
9800 * manual/memory.texi: Likewise.
9801 * manual/pattern.texi: Likewise.
9802 * manual/pipe.texi: Likewise.
9803 * manual/process.texi: Likewise.
9804 * manual/resource.texi: Likewise.
9805 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9806 child on GNU/Hurd.
9807 * manual/setjmp.texi: Likewise.
9808 * manual/signal.texi: Likewise.
9809 * manual/startup.texi: Likewise.
9810 * manual/stdio.texi: Likewise.
9811 * manual/terminal.texi: Likewise.
9812 (ONLCR): Document as POSIX.
9813 (OXTABS): Document availability on GNU/Linux as XTABS.
9814 (ONOEOT): Document availability separately from other bits.
9815 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9816 * manual/time.texi: Likewise.
9817 * manual/users.texi: Likewise.
9818 * INSTALL: Regenerated.
9819 * sysdeps/gnu/errlist.c: Regenerated.
9820
07037eeb
JM
9821 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9822 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9823 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9824 puts.
9825 * configure: Regenerated.
9826
d1d3431a
JM
98272012-03-07 Joseph Myers <joseph@codesourcery.com>
9828
af6a1e37
JM
9829 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9830 default includes instead of AC_HEADER_CHECK.
9831 * sysdeps/i386/configure: Regenerated.
9832
d1d3431a
JM
9833 [BZ #10716]
9834 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9835 * math/s_cacoshf.c (__cacoshf): Likewise.
9836 * math/s_cacoshl.c (__cacoshl): Likewise.
9837 * math/s_casinh.c (__casinh): Set signs of result from argument.
9838 * math/s_casinhf.c (__casinhf): Likewise.
9839 * math/s_casinhl.c (__casinhl): Likewise.
9840 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9841 (casinh_test): Add more tests.
9842 * sysdeps/i386/fpu/libm-test-ulps: Update.
9843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9844
482ff4da
UD
98452012-03-07 Ulrich Drepper <drepper@gmail.com>
9846
872fda05
UD
9847 * po/zh_TW.po: Update from translation team.
9848
a4300c7a
UD
9849 * login/Makefile (distribute): Remove variable.
9850 * catgets/Makefile: Likewise.
9851 * mach/Makefile: Likewise.
9852 * malloc/Makefile: Likewise.
9853 * misc/Makefile: Likewise.
9854 * iconv/Makefile: Likewise.
9855 * nscd/Makefile: Likewise.
9856 * hurd/Makefile: Likewise.
9857 * manual/Makefile: Likewise.
9858 * locale/Makefile: Likewise.
9859 * intl/Makefile: Likewise.
9860 * conform/Makefile: Likewise.
9861 * nss/Makefile: Likewise.
9862 * time/Makefile: Likewise.
9863 * soft-fp/Makefile: Likewise.
9864 * dirent/Makefile: Likewise.
9865 * gmon/Makefile: Likewise.
9866 * po/Makefile: Likewise.
9867 * rt/Makefile: Likewise.
9868 * socket/Makefile: Likewise.
9869 * math/Makefile: Likewise.
9870 * signal/Makefile: Likewise.
9871 * debug/Makefile: Likewise.
9872 * elf/Makefile: Likewise.
9873 * timezone/Makefile: Likewise.
9874 * stdlib/Makefile: Likewise.
9875 * iconvdata/Makefile: Likewise.
9876 * sunrpc/Makefile: Likewise.
9877 * io/Makefile: Likewise.
9878 * argp/Makefile: Likewise.
9879 * inet/Makefile: Likewise.
9880 * hesiod/Makefile: Likewise.
9881 * grp/Makefile: Likewise.
9882 * csu/Makefile: Likewise.
9883 * wctype/Makefile: Likewise.
9884 * crypt/Makefile: Likewise.
9885 * libio/Makefile: Likewise.
9886 * string/Makefile: Likewise.
9887 * nis/Makefile: Likewise.
9888 * resolv/Makefile: Likewise.
9889 * stdio-common/Makefile: Likewise.
9890 * wcsmbs/Makefile: Likewise.
9891 * dlfcn/Makefile: Likewise.
9892 * posix/Makefile: Likewise.
9893
3b7c4e74 9894 [BZ #6959]
482ff4da
UD
9895 * timezone/Makefile: Don't install timezone files, just the programs
9896 and scripts.
9897
f72ed77d
UD
98982012-03-06 Ulrich Drepper <drepper@gmail.com>
9899
a000466f
UD
9900 * nss/databases.def: Add missing gshadow entry.
9901
f72ed77d
UD
9902 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9903
a53b7a4e
MP
99042012-03-06 Marek Polacek <polacek@redhat.com>
9905
9906 [BZ #13726]
9907 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9908 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9909 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9910 * stdio-common/tst-long-dbl-fphex.c: New file.
9911
e9258400
DM
99122012-03-06 David S. Miller <davem@davemloft.net>
9913
9914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9915 (set_obp_int): New function.
9916 (get_obp_int): New function.
9917 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9918 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9919 Avoid unused variable warnings on 'val' and use builtin_expect.
9920 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9921 __builtin_expect.
e9258400
DM
9922 (INLINE_CLONE_SYSCALL): Likewise.
9923
3bd2c723
DM
99242012-03-05 David S. Miller <davem@davemloft.net>
9925
9926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9927
bbb78d03
AS
99282012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9929
884c5db4
AS
9930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9931
bbb78d03
AS
9932 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9933 only for |x| >= 40.
9934 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9935
1c9f702a 99362012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9937
9938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9939 Replace gettimeofday with __vdso_gettimeofday.
9940
7be16f82
RM
9941 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9942 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9943 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9944
9945 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9946 time with __vdso_time.
9947
ed58a00f
JM
99482012-03-05 Joseph Myers <joseph@codesourcery.com>
9949
9950 * manual/lang.texi (size_t): Note types to which size_t may be
9951 equivalent with the GNU C Library, but do not describe when
9952 differences between them are significant.
9953
30ee4ced
AJ
99542012-03-05 Andreas Jaeger <aj@suse.de>
9955
9956 * sysdeps/i386/fpu/libm-test-ulps: Update.
9957
b7cd39e8
JM
99582012-03-05 Joseph Myers <joseph@codesourcery.com>
9959
9960 [BZ #3976]
9961 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9962 (__ieee754_pow): Save and restore rounding mode and use
9963 round-to-nearest for main computations.
9964 * math/libm-test.inc (pow_test_tonearest): New function.
9965 (pow_test_towardzero): Likewise.
9966 (pow_test_downward): Likewise.
9967 (pow_test_upward): Likewise.
9968 (main): Call the new functions.
9969 * sysdeps/i386/fpu/libm-test-ulps: Update.
9970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
9971
9972 [BZ #3976]
9973 * math/libm-test.inc (cosh_test_tonearest): New function.
9974 (cosh_test_towardzero): Likewise.
9975 (cosh_test_downward): Likewise.
9976 (cosh_test_upward): Likewise.
9977 (sinh_test_tonearest): Likewise.
9978 (sinh_test_towardzero): Likewise.
9979 (sinh_test_downward): Likewise.
9980 (sinh_test_upward): Likewise.
9981 (main): Call the new functions.
9982 * sysdeps/i386/fpu/libm-test-ulps: Update.
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9984
6c6a98c9
TV
99852012-03-05 Tom de Vries <tom@codesourcery.com>
9986
9987 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9988 default stack guard is set in last bytes.
9989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9990
21bb2d2e 99912012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 9992
21bb2d2e 9993 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 9994
21bb2d2e
AJ
9995 [BZ #13656]
9996 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9997 possibly allocate from heap instead of stack.
9998 * stdio-common/bug-vfprintf-nargs.c: New file.
9999 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10000
c6922934
AS
100012012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10002
10003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10004
bc957d53
MP
100052012-03-03 Marek Polacek <polacek@redhat.com>
10006
10007 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10008 * math/math_private.h: Likewise.
10009 * stdlib/tst-strtod.c: Likewise.
10010 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10011 * sysdeps/x86_64/bits/atomic.h: Likewise.
10012
6358490d
DM
100132012-03-02 David S. Miller <davem@davemloft.net>
10014
10015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10019 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10020 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10021 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10022 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10023
01ae168d
RM
100242012-03-02 Roland McGrath <roland@hack.frob.com>
10025
d9a17c07
RM
10026 [BZ #13792]
10027 * manual/examples/README: New file, says the example source files
10028 can be used under GPL>=2.
10029 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10030 line containing just "*/".
10031 * manual/examples/add.c: Add copyright header (GPL>=2).
10032 * manual/examples/argp-ex1.c: Likewise.
10033 * manual/examples/argp-ex2.c: Likewise.
10034 * manual/examples/argp-ex3.c: Likewise.
10035 * manual/examples/argp-ex4.c: Likewise.
10036 * manual/examples/atexit.c: Likewise.
10037 * manual/examples/db.c: Likewise.
10038 * manual/examples/dir.c: Likewise.
10039 * manual/examples/dir2.c: Likewise.
10040 * manual/examples/execinfo.c: Likewise.
10041 * manual/examples/filecli.c: Likewise.
10042 * manual/examples/filesrv.c: Likewise.
10043 * manual/examples/fmtmsgexpl.c: Likewise.
10044 * manual/examples/genpass.c: Likewise.
10045 * manual/examples/inetcli.c: Likewise.
10046 * manual/examples/inetsrv.c: Likewise.
10047 * manual/examples/isockad.c: Likewise.
10048 * manual/examples/longopt.c: Likewise.
10049 * manual/examples/memopen.c: Likewise.
10050 * manual/examples/memstrm.c: Likewise.
10051 * manual/examples/mkfsock.c: Likewise.
10052 * manual/examples/mkisock.c: Likewise.
10053 * manual/examples/mygetpass.c: Likewise.
10054 * manual/examples/pipe.c: Likewise.
10055 * manual/examples/popen.c: Likewise.
10056 * manual/examples/rprintf.c: Likewise.
10057 * manual/examples/search.c: Likewise.
10058 * manual/examples/select.c: Likewise.
10059 * manual/examples/setjmp.c: Likewise.
10060 * manual/examples/sigh1.c: Likewise.
10061 * manual/examples/sigusr.c: Likewise.
10062 * manual/examples/stpcpy.c: Likewise.
10063 * manual/examples/strdupa.c: Likewise.
10064 * manual/examples/strftim.c: Likewise.
10065 * manual/examples/strncat.c: Likewise.
10066 * manual/examples/subopt.c: Likewise.
10067 * manual/examples/swapcontext.c: Likewise.
10068 * manual/examples/termios.c: Likewise.
10069 * manual/examples/testopt.c: Likewise.
10070 * manual/examples/testpass.c: Likewise.
10071 * manual/examples/timeval_subtract.c: Likewise.
10072
01ae168d
RM
10073 [BZ #13792]
10074 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10075 function to ...
10076 * manual/timeval_subtract.c.texi: ... here, new file.
10077
49efa33d
DM
100782012-03-02 David S. Miller <davem@davemloft.net>
10079
10080 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10081
28afd92d
JM
100822012-03-02 Joseph Myers <joseph@codesourcery.com>
10083
804360ed
JM
10084 [BZ #3976]
10085 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10086 (__sin): Save and restore rounding mode and use round-to-nearest
10087 for all computations.
10088 (__cos): Save and restore rounding mode and use round-to-nearest
10089 for all computations.
10090 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10091 <fenv.h>.
10092 (tan): Save and restore rounding mode and use round-to-nearest for
10093 all computations.
10094 * math/libm-test.inc (cos_test_tonearest): New function.
10095 (cos_test_towardzero): Likewise.
10096 (cos_test_downward): Likewise.
10097 (cos_test_upward): Likewise.
10098 (sin_test_tonearest): Likewise.
10099 (sin_test_towardzero): Likewise.
10100 (sin_test_downward): Likewise.
10101 (sin_test_upward): Likewise.
10102 (tan_test_tonearest): Likewise.
10103 (tan_test_towardzero): Likewise.
10104 (tan_test_downward): Likewise.
10105 (tan_test_upward): Likewise.
10106 (main): Call the new functions.
10107 * sysdeps/i386/fpu/libm-test-ulps: Update.
10108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10109
a6d06d7b
JM
10110 [BZ #10135]
10111 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10112 small n, then large n, before computing and testing k+n.
10113 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10115 Likewise.
10116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10117 Likewise.
10118 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10119 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10120 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10121 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10122 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10123 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10126 * math/libm-test.inc (scalbn_test): Add more tests.
10127 (scalbln_test): Likewise.
10128
07e12bb3
JM
10129 * manual/filesys.texi (mode_t): Describe constraints on size and
10130 signedness, not exact equivalence to a particular type.
10131 (ino_t): Likewise.
10132 (ino64_t): Likewise.
10133 (dev_t): Likewise.
10134 (nlink_t): Likewise.
10135 (blkcnt_t): Likewise.
10136 (blkcnt64_t): Likewise.
10137 * manual/llio.texi (off_t): Likewise.
10138
28afd92d
JM
10139 [BZ #3976]
10140 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10141 (__ieee754_exp): Save and restore rounding mode and use
10142 round-to-nearest for all computations.
10143 * math/libm-test.inc (exp_test_tonearest): New function.
10144 (exp_test_towardzero): Likewise.
10145 (exp_test_downward): Likewise.
10146 (exp_test_upward): Likewise.
10147 (main): Call the new functions.
10148 * sysdeps/i386/fpu/libm-test-ulps: Update.
10149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10150
b1eeb65d
CD
101512012-03-01 Chris Demetriou <cgd@google.com>
10152
10153 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10154 have predictable order.
10155
53362a4b
DM
101562012-03-01 David S. Miller <davem@davemloft.net>
10157
3c969083
DM
10158 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10159
759707de
DM
10160 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10161 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10162 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10163 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10164
dfdb8ff2
DM
10165 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10166 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10167 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10169 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10170 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10171 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10172 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10173 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10174
ead89f96
DM
10175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10176
7f66bd07
DM
10177 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10178 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10179 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10180
53362a4b
DM
10181 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10182 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10183 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10184 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10185 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10186 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10187 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10188 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10189 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10190 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10191 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10192 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10194 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10195 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10196 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10197 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10198 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10199 * sysdeps/sparc/elf/configure: Regenerated.
10200
7b1902cb
JM
102012012-03-01 Joseph Myers <joseph@codesourcery.com>
10202
bec039bc
JM
10203 * configure.in (AS, LD): Require binutils 2.20 or later.
10204 * configure: Regenerated.
10205 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10206 as required minimum version.
10207 * INSTALL: Regenerated.
10208
7b1902cb
JM
10209 [BZ #2541]
10210 [BZ #4108]
10211 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10212 before squaring exponent.
10213 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10214 bottom long double and 27 bits of top long double before squaring
10215 exponent.
10216 * math/libm-test.inc (erfc_test): Add more tests.
10217 * sysdeps/i386/fpu/libm-test-ulps: Update.
10218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10220
f775c276
KT
102212012-03-01 Kai Tietz <ktietz@redhat.com>
10222
10223 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10224 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10225 containing bit-fields.
10226 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10227 * soft-fp/single.h (_FP_UNION_S): Likewise.
10228 * soft-fp/double.h (_FP_UNION_D): Likewise.
10229
5b8a4d4a
JM
102302012-02-29 Joseph Myers <joseph@codesourcery.com>
10231
0bab47b6
JM
10232 [BZ #13786]
10233 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10234 not include ../strcmp.S.
10235 [USE_AS_STRNCASECMP_L]: Likewise.
10236 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10237 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10238 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10239 (__strncasecmp_l_ia32): Define as alias to
10240 __strncasecmp_l_nonascii.
10241
0fcad3e2
JM
10242 [BZ #5794]
10243 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10244 * sysdeps/i386/fpu/libm-test-ulps: Update.
10245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10246
5b8a4d4a
JM
10247 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10249
8fdceb2e
JL
102502012-02-29 Jeff Law <law@redhat.com>
10251
10252 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10253 out of bounds read.
10254
1f393a11
MP
102552012-02-29 Marek Polacek <polacek@redhat.com>
10256
10257 [BZ #13706]
10258 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10259 * elf/Makefile: Add rules to run tst-unused-dep.out.
10260
8847f037
DM
102612012-02-28 David S. Miller <davem@davemloft.net>
10262
10263 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10264 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10265 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10266 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10267 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10268 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10269
169d7f11
JM
102702012-02-29 Joseph Myers <joseph@codesourcery.com>
10271
10272 * math/libm-test.inc (llround_test): Move one test from
10273 lround_test. Use TEST_f_L in moved test.
10274 (lround_test): Move misplaced test to llround_test. Add testcase
10275 from bug 2561.
10276
39adf059
UD
102772012-02-28 Ulrich Drepper <drepper@gmail.com>
10278
10279 * sysdeps/x86_64/fpu/e_expf.S: New file.
10280 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10281
71b5d1c5
SB
102822012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10283
10284 [BZ #13637]
10285 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10286 of remain_len that may cause incomplete multi-byte character and
10287 false match.
10288 * posix/bug-regex33.c: New file.
10289 * posix/Makefile (tests): Add bug-regex33.
10290
1f77f049
JM
102912012-02-28 Joseph Myers <joseph@codesourcery.com>
10292
10293 * manual/macros.texi: New file.
10294 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10295 * manual/libc.texinfo: Include macros.texi.
10296 * manual/creatute.texi: Likewise.
10297 * manual/install.texi: Likewise.
10298 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10299 @glibcadj{} in references to the GNU C Library.
10300 * manual/charset.texi: Likewise.
10301 * manual/conf.texi: Likewise.
10302 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10303 when not using those macros.
10304 * manual/creature.texi: Likewise.
10305 * manual/crypt.texi: Likewise.
10306 * manual/errno.texi: Likewise.
10307 * manual/filesys.texi: Likewise.
10308 * manual/header.texi: Likewise.
10309 * manual/install.texi: Likewise.
10310 * manual/intro.texi: Likewise.
10311 * manual/io.texi: Likewise.
10312 * manual/job.texi: Likewise.
10313 * manual/lang.texi: Likewise.
10314 * manual/libc.texiinfo: Likewise.
10315 * manual/llio.texi: Likewise.
10316 * manual/locale.texi: Likewise.
10317 * manual/maint.texi: Likewise.
10318 * manual/math.texi: Likewise.
10319 * manual/memory.texi: Likewise.
10320 * manual/message.texi: Likewise.
10321 * manual/nss.texi: Likewise.
10322 * manual/pattern.texi: Likewise.
10323 * manual/process.texi: Likewise.
10324 * manual/resource.texi: Likewise.
10325 * manual/search.texi: Likewise.
10326 * manual/setjmp.texi: Likewise.
10327 * manual/signal.texi: Likewise.
10328 * manual/socket.texi: Likewise.
10329 * manual/startup.texi: Likewise.
10330 * manual/stdio.texi: Likewise.
10331 * manual/string.texi: Likewise.
10332 * manual/sysinfo.texi: Likewise.
10333 * manual/syslog.texi: Likewise.
10334 * manual/terminal.texi: Likewise.
10335 * manual/time.texi: Likewise.
10336 * manual/users.texi: Likewise.
10337 * INSTALL: Regenerated.
10338 * NOTES: Regenerated.
d40c5d54 10339 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10340
450bf206
AS
103412012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10342
10343 * include/dirent.h: Include <dirstream.h> before
10344 <dirent/dirent.h>.
10345
741a235b
DM
103462012-02-28 David S. Miller <davem@davemloft.net>
10347
10348 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10349 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10350 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10351 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10352
d6b5aa58
DM
103532012-02-27 David S. Miller <davem@davemloft.net>
10354
1aff59a3
DM
10355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10357 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10358 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10359
d6b5aa58
DM
10360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10361 frame pointer instead of stack pointer relative arg slot.
10362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10363 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10364 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10365
433f48bf
CD
103662012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10367
10368 [BZ #3992]
10369 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10370
d674b76d
DM
103712012-02-27 David S. Miller <davem@davemloft.net>
10372
10373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10377 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10378 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10379 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10380 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10381
0e7727f7
JM
103822012-02-27 Joseph Myers <joseph@codesourcery.com>
10383
10384 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10385 later. Allow versions 5-9.
43be4ca2 10386 * configure: Regenerated.
0e7727f7
JM
10387 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10388 required minimum version and 4.6 as recommended version. Do not
10389 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10390 * INSTALL: Regenerated.
0e7727f7 10391
a78bc654
DM
103922012-02-27 David S. Miller <davem@davemloft.net>
10393
428d5830
DM
10394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10398 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10399 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10400 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10401 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10402
a78bc654
DM
10403 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10404 manipulate bits before adding and subtracting TWO112[sx].
10405 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10406
4579f81c
RM
104072012-02-27 Roland McGrath <roland@hack.frob.com>
10408
36c8acb4
RM
10409 [BZ #13775]
10410 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10411 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10412 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10413 being in POSIX, because they are in 1003.1-2008.
10414
84ad622b
RM
10415 * rt/tst-aio.c: Include <fcntl.h>.
10416 * rt/tst-aio7.c: Likewise.
10417 * rt/tst-aio64.c: Likewise.
10418
4579f81c
RM
10419 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10420
abd923db
JM
104212012-02-27 Joseph Myers <joseph@codesourcery.com>
10422
10423 * manual/install.texi (--with-headers): Describe headers as
10424 interface headers, not private headers.
10425 (Specific advice for GNU/Linux systems): Describe use of headers
10426 from "make headers_install", not private headers from older
10427 kernels.
43be4ca2 10428 * INSTALL: Regenerated.
abd923db
JM
10429 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10430 Change to 2.6.19.
10431 * sysdeps/unix/sysv/linux/configure: Regenerated.
10432
6664049b
JM
10433 * manual/llio.texi (fclean): Remove documentation.
10434
bb8b6697
JM
10435 * manual/Makefile (libc-texi-generated): New variable. Include
10436 version.texi.
10437 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10438 $(libc-texi-generated), not duplicated list of files.
10439 (version.texi, stamp-version): New rules.
10440 (realclean): Remove $(libc-texi-generated), not individual files
10441 from that list. Do not remove dir-add.texinfo.
10442 * manual/libc.texinfo: Comment out uses of edition numbers and
10443 references to printed manual. Remove last-updated dates.
10444 (EDITION): Comment out.
10445 (ISBN): Likewise.
10446 (VERSION, UPDATED): Remove.
10447 (version.texi): Include.
10448
12e5c3b9
AS
104492012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10450
10451 * sysdeps/posix/spawni.c: Include <signal.h>.
10452 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10453 * sysdeps/pthread/aio_fsync.c: Likewise.
10454
4efeffc1 104552012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10456
ba63ba08
UD
10457 * conform/Makefile (tests): Run only when not cross-compiling and
10458 when fast-check is not defined.
10459
d94a4670
UD
10460 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10461 * conform/data/limits.h-data: Fixes for POSIX2008.
10462 * conform/run-conformtest.sh: Run all tests.
10463 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10464 headers.
10465 * include/bits/dlfcn.h: Likewise.
10466 * include/langinfo.h: Likewise.
10467 * include/monetary.h: Likewise.
10468 * include/sys/poll.h: Likewise.
10469
10470 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10471 for __USE_GNU.
10472 * posix/spawn.h: Define __need_sigset_t.
10473 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10474 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10475 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10476 to get sigevent_t only.
10477 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10478 only for __USE_GNU.
10479 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10480 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10481 process_vm_writev only for __USE_GNU.
10482 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10483
10484 * conform/Makefile: For now ignore errors from run-conformtest.
10485 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10486 POSIX to avoid namespace pollution. Don't prepend headers.
10487 * conform/data/aio.h-data: Fixes for POSIX testing.
10488 * conform/data/fcntl.h-data: Likewise.
10489 * conform/data/glob.h-data: Likewise.
10490 * conform/data/grp.h-data: Likewise.
10491 * conform/data/pthread.h-data: Likewise.
10492 * conform/data/pwd.h-data: Likewise.
10493 * conform/data/signal.h-data: Likewise.
10494 * conform/data/spawn.h-data: Likewise.
10495 * conform/data/stdio.h-data: Likewise.
10496 * conform/data/stdlib.h-data: Likewise.
10497 * conform/data/stropts.h-data: Likewise.
10498 * conform/data/sys/mman.h-data: Likewise.
10499 * conform/data/sys/stat.h-data: Likewise.
10500 * conform/data/sys/types.h-data: Likewise.
10501 * conform/data/sys/wait.h-data: Likewise.
10502 * conform/data/time.h-data: Likewise.
10503 * conform/data/unistd.h-data: Likewise.
10504 * conform/data/utime.h-data: Likewise.
10505
10506 * io/sys/stat.h: fchmod was always in POSIX.
10507 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10508 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10509 * rt/aio.h: Define __need_timespec before including <time.h>.
10510 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10511 struct. Add forward declaration of pthread_attr_t and use it in
10512 sigevent.
10513 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10514 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10515 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10516 always remove CLK_TCK definition.
10517
c20105c3
AS
105182012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10519
10520 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10521
7a270350
UD
105222012-02-25 Ulrich Drepper <drepper@gmail.com>
10523
31341567
UD
10524 * conform/run-conformtest.sh: New file.
10525 * conform/Makefile: Run run-conformtest for tests.
10526 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10527 support.
10528
10529 * conform/data/uchar.h-data: New file.
10530 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10531 * conform/data/arpa/inet.h-data: Likewise.
10532 * conform/data/assert.h-data: Likewise.
10533 * conform/data/complex.h-data: Likewise.
10534 * conform/data/cpio.h-data: Likewise.
10535 * conform/data/ctype.h-data: Likewise.
10536 * conform/data/dirent.h-data: Likewise.
10537 * conform/data/dlfcn.h-data: Likewise.
10538 * conform/data/errno.h-data: Likewise.
10539 * conform/data/fcntl.h-data: Likewise.
10540 * conform/data/float.h-data: Likewise.
10541 * conform/data/fmtmsg.h-data: Likewise.
10542 * conform/data/fnmatch.h-data: Likewise.
10543 * conform/data/ftw.h-data: Likewise.
10544 * conform/data/glob.h-data: Likewise.
10545 * conform/data/grp.h-data: Likewise.
10546 * conform/data/iconv.h-data: Likewise.
10547 * conform/data/inttypes.h-data: Likewise.
10548 * conform/data/langinfo.h-data: Likewise.
10549 * conform/data/libgen.h-data: Likewise.
10550 * conform/data/limits.h-data: Likewise.
10551 * conform/data/locale.h-data: Likewise.
10552 * conform/data/math.h-data: Likewise.
10553 * conform/data/monetary.h-data: Likewise.
10554 * conform/data/mqueue.h-data: Likewise.
10555 * conform/data/ndbm.h-data: Likewise.
10556 * conform/data/net/if.h-data: Likewise.
10557 * conform/data/netdb.h-data: Likewise.
10558 * conform/data/netinet/in.h-data: Likewise.
10559 * conform/data/nl_types.h-data: Likewise.
10560 * conform/data/poll.h-data: Likewise.
10561 * conform/data/pthread.h-data: Likewise.
10562 * conform/data/pwd.h-data: Likewise.
10563 * conform/data/regex.h-data: Likewise.
10564 * conform/data/sched.h-data: Likewise.
10565 * conform/data/search.h-data: Likewise.
10566 * conform/data/semaphore.h-data: Likewise.
10567 * conform/data/setjmp.h-data: Likewise.
10568 * conform/data/signal.h-data: Likewise.
10569 * conform/data/spawn.h-data: Likewise.
10570 * conform/data/stdarg.h-data: Likewise.
10571 * conform/data/stdio.h-data: Likewise.
10572 * conform/data/stdlib.h-data: Likewise.
10573 * conform/data/string.h-data: Likewise.
10574 * conform/data/strings.h-data: Likewise.
10575 * conform/data/stropts.h-data: Likewise.
10576 * conform/data/sys/ipc.h-data: Likewise.
10577 * conform/data/sys/mman.h-data: Likewise.
10578 * conform/data/sys/msg.h-data: Likewise.
10579 * conform/data/sys/resource.h-data: Likewise.
10580 * conform/data/sys/select.h-data: Likewise.
10581 * conform/data/sys/sem.h-data: Likewise.
10582 * conform/data/sys/shm.h-data: Likewise.
10583 * conform/data/sys/socket.h-data: Likewise.
10584 * conform/data/sys/stat.h-data: Likewise.
10585 * conform/data/sys/statvfs.h-data: Likewise.
10586 * conform/data/sys/time.h-data: Likewise.
10587 * conform/data/sys/timeb.h-data: Likewise.
10588 * conform/data/sys/times.h-data: Likewise.
10589 * conform/data/sys/types.h-data: Likewise.
10590 * conform/data/sys/uio.h-data: Likewise.
10591 * conform/data/sys/un.h-data: Likewise.
10592 * conform/data/sys/utsname.h-data: Likewise.
10593 * conform/data/sys/wait.h-data: Likewise.
10594 * conform/data/syslog.h-data: Likewise.
10595 * conform/data/tar.h-data: Likewise.
10596 * conform/data/termios.h-data: Likewise.
10597 * conform/data/utime.h-data: Likewise.
10598 * conform/data/utmpx.h-data: Likewise.
10599 * conform/data/varargs.h-data: Likewise.
10600 * conform/data/wchar.h-data: Likewise.
10601 * conform/data/wctype.h-data: Likewise.
10602 * conform/data/wordexp.h-data: Likewise.
10603
10604 * include/stropts.h: New file.
10605 * include/uchar.h: New file.
10606 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10607 * include/assert.h: Likewise.
10608 * include/ctype.h: Likewise.
10609 * include/dirent.h: Likewise.
10610 * include/dlfcn.h: Likewise.
10611 * include/fcntl.h: Likewise.
10612 * include/fnmatch.h: Likewise.
10613 * include/glob.h: Likewise.
10614 * include/grp.h: Likewise.
10615 * include/libio.h: Likewise.
10616 * include/locale.h: Likewise.
10617 * include/math.h: Likewise.
10618 * include/net/if.h: Likewise.
10619 * include/netdb.h: Likewise.
10620 * include/netinet/in.h: Likewise.
10621 * include/pthread.h: Likewise.
10622 * include/pwd.h: Likewise.
10623 * include/regex.h: Likewise.
10624 * include/sched.h: Likewise.
10625 * include/search.h: Likewise.
10626 * include/setjmp.h: Likewise.
10627 * include/signal.h: Likewise.
10628 * include/stdio.h: Likewise.
10629 * include/stdlib.h: Likewise.
10630 * include/string.h: Likewise.
10631 * include/sys/cdefs.h: Likewise.
10632 * include/sys/mman.h: Likewise.
10633 * include/sys/msg.h: Likewise.
10634 * include/sys/resource.h: Likewise.
10635 * include/sys/select.h: Likewise.
10636 * include/sys/socket.h: Likewise.
10637 * include/sys/stat.h: Likewise.
10638 * include/sys/statvfs.h: Likewise.
10639 * include/sys/time.h: Likewise.
10640 * include/sys/times.h: Likewise.
10641 * include/sys/uio.h: Likewise.
10642 * include/sys/utsname.h: Likewise.
10643 * include/sys/wait.h: Likewise.
10644 * include/termios.h: Likewise.
10645 * include/time.h: Likewise.
10646 * include/ulimit.h: Likewise.
10647 * include/unistd.h: Likewise.
10648 * include/utime.h: Likewise.
10649 * include/wchar.h: Likewise.
10650 * include/wctype.h: Likewise.
10651 * include/wordexp.h: Likewise.
10652
10653 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10654
7a270350
UD
10655 * time/time.h: TIME_UTC must be a macro.
10656 Make timespec_get available for ISO C11 only as well.
10657
7724defc
UD
106582012-02-24 Ulrich Drepper <drepper@gmail.com>
10659
10660 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10661 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10662
6b1d1d46
JM
106632012-02-24 Joseph Myers <joseph@codesourcery.com>
10664
10665 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10666
0f8bbd69
JM
106672012-02-24 Joseph Myers <joseph@codesourcery.com>
10668
10669 * manual/texinfo.tex: Update to version 2012-01-19.16.
10670
66ab80bc
JM
106712012-02-24 Joseph Myers <joseph@codesourcery.com>
10672
10673 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10674
74981cc5
RM
106752012-02-24 Roland McGrath <roland@hack.frob.com>
10676
ee968201
RM
10677 [BZ #13738]
10678 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10679 * manual/fdl-1.3.texi: New file.
10680 * manual/fdl-1.1.texi: File removed.
10681
74981cc5
RM
10682 [BZ #13738]
10683 * manual/libc.texinfo (FDL_VERSION): New @set.
10684 Use it for mention of FDL in cover text.
10685 (Documentation License): Use it in @include file name.
10686
7bb764bc
JM
106872012-02-22 Joseph Myers <joseph@codesourcery.com>
10688 Roland McGrath <roland@hack.frob.com>
10689
10690 [BZ #5461]
10691 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10692 not LONG_LONG_MAX and LONG_LONG_MIN.
10693 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10694 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10695 name.
10696 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10697
6cbeae47
JM
106982012-02-22 Joseph Myers <joseph@codesourcery.com>
10699
10700 [BZ #2547]
10701 [BZ #11365]
10702 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10703 manipulate bits before adding and subtracting TWO23[sx].
10704 * math/libm-test.inc (nearbyint_test): Add more tests.
10705
fe45ce09
JM
107062012-02-22 Joseph Myers <joseph@codesourcery.com>
10707
10708 [BZ #2548]
10709 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10710 bits before adding and subtracting TWO23[sx].
10711 * math/libm-test.inc (rint_test): Add more tests.
10712 (rint_test_tonearest): Likewise.
10713 (rint_test_towardzero): Likewise.
10714 (rint_test_downward): Likewise.
10715 (rint_test_upward: Likewise.
10716
ff3b3d82
JM
107172012-02-22 Joseph Myers <joseph@codesourcery.com>
10718
10719 [BZ #10110]
10720 * include/stdc-predef.h: New file. Extracted from features.h.
10721 * include/features.h: Include stdc-predef.h.
10722 * Makefile (headers): Add stdc-predef.h.
10723 * CONFORMANCE (Compiler limitations): Update.
10724
ef0aab35
JM
107252012-02-22 Joseph Myers <joseph@codesourcery.com>
10726
10727 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10728
58639409
DM
107292012-02-21 David S. Miller <davem@davemloft.net>
10730
10731 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10732 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10733
c0e70b25
DM
107342012-02-20 David S. Miller <davem@davemloft.net>
10735
10736 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10737 using a normal save/restore sequence, rather than allocating a
10738 dummy stack frame just to store a frame pointer and restore.
10739 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10740
fb06851d
JM
107412012-02-21 Joseph Myers <joseph@codesourcery.com>
10742
10743 * manual/install.texi: Fix stray word in line-wrapped comment.
10744
7a8b71c3
DM
107452012-02-20 David S. Miller <davem@davemloft.net>
10746
d510c123
DM
10747 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10748 both binutils and gcc support GOTDATA.
10749
0722d7c2
DM
10750 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10751 "rd %pc" in the PIC register setup sequences.
10752
3d2b3019
DM
10753 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10754 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10755 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10756 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10757 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10759 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10761 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10762 (SYSCALL_ERROR_HANDLER): Likewise.
10763 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10764 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10766 (SYSCALL_ERROR_HANDLER): Likewise.
10767
c80098a9
DM
10768 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10769 (HAVE_GCC_GOTDATA): New.
10770 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10771 relocation support in both binutils and gcc.
10772 * sysdeps/sparc/elf/configure: Regenerate.
10773
3a2545a0
DM
10774 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10775 * sysdeps/sparc/sparc32/elf/configure: Delete.
10776 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10777 * sysdeps/sparc/sparc64/elf/configure: Delete.
10778 * sysdeps/sparc/elf/configure.in: New file.
10779 * sysdeps/sparc/elf/configure: Generate.
10780
7a8b71c3
DM
10781 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10782 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10783 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10784 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10785 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10786
f1e86fca
JM
107872012-02-21 Joseph Myers <joseph@codesourcery.com>
10788
10789 * manual/install.texi: Do not mention specific glibc version
10790 numbers.
10791 * manual/libc.texinfo (VERSION, UPDATED): Update.
10792 (@copying): Use @copyright{} and range of years.
10793
0e7dfaef
JM
107942012-02-21 Joseph Myers <joseph@codesourcery.com>
10795
10796 [BZ #13695]
10797 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10798 [crti.S not in sysdirs] (generated): Do not append.
10799 [crti.S not in sysdirs] (omit-deps): Likewise.
10800 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10801 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10802 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10803 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10804 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10805 Likewise.
10806 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10807 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10808 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10809 * csu/defs.awk: Remove file.
10810 * sysdeps/generic/initfini.c: Likewise.
10811 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10812 variable.
10813 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10814 Likewise.
10815
599af3ca
JM
108162012-02-20 Joseph Myers <joseph@codesourcery.com>
10817
10818 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10819 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10820 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10821 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10822 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10823 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10824 <bits/epoll.h>.
10825 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10826 (__EPOLL_PACKED): Define to empty if not defined by
10827 <bits/epoll.h>.
10828 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10830 bits/epoll.h.
10831
0e499750
JM
108322012-02-20 Joseph Myers <joseph@codesourcery.com>
10833
10834 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10835 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10836 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10837 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10838 <bits/timerfd.h>.
10839 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10841 bits/timerfd.h.
10842
5ad91f6e
JM
108432012-02-20 Joseph Myers <joseph@codesourcery.com>
10844
10845 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10846 in C locale.
10847 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10848 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10849 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10851
06b99b02
AJ
108522012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10853
10854 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10855 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10856
7638c0fd
AS
108572012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10858
10859 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10860 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10861 defined.
10862 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10863 Likewise.
10864 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10865 entry for 2.16.
10866
92221550
AJ
108672012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10868
10869 * math/w_acos.c: Use non-signaling floating-point comparisons.
10870 * math/w_acosf.c: Likewise.
10871 * math/w_acosh.c: Likewise.
10872 * math/w_acoshf.c: Likewise.
10873 * math/w_acoshl.c: Likewise.
10874 * math/w_acosl.c: Likewise.
10875 * math/w_asin.c: Likewise.
10876 * math/w_asinf.c: Likewise.
10877 * math/w_asinl.c: Likewise.
10878 * math/w_atanh.c: Likewise.
10879 * math/w_atanhf.c: Likewise.
10880 * math/w_atanhl.c: Likewise.
10881 * math/w_exp2.c: Likewise.
10882 * math/w_exp2f.c: Likewise.
10883 * math/w_exp2l.c: Likewise.
10884 * math/w_j0.c: Likewise.
10885 * math/w_j0f.c: Likewise.
10886 * math/w_j0l.c: Likewise.
10887 * math/w_j1.c: Likewise.
10888 * math/w_j1f.c: Likewise.
10889 * math/w_j1l.c: Likewise.
10890 * math/w_jn.c: Likewise.
10891 * math/w_jnf.c: Likewise.
10892 * math/w_log.c: Likewise.
10893 * math/w_log10.c: Likewise.
10894 * math/w_log10f.c: Likewise.
10895 * math/w_log10l.c: Likewise.
10896 * math/w_log2.c: Likewise.
10897 * math/w_log2f.c: Likewise.
10898 * math/w_log2l.c: Likewise.
10899 * math/w_logf.c: Likewise.
10900 * math/w_logl.c: Likewise.
10901 * math/w_sqrt.c: Likewise.
10902 * math/w_sqrtf.c: Likewise.
10903 * math/w_sqrtl.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10906 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10907 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10908 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10909
ebaf36eb
JM
109102012-02-19 Joseph Myers <joseph@codesourcery.com>
10911
10912 [BZ #9739]
10913 * manual/string.texi (strnlen): Use correct parameter name in
10914 equivalent expression.
10915
71c254a6
JM
109162012-02-19 Joseph Myers <joseph@codesourcery.com>
10917
10918 [BZ #11174]
10919 * manual/users.texi (seteuid): Consistently use neweuid for
10920 argument name.
10921
16d2c631
JM
109222012-02-19 Joseph Myers <joseph@codesourcery.com>
10923
10924 [BZ #13704]
10925 * manual/nss.texi (Services in the NSS configuration): Correct
10926 list of services in example configuration file.
10927
cd837b09
NB
109282012-02-19 Nick Bowler <nbowler@draconx.ca>
10929
10930 [BZ #11322]
10931 * manual/arith.texi: Remove statements about negative zero
10932 behaving identically to zero.
10933
02c4bbad
JM
109342012-02-18 Joseph Myers <joseph@codesourcery.com>
10935
10936 [BZ #5993]
10937 * manual/install.texi: Do not document upgrading from libc5.
10938
366842e7
JM
109392012-02-18 Joseph Myers <joseph@codesourcery.com>
10940
10941 [BZ #4596]
10942 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10943
dd54084d
DM
109442012-02-18 David S. Miller <davem@davemloft.net>
10945
10946 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10947 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10948 %o7 across the call.
10949 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10950 instead.
10951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10952 SETUP_PIC_REG_LEAF.
10953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10954 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10955 * sysdeps/sparc/crtn.S: Likewise.
10956
2bcc53a3
UD
109572012-02-17 Ulrich Drepper <drepper@gmail.com>
10958
10959 * aout/Makefile: Remove.
10960
09c093b5
RK
109612012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10962
10963 [BZ #13058]
10964 * manual/examples/argp-ex1.c (main): Format definition in GNU
10965 style.
10966 * manual/examples/argp-ex2.c (main): Likewise.
10967 * manual/examples/argp-ex3.c (main): Likewise.
10968 * manual/examples/argp-ex4.c (main): Likewise.
10969 * manual/examples/longopt.c (main): Use new-style prototype
10970 definition.
10971 * manual/examples/strncat.c (main): Specify return type and use
10972 (void) for arguments.
10973 * manual/examples/subopt.c (main): Use char **argv argument.
10974
2ee633a2
JM
109752012-02-17 Joseph Myers <joseph@codesourcery.com>
10976
10977 [BZ #5077]
10978 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10979 rounding modes.
10980
0520adde
FB
109812012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10982
10983 [BZ #6907]
10984 * manual/string.texi (strchr): Change when strchrnul is
10985 recommended.
10986
3f4081cd
DGM
109872012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10988
10989 [BZ #174]
10990 * manual/locale.texi (setlocale): Document LOCPATH.
10991
d1b10e78
JM
109922012-02-17 Joseph Myers <joseph@codesourcery.com>
10993
10994 [BZ #10210]
10995 * manual/process.texi (execle): Move @dots{} before last argument.
10996
79c6869c
PB
109972012-02-17 Paul Bolle <pebolle@tiscali.nl>
10998
10999 [BZ #12047]
11000 * manual/charset.texi (Generic Charset Conversion): Fix typo
11001 (LC_TYPE -> LC_CTYPE).
11002
cc6e48bc
NB
110032012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11004
11005 [BZ #5805]
11006 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11007 (scalbnf): Likewise.
11008 (scalbnl): Likewise.
11009 (scalbln): Likewise.
11010 (scalblnf): Likewise.
11011 (scalblnl): Likewise.
11012 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11013 (vwarnx): Likewise.
11014 (verr): Likewise.
11015 (verrx): Likewise.
11016 * manual/filesys.texi (telldir): Use braces around return type.
11017 * manual/llio.texi (mmap): Add space after comma.
11018 (mmap64): Likewise.
11019 * manual/math.texi (jn): Use @var{} on parameter names.
11020 (jnf): Likewise.
11021 (jnl): Likewise.
11022 (yn): Likewise.
11023 (ynf): Likewise.
11024 (ynl): Likewise.
11025 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11026 line.
11027 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11028 "...".
11029 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11030 (sched_get_priority_max): Likewise.
11031 * manual/signal.texi (sigvec): Add space after comma.
11032 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11033 names.
11034 (if_indextoname): Likewise.
11035 (if_freenameindex): Likewise.
11036 (sendto): Use ',' instead of '.' in prototype.
11037 * manual/startup.texi (syscall): Use @dots{} instead of literal
11038 "...".
11039 * manual/stdio.texi (__fpending): Separate initial words of
11040 paragraph from @deftypefun line.
11041 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11042 "...".
11043 (vsyslog): Use @var{} on parameter names.
11044 * manual/terminal.texi (stty): Use @var{} on parameter names.
11045 * manual/users.texi (getutmp): Use @var{} on parameter names.
11046 (getutmpx): Likewise.
11047
5b23062f
JM
110482012-02-17 Joseph Myers <joseph@codesourcery.com>
11049
11050 [BZ #6884]
11051 * manual/stdio.texi (fopen): Fix typos in description of
11052 ",ccs=STRING".
11053
8dee4833
AJ
110542012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11055
11056 [BZ #4026]
11057 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11058 get clock_id definition.
11059
9078ce93
TS
110602012-02-17 Thomas Schwinge <thomas@schwinge.name>
11061
11062 [BZ #4822]
11063 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11064 (madvise): Cast every argument to void on its own.
11065
3835c55f
JM
110662012-02-17 Joseph Myers <joseph@codesourcery.com>
11067
11068 [BZ #9902]
11069 * manual/startup.texi (Exit Status): Fix typo.
11070
35c47e37
JM
110712012-02-17 Joseph Myers <joseph@codesourcery.com>
11072
11073 [BZ #10140]
11074 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11075 * manual/examples/argp-ex2.c: Likewise.
11076 * manual/examples/argp-ex3.c: Likewise.
11077
e3b69ca7
RH
110782012-02-16 Richard Henderson <rth@redhat.com>
11079
11080 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11081 * sysdeps/s390/s390-32/initfini.c: Remove.
11082 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11083 * sysdeps/s390/s390-64/initfini.c: Remove.
11084
df83af67
KK
110852012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11086
11087 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11088 compiler output for sysdeps/generic/initfini.c.
11089 * sysdeps/sh/elf/initfini.c: Remove file.
11090
f63f3380
DM
110912012-02-16 David S. Miller <davem@davemloft.net>
11092
fb59b3a4
DM
11093 [BZ #11494]
11094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11095
f63f3380
DM
11096 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11097 * sysdeps/sparc/crti.S: New file.
11098 * sysdeps/sparc/crtn.S: New file.
11099 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11100 * sysdeps/sparc/sparc64/Makefile: Likewise.
11101
df6a4a4a
MF
111022012-02-15 Mike Frysinger <vapier@gentoo.org>
11103
6dd8f3dc 11104 [BZ #3335]
df6a4a4a
MF
11105 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11106
1cac7236
RM
111072012-02-15 Roland McGrath <roland@hack.frob.com>
11108
d2c736f8
RM
11109 [BZ #4822]
11110 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11111
1cac7236
RM
11112 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11113 (write, read, close): Likewise.
11114 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11115
8e475601
JM
111162012-02-15 Joseph Myers <joseph@codesourcery.com>
11117
11118 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11119 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11120 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11121 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11122 <bits/signalfd.h>.
11123 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11125 bits/signalfd.h.
11126
ed656b40
MP
111272012-02-14 Marek Polacek <polacek@redhat.com>
11128
11129 * sysdeps/x86_64/crti.S: New file.
11130 * sysdeps/x86_64/crtn.S: New file.
11131 * sysdeps/x86_64/elf/initfini.c: Remove file.
11132
2a979d3a
JM
111332012-02-13 Joseph Myers <joseph@codesourcery.com>
11134
11135 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11136 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11137 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11138 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11139 <bits/inotify.h>.
11140 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11142 bits/inotify.h.
11143
2a418ac3
JM
111442012-02-13 Joseph Myers <joseph@codesourcery.com>
11145
11146 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11147 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11148 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11149 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11150 <bits/eventfd.h>.
11151 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11153 bits/eventfd.h.
11154
fb779be7
TS
111552012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11156
e19e83c5
RM
11157 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11158 __feraiseexcept instead of feraiseexcept.
7c35ffed 11159
fb779be7
TS
11160 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11161 nanosleep invocations.
11162 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11163 strings, and add error checking for a nanosleep invocations.
11164
59ba27a6
PE
111652012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11166
11167 Replace FSF snail mail address with URLs, as per GNU coding standards.
11168 Most of the snail mail addresses were wrong anyway, and omitting
11169 them makes the source code easier to maintain. Almost all of the
11170 changes are to license notices and to locale LC_IDENTIFICATION
11171 addresses, except for this one:
11172 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11173 not its snail mail address.
11174
57b957eb
RH
111752012-02-09 Richard Henderson <rth@twiddle.net>
11176
af850b1c
RH
11177 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11178 of kernel-features.h.
11179
57b957eb
RH
11180 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11181
6b73181a
MP
111822012-02-08 Marek Polacek <polacek@redhat.com>
11183
11184 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11185 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11186 * sysdeps/gnu/_G_config.h: Likewise.
11187 * sysdeps/generic/_G_config.h: Likewise.
11188
26ecc33a
AS
111892012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11190
6c6dbc63
AS
11191 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11192 tests.
11193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11194
e216c012
AS
11195 * sysdeps/powerpc/powerpc32/crti.S: New file.
11196 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11197 * sysdeps/powerpc/powerpc64/crti.S: New file.
11198 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11199
26ecc33a
AS
11200 * Makeconfig (have-initfini): Don't set.
11201 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11202 * configure.in (nopic_initfini): Don't substitute.
11203 * config.h.in (HAVE_INITFINI): Don't #undef.
11204 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11205 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11206
3add8e13
JM
112072012-02-08 Joseph Myers <joseph@codesourcery.com>
11208
11209 Support crti.S and crtn.S provided directly by architectures.
11210 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11211 [crti.S in sysdirs] (omit-deps): Likewise.
11212 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11213 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11214 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11215 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11216 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11217 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11218 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11219 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11220 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11221 compiler output for sysdeps/generic/initfini.c.
11222 * sysdeps/i386/elf/Makefile: Remove file.
11223 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11224
a22f12b4
MP
112252012-02-07 Marek Polacek <polacek@redhat.com>
11226
11227 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11228 * sysdeps/gnu/_G_config.h: Likewise.
11229 * sysdeps/mach/hurd/_G_config.h: Likewise.
11230
148cf100
MP
112312012-02-07 Marek Polacek <polacek@redhat.com>
11232
11233 * math/Makefile (tests): Add tst-CMPLX2.
11234 * math/tst-CMPLX2.c: New file.
11235
cfdc0dd7
AS
112362012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11237
84ba42c4
AS
11238 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11239
cfdc0dd7
AS
11240 * math/libm-test.inc (jn_test): Add missing L suffix.
11241
622c86f4
MP
112422012-02-06 Marek Polacek <polacek@redhat.com>
11243
11244 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11245 * sysdeps/i386/fpu/e_powf.S: Likewise.
11246 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11247 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11248 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11249 * sysdeps/i386/fpu/e_pow.S: Likewise.
11250 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11251 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11252 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11253 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11254 * sysdeps/i386/fpu/e_log2.S: Likewise.
11255 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11256 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11257 * sysdeps/i386/fpu/e_powl.S: Likewise.
11258 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11259 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11260 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11261 * sysdeps/i386/fpu/e_logl.S: Likewise.
11262 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11263 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11264 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11265 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11266 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11267 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11268 * sysdeps/i386/fpu/e_log.S: Likewise.
11269 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11270 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11271 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11272 * sysdeps/i386/fpu/e_logf.S: Likewise.
11273 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11274 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11275 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11276 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11277 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11278 * sysdeps/i386/fpu/e_log10.S: Likewise.
11279 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11280 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11281 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11282 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11283 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11284 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11285 * sysdeps/i386/asm-syntax.h: Likewise.
11286 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11287 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11288 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11289 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11290 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11291 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11292 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11293 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11294 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11295 * sysdeps/powerpc/sysdep.h: Likewise.
11296 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11297 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11298
d4a54ac6
JM
112992012-02-06 Joseph Myers <joseph@codesourcery.com>
11300
11301 [BZ #411]
11302 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11303
314054ea
JM
113042012-02-06 Joseph Myers <joseph@codesourcery.com>
11305
11306 * sysdeps/i386/sysdep.h: Include <features.h>.
11307 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11308 version.
11309
d8e0ca50
JM
113102012-02-05 Joseph Myers <joseph@codesourcery.com>
11311
11312 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11313 Define.
11314 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11315 LOAD_PIC_REG_STR.
11316
b1da7dd9
JM
113172012-02-03 Joseph Myers <joseph@codesourcery.com>
11318
11319 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11320 (SETUP_PIC_REG): Use GET_PC_THUNK.
11321 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11322 macro.
11323
9a1d9254
JM
113242012-02-03 Joseph Myers <joseph@codesourcery.com>
11325
11326 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11327 for non-PIC compilation.
11328 (SETUP_PIC_REG): Add .p2align directive.
11329 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11330 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11331 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11332 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11333 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11334 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11335 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11337 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11338 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11339 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11340 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11341 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11342 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11343 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11344 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11345 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11346 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11347 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11348 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11349 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11350 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11351 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11352 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11356 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11357 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11358 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11359 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11360 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11361 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11362 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11363 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11364 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11365 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11366 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11367 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11368 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11369 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11370
65dc3b75
JM
113712012-02-03 Joseph Myers <joseph@codesourcery.com>
11372
11373 * math/tst-CMPLX.c: Include <stdio.h>.
11374
d55bf177
JM
113752012-01-31 Joseph Myers <joseph@codesourcery.com>
11376
11377 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11378 float.
11379 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11380 * sysdeps/sparc/bits/mathdef.h: Likewise.
11381
69db4f8f
MP
113822012-01-31 Marek Polacek <polacek@redhat.com>
11383
11384 * libio/libio.h: Don't define _PARAMS.
11385 * locale/programs/config.h: Don't define PARAMS.
11386 * stdlib/strtol_l.c: Likewise.
11387 (__strtol_l): Remove PARAMS from the prototype.
11388
41b81892
UD
113892012-01-31 Ulrich Drepper <drepper@gmail.com>
11390
3b49edc0
UD
11391 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11392 names. Just use the correct names. Remove unnecessary wrapper
11393 functions.
11394 * malloc/arena.c: Likewise.
11395 * malloc/hooks.c: Likewise.
11396
41b81892
UD
11397 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11398 ARENA_TEST says not to. Simplify test for creation of a new arena.
11399 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11400
27a25b6e
UD
114012012-01-30 Ulrich Drepper <drepper@gmail.com>
11402
11403 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11404 into tail calls.
11405 (update_get_addr): New function.
11406 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11407 GET_ADDR_MODULE parameter.
11408
c8a89e7d
JM
114092012-01-30 Joseph Myers <joseph@codesourcery.com>
11410
11411 * crypt/cert.c: Remove __STDC__ conditionals.
11412 * crypt/crypt-entry.c: Likewise.
11413 * crypt/crypt_util.c: Likewise.
11414 * libio/filedoalloc.c: Likewise.
11415 * libio/fileops.c: Likewise.
11416 * libio/genops.c: Likewise.
11417 * libio/iofclose.c: Likewise.
11418 * libio/iofdopen.c: Likewise.
11419 * libio/iofopen.c: Likewise.
11420 * libio/iofopen64.c: Likewise.
11421 * libio/iogetdelim.c: Likewise.
11422 * libio/iopopen.c: Likewise.
11423 * libio/obprintf.c: Likewise.
11424 * libio/oldfileops.c: Likewise.
11425 * libio/oldiofclose.c: Likewise.
11426 * libio/oldiofdopen.c: Likewise.
11427 * libio/oldiofopen.c: Likewise.
11428 * libio/oldiopopen.c: Likewise.
11429 * libio/wfiledoalloc.c: Likewise.
11430 * libio/wgenops.c: Likewise.
11431 * locale/programs/xmalloc.c: Likewise.
11432 * misc/syslog.c: Likewise.
11433 * stdio-common/xbug.c: Likewise.
11434 * string/memchr.c: Likewise.
11435 * string/memcmp.c: Likewise.
11436 * string/memrchr.c: Likewise.
11437 * string/rawmemchr.c: Likewise.
11438 * sysdeps/posix/getcwd.c: Likewise.
11439 * time/strftime_l.c: Likewise.
11440
3b100462
JM
114412012-01-30 Joseph Myers <joseph@codesourcery.com>
11442
11443 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11444 * config.make.in (config-cflags-sse2avx): Define.
11445 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11446 Fix typo.
11447
607998af
CM
114482012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11449
11450 * scripts/config.guess: Update from upstream config git repository.
11451 * scripts/config.sub: Likewise.
11452
3601428f
CM
114532012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11454
3ac8b282
CM
11455 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11456 (EM_NUM): Update.
11457 (R_TILEPRO_*, R_TILEGX_*): New macros.
11458
e034841e
CM
11459 * scripts/firstversions.awk: Fix bug in version range handling.
11460
540d7568
CM
11461 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11462
3601428f
CM
11463 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11464
463de862
CM
11465 * include/sys/epoll.h: New file.
11466 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11467 libc_hidden_def.
11468
73139a76
UD
114692012-01-28 Ulrich Drepper <drepper@gmail.com>
11470
96bc5b45
UD
11471 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11472 Avoid unnecessary __WORDSIZE == 64 test.
11473 (fmaxf): Use VEX format if possible.
11474 (fmax): Likewise.
11475 (fminf): Likewise.
11476 (fmin): Likewise.
11477
56f6f6a2
UD
11478 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11479 * math/math_private.h: Remove libc_fegetround* and
11480 libc_fesetround*.
11481 * sysdeps/i386/configure.in: Check for -msse2avx.
11482 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11483 also if SSE2AVX is defined.
11484 Remove libc_fegetround* and libc_fesetround*.
11485 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11486 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11487 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11488 of HAS_YMM_USABLE.
11489 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11490 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11492 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11494
73139a76
UD
11495 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11496
d73f93a4
AZ
114972012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11498
11499 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11500 size is not set.
11501 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11502
6ee65ed6
UD
115032012-01-27 Ulrich Drepper <drepper@gmail.com>
11504
11505 [BZ #13618]
11506 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11507 relocation.
11508 * Makeconfig (libm): Define.
11509 * elf/Makefile: Add rules to build and run tst-relsort1.
11510 * elf/tst-relsort1.c: New file.
11511 * elf/tst-relsort1mod1.c: New file.
11512 * elf/tst-relsort1mod2.c: New file.
11513
8db21882
JM
115142012-01-27 Joseph Myers <joseph@codesourcery.com>
11515
11516 * math/s_ldexp.c: Remove __STDC__ conditionals.
11517 * math/s_ldexpf.c: Likewise.
11518 * math/s_ldexpl.c: Likewise.
11519 * math/s_nextafter.c: Likewise.
11520 * math/s_nexttowardf.c: Likewise.
11521 * math/s_significand.c: Likewise.
11522 * math/s_significandf.c: Likewise.
11523 * math/s_significandl.c: Likewise.
11524 * math/w_jnl.c: Likewise.
11525 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11526 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11527 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11528 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11529 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11544 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11545 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11546 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11547 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11548 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11549 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11550 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11551 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11552 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11553 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11554 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11555 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11556 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11557 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11558 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11559 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11560 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11561 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11562 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11563 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11564 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11565 * sysdeps/ieee754/k_standard.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11575 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11577 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11582 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11584 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11585 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11590 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11595 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11627 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11628 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11632 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11645 * sysdeps/ieee754/s_matherr.c: Likewise.
11646 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11647 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11650
965a54a4
JM
116512012-01-26 Joseph Myers <joseph@codesourcery.com>
11652
11653 * crypt/md5.h: Remove __STDC__ conditionals.
11654 * libio/libioP.h: Likewise.
11655 * locale/programs/config.h: Likewise.
11656 * sysdeps/generic/sysdep.h: Likewise.
11657 * sysdeps/i386/asm-syntax.h: Likewise.
11658 * sysdeps/s390/asm-syntax.h: Likewise.
11659 * sysdeps/unix/sysdep.h: Likewise.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11662
7071ad79
JM
116632012-01-26 Joseph Myers <joseph@codesourcery.com>
11664
11665 * libio/libio.h: Remove __STDC__ conditionals.
11666 * malloc/obstack.h: Likewise.
11667 * math/complex.h: Likewise.
11668 * math/math.h: Likewise.
11669 * sysdeps/generic/_G_config.h: Likewise.
11670 * sysdeps/gnu/_G_config.h: Likewise.
11671 * sysdeps/mach/hurd/_G_config.h: Likewise.
11672 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11673 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11674 * sysdeps/sparc/bits/mathdef.h: Likewise.
11675
afc5ed09
UD
116762012-01-26 Ulrich Drepper <drepper@gmail.com>
11677
11678 [BZ #13583]
11679 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11680 Clean up HAS_* macros.
afc5ed09 11681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11682 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11683 possible.
11684 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11685 HAS_AVX.
11686 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11687 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11688 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11689 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11690 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11691
bdb6de1d
JM
116922012-01-25 Joseph Myers <joseph@codesourcery.com>
11693
11694 * elf/tst-unique3.cc (gets): Remove declaration.
11695 * elf/tst-unique3lib.cc (gets): Likewise.
11696 * elf/tst-unique3lib2.cc (gets): Likewise.
11697 * elf/tst-unique4.cc (gets): Likewise.
11698
b15549e6
UD
116992012-01-24 Ulrich Drepper <drepper@gmail.com>
11700
11701 * include/stdio.h: Add C++ protection. Add gets declarations and
11702 definitions.
11703 * debug/tst-chk1.c: Don't declare gets here.
11704 * stdio-common/tst-gets.c: Likewise.
11705
a037381f
JM
117062012-01-24 Joseph Myers <joseph@codesourcery.com>
11707
11708 * posix/glob: Remove directory.
11709
f1d4aa75
JM
117102012-01-24 Joseph Myers <joseph@codesourcery.com>
11711
11712 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11713
81c0c964
PT
117142012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11715
11716 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11717 of the non-standard EPFNOSUPPORT.
11718
0ea698ae
ST
117192011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11720
11721 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11722 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11723 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11724
d220b117
UD
117252012-01-21 Ulrich Drepper <drepper@gmail.com>
11726
11727 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11728
3e1aa84e
UD
117292012-01-20 Ulrich Drepper <drepper@gmail.com>
11730
11731 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11732 transient errors.
11733 * nscd/grpcache.c (cache_addgr): Likewise.
11734 * nscd/hstcache.c (cache_addhst): Likewise.
11735 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11736 * nscd/pwdcache.c (cache_addpw): Likewise.
11737 * nscd/servicescache.c (cache_addserv): Likewise.
11738
400aa020
UD
117392012-01-16 Ulrich Drepper <drepper@gmail.com>
11740
d77e7869
UD
11741 * malloc/malloc.c: Various cleanups.
11742 * malloc/hooks.c: Likewise.
11743
400aa020
UD
11744 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11745 * stdlib/bug-fmtmsg1.c: New file.
11746
11747 * stdlib/fmtmsg.c (init): Add missing unlock.
11748 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11749
e0a309cf
MP
117502012-01-12 Marek Polacek <polacek@redhat.com>
11751
11752 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11753 and _GNU_SOURCE.
11754
929d11c7
WS
117552012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11756
11757 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11758 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11759 macro to ensure uniqueness of label name.
11760 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11761 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11762
41d0e869
UD
117632012-01-11 Ulrich Drepper <drepper@gmail.com>
11764
0cc5ed3b
UD
11765 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11766
41d0e869
UD
11767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11768 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11769 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11771
a47a831a
UD
117722012-01-10 Ulrich Drepper <drepper@gmail.com>
11773
daa891c0
UD
11774 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11775
11776 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11777 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11779
e58ef0f2
UD
11780 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11781
a47a831a 11782 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11783 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11784 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11786
11787 * math/bits/math-finite.h: Add ldexp support.
11788
a0bfc9c7
MP
117892012-01-10 Marek Polacek <polacek@redhat.com>
11790
11791 * locale/programs/localedef.h (show_archive_content): Add noreturn
11792 attribute.
11793
d6e97a1d
UD
117942012-01-09 Ulrich Drepper <drepper@gmail.com>
11795
11796 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11797
d5835c26
UD
117982012-01-08 Ulrich Drepper <drepper@gmail.com>
11799
e5f484c6
UD
11800 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11801
d5835c26
UD
11802 * io/Makefile (headers): Add bits/poll2.h.
11803
d1f741e9
WS
118042011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11805
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11807 typo #include statement.
11808
ec09c1c4
UD
118092012-01-08 Ulrich Drepper <drepper@gmail.com>
11810
11811 * include/sys/cdefs.h: Define __attribute_alloc_size.
11812 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11813 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11814 * elf/pldd.c: Likewise.
11815 * iconv/iconv_charmap.c: Likewise.
11816 * iconv/iconvconfig.c: Likewise.
11817 * iconv/strtab.c: Likewise.
11818 * locale/programs/locale.c: Likewise.
11819 * locale/programs/localedef.h: Likewise.
11820 * locale/programs/simple-hash.c: Likewise.
11821 * nscd/nscd.h: Likewise.
11822 * nss/makedb.c: Likewise.
11823 * sysdeps/generic/ldconfig.h: Likewise.
11824 * locale/programs/localedef.c: Remove xmalloc prototype.
11825 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11826
20b38e03
PP
118272012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11828
11829 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11830 appropriate.
11831
a0da5fe1
UD
118322012-01-08 Ulrich Drepper <drepper@gmail.com>
11833
1d5a644a 11834 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11835 * math/tst-CMPLX.c: New file.
1d5a644a 11836
8784a6db
UD
11837 * math/complex.h (CMPLXL): Fix typo.
11838
d9a216c0
UD
11839 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11840 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11841 GLIBC_2.16.
11842 * debug/tst-chk1.c: Add poll and ppoll tests.
11843 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11844 * include/sys/poll.h: Add hidden proto for ppoll.
11845 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11846 * sysdeps/mach/hurd/ppoll.c: Likewise.
11847 * io/ppoll.c: Likewise.
11848 * debug/poll_chk.c: New file.
11849 * debug/ppoll_chk.c: New file.
11850 * include/bits/poll2.h: New file.
11851 * io/bits/poll2.h: New file.
11852
ac097f5c
UD
11853 [BZ #1350]
11854 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11855
2119dcfa
UD
11856 * configure.in: static is always set to yes. Remove.
11857 * config.make.in: Don't set build-static.
11858 * Makeconfig: Remove use of build-static.
11859 * dlfcn/Makefile: Likewise.
11860 * elf/Makefile: Likewise.
11861 * math/Makefile: Likewise.
11862 * misc/Makefile: Likewise.
11863 * nptl/Makefile: Likewise.
11864 * sysdeps/mach/hurd/Makefile: Likewise.
11865
121766a9
UD
11866 * configure.in: PWD_P is not used anymore.
11867 * config.make.in: Remove PWD_P entry.
11868
51a1d39c 11869 * configure.in: Remove last remnants of RANLIB.
8720d066 11870 No need to check for signed size_t anymore.
215f4bdc
UD
11871 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11872 and IA-64.
3857022a 11873 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11874 * aclocal.m4: Likewise.
11875
d3ed7225
UD
11876 * wcsmbs/mbrtoc16.c: Implement using towc function.
11877 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11878 * wcsmbs/wcsmbsload.c: Likewise.
11879 * iconv/gconv_simple.c: Likewise.
11880 * iconv/gconv_int.h: Likewise.
11881 * iconv/gconv_builtin.h: Likewise.
11882 * iconv/iconv_prog.c: Remove CHAR16 handling.
11883
11884 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11885
11886 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11887
a0da5fe1
UD
11888 * configure.in: Remove --with-elf and --enable-bounded options.
11889 Dont set base_machine for ia64. More non-ELF conditions removed.
11890 Remove testing and setting of leading underscore information.
11891 * config.make.in (build-bounded): Set to no.
11892 * config.h.in: Remove NO_UNDERSCORES entry.
11893 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11894 them.
11895 * csu/start.c: Remove !NO_UNDERSCORE code.
11896 * locale/localeinfo.h: Likewise.
11897 * sysdeps/generic/machine-gmon.h: Likewise.
11898 * sysdeps/generic/sysdep.h: Likewise.
11899 * sysdeps/i386/sysdep.h: Likewise.
11900 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11901 * sysdeps/mach/sysdep.h: Likewise.
11902 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11903 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11904 * sysdeps/sh/sysdep.h: Likewise.
11905 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11906 * sysdeps/unix/i386/sysdep.S: Likewise.
11907 * sysdeps/unix/sparc/start.c: Likewise.
11908 * sysdeps/unix/sparc/sysdep.S: Likewise.
11909 * sysdeps/unix/sparc/sysdep.h: Likewise.
11910 * sysdeps/unix/start.c: Likewise.
11911 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11912 * sysdeps/x86_64/sysdep.h: Likewise.
11913
df78418a
UD
119142012-01-07 Ulrich Drepper <drepper@gmail.com>
11915
a784e502
UD
11916 [BZ #13553]
11917 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11918 for non-gcc.
11919 * argp/argp-fmtstream.h: Use const instead __const.
11920 * argp/argp.h: Likewise.
11921 * assert/assert.h: Likewise.
11922 * bits/fenv.h: Likewise.
11923 * bits/sched.h: Likewise.
11924 * bits/sigset.h: Likewise.
11925 * bits/sigthread.h: Likewise.
11926 * catgets/nl_types.h: Likewise.
11927 * conform/data/pthread.h-data: Likewise.
11928 * crypt/crypt-private.h: Likewise.
11929 * crypt/crypt.h: Likewise.
11930 * crypt/crypt_util.c: Likewise.
11931 * ctype/ctype.h: Likewise.
11932 * debug/execinfo.h: Likewise.
11933 * debug/mbsnrtowcs_chk.c: Likewise.
11934 * debug/mbsrtowcs_chk.c: Likewise.
11935 * debug/wcsnrtombs_chk.c: Likewise.
11936 * debug/wcsrtombs_chk.c: Likewise.
11937 * debug/wcstombs_chk.c: Likewise.
11938 * dirent/dirent.h: Likewise.
11939 * dlfcn/dlfcn.h: Likewise.
11940 * elf/neededtest4.c: Likewise.
11941 * grp/grp.h: Likewise.
11942 * gshadow/gshadow.h: Likewise.
11943 * iconv/gconv.h: Likewise.
11944 * iconv/gconv_int.h: Likewise.
11945 * iconv/gconv_simple.c: Likewise.
11946 * iconv/iconv.h: Likewise.
11947 * iconv/loop.c: Likewise.
11948 * iconv/skeleton.c: Likewise.
11949 * include/aio.h: Likewise.
11950 * include/aliases.h: Likewise.
11951 * include/argz.h: Likewise.
11952 * include/arpa/inet.h: Likewise.
11953 * include/assert.h: Likewise.
11954 * include/dirent.h: Likewise.
11955 * include/dlfcn.h: Likewise.
11956 * include/execinfo.h: Likewise.
11957 * include/fcntl.h: Likewise.
11958 * include/fenv.h: Likewise.
11959 * include/glob.h: Likewise.
11960 * include/grp.h: Likewise.
11961 * include/libintl.h: Likewise.
11962 * include/mntent.h: Likewise.
11963 * include/netdb.h: Likewise.
11964 * include/pwd.h: Likewise.
11965 * include/rpc/netdb.h: Likewise.
11966 * include/sched.h: Likewise.
11967 * include/search.h: Likewise.
11968 * include/shadow.h: Likewise.
11969 * include/signal.h: Likewise.
11970 * include/stdio.h: Likewise.
11971 * include/stdlib.h: Likewise.
11972 * include/string.h: Likewise.
11973 * include/sys/socket.h: Likewise.
11974 * include/sys/stat.h: Likewise.
11975 * include/sys/statfs.h: Likewise.
11976 * include/sys/statvfs.h: Likewise.
11977 * include/sys/syslog.h: Likewise.
11978 * include/sys/time.h: Likewise.
11979 * include/sys/uio.h: Likewise.
11980 * include/time.h: Likewise.
11981 * include/unistd.h: Likewise.
11982 * include/utmp.h: Likewise.
11983 * include/wchar.h: Likewise.
11984 * include/wctype.h: Likewise.
11985 * inet/aliases.h: Likewise.
11986 * inet/arpa/inet.h: Likewise.
11987 * inet/netinet/ether.h: Likewise.
11988 * inet/netinet/in.h: Likewise.
11989 * intl/libintl.h: Likewise.
11990 * io/bits/fcntl2.h: Likewise.
11991 * io/fcntl.h: Likewise.
11992 * io/ftw.h: Likewise.
11993 * io/sys/poll.h: Likewise.
11994 * io/sys/stat.h: Likewise.
11995 * io/sys/statfs.h: Likewise.
11996 * io/sys/statvfs.h: Likewise.
11997 * io/utime.h: Likewise.
11998 * libio/bits/stdio.h: Likewise.
11999 * libio/bits/stdio2.h: Likewise.
12000 * libio/libio.h: Likewise.
12001 * libio/libioP.h: Likewise.
12002 * libio/stdio.h: Likewise.
12003 * locale/lc-ctype.c: Likewise.
12004 * locale/locale.h: Likewise.
12005 * login/utmp.h: Likewise.
12006 * malloc/arena.c: Likewise.
12007 * malloc/malloc.c: Likewise.
12008 * malloc/malloc.h: Likewise.
12009 * malloc/mcheck.c: Likewise.
12010 * malloc/mtrace.c: Likewise.
12011 * math/bits/mathcalls.h: Likewise.
12012 * math/fenv.h: Likewise.
12013 * math/math_private.h: Likewise.
12014 * misc/bits/error.h: Likewise.
12015 * misc/bits/syslog.h: Likewise.
12016 * misc/err.h: Likewise.
12017 * misc/error.h: Likewise.
12018 * misc/fstab.h: Likewise.
12019 * misc/mntent.h: Likewise.
12020 * misc/regexp.h: Likewise.
12021 * misc/search.h: Likewise.
12022 * misc/sgtty.h: Likewise.
12023 * misc/sys/mman.h: Likewise.
12024 * misc/sys/syslog.h: Likewise.
12025 * misc/sys/uio.h: Likewise.
12026 * misc/sys/xattr.h: Likewise.
12027 * misc/ttyent.h: Likewise.
12028 * nis/rpcsvc/ypclnt.h: Likewise.
12029 * nss/nss.h: Likewise.
12030 * posix/bits/unistd.h: Likewise.
12031 * posix/fnmatch.h: Likewise.
12032 * posix/glob.h: Likewise.
12033 * posix/sched.h: Likewise.
12034 * posix/spawn.h: Likewise.
12035 * posix/sys/wait.h: Likewise.
12036 * posix/unistd.h: Likewise.
12037 * posix/wordexp.h: Likewise.
12038 * pwd/pwd.h: Likewise.
12039 * resolv/netdb.h: Likewise.
12040 * resource/sys/resource.h: Likewise.
12041 * rt/aio.h: Likewise.
12042 * rt/bits/mqueue2.h: Likewise.
12043 * rt/mqueue.h: Likewise.
12044 * shadow/shadow.h: Likewise.
12045 * signal/signal.h: Likewise.
12046 * socket/send.c: Likewise.
12047 * socket/sendto.c: Likewise.
12048 * socket/sys/socket.h: Likewise.
12049 * stdio-common/printf.h: Likewise.
12050 * stdlib/bits/stdlib.h: Likewise.
12051 * stdlib/fmtmsg.h: Likewise.
12052 * stdlib/monetary.h: Likewise.
12053 * stdlib/stdlib.h: Likewise.
12054 * stdlib/ucontext.h: Likewise.
12055 * streams/stropts.h: Likewise.
12056 * string/argz.h: Likewise.
12057 * string/bits/string2.h: Likewise.
12058 * string/string.h: Likewise.
12059 * string/strings.h: Likewise.
12060 * sunrpc/rpc/auth.h: Likewise.
12061 * sunrpc/rpc/auth_des.h: Likewise.
12062 * sunrpc/rpc/clnt.h: Likewise.
12063 * sunrpc/rpc/netdb.h: Likewise.
12064 * sunrpc/rpc/pmap_clnt.h: Likewise.
12065 * sunrpc/rpc/xdr.h: Likewise.
12066 * sysdeps/generic/inttypes.h: Likewise.
12067 * sysdeps/generic/net/if.h: Likewise.
12068 * sysdeps/generic/sys/swap.h: Likewise.
12069 * sysdeps/gnu/net/if.h: Likewise.
12070 * sysdeps/gnu/utmpx.h: Likewise.
12071 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12072 * sysdeps/i386/i486/bits/string.h: Likewise.
12073 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12074 * sysdeps/s390/bits/string.h: Likewise.
12075 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12076 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12077 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12078 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12079 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12080 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12081 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12082 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12083 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12084 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12085 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12086 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12087 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12088 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12089 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12090 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12091 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12092 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12093 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12094 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12095 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12096 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12097 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12098 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12099 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12100 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12101 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12102 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12103 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12104 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12105 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12106 * sysvipc/sys/ipc.h: Likewise.
12107 * sysvipc/sys/msg.h: Likewise.
12108 * sysvipc/sys/sem.h: Likewise.
12109 * sysvipc/sys/shm.h: Likewise.
12110 * termios/termios.h: Likewise.
12111 * time/sys/time.h: Likewise.
12112 * time/time.h: Likewise.
12113 * wcsmbs/bits/wchar2.h: Likewise.
12114 * wcsmbs/uchar.h: Likewise.
12115 * wcsmbs/wchar.h: Likewise.
12116 * wctype/wctype.h: Likewise.
12117
0269750c
UD
12118 [BZ #13551]
12119 * Makeconfig: Remove all but ELF support including AIX support.
12120 * Makerules: Likewise.
12121 * config.h.in: Likewise.
12122 * config.make.in: Likewise.
12123 * configure: Likewise.
12124 * configure.in: Likewise.
12125 * csu/Makefile: Likewise.
12126 * csu/version.c: Likewise.
12127 * debug/Makefile: Likewise.
12128 * dlfcn/Makefile: Likewise.
12129 * elf/Makefile: Likewise.
12130 * extra-lib.mk: Likewise.
12131 * iconv/Makefile: Likewise.
12132 * include/libc-symbols.h: Likewise.
12133 * include/shlib-compat.h: Likewise.
12134 * resolv/Makefile: Likewise.
12135 * resolv/res_libc.c: Likewise.
12136 * rt/Makefile: Likewise.
12137 * sysdeps/i386/asm-syntax.h: Likewise.
12138 * sysdeps/i386/sysdep.h: Likewise.
12139 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12140 * sysdeps/mach/sysdep.h: Likewise.
12141 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12142 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12143 * sysdeps/s390/asm-syntax.h: Likewise.
12144 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12145 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12146 * sysdeps/sh/sysdep.h: Likewise.
12147 * sysdeps/unix/sparc/sysdep.h: Likewise.
12148 * sysdeps/wordsize-32/divdi3.c: Likewise.
12149 * sysdeps/x86_64/sysdep.h: Likewise.
12150
00bbd29b
UD
12151 * argp/Versions: Remove _argp_unlock_xxx.
12152
12153 [BZ #13559]
12154 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12155 * abilist/libBrokenLocale.abilist: Likewise.
12156 * abilist/libanl.abilist: Likewise.
12157 * abilist/libc.abilist: Likewise.
12158 * abilist/libcrypt.abilist: Likewise.
12159 * abilist/libdl.abilist: Likewise.
12160 * abilist/libm.abilist: Likewise.
12161 * abilist/libnsl.abilist: Likewise.
12162 * abilist/libpthread.abilist: Likewise.
12163 * abilist/libresolv.abilist: Likewise.
12164 * abilist/librt.abilist: Likewise.
12165 * abilist/libthread_db.abilist: Likewise.
12166 * abilist/libutil.abilist: Likewise.
12167 * abilist/libnss_db.abilist: New file.
12168
12169 * scripts/abilist.awk: Add support for indirect functions.
12170
a2693a0e
UD
12171 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12172
3f05895f
UD
12173 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12174
ecb6fb48
UD
12175 * shlib-versions: Remove entries for ports architectures.
12176
664f8cb9
UD
12177 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12178 files in ports.
12179 * elf/stackguard-macros.h: Remove support for IA-64.
12180 * elf/tst-auditmod1.c: Likewise.
12181 * sysdeps/generic/ldsodefs.h: Likewise.
12182
7ae81d88
UD
12183 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12184 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12185 configure files.
12186
bdeba135
UD
12187 [BZ #13552]
12188 * configure.in: Remove --enable-omitfp support.
12189 * FAQ.in: Adjust.
12190 * config.make.in: Likewise.
12191 * Makeconfig: Likewise.
12192 * manual/install.texi: Likewise.
12193
d75a0a62
UD
12194 In case anyone cares, the IA-64 architecture could move to ports.
12195 * sysdeps/ia64/*: Removed.
12196 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12197 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12198
dcc9756b
UD
12199 [BZ #13555]
12200 * configure.in: Remove entries for unsupported architectures.
12201
d3761ebc 12202 [BZ #13533]
9954432e
UD
12203 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12204 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12205 routines.
12206 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12207 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12208 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12209 fall back to using wcrtomb.
12210 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12211 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12212 renaming.
12213 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12214 * wcsmbs/tst-c16c32-1.c: New file.
12215
12216 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12217 local variable.
12218
c3a87236
UD
12219 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12220
28926a1b
UD
12221 * elf/tst-unique3.cc: Add explicit declaration of gets.
12222 * elf/tst-unique3lib.cc: Likewise.
12223 * elf/tst-unique3lib2.cc: Likewise.
12224 * elf/tst-unique4.cc: Likewise.
12225
df78418a
UD
12226 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12227
8ecd6b2a
JM
122282012-01-06 Joseph Myers <joseph@codesourcery.com>
12229
12230 [BZ #13566]
12231 * assert/assert.h (static_assert): Don't define for C++.
12232 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12233 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12234
9f115170
UD
122352012-01-03 Ulrich Drepper <drepper@gmail.com>
12236
5e0d0300
UD
12237 * iconv/loop.c (single loop): Fix assertion in storing of
12238 remaining bytes.
12239
9f115170
UD
12240 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12241
81fb02b0
UD
122422012-01-01 Ulrich Drepper <drepper@gmail.com>
12243
12244 * posix/getconf.c: Update copyright year.
12245 * nss/getent.c: Likewise.
a316c1f6 12246 * nss/makedb.c: Likewise.
81fb02b0
UD
12247 * iconv/iconvconfig.c: Likewise.
12248 * iconv/iconv_prog.c: Likewise.
12249 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12250 * elf/pldd.c: Likewise.
12251 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12252 * catgets/gencat.c: Likewise.
12253 * csu/version.c: Likewise.
12254 * elf/ldd.bash.in: Likewise.
12255 * elf/sprof.c (print_version): Likewise.
12256 * locale/programs/locale.c: Likewise.
12257 * locale/programs/localedef.c: Likewise.
a316c1f6 12258 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12259 * nscd/nscd.c (print_version): Likewise.
12260 * debug/xtrace.sh: Likewise.
12261 * malloc/memusage.sh: Likewise.
12262 * malloc/mtrace.pl: Likewise.
12263 * debug/catchsegv.sh: Likewise.
12264
2ba92745
JJ
122652011-12-30 Jakub Jelinek <jakub@redhat.com>
12266
12267 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12268 pure attribute.
12269
dadebdae
UD
122702011-12-24 Ulrich Drepper <drepper@gmail.com>
12271
d3761ebc 12272 [BZ #13533]
db6af3eb
UD
12273 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12274 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12275 transformations.
12276 * iconv/gconv_int.h: Likewise.
12277 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12278 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12279 from libc for GLIBC_2.16.
12280 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12281 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12282 * wcsmbs/uchar.h: Really define mbstate_t.
12283 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12284 * wcsmbs/c16rtomb.c: New file.
12285 * wcsmbs/mbrtoc16.c: New file.
12286 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12287 for C/POSIX locale.
12288 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12289 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12290
dadebdae
UD
12291 * wcsmbs/wchar.h: Add missing __restrict.
12292
67371b56
UD
122932011-12-23 Ulrich Drepper <drepper@gmail.com>
12294
74033a25
UD
12295 [BZ #13532]
12296 * time/Makefile (routines): Add timespec_get.
12297 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12298 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12299 timespec for ISO C11.
12300 * time/timespec_get.c: New file.
12301 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12302 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12303
380d7e87
UD
12304 [BZ #13531]
12305 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12306 * stdlib/stdlib.h: Declare aligned_alloc.
12307 * Versions.def: Add GLIBC_2.16 for libc.
12308 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12309
4e9e7a35
UD
12310 [BZ 13527]
12311 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12312 ISO C11.
12313
380d7e87 12314 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12315 code.
12316
03a71829
UD
12317 [BZ #13528]
12318 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12319
839e283e
UD
12320 [BZ #13529]
12321 * assert/assert.h (static_assert): Define.
12322
ce5294e2 12323 * version.h: Update for 2.16 development version.
90fa7312 12324
8d44e150 12325 [BZ #13526]
d7809905
UD
12326 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12327 _ISOC11_SOURCE.
12328
c0da14cd
UD
12329 * version.h (RELEASE): Bump for 2.15 release.
12330 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12331
530a3249
MP
12332 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12333 Patch by Marek Polacek <mpolacek@redhat.com>.
12334
67371b56
UD
12335 * bits/byteswap.h: Protect long long constants with __extension__.
12336 * sysdeps/i386/bits/byteswap.h: Likewise.
12337 * sysdeps/ia64/bits/byteswap.h: Likewise.
12338 * sysdeps/s390/bits/byteswap.h: Likewise.
12339 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12340
15db4de1
LD
123412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12342
12343 [BZ #13540]
bbe315ea
LD
12344 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12345 destination buffer.
15db4de1
LD
12346 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12347
2b2596b1
MP
123482011-12-23 Marek Polacek <polacek@redhat.com>
12349
12350 * elf/dl-addr.c (determine_info): Add inline keyword.
12351 * elf/tst-auditmod4b.c (check_avx): Likewise.
12352 * elf/tst-auditmod6b.c (check_avx): Likewise.
12353 * elf/tst-auditmod6c.c (check_avx): Likewise.
12354 * elf/tst-auditmod7b.c (check_avx): Likewise.
12355
70c6c246
UD
123562011-12-23 Ulrich Drepper <drepper@gmail.com>
12357
12358 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12359 !__SSE_MATH__.
12360
c044cf14
LD
123612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12362
15db4de1 12363 [BZ #13540]
c044cf14
LD
12364 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12365 processing for last bytes.
12366
6b13d9d9
BH
123672011-08-06 Bruno Haible <bruno@clisp.org>
12368
d455f537
BH
12369 [BZ #13061]
12370 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12371 U+0385, not to U+1FEE.
12372
6b13d9d9
BH
12373 [BZ #13062]
12374 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12375 entry for U+00A5 U+0301.
12376
db910efd
UD
123772011-12-22 Ulrich Drepper <drepper@gmail.com>
12378
27deeafc
UD
12379 [BZ #13166]
12380 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12381 buffer for the output is too small.
12382
aed9d171
UD
12383 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12384 optimization.
12385
db910efd
UD
12386 [BZ #13185]
12387 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12388 SSE flags if possible.
12389
2bd779ae
LD
123902011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12391
e7f9dac3 12392 [BZ #13540]
2bd779ae
LD
12393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12394 processing for last bytes.
12395
154bfc16
JM
123962011-12-22 Joseph Myers <joseph@codesourcery.com>
12397
12398 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12399 (syscall-list-default-options, syscall-list-default-condition)
12400 (syscall-list-includes): Define.
12401 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12402 list of ABIs and options and #if conditions for each ABI. Do not
12403 handle common syscalls between ABIs specially.
12404 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12405 Remove.
12406 (syscall-list-variants, syscall-list-32bit-options)
12407 (syscall-list-32bit-condition, syscall-list-64bit-options)
12408 (syscall-list-64bit-condition): Define.
12409 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12410 (syscall-list-variants, syscall-list-32bit-options)
12411 (syscall-list-32bit-condition, syscall-list-64bit-options)
12412 (syscall-list-64bit-condition): Define.
12413 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12414 Remove.
12415 (syscall-list-variants, syscall-list-32bit-options)
12416 (syscall-list-32bit-condition, syscall-list-64bit-options)
12417 (syscall-list-64bit-condition): Define.
12418 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12419 Remove.
12420 (syscall-list-variants, syscall-list-32bit-options)
12421 (syscall-list-32bit-condition, syscall-list-64bit-options)
12422 (syscall-list-64bit-condition): Define.
12423
21eaf3a5
UD
124242011-12-22 Ulrich Drepper <drepper@gmail.com>
12425
16c6f992
UD
12426 * locale/iso-639.def: Add brx entry.
12427
41043168
UD
12428 [BZ #13328]
12429 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12430 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12431
21eaf3a5
UD
12432 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12433 __feraiseexcept_renamed.
12434
e3a851a2
UD
124352011-12-21 Ulrich Drepper <drepper@gmail.com>
12436
4920765e
UD
12437 [BZ #13538]
12438 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12439 EPOLLET with unsigned values.
12440 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12441 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12442
e3a851a2
UD
12443 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12444 to large cancellation.
12445 * math/s_cacoshf.c: Likewise.
12446 * math/s_cacoshl.c: Likewise.
12447
b27e24b8
RK
124482011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12449
12450 [BZ #13305]
aebefeee 12451 [BZ #12786]
b27e24b8
RK
12452 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12453 * math/s_cacoshf.c: Likewise.
12454 * math/s_cacoshl.c: Likewise.
12455
ee190f67
UD
124562011-12-21 Ulrich Drepper <drepper@gmail.com>
12457
12458 [BZ #13439]
12459 * iconv/gconv.h: Define __GCONV_SWAP.
12460 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12461 * iconvdata/utf-16.c: Likewise.
12462 * iconvdata/utf-32.c: Likewise.
12463
707f25df
AS
124642011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12465
12466 [BZ #13524]
12467 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12468 numerator after shifting it by one limb.
12469
d2daaa1e
RÁE
124702011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12471
12472 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12473 under [__USE_EXTERN_INLINES].
12474
a4647e72
UD
124752011-12-17 Ulrich Drepper <drepper@gmail.com>
12476
12477 [BZ #13446]
12478 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12479
f0b264f1
AZ
124802011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12481
12482 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12483 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12484 optimized code.
12485 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12486 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12487 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12488 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12489 for strncasecmp/strncasecmp_l compilation.
12490 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12491 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12492
8ef4f244
MP
124932011-12-08 Marek Polacek <mpolacek@redhat.com>
12494
12495 [BZ #13484]
12496 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12497 of __asm__.
12498
97ac2654
UD
124992011-12-17 Ulrich Drepper <drepper@gmail.com>
12500
12501 [BZ #13506]
12502 * time/tzfile.c (__tzfile_read): Check values from file header.
12503
91d2a845
WS
125042011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12505
12506 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12507 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12508 * powerpc/powerpc32/dl-start.S: Likewise.
12509 * powerpc/powerpc32/elf/start.S: Likewise.
12510 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12511 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12512 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12513 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12514 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12515 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12516 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12517 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12518 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12519 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12520 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12521 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12522 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12523 * powerpc/powerpc32/memset.S: Likewise.
12524 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12525 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12526 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12527 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12528 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12529 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12530 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12531 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12532 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12533 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12534 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12535 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12536 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12537
a1267ba1
AZ
125382011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12539
12540 * math/libm-test.inc: Added more nearbyint tests.
12541 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12542 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12543 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12544 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12545
ad8ac1bd
RL
125462011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12547
12548 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12549 FD_CLOEXEC.
12550
1d3e4b61
UD
125512011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12552
12553 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12554 Add wcscpy-ssse3 wcscpy-c.
12555 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12556 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12557 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12558 * sysdeps/x86_64/wcschr.S: New file.
12559 * sysdeps/x86_64/wcsrchr.S: New file.
12560 * string/test-strcmp.c: Remove checking of wcscmp function for
12561 wrong alignments.
12562 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12563 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12564 wcsrchr-sse2 wcsrchr-c.
12565 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12566 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12567 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12568 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12569 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12570 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12571 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12572 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12573 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12574 * wcsmbc/wcschr.c (WCSCHR): New macro.
12575
5b330a2d
UD
125762011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12577
12578 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12579 * wcsmbs/test-wcsrchr.c: New file.
12580 * string/test-strrchr.c: Add wcsrchr support.
12581 (WIDE): New macro.
12582 * wcsmbs/test-wcscpy.c: New file.
12583 * string/test-strcpy.c: Add wcscpy support.
12584 (WIDE): New macro.
26428b7c 12585
f039c043
UD
125862011-12-10 Ulrich Drepper <drepper@gmail.com>
12587
12588 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12589 the inner loop.
12590
850fb039
AS
125912011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12592
12593 [BZ #13472]
12594 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12595
4efbd5cb
UD
125962011-12-04 Ulrich Drepper <drepper@gmail.com>
12597
52ff5dd0 12598 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12599 Minor optimizations.
52ff5dd0 12600
4efbd5cb
UD
12601 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12602 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12603 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12604
8a426e12
UD
126052011-12-03 Ulrich Drepper <drepper@gmail.com>
12606
aff2453d
UD
12607 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12608 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12609 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12610 for gcc to avoid warnings.
12611 * inet/Makefile (tests): Add tst-checks.
12612 * inet/tst-checks.c: New file.
12613
12614 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12615 warning.
12616
12617 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12618 __wmemcmp_sse2.
12619
12620 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12621 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12622
8a426e12
UD
12623 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12624
9bea3473
UD
126252011-12-02 Ulrich Drepper <drepper@gmail.com>
12626
3a965496
UD
12627 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12628 problem.
12629
9bea3473
UD
12630 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12631
f101631b
UD
126322011-11-29 Joseph Myers <joseph@codesourcery.com>
12633
12634 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12635 conditional on GCC version.
12636 (__arch_compare_and_exchange_val_8_acq)
12637 (__arch_compare_and_exchange_val_16_acq)
12638 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12639 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12640 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12641
a98275aa
UD
126422011-12-02 Joseph Myers <joseph@codesourcery.com>
12643
12644 * sysdeps/sh/backtrace.c: New file.
12645
d4cc29a2
AS
126462011-12-02 Andreas Schwab <schwab@redhat.com>
12647
12648 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12649 parenthesis.
12650
6257af2d
AS
126512011-12-01 Andreas Schwab <schwab@redhat.com>
12652
12653 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12654 falling back to utime.
12655
b5f44c1a
AS
126562011-11-30 Andreas Schwab <schwab@redhat.com>
12657
12658 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12659 expectations for float.
12660
f3a6cc0a
AS
126612011-11-29 Andreas Schwab <schwab@redhat.com>
12662
12663 * locale/weight.h (findidx): Add parameter len.
12664 * locale/weightwc.h (findidx): Likewise.
12665 * posix/fnmatch_loop.c (FCT): Adjust caller.
12666 * posix/regcomp.c (build_equiv_class): Likewise.
12667 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12668 * posix/regexec.c (check_node_accept_bytes): Likewise.
12669 * string/strcoll_l.c (STRCOLL): Likewise.
12670 * string/strxfrm_l.c (STRXFRM): Likewise.
12671
9d65ea3a
UD
126722011-11-17 Ulrich Drepper <drepper@gmail.com>
12673
12674 * Makefile.in: Remove CVSOPT handling.
12675 * configure.in: Remove use of AC_REVISION.
12676 * iconvdata/Makefile (distribute): No need to filter out CVS.
12677 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12678 handling.
12679
5583a086
AS
126802011-11-16 Andreas Schwab <schwab@redhat.com>
12681
12682 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12683 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12684 [USE_AS_STRNCASECMP_L]: Likewise.
12685 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12686 NO_TLS_DIRECT_SEG_REFS.
12687 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12688 Fix argument offsets for non-PIC.
12689 [USE_AS_STRNCASECMP_L]: Likewise.
12690 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12691 NO_TLS_DIRECT_SEG_REFS.
12692
d62a8200
UD
126932011-11-15 Ulrich Drepper <drepper@gmail.com>
12694
9d65ea3a 12695 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12696 O_CLOEXEC.
12697 * locale/loadlocale.c (_nl_load_locale): Likewise.
12698
09f93bd3
AS
126992011-11-15 Andreas Schwab <schwab@redhat.com>
12700
446514f9
AS
12701 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12702 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12703 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12704 (SYSCALL_GETTIME): Set errno on error.
12705
09f93bd3
AS
12706 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12707 count references to noai6ai_cached.
12708
312be3f9
UD
127092011-11-15 Ulrich Drepper <drepper@gmail.com>
12710
12711 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12712
12713 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12714 FD_CLOEXEC for /proc/self/maps.
12715
12716 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12717 FD_CLOEXEC for /proc/meminfo.
12718
12719 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12720 gai.conf.
12721
12722 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12723 FD_CLOEXEC for given file.
12724
12725 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12726
12727 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12728 FD_CLOEXEC for /etc/hosts.
12729 (_gethtent): Likewise.
12730
12731 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12732
12733 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12734 cancellation and set FD_CLOEXEC for /etc/netgroup.
12735
12736 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12737 reading /etc/publickey.
12738
12739 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12740 allow cancellation when reading /etc/group.
12741
12742 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12743 cancellation.
12744 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12745
12746 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12747 when using data file.
12748
12749 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12750
12751 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12752 (write_nis_obj): Use "c" and "e" in fopen.
12753
12754 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12755
12756 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12757
12758 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12759
12760 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12761
12762 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12763 locale.alias.
12764
12765 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12766
12767 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12768
12769 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12770
12771 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12772 file parsing and set FD_CLOEXEC.
12773
82af0fa8
UD
127742011-11-14 Ulrich Drepper <drepper@gmail.com>
12775
12776 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12777
a5fb313c
AS
127782011-11-14 Andreas Schwab <schwab@redhat.com>
12779
12780 * malloc/arena.c (arena_get2): Don't call reused_arena when
12781 _int_new_arena failed.
12782
6abf3465
UD
127832011-11-14 Ulrich Drepper <drepper@gmail.com>
12784
12785 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12786 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12787 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12788 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12789 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12790 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12791 to compile strcasecmp and strncasecmp.
12792 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12793 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12794
12795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12796
76e3966e
UD
127972011-11-13 Ulrich Drepper <drepper@gmail.com>
12798
12799 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12800 locale-defines.sym to gen-as-const-headers.
12801 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12802 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12803 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12804 to compile strcasecmp and strncasecmp.
12805 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12806 strcasecmp_l and strncasecmp_l.
12807 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12808 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12809 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12810 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12811 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12812 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12813 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12814 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12815 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12816 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12817 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12818
ab26144e
UD
128192011-11-12 Ulrich Drepper <drepper@gmail.com>
12820
7edb22ef
UD
12821 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12822 result of SYSDEP_GETTIME_CPU to retval.
12823 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12824 parameter list to macro. Remove trailing semicolon. Adjust users.
12825
9694fc44
UD
12826 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12827 variable.
12828
8ad89ef8
UD
12829 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12830 mantissa words.
12831 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12832
0c822ef9
UD
12833 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12834 from unused variable.
12835
874e0564
UD
12836 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12837 DWARF definitions.
12838 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12839 for assembling.
12840
3a2edc79
UD
12841 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12842 over namespaces.
12843
f3c2577f
UD
12844 * sunrpc/rpc_prot.c (rejected): Fix case value.
12845
294ce126
UD
12846 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12847 unsigned long long int to avoid warnings in shift.
12848
5e2b63c6
UD
12849 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12850 of use of trans.
12851 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12852 variable tmp.
12853
e7f4b08e
UD
12854 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12855 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12856 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12857
ab26144e
UD
12858 * nis/nis_table.c (nis_list): Use variable of correct type for
12859 result of __follow_path call.
12860
8a6d5255
AZ
128612011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12862
12863 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12864 of math functions ceil, trunc, floor, round, and sqrt, when
12865 avaliable on the platform.
12866 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12867 name clash.
12868 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12869 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12870 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12871
aaddc98c
MP
128722011-10-30 Marek Polacek <mpolacek@redhat.com>
12873
12874 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12875 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12876
95b7042b
RM
128772011-11-11 Roland McGrath <roland@hack.frob.com>
12878
12879 * include/unistd.h: Fix __readlink return type.
12880 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12881
57769839
UD
128822011-11-11 Ulrich Drepper <drepper@gmail.com>
12883
12884 * stdlib/ucontext.h: Undo last change for makecontext.
12885
edc5984d
AS
128862011-11-11 Andreas Schwab <schwab@redhat.com>
12887
98591e58
AS
12888 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12889
edc5984d
AS
12890 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12891 * setjmp/setjmp.h: Mark functions as non-leaf.
12892 * setjmp/bits/setjmp2.h: Likewise.
12893 * stdlib/ucontext.h: Likewise.
12894
77cdc054
AS
128952011-11-10 Andreas Schwab <schwab@redhat.com>
12896
12897 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12898 (reused_arena): Don't check arena limit.
12899 (arena_get2): Atomically check arena limit.
12900
fe72eebd
UD
129012011-11-08 Ulrich Drepper <drepper@gmail.com>
12902
5f078c32
UD
12903 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12904 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12905
fe72eebd
UD
12906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12907 instructions.
12908
ae1bc2fa
AS
129092011-11-07 Andreas Schwab <schwab@redhat.com>
12910
7583a88d
AS
12911 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12912 handler when locking.
12913
ae1bc2fa
AS
12914 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12915 Fix size of allocated buffer.
12916
10fb0bfa
AS
129172011-11-04 Andreas Schwab <schwab@redhat.com>
12918
998832a4
AS
12919 [BZ #10103]
12920 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12921 declarations for long double functions.
12922 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12923
10fb0bfa
AS
12924 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12925
3d7ba52b
AS
129262011-11-03 Andreas Schwab <schwab@redhat.com>
12927
a9ae54a1
AS
12928 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12929 installed.
12930
3d7ba52b
AS
12931 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12932 is disabled.
12933
bc8db248
ST
129342011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12935
12936 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12937
45b96dd6
AS
129382011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12939
647776f6
AS
12940 * include/alloca.h (stackinfo_alloca_round): Define.
12941 (extend_alloca): Use it.
12942 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12943 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12944 here.
12945
d91a8b93
AS
12946 * scripts/check-local-headers.sh: Ignore libaudit.h.
12947
45b96dd6
AS
12948 * nscd/Makefile (extra-objs): Make recursively expanded.
12949
432d41ce
UD
129502011-11-01 Ulrich Drepper <drepper@gmail.com>
12951
34372fc6
UD
12952 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12954
fadb59f8
UD
12955 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12956 * posix/tst-rfc3484-2.c: Likewise.
12957 * posix/tst-rfc3484-3.c: Likewise.
12958
78239589
UD
12959 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12960 process_vm_writev.
12961 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12962 process_vm_writev.
12963 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12964 process_vm_writev from libc using GLIBC_2.15 version.
12965
432d41ce
UD
12966 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12967
02f9c6cf
PP
129682011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12969
12970 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12971 stack usage.
12972
3a2c0242
UD
129732011-10-31 Ulrich Drepper <drepper@gmail.com>
12974
f4ec4833
UD
12975 [BZ #13367]
12976 * nss/getent.c (initgroups_keys): Show error message in case no group
12977 names are given.
12978
3a2c0242
UD
12979 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12980 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12981 __bump_nl_timestamp.
12982 * nscd/connections (nscd_init): When host database is served open
12983 netlink socket and request notification about configuration changes.
12984 (main_loop_poll): Track netlink file descriptor and bump timestamp
12985 in case data becomes available.
12986 (main_loop_epoll): Likewise.
12987 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12988 (database_pers_head): Add extra_data fileds.
12989 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12990 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12991 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12992 Adjust caller.
12993 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12994 in6ai data, call __free_in6ai.
12995 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12996 Add -DHAVE_NETLINK.
12997 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12998 interface information. Reuse previous data if netlink timestamp
12999 is not changed.
13000 (__bump_nl_timestamp): New function.
13001 (__free_in6ai): New function.
13002
636064eb
UD
130032011-10-30 Ulrich Drepper <drepper@gmail.com>
13004
13005 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13006 close_not_cancel_no_status here.
13007 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13008
9beb2334
UD
130092011-10-29 Ulrich Drepper <drepper@gmail.com>
13010
6ef76f3b
UD
13011 [BZ #13276]
13012 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13013 return value.
13014
0ffc4f3e 13015 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13016 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13017 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13018
cb95113e
UD
130192011-07-03 Andreas Jaeger <aj@suse.de>
13020
13021 [BZ #10709]
13022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13023 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13024 * math/libm-test.inc (sin_test): Add test case.
13025
a1b560ff
UD
130262011-10-29 Ulrich Drepper <drepper@gmail.com>
13027
c9aaface
UD
13028 [BZ #13337]
13029 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13030 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13031
d272e7f1
UD
13032 * elf/chroot_canon.c (chroot_canon): Cleanups.
13033
1bc33071
UD
13034 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13035
1760874d
TJ
13036 [BZ #13335]
13037 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13038 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13039
51d91b18
UD
13040 * string/test-strchr.c: Make usable for strchrnul testing.
13041 * string/test-strchrnul.c: New file.
13042 * string/Makefile (strop-tests): Add strchrnul.
13043
a1b560ff 13044 * po/it.po: Update from translation team.
b611fb81 13045 * po/es.po: Likewise.
a1b560ff 13046
a5b81e1f
UD
130472011-10-28 Ulrich Drepper <drepper@gmail.com>
13048
fd52bc6d
UD
13049 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13050 the three constants needed as parameters. Drop the others.
13051 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13052 __m128i_strloadu_tolower.
52e4b9eb
UD
13053 Create and initialize variable zero and use it in all the places
13054 where _mm_setzero_si128 was used.
fd52bc6d 13055
a5b81e1f
UD
13056 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13057 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13058 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13059 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13060 anymore.
13061 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13062 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13063 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13064 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13065 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13066 __mpranred, __mptan.
13067 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13068 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13069 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13070 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13071 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13072 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13073 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13074 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13075 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13076
b4343346
AS
130772011-10-28 Andreas Schwab <schwab@redhat.com>
13078
0c92d8a8
AS
13079 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13080 redefine if SHARED.
13081 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13082
b4343346
AS
13083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13084 wide char related routines to wcsmbs subdir.
13085
3871f58f
AS
130862011-10-27 Andreas Schwab <schwab@redhat.com>
13087
13088 [BZ #13344]
13089 * misc/sys/cdefs.h (__THROWNL): Define.
13090 * posix/unistd.h: Use __THREADNL instead of __THREAD
13091 for memory synchronization functions.
13092
94d44d9f
RM
130932011-10-26 Roland McGrath <roland@hack.frob.com>
13094
21b64b15 13095 [BZ #13349]
94d44d9f
RM
13096 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13097 doesn't exist.
13098 * manual/stdio.texi (Obstack Streams): Node removed.
13099
f6ce9294
AS
131002011-10-26 Andreas Schwab <schwab@redhat.com>
13101
80479147
AS
13102 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13103 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13104 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13105
f6ce9294
AS
13106 * math/math_private.h (math_force_eval): Allow non-addressable
13107 arguments.
13108 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13109
618280a1
UD
131102011-10-25 Ulrich Drepper <drepper@gmail.com>
13111
e0016b11
UD
13112 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13113 file is not needed.
13114
13115 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13116 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13117 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13118 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13119 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13120 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13121 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13122 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13123 Add AVX variants.
13124 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13125 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13126 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13127 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13128 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13129 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13130 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13131 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13132 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13133 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13134 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13135 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13136 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13137 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13138 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13139 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13140 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13141 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13142 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13143
13144 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13145 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13146
618280a1
UD
13147 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13148 place. Use VEX encoding when compiling for AVX.
13149
37822576
AS
131502011-10-25 Andreas Schwab <schwab@redhat.com>
13151
1f1e1947
AS
13152 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13153 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13154
37822576
AS
13155 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13156
31ea014d
UD
131572011-10-25 Ulrich Drepper <drepper@gmail.com>
13158
d7826aa1 13159 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13160 useless if() expression.
d7826aa1
UD
13161 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13166 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13167 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13168 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13169 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13170 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13171 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13172 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13173 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13174 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13175 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13176 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13177 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13179 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13180
31ea014d
UD
13181 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13182
16437fec
AS
131832011-10-25 Andreas Schwab <schwab@redhat.com>
13184
13185 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13186 condition.
13187 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13188
31d3cc00
UD
131892011-10-25 Ulrich Drepper <drepper@gmail.com>
13190
13191 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13192 .text section. Avoid duplicate constants.
13193 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13203 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13205 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13208 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13210 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13216 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13217 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13218 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13219 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13220 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13221 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13222 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13223 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13224 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13225 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13226 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13227 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13228 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13229 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13230 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13231 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13232 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13233 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13234 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13235 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13236 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13237 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13238
58985aa9
UD
132392011-10-24 Ulrich Drepper <drepper@gmail.com>
13240
202c9deb
UD
13241 * sysdeps/x86_64/dla.h: Move to ...
13242 * sysdeps/x86_64/fpu/dla.h: ...here.
13243 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13244 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13245
af968f62
UD
13246 * config.make.in: Add have-mfma4 entry.
13247 * configure.in: Substitute libc_cv_cc_fma4.
13248 * math/Makefile (dbl-only-routines): Add sincostab.
13249 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13250 Use __sincostab not sincos.
13251 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13252 name is a macro.
13253 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13257 using __copysign.
13258 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13259 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13260 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13261 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13262 and __inv.
13263 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13264 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13265 __copysign.
13266 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13267 define aliases when function name is a macro.
13268 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13269 sysdeps/ieee754/dbl-64/sincos.tbl.
13270 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13271 fma4-enabled routines.
13272 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13273 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13274 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13275 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13276 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13277 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13278 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13279 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13281 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13282 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13283 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13284 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13285 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13286 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13287 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13288 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13289 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13290 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13291 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13292 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13293 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13294 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13295 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13297 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13298 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13299 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13300 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13301 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13302
58985aa9
UD
13303 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13304 rename.
13305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13313
a201fbcf
AS
133142011-10-24 Andreas Schwab <schwab@redhat.com>
13315
13316 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13317
fc2ee42a
LD
133182011-10-23 Ulrich Drepper <drepper@gmail.com>
13319
bb3129bd
UD
13320 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13321
0275fff8
UD
13322 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13323 prediction.
13324 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13325
2fa2ae85
UD
13326 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13327 Remove unused variable magic_bits.
13328 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13329
fc2ee42a
LD
13330 * string/strnlen.c: Define and use STRNLEN macro.
13331 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13332 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13333 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13334 * wcsmbs/wcslen.c: Define and use WCSLEN.
13335 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13336 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13337 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13338 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13339 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13340 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13341 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13342
ce7dd29f
LD
133432011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13344
13345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13346 strnlen-sse2-no-bsf.
13347 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13348 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13349 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13350 Add strnlen support.
13351 (USE_AS_STRNLEN): New macro.
13352 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13353 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13354 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13355 * sysdeps/x86_64/wcslen.S: New file.
13356
979c70a3
MZ
133572011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13358
13359 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13360 XMM-moves are used for copying on small sizes.
13361
2d09f82f
LD
133622011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13363
13364 * wcsmbs/Makefile (strop-tests): Add wcschr.
13365 * wcsmbs/test-wcschr.c: New file.
13366 * string/test-strchr.c: Update.
13367 Add wcschr support.
13368 (WIDE): New macro.
13369
619fccca
LD
133702011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13371
2d09f82f 13372 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13373 * wcsmbs/test-wcslen.c: New file.
13374 * string/test-strlen.c: Update.
13375 Add wcslen support.
13376 (WIDE): New macro.
13377
09f699ea
UD
133782011-10-23 Ulrich Drepper <drepper@gmail.com>
13379
13380 * po/it.po: Update from translation team.
13381
95584d3b
LD
133822011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13383
13384 * sysdeps/x86_64/wcscmp.S: Update.
13385 Fix wrong comparison semantics.
13386 wcscmp shall use signed comparison not unsigned.
13387 Don't use substraction to avoid overflow bug.
13388 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13389 * wcsmbc/wcscmp.c: Likewise.
13390 * string/test-strcmp.c: Likewise.
13391 Add new tests to check cases with negative values.
13392
c8b3296b
UD
133932011-10-23 Ulrich Drepper <drepper@gmail.com>
13394
13395 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13396 * sysdeps/x86_64/dla.h: ...here. New file.
13397 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13402 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13406
246ad57a
AS
134072011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13408
13409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13410 __ynl_finite aliases.
13411
a1a87169
UD
134122011-10-22 Ulrich Drepper <drepper@gmail.com>
13413
0d355eb7
UD
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13415
a1a87169
UD
13416 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13417 define DLA_FMA.
13418 [DLA_FMA] (EMULV): Use DLA_FMA.
13419 [DLA_FMA] (MUL12): Use EMULV.
13420 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13421 that are not needed.
13422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13429
ee2aafe0
AS
134302011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13431
13432 * math/s_nan.c: Undef __nan.
13433 * math/s_nanf.c: Undef __nanf.
13434 * math/s_nanl.c: Undef __nanl.
13435 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13436 "math_private.h".
13437
bc62c2fb
UD
134382011-10-22 Ulrich Drepper <drepper@gmail.com>
13439
77425c63
UD
13440 * math/s_catan.c: Add branch predictions.
13441 * math/s_catanf.c: Likewise.
13442 * math/s_catanh.c: Likewise.
13443 * math/s_catanhf.c: Likewise.
13444 * math/s_catanhl.c: Likewise.
13445 * math/s_catanl.c: Likewise.
13446 * math/s_cexp.c: Likewise.
13447 * math/s_cexpf.c: Likewise.
13448 * math/s_cexpl.c: Likewise.
13449 * math/s_clog.c: Likewise.
13450 * math/s_clog10.c: Likewise.
13451 * math/s_clog10f.c: Likewise.
13452 * math/s_clog10l.c: Likewise.
13453 * math/s_clogf.c: Likewise.
13454 * math/s_clogl.c: Likewise.
13455 * math/s_csqrt.c: Likewise.
13456 * math/s_csqrtf.c: Likewise.
13457 * math/s_csqrtl.c: Likewise.
13458 * math/s_ctanf.c: Likewise.
13459 * math/s_ctanh.c: Likewise.
13460 * math/s_ctanhf.c: Likewise.
13461 * math/s_ctanhl.c: Likewise.
13462 * math/s_ctanl.c: Likewise.
13463
bc62c2fb
UD
13464 * math/math_private.h: Define __nan, __nanf, __nanl.
13465 * math/s_cacosh.c: Include <math_private.h>.
13466 * math/s_cacoshl.c: Likewise.
13467 * math/s_casinh.c: Likewise.
13468 * math/s_casinhf.c: Likewise.
13469 * math/s_casinhl.c: Likewise.
13470 * math/s_ccos.c: Rely entire on ccosh.
13471 * math/s_ccosf.c: Rely entire on ccoshf.
13472 * math/s_ccosl.c: Rely entirely on ccoshl.
13473 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13474 Remove tests for FE_INVALID.
13475 * math/s_ccoshf.c: Likewise.
13476 * math/s_ccoshl.c: Likewise.
13477 * math/s_csin.c: Likewise.
13478 * math/s_csinf.c: Likewise.
13479 * math/s_csinh.c Likewise.
13480 * math/s_csinhf.c: Likewise.
13481 * math/s_csinhl.c: Likewise.
13482 * math/s_csinl.c: Likewise.
13483 * math/s_ctan.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13485 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13486 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13487
8ec250a4
UD
134882011-10-21 Ulrich Drepper <drepper@gmail.com>
13489
c196fed8
UD
13490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13491 compilation problems.
13492
8ec250a4
UD
13493 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13494 __builtin_expect.
13495
8d4f46c6
UD
134962011-10-20 Ulrich Drepper <drepper@gmail.com>
13497
ed72b654
UD
13498 * sysdeps/i386/configure.in: Test for -mfma4 option.
13499 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13500 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13501 COMMON_CPUID_INDEX_80000001.
13502 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13503 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13504 use it if FMA3 is not supported.
13505 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13506
8d4f46c6
UD
13507 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13508 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13509
d45c60c2
AS
135102011-10-20 Andreas Schwab <schwab@redhat.com>
13511
13512 [BZ #12892]
13513 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13514 it would create a cycle with a link time dependency.
13515
d9a4d2ab
UD
135162011-10-19 Ulrich Drepper <drepper@gmail.com>
13517
855d1560
UD
13518 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13519 instruction.
13520 * string/Makefile (strop-tests): Add rawmemchr.
13521 * string/test-rawmemchr.c: New file.
13522
d9a4d2ab
UD
13523 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13524 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13525 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13526 when compiling str{,n}casecmp and when AVX is available. Hook up
13527 new optimized code in initializers.
13528
8f3b1ffe
AS
135292011-10-19 Andreas Schwab <schwab@redhat.com>
13530
13531 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13532 __feraiseexcept instead of feraiseexcept.
13533
d38f1dba
UD
135342011-10-18 Ulrich Drepper <drepper@gmail.com>
13535
d9a8d0ab
UD
13536 * math/math_private.h: Define defaults for libc_fetestexcept and
13537 libc_feupdateenv.
13538 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13539 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13540 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13541 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13542 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13543 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13544 libc_fetestexcept and libc_feupdateenv.
13545
4855e3dd
UD
13546 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13547 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13548 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13549 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13550 libc_feholdexcept_setround.
13551
581d30e3
UD
13552 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13553 Add s_nearbyint-c and s_nearbyintf-c.
13554 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13555 nearbyintf inlines.
13556 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13557 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13558 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13559 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13560
d38f1dba
UD
13561 * math/math_private.h: Define defaults for libc_fegetround,
13562 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13563 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13564 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13566 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13567 standard functions.
13568 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13569 Remove comments and hacks for old compiler versions.
13570 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13571 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13572 libc_feholdexceptl.
13573
caa6c9d8
AS
135742011-10-18 Andreas Schwab <schwab@redhat.com>
13575
13576 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13577 (__feraiseexcept_renamed): Add __NTH.
13578 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13579 namespace violations.
13580
97c066e6
UD
135812011-10-17 Ulrich Drepper <drepper@gmail.com>
13582
99ce7b04
UD
13583 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13584
1004d182
UD
13585 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13586
228a984d
UD
13587 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13588 recently added interfaces.
13589 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13590
c8553a6a
UD
13591 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13592 about macro parameter expansion.
13593
ed22dcf6
UD
13594 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13595 __NO_MATH_INLINES is defined. Cleanups.
13596
13597 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13598 and __floorf is target has SSE4.1.
13599 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13600 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13601 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13602 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13603
b171c137
UD
13604 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13605 name.
13606 (floorf): Likewise.
13607
97c066e6
UD
13608 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13609
629f62ef
AS
136102011-10-17 Andreas Schwab <schwab@redhat.com>
13611
49a43d80
AS
13612 * misc/sys/cdefs.h: Fix last change.
13613
629f62ef
AS
13614 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13615 database lookup.
13616
e453f6cd
UD
136172011-10-16 Ulrich Drepper <drepper@gmail.com>
13618
aa78043a
UD
13619 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13620
ad0f5cad
UD
13621 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13622 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13623 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13625 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13626 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13628 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13629 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13630 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13631 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13632 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13633 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13634 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13635 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13636 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13637 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13638 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13639 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13640 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13641 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13642 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13643
13644 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13645 ceil, ceilf, floor, floorf.
13646
13647 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13648 Perform IRELATIVE relocations last.
13649
e453f6cd
UD
13650 * elf/do-rel.h: Add another parameter nrelative, replacing the
13651 local variable with the same name. Change name of the function
13652 to end in Rel or Rela (uppercase).
13653 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13654 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13655 elf_dynamic_do_##reloc function.
13656
fd5bdc09
UD
136572011-10-15 Ulrich Drepper <drepper@gmail.com>
13658
79b195b5
UD
13659 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13660 is sufficient, at least on modern CPUs.
13661
d4a28569
UD
13662 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13663
b61099b5
UD
13664 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13665 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13666
bcf01e6d
UD
13667 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13668 __expl_finite.
13669 * math/bits/math-finite.h: Add entries for exp.
13670 * math/e_expl.c: Add __*_finite alias.
13671 * sysdeps/i386/fpu/e_exp.S: Likewise.
13672 * sysdeps/i386/fpu/e_expf.S: Likewise.
13673 * sysdeps/i386/fpu/e_expl.c: Likewise.
13674 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13675 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13678 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13679 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13680 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13681
ba1a0d59
UD
13682 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13683 is sufficient, at least on modern CPUs.
13684
fd5bdc09
UD
13685 * ctype/ctype-info.c (__ctype_init): Define.
13686 * include/ctype.h (__ctype_init): Declare.
13687 (__ctype_b_loc): The variable is always initialized.
13688 (__ctype_toupper_loc): Likewise.
13689 (__ctype_tolower_loc): Likewise.
13690 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13691 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13692
7872cfb0
AS
136932011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13694
b468825a
AS
13695 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13696
7872cfb0
AS
13697 * configure.in: Also look in $cxxmachine/include for C++ system
13698 headers.
13699
be13f7bf
LD
137002011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13701
13702 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13703 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13704 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13705 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13706 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13707 (USE_AS_WMEMCMP): New macro.
13708 Fixing indents.
13709 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13710 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13711 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13712 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13714 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13715 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13716 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13717 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13718 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13719 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13720 (USE_AS_WMEMCMP): New macro.
13721 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13722 * sysdeps/string/test-memcmp.c: Update.
13723 Fix simple_wmemcmp.
13724 Add new tests.
13725 * wcsmbs/wmemcmp.c: Update.
13726 (WMEMCMP): New macro.
13727 Fix overflow bug.
13728
556a2007
AJ
137292011-10-12 Andreas Jaeger <aj@suse.de>
13730
13731 [BZ #13268]
13732 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13733
538faaa7
UD
137342011-10-15 Ulrich Drepper <drepper@gmail.com>
13735
ab6737ff
UD
13736 * libio/iofwide.c (do_length): Avoid warning.
13737
538faaa7
UD
13738 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13739
396a21b1
UD
137402011-10-14 Ulrich Drepper <drepper@gmail.com>
13741
cdf2901f
UD
13742 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13743
38ad40ce
UD
13744 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13745 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13746 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13747 * sysdeps/i386/i686/fpu/e_log.S: New file.
13748 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13749 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13750
396a21b1
UD
13751 * ctype/ctype.h: Add support for inlined isXXX functions when
13752 compiling C++ code.
13753
6b1f68c9
AS
137542011-10-14 Andreas Schwab <schwab@redhat.com>
13755
349290c0
AS
13756 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13757
6b1f68c9
AS
13758 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13759
f2282d42
RM
137602011-10-13 Roland McGrath <roland@hack.frob.com>
13761
13762 [BZ #13291]
13763 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13764
5298ffa8
AS
137652011-10-13 Andreas Schwab <schwab@redhat.com>
13766
714fad23
AS
13767 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13768 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13769 feraiseexcept.
13770
81dcc7fb
AS
13771 * sysdeps/x86_64/memrchr.S: Check for zero size.
13772
5298ffa8
AS
13773 * string/stratcliff.c: Add memrchr tests.
13774
951fbcec
LD
137752011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13776
13777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13778 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13779 rawmemchr-sse2 rawmemchr-sse2-bsf.
13780 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13781 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13782 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13783 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13784 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13785 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13786 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13787 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13788 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13789 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13790 * string/memrchr.c (MEMRCHR): New macro.
13791
0ac5ae23
UD
137922011-10-12 Ulrich Drepper <drepper@gmail.com>
13793
13794 Add integration with gcc's -ffinite-math-only and optimize wrapper
13795 functions in libm.
13796 * Versions.def: Define GLIBC_2.15 version for libm.
13797 * math/Makefile (headers): Add bits/math-finite.h.
13798 * math/bits/math-finite.h: New file.
13799 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13800 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13801 * math/e_acoshl.c: Add __*_finite alias.
13802 * math/e_acosl.c: Likewise.
13803 * math/e_asinl.c: Likewise.
13804 * math/e_atan2l.c: Likewise.
13805 * math/e_atanhl.c: Likewise.
13806 * math/e_coshl.c: Likewise.
13807 * math/e_exp10.c: Likewise.
13808 * math/e_exp10f.c: Likewise.
13809 * math/e_exp10l.c: Likewise.
13810 * math/e_exp2l.c: Likewise.
13811 * math/e_fmodl.c: Likewise.
13812 * math/e_gammal_r.c: Likewise.
13813 * math/e_hypotl.c: Likewise.
13814 * math/e_j0l.c: Likewise.
13815 * math/e_j1l.c: Likewise.
13816 * math/e_jnl.c: Likewise.
13817 * math/e_lgammal_r.c: Likewise.
13818 * math/e_log10l.c: Likewise.
13819 * math/e_log2l.c: Likewise.
13820 * math/e_logl.c: Likewise.
13821 * math/e_powl.c: Likewise.
13822 * math/e_sinhl.c: Likewise.
13823 * math/e_sqrtl.c: Likewise.
13824 * math/e_scalb.c: Completely rewritten and optimized.
13825 * math/e_scalbf.c: Likewise.
13826 * math/e_scalbl.c: Likewise.
13827 * math/w_acos.c: Likewise.
13828 * math/w_acosf.c: Likewise.
13829 * math/w_acosl.c: Likewise.
13830 * math/w_acosh.c: Likewise.
13831 * math/w_acoshf.c: Likewise.
13832 * math/w_acoshl.c: Likewise.
13833 * math/w_asin.c: Likewise.
13834 * math/w_asinf.c: Likewise.
13835 * math/w_asinl.c: Likewise.
13836 * math/w_atan2.c: Likewise.
13837 * math/w_atan2f.c: Likewise.
13838 * math/w_atan2l.c: Likewise.
13839 * math/w_atanh.c: Likewise.
13840 * math/w_atanhf.c: Likewise.
13841 * math/w_atanhl.c: Likewise.
13842 * math/w_exp10.c: Likewise.
13843 * math/w_exp10f.c: Likewise.
13844 * math/w_exp10l.c: Likewise.
13845 * math/w_fmod.c: Likewise.
13846 * math/w_fmodf.c: Likewise.
13847 * math/w_fmodl.c: Likewise.
13848 * math/w_j0.c: Likewise.
13849 * math/w_j0f.c: Likewise.
13850 * math/w_j0l.c: Likewise.
13851 * math/w_j1.c: Likewise.
13852 * math/w_j1f.c: Likewise.
13853 * math/w_j1l.c: Likewise.
13854 * math/w_jn.c: Likewise.
13855 * math/w_jnf.c: Likewise.
13856 * math/w_log.c: Likewise.
13857 * math/w_logf.c: Likewise.
13858 * math/w_logl.c: Likewise.
13859 * math/w_log10.c: Likewise.
13860 * math/w_log10f.c: Likewise.
13861 * math/w_log10l.c: Likewise.
13862 * math/w_log2.c: Likewise.
13863 * math/w_log2f.c: Likewise.
13864 * math/w_log2l.c: Likewise.
13865 * math/w_pow.c: Likewise.
13866 * math/w_powf.c: Likewise.
13867 * math/w_powl.c: Likewise.
13868 * math/w_remainder.c: Likewise.
13869 * math/w_remainderf.c: Likewise.
13870 * math/w_remainderl.c: Likewise.
13871 * math/w_scalb.c: Likewise.
13872 * math/w_scalbf.c: Likewise.
13873 * math/w_scalbl.c: Likewise.
13874 * math/w_sqrt.c: Likewise.
13875 * math/w_sqrtf.c: Likewise.
13876 * math/w_sqrtl.c: Likewise.
13877 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13878 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13879 used.
13880 * math/math_private.h: Declare __kernel_standard_f.
13881 * math/w_cosh.c: Remove cruft and optimize a bit.
13882 * math/w_coshf.c: Likewise.
13883 * math/w_coshl.c: Likewise.
13884 * math/w_exp2.c: Likewise.
13885 * math/w_exp2f.c: Likewise.
13886 * math/w_exp2l.c: Likewise.
13887 * math/w_hypot.c: Likewise.
13888 * math/w_hypotf.c: Likewise.
13889 * math/w_hypotl.c: Likewise.
13890 * math/w_lgamma.c: Likewise.
13891 * math/w_lgamma_r.c: Likewise.
13892 * math/w_lgammaf.c: Likewise.
13893 * math/w_lgammaf_r.c: Likewise.
13894 * math/w_lgammal.c: Likewise.
13895 * math/w_lgammal_r.c: Likewise.
13896 * math/w_sinh.c: Likewise.
13897 * math/w_sinhf.c: Likewise.
13898 * math/w_sinhl.c: Likewise.
13899 * math/w_tgamma.c: Likewise.
13900 * math/w_tgammaf.c: Likewise.
13901 * math/w_tgammal.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13903 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13904 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13905 Minor optimizations. Pretty printing. Remove cruft.
13906 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13907 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13908 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13909 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13910 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13911 * sysdeps/i386/fpu/e_asin.S: Likewise.
13912 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13913 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13914 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13915 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13916 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13917 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13918 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13919 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13920 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13921 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13922 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13923 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13924 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13925 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13926 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13927 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13928 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13929 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13930 * sysdeps/i386/fpu/e_log.S: Likewise.
13931 * sysdeps/i386/fpu/e_log10.S: Likewise.
13932 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13933 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13934 * sysdeps/i386/fpu/e_log2.S: Likewise.
13935 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13936 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13937 * sysdeps/i386/fpu/e_logf.S: Likewise.
13938 * sysdeps/i386/fpu/e_logl.S: Likewise.
13939 * sysdeps/i386/fpu/e_pow.S: Likewise.
13940 * sysdeps/i386/fpu/e_powf.S: Likewise.
13941 * sysdeps/i386/fpu/e_powl.S: Likewise.
13942 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13943 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13944 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13945 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13946 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13947 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13948 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13949 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13950 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13971 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13972 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13973 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13974 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13975 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13976 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13977 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13978 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13979 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13980 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13981 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13982 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13983 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13985 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13986 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13987 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13988 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13989 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13990 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13991 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13992 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13993 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13997 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14000 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14004 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14016 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14020 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14021 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14031 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14034 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14036 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14037 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14038 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14039 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14041 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14042 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14043 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14044 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14045 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14046 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14047 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14048 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14049 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14050 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14051 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14052 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14053 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14054 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14055 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14056 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14057 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14058 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14059 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14060 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14061 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14062 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14063 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14064 (__isnanf): Likewise.
14065 (__isinf_ns): Likewise.
14066 (__isinf_nsf): Likewise.
14067 (__finite): Likewise.
14068 (__finitef): Likewise.
14069 (__ieee754_sqrt): Define as macro.
14070 (__ieee754_sqrtf): Define as macro.
14071 (__ieee754_sqrtl): Define as macro.
14072 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14073 inlined copy.
14074 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14075 __FINITE_MATH_ONLY__ consistent.
14076 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14077
12cc2fcd
AS
140782011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14079
a843a204
AS
14080 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14081 of rawmemchr.
14082
12cc2fcd
AS
14083 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14084
c853acd5
UD
140852011-10-09 Ulrich Drepper <drepper@gmail.com>
14086
14087 * po/ja.po: Update from translation team.
14088
c658d255
RM
140892011-10-08 Roland McGrath <roland@hack.frob.com>
14090
110946e4
RM
14091 * locale/programs/locarchive.c (prepare_address_space): New function.
14092 (create_archive, enlarge_archive, open_archive): Use it.
14093
50604220
RM
14094 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14095 inside [SHARED], where it is used.
14096
c658d255
RM
14097 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14098
14099 * nss/getent.c (netgroup_keys): Remove unused variable.
14100 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14101
6a621eb7
UD
141022011-10-08 Ulrich Drepper <drepper@gmail.com>
14103
7edb55ce
UD
14104 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14105 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14107 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14108 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14109 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14110 * math/Makefile (libm-calls): Add s_isinf_ns.
14111 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14112 * math/multc3.c: Likewise.
14113 * math/s_casin.c: Likewise.
14114 * math/s_casinf.c: Likewise.
14115 * math/s_casinl.c: Likewise.
14116 * math/s_ccos.c: Likewise.
14117 * math/s_ccosf.c: Likewise.
14118 * math/s_ccosl.c: Likewise.
14119 * math/s_ctan.c: Likewise.
14120 * math/s_ctanf.c: Likewise.
14121 * math/s_ctanh.c: Likewise.
14122 * math/s_ctanhf.c: Likewise.
14123 * math/s_ctanhl.c: Likewise.
14124 * math/s_ctanl.c: Likewise.
14125 * math/w_fmod.c: Likewise.
14126 * math/w_fmodf.c: Likewise.
14127 * math/w_fmodl.c: Likewise.
14128 * math/w_remainder.c: Likewise.
14129 * math/w_remainderf.c: Likewise.
14130 * math/w_remainderl.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14132 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14133 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14135 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14136 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14137 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14138 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14139
187da0ae
UD
14140 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14141 of the number.
14142 * stdio-common/printf_fphex.c: Likewise.
14143 * stdio-common/printf_size.c: Likewise.
14144
9277c064
UD
14145 * math/e_exp10.c: Include math_private.h using <...> not "...".
14146 * math/e_exp10f.c: Likewise.
14147 * math/e_exp10l.c: Likewise.
14148 * math/e_exp2l.c: Likewise.
14149 * math/e_j0l.c: Likewise.
14150 * math/e_j1l.c: Likewise.
14151 * math/e_jnl.c: Likewise.
14152 * math/e_lgammal_r.c: Likewise.
14153 * math/e_rem_pio2l.c: Likewise.
14154 * math/e_scalb.c: Likewise.
14155 * math/e_scalbf.c: Likewise.
14156 * math/e_scalbl.c: Likewise.
14157 * math/k_cosl.c: Likewise.
14158 * math/k_sinl.c: Likewise.
14159 * math/k_tanl.c: Likewise.
14160 * math/s_cacoshf.c: Likewise.
14161 * math/s_catan.c: Likewise.
14162 * math/s_catanf.c: Likewise.
14163 * math/s_catanh.c: Likewise.
14164 * math/s_catanhf.c: Likewise.
14165 * math/s_catanhl.c: Likewise.
14166 * math/s_catanl.c: Likewise.
14167 * math/s_ccosh.c: Likewise.
14168 * math/s_ccoshf.c: Likewise.
14169 * math/s_ccoshl.c: Likewise.
14170 * math/s_cexp.c: Likewise.
14171 * math/s_cexpf.c: Likewise.
14172 * math/s_cexpl.c: Likewise.
14173 * math/s_clog.c: Likewise.
14174 * math/s_clog10.c: Likewise.
14175 * math/s_clog10f.c: Likewise.
14176 * math/s_clog10l.c: Likewise.
14177 * math/s_clogf.c: Likewise.
14178 * math/s_clogl.c: Likewise.
14179 * math/s_csin.c: Likewise.
14180 * math/s_csinf.c: Likewise.
14181 * math/s_csinh.c: Likewise.
14182 * math/s_csinhf.c: Likewise.
14183 * math/s_csinhl.c: Likewise.
14184 * math/s_csinl.c: Likewise.
14185 * math/s_csqrt.c: Likewise.
14186 * math/s_csqrtf.c: Likewise.
14187 * math/s_csqrtl.c: Likewise.
14188 * math/s_ctan.c: Likewise.
14189 * math/s_ctanf.c: Likewise.
14190 * math/s_ctanh.c: Likewise.
14191 * math/s_ctanhf.c: Likewise.
14192 * math/s_ctanhl.c: Likewise.
14193 * math/s_ctanl.c: Likewise.
14194 * math/s_ldexp.c: Likewise.
14195 * math/s_ldexpf.c: Likewise.
14196 * math/s_ldexpl.c: Likewise.
14197 * math/s_significand.c: Likewise.
14198 * math/s_significandf.c: Likewise.
14199 * math/s_significandl.c: Likewise.
14200 * math/w_acos.c: Likewise.
14201 * math/w_acosf.c: Likewise.
14202 * math/w_acosh.c: Likewise.
14203 * math/w_acoshf.c: Likewise.
14204 * math/w_acoshl.c: Likewise.
14205 * math/w_acosl.c: Likewise.
14206 * math/w_asin.c: Likewise.
14207 * math/w_asinf.c: Likewise.
14208 * math/w_asinl.c: Likewise.
14209 * math/w_atan2.c: Likewise.
14210 * math/w_atan2f.c: Likewise.
14211 * math/w_atan2l.c: Likewise.
14212 * math/w_atanh.c: Likewise.
14213 * math/w_atanhf.c: Likewise.
14214 * math/w_atanhl.c: Likewise.
14215 * math/w_cosh.c: Likewise.
14216 * math/w_coshf.c: Likewise.
14217 * math/w_coshl.c: Likewise.
14218 * math/w_dremf.c: Likewise.
14219 * math/w_exp10.c: Likewise.
14220 * math/w_exp10f.c: Likewise.
14221 * math/w_exp10l.c: Likewise.
14222 * math/w_exp2.c: Likewise.
14223 * math/w_exp2f.c: Likewise.
14224 * math/w_fmod.c: Likewise.
14225 * math/w_fmodf.c: Likewise.
14226 * math/w_fmodl.c: Likewise.
14227 * math/w_hypot.c: Likewise.
14228 * math/w_hypotf.c: Likewise.
14229 * math/w_hypotl.c: Likewise.
14230 * math/w_j0.c: Likewise.
14231 * math/w_j0f.c: Likewise.
14232 * math/w_j0l.c: Likewise.
14233 * math/w_j1.c: Likewise.
14234 * math/w_j1f.c: Likewise.
14235 * math/w_j1l.c: Likewise.
14236 * math/w_jn.c: Likewise.
14237 * math/w_jnf.c: Likewise.
14238 * math/w_jnl.c: Likewise.
14239 * math/w_lgamma.c: Likewise.
14240 * math/w_lgamma_r.c: Likewise.
14241 * math/w_lgammaf.c: Likewise.
14242 * math/w_lgammaf_r.c: Likewise.
14243 * math/w_lgammal.c: Likewise.
14244 * math/w_lgammal_r.c: Likewise.
14245 * math/w_log.c: Likewise.
14246 * math/w_log10.c: Likewise.
14247 * math/w_log10f.c: Likewise.
14248 * math/w_log10l.c: Likewise.
14249 * math/w_log2.c: Likewise.
14250 * math/w_log2f.c: Likewise.
14251 * math/w_log2l.c: Likewise.
14252 * math/w_logf.c: Likewise.
14253 * math/w_logl.c: Likewise.
14254 * math/w_pow.c: Likewise.
14255 * math/w_powf.c: Likewise.
14256 * math/w_powl.c: Likewise.
14257 * math/w_remainder.c: Likewise.
14258 * math/w_remainderf.c: Likewise.
14259 * math/w_remainderl.c: Likewise.
14260 * math/w_scalb.c: Likewise.
14261 * math/w_scalbf.c: Likewise.
14262 * math/w_scalbl.c: Likewise.
14263 * math/w_sinh.c: Likewise.
14264 * math/w_sinhf.c: Likewise.
14265 * math/w_sinhl.c: Likewise.
14266 * math/w_sqrt.c: Likewise.
14267 * math/w_sqrtf.c: Likewise.
14268 * math/w_sqrtl.c: Likewise.
14269 * math/w_tgamma.c: Likewise.
14270 * math/w_tgammaf.c: Likewise.
14271 * math/w_tgammal.c: Likewise.
14272
6a621eb7
UD
14273 * po/ja.po: Update from translation team.
14274
bf582445
AJ
142752011-09-29 Andreas Jaeger <aj@suse.de>
14276
f9efbf3a
AJ
14277 [BZ #13179]
14278 * sunrpc/netname.c (netname2host): Fix logic.
14279
bf582445
AJ
14280 [BZ #6779]
14281 [BZ #6783]
14282 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14283 correctly.
14284 * math/w_remainder.c (__remainder): Likewise.
14285 * math/w_remainderf.c (__remainderf): Likewise.
14286 * math/libm-test.inc (remainder_test): Add test cases.
14287
48693bea
AK
142882011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14289
14290 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14291 sdiv_qrnnd.
14292
42622229
LD
142932011-10-07 Ulrich Drepper <drepper@gmail.com>
14294
14295 * string/test-memcmp.c: Avoid unncessary #defines.
14296 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14297
093ecf92
LD
142982011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14299
14300 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14301 Use new sse2 version for core i3 - i7 as it's faster
14302 than sse42 version.
14303 (bit_Prefer_PMINUB_for_stringop): New.
14304 * sysdeps/x86_64/rawmemchr.S: Update.
14305 Replace with faster SSE2 version.
14306 * sysdeps/x86_64/memrchr.S: New file.
14307 * sysdeps/x86_64/memchr.S: Update.
14308 Replace with faster SSE2 version.
14309
fde56e5c
MP
143102011-09-12 Marek Polacek <mpolacek@redhat.com>
14311
14312 * elf/dl-load.c (lose): Add cast to avoid warning.
14313
21fd49a9
UD
143142011-10-07 Ulrich Drepper <drepper@gmail.com>
14315
5a06e643
UD
14316 * po/ca.po: Update from translation team.
14317
684ae515
UD
14318 * inet/getnetgrent_r.c: Hook up nscd.
14319 * nscd/Makefile (routines): Add nscd_netgroup.
14320 (nscd-modules): Add netgroupcache.
14321 (CFLAGS-netgroupcache.c): Define.
14322 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14323 (cache_search): Add const to second parameter.
14324 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14325 INNETGR.
14326 (dbs): Add netgrdb entry.
14327 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14328 (verify_persistent_db): Handle netgrdb.
14329 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14330 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14331 GETFDNETGR.
14332 (netgroup_response_header): Define.
14333 (innetgroup_response_header): Define.
14334 (datahead): Add netgroup_response_header and innetgroup_response_header
14335 elements.
14336 * nscd/nscd.conf: Add entries for netgroup cache.
14337 * nscd/nscd.h (dbtype): Add netgrdb.
14338 (_PATH_NSCD_NETGROUP_DB): Define.
14339 (netgroup_iov_disabled): Declare.
14340 (xmalloc, xcalloc, xrealloc): Move declarations here.
14341 (cache_search): Adjust prototype.
14342 Add netgroup-related prototypes.
14343 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14344 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14345 (__nscd_innetgr): Declare.
14346 * nscd/selinux.c (perms): Use access_vector_t as element type and
14347 add netgroup-related initializers.
14348 * nscd/netgroupcache.c: New file.
14349 * nscd/nscd_netgroup.c: New file.
14350 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14351 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14352 For four parameters use innetgr.
14353 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14354 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14355 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14356 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14357
21fd49a9
UD
14358 * nscd/connections.c (register_traced_file): Don't register file
14359 for disabled databases.
14360
054c0457
UD
143612011-10-06 Ulrich Drepper <drepper@gmail.com>
14362
32b63198
UD
14363 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14364
054c0457
UD
14365 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14366 from tree and freeing node.
14367
64031225
JO
143682011-09-25 Jiri Olsa <jolsa@redhat.com>
14369
14370 * nss/nsswitch.c (__nss_database_lookup): Handle
14371 nss_parse_service_list out of memory case.
14372
0490345c
JO
143732011-09-15 Jiri Olsa <jolsa@redhat.com>
14374
14375 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14376 out of memory case.
14377
3a62d00d
AS
143782011-10-04 Andreas Schwab <schwab@redhat.com>
14379
14380 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14381 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14382 pass it down.
14383 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14384 elf_machine_rela, elf_machine_lazy_rel.
14385 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14386 (ELF_DYNAMIC_DO_REL): Likewise.
14387 (ELF_DYNAMIC_DO_RELA): Likewise.
14388 (ELF_DYNAMIC_RELOCATE): Likewise.
14389 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14390 to ELF_DYNAMIC_DO_REL.
14391 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14392 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14393 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14394 elf_machine_rela.
14395 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14396 skip_ifunc, don't call ifunc function if non-zero.
14397 (elf_machine_rela): Likewise.
14398 (elf_machine_lazy_rel): Likewise.
14399 (elf_machine_lazy_rela): Likewise.
14400 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14401 (elf_machine_lazy_rel): Likewise.
14402 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14403 Likewise.
14404 (elf_machine_lazy_rel): Likewise.
14405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14406 Likewise.
14407 (elf_machine_lazy_rel): Likewise.
14408 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14409 (elf_machine_lazy_rel): Likewise.
14410 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14411 (elf_machine_lazy_rel): Likewise.
14412 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14413 (elf_machine_lazy_rel): Likewise.
14414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14415 (elf_machine_lazy_rel): Likewise.
14416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14417 (elf_machine_lazy_rel): Likewise.
14418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14419 (elf_machine_lazy_rel): Likewise.
14420
68577918
UD
144212011-09-28 Ulrich Drepper <drepper@gmail.com>
14422
14423 * nss/nss_files/files-init.c (_nss_files_init): Use static
14424 initialization for all the *_traced_file variables.
14425
68822d74
AS
144262011-09-28 Andreas Schwab <schwab@redhat.com>
14427
14428 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14429
2056100b
RM
144302011-09-27 Roland McGrath <roland@hack.frob.com>
14431
14432 [BZ #13226]
14433 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14434
32c76b63
AS
144352011-09-27 Andreas Schwab <schwab@redhat.com>
14436
14437 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14438 Reread the line before reparsing it.
14439
bf972c9d
AS
144402011-09-26 Andreas Schwab <schwab@redhat.com>
14441
14442 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14443
e057a1b5
JM
144442011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14445 Maxim Kuvyrkov <maxim@codesourcery.com>
14446 Joseph Myers <joseph@codesourcery.com>
14447
14448 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14449 if needed for __stack_chk_guard.
14450
bc7e1c36
RM
144512011-09-19 Roland McGrath <roland@hack.frob.com>
14452
ecb1482f
RM
14453 * sysdeps/posix/spawni.c (script_execute): Always define it.
14454 It will be optimized away if unused.
14455 (maybe_script_execute): New function.
14456 (__spawni): Call it.
14457
bc7e1c36
RM
14458 * Makerules: Don't include tls.make.
14459 (config-tls): Always set to thread.
14460 * tls.make.c: File removed.
14461
1c3b002b
MF
144622011-09-19 Mike Frysinger <vapier@gentoo.org>
14463
14464 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14465 * config.make.in (CPPFLAGS-config): New substituted variable.
14466
2840865d
UD
144672011-09-15 Ulrich Drepper <drepper@gmail.com>
14468
88738eb6
UD
14469 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14470
cbf645a6 14471 [BZ #13192]
2840865d
UD
14472 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14473 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14474
b402e91a
RM
144752011-09-15 Roland McGrath <roland@hack.frob.com>
14476
14477 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14478 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14479 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14480 (CALL_FAIL): Likewise.
14481 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14482 (CALL_FAIL): Macro removed.
14483 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14484
4c1a1f71
UD
144852011-09-15 Ulrich Drepper <drepper@gmail.com>
14486
14487 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14488 for __FINITE_MATH_ONLY__ == 1.
14489
edc121be
AS
144902011-09-15 Andreas Schwab <schwab@redhat.com>
14491
14492 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14493 __ieee754_sqrt instead of sqrt.
14494 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14495 __ieee754_sqrtf instead of sqrtf.
14496 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14497 __floorf instead of floorf.
14498 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14499 __floorf, __truncf instead of floorf, truncf.
14500
cd205654
UD
145012011-09-14 Ulrich Drepper <drepper@gmail.com>
14502
ee4d0315
UD
14503 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14504
cd205654
UD
14505 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14506 __extern_always_inline.
14507 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14508 32-bit.
14509
48b67d71
AS
145102011-09-14 Andreas Schwab <schwab@redhat.com>
14511
14512 * elf/rtld.c (dl_main): Also relocate in dependency order when
14513 doing symbol dependency testing.
14514
1ae12c75
AS
145152011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14516
14517 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14518 Always define `refsym'.
14519
995a80df
AS
145202011-09-13 Andreas Schwab <schwab@redhat.com>
14521
e529793b
AS
14522 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14523 (__FD_ELT): Renamed from __FDELT.
14524 * misc/bits/select2.h (__FD_ELT): Likewise.
14525 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14526 __FD_MASK instead of __FDELT, __FDMASK.
14527 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14528 Likewise.
14529 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14530 Likewise.
14531
52d4fef8
AS
14532 * elf/Makefile (gen-ldd): Fix pattern.
14533
995a80df
AS
14534 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14535 (init_tls): Likewise.
14536
8682f8b0
UD
145372011-09-12 Ulrich Drepper <drepper@gmail.com>
14538
14539 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14540
de82006d
AS
145412011-09-12 Andreas Schwab <schwab@redhat.com>
14542
a7c8e6a1
AS
14543 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14544 `struct cmsghdr *' instead of `void *'.
14545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14546 Likewise.
14547
0f31fe77
AS
145482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14549
14550 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14551 if non-absolute.
14552 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14553 ldd_rewrite_script.
0f31fe77 14554
32b4c839
UD
145552011-09-11 Ulrich Drepper <drepper@gmail.com>
14556
83cd1420
UD
14557 * configure.in: Remove --with-tls option.
14558 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14559 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14560 out in case it is missing.
14561 * sysdeps/ia64/elf/configure.in: Likewise.
14562 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14563 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14564 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14565 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14566 * sysdeps/sh/elf/configure.in: Likewise.
14567 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14568 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14569 * sysdeps/x86_64/elf/configure.in: Likewise.
14570 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14571 * sysdeps/mach/hurd/tls.h: Likewise.
14572
633f745d
UD
14573 [BZ #13067]
14574 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14575
f318beb8
UD
14576 [BZ #13090]
14577 * configure.in: Fix use of AC_INIT.
14578
32b4c839
UD
14579 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14580
3ce1f295
UD
145812011-09-10 Ulrich Drepper <drepper@gmail.com>
14582
bb016596
UD
14583 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14584 __set_errno.
8e58439c
UD
14585 * malloc/hooks.c: Likewise.
14586
aebae053 14587 [BZ #11929]
02d46fc4
UD
14588 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14589 variables statically.
14590 (narenas): Initialize.
14591 (list_lock): Initialize.
bb016596
UD
14592 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14593 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14594 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14595 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14596 Add initializers to main_arena and mp_.
14597 (malloc_state): Remove pagesize member. Change all users to use
14598 GLRO(dl_pagesize).
14599
14600 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14601 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14602 is always initialized.
14603
22a89187
UD
14604 * malloc/malloc.c: Removed unused configurations and dead code.
14605 * malloc/arena.c: Likewise.
14606 * malloc/hooks.c: Likewise.
02d46fc4 14607 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14608
d063d164
UD
14609 * include/tls.h: Removed. USE___THREAD must always be defined.
14610 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14611 * elf/dl-libc.c: Likewise.
14612 * elf/dl-tsd.c: Likewise.
14613 * include/errno.h: Likewise.
14614 * include/netdb.h: Likewise.
14615 * include/resolv.h: Likewise.
14616 * inet/herrno-loc.c: Likewise.
14617 * inet/herrno.c: Likewise.
14618 * malloc/arena.c: Likewise.
14619 * malloc/hooks.c: Likewise.
14620 * malloc/malloc.c: Likewise.
14621 * resolv/res-state.c: Likewise.
14622 * resolv/res_libc.c: Likewise.
14623 * sysdeps/i386/dl-machine.h: Likewise.
14624 * sysdeps/ia64/dl-machine.h: Likewise.
14625 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14626 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14627 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14628 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14629 * sysdeps/sh/dl-machine.h: Likewise.
14630 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14631 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14632 * sysdeps/unix/i386/sysdep.S: Likewise.
14633 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14634 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14636 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14637 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14638 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14639 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14643 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14644 * sysdeps/x86_64/dl-machine.h: Likewise.
14645 * tls.make.c: Likewise.
14646
3ce1f295
UD
14647 * configure.in: Remove --with-__thread option. Make tests for
14648 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14649 tls_model attribute fail if no support is available. Remove
14650 USE_IN_LIBIO.
14651 * Makeconfig: Adjust for dropped configure option. All features are
14652 now mandatory.
14653 * Makerules: Likewise.
14654 * Versions.def: Likewise.
14655 * argp/argp-fmtstream.c: Likewise.
14656 * argp/argp-fmtstream.h: Likewise.
14657 * argp/argp-help.c: Likewise.
14658 * assert/assert.c: Likewise.
14659 * config.h.in: Likewise.
14660 * config.make.in: Likewise.
14661 * configure: Likewise.
14662 * configure.in: Likewise.
14663 * csu/Versions: Likewise.
14664 * csu/init.c: Likewise.
14665 * elf/tst-audit2.c: Likewise.
14666 * elf/tst-tls10.c: Likewise.
14667 * elf/tst-tls10.h: Likewise.
14668 * elf/tst-tls11.c: Likewise.
14669 * elf/tst-tls12.c: Likewise.
14670 * elf/tst-tls14.c: Likewise.
14671 * elf/tst-tlsmod11.c: Likewise.
14672 * elf/tst-tlsmod12.c: Likewise.
14673 * elf/tst-tlsmod13.c: Likewise.
14674 * elf/tst-tlsmod13a.c: Likewise.
14675 * elf/tst-tlsmod14a.c: Likewise.
14676 * elf/tst-tlsmod15b.c: Likewise.
14677 * elf/tst-tlsmod16a.c: Likewise.
14678 * elf/tst-tlsmod16b.c: Likewise.
14679 * elf/tst-tlsmod7.c: Likewise.
14680 * elf/tst-tlsmod8.c: Likewise.
14681 * elf/tst-tlsmod9.c: Likewise.
14682 * gmon/gmon.c: Likewise.
14683 * grp/fgetgrent_r.c: Likewise.
14684 * grp/putgrent.c: Likewise.
14685 * hurd/fopenport.c: Likewise.
14686 * include/libc-symbols.h: Likewise.
14687 * include/tls.h: Likewise.
14688 * intl/gettextP.h: Likewise.
14689 * intl/loadinfo.h: Likewise.
14690 * locale/global-locale.c: Likewise.
14691 * locale/localeinfo.h: Likewise.
14692 * mach/devstream.c: Likewise.
14693 * malloc/arena.c: Likewise.
14694 * malloc/set-freeres.c: Likewise.
14695 * misc/err.c: Likewise.
14696 * misc/getttyent.c: Likewise.
14697 * misc/mntent_r.c: Likewise.
14698 * posix/getopt.c: Likewise.
14699 * posix/wordexp.c: Likewise.
14700 * pwd/fgetpwent_r.c: Likewise.
14701 * resolv/Versions: Likewise.
14702 * resolv/res_hconf.c: Likewise.
14703 * shadow/fgetspent_r.c: Likewise.
14704 * shadow/putspent.c: Likewise.
14705 * stdio-common/printf_fphex.c: Likewise.
14706 * stdio-common/tmpfile.c: Likewise.
14707 * stdlib/abort.c: Likewise.
14708 * stdlib/fmtmsg.c: Likewise.
14709 * sunrpc/auth_unix.c: Likewise.
14710 * sunrpc/clnt_perr.c: Likewise.
14711 * sunrpc/clnt_tcp.c: Likewise.
14712 * sunrpc/clnt_udp.c: Likewise.
14713 * sunrpc/clnt_unix.c: Likewise.
14714 * sunrpc/openchild.c: Likewise.
14715 * sunrpc/svc_simple.c: Likewise.
14716 * sunrpc/svc_tcp.c: Likewise.
14717 * sunrpc/svc_udp.c: Likewise.
14718 * sunrpc/svc_unix.c: Likewise.
14719 * sunrpc/xdr.c: Likewise.
14720 * sunrpc/xdr_array.c: Likewise.
14721 * sunrpc/xdr_rec.c: Likewise.
14722 * sunrpc/xdr_ref.c: Likewise.
14723 * sunrpc/xdr_stdio.c: Likewise.
14724
1248c1c4
PB
147252011-09-09 Ulrich Drepper <drepper@gmail.com>
14726
14727 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14728
147292011-07-03 Andreas Jaeger <aj@suse.de>
14730
14731 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14732 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14733 regenerate with gen-libm-tests.pl.
14734
147352010-05-12 Petr Baudis <pasky@suse.cz>
14736
14737 [BZ #11589]
14738 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14739 around j0() zero points by switching to j1().
14740 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14743 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14744
f22e1074
UD
147452011-09-09 Ulrich Drepper <drepper@gmail.com>
14746
f19009c1
UD
14747 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14748 instead of 0.
14749 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14750 instead of 0. .
14751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14752 Patch in part by Pavel Roskin <proski@gnu.org>.
14753
3f8cc204
UD
14754 [BZ #13138]
14755 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14756 realloc.
14757 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14758 Free memory block if necessary.
14759
f22e1074
UD
14760 [BZ #12847]
14761 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14762 be NULL. Don't lock in this case.
14763
0a2349f9
RM
147642011-09-09 Roland McGrath <roland@hack.frob.com>
14765
14766 * elf/elf.h (ELFOSABI_GNU): New macro.
14767 (ELFOSABI_LINUX): Define to that.
14768
f3cdd467
DZ
147692011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14770
14771 * string/strncat.c (strncat): Undef the symbol in case it has been
14772 defined in bits/string.h.
14773
74718d13
UD
147742011-09-09 Ulrich Drepper <drepper@gmail.com>
14775
633e9e0f
UD
14776 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14777
0a2349f9 14778 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14779 link map.
14780
f9924780
AJ
147812011-08-17 Andreas Jaeger <aj@suse.de>
14782
14783 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14784
7f5517aa
PP
147852011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14786 Ian Lance Taylor <iant@google.com>
14787
14788 * math/libm-test.inc (lround_test): New testcase.
14789 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14790
762011fe
UD
147912011-09-08 Ulrich Drepper <drepper@gmail.com>
14792
92963737
UD
14793 * Makefile: Remove support for automatic cvs check-ins.
14794 * Makerules: Likewise.
14795 * config.make.in: Likewise.
14796 * configure.in: Likewise.
14797 * intl/Makefile: Likewise.
14798 * locale/Makefile: Likewise.
14799 * po/Makefile: Likewise.
14800 * posix/Makefile: Likewise.
14801 * sysdeps/gnu/Makefile: Likewise.
14802 * sysdeps/mach/hurd/Makefile: Likewise.
14803 * sysdeps/sparc/sparc32/Makefile: Likewise.
14804
b0727fd8
JS
14805 [BZ #13118]
14806 * posix/Makefile (bug-regex32-ENV): Define.
14807 Patch by John Stanley <jpsinthemix@verizon.net>.
14808
a0f33f99
UD
14809 * misc/Makefile (headers): Add bits/select2.h.
14810 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14811 * misc/bits/select2.h: New file.
14812 * include/bits/select2.h: New file.
14813 * debug/Makefile (routines): Add fdelt_chk.
14814 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14815 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14816 FD_ISSET.
14817 * debug/fdelt_chk.c: New file.
14818
762011fe
UD
14819 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14820 * wcsmbs/test-wmemcmp.c: Likewise.
14821 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14822 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14823
148242011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14825
14826 * string/Makefile (strop-tests): Add memcmp.
14827 * string/test-wmemcmp.c: New file.
14828 * string/test-memcmp.c: Add wmemcmp support.
14829
7f513ec8
RM
148302011-09-08 Roland McGrath <roland@hack.frob.com>
14831
0442afb4
RM
14832 [BZ #13153]
14833 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14834 2011-07-19 change.
14835
7f513ec8
RM
14836 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14837 garbage value in a __mach_port_mod_refs call in the cases of the
14838 task-self and thread-self ports.
14839
a12b2239
ST
148402011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14841
14842 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14843
610f9ab4
AS
148442011-09-08 Andreas Schwab <schwab@redhat.com>
14845
7f513ec8 14846 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14847
48882a1a
LD
148482011-09-07 Ulrich Drepper <drepper@gmail.com>
14849
b49865be
UD
14850 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14851
fdc86bc9
UD
14852 * elf/dl-libc.c (dlerror_run): Pass back error code from
14853 dl_catch_error.
14854
c966526a
UD
14855 [BZ #13123]
14856 * elf/dl-load.c (lose): Free l_origin if it is valid.
14857
48882a1a
LD
14858 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14859 names.
14860 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14861 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14862 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14863 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14864 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14865 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14866
77a2a8b4
AZ
148672011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14868
14869 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14870 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14871 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14872 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14873 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14874 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14875 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14876 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14877 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14878 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14879
24f579d8
AM
148802011-08-15 Alan Modra <amodra@gmail.com>
14881
14882 [BZ #13092]
14883 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14884 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14885 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14886 ppc_mcount to static-only-routines.
14887 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14888 __mcount_internal.
14889 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14890 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14891
3d4837df
UD
148922011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14893
14894 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14895 for finite and infinity parameters.
14896
22700377
WS
148972011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14898
14899 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14900 and add nop instructions for throughput optimization.
14901 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14902
5025581e
WS
149032011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14904
14905 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14906 aligned copy for power7 with vector-scalar instructions.
14907 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14908
08a300c9
L
149092011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14910
14911 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14912 AVX check.
14913
59178ef9
AS
149142011-09-07 Andreas Schwab <schwab@redhat.com>
14915
14916 [BZ #13144]
14917 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14918 last change.
14919
e38ba7ab
UD
149202011-09-07 Ulrich Drepper <drepper@gmail.com>
14921
14922 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14923 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14924 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14925 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14926 clock_gettime.
14927
d53a73ac
UD
149282011-09-06 Ulrich Drepper <drepper@gmail.com>
14929
fc8bffcc
UD
14930 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14931 Forgot to demangle the pointer.
14932
ceaa0c5d
UD
14933 * sysdeps/i386/sysdep.h: Define atom_text_section.
14934 * sysdeps/x86_64/sysdep.h: Likewise.
14935 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14936 section with atom_text_section.
14937 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14938 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14939 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14940 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14941 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14942
a77d3c17
UD
14943 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14944 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14945 already be defined. Change to take two parameters and don't assign
14946 result to variable. Adjust all users.
14947 Define INTERNAL_GETTIME if not already defined.
14948 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14949 call.
14950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14951 HAVE_CLOCK_GETTIME_VSYSCALL.
14952 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14953
d53a73ac
UD
14954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14955 gettimeofday vsyscall, just use time.
14956
a8f84144
AS
149572011-09-06 Andreas Schwab <schwab@redhat.com>
14958
14959 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14960 <errno.h>.
14961
ef606249
UD
149622011-09-06 Ulrich Drepper <drepper@gmail.com>
14963
14964 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14965 syscall on x86-64.
14966 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14967 syscall.
14968 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14969 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14970 syscall if possible.
14971
6585cb60
UD
149722011-09-05 Ulrich Drepper <drepper@gmail.com>
14973
14974 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14975 e_ident. Don't pass to find_mapsXX.
14976 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14977
a5f524e4
LD
149782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14979
14980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14981 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14982 * sysdeps/x86_64/multiarch/strchr.S: Update.
14983 Check bit_slow_BSF bit.
14984 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14985 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14986 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14987
554881ef
UD
149882011-09-05 Ulrich Drepper <drepper@gmail.com>
14989
d96de963
UD
14990 [BZ #13134]
14991 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14992 before glibc 2.15.
14993 (tryshell): Define.
14994 (__spawni): Change last parameter to be flag. Test
14995 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14996 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14997 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14998 * posix/spawni.c: Likewise.
14999 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15000 * posix/spawnp.c: Likewise. Change normal version to use
15001 SPAWN_XFLAGS_USE_PATH.
15002 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15003 SPAWN_XFLAGS_TRY_SHELL.
15004
d48e5868
UD
15005 [BZ #13150]
15006 * posix/glob.h: Remove gcc 1.x support.
15007
554881ef
UD
15008 [BZ #13068]
15009 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15010
693fb948
LD
150112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15012
15013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15014 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15015 strrchr-sse2-bsf
15016 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15017 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15018 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15019 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15020 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15021 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15022
1b48c537
UD
150232011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15024
49d42c37
UD
15025 * sysdeps/x86_64/wcscmp.S: New file.
15026
1b48c537
UD
15027 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15028 wcscmp-c wcscmp-sse2
15029 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15030 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15031 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15032 * wcsmbs/wcscmp.c: Allow renaming.
15033
15c95c5d
DM
150342011-09-05 David S. Miller <davem@davemloft.net>
15035
15036 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15037 stack slot, rather than the struct return pointer slot.
15038 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15039 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15041 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15042
2f0ad8f3
UD
150432011-09-05 Ulrich Drepper <drepper@gmail.com>
15044
d88ae418
UD
15045 * po/ja.po: Update from translation team.
15046
2f0ad8f3
UD
15047 [BZ #13144]
15048 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15049 kernel in 64-bit binaries.
15050
5f4318d1
DM
150512011-09-01 David S. Miller <davem@davemloft.net>
15052
15053 * elf/elf.h (HWCAP_SPARC_*): Move to..
15054 * sysdeps/sparc/sysdep.h: this new file and add new values.
15055 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15056 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15057 _DL_HWCAP_COUNT to 24.
15058 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15059 entries.
15060 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15061 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15062 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15064 instead of magic constants.
15065 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15066
3ba57516
DM
150672011-08-31 David S. Miller <davem@davemloft.net>
15068
15069 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15070 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15071 Reimplement to do errno handling inline.
15072 (SYSCALL_ERROR_HANDLER): New macro.
15073 (__SYSCALL_STRING): Do not do errno handling in asm.
15074 (__CLONE_SYSCALL_STRING): Delete.
15075 (__INTERNAL_SYSCALL_STRING): Delete.
15076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15077 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15078 (PSEUDO): Reimplement to do errno handling inline.
15079 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15080 (SYSCALL_ERROR_HANDLER): New macro.
15081 (__SYSCALL_STRING): Do not do errno handling in asm.
15082 (__CLONE_SYSCALL_STRING): Delete.
15083 (__INTERNAL_SYSCALL_STRING): Delete.
15084 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15085 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15086 i386.
15087 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15088 (inline_syscall*): Add 'err' argument.
15089 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15090 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15091 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15092 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15093
15094 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15095 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15096
2bc17433
AS
150972011-08-30 Andreas Schwab <schwab@redhat.com>
15098
15099 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15100
fbeb5f4d
JO
151012011-08-29 Jiri Olsa <jolsa@redhat.com>
15102
15103 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15104 directive.
15105
ad69cc26
DM
151062011-08-24 David S. Miller <davem@davemloft.net>
15107
15108 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15109
39dd69df
AS
151102011-08-24 Andreas Schwab <schwab@redhat.com>
15111
15112 * elf/Makefile: Add rules to build and run unload8 test.
15113 * elf/unload8.c: New file.
15114 * elf/unload8mod1.c: New file.
15115 * elf/unload8mod1x.c: New file.
15116 * elf/unload8mod2.c: New file.
15117 * elf/unload8mod3.c: New file.
15118
15119 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15120 it wasn't used.
15121
2c0b250a
DM
151222011-08-23 David S. Miller <davem@davemloft.net>
15123
15124 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15125 subtract stack bias.
15126 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15127 %sp not %fp in calculations.
15128 (_JMPBUF_UNWINDS_ADJ): Likewise.
15129
22044b48
DM
15130 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15131 (aio_suspend): Call it to force an exception region around the
15132 AIO_MISC_WAIT() invocation.
15133
2cae4995
AS
151342011-08-23 Andreas Schwab <schwab@redhat.com>
15135
15136 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15137 backslash.
15138
873a772e
AJ
151392011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15140
15141 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15142 protection macro.
15143 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15144 and <dl-machine.h>.
15145 (Elf64_FuncDesc): Remove.
15146
25ad0df1
DM
151472011-08-22 David S. Miller <davem@davemloft.net>
15148
15149 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15150 sigaltstack check, add missing cfi directives.
15151 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15152 missing cfi directives, and sigaltstack handling.
15153
e888bcbe
AS
151542011-08-16 Andreas Schwab <schwab@redhat.com>
15155
15156 [BZ #11724]
15157 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15158 object is seen twice.
15159 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15160
15161 * elf/Makefile (distribute): Add tst-initorder2.c.
15162 (tests): Add tst-initorder2.
15163 (modules-names): Add tst-initorder2a tst-initorder2b
15164 tst-initorder2c tst-initorder2d. Add rules to build them.
15165 ($(objpfx)tst-initorder2.out): New rule.
15166 * elf/tst-initorder2.c: New file.
15167 * elf/tst-initorder2.exp: New file.
15168
87162f46
AS
151692011-08-22 Andreas Schwab <schwab@redhat.com>
15170
70538b7f
AS
15171 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15172
f55ffe58
AS
15173 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15174 dependencies back to end of function.
15175
87162f46
AS
15176 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15177 $(elfobjdir)/ld.so.
15178
91b392a4
UD
151792011-08-21 Ulrich Drepper <drepper@gmail.com>
15180
15181 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15182 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15183 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15184 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15185 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15186 of __vdso_gettimeofday.
15187 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15188 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15189 attribute_hidden.
15190 (_libc_vdso_platform_setup): Remove initialization of
15191 __vdso_gettimeofday and __vdso_time.
15192
5c43483f
UD
151932011-08-20 Ulrich Drepper <drepper@gmail.com>
15194
775a77e7
UD
15195 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15196 and fgetc_unlocked.
15197 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15198 getc_unlocked.
89f447ed 15199
49c74ba9
UD
15200 * elf/dl-open.c (add_to_global): Report additions to the global scope
15201 for LD_DEBUG=scopes.
15202 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15203 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15204
5c43483f
UD
15205 [BZ #13114]
15206 * stdio-common/Makefile (tests): Add bug24.
15207 * stdio-common/bug24.c: New file.
15208
a101b025
AJ
152092011-08-19 Andreas Jaeger <aj@suse.de>
15210
15211 [BZ #13114]
15212 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15213 non-existant file when using close-on-exec mode.
15214
c88f1766
UD
152152011-08-20 Ulrich Drepper <drepper@gmail.com>
15216
0276a718
UD
15217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15218 the very first instruction.
15219
c88f1766
UD
15220 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15221 the CFI state in the end.
15222 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15223 inclusion of dl-trampoline.h.
15224 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15225
51ccffa0
AS
152262011-08-19 Andreas Schwab <schwab@redhat.com>
15227
94d7165f
AS
15228 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15229 expectations for long double.
15230
51ccffa0
AS
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15232 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15233
fd708658 152342011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15235
15236 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15237 artificual limit depends upon the system page size.
15238
44f0a71e
UD
152392011-08-17 Ulrich Drepper <drepper@gmail.com>
15240
15241 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15242 * resolv/Makefile: Define CFLAGS-libresolv.
15243
8de79a24
AS
152442011-08-17 Andreas Schwab <schwab@redhat.com>
15245
15246 * nss/makedb.c (compute_tables): Make variables used in nested
15247 function static.
15248
27724598
UD
152492011-08-17 Ulrich Drepper <drepper@gmail.com>
15250
c5305d88
UD
15251 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15252 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15253 if buffer was too small.
15254
27724598
UD
15255 * elf/pldd.c (main): Attach to all threads in the process.
15256 Rewrite /proc handling to use *at functions.
15257
076fe015
UD
152582011-08-16 Ulrich Drepper <drepper@gmail.com>
15259
174baab3
UD
15260 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15261 specifies first scope to show.
15262 (dl_open_worker): Update callers. Move printing scope of new
15263 object to before the relocation.
44f0a71e 15264 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15265 * sysdeps/generic/ldsodefs.h: Update declaration.
15266
076fe015
UD
15267 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15268 string for the scope number.
15269
a60df2c3
UD
152702011-08-14 Ulrich Drepper <drepper@gmail.com>
15271
15272 * nscd/servicescache.c (cache_addserv): Make sure written is always
15273 initialized.
15274
5e4287d1
RM
152752011-08-14 Roland McGrath <roland@hack.frob.com>
15276
85ae0589
RM
15277 * sysdeps/i386/i486/bits/atomic.h
15278 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15279 statement expression, so as to suppress "set but not used" warning.
15280 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15281
69f63097
RM
15282 * string/strncat.c (STRNCAT): Use prototype definition.
15283
675456ef
RM
15284 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15285 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15286 -Iprograms here.
15287 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15288 (localedef-modules): Add localedef.
15289 (locale-modules): Add locale.
15290
5e4287d1
RM
15291 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15292 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15293 to avoid a warning.
15294
9c96ff23
DM
152952011-08-14 David S. Miller <davem@davemloft.net>
15296
15297 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15298 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15299
f9ddf089
UD
153002011-08-13 Ulrich Drepper <drepper@gmail.com>
15301
44f0a71e 15302 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15303 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15304 * elf/rtld.c (dl_main): Set l_name of vDSO.
15305 Call _dl_show_scope when DL_DEBUG_SCOPES.
15306 (process_dl_debug): Recognize scopes flag and also set it for all.
15307 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15308 Declare _dl_show_scope.
15309
1dc27704
UD
15310 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15311 (do_dlopen): Pass caller_dlopen to dl_open.
15312 (__libc_dlopen_mode): Initialize caller_dlopen.
15313
f9ddf089
UD
15314 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15315 of libc. Make tolower call locale-independent. Optimize a bit by
15316 using isdigit instead of isalnum.
15317 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15318
9ac533d3
UD
153192011-08-12 Ulrich Drepper <drepper@gmail.com>
15320
15321 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15322 was a dependency or dynamically loaded.
15323
89edf2e9
UD
153242011-08-11 Ulrich Drepper <drepper@gmail.com>
15325
8e999d29
UD
15326 * intl/l10nflist.c: Allow architecture-specific pop function.
15327 * sysdeps/x86_64/l10nflist.c: New file.
15328
89edf2e9
UD
15329 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15330 classification.
15331
14d96785
AS
153322011-08-10 Andreas Schwab <schwab@redhat.com>
15333
15334 * include/dirent.h: Add libc_hidden_proto for scandirat and
15335 scandirat64. Don't declare __scandirat64.
15336 * dirent/scandirat.c: Add libc_hidden_def.
15337 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15338 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15339
6761ac04
DM
153402011-08-10 David S. Miller <davem@davemloft.net>
15341
15342 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15343 enum.
15344 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15346 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15347
c55fbd1e
UD
153482011-08-09 Ulrich Drepper <drepper@gmail.com>
15349
15350 * Versions.def [libc]: Add GLIBC_2.15.
15351 * dirent/Makefile (routines): Add scandirat and scandirat64.
15352 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15353 GLIBC_2.15.
15354 * dirent/dirent.h: Declare scandirat and scandirat64.
15355 * dirent/scandirat.c: New file.
15356 * dirent/scandirat64.c: New file.
15357 * sysdeps/wordsize-64/scandirat.c: New file.
15358 * sysdeps/wordsize-64/scandirat64.c: New file.
15359 * dirent/opendir.c: Define opendirat.
15360 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15361 using scandirat.
15362 * dirent/scandir64.c: Adjust for scandir.c change.
15363 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15364 __scandirat64, and __scandir_cancel_handler.
15365 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15366 additional parameter and use openat instead of open (outside of ld.so).
15367 Add new __opendir as wrapper around __opendirat.
15368 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15369 here without requiring old scandirat implementation.
15370
879165f2
UD
153712011-08-08 Ulrich Drepper <drepper@gmail.com>
15372
15373 * dirent/scandir.c (cancel_handler): Renamed to
15374 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15375 defined. Adjust users.
15376 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15378
cb7e923b
UD
153792011-08-04 Ulrich Drepper <drepper@gmail.com>
15380
16292edd
UD
15381 * string/test-string.h (IMPL): Use __STRING to expand name and then
15382 stringify it.
15383
cb7e923b
UD
15384 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15385 of cleanups.
15386
cff82933
LD
153872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15388
15389 * string/Makefile: Update.
15390 (strop-tests): Append strncat.
15391 * string/test-wcscmp.c: New file.
15392 New comprehensive test for wcscmp.
15393 * string/test-strcmp.c: Update.
15394 (WIDE): New define.
15395
9be9bfcc
AS
153962011-07-22 Andreas Schwab <schwab@redhat.com>
15397
15398 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15399 line.
15400
2e96f1c7
AS
154012011-07-26 Andreas Schwab <schwab@redhat.com>
15402
15403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15404 encoding to ACE if AI_IDN.
15405
85188888
JJ
154062011-08-01 Jakub Jelinek <jakub@redhat.com>
15407
15408 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15409 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15410
5fa16e9b
LD
154112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15412
15413 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15414 Fix overflow bug in strncat.
15415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15416
15417 * string/test-strncat.c: Update.
15418 Add new tests for checking overflow bugs.
15419
154202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15421
15422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15423 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15424 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15425 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15426 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15427 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15428 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15429 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15430 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15431
15432 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15433 (USE_AS_STRCAT): Define.
15434 Add strcat and strncat support.
15435 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15436
8c1a459f
AS
154372011-07-25 Andreas Schwab <schwab@redhat.com>
15438
15439 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15440 __n bigger than INT_MAX+1.
15441 (__strncmp_g): Likewise.
15442
bba33c28
UD
154432011-07-23 Ulrich Drepper <drepper@gmail.com>
15444
798be72d
UD
15445 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15446 * libio/stido.h: Likewise.
15447
8accd4dc
UD
15448 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15449 (AF_NFC): Define.
15450 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15451 (AF_NFC): Define.
15452
cbff0d96
UD
15453 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15454 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15455 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15456 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15457 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15458
9191c04a
UD
15459 [BZ #13021]
15460 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15461 installed.
15462
bba33c28
UD
15463 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15464 typo.
15465 (_dl_x86_64_save_sse): Likewise.
15466
90f139dd
UD
154672011-07-22 Ulrich Drepper <drepper@gmail.com>
15468
1aae088a
UD
15469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15470 OSXSAVE.
15471 (_dl_x86_64_save_sse): Likewise.
15472
8e2045f5
UD
15473 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15474
90f139dd
UD
15475 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15476
1d002f25
AS
154772011-07-21 Andreas Schwab <schwab@redhat.com>
15478
15479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15480 change.
15481 (_dl_x86_64_save_sse): Use correct AVX check.
15482
21137f89
UD
154832011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15484
15485 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15486 bug in strncpy/strncat.
15487 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15488
a65c0b7a
UD
154892011-07-21 Ulrich Drepper <drepper@gmail.com>
15490
15491 * string/tester.c (test_strcat): Add tests for different alignments
15492 of source and destination.
15493 (test_strncat): Likewise.
15494
6986b98a
UD
154952011-07-20 Ulrich Drepper <drepper@gmail.com>
15496
90bb2039
UD
15497 [BZ #12852]
15498 * posix/glob.c (glob): Check passed in values before using them in
15499 expressions to avoid some overflows.
15500 (glob_in_dir): Likewise.
15501
5644ef54
UD
15502 [BZ #13007]
15503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15504 check for AVX enablement so that we don't crash with old kernels and
15505 new hardware.
15506 * elf/tst-audit4.c: Add same checks here.
15507 * elf/tst-audit6.c: Likewise.
15508
15509 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15510
bfc9dc9b
AS
155112011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15512
15513 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15514
702e64bb
UD
155152011-07-20 Ulrich Drepper <drepper@gmail.com>
15516
15517 * po/cs.po: Update from translation team.
15518 * po/bg.po: Likewise.
15519
295e904f
MP
155202011-07-12 Marek Polacek <mpolacek@redhat.com>
15521
15522 * misc/sys/cdefs.h: Add support for const attribute.
15523 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15524 to gnu_dev_{major,minor,makedev} functions.
15525
3ff94596
MP
155262011-07-20 Marek Polacek <mpolacek@redhat.com>
15527
15528 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15529
28b59fca
AS
155302011-07-20 Andreas Schwab <schwab@redhat.com>
15531
15532 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15533 strlen results.
15534
19df733e
AK
155352011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15536
15537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15538 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15539 register in order to avoid conflicts with the soft frame pointer
15540 being held in r11 when necessary.
15541 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15542 (INTERNAL_VSYSCALL_NCS): Likewise.
15543
c8835729
MP
155442011-07-14 Marek Polacek <mpolacek@redhat.com>
15545
15546 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15547 * elf/dl-fini.c (_dl_fini): Adjust caller.
15548 * elf/dl-close.c (_dl_close_worker): Likewise.
15549 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15550
b902330c
MP
155512011-07-15 Marek Polacek <mpolacek@redhat.com>
15552
8991e135
MP
15553 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15554 "aux_cache->nlibs < 0".
15555
b902330c
MP
15556 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15557 in the reload-count case.
15558
99710781
LD
155592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15560
15561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15562 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15563 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15564 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15565 * sysdeps/x86_64/multiarch/strcat.S: New file.
15566 * sysdeps/x86_64/multiarch/strncat.S: New file.
15567 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15568 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15569 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15570 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15571 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15572 (USE_AS_STRCAT): Define.
15573 Add strcat and strncat support.
15574 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15575 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15576 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15577 * string/strncat.c: Update.
15578 (USE_AS_STRNCAT): Define.
15579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15580 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15581 and i7.
15582 * sysdeps/x86_64/multiarch/init-arch.h
15583 (bit_Prefer_PMINUB_for_stringop): New.
15584 (index_Prefer_PMINUB_for_stringop): Likewise.
15585 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15586 bit_Prefer_PMINUB_for_stringop.
15587
7dc6bd90
UD
155882011-07-19 Ulrich Drepper <drepper@gmail.com>
15589
15590 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15591 buffer64.
15592 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15593 of casting of buffer.
15594 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15595 buffer32 and buffer64.
15596 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15597 writes instead of casting of buffer.
15598 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15599 buffer32.
15600 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15601 casting of buffer.
15602
e0e72284
AS
156032011-07-19 Andreas Schwab <schwab@redhat.com>
15604
15605 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15606
feb1eb0b
UD
156072011-07-19 Ulrich Drepper <drepper@gmail.com>
15608
15609 * nscd/nscd.c (termination_handler): Don't do anything for a database
15610 if it has not yet been initialized.
15611
298711ff
UD
156122011-07-18 Ulrich Drepper <drepper@gmail.com>
15613
15614 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15615
156162011-07-15 Marek Polacek <mpolacek@redhat.com>
15617
15618 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15619
f9d68389
UD
156202011-07-18 Ulrich Drepper <drepper@gmail.com>
15621
15622 * po/nl.po: Update from translation team.
15623 * po/sv.po: Likewise.
15624
db290cf5
RM
156252011-07-16 Roland McGrath <roland@hack.frob.com>
15626
15627 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15628 now disallowed by GCC.
5c550700 15629
fd5e21c7
RM
15630 * configure.in (use-default-link): Default to yes if a test -shared
15631 link meets our qualifications.
15632 * configure: Regenerated.
15633
5c550700
RM
15634 * config.make.in (output-format): New variable.
15635 * configure.in: Check for ld --print-output-format support.
15636 * configure: Regenerated.
15637 * Makerules ($(common-objpfx)format.lds)
15638 [$(output-format) != unknown]: Just use $(output-format),
15639 instead of the linker-script munging.
15640
9fa2c032
RM
156412011-07-14 Roland McGrath <roland@hack.frob.com>
15642
a6928d51
RM
15643 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15644 of $(common-objpfx)shlib.lds.
15645 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15646
661607b3
RM
15647 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15648 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15649
9fa2c032
RM
15650 * configure.in (-z relro check): Adjust test code to add a large
15651 writable data section after it.
15652 * configure: Regenerated.
15653
defe9061
RM
156542011-07-11 Roland McGrath <roland@hack.frob.com>
15655
15656 * configure.in (-z relro check): Fix test code to make the variable
15657 truly const.
15658 * configure: Regenerated.
15659
319b9ad4
UD
156602011-07-11 Ulrich Drepper <drepper@gmail.com>
15661
15662 * nscd/nscd.h (struct traced_file): Define.
15663 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15664 elements. Add traced_files.
15665 (inotify_fd): Declare.
15666 (register_traced_file): Declare.
15667 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15668 (inotify_fd): Export.
15669 (resolv_conf_descr): Remove.
15670 (nscd_init): Move inotify descriptor creation to main.
15671 Don't register files for notification here.
15672 (register_traced_file): New function.
15673 (invalidate_cache): Don't use reset_res to determine whether to call
15674 res_init, go through the list of registered files.
15675 (main_loop_poll): The inotify descriptors are now stored in the
15676 structures for the traced files.
15677 (main_loop_epoll): Likewise
15678 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15679 to __nss_disable_nscd.
15680 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15681 for a database anymore. Check the records for all the registered
15682 files instead.
15683 * nss/Makefile (libnss_files-routines): Add files-init.
15684 (libnss_db-routines): Add db-init.
15685 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15686 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15687 * nss/nss_db/db-init.c: New file.
15688 * nss/nss_files/files-init.c: New file.
15689 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15690 __nss_lookup_function.
15691 (__nss_lookup_function): Call nss_load_library.
15692 (nss_load_all_libraries): New function.
15693 (__nss_disable_nscd): Take parameter with callback function for files
15694 to register. Set is_nscd. Load all the DSOs for the NSS modules
15695 used for the cached services.
15696 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15697 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15698 options for features to all the files in nscd.
15699
15700 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15701
23bee3e8
RM
157022011-07-10 Roland McGrath <roland@hack.frob.com>
15703
15704 * csu/elf-init.c (__libc_csu_init): Comment typo.
15705
46a5b7f0
UD
157062011-07-09 Ulrich Drepper <drepper@gmail.com>
15707
15708 * po/pl.po: Update from translation team.
15709 * po/ja.po: Likewise.
15710 * po/ru.po: Likewise.
15711 * po/ko.po: Likewise.
15712 * po/fr.po: Likewise.
15713
d30cf5bb
RM
157142011-07-09 Roland McGrath <roland@hack.frob.com>
15715
113ddea4
RM
15716 * configure.in (.ctors/.dtors header and trailer check):
15717 Use an empirical test on a built program.
15718 * configure: Regenerated.
15719
574920b4
RM
15720 * configure.in (-z relro check): Use an empirical test on a built DSO.
15721 Detect, but do not require, on ia64.
15722 * configure: Regenerated.
15723
d30cf5bb
RM
15724 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15725 Update tests that use readelf to use $READELF instead.
15726 * configure: Regenerated.
15727
8538fdb3
UD
157282011-07-08 Ulrich Drepper <drepper@gmail.com>
15729
15730 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15731 if the result is not used.
15732
04d08991
AJ
157332011-07-05 Andreas Jaeger <aj@suse.de>
15734
15735 [BZ#9696]
15736 * stdlib/tst-strtod.c: Add testcase.
15737
de283087
AD
157382011-07-07 Ulrich Drepper <drepper@gmail.com>
15739
4e5f31c8 15740 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15741 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15742 The latter has a higher limit. Take additional parameter to pass to
15743 the new function.
15744 (__pathconf): Pass file to __statfs_link_max.
15745 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15746 __statfs_link_max.
15747 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15748 __statfs_link_max.
15749
de283087
AD
15750 [BZ #12868]
15751 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15752 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15753 Handle Lustre.
15754 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15755 (__statfs_filesize_max): Likewise.
15756 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15757
c75fa153
AJ
157582011-07-05 Andreas Jaeger <aj@suse.de>
15759
15760 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15761
1a544854
UD
157622011-07-06 Marek Polacek <mpolacek@redhat.com>
15763
15764 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15765 `status' variable.
15766 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15767 Likewise.
15768
6f0eec67
UD
157692011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15770
15771 * Makefile (strop-tests): Add strncat.
15772 * string/test-strncat.c: New file.
15773
aae30307
UD
157742011-06-30 Marek Polacek <mpolacek@redhat.com>
15775
15776 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15777
c0cfb5eb
UD
157782011-06-21 Andreas Jaeger <aj@suse.de>
15779
15780 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15781 Copy rule from iconvdata/Makefile.
15782
01636b21
UD
157832011-07-06 Ulrich Drepper <drepper@gmail.com>
15784
15785 [BZ #12922]
15786 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15787 but no long options are defined, just return 'W'.
15788
9895c8bc
UD
157892011-06-22 Marek Polacek <mpolacek@redhat.com>
15790
15791 [BZ #9696]
15792 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15793
5d4cf042
UD
157942011-07-06 Ulrich Drepper <drepper@gmail.com>
15795
15796 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15797 netgroups to read.
960e5535 15798 (innetgr): Likewise.
5d4cf042 15799
751eb97e
RM
158002011-07-05 Roland McGrath <roland@hack.frob.com>
15801
15802 * config.make.in (install_root): Default to $(DESTDIR).
15803
f15f1e45
UD
158042011-07-05 Ulrich Drepper <drepper@gmail.com>
15805
15806 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15807
4e34ac6a
RM
158082011-07-02 Roland McGrath <roland@hack.frob.com>
15809
5e9b6af4
RM
15810 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15811
84f9ea0f
RM
15812 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15813 containing directory rather than embedding absolute directory names.
15814
ea5ee9f7
RM
15815 * scripts/check-local-headers.sh: Rewritten using awk.
15816 Match by word, not by line. Print error messages for matches.
15817 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15818
1b74661a
RM
15819 * Makerules [shlib-lds-flags empty]:
15820 ($(common-objpfx)libc_pic.opts): New target.
15821 ($(common-objpfx)libc_pic.os.clean): New target.
15822 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15823
15824 * config.make.in (OBJCOPY): New variable.
15825 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15826 * configure: Regenerated.
15827
f781ef40
RM
15828 * config.make.in (use-default-link): New variable.
15829 * configure.in (use_default_link): Grok --with-default-link to set it.
15830 * configure: Regenerated.
15831 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15832 (shlib-lds, shlib-lds-flags): Define to empty.
15833
2d4fa81e
RM
15834 * Makerules (shlib-lds): New variable.
15835 (shlib-lds-flags): New variable.
15836 (build-shlib, build-moduile, build-module-asneeded): Use it.
15837 ($(common-objpfx)libc.so): Use $(shlib-lds).
15838 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15839 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15840
31fffa6b
RM
15841 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15842 DT_FLAGS/DT_FLAGS_1 with zero flags.
15843
4e34ac6a
RM
15844 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15845 linker script munging.
15846
fcfc776b
UD
158472011-07-02 Ulrich Drepper <drepper@gmail.com>
15848
15849 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15850 as 128-bit value.
15851 * crypt/sha512.c (sha512_process_block): Perform total addition using
15852 128-bit if possible.
15853 (__sha512_finish_ctx): Likewise.
15854 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15855 as 64-bit value.
15856 * crypt/sha256.c (SWAP64): Define.
15857 (sha256_process_block): Perform total addition using 64-bit if
15858 possible.
15859 (__sha256_finish_ctx): Likewise.
15860
99231d9a
UD
158612011-07-01 Ulrich Drepper <drepper@gmail.com>
15862
15863 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15865 * nscd/hstcache.c (cache_addhst): Likewise.
15866 * nscd/grpcache.c (cache_addgr): Likewise.
15867 * nscd/aicache.c (addhstaiX): Likewise
15868 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15869
445b4a53
TK
158702011-07-01 Thorsten Kukuk <kukuk@suse.de>
15871
15872 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15874 * nscd/hstcache.c (cache_addhst): Likewise.
15875 * nscd/grpcache.c (cache_addgr): Likewise.
15876 * nscd/aicache.c (addhstaiX): Likewise
15877
6d4d8e8e
AS
158782011-07-01 Andreas Schwab <schwab@redhat.com>
15879
15880 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15881 domain only when needed.
15882
89f654c5
AS
158832011-06-30 Andreas Schwab <schwab@redhat.com>
15884
15885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15886 is always restored.
15887
cf3b23ff
UD
158882011-06-29 Ulrich Drepper <drepper@gmail.com>
15889
15890 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15891 are re-adding the entry.
15892 * nscd/servicescache.c (cache_addserv): Likewise.
15893
751626f9
AJ
158942011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15895
15896 * sysdeps/generic/dl-irel.h: fix protection against multiple
15897 inclusions.
15898 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15899
9113ea1f
UD
159002011-06-28 Ulrich Drepper <drepper@gmail.com>
15901
5c0b8d90
UD
15902 [BZ #12935]
15903 * malloc/memusage.sh: Fix quoting in message.
15904 * debug/xtrace.sh: Likewise.
15905
9113ea1f
UD
15906 * configure.in: Remove support for --experimental-malloc option, make
15907 it the default.
15908 * config.make.in: Likewise.
15909 * malloc/Makefile: Likewise.
15910
a4172181
AS
159112011-06-27 Andreas Schwab <schwab@redhat.com>
15912
15913 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15914 two-byte characters.
15915
78a7eee7
RM
159162011-06-27 Roland McGrath <roland@hack.frob.com>
15917
62bede13
RM
15918 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15919 AC_CACHE_CHECK invocation.
15920 * configure: Regenerated.
15921
78a7eee7
RM
15922 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15923
5ce33a62
UD
159242011-06-27 Ulrich Drepper <drepper@gmail.com>
15925
034807a9
UD
15926 [BZ #12350]
15927 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15928 bit from old_res_options.
15929
4902da17
UD
15930 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15931
5ce33a62
UD
15932 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15933 value type for setfct.
15934
c2344f56
L
159352011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15936
15937 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15938 __gettimeofday instead of gettimeofday.
15939
68468076
UD
159402011-06-26 Ulrich Drepper <drepper@gmail.com>
15941
15942 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15943
acb0d739
L
159442011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15945
15946 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15947
15948 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15949 info.
15950
8912479f
L
159512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15952
15953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15954 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15955 strcpy-sse2-unaligned strncpy-sse2-unaligned
15956 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15957 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15958 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15959 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15960 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15961 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15962 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15963 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15964 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15965 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15966 (STRCPY): Support SSE2 and SSSE3 versions.
15967
d5495a11
UD
159682011-06-24 Ulrich Drepper <drepper@gmail.com>
15969
15970 [BZ #12874]
15971 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15972 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15973 kernels which artificially limit size of requests.
15974
0b1cbaae
L
159752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15976
15977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15978 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15979 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15980 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15981 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15982 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15983 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15984 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15985 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15987 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15988 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15989 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15990 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15991 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15993 Enable unaligned load optimization for Intel Core i3, i5 and i7
15994 processors.
15995 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15996 Define.
15997 (index_Fast_Unaligned_Load): Define.
15998 (HAS_FAST_UNALIGNED_LOAD): Define.
15999
07f494a0
MP
160002011-06-23 Marek Polacek <mpolacek@redhat.com>
16001
16002 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16003
fa3fc0fe
UD
160042011-06-22 Ulrich Drepper <drepper@gmail.com>
16005
16006 [BZ #12907]
16007 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16008 until it is clear that the information is realy needed.
16009 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16010
e12df166
AS
160112011-06-22 Andreas Schwab <schwab@redhat.com>
16012
16013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16014
852eb34d
UD
160152011-06-22 Ulrich Drepper <drepper@gmail.com>
16016
84e2a551
UD
16017 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16018 /sys/devices/system/cpu/online if it is usable.
16019
852eb34d
UD
16020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16021 reading the information from the /proc filesystem to once a second.
16022
6e502e19
UD
160232011-06-21 Andreas Jaeger <aj@suse.de>
16024
16025 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16026 NULL after inclusion of kernel headers.
16027
75d39ff2
UD
160282011-06-21 Ulrich Drepper <drepper@gmail.com>
16029
51f9aa6a
UD
16030 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16031 calls to internal_setent.
16032
c0244a9d
UD
16033 [BZ #12885]
16034 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16035 addresses using gethostbyname4_r ignore IPv4 addresses.
16036
c5e3c2ae
UD
16037 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16038 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16039
75d39ff2
UD
16040 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16041
42675c6f
DM
160422011-06-20 David S. Miller <davem@davemloft.net>
16043
16044 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16045 inclusions.
16046 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16047
16048 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16049 (elf_irel): Use it.
16050 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16051 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16052 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16053 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16054 * sysdeps/x86_64/dl-irel.h: Likewise.
16055
16056 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16057 * elf/dl-sym.c: Likewise.
16058
57912a71
UD
160592011-06-15 Ulrich Drepper <drepper@gmail.com>
16060
16061 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16062 need to dereference resplen2.
16063
ee22793d
AS
160642011-06-14 Andreas Schwab <schwab@redhat.com>
16065
16066 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16067
a9e836b0
UD
160682011-06-15 Ulrich Drepper <drepper@gmail.com>
16069
77fb9117
UD
16070 * Makeconfig: Define vardbdir and inst_vardbdir.
16071 * nss/Makefile: Add rules to install db-Makefile.
16072
40c1b22c
UD
16073 * nss/nss_db/db-XXX.c: Cleanup.
16074
9f2da732
UD
16075 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16076 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16077 GLIBC_PRIVATE.
16078 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16079 * nss/makedb.c: Implement -g option to specify that value strings
16080 are generated and should not be added to table iterated over for
16081 get*ent calls.
16082 * nss/nss_db/db-initgroups.c: New file.
16083
82e9a1f7
UD
16084 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16085 interface.
16086
c41af17e
UD
16087 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16088 (internal_getgrouplist): Adjust to name change.
16089 Update use_initgroups_entry if this is not the first call.
16090 * nss/databases.def: Add initgroups entry.
16091
a9e836b0
UD
16092 * nss/makedb.c (compute_tables): Check result of multiple hash table
16093 sizes to minimize maximum chain length.
16094
2666d441
UD
160952011-06-14 Ulrich Drepper <drepper@gmail.com>
16096
16097 * Versions.def: Add entry for libnss_db.
16098 * shlib-versions: Likewise.
16099 * nss/Makefile: Add rules to build libnss_db.
16100 * nss/Versions: Add libnss_db information. Organize libnss_files
16101 entries better.
16102 * nss/db-Makefile: Add gshadow support. Change rules for the new
16103 makedb progra. Some minor improvements to generate smaller files.
16104 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16105 here from...
16106 * nss/makedb.c: ...here.
16107 Improve database format to be smaller and require less memory at
16108 runtime.
16109 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16110 db anymore.
16111 * nss/nss_db/db-netgrp.c: Likewise.
16112 * nss/nss_db/db-open.c: Likewise.
16113 * nss/nss_files/flies-XXX.x: Adjust comments.
16114 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16115 * nss/nss_files/files-grp.c: Likewise.
16116 * nss/nss_files/files-hosts.c: Likewise.
16117 * nss/nss_files/files-network.c: Likewise.
16118 * nss/nss_files/files-proto.c: Likewise.
16119 * nss/nss_files/files-pwd.c: Likewise.
16120 * nss/nss_files/files-rpc.c: Likewise.
16121 * nss/nss_files/files-service.c: Likewise.
16122 * nss/nss_files/files-sgrp.c: Likewise.
16123 * nss/nss_files/files-spwd.c: Likewise.
16124 * nss/nss_db/db-alias.c: Removed.
16125 * nss/nss_db/dummy-db.h: Removed.
16126
9ee76b5a
UD
161272011-06-02 Ulrich Drepper <drepper@gmail.com>
16128
16129 * nss/makedb.c: Rewritten to not use database library.
16130 * nss/Makefile: Update to build new makedb program.
16131
c71ca1f8
AJ
161322011-06-14 Andreas Jaeger <aj@suse.de>
16133
16134 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16135 memset declaration.
16136
3154bfb8
UD
161372011-06-10 Andreas Schwab <schwab@redhat.com>
16138
16139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16140 tmpbuf.
16141
b350afab
RM
161422011-06-10 Roland McGrath <roland@hack.frob.com>
16143
decd4e50
RM
16144 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16145 * elf/Makefile ($(objpfx)ld.so): Likewise.
16146
5615eaf2
RM
16147 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16148 Don't list ld.so twice in dependencies.
16149
16150 * posix/bug-regex31.c: Include <stdlib.h>.
16151
16152 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16153
16154 * nis/nss_compat/compat-spwd.c
16155 (getspent_next_nss_netgr): Remove unused variable.
16156 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16157
16158 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16159 nonmembers" output to use the right array.
16160
16161 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16162
16163 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16164
16165 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16166 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16167 * catgets/gencat.c (read_input_file): Likewise.
16168 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16169
16170 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16171 variable definition inside #if's controlling its use.
16172
16173 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16174
16175 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16176
16177 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16178
16179 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16180 unreachable code.
16181
16182 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16183
b68e08db
RM
16184 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16185 * configure: Regenerated.
16186
b350afab
RM
16187 * Makerules: Revert last change.
16188 * elf/Makefile: Likewise.
16189
28368601
RM
161902011-06-09 Roland McGrath <roland@hack.frob.com>
16191
16192 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16193 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16194 (reloc-link): Likewise.
16195
11988f8f
UD
161962011-06-09 Ulrich Drepper <drepper@gmail.com>
16197
16198 * elf/Makefile: Add rules to build pldd.
16199 * elf/pldd.c: New file.
16200 * elf/pldd-xx.c: New file.
16201
e80fab37
UD
162022011-06-07 Ulrich Drepper <drepper@gmail.com>
16203
16204 * version.h: Update for 2.15 development version.
16205
9b849836
DM
162062011-06-07 David S. Miller <davem@davemloft.net>
16207
16208 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16209 ifuncs.
16210 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16211 elf_machine_lazy_rel): Likewise.
16212 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16214 elf_machine_lazy_rel): Likewise.
16215 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16216 dl_hwcap via passed in argument.
16217 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16218 Likewise.
16219
5a31b283
AK
162202011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16221
16222 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16223
069e52f8
RM
162242011-06-06 Roland McGrath <roland@hack.frob.com>
16225
16226 [BZ #12849]
16227 * manual/fdl-1.1.texi: New file, verbatim from:
16228 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16229 * manual/lgpl-2.1.texi: New file, verbatim from:
16230 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16231 * manual/Makefile (licenses): New variable, list those new file names.
16232 (texis): Use it.
16233 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16234
16235 * manual/fdl.texi: File removed.
16236 * manual/lesser.texi: File removed.
16237 * manual/libc.texinfo (Copying, Documentation License):
16238 Use new @include file names, put @appendix directive before @include.
16239
f16846a5
JJ
162402011-06-04 Jakub Jelinek <jakub@redhat.com>
16241
16242 [BZ #12841]
16243 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16244 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16245 (mq_open): Add __NTH.
16246
3d29045b
L
162472011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16250 Assume Intel Core i3/i5/i7 processor if AVX is available.
16251
8c297311
UD
162522011-05-31 Ulrich Drepper <drepper@gmail.com>
16253
16254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16255 typo.
16256
c8fc0c91
UD
162572011-05-31 Andreas Schwab <schwab@redhat.com>
16258
16259 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16260 memory. Use alloca_account. Fix memory leak when retrying.
16261
5b27a807
UD
162622011-05-31 Ulrich Drepper <drepper@gmail.com>
16263
356f8bc6
UD
16264 * version.h (RELEASE): Bump for 2.14 release.
16265 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16266
5b27a807
UD
16267 * config.make.in (RANLIB): Remove entry.
16268
01f16ab0
UD
162692011-05-30 Ulrich Drepper <drepper@gmail.com>
16270
41fce8bd
UD
16271 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16272 (libc.pot): Work around missing support for .ksh extension in xgettext.
16273
4769ae77
UD
16274 [BZ #12684]
16275 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16276 if both request failed.
16277 (send_dg): In case of server errors clear resplen or *resplen2.
16278
6b1e7d19
UD
16279 [BZ #12454]
16280 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16281 when there are multiple maps.
16282 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16283 (_dl_fini): Remove test here.
16284
01f16ab0
UD
16285 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16286
b1ebd700
UD
162872011-05-29 Ulrich Drepper <drepper@gmail.com>
16288
7ae22829
UD
16289 [BZ #12350]
16290 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16291 bit from old_res_options.
16292 (gaih_inet): Likewise.
16293
553149f6 16294 [BZ #11099]
18a84741 16295 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16296 as signed.
16297
652ffab1
UD
16298 * resolv/res_init.c (res_setoptions): Make the code more compact.
16299
16985fd0
UD
16300 [BZ #11558]
16301 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16302 set RES_USEVC.
16303
0464f746
UD
16304 [BZ #11634]
16305 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16306
7d17596c
UD
16307 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16308
cf6bbbd7
UD
16309 [BZ #11781]
16310 * malloc/malloc.h: Declare malloc hook variables as volatile.
16311
13f1ab36
UD
16312 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16313 in last patch.
16314
b1ebd700
UD
16315 [BZ #11799]
16316 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16317 raise in the comment.
80e2212d
UD
16318 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16320 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16321
ce67228d
UD
163222011-05-28 Ulrich Drepper <drepper@gmail.com>
16323
8887a920
UD
16324 [BZ #12811]
16325 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16326 grow the buffers more if it already has to be sufficient.
16327 (build_wcs_upper_buffer): Likewise.
16328 * posix/regexec.c (check_matching): Likewise.
16329 (clean_state_log_if_needed): Likewise.
16330 (extend_buffers): Don't enlarge buffers beyond size of the input
16331 buffer.
16332 Patches mostly by Emil Wojak <emil@wojak.eu>.
16333 * posix/bug-regex32.c: New file.
16334 * posix/Makefile (tests): Add bug-regex32.
16335
4f031072
UD
16336 * locale/findlocale.c (_nl_find_locale): Return right away if
16337 _nl_explode_name failed.
16338 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16339
d0478f0c
UD
16340 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16341
de81b246
UD
16342 * debug/xtrace.sh: Unify messages.
16343 * malloc/memusage.sh: Likewise.
16344
c738465a
UD
16345 [BZ #12813]
16346 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16347 time symbol from vDSO. Substitute with vsyscall if not available.
16348 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16349 __vdso_time.
16350
f1f929d7
UD
16351 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16352 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16353 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16354 Add sendmmsg and internal_sendmmsg.
16355 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16356 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16357 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16358
ce67228d
UD
16359 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16360 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16362
e57420c6
UD
163632011-05-27 Ulrich Drepper <drepper@gmail.com>
16364
a8509ca5
UD
16365 [BZ #12813]
16366 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16367 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16368 available.
16369 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16370 __vdso_getcpu.
16371
e57420c6
UD
16372 [BZ #12814]
16373 * iconvdata/Makefile (tests): Add bug-iconv9.
16374 * iconvdata/bug-iconv9.c: New file.
16375
4d07db15
AS
163762011-05-27 Andreas Schwab <schwab@redhat.com>
16377
16378 [BZ #12814]
16379 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16380
ea486f69
JJ
163812011-05-25 Jakub Jelinek <jakub@redhat.com>
16382
16383 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16384 (struct user_regs_struct): Change intcs field back to cs.
16385
6f038433
UD
163862011-05-25 Ulrich Drepper <drepper@gmail.com>
16387
16388 * po/ja.po: Update from translation team.
16389
67f86a25
UD
163902011-05-23 Ulrich Drepper <drepper@gmail.com>
16391
16392 [BZ #12795]
16393 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16394 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16395
def7fbd6
AS
163962011-05-20 Andreas Schwab <schwab@redhat.com>
16397
16398 * stdlib/longlong.h: Update from GCC.
16399
f50ef8f1
AS
164002011-05-23 Andreas Schwab <schwab@redhat.com>
16401
16402 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16403 parameter name.
16404 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16405 Add parameter name.
16406 (__sysconf): Pass it down.
16407
de7ce8f1
UD
164082011-05-22 Ulrich Drepper <drepper@gmail.com>
16409
f2962a71
UD
16410 [BZ #12671]
16411 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16412 some situations.
16413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16414 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16415 add in in __libc_use_alloca calls. Adjust callers.
16416 (glob): Use malloc in some situations.
16417
de7ce8f1
UD
16418 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16419 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16420 pltexit.
16421
aec84f53
UD
164222011-05-21 Ulrich Drepper <drepper@gmail.com>
16423
05bb4a68
UD
16424 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16425 and CLOCK_BOOTTIME_ALARM.
16426
7ea72f99
UD
16427 [BZ #12782]
16428 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16429 is returned.
16430
7e4afad5
UD
16431 * string/_strerror.c (__strerror_r): Print negative errors as signed
16432 numbers.
16433
8e211fec
UD
16434 [BZ #12777]
16435 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16436 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16437 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16438
f7d82dc9
UD
16439 * configure.in: Fix typo in redirection and correct removal of test
16440 files in two cases.
16441
cc9e536d
UD
16442 [BZ #12788]
16443 * locale/setlocale.c (new_composite_name): Fix test to check for
16444 identical name of all categories.
16445
aec84f53
UD
16446 [BZ #12792]
16447 * libio/filedoalloc.c (local_isatty): New function.
16448 (_IO_file_doallocate): Use local_isatty.
16449 * stdio-common/perror.c (perror): In case a new stream is used
16450 forward the stream error.
16451 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16452 error flag.
16453
78e64fdc
RT
164542011-05-20 Ulrich Drepper <drepper@gmail.com>
16455
34a9094f
UD
16456 [BZ #11869]
16457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16458 alloca.
16459 * include/alloca.h (extend_alloca_account): Define.
16460
78e64fdc
RT
16461 [BZ #11857]
16462 * posix/regex.h: Fix comments with documentation of user-accessible
16463 fields after compilation and describe correct free'ing of pattern
16464 after re_compile_pattern.
16465 Patch by Reuben Thomas <rrt@sc3d.org>.
16466
457bddfc
RA
164672011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16468
16469 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16470 and -mno-altivec to prevent the compiler from using Altivec and/or
16471 VSX instructions when the corresponding registers are not available.
16472
a4527b51
AS
164732011-05-19 Andreas Schwab <schwab@redhat.com>
16474
16475 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16476
ed690b2f
UD
164772011-05-19 Ulrich Drepper <drepper@gmail.com>
16478
16479 * libio/freopen.c (freopen): Use __dup2, not dup2.
16480 * libio/freopen64.c (freopen64): Likewise.
16481
8db73634
L
164822011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16483
16484 [BZ #12775]
16485 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16486 * math/Makefile (tests): Add test-powl.
16487 (CFLAGS-test-powl.c): Define.
16488 * math/test-powl.c: New file.
16489
0a197a9d
L
164902011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16491
16492 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16493
ee30c380
UD
164942011-05-17 Ulrich Drepper <drepper@gmail.com>
16495
16496 [BZ #11837]
16497 * iconvdata/gb18030.c: Update to GB18020-2005.
16498
6ce75379
UD
164992011-05-16 Ulrich Drepper <drepper@gmail.com>
16500
a4b89fd8
AR
16501 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16502 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16503 Patch by Aharon Robbins <arnold@skeeve.com>.
16504
ea389b12
UD
16505 [BZ #11892]
16506 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16507 on the stack.
16508
68a3f91f
UD
16509 [BZ #11895]
16510 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16511 through underflows.
16512
15cc7dd1
UD
16513 [BZ #12766]
16514 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16515 point to strings before performing equality test for error_one_per_line
16516 mode.
16517
f3799213
UD
16518 [BZ #11697]
16519 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16520
d79a9c94
UD
16521 [BZ #11820]
16522 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16523 (struct user_fpregs_struct): Avoid __uint*_t types.
16524
56e5eb46
UD
16525 [BZ #6420]
16526 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16527 symbol info. Use it instead of calling _dl_addr locally.
16528 (lock_and_info): New function.
16529 (tr_freehook): Call lock_and_info and pass symbol info as additional
16530 parameter to tr_where.
16531 (tr_mallochook): Likewise.
16532 (tr_reallochook): Likewise.
16533 (tr_memalignhook): Likewise.
16534
6ce75379
UD
16535 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16536 used and couldn't be at all thread-safe.
16537
f8a3b5bf
UD
165382011-05-15 Ulrich Drepper <drepper@gmail.com>
16539
94b7cc37
UD
16540 * libio/freopen.c (freopen): Don't close old file descriptor
16541 before the new one is opened. Instead dup the new file descriptor
16542 to the old one after the new stream is created.
16543 * libio/freopen64.c (freopen64): Likewise.
16544 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16545 * libio/fileops.c (_IO_new_file_close_it): Handle new
16546 _IO_FLAGS2_NOCLOSE flag.
16547 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16548 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16549 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16550 _IO_FLAGS2_NOCLOSE flag.
16551 * include/unistd.h: Add hidden_proto for dup3.
16552 Define __have_dup3.
16553 * io/dup3.c: Define hidden symbol.
16554 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16555
bd25564e
UD
16556 [BZ #7101]
16557 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16558 when an incomplete long option is used.
16559 * posix/tst-getopt_long1.c: New file.
16560 * posix/Makefile (tests): Add tst-getopt_long1.
16561
c84cfef4
UD
16562 [BZ #10138]
16563 * scripts/config.guess: Update from autoconf-2.68.
16564 * scripts/config.sub: Likewise.
16565
3b85df27
UD
16566 [BZ #10157]
16567 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16568 tests into ...
16569 (has_cpuclock): ...this. New function.
16570 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16571 macro here based on has_cpuclock code.
16572
15a856b1
UD
16573 [BZ #10149]
16574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16575 First byte (not low byte) is now always NUL.
16576 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16577
05f399e6
UD
16578 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16579 Use non-cancelable interfaces.
16580
10a52685 16581 [BZ #9809]
94ecc67d
UD
16582 * locale/iso-639.def: Add entry for Sorani.
16583
f8a3b5bf
UD
16584 [BZ #11901]
16585 * include/stdlib.h: Move include protection to the right place.
16586 Define abort_msg_s. Declare __abort_msg with it.
16587 * stdlib/abort.c (__abort_msg): Adjust type.
16588 * assert/assert.c (__assert_fail_base): New function. Majority
16589 of code from __assert_fail. Allocate memory for __abort_msg with
16590 mmap.
16591 (__assert_fail): Now call __assert_fail_base.
16592 * assert/assert-perr.c: Remove bulk of implementation. Use
16593 __assert_fail_base.
16594 * include/assert.hL Declare __assert_fail_base.
16595 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16596 mmap.
16597 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16598
1af4e298
UD
165992011-05-14 Ulrich Drepper <drepper@gmail.com>
16600
f8a3b5bf 16601 [BZ #11952]
d26dfc60
MG
16602 [BZ #12453]
16603 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16604 until all modules are registered in the DTV.
16605 * elf/Makefile: Add rules to build and run tst-tls19.
16606 * elf/tst-tls19.c: New file.
16607 * elf/tst-tls19mod1.c: New file.
16608 * elf/tst-tls19mod2.c: New file.
16609 * elf/tst-tls19mod3.c: New file.
16610 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16611
2fc54d6f
UD
16612 [BZ #12083]
16613 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16614 correctly.
16615
98d76b46
UD
16616 [BZ #12601]
16617 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16618 two-byte sequence errors.
16619 * iconvdata/Makefile (tests): Add bug-iconv8.
16620 * iconvdata/bug-iconv8.c: New file.
16621
da3c19ef
UD
16622 [BZ #12626]
16623 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16624 buf2 definition.
16625
ca408c15
UD
16626 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16627
d6f67f7d
UD
16628 [BZ #12432]
16629 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16630 (dummy_getcfa): New function.
16631 (init): Get _Unwind_GetCFA address, use dummy if not found.
16632 (backtrace_helper): In recursion check, also check whether CFA changes.
16633 (__backtrace): Completely initialize arg.
16634
1af4e298 16635 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16636 storing incomplete byte sequence in state object. Avoid testing for
16637 guaranteed too small input if we know there is enough data available.
1af4e298 16638
da62f81b
AS
166392011-05-11 Andreas Schwab <schwab@redhat.com>
16640
16641 * Makeconfig (+link-pie): Indent.
16642 * Rules (binaries-pie): Define if $(have-fpie) and
16643 $(build-shared).
16644 (binaries-shared): Also filter out $(binaries-pie).
16645 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16646 * nscd/Makefile (others-pie): Add nscd.
16647 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16648 ($(objpfx)nscd): Remove command override.
16649 * login/Makefile (others-pie): Add pt_chown.
16650 ($(objpfx)pt_chown): Remove command override.
16651 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16652 remove command overrides.
16653
fcabc0f8
UD
166542011-05-13 Ulrich Drepper <drepper@gmail.com>
16655
20030ae6
UD
16656 * libio/tst_putwc.c: Fix error messages.
16657
fcabc0f8
UD
16658 [BZ #12724]
16659 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16660 currently writing and seek to current position when not.
16661 * libio/Makefile (tests): Add bug-fclose1.
16662 * libio/bug-fclose1.c: New file.
16663
320a5dc0
PB
166642011-05-12 Ulrich Drepper <drepper@gmail.com>
16665
16666 [BZ #12511]
16667 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16668 don't set DF_1_NODELETE here.
16669 (do_lookup_x): When entering new entry test for copy relocation
16670 and if necessary set DF_1_NODELETE flag.
16671 * elf/tst-unique4.cc: New file.
16672 * elf/tst-unique4.h: New file.
16673 * elf/tst-unique4lib.cc: New file.
16674 * elf/Makefile: Add rules to build and run tst-unique4.
16675 Patch by Piotr Bury <pbury@goahead.com>.
16676
22836f52
UD
166772011-05-11 Ulrich Drepper <drepper@gmail.com>
16678
f574184a
UD
16679 [BZ #12052]
16680 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16681
e1fb097f
UD
16682 [BZ #12625]
16683 * misc/mntent_r.c (addmntent): Flush the stream after the output
16684
22836f52
UD
16685 [BZ #12393]
16686 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16687 (is_trusted_path_normalize): Skip initial colon. Append slash
16688 to empty buffer. Duplicate is_trusted_path code but allow
16689 constructed patch to be prefix.
16690 (is_dst): Allow $ORIGIN followed by /.
16691 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16692 Correct testing of result of is_trusted_path_normalize
16693 (decompose_rpath): Fix warning.
16694
7b3b0b2a
UD
166952011-05-10 Ulrich Drepper <drepper@gmail.com>
16696
16697 [BZ #11257]
16698 * grp/initgroups.c (internal_getgrouplist): When we found the service
16699 list through the initgroups entry in nsswitch.conf do not always
16700 continue on a successful lookup. Don't always use the
eac80ce2 16701 __nss_group_database value if it is set.
7b3b0b2a
UD
16702 * nss/nsswitch.conf (initgroups): Change action for successful db
16703 lookup to continue for compatibility.
16704
2a81eaa5
UD
167052011-05-09 Ulrich Drepper <drepper@gmail.com>
16706
be97a69e
UD
16707 [BZ #11532]
16708 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16709 and CP774 modules.
16710 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16711 and CP774 modules.
16712 * iconvdata/tst-tables.sh: Likewise.
16713 * iconvdata/cp770.c: New file.
16714 * iconvdata/cp771.c: New file.
16715 * iconvdata/cp772.c: New file.
16716 * iconvdata/cp773.c: New file.
16717 * iconvdata/cp774.c: New file.
16718 * iconvdata/testdata/CP770: New file.
16719 * iconvdata/testdata/CP770..UTF8: New file.
16720 * iconvdata/testdata/CP771: New file.
16721 * iconvdata/testdata/CP771..UTF8: New file.
16722 * iconvdata/testdata/CP772: New file.
16723 * iconvdata/testdata/CP772..UTF8: New file.
16724 * iconvdata/testdata/CP773: New file.
16725 * iconvdata/testdata/CP773..UTF8: New file.
16726 * iconvdata/testdata/CP774: New file.
16727 * iconvdata/testdata/CP774..UTF8: New file.
16728
16729 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16730 END CHARMAP line.
16731 * iconvdata/gen-8bit-gap.sh: Likewise.
16732 * iconvdata/gen-8bit.sh: Likewise.
16733
c1e9e399
UD
16734 * locale/iso-639.def: Add ary entry.
16735
24c55fb3 16736 [BZ #11258]
96b4b1b0
UD
16737 * locale/C-translit.h.in: Add U20A1 transliteration.
16738
bdc2f971
KB
16739 [BZ #12178]
16740 * locale/iso-639.def: Add wae entry.
16741 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16742
2952b117
UD
16743 [BZ #12545]
16744 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16745 for n.
16746
2a81eaa5
UD
16747 [BZ #12711]
16748 * locale/C-translit.h.in: Add entry for U20B9.
16749 Patch by pravin.d.s@gmail.com.
16750
28377d1b
UD
167512011-05-08 Ulrich Drepper <drepper@gmail.com>
16752
7fb90fb8
UD
16753 [BZ #12713]
16754 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16755 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16756 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16757 in rtld. Use *stat64.
7fb90fb8 16758 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16759 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16760 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16761 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16762 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16763 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16764 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16765 __fstatat64 macros.
7fb90fb8
UD
16766 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16767 * dirent/rewinddir.c: Add libc_hidden_def.
16768 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16769 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16770
28377d1b
UD
16771 * include/dirent.h (__alloc_dir): Add flags parameter.
16772 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16773 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16774 __alloc_dir.
16775 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16776 from fdopendir if O_CLOEXEC is already set.
16777
66bdbaa4
AM
167782011-03-15 Alan Modra <amodra@gmail.com>
16779
16780 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16781 l_tls_firstbyte_offset non-zero. Save padding offset in
16782 l_tls_firstbyte_offset for later use.
16783 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16784 freeing static tls block.
16785
95721191
JN
167862011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16787
16788 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16789 where #ifdef was intended. The intent is to prevent ARG_MAX from
16790 being defined by the kernel headers.
16791
f87dfb1f
UD
167922011-05-07 Ulrich Drepper <drepper@gmail.com>
16793
16794 [BZ #12734]
16795 * resolv/resolv.h: Define RES_NOTLDQUERY.
16796 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16797 no-tld-query and set RES_NOTLDQUERY.
16798 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16799 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16800 modern BIND to search name as TLD unless forbidden.
16801
47c3cd7a
UD
168022011-05-07 Petr Baudis <pasky@suse.cz>
16803 Ulrich Drepper <drepper@gmail.com>
16804
16805 [BZ #12393]
16806 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16807 (is_trusted_path): ...to here.
c1e9ea35 16808 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16809 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16810 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16811
8a35c912
PP
168122011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16813
16814 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16815 __BEGIN/__END_DECLS.
16816
acd41f47
UD
168172011-05-06 Ulrich Drepper <drepper@gmail.com>
16818
16819 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16820 NSS_STATUS_NOTFOUND if no record was found.
16821
597df647
AS
168222011-05-05 Andreas Schwab <schwab@redhat.com>
16823
16824 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16825 (headers-not-in-tirpc): Remove rpc/netdb.h
16826 * resolv/netdb.h: Revert last change.
16827
b9af1301
PP
168282011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16829
16830 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16831 circular dependency between libgcc.a and libc.a.
16832
4e34d5f5
AS
168332011-05-05 Andreas Schwab <schwab@redhat.com>
16834
16835 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16836 * nis/Makefile: Don't install rpcsvc/*.
16837 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16838 instead of <rpc/types.h>.
16839 (MAXHOSTNAMELEN): Define.
16840
00ee369c
AS
168412011-05-03 Andreas Schwab <schwab@redhat.com>
16842
16843 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16844
0b592a30
MB
168452011-04-28 Maciej Babinski <mbabinski@google.com>
16846
16847 [BZ #12714]
16848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16849 gethostbyname4_r when IPv6 results are possible.
16850
6e04cbbe
UD
168512011-05-02 Ulrich Drepper <drepper@gmail.com>
16852
16853 [BZ #12723]
16854 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16855 _PC_PIPE_BUF handling.
16856
e4ecafe0
BH
168572011-04-30 Bruno Haible <bruno@clisp.org>
16858
16859 [BZ #12717]
16860 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16861 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16862 to 'int'.
16863 * inet/getnameinfo.c (getnameinfo): Likewise.
16864
125ee683
UD
168652011-04-29 Ulrich Drepper <drepper@gmail.com>
16866
16867 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16868 to groups setting in database lookup.
16869 * nss/nsswitch.conf: Add initgroups entry.
16870
b722481a
EB
168712011-04-22 Ulrich Drepper <drepper@gmail.com>
16872
16873 [BZ #12685]
16874 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16875 mode string.
16876 Patch by Eric Blake <eblake@redhat.com>.
16877
4df46dbd
L
168782011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16879
16880 * sunrpc/Makefile (need-export-routines): Add svc_run.
16881 (routines): Remove svc_run.
16882 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16883 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16884 * sunrpc/svc_run.c (svc_run): Likewise.
16885 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16886
e84142d2
UD
168872011-04-21 Ulrich Drepper <drepper@gmail.com>
16888
16889 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16890 problem in reallocation in last patch.
16891
877175d8
UD
168922011-04-20 Ulrich Drepper <drepper@gmail.com>
16893
16894 * sunrpc/Makefile: Move inclusion of Rules.
16895
ab8eed78
UD
168962011-04-19 Ulrich Drepper <drepper@gmail.com>
16897
16898 * nss/nss_files/files-initgroups.c: New file.
16899 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16900 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16901 _nss_files_initgroups_dyn.
16902
e3d8f584
RS
169032011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16904
16905 * elf/elf.h (R_ARM_IRELATIVE): Define.
16906
af190f45
UD
169072011-04-19 Ulrich Drepper <drepper@gmail.com>
16908
16909 * po/ru.po: Update from translation team.
16910
53cf59ef
UD
169112011-04-17 Ulrich Drepper <drepper@gmail.com>
16912
16913 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16914 dependencies.
16915
4c559bcd
MF
169162011-02-06 Mike Frysinger <vapier@gentoo.org>
16917
16918 [BZ #12653]
16919 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16920 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16922 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16923 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16924
4420675c
AS
169252011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16926
16927 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16928 differing bytes.
16929 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16930 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16931 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16932
75ea32ab
UD
169332011-04-17 Ulrich Drepper <drepper@gmail.com>
16934
16935 [BZ #12420]
16936 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16937 storing it.
16938 * stdlib/bug-getcontext.c: New file.
16939 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16940
27390476
AK
169412011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16942
16943 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16944 instructions into .machine "z9-109".
16945 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16946 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16947
10442705
AK
169482011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16949
16950 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16951 between environment variables and auxiliary vector.
16952
7b57bfe5
UD
169532011-04-16 Ulrich Drepper <drepper@gmail.com>
16954
16955 * Makefile: Add rules to build linkobj/libc.so.
16956 * include/libc-symbols.h: Define libc_hidden_nolink.
16957 * include/rpc/auth.h: Mark functions which are to be hidden.
16958 * include/rpc/auth_des.h: Likewise.
16959 * include/rpc/auth_unix.h: Likewise.
16960 * include/rpc/clnt.h: Likewise.
16961 * include/rpc/des_crypt.h: Likewise.
16962 * include/rpc/key_prot.h: Likewise.
16963 * include/rpc/pmap_clnt.h: Likewise.
16964 * include/rpc/pmap_prot.h: Likewise.
16965 * include/rpc/pmap_rmt.h: Likewise.
16966 * include/rpc/rpc_msg.h: Likewise.
16967 * include/rpc/svc.h: Likewise.
16968 * include/rpc/svc_auth.h: Likewise.
16969 * include/rpc/xdr.h: Likewise.
16970 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16971 * nss/Makefile: Likewise.
16972 * sunrpc/Makefile: Don't install headers. Build library with normal
16973 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16974 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16975 for the compat linking library. Remove use of INTDEF/INTUSE.
16976 * sunrpc/auth_none.c: Likewise.
16977 * sunrpc/auth_unix.c: Likewise.
16978 * sunrpc/authdes_prot.c: Likewise.
16979 * sunrpc/authuxprot.c: Likewise.
16980 * sunrpc/clnt_gen.c: Likewise.
16981 * sunrpc/clnt_perr.c: Likewise.
16982 * sunrpc/clnt_raw.c: Likewise.
16983 * sunrpc/clnt_simp.c: Likewise.
16984 * sunrpc/clnt_tcp.c: Likewise.
16985 * sunrpc/clnt_udp.c: Likewise.
16986 * sunrpc/clnt_unix.c: Likewise.
16987 * sunrpc/des_crypt.c: Likewise.
16988 * sunrpc/des_soft.c: Likewise.
16989 * sunrpc/get_myaddr.c: Likewise.
16990 * sunrpc/key_call.c: Likewise.
16991 * sunrpc/key_prot.c: Likewise.
16992 * sunrpc/netname.c: Likewise.
16993 * sunrpc/pm_getmaps.c: Likewise.
16994 * sunrpc/pm_getport.c: Likewise.
16995 * sunrpc/pmap_clnt.c: Likewise.
16996 * sunrpc/pmap_prot.c: Likewise.
16997 * sunrpc/pmap_prot2.c: Likewise.
16998 * sunrpc/pmap_rmt.c: Likewise.
16999 * sunrpc/publickey.c: Likewise.
17000 * sunrpc/rpc_cmsg.c: Likewise.
17001 * sunrpc/rpc_common.c: Likewise.
17002 * sunrpc/rpc_dtable.c: Likewise.
17003 * sunrpc/rpc_prot.c: Likewise.
17004 * sunrpc/rpc_thread.c: Likewise.
17005 * sunrpc/rtime.c: Likewise.
17006 * sunrpc/svc.c: Likewise.
17007 * sunrpc/svc_auth.c: Likewise.
17008 * sunrpc/svc_authux.c: Likewise.
17009 * sunrpc/svc_raw.c: Likewise.
17010 * sunrpc/svc_run.c: Likewise.
17011 * sunrpc/svc_simple.c: Likewise.
17012 * sunrpc/svc_tcp.c: Likewise.
17013 * sunrpc/svc_udp.c: Likewise.
17014 * sunrpc/svc_unix.c: Likewise.
17015 * sunrpc/svcauth_des.c: Likewise.
17016 * sunrpc/xcrypt.c: Likewise.
17017 * sunrpc/xdr.c: Likewise.
17018 * sunrpc/xdr_array.c: Likewise.
17019 * sunrpc/xdr_float.c: Likewise.
17020 * sunrpc/xdr_intXX_t.c: Likewise.
17021 * sunrpc/xdr_mem.c: Likewise.
17022 * sunrpc/xdr_rec.c: Likewise.
17023 * sunrpc/xdr_ref.c: Likewise.
17024 * sunrpc/xdr_sizeof.c: Likewise.
17025 * sunrpc/xdr_stdio.c: Likewise.
17026
e6c61494
UD
170272011-04-10 Ulrich Drepper <drepper@gmail.com>
17028
17029 [BZ #12650]
17030 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17031 * sysdeps/ia64/dl-tls.h: Likewise.
17032 * sysdeps/powerpc/dl-tls.h: Likewise.
17033 * sysdeps/s390/dl-tls.h: Likewise.
17034 * sysdeps/sh/dl-tls.h: Likewise.
17035 * sysdeps/sparc/dl-tls.h: Likewise.
17036 * sysdeps/x86_64/dl-tls.h: Likewise.
17037 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17038
34fe483e
AS
170392011-03-14 Andreas Schwab <schwab@redhat.com>
17040
17041 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17042 rpath element also skip the following colon.
17043 (expand_dynamic_string_token): Add is_path parameter and pass
17044 down to DL_DST_REQUIRED and _dl_dst_substitute.
17045 (decompose_rpath): Call expand_dynamic_string_token with
17046 non-zero is_path. Ignore empty rpaths.
17047 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17048 with zero is_path.
17049
f12a32e6
AS
170502011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17051
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17053 Make cancelable.
17054
38a7d692
UD
170552011-04-09 Ulrich Drepper <drepper@gmail.com>
17056
17057 [BZ #12655]
17058 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17059 Patch by Filipe David Manana <fdmanana@apache.org>.
17060
e451d22b
AS
170612011-04-07 Andreas Schwab <schwab@redhat.com>
17062
17063 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17064 Maintain aligned stack.
17065 (CHECK_RSP): Remove unused macro.
17066
dedc7c7b
UD
170672011-04-03 Ulrich Drepper <drepper@gmail.com>
17068
17069 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17070 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17071
94521213
UD
170722011-04-02 Ulrich Drepper <drepper@gmail.com>
17073
17074 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17075
8cb700c0 17076 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17077
0354e355
L
170782011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17079
17080 [BZ #12518]
17081 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17082 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17083 * sysdeps/x86_64/memmove.c: New file.
17084 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17085 (memcpy): Renamed to ...
17086 (__new_memcpy): This.
17087 (memcpy): Provide GLIBC_2_14 memcpy.
17088 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17089 (memcpy): Provide GLIBC_2_2_5 memcpy.
17090
8593482f
UD
170912011-04-01 Ulrich Drepper <drepper@gmail.com>
17092
17093 [BZ #12631]
17094 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17095
81a5726b
AS
170962011-03-30 Andreas Schwab <schwab@redhat.com>
17097
17098 * misc/syncfs.c: New file.
17099 * misc/Makefile (routines): Add syncfs.
17100 * posix/unistd.h: Declare syncfs.
17101 * sysdeps/unix/syscalls.list: Add syncfs.
17102
00e5419f
AS
171032011-04-01 Andreas Schwab <schwab@redhat.com>
17104
17105 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17106 open_by_handle_at.
17107 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17108 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17110 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17112 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17113 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17114
748876bf
UD
171152011-04-01 Ulrich Drepper <drepper@gmail.com>
17116
658e451d
UD
17117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17118 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17119 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17121 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17124
748876bf
UD
17125 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17126 sync_file_range.c with -fexceptions.
17127 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17128 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17129 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17130 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17131 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17132 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17134 sync_file_range as cancellation point
17135 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17136 now a wrapper around __call_sync_file_range with cancellation handling.
17137 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17138 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17139 function name to __call_sync_file_range.
17140 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17141 Add call_sync_file_range.
748876bf 17142
6e63d5e1
AS
171432011-04-01 Andreas Schwab <schwab@redhat.com>
17144
17145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17146 bits/timex.h.
6e63d5e1 17147
46998f74
UD
171482011-04-01 Ulrich Drepper <drepper@gmail.com>
17149
4c1423ed
UD
17150 * iconv/iconv.h: Fix typo in comment.
17151 * io/fcntl.h: Likewise.
17152 * libio/stdio.h: Likewise.
17153 * posix/spawn.h: Likewise.
17154 * posix/unistd.h: Likewise.
17155 * stdlib/stdlib.h: Likewise.
17156 * time/time.h: Likewise.
17157 * wcsmbs/wchar.h: Likewise.
17158
158648c0
UD
17159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17160 open_by_handle): Add.
17161 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17162 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17163 Augment a few comments.
17164 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17166 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17168 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17169 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17170 open_by_handle.
17171
46998f74
UD
17172 * io/fcntl.h (AT_EMPTY_PATH): Define.
17173
83fe108b
UD
171742011-03-30 Ulrich Drepper <drepper@gmail.com>
17175
17176 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17177 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17178 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17179 to...
17180 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17181 * Versions.def: Add GLIBC_2.14.
17182 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17183 Export.
83fe108b 17184
bb242059
UD
171852011-03-22 Ulrich Drepper <drepper@gmail.com>
17186
17187 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17188 round counter.
17189 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17190
c97a1282
L
171912011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17192
17193 [BZ #12597]
17194 * string/test-strncmp.c (do_page_test): New function.
17195 (check2): Likewise.
17196 (test_main): Call check2.
17197 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17198
2a115601
UD
171992011-03-20 Ulrich Drepper <drepper@gmail.com>
17200
17201 [BZ #12587]
17202 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17203 Handle cache information in CPU leaf 4.
17204 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17205
8126d904
UD
172062011-03-18 Ulrich Drepper <drepper@gmail.com>
17207
042c49c6 17208 [BZ #12583]
8126d904
UD
17209 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17210 character representation.
17211 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17212
ccfe366e
RA
172132011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17214
17215 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17216 END(__isnan) to END(__isnanf) to match function entry point/label
17217 EALIGN(__isnanf,...).
17218
c6e13027
JJ
172192011-03-10 Jakub Jelinek <jakub@redhat.com>
17220
17221 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17222
33f85a3f
UD
172232011-03-10 Ulrich Drepper <drepper@gmail.com>
17224
028478fa
UD
17225 [BZ #12510]
17226 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17227 copy from the symbol referenced in the relocation to initialize the
17228 used variable.
17229 Patch by Piotr Bury <pbury@goahead.com>.
17230 * elf/Makefile: Add rules to build and tst-unique3.
17231 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17232 * elf/tst-unique3.cc: New file.
17233 * elf/tst-unique3.h: New file.
17234 * elf/tst-unique3lib.cc: New file.
17235 * elf/tst-unique3lib2.cc: New file.
17236
33f85a3f
UD
17237 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17238
03592fc7
MF
172392011-03-10 Mike Frysinger <vapier@gentoo.org>
17240
17241 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17242 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17243 to _start.
03592fc7 17244
6a5ee102
UD
172452011-03-06 Ulrich Drepper <drepper@gmail.com>
17246
17247 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17248 to-be-loaded object along a path to loader is ld.so.
17249
7e4ba49c
HJ
172502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17251 Ulrich Drepper <drepper@gmail.com>
17252
17253 * sysdeps/x86_64/memset.S: After aligning destination, code
17254 branches to different locations depending on the value of
17255 misalignment, when multiarch is enabled. Fix this.
17256
172572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17258
17259 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17260 Set _x86_64_preferred_memory_instruction for AMD processsors.
17261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17262 Set bit_Prefer_SSE_for_memop for AMD processors.
17263
13a804de
UD
172642011-03-04 Ulrich Drepper <drepper@gmail.com>
17265
17266 * libio/fmemopen.c (fmemopen): Optimize a bit.
17267
9d25c392
AS
172682011-03-03 Andreas Schwab <schwab@redhat.com>
17269
17270 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17271
a5543c6a
RM
172722011-03-03 Roland McGrath <roland@redhat.com>
17273
17274 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17275
012d35f7
DM
172762011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17277
7e4ba49c 17278 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17279 __bzero_ultra1 instead of __memset_ultra1.
17280
4bff6e01
AS
172812011-02-23 Andreas Schwab <schwab@redhat.com>
17282 Ulrich Drepper <drepper@gmail.com>
17283
17284 [BZ #12509]
17285 * include/link.h (struct link_map): Add l_orig_initfini.
17286 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17287 returning unsuccessfully.
17288 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17289 close of a file loaded at startup, restore the original l_initfini
17290 list.
17291 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17292 list, store the pointer.
17293 * elf/Makefile ($(objpfx)noload-mem): New rule.
17294 (noload-ENV): Define.
17295 (tests): Add $(objpfx)noload-mem.
17296 * elf/noload.c: Include <memcheck.h>.
17297 (main): Call mtrace. Close all opened handles.
17298
f2092faf
AS
172992011-02-17 Andreas Schwab <schwab@redhat.com>
17300
17301 [BZ #12454]
17302 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17303 dependencies are missing.
17304
6c8a2e88
ST
173052011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17306
f2092faf 17307 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17308 Hurd needs munmap.
17309 * sysdeps/mach/hurd/ifreq.h: New file.
17310
84a42118
PB
173112011-01-27 Petr Baudis <pasky@suse.cz>
17312 Ulrich Drepper <drepper@gmail.com>
17313
071f805e 17314 [BZ 12445]#
84a42118
PB
17315 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17316 to extend_alloca().
17317 * stdio-common/bug23.c: New file.
17318 * stdio-common/Makefile (tests): Add bug23.
17319
e23fe25b
AS
173202010-09-28 Andreas Schwab <schwab@redhat.com>
17321 Ulrich Drepper <drepper@gmail.com>
17322
17323 [BZ #12489]
17324 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17325 before performing relro protection. At old place add assertion
17326 to make sure nothing changed.
17327
d3f02e10
NS
173282011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17329 Glauber de Oliveira Costa <glommer@gmail.com>
17330
17331 * elf/elf.h: Add new ARM TLS relocs.
17332
d55fd7a5
RA
173332011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17334
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17336 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17337 cast from r3.
17338 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17339 'tests' variable.
17340 * sysdeps/wordsize-64/tst-writev.c: New file.
17341
2206397e
RA
173422011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17343
17344 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17345 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17346 insns in _dl_start to prevent a TOC reference before relocs are
17347 resolved.
17348
e9433893
UD
173492011-02-15 Ulrich Drepper <drepper@gmail.com>
17350
17351 [BZ #12469]
17352 * Makeconfig: Remove RANLIB definition.
17353 * Makerules: Don't use RANLIB.
17354 * aclocal.m4: Remove ranlib test.
17355 * configure.in: No need to check for ranlib.
17356 * elf/rtld-Rules: Don't use RANLIB.
17357
f75286c6
ST
173582011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17359
8e31c82d
ST
17360 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17361 protection macro.
17362 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17363 inclusion protection macro.
17364
f75286c6
ST
17365 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17366 SIGRTMIN and SIGRTMAX and print information in that case only when
17367 SIGRTMIN is defined.
17368
c1d0e639
JJ
173692011-02-11 Jakub Jelinek <jakub@redhat.com>
17370
17371 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17372 arginfo fn returning -1.
17373
17374 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17375 and thousands string is zero terminated.
17376
edf9294e
AS
173772011-02-03 Andreas Schwab <schwab@redhat.com>
17378
17379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17380 sysdeps/unix/sysv/linux/bits/socket.h.
17381
2b7e92df
ST
173822011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17383
edf9294e
AS
17384 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17385 (__CPU_COUNT): Remove old macros.
17386 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17387 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17388 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17389 (__sched_cpualloc, __sched_cpufree): Add declarations.
17390
a4c7ea7b
UD
173912011-02-05 Ulrich Drepper <drepper@gmail.com>
17392
17393 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17394 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17395 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17396 (readdhstai): Return value of addhstaiX call.
17397 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17398 (addgrbyX): Return value returned by cache_addgr.
17399 (readdgrbyname): Return value returned by addgrbyX.
17400 (readdgrbygid): Likewise.
17401 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17402 (addpwbyX): Return value returned by cache_addpw.
17403 (readdpwbyname): Return value returned by addhstbyX.
17404 (readdpwbyuid): Likewise.
17405 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17406 (addservbyX): Return value returned by cache_addserv.
17407 (readdservbyname): Return value returned by addservbyX:
17408 (readdservbyport): Likewise.
17409 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17410 (addhstbyX): Return value returned by cache_addhst.
17411 (readdhstbyname): Return value returned by addhstbyX.
17412 (readdhstbyaddr): Likewise.
17413 (readdhstbynamev6): Likewise.
17414 (readdhstbyaddrv6): Likewise.
17415 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17416 (readdinitgroups): Return value returned by addinitgroupsX.
17417 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17418 (prune_cache): Keep track of timeout value of re-added entries.
17419 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17420 * nscd/nscd.h: Adjust prototypes of readd* functions.
17421
a0bf67cc
RM
174222011-02-04 Roland McGrath <roland@redhat.com>
17423
17424 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17425 (nis_stats): Likewise.
17426 * nis/nis_modify.c (nis_modify): Likewise.
17427 * nis/nis_remove.c (nis_remove): Likewise.
17428 * nis/nis_add.c (nis_add): Likewise.
17429
17430 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17431
17432 * posix/fnmatch_loop.c: Add some consts.
17433
17434 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17435
435b95eb
L
174362011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17437
17438 [BZ #12460]
17439 * config.make.in (config-cflags-novzeroupper): Define.
17440 * configure.in: Substitute libc_cv_cc_novzeroupper.
17441 * elf/Makefile (AVX-CFLAGS): Define.
17442 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17443 (CFLAGS-tst-auditmod4a.c): Likewise.
17444 (CFLAGS-tst-auditmod4b.c): Likewise.
17445 (CFLAGS-tst-auditmod6b.c): Likewise.
17446 (CFLAGS-tst-auditmod6c.c): Likewise.
17447 (CFLAGS-tst-auditmod7b.c): Likewise.
17448 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17449
8517b15e
UD
174502011-02-02 Ulrich Drepper <drepper@gmail.com>
17451
17452 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17453 function to the callback.
17454 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17455
10a656fe
AS
174562011-02-02 Andreas Schwab <schwab@redhat.com>
17457
17458 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17459 of errno.
17460
968dad0a
UD
174612011-01-19 Ulrich Drepper <drepper@gmail.com>
17462
9f94d2ea 17463 [BZ #11724]
968dad0a
UD
17464 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17465 of constructors.
17466 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17467 of destructors.
17468 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17469
17470 [BZ #11724]
17471 * elf/Makefile: Add rules to build and run new test.
17472 * elf/tst-initorder.c: New file.
17473 * elf/tst-initorder.exp: New file.
17474 * elf/tst-initordera1.c: New file.
17475 * elf/tst-initordera2.c: New file.
17476 * elf/tst-initordera3.c: New file.
17477 * elf/tst-initordera4.c: New file.
17478 * elf/tst-initorderb1.c: New file.
17479 * elf/tst-initorderb2.c: New file.
17480 * elf/tst-order-a1.c: New file.
17481 * elf/tst-order-a2.c: New file.
17482 * elf/tst-order-a3.c: New file.
17483 * elf/tst-order-a4.c: New file.
17484 * elf/tst-order-b1.c: New file.
17485 * elf/tst-order-b2.c: New file.
17486 * elf/tst-order-main.c: New file.
17487 New test case by George Gensure <werkt0@gmail.com>.
17488
86e92359
UD
174892010-10-01 Andreas Schwab <schwab@redhat.com>
17490
17491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17492 decoding ACE if AI_CANONIDN.
17493
5d5732b0
UD
174942011-01-18 Ulrich Drepper <drepper@gmail.com>
17495
17496 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17497
a77e8cbc
UD
174982011-01-17 Ulrich Drepper <drepper@gmail.com>
17499
6392473f
UD
17500 * version.h (RELEASE): Bump for 2.13 release.
17501 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17502
620a0529
UD
17503 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17504
18ba70a5
UD
17505 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17506 MADV_NOHUGEPAGE.
32465c3e
UD
17507 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17508 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17509 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17510 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17511 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17512 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17513
c0dafcf1
UD
17514 * posix/getconf.c: Update copyright year.
17515 * catgets/gencat.c: Likewise.
17516 * csu/version.c: Likewise.
17517 * debug/catchsegv.sh: Likewise.
17518 * debug/xtrace.sh: Likewise.
17519 * elf/ldconfig.c: Likewise.
17520 * elf/ldd.bash.in: Likewise.
17521 * elf/sprof.c (print_version): Likewise.
17522 * iconv/iconv_prog.c: Likewise.
17523 * iconv/iconvconfig.c: Likewise.
17524 * locale/programs/locale.c: Likewise.
17525 * locale/programs/localedef.c: Likewise.
17526 * malloc/memusage.sh: Likewise.
17527 * malloc/mtrace.pl: Likewise.
17528 * nscd/nscd.c (print_version): Likewise.
17529 * nss/getent.c: Likewise.
17530
a77e8cbc
UD
17531 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17532 PF_CAIF, and PF_ALG.
17533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17534
77e8bddf
AS
175352011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17536
1f20b93a
AS
17537 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17538 (modules-names): Use them.
17539 (ifunc-test-modules, ifunc-pie-tests): Define.
17540 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17541 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17542 (test-extras): Likewise.
17543 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17544 $(compile-command.c).
17545 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17546 (all-built-dso): Define.
17547 (check-textrel.out, check-execstack.out): Depend on it.
17548
77e8bddf
AS
17549 * configure.in: Don't override --enable-multi-arch.
17550
bc425b33
UD
175512011-01-15 Ulrich Drepper <drepper@gmail.com>
17552
17553 [BZ #6812]
17554 * nscd/hstcache.c (tryagain): Define.
17555 (cache_addhst): Return tryagain not notfound for temporary errors.
17556 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17557 failed.
17558
794c3ad3
UD
175592011-01-14 Ulrich Drepper <drepper@gmail.com>
17560
70181fdd
UD
17561 [BZ #10563]
17562 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17563 to make the syscall.
17564 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17565
794c3ad3
UD
17566 [BZ #12378]
17567 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17568 and fall back to matching as normal character if the string ends before
17569 the matching ']' is found. This is what POSIX requires.
17570 * posix/testfnm.c: Adjust test result.
17571 * posix/globtest.sh: Adjust test result. Add new test.
17572 * posix/tst-fnmatch.input: Likewise.
17573 * posix/tst-fnmatch2.c: Add new test.
17574
68dc9497
AS
175752010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17576
17577 * elf/Makefile (check-execstack): Revert last change. Depend on
17578 check-execstack.h.
17579 (check-execstack.h): New target.
17580 (generated): Add check-execstack.h.
17581 * elf/check-execstack.c: Include "check-execstack.h".
17582 (main): Revert last change.
17583 (handle_file): Return zero if GNU_STACK is absent and
17584 DEFAULT_STACK_PERMS doesn't include PF_X.
17585
451f001b
UD
175862011-01-13 Ulrich Drepper <drepper@gmail.com>
17587
cfa28e56
UD
17588 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17589 in child fails because the descriptor is already closed.
8cf8ce17
UD
17590 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17591 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17592 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17593
1086d70d
UD
17594 [BZ #12397]
17595 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17596 syscall.
17597
451f001b
UD
17598 [BZ #10484]
17599 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17600 temporary buffer used to handle multi lookups locally.
a85b5cb4 17601 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17602
08769175
UD
176032011-01-12 Ulrich Drepper <drepper@gmail.com>
17604
17605 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17606 loader is ld.so.
17607
5e49c52e
UD
176082011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17609
17610 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17611 alignment for SSE2.
17612
60522a5f
UD
176132011-01-12 Ulrich Drepper <drepper@gmail.com>
17614
17615 [BZ #12394]
17616 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17617 characters. When rounding increased number of integer digits recompute
17618 number of groups.
17619 * stdio-common/tst-grouping.c: New file.
17620 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17621
f257bbd7
UD
176222011-01-09 Ulrich Drepper <drepper@gmail.com>
17623
17624 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17625 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17626
17627 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17628 void.
17629 * bits/select.h: Likewise.
17630
fa9c15cb
UD
176312011-01-08 Ulrich Drepper <drepper@gmail.com>
17632
17633 * po/ja.po: Update from translation team.
17634
16c2895f
DM
176352011-01-04 David S. Miller <davem@sunset.davemloft.net>
17636
17637 [BZ #11155]
17638 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17639 implementation just like for lxstat, fxstatat, et al.
17640
2543fef2
JM
176412010-12-27 Jim Meyering <meyering@redhat.com>
17642
17643 [BZ #12348]
17644 * posix/regexec.c (build_trtable): Return failure indication upon
17645 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17646
98727dbe
UD
176472010-12-25 Ulrich Drepper <drepper@gmail.com>
17648
5bd6dc5c
UD
17649 [BZ #12201]
17650 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17651 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17652 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17653 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17654
97983464
UD
17655 [BZ #12207]
17656 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17657
98727dbe
UD
17658 [BZ #12204]
17659 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17660 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17661
4a531bb0
L
176622010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17663
17664 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17665 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17666 script has SORT_BY_INIT_PRIORITY.
17667 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17668 NO_CTORS_DTORS_SECTIONS is defined.
17669 * elf/soinit.c: Likewise.
17670 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17671 NO_CTORS_DTORS_SECTIONS is defined.
17672 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17673 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17674 * sysdeps/sh/init-first.c: Likewise.
17675 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17676
07eb4b71
UD
176772010-12-24 Ulrich Drepper <drepper@gmail.com>
17678
17679 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17680 always use the slow path.
17681
30950a5f
RA
176822010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17683
17684 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17685 similar rule which adds the sysdep directories to the header search in
17686 order to pick up the correct platform stackinfo.h.
17687 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17688 perform test if it is, otherwise return successfully without testing.
17689 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17690 DEFAULT_STACK_PERMS define in stackinfo.h.
17691 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17692 defined in stackinfo.h.
17693 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17694 DEFAULT_STACK_PERMS defined in stackinfo.h.
17695 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17696 * sysdeps/ia64/stackinfo.h: Likewise.
17697 * sysdeps/s390/stackinfo.h: Likewise.
17698 * sysdeps/sh/stackinfo.h: Likewise.
17699 * sysdeps/sparc/stackinfo.h: Likewise.
17700 * sysdeps/x86_64/stackinfo.h: Likewise.
17701 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17702 PF_X for powerpc64. Retain PF_X for powerpc32.
17703
db753e2c
UD
177042010-12-19 Ulrich Drepper <drepper@gmail.com>
17705
14b697f7
UD
17706 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17707 accurately.
db753e2c
UD
17708 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17709 GETDENTS_64BIT_ALIGNED.
17710
28300719
UD
177112010-12-14 Ulrich Drepper <dreper@gmail.com>
17712
14b697f7 17713 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17714
4f197237
AS
177152010-12-10 Andreas Schwab <schwab@redhat.com>
17716
dbb0472f
AS
17717 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17718 _GNU_SOURCE.
17719
4f197237
AS
17720 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17721 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17722 Remove __restrict.
17723 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17724 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17725
fb88ac72
UD
177262010-12-09 Ulrich Drepper <drepper@gmail.com>
17727
17728 [BZ #11655]
17729 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17730 are initialized.
17731
42acbb92
JJ
177322010-12-09 Jakub Jelinek <jakub@redhat.com>
17733
17734 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17735
c038d98d
UD
177362010-12-03 Ulrich Drepper <drepper@gmail.com>
17737
17738 * po/it.po: Update from translation team.
17739
3a4a2499
L
177402010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17741
17742 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17743 unused codes.
17744
1e24cf6e
UD
177452010-11-30 Ulrich Drepper <drepper@gmail.com>
17746
17747 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17748
a7690819
AS
177492010-11-24 Andreas Schwab <schwab@redhat.com>
17750
17751 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17752 specially.
17753 (gaih_getanswer_slice): Likewise.
17754
3bf8d1b1
JJ
177552010-10-20 Jakub Jelinek <jakub@redhat.com>
17756
17757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17758
6db52fbb
PB
177592010-05-31 Petr Baudis <pasky@suse.cz>
17760
17761 [BZ #11149]
17762 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17763 silently even in the chroot mode.
17764
eaca7569
UD
177652010-11-22 Ulrich Drepper <drepper@gmail.com>
17766
17767 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17768 last patch a bit. Pretty printing
17769
3056dcdb
UD
177702010-05-31 Petr Baudis <pasky@suse.cz>
17771
17772 [BZ #10085]
17773 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17774 initialization of skip_initgroups_dyn.
17775
cf7c9078
UD
177762010-11-19 Ulrich Drepper <drepper@gmail.com>
17777
17778 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17779 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17780
a1fb5e3e
UD
177812010-11-16 Ulrich Drepper <drepper@gmail.com>
17782
17783 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17784
3540d66b
AS
177852010-11-11 Andreas Schwab <schwab@redhat.com>
17786
17787 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17788 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17789 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17790 ($(objpfx)tst-fnmatch-mem): New rule.
17791 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17792 * posix/tst-fnmatch.c (main): Call mtrace.
17793
13b69574
L
177942010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17795
17796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17797 Support Intel processor model 6 and model 0x2c.
17798
da93d214
LM
177992010-11-10 Luis Machado <luisgpm@br.ibm.com>
17800
17801 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17802 signed comparison.
17803
8ca52c6e
L
178042010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17805
17806 [BZ #12205]
17807 * string/test-strncasecmp.c (check_result): New function.
17808 (do_one_test): Use it.
17809 (check1): New function.
17810 (test_main): Use it.
17811 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17812 Support strcasecmp and strncasecmp.
17813
69da074d
UD
178142010-11-08 Ulrich Drepper <drepper@gmail.com>
17815
17816 [BZ #12194]
17817 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17818 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17819
ff02d528
L
178202010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17821
17822 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17823 IFUNC support.
17824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17825 memset-x86-64.
17826 * sysdeps/x86_64/multiarch/bzero.S: New file.
17827 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17828 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17829 * sysdeps/x86_64/multiarch/memset.S: New file.
17830 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17832 Set bit_Prefer_SSE_for_memop for Intel processors.
17833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17834 Define.
17835 (index_Prefer_SSE_for_memop): Define.
17836 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17837
344d0b54
LM
178382010-11-04 Luis Machado <luisgpm@br.ibm.com>
17839
17840 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17841 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17842
c0dde15b
UD
178432010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17844
17845 [BZ #12191]
17846 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17847 (__x86_64_raw_data_cache_size_half): Likewise.
17848 (__x86_64_raw_shared_cache_size): Likewise.
17849 (__x86_64_raw_shared_cache_size_half): Likewise.
17850
17851 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17852 (__x86_64_raw_data_cache_size_half): Likewise.
17853 (__x86_64_raw_shared_cache_size): Likewise.
17854 (__x86_64_raw_shared_cache_size_half): Likewise.
17855 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17856 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17857 and __x86_64_raw_shared_cache_size_half. Round
17858 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17859 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17860 to multiple of 256 bytes.
17861
0e516e0e
MS
178622010-11-03 Ulrich Drepper <drepper@gmail.com>
17863
17864 [BZ #12167]
17865 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17866 of inacessible symlinks. Verify result of symlink before returning it.
17867 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17868 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17869
0e012e87
ER
178702010-10-28 Erich Ritz <erichritz@gmail.com>
17871
17872 * math/math.h (isinf): Fix typo in comment.
17873
de0ff7bc
UD
178742010-11-01 Ulrich Drepper <drepper@gmail.com>
17875
17876 * po/da.po: Update from translation team.
17877
fa41c84d
UD
178782010-10-26 Ulrich Drepper <drepper@gmail.com>
17879
17880 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17881 is added to the list.
17882
f0967738
AK
178832010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17884 Ulrich Drepper <drepper@gmail.com>
17885
17886 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17887 the global list here. Move code to...
17888 (_dl_add_to_namespace_list): ...here. New function.
17889 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17890 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17891 * elf/dl-load.c (lose): Don't remove the element from the list.
17892 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17893 (_dl_map_object): Likewise.
17894
178952010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17896
17897 [BZ #12159]
17898 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17899 into all bytes of SSE register.
17900 Patch by Richard Li <richardpku@gmail.com>.
17901
f0967738 179022010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17903
17904 [BZ #12140]
17905 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17906 perturbing.
17907
d0b9e94f
MB
179082010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17909
17910 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17911 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17912 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17913 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17915 submachine.
17916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17917
8e9f92e9
AS
179182010-10-22 Andreas Schwab <schwab@redhat.com>
17919
17920 * include/dlfcn.h (__RTLD_SECURE): Define.
17921 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17922 mode & __RTLD_SECURE instead.
17923 (open_path): Rename preloaded parameter to secure.
17924 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17925 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17926 * elf/dl-deps.c (openaux): Likewise.
17927 * elf/rtld.c (struct map_args): Remove is_preloaded.
17928 (map_doit): Don't use it.
17929 (dl_main): Likewise.
17930 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17931 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17932
bc96fbda
AS
179332010-09-09 Andreas Schwab <schwab@redhat.com>
17934
17935 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17936 (sysd-rules-targets): Remove duplicates.
17937 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17938 rtld-%.$o dependency.
17939
22cd1c9b
AS
179402010-10-18 Andreas Schwab <schwab@redhat.com>
17941
17942 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17943 _dl_map_object do it.
17944
18edac48
UD
179452010-10-19 Ulrich Drepper <drepper@gmail.com>
17946
17947 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17948 fast fma builtins, define the macros in the C99 standard.
17949 (FP_FAST_FMAF): Likewise.
17950 (FP_FAST_FMAL): Likewise.
17951 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17952
17953 * bits/mathdef.h: Update copyright year.
17954 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17955
d2050124
MM
179562010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17957
17958 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17959 builtins, define the macros in the C99 standard.
17960 (FP_FAST_FMAF): Likewise.
17961 (FP_FAST_FMAL): Likewise.
17962 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17963 multiply/add.
17964 (FP_FAST_FMAF): Likewise.
17965
475facd1
JJ
179662010-10-15 Jakub Jelinek <jakub@redhat.com>
17967
17968 [BZ #3268]
17969 * math/libm-test.inc (fma_test): Some new testcases.
17970 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17971 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17972 y and infinite z. Do multiplication by C already in long double.
17973 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17975 y and infinite z. Do bitwise or of inexact bit into u.d.
17976 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17977 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17978 * sysdeps/i386/fpu/s_fma.S: Removed.
17979 * sysdeps/i386/fpu/s_fmal.S: Removed.
17980
7c08a05c
JJ
179812010-10-16 Jakub Jelinek <jakub@redhat.com>
17982
17983 [BZ #3268]
17984 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17985 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17986 computation is not scheduled after fetestexcept. Fix value
17987 of minimum denormal long double.
17988
f3f7372d
JJ
179892010-10-14 Jakub Jelinek <jakub@redhat.com>
17990
17991 [BZ #3268]
17992 * math/libm-test.inc (fma_test): Add some more tests.
17993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17994 correctly.
17995
14d43591
AS
179962010-10-15 Andreas Schwab <schwab@redhat.com>
17997
17998 * scripts/data/localplt-s390-linux-gnu.data: New file.
17999 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18000
5e908464
JJ
180012010-10-13 Jakub Jelinek <jakub@redhat.com>
18002
18003 [BZ #3268]
18004 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18005 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18006 instead of dbl-64.
18007 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18008 inlines.
18009 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18011 if one of x and y is very large and the other is subnormal.
18012 * sysdeps/s390/fpu/s_fmaf.c: New file.
18013 * sysdeps/s390/fpu/s_fma.c: New file.
18014 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18015 * sysdeps/powerpc/fpu/s_fma.S: New file.
18016 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18017 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18018 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18019
180202010-10-12 Jakub Jelinek <jakub@redhat.com>
18021
18022 [BZ #3268]
18023 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18024 fma tests.
18025 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18026 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18027 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18028 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18029 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18030 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18032
b833d51f
UD
180332010-10-12 Ulrich Drepper <drepper@redhat.com>
18034
18035 [BZ #12078]
18036 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18037 * posix/bug-regex31.input: Add test case.
18038
1751705d
UD
180392010-10-11 Ulrich Drepper <drepper@gmail.com>
18040
e9b9cbf5
UD
18041 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18042 * posix/bug-regex31.input: New file.
18043
18044 [BZ #12078]
18045 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18046 (parse_sub_exp): Fix last change, use postorder.
18047
ef06edbe
UD
18048 * posix/bug-regex31.c: New file.
18049 * posix/Makefile: Add rules to build and run bug-regex31.
18050
a129c80d
UD
18051 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18052
18053 [BZ #12078]
18054 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18055
b76b818e
UD
18056 [BZ #12108]
18057 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18058 to have entries in sys_siglist.
18059
1751705d
UD
18060 [BZ #12093]
18061 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18062 be NULL.
18063
9ff8d36f
JJ
180642010-10-07 Jakub Jelinek <jakub@redhat.com>
18065
18066 [BZ #3268]
18067 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18068 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18069 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18070 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18071 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18072 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18073 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18074 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18075 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18076 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18077 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18078 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18079 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18080 * math/ftestexcept.c (fetestexcept): Likewise.
18081 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18082 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18083 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18084 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18085 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18086 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18087 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18088
af325969
UD
180892010-10-11 Ulrich Drepper <drepper@gmail.com>
18090
c579b202 18091 [BZ #12107]
af325969
UD
18092 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18093 newline.
18094
67a67b95
UD
180952010-10-06 Ulrich Drepper <drepper@gmail.com>
18096
18097 * string/bug-strstr1.c: New file.
18098 * string/Makefile: Add rules to build and run bug-strstr1.
18099
5fb308bc
EB
181002010-10-05 Eric Blake <eblake@redhat.com>
18101
18102 [BZ #12092]
18103 * string/str-two-way.h (two_way_long_needle): Always clear memory
18104 when skipping input due to the shift table.
18105
45db99c7
UD
181062010-10-03 Ulrich Drepper <drepper@gmail.com>
18107
3b111893
UD
18108 [BZ #12005]
18109 * malloc/mcheck.c: Handle large requests.
18110
45db99c7
UD
18111 [BZ #12077]
18112 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18113 for strncmp and strncasecmp.
18114 * string/stratcliff.c: Add tests for strcmp and strncmp.
18115 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18116
cf7a1eb8
NI
181172010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18118
18119 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18120 __set_fpscr.
18121
6484ba5e
AJ
181222010-09-30 Andreas Jaeger <aj@suse.de>
18123
18124 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18125 (CGROUP_SUPER_MAGIC): Define.
18126 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18127 Handle btrfs and cgroup file systems.
18128 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18129 Likewise.
18130
91c42559
LM
181312010-09-27 Luis Machado <luisgpm@br.ibm.com>
18132
18133 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18134 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18135
87a97932
AK
181362010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18137
18138 [BZ #12067]
18139 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18140 trying to locate the ELF header.
18141
c21cc9bc
AS
181422010-09-27 Andreas Schwab <schwab@redhat.com>
18143
18144 [BZ #11611]
18145 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18146 Mask out sign-bit copies when constructing f_fsid.
18147
315970f6
PB
181482010-09-24 Petr Baudis <pasky@suse.cz>
18149
18150 * debug/stack_chk_fail_local.c: Add missing licence exception.
18151 * debug/warning-nop.c: Likewise.
18152
1ac7a2c7
JM
181532010-09-15 Joseph Myers <joseph@codesourcery.com>
18154
18155 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18156 implementing getdents64 using getdents syscall, set d_type if
18157 __ASSUME_GETDENTS32_D_TYPE.
18158
56801c50
AS
181592010-09-16 Andreas Schwab <schwab@redhat.com>
18160
18161 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18162 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18163
dda51327
UD
181642010-09-21 Ulrich Drepper <drepper@redhat.com>
18165
18166 [BZ #12037]
18167 * posix/unistd.h: Undo change of feature selection for ftruncate from
18168 2010-01-11.
18169
8ffcee4a
UD
181702010-09-20 Ulrich Drepper <drepper@redhat.com>
18171
a545ecd9 18172 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18173 detection.
18174
e24f0a8b
AS
181752010-09-20 Andreas Schwab <schwab@redhat.com>
18176
18177 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18178 fanotify_mark.
18179 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18180
7291c56f
AS
181812010-09-14 Andreas Schwab <schwab@redhat.com>
18182
18183 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18184 variables after CHECK_SP call.
18185 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18186
bc5fb037
AS
181872010-09-13 Andreas Schwab <schwab@redhat.com>
18188 Ulrich Drepper <drepper@redhat.com>
18189
18190 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18191 re-relocationg ld.so.
18192 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18193 _dl_init_paths call.
18194 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18195 here anymore.
18196
e66e7419
UD
181972010-09-14 Ulrich Drepper <drepper@redhat.com>
18198
18199 * resolv/res_init.c (__res_vinit): Count the default server we added.
18200
c044aa75
CLT
182012010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18202 Ulrich Drepper <drepper@redhat.com>
18203
18204 [BZ #11968]
18205 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18206 (____longjmp_chk): Use %ebx for saving value across system call.
18207 Add unwind info.
18208
32cf4069
AS
182092010-09-06 Andreas Schwab <schwab@redhat.com>
18210
18211 * manual/Makefile: Don't mix pattern rules with normal rules.
18212
817328ee
AS
182132010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18214
18215 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18216 operation.
18217 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18218 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18219 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18220 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18221 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18222 Likewise.
18223
29fddf61
UD
182242010-09-04 Ulrich Drepper <drepper@redhat.com>
18225
18226 [BZ #11979]
18227 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18228 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18229
0959ffc9
UD
182302010-09-02 Ulrich Drepper <drepper@redhat.com>
18231
18232 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18233 * sysdeps/x86_64/addmul_1.S: Likewise.
18234 * sysdeps/x86_64/lshift.S: Likewise.
18235 * sysdeps/x86_64/mul_1.S: Likewise.
18236 * sysdeps/x86_64/rshift.S: Likewise.
18237 * sysdeps/x86_64/sub_n.S: Likewise.
18238 * sysdeps/x86_64/submul_1.S: Likewise.
18239
ece29840
ST
182402010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18241
0959ffc9
UD
18242 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18243 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18244 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18245 * bits/sched.h [__need_schedparam]
ece29840 18246 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18247 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18248 (__defined_schedparam): Define to 1.
ece29840
ST
18249 (__sched_param): New structure, identical to sched_param.
18250 (__need_schedparam): Undefine.
18251
e53a31fe
MF
182522010-08-31 Mike Frysinger <vapier@gentoo.org>
18253
fdc0c10d
MF
18254 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18255 (epoll_create1): Declare.
18256
e53a31fe
MF
18257 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18258
a726d796
AS
182592010-08-31 Andreas Schwab <schwab@redhat.com>
18260
18261 [BZ #7066]
18262 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18263 shifting retval into place.
18264
2f3e3dc7
UD
182652010-09-01 Ulrich Drepper <drepper@redhat.com>
18266
f2933da9
UD
18267 * nis/rpcsvc/nis.h: Update copyright notice.
18268 * nis/rpcsvc/nis.x: Likewise.
18269 * nis/rpcsvc/nis_callback.h: Likewise.
18270 * nis/rpcsvc/nis_callback.x: Likewise.
18271 * nis/rpcsvc/nis_object.x: Likewise.
18272 * nis/rpcsvc/nis_tags.h: Likewise.
18273 * nis/rpcsvc/yp.h: Likewise.
18274 * nis/rpcsvc/yp.x: Likewise.
18275 * nis/rpcsvc/ypupd.h: Likewise.
18276 * nis/yp_xdr.c: Likewise.
18277 * nis/ypupdate_xdr.c: Likewise.
18278
2f3e3dc7
UD
18279 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18280 mainly the body of pmap_getport. Add parameters to specify timeouts.
18281 (pmap_getport): Use __libc_rpc_getport.
18282 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18283 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18284 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18285
f3dcc2f9
AS
182862010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18287
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18289 fanotify_mark.
18290
6d34eb5b
RM
182912010-08-27 Roland McGrath <roland@redhat.com>
18292
18293 * sysdeps/i386/i686/multiarch/Makefile
18294 (CFLAGS-varshift.c): New variable.
18295
9ea3de11
UD
182962010-08-27 Ulrich Drepper <drepper@redhat.com>
18297
c96d23fc
UD
18298 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18299 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18300
9ea3de11
UD
18301 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18302
18303 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18304
623aac7f
L
183052010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18306
18307 * sysdeps/x86_64/strlen.S: Unroll the loop.
18308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18309 strlen-sse2 strlen-sse2-bsf.
18310 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18311 __strlen_no_bsf if bit_Slow_BSF is set.
18312 (__strlen_sse42): Removed.
18313 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18314 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18315
8b2b7715
RM
183162010-08-25 Roland McGrath <roland@redhat.com>
18317
18318 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18319 * sysdeps/x86_64/multiarch/varshift.c: New file.
18320 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18321 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18322 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18323 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18324
e73015f2
L
183252010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18326
18327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18328 strlen-sse2 strlen-sse2-bsf.
18329 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18330 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18331 (__strlen_sse2): Removed.
18332 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18333 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18335 bit_Slow_BSF for Atom.
18336 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18337 (index_Slow_BSF): Define.
18338 (HAS_SLOW_BSF): Define.
18339
df24a73e
UD
183402010-08-25 Ulrich Drepper <drepper@redhat.com>
18341
18342 [BZ #10851]
18343 * resolv/res_init.c (__res_vinit): When no server address at all
18344 is given default to loopback.
18345
f2ac4868
RM
183462010-08-24 Roland McGrath <roland@redhat.com>
18347
09055553
RM
18348 * configure.in: Remove config-name.h generation.
18349 * configure: Regenerated.
18350 * config-name.in: File removed.
18351 * scripts/config-uname.sh: New file.
18352 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18353 ($(objdir)config-name.h): New target.
18354
f2ac4868
RM
18355 * sunrpc/rpc_parse.h: Avoid nested comment.
18356
73f27d5e
RH
183572010-08-24 Richard Henderson <rth@redhat.com>
18358 Ulrich Drepper <drepper@redhat.com>
18359 H.J. Lu <hongjiu.lu@intel.com>
18360
18361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18363 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18364 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18365 _mm_alignr_epi8 with _mm_loadu_si128.
18366 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18367 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18368 (__m128i_shift_right): Removed.
18369 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18370 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18371 * sysdeps/x86_64/multiarch/varshift.h: New file.
18372 * sysdeps/x86_64/multiarch/varshift.S: New file.
18373
84b9230c
MF
183742010-08-21 Mike Frysinger <vapier@gentoo.org>
18375
18376 * configure.in: Move assembler checks to before sysdep dir checking.
18377
9bbd0ddc
PB
183782010-08-20 Petr Baudis <pasky@suse.cz>
18379
18380 * LICENSES: Sync the sunrpc license.
18381
9da4bb31
UD
183822010-08-19 Ulrich Drepper <drepper@redhat.com>
18383
a7ab6ec8
UD
18384 * sunrpc/auth_des.c: Update copyright notice once again.
18385 * sunrpc/auth_none.c: Likewise.
18386 * sunrpc/auth_unix.c: Likewise.
18387 * sunrpc/authdes_prot.c: Likewise.
18388 * sunrpc/authuxprot.c: Likewise.
18389 * sunrpc/bindrsvprt.c: Likewise.
18390 * sunrpc/clnt_gen.c: Likewise.
18391 * sunrpc/clnt_perr.c: Likewise.
18392 * sunrpc/clnt_raw.c: Likewise.
18393 * sunrpc/clnt_simp.c: Likewise.
18394 * sunrpc/clnt_tcp.c: Likewise.
18395 * sunrpc/clnt_udp.c: Likewise.
18396 * sunrpc/clnt_unix.c: Likewise.
18397 * sunrpc/des_crypt.c: Likewise.
18398 * sunrpc/des_soft.c: Likewise.
18399 * sunrpc/get_myaddr.c: Likewise.
18400 * sunrpc/getrpcport.c: Likewise.
18401 * sunrpc/key_call.c: Likewise.
18402 * sunrpc/key_prot.c: Likewise.
18403 * sunrpc/openchild.c: Likewise.
18404 * sunrpc/pm_getmaps.c: Likewise.
18405 * sunrpc/pm_getport.c: Likewise.
18406 * sunrpc/pmap_clnt.c: Likewise.
18407 * sunrpc/pmap_prot.c: Likewise.
18408 * sunrpc/pmap_prot2.c: Likewise.
18409 * sunrpc/pmap_rmt.c: Likewise.
18410 * sunrpc/rpc/auth.h: Likewise.
18411 * sunrpc/rpc/auth_unix.h: Likewise.
18412 * sunrpc/rpc/clnt.h: Likewise.
18413 * sunrpc/rpc/des_crypt.h: Likewise.
18414 * sunrpc/rpc/key_prot.h: Likewise.
18415 * sunrpc/rpc/netdb.h: Likewise.
18416 * sunrpc/rpc/pmap_clnt.h: Likewise.
18417 * sunrpc/rpc/pmap_prot.h: Likewise.
18418 * sunrpc/rpc/pmap_rmt.h: Likewise.
18419 * sunrpc/rpc/rpc.h: Likewise.
18420 * sunrpc/rpc/rpc_des.h: Likewise.
18421 * sunrpc/rpc/rpc_msg.h: Likewise.
18422 * sunrpc/rpc/svc.h: Likewise.
18423 * sunrpc/rpc/svc_auth.h: Likewise.
18424 * sunrpc/rpc/types.h: Likewise.
18425 * sunrpc/rpc/xdr.h: Likewise.
18426 * sunrpc/rpc_clntout.c: Likewise.
18427 * sunrpc/rpc_cmsg.c: Likewise.
18428 * sunrpc/rpc_common.c: Likewise.
18429 * sunrpc/rpc_cout.c: Likewise.
18430 * sunrpc/rpc_dtable.c: Likewise.
18431 * sunrpc/rpc_hout.c: Likewise.
18432 * sunrpc/rpc_main.c: Likewise.
18433 * sunrpc/rpc_parse.c: Likewise.
18434 * sunrpc/rpc_parse.h: Likewise.
18435 * sunrpc/rpc_prot.c: Likewise.
18436 * sunrpc/rpc_sample.c: Likewise.
18437 * sunrpc/rpc_scan.c: Likewise.
18438 * sunrpc/rpc_scan.h: Likewise.
18439 * sunrpc/rpc_svcout.c: Likewise.
18440 * sunrpc/rpc_tblout.c: Likewise.
18441 * sunrpc/rpc_util.c: Likewise.
18442 * sunrpc/rpc_util.h: Likewise.
18443 * sunrpc/rpcinfo.c: Likewise.
18444 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18445 * sunrpc/rpcsvc/key_prot.x: Likewise.
18446 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18447 * sunrpc/rpcsvc/mount.x: Likewise.
18448 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18449 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18450 * sunrpc/rpcsvc/rex.x: Likewise.
18451 * sunrpc/rpcsvc/rstat.x: Likewise.
18452 * sunrpc/rpcsvc/rusers.x: Likewise.
18453 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18454 * sunrpc/rpcsvc/spray.x: Likewise.
18455 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18456 * sunrpc/rtime.c: Likewise.
18457 * sunrpc/svc.c: Likewise.
18458 * sunrpc/svc_auth.c: Likewise.
18459 * sunrpc/svc_authux.c: Likewise.
18460 * sunrpc/svc_raw.c: Likewise.
18461 * sunrpc/svc_run.c: Likewise.
18462 * sunrpc/svc_simple.c: Likewise.
18463 * sunrpc/svc_tcp.c: Likewise.
18464 * sunrpc/svc_udp.c: Likewise.
18465 * sunrpc/svc_unix.c: Likewise.
18466 * sunrpc/svcauth_des.c: Likewise.
18467 * sunrpc/xcrypt.c: Likewise.
18468 * sunrpc/xdr.c: Likewise.
18469 * sunrpc/xdr_array.c: Likewise.
18470 * sunrpc/xdr_float.c: Likewise.
18471 * sunrpc/xdr_mem.c: Likewise.
18472 * sunrpc/xdr_rec.c: Likewise.
18473 * sunrpc/xdr_ref.c: Likewise.
18474 * sunrpc/xdr_sizeof.c: Likewise.
18475 * sunrpc/xdr_stdio.c: Likewise.
18476
9da4bb31
UD
18477 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18478 handling.
18479
bdaa77bc
AS
184802010-08-19 Andreas Schwab <schwab@redhat.com>
18481
18482 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18483
fe2f79db
LM
184842010-08-19 Luis Machado <luisgpm@br.ibm.com>
18485
18486 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18487 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18488 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18489 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18490 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18491 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18492 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18493 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18494 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18495 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18496 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18497 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18498 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18499 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18500
b9b42ee0
AB
185012010-07-26 Anton Blanchard <anton@samba.org>
18502
18503 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18504 * malloc/arena.c (heap_trim): Likewise.
18505
1c06ba31
UD
185062010-08-16 Ulrich Drepper <drepper@redhat.com>
18507
18508 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18509 here. Not...
18510 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18511 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18512
f8392f40
L
185132010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18514
18515 * sysdeps/i386/elf/Makefile: New file.
18516
3162f12e
AS
185172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18518
18519 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18520 from fanotify_init.
18521 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18522 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18523
28c90b2c
UD
185242010-08-15 Ulrich Drepper <drepper@redhat.com>
18525
18526 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18527 of strncasecmp_l.
1feccb6c 18528 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18529
ca6bb004
UD
185302010-08-14 Ulrich Drepper <drepper@redhat.com>
18531
e9f82e0d
UD
18532 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18533 strncase_l-nonascii.
18534 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18535 Add strncase_l-ssse3.
18536 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18537 * sysdeps/x86_64/strcmp.S: Likewise.
18538 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18539 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18540 * sysdeps/x86_64/strncase.S: New file.
18541 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18542 * sysdeps/x86_64/strncase_l.S: New file.
18543 * string/Makefile (strop-tests): Add strncasecmp.
18544 * string/test-strncasecmp.c: New file.
18545
18546 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18547 warning.
18548
ca6bb004
UD
18549 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18550 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18551
052fa7b3
AS
185522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18553
18554 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18555
962dba78
UD
185562010-08-12 Ulrich Drepper <drepper@redhat.com>
18557
18558 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18559 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18560 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18561
bebff237
AM
185622010-05-01 Alan Modra <amodra@gmail.com>
18563
18564 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18565 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18566 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18567 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18568 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18569 tidying. Don't tail-call __sigjmp_save for static lib.
18570 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18571 save location.
18572 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18573 (CALL_MCOUNT): Add eh info, and nop after bl.
18574 (TAIL_CALL_SYSCALL_ERROR): New macro.
18575 (PSEUDO_RET): Use it.
18576 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18577 Correct save location of integer regs and cr.
18578 (_dl_profile_resolve): Correct cr save location. Delete nops
18579 after bl when SHARED. Reduce cfi size a little by better
18580 placement of cfi directives.
18581 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18582 make a stack frame. Instead use parm save area as a temp.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18584 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18586 Don't make a stack frame for parent, use parm save area.
18587 Increase child stack frame to 112 bytes. Don't save unused reg,
18588 and adjust reg usage. Set up cfi on error recovery and
18589 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18591 (__makecontext): Add dummy nop after jump to exit.
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18593 Use correct parm save area and cr save, reduce stack frame.
18594 Correct cfi for possible PSEUDO_RET frame setup.
18595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18596 Branch to local label emitted by PSEUDO_RET rather than
18597 __syscall_error.
18598
02637374
AS
185992010-08-12 Andreas Schwab <schwab@redhat.com>
18600
18601 [BZ #11904]
18602 * locale/programs/locale.c (print_assignment): New function.
18603 (show_locale_vars): Use it.
18604
c3e2f19b
UD
186052010-08-11 Ulrich Drepper <drepper@redhat.com>
18606
3cdaa6ad
UD
18607 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18608 field.
18609 (struct statfs64): Likewise.
18610 (_STATFS_F_FLAGS): Define.
18611 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18612 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18613 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18614 (ST_VALID): Define locally.
18615 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18616 __statvfs_getflags, use the provided value.
18617 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18618 __ASSUME_STATFS_F_FLAGS.
18619
754f7da3
UD
18620 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18621
10b3bedc
UD
18622 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18623 Add sys/fanotify.h.
18624 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18625 fanotify_mask for GLIBC_2.13.
18626 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18627 fanotify_init and fanotify_mark.
18628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18629 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18630
c08fb0d7
UD
18631 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18632 Add prlimit.
18633 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18634 prlimit64 for GLIBC_2.13.
18635 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18636 prlimit64.
18637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18638 syscall.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18640 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18641 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18642 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18643 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18644 add prlimit alias.
18645 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18646
15bac72b
UD
18647 [BZ #11903]
18648 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18649 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18650
c3e2f19b
UD
18651 * nss/Makefile: Add rules to build and run tst-nss-test1.
18652 * shlib-versions: Add entry for libnss_test1.
18653 * nss/nss_test1.c: New file.
18654 * nss/tst-nss-test1.c: New file.
18655
18656 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18657 (__nss_configure_lookup): Set appropriate entry in
18658 __nss_configure_lookup to true.
18659 * nss/nsswitch.h: Define enum with indeces of databases in
18660 databases and __nss_database_custom arrays. Declare
18661 __nss_database_custom.
18662 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18663 to avoid using nscd when custom rules are installed.
18664 * nss/getXXbyYY_r.c: Likewise.
18665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18666
18667 * nss/nss_files/files-parse.c: Whitespace fixes.
18668
f15ce4d8
UD
186692010-08-09 Ulrich Drepper <drepper@redhat.com>
18670
18671 [BZ #11883]
18672 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18673 * posix/fnmatch_loop.c: Likewise.
18674
d22e4cc9
AK
186752010-07-17 Andi Kleen <ak@linux.intel.com>
18676
18677 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18678 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18679 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18680 * Versions.def [GLIBC_2.13]: Add.
18681
805bc17d
UD
186822010-08-06 Ulrich Drepper <drepper@redhat.com>
18683
18684 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18685 Also fail if tpwd after pwuid call is NULL.
18686
5a42321d
ST
186872010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18688
18689 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18690 when converting to ms.
18691
fd3ebeda
ST
186922010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18693
18694 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18695 EOPNOTSUPP errors with ENOTTY.
18696 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18697 EOPNOTSUPP errors with ENOTTY.
18698
73507d3a
UD
186992010-07-31 Ulrich Drepper <drepper@redhat.com>
18700
18701 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18702 Add strcasecmp_l-ssse3.
18703 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18704 strcasecmp.
18705 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18706 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18707 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18708
fe36dd02
UD
187092010-07-30 Ulrich Drepper <drepper@redhat.com>
18710
66f6765a
UD
18711 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18712
42e08a54
UD
18713 * string/Makefile (strop-tests): Add strcasecmp.
18714 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18715 strcasecmp_l-nonascii.
18716 (gen-as-const-headers): Add locale-defines.sym.
18717 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18718 * sysdeps/x86_64/strcasecmp.S: New file.
18719 * sysdeps/x86_64/strcasecmp_l.S: New file.
18720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18721 * sysdeps/x86_64/locale-defines.sym: New file.
18722 * string/test-strcasecmp.c: New file.
18723
fe36dd02
UD
18724 * string/test-strcasestr.c: Test both ends of the range of characters.
18725 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18726
48cbc0d6
RM
187272010-07-29 Roland McGrath <roland@redhat.com>
18728
76e6d6bc 18729 [BZ #11856]
48cbc0d6
RM
18730 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18731
880113d9
UD
187322010-07-27 Ulrich Drepper <drepper@redhat.com>
18733
18734 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18735 for ld.so.
18736
deb9cabb
AS
187372010-07-27 Andreas Schwab <schwab@redhat.com>
18738
18739 * manual/memory.texi (Malloc Tunable Parameters): Document
18740 M_PERTURB.
18741
1c7570ff
RM
187422010-07-26 Roland McGrath <roland@redhat.com>
18743
18744 [BZ #11840]
18745 * configure.in (-fgnu89-inline check): Set and substitute
18746 gnu89_inline, not libc_cv_gnu89_inline.
18747 * configure: Regenerated.
18748 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18749
24fb0f88
UD
187502010-07-26 Ulrich Drepper <drepper@redhat.com>
18751
18752 * string/test-strnlen.c: New file.
18753 * string/Makefile (strop-tests): Add strnlen.
18754 * string/tester.c (test_strnlen): Add a few more test cases.
18755 * string/tst-strlen.c: Better error reporting.
18756
18757 * sysdeps/x86_64/strnlen.S: New file.
18758
8e96b93a
UD
187592010-07-24 Ulrich Drepper <drepper@redhat.com>
18760
18761 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18762 lower-latency instructions.
18763
dbc676d4
UD
187642010-07-23 Ulrich Drepper <drepper@redhat.com>
18765
18766 * string/test-strcasestr.c: New file.
18767 * string/test-strstr.c: New file.
18768 * string/Makefile (strop-tests): Add strstr and strcasestr.
18769 * string/str-two-way.h: Don't undefine MAX.
18770 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18771
f6a31e0e
AS
187722010-07-21 Andreas Schwab <schwab@redhat.com>
18773
18774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18775 strcasestr-nonascii.
18776 (CFLAGS-strcasestr-nonascii.c): Define.
18777 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18778 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18779 Remove unused attribute.
18780
5dbc3b6c
RM
187812010-07-20 Roland McGrath <roland@redhat.com>
18782
18783 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18784 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18785 ld.so.cache was broken. With it, there is no way to disable dsocaps
18786 like LD_HWCAP_MASK can disable hwcaps.
18787
23d101d8
EPM
187882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18789
18790 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18791
cc9f2e47
UD
187922010-07-16 Ulrich Drepper <drepper@redhat.com>
18793
18794 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18795 call in strcasestr.
18796 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18797 __strcasestr_sse42_nonascii.
18798 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18799 strcasestr-nonascii.c.
18800 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18801
77c1b069
LM
188022010-06-15 Luis Machado <luisgpm@br.ibm.com>
18803
18804 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18805 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18806 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18807 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18808
440566c3
UD
188092010-07-09 Ulrich Drepper <drepper@redhat.com>
18810
18811 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18812 fcntl.
18813
5be9d05d
AS
188142010-07-06 Andreas Schwab <schwab@redhat.com>
18815
c30b7ee2 18816 [BZ #11577]
5be9d05d
AS
18817 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18818 dl_signal_cerror.
18819
8a492a67
UD
188202010-07-06 Ulrich Drepper <drepper@redhat.com>
18821
18822 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18823 _PC_PIPE_BUF using F_GETPIPE_SZ.
18824
713df3d5
RM
188252010-07-05 Roland McGrath <roland@redhat.com>
18826
18827 * manual/arith.texi (Rounding Functions): Fix rint description
18828 implicit in round description.
18829
702e8f14
UD
188302010-07-02 Ulrich Drepper <drepper@redhat.com>
18831
18832 * elf/Makefile: Fix linking for a few tests to make recent linker
18833 happy.
18834
52ed8be9
AS
188352010-06-30 Andreas Schwab <schwab@redhat.com>
18836
18837 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18838 $(common-objpfx)libc_nonshared.a.
18839
f47c9a11
LM
188402010-06-21 Luis Machado <luisgpm@br.ibm.com>
18841
18842 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18843 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18844 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18845 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18846 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18847 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18848 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18849 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18864 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18865 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18866 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18867 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18868 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18869 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18870 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18871 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18872 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18873 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18874 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18875 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18890
6fb8cbcb
L
188912010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18892
18893 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18894 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18895 * string/memmove.c (memmove): Renamed to ...
18896 (MEMMOVE): ...this. Default to memmove.
18897 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18898 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18899 (END_CHK): Define.
18900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18901 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18902 mempcpy-ssse3-back memmove-ssse3-back.
18903 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18904 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18905 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18906 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18907 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18908 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18909 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18910 * sysdeps/x86_64/multiarch/memmove.c: New file.
18911 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18912 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18913 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18914 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18915 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18916 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18917 Define.
18918 (index_Fast_Copy_Backward): Define.
18919 (HAS_ARCH_FEATURE): Define.
18920 (HAS_FAST_REP_STRING): Define.
18921 (HAS_FAST_COPY_BACKWARD): Define.
18922
4e733bac 189232010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18924
18925 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18926 Restore proper fallback handling.
18927
63c4ed22
UD
189282010-06-19 Ulrich Drepper <drepper@redhat.com>
18929
ac2b484c
UD
18930 [BZ #11701]
18931 * posix/group_member.c (__group_member): Correct checking loop.
18932
63c4ed22
UD
18933 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18934 OOM in getpwuid_r correctly. Return error number when the caller
18935 should return, otherwise -1.
18936 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18937 call returning > 0 value.
18938 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18939
765ade4b
AS
189402010-06-07 Andreas Schwab <schwab@redhat.com>
18941
18942 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18943 libc_nonshared.a from targets in modules-names.
18944
80da2e09
KS
189452010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18946
18947 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18948 requires it.
18949
158db122
LM
189502010-06-10 Luis Machado <luisgpm@br.ibm.com>
18951
18952 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18953 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18954 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18955 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18956
caa78cf8
AS
189572010-06-02 Andreas Schwab <schwab@redhat.com>
18958
18959 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18960
b2ef2c01
UD
189612010-06-14 Ulrich Drepper <drepper@redhat.com>
18962
18963 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18964 and F_GETPIPE_SZ.
18965 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18969 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18970 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18971
fbd643b6
RM
189722010-06-14 Roland McGrath <roland@redhat.com>
18973
18974 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18975
f32f2869
JJ
189762010-06-07 Jakub Jelinek <jakub@redhat.com>
18977
18978 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18979 __REDIRECT followed by __THROW.
18980 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18981 * posix/getopt.h (getopt): Likewise.
18982
2a50c078
EPM
189832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18984
18985 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18986 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18987 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18988 in AT_FLAGS.
18989 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18990 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18991
eb5ad2eb
LM
189922010-05-28 Luis Machado <luisgpm@br.ibm.com>
18993
18994 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18995
3c88fe1e
L
189962010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18997
18998 [BZ #11640]
18999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19000 Properly check family and model.
19001
d2f73151
TY
190022010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19003
19004 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19005
ebd2e13d
LM
190062010-05-24 Luis Machado <luisgpm@br.ibm.com>
19007
19008 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19009
b32b8b45
UD
190102010-05-21 Ulrich Drepper <drepper@redhat.com>
19011
19012 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19013 symbol reference.
19014
9acbe24d
AS
190152010-05-19 Andreas Schwab <schwab@redhat.com>
19016
19017 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19018 symbol reference.
19019
f0ccf6ea
AS
190202010-05-21 Andreas Schwab <schwab@redhat.com>
19021
3d04ff3a
AS
19022 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19023 and internal_recvmmsg.
19024 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19025 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19026 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19027 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19028
f0ccf6ea
AS
19029 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19030 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19031 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19032
5b08ac57
AS
190332010-05-20 Andreas Schwab <schwab@redhat.com>
19034
19035 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19036
4828935d
LM
190372010-05-17 Luis Machado <luisgpm@br.ibm.com>
19038
19039 POWER7 optimizations.
19040 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19041 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19042
373d545e
UD
190432010-05-19 Ulrich Drepper <drepper@redhat.com>
19044
19045 * version.h: Update for 2.13 development version.
19046
21a2b1ae
AS
190472010-05-12 Andrew Stubbs <ams@codesourcery.com>
19048
19049 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19050 exceptions. Return 0.
19051
3f7dcb2b
RM
190522010-05-07 Roland McGrath <roland@redhat.com>
19053
19054 * elf/ldconfig.c (main): Add a const.
19055
5f24d53a 190562010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19057
a160f8d8
UD
19058 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19059 (args_options): Add no-idn option.
19060 (ahosts_keys_int): Add idn_flags to ai_flags.
19061 (parse_option): Handle 'i' option to clear idn_flags.
19062
5f24d53a
UD
19063 * malloc/malloc.c (_int_free): Possible race in the most recently
19064 added check. Only act on the data if no current modification
19065 happened.
265bb1ce
UD
19066
19067See ChangeLog.17 for earlier changes.