]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* malloc/arena.c: Fold copyright years.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
24d4e01b
AO
12012-09-05 Alexandre Oliva <aoliva@redhat.com>
2
3 * malloc/arena.c: Fold copyright years.
4 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5
61d58174
AO
62012-09-05 Alexandre Oliva <aoliva@redhat.com>
7
8 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9
20196a5e
AO
102012-09-05 Alexandre Oliva <aoliva@redhat.com>
11
12 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13
5c447383
AO
142012-09-05 Alexandre Oliva <aoliva@redhat.com>
15
16 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17 change internal state upon failure.
18
fad64255
AO
192012-09-05 Alexandre Oliva <aoliva@redhat.com>
20
21 * malloc/mcheck.c (mcheck_check_all): Fix typo.
22 * malloc/memusage.c (mmap): Likewise.
23 (mmap64, mremap): Likewise. Adjust name in comment.
24
1ffb8c90
SP
252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26
27 * libio/fileops.c: Fix typos in comments.
28 * libio/oldfileops.c: Likewise.
29 * libio/wfileops.c: Likewise.
30
6ef9cc37
SP
312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32
33 [BZ #1349]
34 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35 (tst-malloc-usable-ENV): Set environment for test case.
36 * malloc/hooks.c (malloc_check_get_size): New function to get
37 requested size.
38 * malloc/malloc.c (musable): Use malloc_check_get_size.
39 * malloc/tst-malloc-usable.c: New test case.
40
4d038ae3
AS
412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42
43 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44
c4e85184
AM
452012-09-05 Allan McRae <allan@archlinux.org>
46
b9dafc56 47 [BZ #13966]
c4e85184
AM
48 * configure.in (CXX_SYSINCLUDES): Use compiler output to
49 determine header location.
50 * configure: Regenerated.
51
e1343020
AS
522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
53
54 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55 float format.
56 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
57 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58 format.
e1343020
AS
59 (test): Regenerate.
60
0a9f1987
DM
612012-09-04 David S. Miller <davem@davemloft.net>
62
63 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
65 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66
29237804
FW
672012-09-04 Florian Weimer <fweimer@redhat.com>
68
69 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70 failures.
71
edb3cb88
FW
72 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
73
60160d83
JM
742012-09-04 Joseph Myers <joseph@codesourcery.com>
75
76 [BZ #9914]
77 * libio/iogetdelim.c: Include <limits.h>.
78 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
79 + len + 1 would overflow.
80
bcd6c8dc
AJ
812012-09-03 Andreas Jaeger <aj@suse.de>
82
83 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84 * sysdeps/i386/fpu/libm-test-ulps: Update.
85
4ffffbd2
LD
862012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
87
88 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
89 Add s_sinf-sse2, s_conf-sse2.
90
91 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
92 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
93 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
94 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
95
96 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
97 for using routine as __sinf_ia32.
98 Use macro for function declaration and weak_alias.
99 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
100 for using routine as __cosf_ia32.
101 Use macro for function declaration and weak_alias.
102
103 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
104 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
105
106 * sysdeps/x86_64/fpu/s_sinf.S: New file.
107 * sysdeps/x86_64/fpu/s_cosf.S: New file.
108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
109
110 * math/libm-test.inc (cos_test): Add more test cases.
111 (sin_test): Likewise.
112 (sincos_test): Likewise.
113
511fa286
AK
1142012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
115
116 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
117 (IFUNC_RESOLVE): Make pointers to the specialized implementations
118 hidden.
119 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
120
5f30cfec
L
1212012-09-02 H.J. Lu <hongjiu.lu@intel.com>
122
123 [BZ #14538]
124 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
125 first element of the GOT.
126 (elf_machine_load_address): Return the difference between
127 the runtime address of _DYNAMIC and elf_machine_dynamic ().
128
0786794f
AM
1292012-09-01 Allan McRae <allan@archlinux.org>
130
5f30cfec
L
131 [BZ #13412]
132 * configure.in (AWK): Require gawk version 3.0 or later.
133 * configure: Regenerated.
0786794f 134
26889eac
JM
1352012-09-01 Joseph Myers <joseph@codesourcery.com>
136
137 * sysdeps/unix/sysv/linux/kernel-features.h
138 (__ASSUME_POSIX_CPU_TIMERS): Remove.
139 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
140 [__NR_clock_getres]: Make code unconditional.
141 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
142 (clock_getcpuclockid): Remove code left unreachable by removal of
143 conditionals.
144 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
145 code unconditional.
146 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
147 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
148 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
149 Make code unconditional.
150 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
151 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
152 * sysdeps/unix/sysv/linux/clock_settime.c
153 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
154 conditional code.
155 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
156 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
157
d22e28b0
L
1582012-08-29 H.J. Lu <hongjiu.lu@intel.com>
159
160 [BZ #14476]
161 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
162 scripts/test-installation.pl.
163
164 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
165 and $ld_so_version if it is set.
166
050af9c4
SP
1672012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
168
169 [BZ #14516]
170 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
171 failure if reading from procfs failed.
172 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
173
ad845c0b
JM
1742012-08-27 Joseph Myers <joseph@codesourcery.com>
175
176 * sysdeps/unix/sysv/linux/kernel-features.h
177 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
178 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
179 Remove conditional code.
180 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
181 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
182 Remove conditional code.
183 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
184 * sysdeps/unix/sysv/linux/i386/fxstat.c
185 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
186 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
187 * sysdeps/unix/sysv/linux/i386/fxstatat.c
188 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
189 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
190 * sysdeps/unix/sysv/linux/i386/lxstat.c
191 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
192 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
193 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
194 Remove conditional code.
195 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
196 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
197 Remove conditional code.
198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
199 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
200 <kernel-features.h>.
201 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
202 Remove.
203 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
204 Remove conditional code.
205 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
206 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
207 Remove conditional.
208
5dbf56af
MF
2092012-08-27 Mike Frysinger <vapier@gentoo.org>
210
211 [BZ #5400]
212 * NEWS: Add fixed bug number.
213
d6e70f43
JM
2142012-08-27 Joseph Myers <joseph@codesourcery.com>
215
7efb4737
JM
216 [BZ #14519]
217 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
218 underflowing exponent in case of negative sign.
219 * stdlib/tst-strtod-round-data: Add more tests.
220 * stdlib/tst-strtod-round.c (tests): Regenerated.
221
af92131a
JM
222 [BZ #3479]
223 * stdlib/strtod_l.c (NDIG): Remove.
224 (HEXNDIG): Likewise.
225 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
226 smallest representable value.
227 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
228 lie within an exact representation of 1/2 ulp of the result.
229 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
230 unconditionally.
231 (TENS_P9_IDX): Define unconditionally.
232 (TENS_P9_SIZE): Likewise.
233 (TENS_P10_IDX): Likewise.
234 (TENS_P10_SIZE): Likewise.
235 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
236 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
237 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
238 entries for 10^2^13 and 10^2^14.
239 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
240 (TENS_P13_IDX): Define.
241 (TENS_P13_SIZE): Likewise.
242 (TENS_P14_IDX): Likewise.
243 (TENS_P14_SIZE): Likewise.
244 (_fpioconst_pow10): Change array size to
245 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
246 unconditional.
247 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
248 1024]: Add entries for 10^2^13 and 10^2^14.
249 [LAST_POW10 > _LAST_POW10]: Remove #error.
250 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
251 (_fpioconst_pow10): Change array size to
252 FPIOCONST_POW10_ARRAY_SIZE.
253 * stdlib/gen-fpioconst.c: New file.
254 * stdlib/gen-tst-strtod-round.c: Likewise.
255 * stdlib/tst-strtod-round-data: Likewise.
256 * stdlib/tst-strtod-round.c: Likewise.
257 * stdlib/Makefile (tests): Add tst-strtod-round.
258
d6e70f43
JM
259 [BZ #14459]
260 * stdlib/strtod_l.c: Include <stdint.h>.
261 (NDEBUG): Do not define.
262 (round_and_return): Change EXPONENT parameter to type intmax_t.
263 Rearrange calculations to avoid internal overflow possibilities.
264 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
265 Rearrange calculations to avoid internal overflow possibilities.
266 Assert that number fits inside MPNSIZE limbs.
267 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
268 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
269 calculations and add assertions to avoid internal overflow
270 possibilities. Add casts to avoid signed/unsigned operations.
271 * stdlib/tst-strtod-overflow.c: New file.
272 * stdlib/Makefile (tests): Add tst-strtod-overflow.
273
1f529f7d
MP
2742012-08-25 Marek Polacek <polacek@redhat.com>
275
276 * time/time.h: Fix some typos in comments.
277
59a629f1
RM
2782012-08-23 Roland McGrath <roland@hack.frob.com>
279
280 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
281 * posix/tst-rfc3484-2.c: Likewise.
282 * posix/tst-rfc3484-3.c: Likewise.
283
d3bafbc9
SM
2842012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
285
286 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
287 (EF_ARM_ABI_FLOAT_HARD): Likewise.
288
4efcc022
JM
2892012-08-23 Joseph Myers <joseph@codesourcery.com>
290
291 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
292 #include of fxstatat64.c.
293
3cc3ef96
RM
2942012-08-22 Roland McGrath <roland@hack.frob.com>
295
f04e2132
RM
296 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
297 * shadow/getspent_r.c: Likewise.
298 * shadow/getspnam.c: Likewise.
299 * shadow/getspnam_r.c: Likewise.
300 * gshadow/getsgent.c: Likewise.
301 * gshadow/getsgent_r.c: Likewise.
302 * gshadow/getsgnam.c: Likewise.
303 * gshadow/getsgnam_r.c: Likewise.
304 * inet/getnetbyad.c: Likewise.
305 * inet/getnetbyad_r.c: Likewise.
306 * inet/getnetbynm.c: Likewise.
307 * inet/getnetbynm_r.c: Likewise.
308 * inet/getnetent.c: Likewise.
309 * inet/getnetent_r.c: Likewise.
310 * inet/getproto.c: Likewise.
311 * inet/getproto_r.c: Likewise.
312 * inet/getprtent.c: Likewise.
313 * inet/getprtent_r.c: Likewise.
314 * inet/getprtname.c: Likewise.
315 * inet/getprtname_r.c: Likewise.
316 * inet/getrpcbyname.c: Likewise.
317 * inet/getrpcbyname_r.c: Likewise.
318 * inet/getrpcbynumber.c: Likewise.
319 * inet/getrpcbynumber_r.c: Likewise.
320 * inet/getrpcent.c: Likewise.
321 * inet/getrpcent_r.c: Likewise.
322 * inet/getaliasent.c: Likewise.
323 * inet/getaliasent_r.c: Likewise.
324 * inet/getaliasname.c: Likewise.
325 * inet/getaliasname_r.c: Likewise.
326 * nscd/getgrgid_r.c: Likewise.
327 * nscd/getgrnam_r.c: Likewise.
328 * nscd/gethstbyad_r.c: Likewise.
329 * nscd/gethstbynm3_r.c: Likewise.
330 * nscd/getpwnam_r.c: Likewise.
331 * nscd/getpwuid_r.c: Likewise.
332 * nscd/getsrvbynm_r.c: Likewise.
333 * nscd/getsrvbypt_r.c: Likewise.
334 * nscd/gai.c: Likewise.
335
c53d909c
RM
336 * configure.in (build_nscd): New substituted variable, set
337 by --disable-build-nscd and defaults to $use_nscd.
338 * configure: Regenerated.
339 * config.make.in (build-nscd): New substituted variable.
340 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
341 Change conditional to require [$(build-nscd) = yes] as well.
342 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
343
3cc3ef96
RM
344 [BZ# 13696]
345 * configure.in (use_nscd): New substituted variable, set by
346 --disable-nscd. If enabled, define USE_NSCD.
347 * configure: Regenerated.
348 * config.h.in: Add USE_NSCD.
349 * config.make.in (use-nscd): New substituted variable.
350 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
351 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
352 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
353 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
354 (CFLAGS-getgrnam_r.c): Likewise.
355 (CFLAGS-initgroups.c): Likewise.
356 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
357 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
358 Variables removed.
359 * inet/getnetgrent_r.c
360 (nscd_setnetgrent): New function, broken out of ...
361 (setnetgrent): ... here. Call it.
362 (innetgr): Conditionalize nscd bits on [USE_NSCD].
363 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
364 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
365 * nscd/Makefile (routines, aux): Move definitions after include of
366 Makeconfig. Conditionalize on [$(use-nscd) != no].
367 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
368 Conditionalize on [USE_NSCD].
369 (is_nscd, nscd_init_cb): Likewise.
370 (nss_load_library): Conditionalize init callback on [USE_NSCD].
371 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
372 * nss/nss_db/db-init.c: Likewise.
373 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
374 [USE_NSCD].
375 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
376 (make_request): Use it.
377 (cache_valid_p): New function.
378 (__check_pf): Use it.
379 * NEWS: Add item for --disable-nscd.
380
07e51550
DL
3812012-08-22 Dmitry V. Levin <ldv@altlinux.org>
382
383 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
384 to support sed >= 4.2.1-20-ga9bf076.
385 * configure: Regenerated.
386
35a5b08b
RM
3872012-08-22 Roland McGrath <roland@hack.frob.com>
388
389 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
390 Conditionalize whole body on [IREL].
391
8479f23a
JL
3922012-08-22 Jeff Law <law@redhat.com>
393
394 [BZ #14505]
395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
396 if the family is PF_UNSPEC.
397
48da0b21
MF
3982012-08-22 Mike Frysinger <vapier@gentoo.org>
399
400 * Makerules (lib-version): Rename from V.
401 (install-lib-nosubdir): Change V to lib-version.
402
15d0da8c
WS
4032012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
404
405 [BZ #14252]
406 * powerpc32/power6/wcschr.c: New file.
407 * powerpc32/power6/wcscpy.c: New file.
408 * powerpc32/power6/wcsrchr.c: New file.
409 * powerpc64/power6/wcschr.c: New file.
410 * powerpc64/power6/wcscpy.c: New file.
411 * powerpc64/power6/wcsrchr.c: New file.
412
bcca0895
MK
4132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
414
415 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
416 (two_way_short_needle): Use it.
5a4aaa33
RM
417 * string/strstr.c (AVAILABLE1_USES_J): Define.
418 * string/strcasestr.c: Likewise.
99677e57
MK
419
420 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
421 array references.
422 * string/strcasestr.c (TOLOWER): Make side-effect safe.
423
400726de
MK
424 [BZ #11607]
425 * NEWS: Add an entry.
426 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
427 define their defaults.
428 (two_way_short_needle): Detect end-of-string on-the-fly.
429 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
430 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
431 * string/bug-strcasestr1.c: New test.
432 * string/Makefile: Run it.
433
20a71f2c
MK
4342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
435
436 [BZ #11607]
437 * string/str-two-way.h (two_way_short_needle): Optimize matching of
438 the first character.
439
21ad0558
RM
4402012-08-21 Roland McGrath <roland@hack.frob.com>
441
442 * csu/elf-init.c (__libc_csu_irel): Function removed.
443 * csu/libc-start.c (apply_irel): New function.
444 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
445
0e1d9911
JM
4462012-08-21 Joseph Myers <joseph@codesourcery.com>
447
448 * sysdeps/unix/sysv/linux/kernel-features.h
449 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
450 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
451 <kernel-features.h>.
452 [__NR_fadvise64_64]: Make code unconditional.
453 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
454 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
455 !__NR_fadvise64_64)]: Likewise.
456 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
457 !__NR_fadvise64_64))]: Likewise.
458 [__NR_fadvise64]: Make code unconditional.
459 [!__NR_fadvise64]: Remove conditional code.
460 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
461 <kernel-features.h>.
462 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
463 unconditional.
464 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
465 conditional code.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
467 not include <kernel-features.h>.
468 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
469 unconditional.
470 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
471 conditional code.
472 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
473 include <kernel-features.h>.
474 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
475 unconditional.
476 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
477 conditional code.
478
14a50c9d
WS
4792012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
480
481 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
482 slight instruction rearrangements per scrollpipe analysis.
483 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
484
c0f4faf0
RM
4852012-08-20 Roland McGrath <roland@hack.frob.com>
486
696da859
RM
487 * manual/syslog.texi (syslog; vsyslog, closelog):
488 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
489 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
490
c0f4faf0
RM
491 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
492 DSOCAPS to match condition on defining it.
493
348363b2
JM
4942012-08-20 Joseph Myers <joseph@codesourcery.com>
495
a35cbf28
JM
496 * sysdeps/unix/sysv/linux/kernel-features.h
497 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
499 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
500 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
502 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
503 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
505 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
506 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
507
445f7ecd
JM
508 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
509 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
510
348363b2
JM
511 * sysdeps/unix/sysv/linux/kernel-features.h
512 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
513 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
514 unconditional.
515 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
516 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
517 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
518 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
519 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
520 Make code unconditional.
521 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
522 (__mmap64) [!__NR_mmap2]: Likewise.
523 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
524 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
525 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
526 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
527 [__NR_mmap2]: Make code unconditional.
528 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
529 (__mmap64) [!__NR_mmap2]: Likewise.
530
bc5bc0e5
AK
5312012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
532
533 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
534
88d506de
AJ
5352012-08-18 Andreas Jaeger <aj@suse.de>
536
537 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
538
493387d2
MF
5392012-08-18 Mike Frysinger <vapier@gentoo.org>
540
541 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
542 * include/unistd.h (__have_sock_cloexec): Likewise.
543 (__have_pipe2): Likewise.
544 (__have_dup3): Likewise.
545
a277af22
MF
5462012-08-18 Mike Frysinger <vapier@gentoo.org>
547
548 [BZ #9685]
549 * include/unistd.h (__have_pipe2): Change define into an extern int.
550 (__have_dup3): Likewise.
551 * socket/have_sock_cloexec.c: Include fcntl.h.
552 (__have_pipe2): New variable.
553 (__have_dup3): Likewise.
554
fdab8fd3
MF
5552012-08-17 Mike Frysinger <vapier@gentoo.org>
556
557 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
558
31035e80
MP
5592012-08-17 Marek Polacek <polacek@redhat.com>
560
561 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
562 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
563
3bd9e993
RM
5642012-08-17 Roland McGrath <roland@hack.frob.com>
565
c91c505f
RM
566 * configure.in: Add AC_SUBST for sysheaders.
567 * configure: Regenerated.
568 * config.make.in (sysheaders): New substituted variable.
569
7c6f9d53
RM
570 * sysdeps/unix/mkfifo.c: Moved ...
571 * sysdeps/posix/mkfifo.c: ... here.
572 * sysdeps/unix/mkfifoat.c: Moved ...
573 * sysdeps/posix/mkfifoat.c: ... here.
574
575 * sysdeps/unix/utime.c: Moved ...
576 * sysdeps/posix/utime.c: ... here.
577
578 * sysdeps/unix/time.c: Moved ...
579 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
580 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
581 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
582
583 * sysdeps/unix/nice.c: Moved ...
584 * sysdeps/posix/nice.c: ... here.
585
586 * sysdeps/unix/alarm.c: Moved ...
587 * sysdeps/posix/alarm.c: ... here.
588
3bd9e993
RM
589 * intl/Makefile ($(codeset_mo)): Depend on the input file.
590
d1f09384
JL
5912012-08-17 Jeff Law <law@redhat.com>
592
593 * intl/Makefile (codeset_mo): New variable.
594 ($(codeset_mo)): New target.
595 (tst-codeset.out): Depend on that. Remove explicit rule.
596 (tst-gettext3.out, tst-gettext5.out): Likewise.
597 (LOCPATH-ENV, tst-codeset-ENV): New variables.
598 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
599 * intl/tst-codeset.sh: Remove.
600 * intl/tst-gettext3.sh: Likewise.
601 * intl/tst-gettext5.sh: Likewise.
602
2ae1ae5c
RM
6032012-08-17 Roland McGrath <roland@hack.frob.com>
604
c31fdb83
RM
605 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
606 * sysdeps/unix/syscalls.list: ... here.
607
a0844057
RM
608 * sysdeps/posix/getaddrinfo.c
609 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
610 (gaiconf_init, gaiconf_reload): Use them.
611 [!_STATBUF_ST_NSEC]
612 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
613 Define using time_t rather than struct timespec.
614
750c1f2a
RM
615 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
616 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
617 Macros removed.
618 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
619 [!NO_THREADS].
620 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
621 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
622 Likewise.
623
2ae1ae5c
RM
624 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
625 __libc_cleanup_push argument.
626
e66a42f5
RM
627 * bits/param.h: New file.
628 * misc/sys/param.h: New file.
629 * include/sys/param.h: New file.
630 * misc/Makefile (headers): Add bits/param.h.
631 * sysdeps/generic/sys/param.h: File removed.
632 * sysdeps/unix/sysv/linux/bits/param.h: New file.
633 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
634 * sysdeps/mach/hurd/bits/param.h: New file.
635 * sysdeps/mach/hurd/sys/param.h: New file.
636
b7c08a66
RM
637 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
638 last change.
639
b2e1c562
RM
640 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
641 [_IO_MTSAFE_IO].
642 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
643 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
644 New macros.
645
c75ccd4c
RM
646 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
647 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
648 rather than -D_IO_MTSAFE_IO conditionally.
649 * stdio-common/Makefile (CPPFLAGS): Likewise.
650 * wcsmbs/Makefile (CPPFLAGS): Likewise.
651 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
652 Use $(libio-mtsafe).
653 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
654 of -D_IO_MTSAFE_IO.
655 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
656 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
657 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
658 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
659 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
660 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
661 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
662 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
663 (CFLAGS-fread_u_chk.c): Likewise.
664 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
665 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
666 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
667 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
668 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
669 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
670 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
671 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
672 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
673
674 * libio/Makefile: Test [$(libc-reentrant) = yes]
675 instead of [$(filter %REENTRANT, $(defines)) nonempty].
676
677 * Makeconfig
678 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
679 * sysdeps/pthread/configure: File removed.
680 * sysdeps/pthread/Makeconfig: New file.
681 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
682 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
683
d9195db8
GB
6842012-08-16 Gary Benson <gbenson@redhat.com>
685
686 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
687 unmapping the first object in a namespace.
688
86466cd9
RM
6892012-08-16 Roland McGrath <roland@hack.frob.com>
690
691 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
692 (__internal_setnetgrent): ... this. Add internal_function to
693 definition. Add libc_hidden_def.
694 (setnetgrent): Update caller.
695 (internal_endnetgrent): Renamed to ...
696 (__internal_endnetgrent): ... this. Add internal_function to
697 definition. Add libc_hidden_def.
698 (endnetgrent): Update caller.
699 (internal_getnetgrent_r): Renamed to ...
700 (__internal_getnetgrent_r): ... this. Add internal_function to
701 definition. Add libc_hidden_def.
702 (__getnetgrent_r): Update caller.
703 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
704
c3c8283c
JM
7052012-08-16 Joseph Myers <joseph@codesourcery.com>
706
707 * stdlib/longlong.h: Update from GCC.
708
db1ee0a8
RM
7092012-08-16 Roland McGrath <roland@hack.frob.com>
710
711 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
712 on _QL, which is set by umul_ppmm but never used.
713 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
714 variables, which are set by GMP macros but never used.
715 * stdio-common/_itowa.c (_itowa): Likewise.
716 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
717 * stdlib/mod_1.c (mpn_mod_1): Likewise.
718
30f69637
CD
7192012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
720
721 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
722 struct La_sh_regs is not constant.
723 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
724 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
725 and struct La_sparc64_regs are not constant.
726
93a78ac4
JM
7272012-08-16 Joseph Myers <joseph@codesourcery.com>
728
729 * sysdeps/unix/sysv/linux/kernel-features.h
730 (__ASSUME_POSIX_TIMERS): Remove.
731 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
732 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
733 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
734 Make code unconditional.
735 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
736 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
737 Make code unconditional.
738 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
739 * sysdeps/unix/sysv/linux/clock_nanosleep.c
740 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
741 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
742 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
743 Make code unconditional.
744 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
745 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
746 (__libc_missing_posix_timers): Remove.
747
dd924cd7
RM
7482012-08-15 Roland McGrath <roland@hack.frob.com>
749
4b4f2771
RM
750 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
751 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
752
601c888b
RM
753 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
754
176790a7
RM
755 * elf/dl-sym.c: Include <stdlib.h>.
756
329bc018
RM
757 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
758 constants, which avoids warnings in 32-bit builds.
759
e04e272d
RM
760 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
761 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
762
952bf94a
RM
763 * misc/lseek.c: File moved to ...
764 * io/lseek.c: ... here.
765
7c99b50a
RM
766 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
767
dd924cd7
RM
768 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
769 shifting LEN more than 31 bits at once.
770
b3f479a8
LD
7712012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
772
773 [BZ #14195]
8c4ae0d4
RM
774 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
775 segmentation fault for a case of two empty input strings.
b3f479a8
LD
776 * string/test-strncasecmp.c (check1): Renamed to...
777 (bz12205): ...this.
778 (bz14195): Add new testcase for two empty input strings and N > 0.
779 (test_main): Call new testcase, adapt for renamed function.
780
9c55864e
AJ
7812012-08-15 Andreas Jaeger <aj@suse.de>
782
783 [BZ #14090]
784 * crypt/md5test2.c: New test, based on test supplied by Serge
785 Belyshev <belyshev@depni.sinp.msu.ru>.
786 * crypt/Makefile (xtests): Add md5test-giant..
787 * crypt/Makefile ($(objpfx)md5test-giant): Add.
788
02dcb6c5
PE
7892012-08-15 Paul Eggert <eggert@cs.ucla.edu>
790
791 [BZ #14090]
792 * crypt/md5.c (md5_process_block): Don't assume the buffer
793 length is less than 2**32.
794 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
795 length is less than 2**64.
796
a3f95dcc
RM
7972012-08-15 Roland McGrath <roland@hack.frob.com>
798
be75d758
RM
799 * string/str-two-way.h: Include <sys/param.h>.
800 (MAX): Macro removed.
801
7312ca90
RM
802 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
803 Move #define and #undef of memmove to just before and after
804 including <string.h>.
805
9a0a5486
RM
806 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
807 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
808 and after including <string.h>. Move declarations of
809 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
810 to before #include "string/memmove.c".
811
67cc348d
RM
812 * include/dirent.h: Declare __getdirentries.
813
a3f95dcc
RM
814 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
815 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
816
ca98e171
MF
8172012-08-14 Mike Frysinger <vapier@gentoo.org>
818
819 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
820 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
821 * sysdeps/i386/configure: Regenerated.
822 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
823 STABS_CURRENT_FILE, and STABS_FUN.
824 (END): Remove call to STABS_FUN_END.
825 (STABS_CURRENT_FILE1): Delete.
826 (STABS_CURRENT_FILE): Likewise.
827 (STABS_FUN): Likewise.
828 (STABS_FUN_END): Likewise.
829 (STABS_FUN2): Likewise.
830 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
831 * sysdeps/x86_64/configure: Regenerated.
832
5908bf46
RM
8332012-08-14 Roland McGrath <roland@hack.frob.com>
834
835 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 836 * elf/dl-lookup.c: Likewise.
5908bf46 837
f2c05b9e
JM
8382012-08-14 Joseph Myers <joseph@codesourcery.com>
839
840 * sysdeps/unix/sysv/linux/kernel-features.h
841 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
842 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
843 unconditionally.
844 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
845 unconditionally.
846 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
847 condition on __ASSUME_CLONE_THREAD_FLAGS.
848
e11f5155
AJ
8492012-08-14 Andreas Jaeger <aj@suse.de>
850
851 * sysdeps/i386/fpu/libm-test-ulps: Update.
852
51a9ba86
MK
8532012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
854
2fdd4f78
AJ
855 * include/atomic.h (atomic_exchange_and_add): Split into ...
856 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
857 New atomic macros.
51a9ba86 858
ba6cba9e
MT
8592012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
860
861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
862
42443a47
JL
8632012-08-13 Jeff Law <law@redhat.com>
864
865 * manual/stdio.texi (snprintf): Clarify handling of the trailing
866 null byte in the output string.
867
121dce05
JM
8682012-08-10 Joseph Myers <joseph@codesourcery.com>
869
870 * sysdeps/unix/sysv/linux/kernel-features.h
871 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
872 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
873 (__ASSUME_ARG_MAX_STACK_BASED): Define.
874 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
875 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
876 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
877 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
878
bf51f568
JL
8792012-08-09 Jeff Law <law@redhat.com>
880
881 [BZ #13939]
882 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
883 When avoid_arena is set, don't retry in the that arena. Pick the
884 next one, whatever it might be.
885 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
886 (arena_lock): Pass in new parameter to arena_get2.
887 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
888 arena_get2.
889 (__libc_malloc): Unify retrying after main arena failure with
890 __libc_memalign version.
891 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
892
f85fa270
L
8932012-08-09 H.J. Lu <hongjiu.lu@intel.com>
894
895 [BZ #14166]
896 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
897 to __redirect_strstr.
898 (__strstr_sse42): Use typeof __redirect_strstr.
899 (__strstr_ia32): Likewise.
900 (__libc_strstr): New prototype.
901 (strstr): Renamed to ...
902 (__libc_strstr): This.
903 (strstr): New strong alias of __libc_strstr.
904 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
905 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
906 __redirect_time.
907 Include <time.h>.
908 (__libc_time): New prototype.
909 (time_ifunc): Replace time with __libc_time.
910 (time): New strong alias and hidden definition of __libc_time.
911 (__GI_time): Remove strong alias.
912 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
913 Include <stddef.h>.
914 (memmove): Redefined to __redirect_memmove.
915 (__memmove_sse2): Use typeof __redirect_memmove.
916 (__memmove_ssse3): Likewise.
917 (__memmove_ssse3_back): Likewise.
918 (__libc_memmove): New prototype.
919 (memmove): Renamed to ...
920 (__libc_memmove): This.
921 (memmove): New strong alias of __libc_memmove.
922
33b4a91e
MS
9232012-08-08 Mark Salter <msalter@redhat.com>
924
925 * elf/elf.h
926 (R_MN10300_TLS_GD): Define.
927 (R_MN10300_TLS_LD): Likewise.
928 (R_MN10300_TLS_LDO): Likewise.
929 (R_MN10300_TLS_GOTIE): Likewise.
930 (R_MN10300_TLS_IE): Likewise.
931 (R_MN10300_TLS_LE): Likewise.
932 (R_MN10300_TLS_DTPMOD): Likewise.
933 (R_MN10300_TLS_DTPOFF): Likewise.
934 (R_MN10300_TLS_TPOFF): Likewise.
935 (R_MN10300_SYM_DIFF): Likewise.
936 (R_MN10300_ALIGN): Likewise.
937 (R_MN10300_NUM): Update.
938
b36137f1
JM
9392012-08-08 Joseph Myers <joseph@codesourcery.com>
940
941 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
942 Remove.
943
cdd915fd
RM
9442012-08-08 Roland McGrath <roland@hack.frob.com>
945
a2433aac
RM
946 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
947
cdd915fd
RM
948 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
949 sysdeps/unix -> sysdeps/posix move.
950 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
951
bf9b740a
AM
9522012-08-07 Allan McRae <allan@archlinux.org>
953
954 [BZ #14303]
955 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
956 (SUNOS_CPP): Likewise.
957 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
958 not found.
959 (open_input): Call CPP using execvp.
960
93df14ee
JM
9612012-08-07 Joseph Myers <joseph@codesourcery.com>
962
963 * sysdeps/unix/sysv/linux/kernel-features.h
964 (__ASSUME_PROT_GROWSUPDOWN): Remove.
965 (__ASSUME_NO_CLONE_DETACHED): Likewise.
966 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
967 (__ASSUME_WAITID_SYSCALL): Likewise.
968 * sysdeps/unix/sysv/linux/dl-execstack.c
969 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
970 code unconditional.
971 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
972 conditional code.
973 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
974 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
975 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
976 code.
977 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
978 unconditional.
979 [__ASSUME_WAITID_SYSCALL]: Likewise.
980 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
981
d34689de
RM
9822012-08-07 Roland McGrath <roland@hack.frob.com>
983
a281decc
RM
984 * sysdeps/unix/closedir.c: Renamed to ...
985 * sysdeps/posix/closedir.c: ... here.
986 * sysdeps/unix/dirfd.c: Renamed to ...
987 * sysdeps/posix/dirfd.c: ... here.
988 * sysdeps/unix/dirstream.h: Renamed to ...
989 * sysdeps/posix/dirstream.h: ... here.
990 * sysdeps/unix/fdopendir.c: Renamed to ...
991 * sysdeps/posix/fdopendir.c: ... here.
992 * sysdeps/unix/opendir.c: Renamed to ...
993 * sysdeps/posix/opendir.c: ... here.
994 * sysdeps/unix/readdir.c: Renamed to ...
995 * sysdeps/posix/readdir.c: ... here.
996 * sysdeps/unix/readdir_r.c: Renamed to ...
997 * sysdeps/posix/readdir_r.c: ... here.
998 * sysdeps/unix/rewinddir.c: Renamed to ...
999 * sysdeps/posix/rewinddir.c: ... here.
1000 * sysdeps/unix/seekdir.c: Renamed to ...
1001 * sysdeps/posix/seekdir.c: ... here.
1002 * sysdeps/unix/telldir.c: Renamed to ...
1003 * sysdeps/posix/telldir.c: ... here.
1004 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1005 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1006 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1007 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1008
22895b47
RM
1009 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1010 * bits/fcntl.h: ... here.
1011
707a53b6
RM
1012 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1013 not 0.
1014 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1015 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1016 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1017 (struct flock): Move l_start, l_len to the beginning.
1018 Use __pid_t for l_pid.
1019 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1020 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1021 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1022 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1023 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1024 [__USE_LARGEFILE64] (struct flock64): New type.
1025 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1026
f0bd3e25
RM
1027 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1028 * bits/dirent.h: ... here.
1029
d34689de
RM
1030 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1031 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1032
6dad2c06
JM
10332012-08-07 Joseph Myers <joseph@codesourcery.com>
1034
1035 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1036 Change from 2.6.0 to 2.6.16.
1037 * sysdeps/unix/sysv/linux/configure: Regenerated.
1038 * sysdeps/unix/sysv/linux/kernel-features.h
1039 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1040 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1041 version.
1042 (__ASSUME_UTIMES): Likewise.
1043 (__ASSUME_CLONE_STOPPED): Remove.
1044 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1045 architectures, not kernel version.
1046 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1047 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1048 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1049 (__ASSUME_WAITID_SYSCALL): Likewise.
1050 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1051 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1052 * README: State 2.6.16 as minimum Linux kernel version. Do not
1053 refer to older versions.
1054
03af9520
RM
10552012-08-06 Roland McGrath <roland@hack.frob.com>
1056
8e49df1d
RM
1057 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1058 Define alphasort64 as an alias.
1059 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1060 Define versionsort64 as an alias.
1061 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1062 Define scandir64 as an alias.
1063 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1064 Define scandirat64 as an alias.
1065 * dirent/alphasort64.c (alphasort64):
1066 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1067 * dirent/versionsort64.c: Likewise.
1068 * dirent/scandir64.c: Likewise.
1069 * dirent/scandirat64.c: Likewise.
1070 * sysdeps/wordsize-64/alphasort.c: File removed.
1071 * sysdeps/wordsize-64/alphasort64.c: File removed.
1072 * sysdeps/wordsize-64/scandir.c: File removed.
1073 * sysdeps/wordsize-64/scandir64.c: File removed.
1074 * sysdeps/wordsize-64/scandirat.c: File removed.
1075 * sysdeps/wordsize-64/scandirat64.c: File removed.
1076 * sysdeps/wordsize-64/versionsort.c: File removed.
1077 * sysdeps/wordsize-64/versionsort64.c: File removed.
1078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1080 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1081 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1082 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1083 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1084 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1085 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1086
1087 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1089 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1091 [defined __arch64__ || defined __sparcv9]
1092 (__INO_T_MATCHES_INO64_T): New macro.
1093 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1094 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1095 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1096 * sysdeps/unix/sysv/linux/bits/dirent.h
1097 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1098 (_DIRENT_MATCHES_DIRENT64): New macro.
1099
03af9520
RM
1100 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1101 Define lockf64 as an alias.
1102 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1103 Define fseeko64 as an alias.
1104 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1105 Define ftello64 as an alias.
1106 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1107 Define _IO_fgetpos64 and fgetpos64 as aliases.
1108 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1109 Define _IO_fsetpos64 and fsetpos64 as aliases.
1110 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1111 Conditionalize body on this.
1112 * libio/fseeko64.c: Likewise.
1113 * libio/ftello64.c: Likewise.
1114 * libio/iofgetpos64.c: Likewise.
1115 * libio/iofsetpos64.c: Likewise.
1116 * sysdeps/wordsize-64/lockf.c: File removed.
1117 * sysdeps/wordsize-64/lockf64.c: File removed.
1118 * sysdeps/wordsize-64/fseeko.c: File removed.
1119 * sysdeps/wordsize-64/fseeko64.c: File removed.
1120 * sysdeps/wordsize-64/ftello.c: File removed.
1121 * sysdeps/wordsize-64/ftello64.c: File removed.
1122 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1123 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1124 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1125 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1126 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1127 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1128 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1129 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1130 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1131 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1132 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1133 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1134 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1135 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1136
1137 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1139 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1141 [defined __arch64__ || defined __sparcv9]
1142 (__OFF_T_MATCHES_OFF64_T): New macro.
1143 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1144 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1146 (__OFF_T_MATCHES_OFF64_T): New macro.
1147
c5757acd
L
11482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1149
1150 * stdlib/secure-getenv.c (__secure_getenv): Replace
1151 GLIBC_2_16 with GLIBC_2_17.
1152
3a31811e
L
11532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1156 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1157
faa2bccb
DM
11582012-08-03 David S. Miller <davem@davemloft.net>
1159
1160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1161
85fe1997
JM
11622012-08-03 Joseph Myers <joseph@codesourcery.com>
1163
1164 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1165 Remove.
1166 (__ASSUME_CORRECT_SI_PID): Likewise.
1167 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1168 (__ASSUME_TMPFS_NAME): Likewise.
1169 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1170 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1171 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1172 (HAVE_AUX_SECURE): Make definition unconditional.
1173 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1174 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1175
4f75b7a0
RM
11762012-08-03 Roland McGrath <roland@hack.frob.com>
1177
1178 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1179 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1180 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1181 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1182 __eloop_threshold instead of SYMLOOP_MAX.
1183
1184 * sysdeps/generic/eloop-threshold.h: New file.
1185 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1186 of MAXSYMLINKS.
1187 * elf/chroot_canon.c (chroot_canon): Likewise.
1188
7aab07e4
JM
11892012-08-03 Joseph Myers <joseph@codesourcery.com>
1190
1191 [BZ #13717]
1192 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1193 Change to 2.6.0 everywhere.
1194 * sysdeps/unix/sysv/linux/configure: Regenerated.
1195 * sysdeps/unix/sysv/linux/kernel-features.h
1196 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1197 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1198 kernel versions.
1199 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1200 (__ASSUME_FUTEX_REQUEUE): Remove.
1201 (__ASSUME_STATFS64): Define unconditionally.
1202 (__ASSUME_AT_SECURE): Likewise.
1203 (__ASSUME_CORRECT_SI_PID): Likewise.
1204 (__ASSUME_TGKILL): Define without depending on kernel version for
1205 i386.
1206 (__ASSUME_UTIMES): Likewise.
1207 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1208 kernel version.
1209 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1210 (__ASSUME_TMPFS_NAME): Likewise.
1211 * README: Update reference to Linux kernel versions.
1212
b67e9372
MP
12132012-08-02 Marek Polacek <polacek@redhat.com>
1214
1f529f7d 1215 [BZ# 14150]
b67e9372
MP
1216 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1217 libc_cv_asm_type_prefix with %.
1218 * configure: Regenerated.
d2441631
RM
1219 * include/libc-symbols.h: Remove comment about
1220 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1221 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1222 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1223 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1224 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1225 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1226 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1227 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1228 * elf/tst-unique2mod1.c: Likewise.
1229 * elf/tst-unique1mod2.c: Likewise.
1230 * elf/tst-unique1mod1.c: Likewise.
1231 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1232 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1233 Replace ASM_TYPE_DIRECTIVE with .type.
1234 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1235 * sysdeps/i386/sysdep.h: Likewise.
1236 * sysdeps/x86_64/sysdep.h: Likewise.
1237 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1239 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1240 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1241 * sysdeps/powerpc/powerpc32/sysdep.h:
1242 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1243 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1244 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1245 * sysdeps/i386/fpu/e_powf.S: Likewise.
1246 * sysdeps/i386/fpu/e_expl.S: Likewise.
1247 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1248 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1249 * sysdeps/i386/fpu/e_pow.S: Likewise.
1250 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1251 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1252 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1253 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1254 * sysdeps/i386/fpu/e_log2.S: Likewise.
1255 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1256 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1257 * sysdeps/i386/fpu/e_powl.S: Likewise.
1258 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1259 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1260 * sysdeps/i386/fpu/e_logl.S: Likewise.
1261 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1262 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1263 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1264 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1265 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1266 * sysdeps/i386/fpu/e_log.S: Likewise.
1267 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1268 * sysdeps/i386/fpu/e_logf.S: Likewise.
1269 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1270 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1271 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1272 * sysdeps/i386/fpu/e_log10.S: Likewise.
1273 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1274 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1275 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1276 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1277 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1278 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1279 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1280 * sysdeps/i386/i686/strtok.S: Likewise.
1281 * sysdeps/i386/i386-mcount.S: Likewise.
1282 * sysdeps/i386/strtok.S: Likewise.
1283 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1284 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1285 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1286 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1287 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1288 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1289 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1290 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1291 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1292 * sysdeps/x86_64/_mcount.S: Likewise.
1293 * sysdeps/x86_64/strtok.S: Likewise.
1294 * sysdeps/sh/_mcount.S: Likewise.
1295
2747bf9a
RM
12962012-08-01 Roland McGrath <roland@hack.frob.com>
1297
1298 * libio/iofopen.c: Include <fcntl.h>.
1299 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1300 (_IO_fopen64, fopen64): Define as aliases.
1301 * libio/iofopen64.c: Include <fcntl.h>.
1302 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1303 Conditionalize body on this.
1304 * sysdeps/wordsize-64/iofopen.c: File removed.
1305 * sysdeps/wordsize-64/iofopen64.c: File removed.
1306
3fb791b8
MP
13072012-08-01 Marek Polacek <polacek@redhat.com>
1308
1309 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1310 Use dlfcn directly instead of a variable.
1311 (binfmt-subdir): Do not define.
1312 (dlfcn): Likewise.
1313
a9f1039f
JM
13142012-08-01 Joseph Myers <joseph@codesourcery.com>
1315
23bddc06
JM
1316 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1317 Remove all definitions.
1318 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1319 <kernel-features.h>.
1320 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1321 (miss_F_GETOWN_EX): Remove all definitions.
1322 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1323 macro definition.
1324 [!__ASSUME_FCNTL64]: Remove conditional code.
1325 [__ASSUME_FCNTL64]: Make code unconditional.
1326 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1327 <kernel-features.h>.
1328 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1329 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1330 (lockf64) [__NR_fcntl64]: Make code unconditional.
1331 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1332
a9f1039f
JM
1333 * sysdeps/unix/sysv/linux/kernel-features.h
1334 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1335 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1336 Make code unconditional.
1337 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1338 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1340 [__NR_vfork]: Make code unconditional.
1341 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1342 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1344 [__NR_vfork]: Make code unconditional.
1345 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1346 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1347
09c0ee5f
RM
13482012-08-01 Roland McGrath <roland@hack.frob.com>
1349
48aec5b9
RM
1350 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1351 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1352
cd97c966
RM
1353 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1354 Define mkstemp64 as an alias.
3f55550c
RM
1355 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1356 Define mkstemps64 as an alias.
cd97c966
RM
1357 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1358 Define mkostemp64 as an alias.
b8625cfc
RM
1359 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1360 Define mkostemps64 as an alias.
cd97c966
RM
1361 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1362 Conditionalize body on this.
1363 * misc/mkostemp64.c: Likewise.
b8625cfc 1364 * misc/mkostemps64.c: Likewise.
3f55550c 1365 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1366 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1367 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1368 * sysdeps/wordsize-64/mkostemp.c: File removed.
1369 * sysdeps/wordsize-64/mkstemp.c: File removed.
1370 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1373 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1374
09c0ee5f
RM
1375 [BZ #14138]
1376 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1377 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1378 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1379 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1380
1381 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1382 compat_symbol macros from <shlib-compat.h> rather than the underlying
1383 default_symbol_version and symbol_version macros, so that DEFAULT
1384 lines in shlib-versions are respected.
1385 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1386
7e66ee51
FW
13872012-08-01 Florian Weimer <fweimer@redhat.com>
1388
1389 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1390 Declare with warn_unused_result.
1391 (setgid, setregid, setegid, setresgid): Likewise.
1392 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1393 Likewise.
1394 * WUR-REPORT: Remove set*id functions.
1395
d2a54255
PT
13962012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1397
1398 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1399
7ecdb005
RM
14002012-07-31 Roland McGrath <roland@hack.frob.com>
1401
789bd351
RM
1402 * include/sys/socket.h (__libc_accept, __libc_accept4):
1403 Add attribute_hidden.
1404 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1405
40ce302d
RM
1406 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1407 use of PTR_MANGLE.
1408 * inet/getnetgrent_r.c (setup): Likewise.
1409
7ecdb005
RM
1410 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1411
e2eabb2c
DM
14122012-07-31 David S. Miller <davem@davemloft.net>
1413
1414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1415
d0419dbf
JM
14162012-07-31 Joseph Myers <joseph@codesourcery.com>
1417
1418 [BZ #13629]
1419 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1420 value between 1.0 and 2.0 and smaller part has absolute value less
1421 than 1.0.
1422 * math/s_clog10.c (__clog10): Likewise.
1423 * math/s_clog10f.c (__clog10f): Likewise.
1424 * math/s_clog10l.c (__clog10l): Likewise.
1425 * math/s_clogf.c (__clogf): Likewise.
1426 * math/s_clogl.c (__clogl): Likewise.
1427 * math/libm-test.inc (clog_test): Add more tests.
1428 (clog10_test): Likewise.
1429 * sysdeps/i386/fpu/libm-test-ulps: Update.
1430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1431
2bc13872
FW
14322012-07-31 Florian Weimer <fweimer@redhat.com>
1433
1434 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1435 Exit with zero in case no suitable GID is found, and write a
1436 message to standard error.
1437
bea9b193
RM
14382012-07-30 Roland McGrath <roland@hack.frob.com>
1439
1440 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1441 rather than to 1.
1442 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1443 (MAXPATHLEN): Removed.
1444 (NOGROUP, NODEV): New macros.
1445 (setbit, clrbit, isset, isclr): New macros.
1446 (howmany, roundup, powerof2): New macros.
1447 (DEV_BSIZE): New macro.
1448
1449 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1450 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1451
1452 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1453 definition on [!__NO_LONG_DOUBLE_MATH].
1454
1455 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1456 PTR_MANGLE and PTR_DEMANGLE.
1457
1458 * socket/accept4.c (accept4): Rename to __libc_accept4.
1459 Define accept4 as a weak alias.
1460
1461 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1462 on [_DIRENT_HAVE_D_TYPE].
1463 * io/ftw.c (ftw_dir): Likewise.
1464
1465 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1466
1467 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1468
1469 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1470 Use the BSD numbers rather than the arbitrary ones we had.
1471 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1472 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1473 (SIGXCPU, SIGXFSZ): New macros.
1474 (_NSIG): Now 32.
1475
1476 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1477 initializer on [_LIBC_REENTRANT].
1478
1479 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1480 definitions inside [_POSIX_MAPPED_FILES].
1481
1482 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1483
1484 * dirent/opendir.c: Include <fcntl.h>.
1485
1486 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1487 (__libc_getspecific): Likewise.
1488 (__libc_key_create): Likewise.
1489
1490 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1491 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1492 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1493 (tmpfile64): Define as alias.
1494 * sysdeps/wordsize-64/tmpfile.c: File removed.
1495 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1496 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1497 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1498
1499 * stdio-common/vfscanf.c: Include <stdbool.h>.
1500 * nss/makedb.c: Likewise.
1501 * stdio-common/_i18n_number.h: Likewise.
1502 * argp/argp-help.c: Likewise.
1503 * posix/wordexp.c: Likewise.
1504 * sysdeps/posix/spawni.c: Likewise.
1505 * nss/nss_files/files-initgroups.c: Likewise.
1506 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1507 * nss/nss_files/files-initgroups.c: Likewise.
1508 * nss/nss_db/db-netgrp.c: Likewise.
1509 * nss/nss_db/db-initgroups.c: Likewise.
1510 * io/fchmodat.c: Include <sys/stat.h>.
1511
1512 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1513 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1514
1515 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1516 [HAVE_MMAP].
1517
1518 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1519 Add multiple inclusion protection.
1520
e5abc686
DM
15212012-07-27 David S. Miller <davem@davemloft.net>
1522
1523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1524
815e6fa3
GB
15252012-07-27 Gary Benson <gbenson@redhat.com>
1526
1527 [BZ #14298]
1528 * elf/rtld.c: Include <stap-probe.h>.
1529 (dl_main): Added static probes "init_start" and "init_complete".
1530 * elf/dl-load.c: Include <stap-probe.h>.
1531 (lose): Take new parameter "nsid".
1532 Added static probe "map_failed".
1533 (_dl_map_object_from_fd): Pass namespace id to lose.
1534 Added static probe "map_start".
1535 (open_verify): Pass namespace id to lose.
1536 * elf/dl-open.c: Include <stap-probe.h>.
1537 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1538 and "reloc_complete".
1539 * elf/dl-close.c: Include <stap-probe.h>.
1540 (_dl_close_worker): Added static probes "unmap_start" and
1541 "unmap_complete".
1542 * elf/rtld-debugger-interface.txt: New file documenting the above.
1543
9f98c16c
RM
15442012-07-26 Roland McGrath <roland@hack.frob.com>
1545
1546 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1547 rather than a string variable.
1548 * sunrpc/rpc_main.c (h_output): Likewise.
1549 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1550
f3c22df3
PT
15512012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1552
1553 * inet/check_native.c: New file.
1554
3129cfc6
JM
15552012-07-26 Joseph Myers <joseph@codesourcery.com>
1556
da865e95
JM
1557 [BZ #13629]
1558 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1559 if larger part has absolute value 1.0.
1560 * math/s_clog10.c (__clog10): Likewise.
1561 * math/s_clog10f.c (__clog10f): Likewise.
1562 * math/s_clog10l.c (__clog10l): Likewise.
1563 * math/s_clogf.c (__clogf): Likewise.
1564 * math/s_clogl.c (__clogl): Likewise.
1565 * math/libm-test.inc (clog_test): Add more tests.
1566 (clog10_test): Likewise.
1567 * sysdeps/i386/fpu/libm-test-ulps: Update.
1568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1569
3129cfc6
JM
1570 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1571 (pltexit): Likewise.
1572 (La_regs): Likewise.
1573 (La_retval): Likewise.
1574 (int_retval): Likewise.
1575 Update #error for removed macros to refer only to definitions in
1576 tst-audit.h.
1577 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1578 macro.
1579 (pltexit): Likewise.
1580 (La_regs): Likewise.
1581 (La_retval): Likewise.
1582 (int_retval): Likewise.
1583 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1584 macro.
1585 (pltexit): Likewise.
1586 (La_regs): Likewise.
1587 (La_retval): Likewise.
1588 (int_retval): Likewise.
1589 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1590 macro.
1591 (pltexit): Likewise.
1592 (La_regs): Likewise.
1593 (La_retval): Likewise.
1594 (int_retval): Likewise.
1595 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1596 macro.
1597 (pltexit): Likewise.
1598 (La_regs): Likewise.
1599 (La_retval): Likewise.
1600 (int_retval): Likewise.
1601 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1602 macro.
1603 (pltexit): Likewise.
1604 (La_regs): Likewise.
1605 (La_retval): Likewise.
1606 (int_retval): Likewise.
1607 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1608 macro.
1609 (pltexit): Likewise.
1610 (La_regs): Likewise.
1611 (La_retval): Likewise.
1612 (int_retval): Likewise.
1613 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1614 macro definitions in tst-audit.h.
1615 * sysdeps/i386/tst-audit.h: New file.
1616 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1617 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1618 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1619 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1620 * sysdeps/sh/tst-audit.h: Likewise.
1621 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1622 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1623 * sysdeps/x86_64/tst-audit.h: Likewise.
1624
bfc07087
AJ
16252012-07-26 Andreas Jaeger <aj@suse.de>
1626
b1b2aaf8
AJ
1627 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1628 ptrace.
1629
1630 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1631 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1632 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1633 PTRACE_O_MASK.
1634 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1635 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1636 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1637
bfc07087
AJ
1638 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1639 value.
1640
1641 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1642 _sigsys.
1643 (si_call_addr, si_syscall, si_arch): Define new macro.
1644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1645 _sigsys.
1646 (si_call_addr, si_syscall, si_arch): Define new marcro.
1647 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1648 _sigsys.
1649 (si_call_addr, si_syscall, si_arch): Define new macro.
1650 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1651 _sigsys.
1652 (si_call_addr, si_syscall, si_arch): Define new macro.
1653
89b4b02f
JM
16542012-07-25 Joseph Myers <joseph@codesourcery.com>
1655
1656 [BZ #13717]
1657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1658 Change to 2.4.21 where previously 2.4.1.
1659 * sysdeps/unix/sysv/linux/configure: Regenerated.
1660 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1661 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1662 Linux kernel version.
1663 (__ASSUME_STD_AUXV): Remove.
1664 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1665 kernel version.
1666 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1667 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1668 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1669 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1670 (__ASSUME_NETLINK_SUPPORT): Likewise.
1671 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1672 (__no_netlink_support): Remove conditional definition.
1673 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1674 Remove.
1675 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1676 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1677 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1678 (if_nameindex_ioctl): Remove.
1679 (if_nameindex_netlink): Do not handle __no_netlink_support.
1680 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1681 code.
1682 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1683 Remove conditional code.
1684 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1685 code.
1686 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1687 unconditional.
1688 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1689 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1690 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1691 Remove.
1692 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1693 [!__ASSUME_STD_AUXV]: Remove conditional code.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1695 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1696 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1698 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1699 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1700 code.
1701 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1703 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1704 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1705 conditional code.
1706 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1708 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1709 code.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1711 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1712 conditional code.
1713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1714 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1715 code unconditional.
1716 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1717 conditional code.
1718 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1719 unconditional.
1720 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1721 conditional code.
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1723 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1724 unconditional.
1725 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1726 conditional code.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1728 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1729 code unconditional.
1730 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1731 conditional code.
1732 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1733 unconditional.
1734 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1735 conditional code.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1737 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1738 code unconditional.
1739 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1740 conditional code.
1741 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1742 unconditional.
1743 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1744 conditional code.
1745
842a39cd
AS
17462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1747
1748 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1749 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1750 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1751 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1752 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1753 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1754 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1755 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1756 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1757 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1758 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1759 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1760 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1761 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1763 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1764 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1765 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1766 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1768 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1769 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1770 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1771
84b3fd84
FW
17722012-07-25 Florian Weimer <fweimer@redhat.com>
1773
1774 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1775 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1776 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1777 Introduce __libc_secure_getenv.
0c7936d5
FW
1778 * stdlib/Versions (2.17): Add secure_getenv
1779 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1780 * stdlib/secure-getenv.c: Rename __secure_getenv to
1781 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1782 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1783 * stdlib/tst-secure-getenv.c: New.
1784 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1785 * manual/startup.texi (Environment Access): Document
1786 secure_getenv.
84b3fd84
FW
1787 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1788 __libc_secure_getenv.
1789 * inet/ruserpass.c (ruserpass): Likewise.
1790 * malloc/mtrace.c (mtrace): Likewise.
1791 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1792 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1793 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1794 * sysdeps/posix/tempname.c: Likewise. Evaluate
1795 HAVE_SECURE_GETENV.
1796 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1797 __secure_getenv to __libc_secure_getenv.
84b3fd84 1798 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1800 Likewise.
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1802 Likewise.
1803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1805 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1810
56e49b71
JM
18112012-07-25 Joseph Myers <joseph@codesourcery.com>
1812
1813 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1814 (struct La_i86_retval): Likewise.
1815 (struct La_x86_64_regs): Likewise.
1816 (struct La_x86_64_retval): Likewise.
1817 (struct La_x32_regs): Likewise.
1818 (struct La_x32_retval): Likewise.
1819 (struct La_ppc32_regs): Likewise.
1820 (struct La_ppc32_retval): Likewise.
1821 (struct La_ppc64_regs): Likewise.
1822 (struct La_ppc64_retval): Likewise.
1823 (struct La_sh_regs): Likewise.
1824 (struct La_sh_retval): Likewise.
1825 (struct La_s390_32_regs): Likewise.
1826 (struct La_s390_32_retval): Likewise.
1827 (struct La_s390_64_regs): Likewise.
1828 (struct La_s390_64_retval): Likewise.
1829 (struct La_sparc32_regs): Likewise.
1830 (struct La_sparc32_retval): Likewise.
1831 (struct La_sparc64_regs): Likewise.
1832 (struct La_sparc64_retval): Likewise.
1833 (struct audit_ifaces): Remove architecture-specific pltenter and
1834 pltexit members.
1835 * sysdeps/i386/ldsodefs.h: New file.
1836 * sysdeps/powerpc/ldsodefs.h: Likewise.
1837 * sysdeps/s390/ldsodefs.h: Likewise.
1838 * sysdeps/sh/ldsodefs.h: Likewise.
1839 * sysdeps/sparc/ldsodefs.h: Likewise.
1840 * sysdeps/x86_64/ldsodefs.h: Likewise.
1841
354691b7
MP
18422012-07-25 Marek Polacek <polacek@redhat.com>
1843
1844 [BZ #6808]
1845 * math/libm-test.inc (yn_test): Add another test.
1846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1847 to ERANGE when the result is +-Inf.
1848 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1849 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1850 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1851 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1852
bf9e2071
JM
18532012-07-24 Joseph Myers <joseph@codesourcery.com>
1854
1855 * conform/data/time.h-data (NULL): Use macro-constant. Require
1856 equal to 0.
1857 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1858 clock_t.
1859 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1860
57633811
TS
18612012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1862
1863 * configure.in <sysdeps resolving>: Correct printing
1864 Implies_before.
1865 * configure: Regenerate.
1866
c23c33b0
TS
18672012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1868
1869 * math/w_ilogb.c: Include <limits.h>.
1870 * math/w_ilogbl.c: Likewise.
1871
b5982523
JM
18722012-07-20 Joseph Myers <joseph@codesourcery.com>
1873
1874 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1875 va_copy. Document allowing for unavailable va_copy only as
1876 pre-C99 compatibility.
1877 * manual/string.texi (Copying and Concatenation): Use va_copy
1878 instead of __va_copy in concat example.
1879
ac4ea442
PT
18802012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1881
1882 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1883 (__sendto): Use create_address_port. Initialize APORT and deallocate
1884 it if not null.
1885
f98eafbd
PT
1886 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1887 with O_NOLINK passed to __file_name_lookup.
1888
898c7aab
PT
1889 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1890 with O_NOLINK passed to __file_name_lookup.
1891
0ced335a
PT
1892 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1893 negative N or less than NGIDS.
1894
b3404dbd
PT
1895 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1896 type to string_t. Set ERANGE as errno and return it if NAME is not big
1897 enough. Use memcpy instead of strncpy.
1898
0f48659e
JM
18992012-07-20 Joseph Myers <joseph@codesourcery.com>
1900
1901 * elf/Makefile (check-data): Remove.
1902 (localplt.data): New vpath directive.
1903 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1904 instead of $(check-data).
1905 * scripts/data/localplt-generic.data: Move to ...
1906 * sysdeps/generic/localplt.data: ... here.
1907 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1908 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1909 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1911 ... here.
1912 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1914 ... here.
1915 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1917 ... here.
1918 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1920 ... here.
1921 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1923 ... here.
1924 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1926 ... here.
1927
d37cbdaa
AZ
19282012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929
1930 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1931 PPC32 and PPC64 files.
1932 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1933 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1934
46f85fc2
AK
19352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1936
1937 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1938 __makecontext_ret to ...
1939 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1940 ... here and call exit if uc_link is NULL. New file.
1941 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1942 __makecontext_ret.S.
1943 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1944 __makecontext_ret to ...
1945 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1946 ... here and call exit if uc_link is NULL. New file.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1948 __makecontext_ret.S.
1949
08f43f9b
AK
19502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1951
1952 * elf/elf.h (R_390_IRELATIVE): New definition.
1953 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1954 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1955 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1956 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1957 (elf_machine_lazy_rel): Likewise.
1958 * sysdeps/s390/dl-irel.h: New file.
1959 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1960 * sysdeps/s390/s390-64/memset.S: New asm code.
1961 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1962 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1963 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1964 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1965 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1966 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1967 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1968 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1969 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1970 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1971 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1972 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1973 * sysdeps/s390/s390-32/memset.S: New asm code.
1974 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1975
3b05db33
MP
19762012-07-17 Marek Polacek <polacek@redhat.com>
1977
1978 [BZ #14349]
1979 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1980 * sysdeps/s390/s390-64/configure.in: Likewise.
1981 * sysdeps/sparc/configure.in: Likewise.
1982 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1983 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1984 * sysdeps/i386/configure.in: Likewise.
1985 * sysdeps/x86_64/configure.in: Likewise.
1986 * sysdeps/sh/configure.in: Likewise.
1987 * sysdeps/s390/s390-32/configure: Regenerated.
1988 * sysdeps/s390/s390-64/configure: Likewise.
1989 * sysdeps/x86_64/configure: Likewise.
1990 * sysdeps/sh/configure: Likewise.
1991 * sysdeps/powerpc/powerpc64/configure: Likewise.
1992 * sysdeps/powerpc/powerpc32/configure: Likewise.
1993 * sysdeps/sparc/configure: Likwise.
1994 * sysdeps/i386/configure: Likewise.
1995
a66877c6
MP
1996 * elf/dl-open.c: Comment fixes.
1997
cfc82fd8
JM
19982012-07-17 Joseph Myers <joseph@codesourcery.com>
1999
bd29910a
JM
2000 * Makefile [CXX] (check-data): Remove.
2001 [CXX] (c++-types.data): New vpath directive.
2002 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2003 vpath. Do not allow for C++ type data being missing.
2004 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2005 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2006 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2007 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2008 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2009 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2010 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2012 ... here.
2013 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2015 ... here.
2016 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2018 ... here.
2019 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2021 ... here.
2022 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2024 ... here.
2025 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2027 ... here.
2028 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2030 ... here.
2031 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2033
cfc82fd8
JM
2034 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2035 definitions to architecture-specific files.
2036 (TLS_IE): Likewise.
2037 (TLS_LD): Likewise.
2038 (TLS_GD): Likewise.
2039 * sysdeps/i386/tls-macros.h: New file.
2040 * sysdeps/powerpc/tls-macros.h: Likewise.
2041 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2042 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2043 * sysdeps/sh/tls-macros.h: Likewise.
2044 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2045 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2046 * sysdeps/x86_64/tls-macros.h: Likewise.
2047
f7db3170
TS
20482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2049
07cbfc23
TS
2050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2051 zero value for regular exit case.
2052
f7db3170
TS
2053 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2054 (__start_context): Preserve zero value for regular exit case.
2055
dc97c227
TS
20562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2057 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2058
2059 * manual/setjmp.texi (setcontext): Clarify normal process
2060 termination when uc_link is the null pointer.
2061 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2062 exit call.
2063
d0cd7d02
AS
20642012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2065
2066 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2067 preprocessor. Test for each exception mask separately.
2068
dd318934
AJ
20692012-07-16 Andreas Jaeger <aj@suse.de>
2070
2071 * po/ru.po: Update from translation team.
2072
8048311a
JM
20732012-07-15 Joseph Myers <joseph@codesourcery.com>
2074
2075 * conform/data/string.h-data (NULL): Use macro-constant. Require
2076 equal to 0.
2077 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2078 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2079 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2080 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2081 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2082
b637d46e
AJ
20832012-07-13 Andreas Jaeger <aj@suse.de>
2084
2085 * po/fr.po: Update from translation team.
2086
541428fe
MP
20872012-07-12 Marek Polacek <polacek@redhat.com>
2088
2089 [BZ #14173]
2090 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2091 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2092 loop condition.
2093
ec332e94
JM
20942012-07-12 Joseph Myers <joseph@codesourcery.com>
2095
2096 [BZ #13717]
2097 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2098 Change to 2.4.1 where previously 2.4.0.
2099 * sysdeps/unix/sysv/linux/configure: Regenerated.
2100 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2101 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2102 version.
2103 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2104 (__ASSUME_AT_CLKTCK): Remove.
2105 (__ASSUME_AT_PAGESIZE): Likewise.
2106 (__ASSUME_AT_XID): Likewise.
2107 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2108 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2109 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2110 unconditionally.
2111 (HAVE_AUX_PAGESIZE): Likewise.
2112 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2113 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2114 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2115
7b6e99be
JB
21162012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2117
2118 [BZ #14307]
2119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2120 the temporary buffer used to invoke __gethostbyname2_r,
2121 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2122 host_data / struct gaih_addrtuple.
2123 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2124 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2125 header file nss/nsswitch.h.
2126 * nss/nsswitch.h (global scope): Add definition of implementation
2127 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2128 resolv/nss_dns/dns-host.c).
2129
608404eb
AJ
21302012-07-11 Andreas Jaeger <aj@suse.de>
2131
2132 * po/fr.po: Update from translation team.
2133
71220aca
AJ
2134 * po/sv.po: Update from translation team
2135 * po/fr.po: Another update from translation team.
2136
28cfe843
AZ
21372012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138
2139 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2140 for subnormals or multiply small sinh result by itself.
2141 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2143
6b90f981
DM
21442012-07-11 David S. Miller <davem@davemloft.net>
2145
2146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2147
c6825772
AS
21482012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2149
2150 [BZ #14347]
2151 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2152 (INTERNAL_MARK): Shift it here.
2153
7b8e0d49
MP
21542012-07-10 Marek Polacek <polacek@redhat.com>
2155
2156 [BZ #14151]
2157 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2158 libc_cv_asm_global_directive with .globl.
2159 * configure: Regenerated.
2160 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2161 with .globl.
2162 * sysdeps/i386/configure: Regenerated.
2163 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2164 with .globl.
2165 * sysdeps/x86_64/configure: Regenerated.
2166 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2167 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2168 * elf/tst-unique2mod2.c: Likewise.
2169 * elf/tst-unique2mod1.c: Likewise.
2170 * elf/tst-unique1mod2.c: Likewise.
2171 * elf/tst-unique1mod1.c: Likewise.
2172 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2173 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2174 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2175 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2176 * sysdeps/mach/sysdep.h: Likewise.
2177 * sysdeps/i386/sysdep.h: Likewise.
2178 * sysdeps/i386/i386-mcount.S: Likewise.
2179 * sysdeps/x86_64/_mcount.S: Likewise.
2180 * sysdeps/x86_64/sysdep.h: Likewise.
2181 * sysdeps/sh/_mcount.S: Likewise.
2182 * sysdeps/sh/sysdep.h: Likewise.
2183 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2184 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2185 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2186 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2187 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2188 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2189 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2190 * locale/localeinfo.h: Likewise.
2191 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2192 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2193
6c55cda3
RM
21942012-07-09 Roland McGrath <roland@hack.frob.com>
2195
2196 [BZ #14336]
2197 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2198 system".
2199 * manual/message.texi (The Uniforum approach): Likewise.
2200 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2201 (glibc iconv Implementation): Likewise.
2202
638a572e
JM
22032012-07-09 Joseph Myers <joseph@codesourcery.com>
2204
2205 [BZ #14337]
2206 * math/s_clog.c (__clog): Avoid scaling a value down where that
2207 could result in underflow.
2208 * math/s_clog10.c (__clog10): Likewise.
2209 * math/s_clog10f.c (__clog10f): Likewise.
2210 * math/s_clog10l.c (__clog10l): Likewise.
2211 * math/s_clogf.c (__clogf): Likewise.
2212 * math/s_clogl.c (__clogl): Likewise.
2213 * math/libm-test.inc (clog_test): Add more tests.
2214 (clog10_test): Likewise.
2215 * sysdeps/i386/fpu/libm-test-ulps: Update.
2216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2217
261f4859
AS
22182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2219
0abaf3e4
AS
2220 [BZ #14283]
2221 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2222 by 7 not 8 to examine high bit of fractional part.
2223
261f4859
AS
2224 [BZ #14042]
2225 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2226 for call to __mcount_internal.
2227 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2228 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2229 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2230
f17ac40d
JM
22312012-07-06 Joseph Myers <joseph@codesourcery.com>
2232
9ad63c23
JM
2233 [BZ #14154]
2234 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2235 approximation for values within 0x1p-13f of an odd multiple of
2236 pi/4.
2237 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2238 exception. Add more tests.
2239 * sysdeps/i386/fpu/libm-test-ulps: Update.
2240
f17ac40d
JM
2241 [BZ #6778]
2242 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2243 inputs and return -1 for them. Do not check for +Inf in case not
2244 reachable for +Inf.
2245 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2246 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2247 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2248 and return -1 for them. Do not check for +Inf in case not
2249 reachable for +Inf.
2250 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2251 define.
2252 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2253 and return -1 for them. Do not check for +Inf in case not
2254 reachable for +Inf.
2255 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2256 spurious underflow.
2257 * sysdeps/i386/fpu/libm-test-ulps: Update.
2258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2259
fb21f89b
MF
22602012-07-06 Mike Frysinger <vapier@gentoo.org>
2261
2262 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2263
cdfe2c5e
JM
22642012-07-05 Joseph Myers <joseph@codesourcery.com>
2265
2266 [BZ #14157]
2267 [BZ #14331]
2268 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2269 could result in spurious underflow. Scale down values above
2270 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2271 * math/s_csqrtf.c (__csqrtf): Likewise.
2272 * math/s_csqrtl.c (__csqrtl): Likewise.
2273 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2274 spurious underflow.
2275 * sysdeps/i386/fpu/libm-test-ulps: Update.
2276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2277
70d35b67
AS
22782012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2279
704bc459
AS
2280 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2281 xopen-msg.sed.
2282 * catgets/xopen-msg.awk: New file.
2283 * catgets/xopen-msg.sed: Removed.
2284
70d35b67
AS
2285 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2286 po2text.sed.
2287 * intl/po2test.awk: New file.
2288 * intl/po2test.sed: Removed.
2289
ca61cf32
JM
22902012-07-04 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #14328]
2293 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2294 or multiply small sinh result by itself.
2295 * math/s_ctanf.c (__ctanf): Likewise.
2296 * math/s_ctanh.c (__ctanh): Likewise.
2297 * math/s_ctanhf.c (__ctanhf): Likewise.
2298 * math/s_ctanhl.c (__ctanhl): Likewise.
2299 * math/s_ctanl.c (__ctanl): Likewise.
2300 * math/libm-test.inc (ctan_test_tonearest): New function.
2301 (ctan_test_towardzero): Likewise.
2302 (ctan_test_downward): Likewise.
2303 (ctan_test_upward): Likewise.
2304 (ctanh_test_tonearest): Likewise.
2305 (ctanh_test_towardzero): Likewise.
2306 (ctanh_test_downward): Likewise.
2307 (ctanh_test_upward): Likewise.
2308 (main): Call these new functions.
2309 * sysdeps/i386/fpu/libm-test-ulps: Update.
2310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2311
ca48a46a
MF
23122012-07-03 Mike Frysinger <vapier@gentoo.org>
2313
2314 * .gitignore: Delete /ports entry.
2315
9d63d37d
AJ
23162012-07-03 Andreas Jaeger <aj@suse.de>
2317
2318 * po/bg.po: Update from translation team.
2319 * po/cs.po: Likewise.
2320 * po/de.po: Likewise.
2321 * po/hr.po: Likewise.
2322 * po/nl.pl: Likewise.
2323 * po/pl.po: Likewise.
2324 * po/vi.po: Likewise.
2325
370ca3d2
JM
23262012-07-03 Joseph Myers <joseph@codesourcery.com>
2327
95f5a9a8
JM
2328 * Makeconfig [!+link] (+link-before-libc): New variable.
2329 [!+link] (+link-after-libc): Likewise.
2330 [!+link] (+link-tests): Likewise.
2331 [!+link] (+link): Define in terms of $(+link-before-libc) and
2332 $(+link-after-libc).
2333 [!+link-static] (+link-static-before-libc): New variable.
2334 [!+link-static] (+link-static-after-libc): Likewise.
2335 [!+link-static] (+link-static-tests): Likewise.
2336 [!+link-static] (+link-static): Define in terms of
2337 $(+link-static-before-libc) and $(+link-static-after-libc).
2338 [build-shared] (link-libc-before-gnulib): New variable.
2339 [build-shared] (link-libc-tests): Likewise.
2340 [build-shared] (link-libc): Define in terms of
2341 $(link-libc-before-gnulib).
2342 [!build-shared] (link-libc-tests): New variable.
2343 (link-libc-static-tests): New variable.
2344 [!gnulib] (gnulib-arch): New variable.
2345 [!gnulib] (gnulib-tests): Likewise.
2346 [!gnulib] (static-gnulib-arch): Likewise.
2347 [!gnulib] (static-gnulib-tests): Likewise.
2348 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2349 Define with "=" instead of ":=".
2350 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2351 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2352 * Rules (binaries-all-notests): New variable.
2353 (binaries-all-tests): Likewise.
2354 (binaries-static-notests): Likewise.
2355 (binaries-static-tests): Likewise.
2356 (binaries-all): Define using $(binaries-all-notests) and
2357 $(binaries-all-tests).
2358 (binaries-static): Define using $(binaries-static-notests) and
2359 $(binaries-static-tests).
2360 (binaries-shared-tests): New variable.
2361 (binaries-shared-notests): Likewise.
2362 (binaries-shared): Remove variable.
2363 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2364 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2365 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2366 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2367 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2368 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2369 * elf/Makefile (sln-modules): New variable.
2370 (extra-objs): Add $(sln-modules:=.o).
2371 (ldconfig-modules): Add static-stubs.
2372 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2373 * elf/static-stubs.c: New file.
2374
7a845b2c
JM
2375 [BZ #14283]
2376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2377 by 7 not 8 to examine high bit of fractional part. Use volatile
2378 variables when splitting into final array of floats if
2379 __FLT_EVAL_METHOD__ != 0.
2380 * math/libm-test.inc (cos_test): Add another test.
2381 (sin_test): Likewise.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2383
e2283f38
JM
2384 [BZ #14273]
2385 * math/libm-test.inc (cosh_test): Add more tests.
2386
370ca3d2
JM
2387 * version.h (RELEASE): Set to "development".
2388 (VERSION): Set to "2.16.90".
2389
ee9247c3
CD
23902012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2391
2392 * NEWS: Update copyright. Remove last-updated date.
2393 Mention math library bug fixes and timezone data changes.
2394 * README: Mention GNU/Hurd, x32, and HPPA support status.
2395
4648c381
TS
23962012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2397
2398 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2399
aac78a43
AJ
24002012-06-27 Andreas Jaeger <aj@suse.de>
2401
2402 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2403
ed3dbfad
AJ
24042012-06-25 Andreas Jaeger <aj@suse.de>
2405
2406 * sysdeps/s390/fpu/libm-test-ulps: Update.
2407
4d0ee855
AS
24082012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2409 Thomas Schwinge <thomas@codesourcery.com>
2410
2411 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2412 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2413 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2414 fanotify_mark.
2415
af1bce34
TS
24162012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2417
a9fa33ba
TS
2418 * sysdeps/mach/start.c: Remove file.
2419 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2420 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2421 * sysdeps/sh/init-first.c: Likewise.
2422
58f902b8
TS
2423 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2424 registers for frame unwinding purposes, add CFI directives.
2425 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2426 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2427 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2428 Likewise.
2429
1518f58b
TS
2430 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2431 __fortify_fail returning.
2432 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2433
db9b5059
TS
2434 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2435 sysdeps/sh/____longjmp_chk.S.
2436 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2437 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2438 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2439 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2440
967705fe
TS
2441 * sysdeps/sh/abort-instr.h: New file.
2442 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2443 process in case exit returns.
2444
a9def8c4
TS
2445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2446 initialize the GOT register before use.
2447
2a649725
TS
2448 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2449 calculation of ARGC > 4.
2450
af1bce34
TS
2451 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2452 meaningful names to some local labels.
2453
d230f50a
KK
24542012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2455 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2456
2457 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2458 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2459 (__arch_compare_and_exchange_val_16_acq): Likewise.
2460 (__arch_compare_and_exchange_val_32_acq): Likewise.
2461 (atomic_exchange_and_add): Fix gUSA sequence.
2462 (atomic_add): Likewise.
2463 (atomic_add_negative): Likewise.
2464 (atomic_add_zero): Likewise.
2465 (atomic_bit_test_set): Likewise.
2466
0479b305
AS
24672012-06-22 Andreas Schwab <schwab@redhat.com>
2468
2469 [BZ #13579]
2470 * include/link.h (struct link_map): Add l_free_initfini.
2471 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2472 l_initfini.
2473 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2474 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2475 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2476 set.
2477
0e3933b9
CD
24782012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2479
2480 * configure.in: Use AC_LANG_SOURCE.
2481 * configure: Regenerate.
2482
4248b1b1
RM
24832012-06-22 Roland McGrath <roland@hack.frob.com>
2484
2485 * configure.in (libc_cv_localstatedir): New substituted variable.
2486 * configure: Regenerated.
2487 * config.make.in (localstatedir): New variable, substituted from
2488 libc_cv_localstatedir.
2489 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2490 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2491 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2492 * sysdeps/gnu/configure: Regenerated.
2493
006dd861
JL
24942012-06-21 Jeff Law <law@redhat.com>
2495
2496 [BZ #14277]
2497 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2498 free. Simplify list management for _LIBC case.
2499
79662d42
JM
25002012-06-21 Joseph Myers <joseph@codesourcery.com>
2501
b7abb4bf
JM
2502 [BZ #14273]
2503 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2504 Clear sign bit of 64-bit integer value before comparing against
2505 overflow value.
2506
79662d42
JM
2507 * sysdeps/mach/configure: Regenerated.
2508
1f150908
L
25092012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2510
2511 [BZ #14278]
2512 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2513
28363bbf
JL
25142012-06-21 Jeff Law <law@redhat.com>
2515
2516 [BZ #13882]
2517 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2518 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2519 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2520 * elf/dl-open.c (dl_open_worker): Likewise.
2521
09615db4
CD
25222012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2523
2524 * scripts/list-sources.sh: Scan PORTS for translations.
2525 * po/libc.pot: Regenerated.
2526
2174c6dd
AJ
25272012-06-21 Andreas Jaeger <aj@suse.de>
2528
2529 [BZ #12194]
2530 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2531 warning.
2532 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2533 * bits/byteswap-16.h (__bswap_16): Likewise.
2534 * bits/byteswap.h (__bswap_constant_16): Likewise.
2535
3ee947b1
L
25362012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2537
2538 [BZ #14117]
a2f34833
L
2539 * sysdeps/i386/fpu_control.h: Removed.
2540 * sysdeps/x86_64/fpu_control.h: Moved to ...
2541 * sysdeps/x86/fpu_control.h: Here.
2542
3ee947b1
L
2543 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2544 (_FPU_SETCW): Likewise.
2545
ed1825f8
L
25462012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2547
25f1282a
L
2548 [BZ #14117]
2549 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2550 * sysdeps/x86/fpu/bits/mathinline.h: This.
2551 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2552
ed1825f8
L
2553 [BZ #14050]
2554 [BZ #14117]
2555 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2556 functions if __x86_64__ is defined.
2557
36d54b74
CLT
25582012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2559
2560 * string/endian.h: Add !__ASSEMBLER__ condition for including
2561 conversion interfaces.
2562
10285c21
JM
25632012-06-15 Joseph Myers <joseph@codesourcery.com>
2564
2565 [BZ #14241]
2566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2567 of ABS(x) in calculating zero to negative powers other than odd
2568 integers.
2569 * math/libm-test.inc (pow_test): Add more tests.
2570
06c5abbd
AJ
25712012-06-15 Andreas Jaeger <aj@suse.de>
2572
2573 * manual/contrib.texi (Contributors): Update entry of Liubov
2574 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2575 Machado Filho.
2576
a3aeac40
CH
25772012-06-15 Cyril Hrubis <metan@ucw.cz>
2578
2579 * string/string.h: Add __wur to GNU version of strerror_r.
2580
49bdf4c1
L
25812012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 [BZ #14229]
2584 * string/Makefile (tests): Add tst-strtok_r.
2585 * string/tst-strtok_r.c: New file.
2586 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2587 RAX_LP/RDX_LP on SAVE_PTR.
2588
834f9b8d
RM
25892012-06-14 Roland McGrath <roland@hack.frob.com>
2590
2591 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2592
75fa1921
JM
25932012-06-14 Joseph Myers <joseph@codesourcery.com>
2594
2595 * libm_test.inc (csqrt_test): Allow more spurious underflow
2596 exceptions.
2597 (j0_test): Likewise.
2598 (j1_test): Likewise.
2599 (y0_test): Likewise.
2600 (y1_test): Likewise.
2601
771766df
CD
26022012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2603
2604 * po/Makefile (libc.pot): Use UTF-8 charset.
2605
ceb9e56b
PP
26062012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2607
2608 [BZ #14210]
2609 Suppress sign-conversion warning from FD_SET.
2610 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2611 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2612 not unsigned long int.
2613 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2614
ddb28975
L
26152012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2616
2617 [BZ #14050]
2618 [BZ #14117]
2619 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2620 __extern_always_inline instead of __extern_inline.
2621 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2622 (__signbit): Likewise.
2623 (__signbitl): Support C++ namespace.
2624 (lrintf): New inline function.
2625 (lrint): Likewise.
2626 (llrintf): Likewise.
2627 (llrint): Likewise.
2628 (fmaxf): Likewise.
2629 (fmax): Likewise.
2630 (fminf): Likewise.
2631 (fmin): Likewise.
2632 (rint): Likewise.
2633 (rintf): Likewise.
2634 (ceil): Likewise.
2635 (ceilf): Likewise.
2636 (floor): Likewise.
2637 (floorf): Likewise.
2638 (nearbyint): Likewise.
2639 (nearbyintf): Likewise.
2640
d7b4fb26
TS
26412012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2642
2643 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2644 non-default versions.
2645
eb55f5c2
RM
26462012-06-11 Roland McGrath <roland@hack.frob.com>
2647
2648 [BZ #14218]
2649 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2650
366af02c
TS
26512012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2652
99ff6e5c
TS
2653 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2654 (FE_UPWARD, FE_DOWNWARD): Don't define.
2655 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2656 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2657
366af02c
TS
2658 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2659 reading it.
2660 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2661 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2662
793ea851
KK
26632012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2664
2665 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2667 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2668 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2669
a728a38f
L
26702012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2671
2672 [BZ #14117]
c08010c7
L
2673 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2674 * sysdeps/i386/fpu/Implies: New file.
2675 * sysdeps/x86_64/fpu/Implies: Likewise.
2676 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2677 * sysdeps/x86/fpu/bits/fenv.h: This.
2678
a728a38f
L
2679 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2680 __SSE_MATH__.
2681
6e230d11
SP
26822012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2683
2684 [BZ #14134]
2685 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2686 character 0xffff that matches the last element of the
2687 conversion table.
2688
1b671feb
AZ
26892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2690
2691 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2692 fmodl commit.
2693
6043738b
AZ
26942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695
2696 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2697 values higher than 25.6283.
2698
34ae0b32
AZ
26992012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2700
2701 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2702 subnormal exponent extraction and add some __builtin_expect.
2703 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2704 Fix for subnormal mantissa calculation.
2705
1214ec8f
MF
27062012-06-04 Mike Frysinger <vapier@gentoo.org>
2707
2708 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2709 cpu2 is -1 and errno is not ENOSYS.
2710
f3d1f93c
L
27112012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2712
2713 [BZ #14117]
0e4a3cd7
L
2714 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2715 * sysdeps/x86/bits/string.h: This.
2716 * sysdeps/x86_64/bits/string.h: Removed.
2717
6704c645
L
2718 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2719 if not compiling for x86-64, but compiling for >= i486.
2720
48495318
L
2721 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2722 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2723
14adcbfc
L
2724 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2725 New macro from Linux kernel 3.4.0.
2726 (FP_XSTATE_MAGIC2): Likewise.
2727 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2728 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2729 (struct _fpx_sw_bytes): New struct.
2730 (struct _xsave_hdr): Likewise.
2731 (struct _ymmh_state): Likewise.
2732 (struct _xstate): Likewise.
2733
68e408ab
L
2734 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2735 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2736 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2737 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2738 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2739 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2740
f3d1f93c
L
2741 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2742 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2743 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2744 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2745 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2746 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2747
d9dc34cd
TMQMF
27482012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2749
2750 [BZ #13743]
2751 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2752 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2753 (sysdep_headers): Include sys/platform/ppc.h.
2754 * sysdeps/powerpc/test-gettimebase.c: Test for
2755 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2756 * manual/Makefile (appendices): Include platform.texi.
2757 * manual/contrib.texi (Contributors): Update @node pointers.
2758 * manual/maint.texi (Maintenance): Likewise.
2759 (Platform): New node.
2760 * manual/platform.texi: New file. Document the new features.
2761
4af3879c
SP
27622012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2763 Jakub Jelinek <jakub@redhat.com>
2764
2765 [BZ #14188]
2766 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2767 where __builtin_expect is unavailable.
2768
2fd6ff13
DM
27692012-06-03 David S. Miller <davem@davemloft.net>
2770
2771 * stdlib/longlong.h: Updated from GCC.
2772
173f7220
AS
27732012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2774
2775 [BZ #14042]
2776 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2777 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2778 __mcount_internal.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2780 (GLIBC_2.16): Likewise.
2781
f34a1c6f
L
27822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2783
2784 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2785
88a4576f
JM
27862012-06-01 Joseph Myers <joseph@codesourcery.com>
2787
ea32bcdd
JM
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2789 (default-abi): New variable.
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2791 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2792 variable.
2793 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2794 Likewise.
2795 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2796 Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2798 Likewise.
2799
88a4576f
JM
2800 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2801 definition. Document in comment.
2802
402fe938
DM
28032012-06-01 David S. Miller <davem@davemloft.net>
2804
2805 * stdlib/longlong.h: Updated from GCC.
2806
3553723f
L
28072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2808
2809 [BZ #14117]
3bd872c4
L
2810 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2811 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2812 sys/debugreg.h sys/io.h here.
2813 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2814 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2815 sys/io.h.
2816 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2817 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2818 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2819 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2820 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2821 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2822
3553723f
L
2823 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2824 Define only if __x86_64__ is defined.
2825
4842e4fe
JM
28262012-06-01 Joseph Myers <joseph@codesourcery.com>
2827
c5bfe3d5
JM
2828 [BZ #14048]
2829 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2830 Use int64_t for variable i.
2831 * math/libm-test.inc (fmod_test): Add more tests.
2832
4842e4fe
JM
2833 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2834 z computation is not scheduled after fetestexcept.
2835 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2836 Use math_force_eval instead of asm to ensure calculation scheduled
2837 before exception test.
2838 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2839 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2840
efb73488
AJ
28412012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2842
2843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2844 computation is not scheduled after fetestexcept.
2845
29bcce7c
L
28462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 [BZ #14117]
2849 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2850 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2851
73a68f94
AZ
28522012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2853
2854 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2855 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2856
67b6df78
L
28572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2858
edf2933a 2859 [BZ #14117]
ebc64a18
L
2860 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2861 <bits/wordsize.h>.
2862 (__WCHAR_MIN): Support __WORDSIZE == 64.
2863 (__WCHAR_MAX): Likewise.
2864
edf2933a
L
2865 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2866 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2867
57c6cf40
L
2868 [BZ #14183]
2869 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2870 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2871
67b6df78 2872 [BZ #14117]
8eb6281e
L
2873 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2875
aac639f4
L
2876 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2877 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2878
67b6df78
L
2879 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2880 Defined to 1 if __x86_64__ isn't defined.
2881 (_STAT_VER_LINUX_OLD): New.
2882 (st_atime): Remove duplicate.
2883 (st_mtime): Likewise.
2884 (st_ctime): Likewise.
2885
1c2cfe81
DM
28862012-05-31 David S. Miller <davem@davemloft.net>
2887
2888 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2889 entries.
2890
5be8418c
AS
28912012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2892
e7725326
AS
2893 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2894 gen-libm-test.pl.
2895
5be8418c
AS
2896 [BZ #14132]
2897 * elf/dl-reloc.c: Include <_itoa.h>.
2898 (_dl_reloc_bad_type): Remove use of INTUSE.
2899 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2900 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2901 * stdio-common/psiginfo.c (psiginfo): Likewise.
2902 * stdio-common/psignal.c (psignal): Likewise.
2903 * string/strsignal.c (strsignal): Likewise.
2904 * include/signal.h (_sys_siglist): Declare hidden proto.
2905 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2906 INTVARDEF with libc_hidden_data_def.
2907 * stdio-common/itoa-udigits.c: Likewise.
2908 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2909 (_itoa_lower_digits_internal): Remove declaration.
2910 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2911 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2912 (_sys_sigabbrev_internal): Remove aliases.
2913 (_sys_siglist): Define hidden alias.
2914
507352f1
MT
29152012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2916
2917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2918 bits/sysctl.h.
2919
42bbb1c3
L
29202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2921
2922 [BZ #14117]
6bd784b6
L
2923 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2924 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2925
8bca20f0
L
2926 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2927 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2928 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2929 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2930 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2931 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2932
f9e890a9
L
2933 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2934 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2935 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2936
471101a1
L
2937 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2938 with __addr.
2939 (insw): Likewise.
2940 (insl): Likewise.
2941 (outsb): Likewise.
2942 (outsw): Likewise.
2943 (outsl): Likewise.
2944
6451c862
L
2945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2947 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2948
a254b8c9
L
2949 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2950 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2951 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2952 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2953 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2954 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2955
b8dfdd92
L
2956 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2957 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2958
578cd270
L
2959 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2960 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2961
de662f5f
L
2962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2964 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2965
25653439
L
2966 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2967 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2968 to ...
2969 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2970
6bad24a0
L
2971 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2972 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2973 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2974
42bbb1c3
L
2975 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2976 for x86-64.
2977 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2978
2d10d547
JM
29792012-05-31 Joseph Myers <joseph@codesourcery.com>
2980
2981 * math/math.h (M_El): Use two more decimal places.
2982 (M_LOG2El): Likewise.
2983 (M_LOG10El): Likewise.
2984 (M_LN2l): Likewise.
2985 (M_LN10l): Likewise.
2986 (M_PIl): Likewise.
2987 (M_PI_2l): Likewise.
2988 (M_PI_4l): Likewise.
2989 (M_1_PIl): Likewise.
2990 (M_2_PIl): Likewise.
2991 (M_2_SQRTPIl): Likewise.
2992 (M_SQRT2l): Likewise.
2993 (M_SQRT1_2l): Likewise.
2994
f230c29b
DM
29952012-05-31 David S. Miller <davem@davemloft.net>
2996
2997 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2998 values between float registers.
2999 * sysdeps/sparc/sparc64/memset.S: Likewise.
3000 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3001
fed806c3
MF
30022012-05-31 Mike Frysinger <vapier@gentoo.org>
3003
3004 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3005 -D_FORTIFY_SOURCE=1.
3006 (CPPFLAGS-tst-longjmp_chk.c): Define.
3007 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3008 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3009 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3010 CFLAGS-tst-wchar-h.c.
3011
30917259
MP
30122012-05-31 Marek Polacek <polacek@redhat.com>
3013
3014 [BZ #14132]
3015 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3016 __endmntent_internal): Remove declaration.
3017 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3018 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3019 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3020
1c58d5dc
DM
30212012-05-30 David S. Miller <davem@davemloft.net>
3022
3023 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3024 (___Q_simulate_exceptions): Use real FP ops rather than writing
3025 into the %fsr.
3026 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3027 Likewise.
3028
7dc00e0d
L
30292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 [BZ #14117]
0bd53985
L
3032 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3033 * sysdeps/x86/bits/xtitypes.h: This.
3034
3a257e66
L
3035 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3036 * sysdeps/x86/bits/wordsize.h: This.
3037
62f62904
L
3038 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3039 * sysdeps/x86/bits/huge_vall.h: This.
3040
404fe9d9
L
3041 * sysdeps/i386/bits/select.h: Removed.
3042 * sysdeps/x86_64/bits/select.h: Renamed to ...
3043 * sysdeps/x86/bits/select.h: This.
3044
d48d0446
L
3045 * sysdeps/i386/bits/setjmp.h: Removed.
3046 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3047 * sysdeps/x86/bits/setjmp.h: This.
3048
7dc00e0d
L
3049 * sysdeps/i386/bits/mathdef.h: Removed.
3050 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3051 * sysdeps/x86/bits/mathdef.h: This.
3052
03277f8f
AS
30532012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3054
3055 [BZ #14132]
3056 * include/sys/socket.h (__connect_internal)
3057 (__libc_sa_len_internal): Remove declaration.
3058 (__connect, __libc_sa_len): Declare hidden_proto.
3059 (SA_LEN): Remove use of INTUSE.
3060 * socket/connect.c: Add libc_hidden_def.
3061 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3062 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3063 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3064 alias.
3065 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3066 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3067 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3068 of adding _internal alias.
3069
13764867
L
30702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3071
3072 [BZ #14117]
6bd97696
L
3073 * sysdeps/i386/bits/link.h: Removed.
3074 * sysdeps/i386/bits/linkmap.h: Likewise.
3075 * sysdeps/x86_64/bits/link.h: Renamed to ...
3076 * sysdeps/x86/bits/link.h: This.
3077 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3078 * sysdeps/x86/bits/linkmap.h: This.
3079
f726f0bb
L
3080 * sysdeps/i386/bits/endian.h: Removed.
3081 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3082 * sysdeps/x86/bits/endian.h: This.
3083
13764867
L
3084 * sysdeps/i386/bits/byteswap.h: Removed.
3085 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3086 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3087 * sysdeps/x86/bits/byteswap.h: This.
3088 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3089 * sysdeps/x86/bits/byteswap-16.h: This.
3090 * sysdeps/i386/Implies: Add x86.
3091 * sysdeps/x86_64/Implies: Likewise.
3092
ae251b0b
DM
30932012-05-30 David S. Miller <davem@davemloft.net>
3094
3095 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3096 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3097 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3098 (FP_TRAPPING_EXCEPTIONS): Define.
3099 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3100 (FP_TRAPPING_EXCEPTIONS): Define.
3101 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3102 subnormals only when inexact has been signalled or underflow
3103 exceptions are enabled.
3104 (_FP_PACK_CANONICAL): Likewise.
3105
d5c90867
L
31062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 [BZ #14183]
3109 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3110 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3111
63f1549e
RH
31122012-05-30 Richard Henderson <rth@twiddle.net>
3113
8d8f2279
RH
3114 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3115 with #ifndef NOT_IN_libc.
3116
63f1549e
RH
3117 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3118 marked to avoid plt entry.
3119
0ab0291b
L
31202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 [BZ #14112]
3123 * Makeconfig (default-abi): New macro.
3124 (abi-includes): Likewise.
3125 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3126 $(abi-$(default-abi)-lib-soname) for soname if defined.
3127 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3128 abi-variants.
3129 * Makefile (installed-stubs): Likewise.
3130 * include/stubs-biarch.h: Removed.
3131 * scripts/lib-names.awk: Only handle one library at a time.
3132 * scripts/soversions.awk: Remove WORDSIZE support.
3133 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3134 entries.
3135 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3136 Removed.
3137 (syscall-list-default-condition): Likewise.
3138 (syscall-list-default-condition): Likewise.
3139 (syscall-list-includes): Likewise.
3140 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3141 syscall-list-* with abi-*. Handle undefined abi-variants.
3142 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3143 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3144 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3145 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3146 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3147 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3148 Removed.
3149 (syscall-list-32-options): Likewise.
3150 (syscall-list-32-condition): Likewise.
3151 (syscall-list-64-options): Likewise.
3152 (syscall-list-64-condition): Likewise.
3153 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3154 macro.
3155 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3156 Renamed to ...
3157 (abi-*): This.
3158 (abi-64-ld-soname): New macro.
3159 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3160 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3161 Renamed to ...
3162 (abi-*): This.
3163 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3164 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3165
4da0431d
JM
31662012-05-30 Joseph Myers <joseph@codesourcery.com>
3167
3a85279c
JM
3168 * sysdeps/unix/sysv/linux/kernel-features.h
3169 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3170 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3171 include <kernel-features.h>.
3172 [!__NR_ftruncate64]: Remove conditional code.
3173 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3174 [__NR_ftruncate64]: Make code unconditional.
3175 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3176 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3177 include <kernel-features.h>.
3178 [!__NR_ftruncate64]: Remove conditional code.
3179 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3180 [__NR_ftruncate64]: Make code unconditional.
3181 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3183 include <kernel-features.h>.
3184 [!__NR_ftruncate64]: Remove conditional code.
3185 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3186 [__NR_ftruncate64]: Make code unconditional.
3187 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3189 include <kernel-features.h>.
3190 [!__NR_ftruncate64]: Remove conditional code.
3191 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3192 [__NR_ftruncate64]: Make code unconditional.
3193 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3194
4da0431d
JM
3195 * configure.in (libc_cv_fpie): Weaken to a compile test using
3196 LIBC_TRY_CC_OPTION.
3197 * configure: Regenerated.
3198
11ef492c
AK
31992012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3200
3201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3205 Refreshed.
3206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3212 Refreshed.
3213
d66ef399
DM
32142012-05-27 David S. Miller <davem@davemloft.net>
3215
3216 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3217 (___Q_zero): New.
3218 (__Q_simulate_exceptions): Return void. Change to simulate
3219 exceptions by writing into the %fsr.
3220 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3221 (__Qp_handle_exceptions): Likewise.
3222 (numbers): Delete.
3223 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3224 __Qp_handle_exceptions.
3225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3226 __Qp_handle_exceptions.
3227 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3228 as unused and give dummy FP_RND_NEAREST initializer.
3229 (FP_INHIBIT_RESULTS): Define.
3230 (___Q_simulate_exceptions): Update declaration.
3231 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3232 formatting.
3233 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3234 as unused and give dummy FP_RND_NEAREST initializer.
3235 (__Qp_handle_exceptions): Update declaration.
3236 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3237 formatting.
3238
04fb54b5
TS
32392012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3240
3241 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3242 the temporary FPU control word.
3243 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3244 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3245 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3246 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3247 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3248 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3249 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3250 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3251 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3252 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3253 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3254
3f99608f
KK
32552012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3256
3257 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3258 fields.
3259
65a4de4e
CLT
32602012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3261
3262 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3263 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3264 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3265 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3266 Likewise.
3267 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3268 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3269 Likewise.
3270
15749d40
UD
32712012-05-27 Ulrich Drepper <drepper@gmail.com>
3272
3273 * po/h.po: Update from translation team.
3274
25dbcb27
AS
32752012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3276
3d3f8e55
AS
3277 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3278
25dbcb27
AS
3279 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3280 handling of denormals.
3281 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3282 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3283 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3284 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3288 Likewise.
3289
7ad47a80 32902012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3291
3292 [BZ #14152]
3293 * math/libm-test.inc (fma_test): Don't always expect underflow
3294 exception.
3295
9c6ea9fa
SP
32962012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3297
3298 [BZ #12416]
3299 * elf/tst-execstack.c: Include stackinfo.h.
3300 (do_test): Adjust test case to ensure that pthread_getattr_np
3301 behaviour remains the same after marking stack executable.
3302
a8239222
JM
33032012-05-25 Joseph Myers <joseph@codesourcery.com>
3304
3305 * sysdeps/unix/sysv/linux/kernel-features.h
3306 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3307 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3308 kernel-features.h.
3309 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3310 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3311 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3312 kernel-features.h.
3313 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3314 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3315
918b5606
L
33162012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 * configure.in: Define the default includes to being none.
3319 * configure: Regenerated.
3320
3a097cc7
RM
33212012-05-25 Roland McGrath <roland@hack.frob.com>
3322
8422c9a5
RM
3323 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3324 * sysdeps/x86_64/setjmp.S: Likewise.
3325 * sysdeps/i386/bsd-setjmp.S: Likewise.
3326 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3327 * sysdeps/i386/setjmp.S: Likewise.
3328 * sysdeps/i386/__longjmp.S: Likewise.
3329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3330 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3331
3a097cc7
RM
3332 * include/stap-probe.h: New file.
3333 * configure.in: Handle --enable-systemtap.
3334 * configure: Regenerated.
3335 * config.h.in (USE_STAP_PROBE): New #undef.
3336 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3337 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3338 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3339
21708942
JM
33402012-05-25 Joseph Myers <joseph@codesourcery.com>
3341
3342 [BZ #13717]
3343 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3344 to 2.4.0 where earlier.
3345 * sysdeps/unix/sysv/linux/configure: Regenerated.
3346 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3347 <kernel-features.h>.
3348 [__ASSUME_32BITUIDS]: Make code unconditional.
3349 [!__ASSUME_32BITUIDS]: Remove conditional code.
3350 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3351 <kernel-features.h>.
3352 [__ASSUME_32BITUIDS]: Make code unconditional.
3353 [!__ASSUME_32BITUIDS]: Remove conditional code.
3354 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3355 [__ASSUME_32BITUIDS]: Make code unconditional.
3356 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3357 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3358 <kernel-features.h>.
3359 [__ASSUME_32BITUIDS]: Make code unconditional.
3360 [!__ASSUME_32BITUIDS]: Remove conditional code.
3361 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3362 <kernel-features.h>.
3363 [__ASSUME_32BITUIDS]: Make code unconditional.
3364 [!__ASSUME_32BITUIDS]: Remove conditional code.
3365 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3366 <kernel-features.h>.
3367 [__ASSUME_32BITUIDS]: Make code unconditional.
3368 [!__ASSUME_32BITUIDS]: Remove conditional code.
3369 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3370 <kernel-features.h>.
3371 [__ASSUME_32BITUIDS]: Make code unconditional.
3372 [!__ASSUME_32BITUIDS]: Remove conditional code.
3373 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3374 <kernel-features.h>.
3375 [__ASSUME_32BITUIDS]: Make code unconditional.
3376 [!__ASSUME_32BITUIDS]: Remove conditional code.
3377 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
3398 <kernel-features.h>.
3399 [__NR_setresgid] (__setresgid): Do not declare.
3400 [__ASSUME_32BITUIDS]: Make code unconditional.
3401 [!__ASSUME_32BITUIDS]: Remove conditional code.
3402 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3403 <kernel-features.h>.
3404 [__NR_setresuid] (__setresuid): Do not declare.
3405 [__ASSUME_32BITUIDS]: Make code unconditional.
3406 [!__ASSUME_32BITUIDS]: Remove conditional code.
3407 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3408 <kernel-features.h>.
3409 [__ASSUME_32BITUIDS]: Make code unconditional.
3410 [!__ASSUME_32BITUIDS]: Remove conditional code.
3411 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3412 <kernel-features.h>.
3413 [__ASSUME_32BITUIDS]: Make code unconditional.
3414 [!__ASSUME_32BITUIDS]: Remove conditional code.
3415 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3416 <kernel-features.h>.
3417 [__ASSUME_32BITUIDS]: Make code unconditional.
3418 [!__ASSUME_32BITUIDS]: Remove conditional code.
3419 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3420 <kernel-features.h>.
3421 [__ASSUME_32BITUIDS]: Make code unconditional.
3422 [!__ASSUME_32BITUIDS]: Remove conditional code.
3423 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3424 <kernel-features.h>.
3425 [__ASSUME_32BITUIDS]: Make code unconditional.
3426 [!__ASSUME_32BITUIDS]: Remove conditional code.
3427 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3428 <kernel-features.h>.
3429 [__ASSUME_32BITUIDS]: Make code unconditional.
3430 [!__ASSUME_32BITUIDS]: Remove conditional code.
3431 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3432 <kernel-features.h>.
3433 [__ASSUME_32BITUIDS]: Make code unconditional.
3434 [!__ASSUME_32BITUIDS]: Remove conditional code.
3435 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3436 <kernel-features.h>.
3437 [__ASSUME_32BITUIDS]: Make code unconditional.
3438 [!__ASSUME_32BITUIDS]: Remove conditional code.
3439 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.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/kernel-features.h
3448 (__ASSUME_SETRESUID_SYSCALL): Remove.
3449 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3450 (__ASSUME_32BITUIDS): Likewise.
3451 (__ASSUME_LDT_WORKS): Likewise.
3452 (__ASSUME_O_DIRECTORY): Likewise.
3453 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3454 architecture but not kernel version.
3455 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3456 (__ASSUME_MMAP2_SYSCALL): Likewise.
3457 (__ASSUME_STAT64_SYSCALL): Likewise.
3458 (__ASSUME_IPC64): Likewise.
3459 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3460 <kernel-features.h>.
3461 [__ASSUME_32BITUIDS]: Make code unconditional.
3462 [!__ASSUME_32BITUIDS]: Remove conditional code.
3463 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3464 <kernel-features.h>.
3465 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3466 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3467 132096]: Remove conditional code.
3468 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3469 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3470 <kernel-features.h>.
3471 [__ASSUME_32BITUIDS]: Make code unconditional.
3472 [!__ASSUME_32BITUIDS]: Remove conditional code.
3473 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3474 <kernel-features.h>.
3475 [__ASSUME_32BITUIDS]: Make code unconditional.
3476 [!__ASSUME_32BITUIDS]: Remove conditional code.
3477 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3478 <kernel-features.h>.
3479 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3480 unconditional.
3481 (__setresgid): Do not declare.
3482 [__ASSUME_32BITUIDS]: Make code unconditional.
3483 [!__ASSUME_32BITUIDS]: Remove conditional code.
3484 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3485 <kernel-features.h>.
3486 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3487 unconditional.
3488 (__setresuid): Do not declare.
3489 [__ASSUME_32BITUIDS]: Make code unconditional.
3490 [!__ASSUME_32BITUIDS]: Remove conditional code.
3491 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3492 <kernel-features.h>.
3493 [__ASSUME_32BITUIDS]: Make code unconditional.
3494 [!__ASSUME_32BITUIDS]: Remove conditional code.
3495 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3496 <kernel-features.h>.
3497 [__ASSUME_32BITUIDS]: Make code unconditional.
3498 [!__ASSUME_32BITUIDS]: Remove conditional code.
3499
a386f1cc
RH
35002012-05-25 Richard Henderson <rth@twiddle.net>
3501
3502 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3503 dl_hwcap to ifunc resolver.
3504 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3505 elf_ifunc_invoke.
3506 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3507 dl_hwcap to ifunc resolver.
3508 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3509
b6550497
JM
35102012-05-24 Joseph Myers <joseph@codesourcery.com>
3511
3512 [BZ #14153]
3513 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3514 for |x| <= 2**-26, not 2**-57.
3515 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3516 exception.
3517
b0bc23a1
JL
35182012-05-24 Jeff Law <law@redhat.com>
3519
3520 * stdio-common/Makefile (tests): Add bug25.
3521 * stdio-common/bug25.c: New test.
3522
347c92e9
L
35232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3524
3525 [BZ #13576]
3526 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3527 multiple of MALLOC_ALIGNMENT in size.
3528 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3529
6bcc8b3f
JM
35302012-05-24 Joseph Myers <joseph@codesourcery.com>
3531
3532 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3533 Require >= 256.
3534 (FILENAME_MAX): Use macro-int-constant.
3535 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3536 (_IOFBF): Use macro-int-constant.
3537 (_IOLBF): Likewise.
3538 (_IONBF): Likewise.
3539 (SEEK_CUR): Likewise.
3540 (SEEK_END): Likewise.
3541 (SEEK_SET): Likewise.
3542 (TMP_MAX): Likewise.
3543 (EOF): Use macro-int-constant. Require < 0.
3544 (NULL): Use macro-constant. Require == 0.
3545 (stdin): Require type to be FILE *.
3546 (stdout): Likewise.
3547 (stderr): Likewise.
3548 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3549 macro-int-constant.
3550 (EXIT_SUCCESS): Likewise.
3551 (NULL): Use macro-constant. Require == 0.
3552 (RAND_MAX): Use macro-int-constant.
3553 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3554 [C99-based standards] (strtof): Require function.
3555 [C99-based standards] (strtold): Likewise.
3556 [C99-based standards] (strtoll): Likewise.
3557 [C99-based standards] (strtoull): Likewise.
3558 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3559 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3560 [ISO || ISO99 || ISO11] (math.h): Likewise.
3561 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3562 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3564
d18ea0c5
AS
35652012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3566
3567 [BZ #14132]
56d25bb8
AS
3568 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3569 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3570 * intl/dgettext.c (DCGETTEXT): Likewise.
3571 * intl/gettext.c (DCGETTEXT): Likewise.
3572 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3573 * posix/regex_internal.h (gettext): Likewise.
3574 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3575 Remove declaration.
3576 * include/argz.h (__argz_count_internal)
3577 (__argz_stringify_internal): Remove declaration.
3578 (__argz_count, __argz_stringify): Declare hidden proto.
3579 * intl/dcgettext.c: Remove use of INTDEF.
3580 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3581 * string/argz-stringify.c: Likewise.
3582 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3583 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3584 Declare hidden proto.
d18ea0c5
AS
3585 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3586 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3587 Declare hidden proto.
3588 * include/stdio.h (__asprintf_internal): Don't declare.
3589 (__asprintf): Don't define as macro. Declare hidden proto.
3590 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3591 (__fsetlocking): Declare hidden proto.
3592 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3593 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3594 hidden proto.
3595 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3596 (_IO_setlinebuf): Remove use of INTUSE.
3597 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3598 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3599 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3600 Remove declaration.
3601 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3602 (_IO_do_flush): Remove use of INTUSE.
3603 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3604 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3605 (_IO_adjust_column, _IO_least_wmarker)
3606 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3607 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3608 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3609 (_IO_default_doallocate, _IO_wdefault_doallocate)
3610 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3611 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3612 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3613 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3614 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3615 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3616 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3617 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3618 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3619 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3620 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3621 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3622 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3623 proto.
3624 (_IO_flush_all_internal, _IO_adjust_column_internal)
3625 (_IO_default_uflow_internal, _IO_default_finish_internal)
3626 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3627 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3628 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3629 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3630 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3631 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3632 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3633 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3634 (_IO_file_close_internal, _IO_file_close_it_internal)
3635 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3636 (_IO_file_init_internal, _IO_file_attach_internal)
3637 (_IO_file_fopen_internal, _IO_file_read_internal)
3638 (_IO_file_sync_internal, _IO_file_seek_internal)
3639 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3640 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3641 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3642 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3643 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3644 (_IO_list_all_internal, _IO_link_in_internal)
3645 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3646 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3647 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3648 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3649 (_IO_do_write_internal, _IO_padn_internal)
3650 (_IO_getline_info_internal, _IO_getline_internal)
3651 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3652 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3653 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3654 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3655 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3656 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3657 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3658 with libc_hidden_ver, remove use of INTUSE.
3659 * libio/genops.c: Likewise.
3660 * libio/freopen.c: Likewise.
3661 * libio/freopen64.c: Likewise.
3662 * libio/iofclose.c: Likewise.
3663 * libio/iofdopen.c: Likewise.
3664 * libio/iofflush.c: Likewise.
3665 * libio/iofflush_u.c: Likewise.
3666 * libio/iofgets.c: Likewise.
3667 * libio/iofgets_u.c: Likewise.
3668 * libio/iofopen.c: Likewise.
3669 * libio/iofopncook.c: Likewise.
3670 * libio/iofread.c: Likewise.
3671 * libio/iofread_u.c: Likewise.
3672 * libio/ioftell.c: Likewise.
3673 * libio/iofwrite.c: Likewise.
3674 * libio/iogetline.c: Likewise.
3675 * libio/iogets.c: Likewise.
3676 * libio/iogetwline.c: Likewise.
3677 * libio/iopadn.c: Likewise.
3678 * libio/iopopen.c: Likewise.
3679 * libio/ioseekoff.c: Likewise.
3680 * libio/ioseekpos.c: Likewise.
3681 * libio/iosetbuffer.c: Likewise.
3682 * libio/iosetvbuf.c: Likewise.
3683 * libio/ioungetc.c: Likewise.
3684 * libio/ioungetwc.c: Likewise.
3685 * libio/iovdprintf.c: Likewise.
3686 * libio/iovsprintf.c: Likewise.
3687 * libio/iovsscanf.c: Likewise.
3688 * libio/memstream.c: Likewise.
3689 * libio/obprintf.c: Likewise.
3690 * libio/oldfileops.c: Likewise.
3691 * libio/oldiofclose.c: Likewise.
3692 * libio/oldiofdopen.c: Likewise.
3693 * libio/oldiofopen.c: Likewise.
3694 * libio/oldiopopen.c: Likewise.
3695 * libio/oldstdfiles.c: Likewise.
3696 * libio/putc.c: Likewise.
3697 * libio/setbuf.c: Likewise.
3698 * libio/setlinebuf.c: Likewise.
3699 * libio/stdfiles.c: Likewise.
3700 * libio/strops.c: Likewise.
3701 * libio/vasprintf.c: Likewise.
3702 * libio/vscanf.c: Likewise.
3703 * libio/vsnprintf.c: Likewise.
3704 * libio/vswprintf.c: Likewise.
3705 * libio/wfiledoalloc.c: Likewise.
3706 * libio/wfileops.c: Likewise.
3707 * libio/wgenops.c: Likewise.
3708 * libio/wmemstream.c: Likewise.
3709 * libio/wstrops.c: Likewise.
3710 * libio/__fpurge.c: Likewise.
3711 * libio/__fsetlocking.c: Likewise.
3712 * assert/assert.c: Likewise.
3713 * debug/fgets_chk.c: Likewise.
3714 * debug/fgets_u_chk.c: Likewise.
3715 * debug/fread_chk.c: Likewise.
3716 * debug/fread_u_chk.c: Likewise.
3717 * debug/gets_chk.c: Likewise.
3718 * debug/obprintf_chk.c: Likewise.
3719 * debug/vasprintf_chk.c: Likewise.
3720 * debug/vdprintf_chk.c: Likewise.
3721 * debug/vsnprintf_chk.c: Likewise.
3722 * debug/vsprintf_chk.c: Likewise.
3723 * malloc/mtrace.c: Likewise.
3724 * misc/error.c: Likewise.
3725 * misc/syslog.c: Likewise.
3726 * stdio-common/asprintf.c: Likewise.
3727 * stdio-common/fxprintf.c: Likewise.
3728 * stdio-common/getw.c: Likewise.
3729 * stdio-common/isoc99_fscanf.c: Likewise.
3730 * stdio-common/isoc99_scanf.c: Likewise.
3731 * stdio-common/isoc99_vfscanf.c: Likewise.
3732 * stdio-common/isoc99_vscanf.c: Likewise.
3733 * stdio-common/isoc99_vsscanf.c: Likewise.
3734 * stdio-common/printf-prs.c: Likewise.
3735 * stdio-common/printf_fp.c: Likewise.
3736 * stdio-common/printf_fphex.c: Likewise.
3737 * stdio-common/printf_size.c: Likewise.
3738 * stdio-common/putw.c: Likewise.
3739 * stdio-common/scanf.c: Likewise.
3740 * stdio-common/sprintf.c: Likewise.
3741 * stdio-common/tmpfile.c: Likewise.
3742 * stdio-common/vfprintf.c: Likewise.
3743 * stdio-common/vfscanf.c: Likewise.
3744 * stdlib/strfmon_l.c: Likewise.
3745 * sunrpc/openchild.c: Likewise.
3746 * sunrpc/xdr_stdio.c: Likewise.
3747 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3748 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3749
d6c33fda
RM
37502012-05-24 Roland McGrath <roland@hack.frob.com>
3751
c1487492
RM
3752 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3753
3754 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3755 in the third column, to generate for the shared library an IFUNC
3756 that uses _dl_vdso_vsym.
3757 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3758 * Makeconfig (object-suffixes-noshared): New variable.
3759
3760 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3761 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3762 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3763 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3764
d6c33fda
RM
3765 [BZ #14132]
3766 * include/sys/time.h (__gettimeofday): Remove macro.
3767 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3768 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3769 Remove INTDEF.
3770 (__gettimeofday): Add libc_hidden_def.
3771 (gettimeofday): Add libc_hidden_weak.
3772 * sysdeps/mach/gettimeofday.c: Likewise.
3773 * sysdeps/posix/gettimeofday.c: Likewise.
3774 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3775 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3777 (__gettimeofday_internal): Remove strong_alias.
3778 (__gettimeofday): Add libc_hidden_def.
3779 (gettimeofday): Add libc_hidden_weak.
3780 * sysdeps/unix/syscalls.list (gettimeofday):
3781 Remove __gettimeofday_internal alias.
3782
b5a2bbe6
L
37832012-05-24 Daniel Jacobowitz <drow@false.org>
3784 H.J. Lu <hongjiu.lu@intel.com>
3785
3786 [BZ #12495]
3787 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3788 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3789 (largebin_index_32_big): New.
3790 (largebin_index): Use it for 16-byte alignment.
3791 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3792 correction with front_misalign.
3793
cfba4fda
L
37942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3795
7f907421
L
3796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3798 Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3800 Likewise.
3801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3802 Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3804 Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3806 Likewise.
3807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3808 Likewise.
3809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3810 Likewise.
3811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3812 Likewise.
3813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3814 Likewise.
3815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3816 Likewise.
3817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3818 Likewise.
3819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3820 Likewise.
3821
cfba4fda
L
3822 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3823 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3824
80bad0cc
JM
38252012-05-24 Joseph Myers <joseph@codesourcery.com>
3826
7a25eb06
JM
3827 [BZ #10846]
3828 [BZ #14036]
3829 * math/libm-test.inc (exp_test): Add test from bug 14036.
3830 (pow_test): Add test from bug 10846.
3831
795405f9
JM
3832 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3833 and other flags.
3834 (special_function): Do not include flags in test name.
3835 (parse_args): Likewise.
3836 * sysdeps/i386/fpu/libm-test-ulps: Update.
3837 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3838 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3839 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3841
80bad0cc
JM
3842 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3843 exceptions.
3844 * math/libm-test.inc ("Philosophy"): Update comment about
3845 exception testing.
3846 (UNDERFLOW_EXCEPTION): New macro.
3847 (UNDERFLOW_EXCEPTION_OK): Likewise.
3848 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3849 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3850 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3851 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3852 (INVALID_EXCEPTION_OK): Update value.
3853 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3854 (OVERFLOW_EXCEPTION_OK): Likewise.
3855 (IGNORE_ZERO_INF_SIGN): Likewise.
3856 (test_exceptions): Handle underflow exceptions.
3857 (acos_test): Update for underflow exception expectations.
3858 (cexp_test): Likewise.
3859 (clog_test): Likewise.
3860 (clog10_test): Likewise.
3861 (csqrt_test): Likewise.
3862 (ctan_test): Likewise.
3863 (ctanh_test): Likewise.
3864 (exp_test): Likewise.
3865 (exp10_test): Likewise.
3866 (exp2_test): Likewise.
3867 (expm1_test): Likewise.
3868 (fma_test): Likewise.
3869 (j0_test): Likewise.
3870 (jn_test): Likewise.
3871 (nexttoward_test): Likewise.
3872 (pow_test): Likewise.
3873 (scalbn_test): Likewise.
3874 (scalbln_test): Likewise.
3875 (tan_test): Likewise.
3876 (y1_test): Likewise.
3877 * sysdeps/i386/fpu/libm-test-ulps: Update.
3878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3879
9e0e3d0b
DM
38802012-05-23 David S. Miller <davem@davemloft.net>
3881
3882 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3883 (__libc_sigaction): Remove unused local variables.
3884
ccd0a08f
L
38852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3886
3887 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3888
62bdf9a6
PE
38892012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3890
f8591f80
PE
3891 mktime: avoid signed integer overflow
3892 * time/mktime.c (__mktime_internal): Do not mishandle the case
3893 where diff == INT_MIN.
3894
94c7d826
PE
3895 mktime: simplify computation of average
3896 * time/mktime.c (ranged_convert): Use new time_t_avg function
3897 instead of rolling our own (probably-slower) code.
3898
ce73d683
PE
3899 mktime: do not assume signed right shift propagates sign bit
3900 * time/mktime.c (isdst_differ): New static function.
3901 (__mktime_internal): No need to normalize tm_isdst now.
3902 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3903 tm_isdst values.
3904
72a22e59
PE
3905 mktime: merge another wrapv change from gnulib
3906 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3907 from some compilers.
3908
68605433
PE
3909 mktime: remove incorrect attempt at unusual arithmetics
3910 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3911 The code didn't really work on such machines anyway.
3912 (TYPE_MINIMUM): Assume two's complement.
3913 (twos_complement_arithmetic): Verify that long_int and time_t
3914 are two's complement (or unsigned, in the latter case).
3915
03cf7fe3
PE
3916 mktime: check signed shifts on long_int and time_t, too
3917 * time/mktime.c (SHR): Check that shifts work as desired
3918 on the types long_int and time_t too, as SHR is used on
3919 such types.
3920
f04dfbc2
PE
3921 mktime: do not assume 'long' is wide enough
3922 * time/mktime.c (verify): Move decl up.
3923 (long_int): New type.
3924 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3925 to remove assumption in the code that 'long' is wide enough to
3926 store year values. This assumption is not true on x32 and on
3927 some non-glibc platforms.
3928
62bdf9a6
PE
3929 mktime: merge wrapv change from gnulib
3930 * time/mktime.c (WRAPV): New macro.
3931 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3932 (guess_time_tm, __mktime_internal): Do not assume that signed
3933 integer overflow wraps around; modern compilers generate code
3934 where this assumption is no longer valid.
3935
5e292e4f
L
39362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3937
3938 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3939 Replace "jmp L(pseudo_end)" with "ret".
3940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3941 Likewise.
3942
8caf8c87
AJ
39432012-05-23 Andreas Jaeger <aj@suse.de>
3944
3945 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3946 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3947
1a09dc56
AJ
39482012-05-23 Andreas Jaeger <aj@suse.de>
3949 Maximilian Attems <max@stro.at>
3950
3951 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3952 New macros.
3953
1c87aba0
L
39542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3955
3956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3957 code so that pseudo_end is just ret and the stack pointer is
3958 correct also for static library in error case.
3959
40e45bd5
JM
39602012-05-23 Joseph Myers <joseph@codesourcery.com>
3961
c2670533
JM
3962 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3963 move to syscalls.list.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3968
40e45bd5
JM
3969 * manual/install.texi (Running make install): Do not mention Linux
3970 kernel version for which pt_chown is not needed.
3971 (Linux): Do not mention problems with nscd with 2.0 kernels.
3972 * INSTALL: Regenerated.
3973
be08eda5
AJ
39742012-05-23 Andreas Jaeger <aj@suse.de>
3975
3976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3977 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3978 macro.
3979 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3980 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3981 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3982 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3983 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3984 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3985 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3986 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3987 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3989 * sysdeps/unix/sysv/linux/bits/in.h
3990 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3991
a6a056bb
RM
39922012-05-22 Roland McGrath <roland@hack.frob.com>
3993
3994 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3995 (PREPARE_VERSION): Just use assert instead, it will be elided
3996 under [NDEBUG] anyway.
3997
c9009328
L
39982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3999
4000 * sysdeps/unix/sysv/linux/Makefile: Include
4001 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4002 (sysdep_routines): Remove sysctl.
c9009328
L
4003 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4004 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4005 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4006 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4007 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4008
73338355
AJ
40092012-05-22 Andreas Jaeger <aj@suse.de>
4010
4011 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4012 that pseudo_end is just ret and the stack pointer is correct also
4013 for static library in error case.
4014
d44638b0
PP
40152012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4016
4017 [BZ #14122]
4018 * nss/nsswitch.c (defconfig_entries): New variable.
4019 (__nss_database_lookup): Don't leak defconfig entries.
4020 (nss_parse_service_list): Don't leak on error paths.
4021 (free_database_entries): New function.
4022 (free_defconfig): New function.
4023 (free_mem): Move common code to free_database_entries.
4024
31a39bd8
L
40252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4026
da0331a8
L
4027 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4028 Add arch_prctl.
4029 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4030
31a39bd8
L
4031 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4032 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4034 New macro.
4035 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4036 (INTERNAL_SYSCALL_TYPES): Likewise.
4037 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4038 (LOAD_REGS_TYPES_[1-6]): Likewise.
4039 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4040 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4041
45470df3
AZ
40422012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4043
4044 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4045 copysignl for GLIBC_2_0.
4046 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4047 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4049 logbl for GLIBC_2_0.
4050 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4051 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4052
98a61bcb
L
40532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4054
a4f6e481
L
4055 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4056 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4057
f63d5db6
L
4058 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4059 Use "neg %eax".
4060
98a61bcb
L
4061 * time/mktime.c: Update copyright years.
4062
95770f14
PE
40632012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4064
6226efbd
PE
4065 mktime: merge comment-quoting-style change from gnulib
4066 * time/mktime.c: Quote 'like this' in comments.
4067 The GNU coding standards suggest that we no longer quote `like this',
4068 as "`" and "'" are typically rendered asymmetrically nowadays.
4069 The typical gnulib style is to quote 'like this' when quoting
4070 code, and "like this" when quoting English.
4071
b99e4f78
PE
4072 * time/mktime.c (compile-command): Add "-I.".
4073
643e01e6
PE
4074 mktime: merge mktime-internal.h change from gnulib
4075 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4076
2554247d
PE
4077 mktime: merge time_r change from gnulib
4078 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4079
826dd0ab
PE
4080 mktime: merge DEBUG change from gnulib
4081 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4082 case system <time.h> has a #define.
4083
bd83aabe
PE
4084 mktime: merge <sys/types.h> change from gnulib
4085 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4086 since <time.t> is now guaranteed to define time_t.
4087
95770f14
PE
4088 mktime: merge HAVE_CONFIG_H change from gnulib
4089 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4090
5e1a27a9
L
40912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4092
0e44a77e
L
4093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4094 Use "neg %eax".
4095
5e1a27a9
L
4096 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4097 __rlim_t cast.
4098 (struct rusage): Use anonymous union to pad each field to
4099 __syscall_slong_t.
4100
46259bec
DM
41012012-05-21 David S. Miller <davem@davemloft.net>
4102
4103 * Makefules (o-iterator): Remove .s cases.
4104 (compile-command.s): Delete.
4105 (COMPILE.s): Delete.
4106 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4107
59f0c22e
JM
41082012-05-21 Joseph Myers <joseph@codesourcery.com>
4109
4110 * configure.in (libc_cv_predef_stack_protector): Only consider
4111 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4112 * configure: Regenerated.
4113
20c07380
L
41142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4115
bbb3154b
L
4116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4117 New macro. Use R*LP on int and pointer.
4118 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4119 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4120 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4121 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4122
20c07380
L
4123 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4124 [__WORDSIZE_TIME64_COMPAT32] instead of
4125 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4126 (struct utmp): Likewise.
4127 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4128 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4129 Renamed to ...
4130 (__WORDSIZE_TIME64_COMPAT32): This.
4131 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4132 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4133 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4134 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4135 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4136 (__WORDSIZE_TIME64_COMPAT32): New macro.
4137
d8d1017e
AJ
41382012-05-21 Andreas Jaeger <aj@suse.de>
4139
4140 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4141 only if [SHARED]. Add prototype for __wcschr_ia32.
4142
6c7fb145
RM
41432012-05-21 Roland McGrath <roland@hack.frob.com>
4144
4145 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4146 of %rbp unmolested in the jmp_buf while mangling the low bits.
4147 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4148 unmolested high bits of %rbp while demangling the low bits.
4149 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4150
66274218
AJ
41512012-05-21 Andreas Jaeger <aj@suse.de>
4152
07c58f8f
AJ
4153 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4154 * sunrpc/svc_simple.c: Use it for registerrpc.
4155 * sunrpc/xcrypt.c: Use it for passwd2des.
4156
66274218
AJ
4157 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4158
61f65140
L
41592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4160
4161 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4162 Don't define if [__SYSCALL_WORDSIZE != 32].
4163 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4164 New macro.
4165
5fefb436
AJ
41662012-05-21 Bruno Haible <bruno@clisp.org>
4167 Andreas Jaeger <aj@suse.de>
4168
4169 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4170 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4171 inptr and inend for must_buffer_ch.
4172 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4173 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4174 * stdio-common/Makefile (tests): Remove bug15.
4175 (bug15-ENV): Remove macro.
4176 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4177 anymore.
4178
d8e272ab
AJ
41792012-05-19 Andreas Jaeger <aj@suse.de>
4180 Roland McGrath <roland@hack.frob.com>
4181
4182 * manual/contrib.texi: Completely rewritten. It contains now an
4183 alphabetical list of contributors and their contributions.
4184
4a56a162
RH
41852012-05-21 Richard Henderson <rth@twiddle.net>
4186
4187 * misc/getauxval.c (__getauxval): Use unsigned long int.
4188 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4189 (getauxval): Use unsigned long int.
4190
d024d23c
L
41912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4192
4193 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4194
cbc00a03
RM
41952012-05-21 Roland McGrath <roland@hack.frob.com>
4196
4197 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4198 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4199 __alignof__ (long double).
4200
478143fa
AZ
42012012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202
4203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4204
c7683a6d
RH
42052012-05-20 Richard Henderson <rth@twiddle.net>
4206
4207 * misc/getauxval.c: New file.
4208 * misc/sys/auxv.h: New file.
4209 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4210 (routines): Add getauxval.
4211 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4212 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4213 * elf/dl-sysdep.c (_dl_auxv): Remove.
4214 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4215 * elf/dl-support.c (_dl_auxv): New variable.
4216 (_dl_aux_init): Initialize it.
4217 * manual/startup.texi (Auxiliary Vector): New node.
4218 * sysdeps/generic/bits/hwcap.h: New file.
4219 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4220 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4221 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4222 * sysdeps/sparc/sysdep.h: ... here. Include it.
4223 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4224 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4226 Update.
c7683a6d
RH
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4230 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4235
a6f1845d
AZ
42362012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4237
4238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4239
cbcbe830
DM
42402012-05-19 David S. Miller <davem@davemloft.net>
4241
4242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4243
e0b16cc2
JM
42442012-05-19 Joseph Myers <joseph@codesourcery.com>
4245
4246 [BZ #14123]
4247 * math/s_ccosh.c: Include <float.h>
4248 (__ccosh): Avoid internal overflow calculating sinh and cosh
4249 values before multiplying by sin and cos values.
4250 * math/s_ccoshf.c: Likewise.
4251 * math/s_ccoshl.c: Likewise.
4252 * math/s_csin.c: Likewise.
4253 * math/s_csinf.c: Likewise.
4254 * math/s_csinl.c: Likewise.
4255 * math/s_csinh.c: Likewise.
4256 * math/s_csinhf.c: Likewise.
4257 * math/s_csinhl.c: Likewise.
4258 * math/libm-test.inc (ccos_test): Add more tests.
4259 (ccosh_test): Likewise.
4260 (csin_test): Likewise.
4261 (csinh_test): Likewise.
4262 * sysdeps/i386/fpu/libm-test-ulps: Update.
4263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4264
6ad13e08
L
42652012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4266
f66f0ce8
L
4267 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4268 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4269
6ad13e08
L
4270 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4271
b1d072a7
JM
42722012-05-19 Joseph Myers <joseph@codesourcery.com>
4273
4274 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4275 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4276 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4277 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4278 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4279 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4280 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4281 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4282 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4283 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4284 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4285 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4286 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4287 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4288 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4289 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4290 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4291 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4292 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4293 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4294 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4295 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4296 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4297 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4298 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4299 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4300 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4301 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4302 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4303 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4304 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4305
9eae47cb
AJ
43062012-05-18 Andreas Jaeger <aj@suse.de>
4307
4308 * csu/.gitignore: Delete.
4309
bb07f69f
L
43102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4311
4312 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4313 (timex): Use __syscall_slong_t.
4314
e6bdb741
AJ
43152012-05-18 Andreas Jaeger <aj@suse.de>
4316 Carlos O'Donell <carlos_odonell@mentor.com>
4317
4318 * manual/install.texi (Configuring and compiling): Update
4319 description about files modified in the source directory.
d6c33fda 4320 * INSTALL: Regenerated.
e6bdb741 4321
1b74487e
L
43222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4323
4324 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4325 value. Use "or" to set return value to -1.
4326 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4327 negate return value.
4328
a88b64b9
TMQMF
43292012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4330
4331 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4332 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4333 failure if the compiler has Graphite support disabled.
4334 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4335 Likewise.
4336 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4337 CFLAGS-memmove.c): Likewise.
4338 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4339 Likewise.
4340
3707636e
L
43412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4342
610b8622
L
4343 * sysdeps/x86_64/x32/_itoa.h: New file.
4344
7cd195df
L
4345 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4346 getdents system call only if kernel and user dirents have the
4347 same d_ino and d_off.
4348
94b07d20
L
4349 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4350 LLONG_MAX != LONG_MAX.
4351 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4352 (_fitoa_word): Likewise.
4353
18298070
L
4354 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4355 years.
4356 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4357 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4359
553c7ea4
L
4360 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4361 include <bits/wordsize.h>. Check __x86_64__ instead of
4362 __WORDSIZE.
4363 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4364 if __x86_64__ is defined. Use anonymous union on fpstate.
4365
3707636e
L
4366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4367 anonymous union.
4368
b53ef01a
AS
43692012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4370
37fb1dc0
AS
4371 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4372 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4373 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4374 Refer to _rtld_local_ro instead of _rtld_global_ro.
4375 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4376 Likewise.
4377 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4378 Likewise.
4379 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4380 Likewise.
4381 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4382 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4383 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4384
b53ef01a
AS
4385 * sysdeps/powerpc/powerpc32/dl-machine.c
4386 (__elf_machine_runtime_setup) [PROF]: Don't reference
4387 _dl_prof_resolve.
4388
7a185db2
AJ
43892012-05-18 Andreas Jaeger <aj@suse.de>
4390
4391 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4392 function only available for GCCs before 3.4 since GCC 3.4
4393 introduced a builtin.
4394 (lrint): Likewise.
4395 (llrintf): Likewise.
4396 (llrint): Likewise.
4397 (fmaxf): Likewise.
4398 (fmax): Likewise.
4399 (fminf): Likewise.
4400 (fmin): Likewise.
4401 (rint): Likewise.
4402 (rintf): Likewise.
4403 (nearbyint): Likewise.
4404 (nearbyintf): Likewise.
4405 (ceil): Likewise.
4406 (ceilf): Likewise.
4407 (floor): Likewise.
4408 (floorf): Likewise.
4409
3e5aef87
L
44102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4411
428bd707
L
4412 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4413 on both fields and cast pointer to __syscall_ulong_t.
4414
3e5aef87
L
4415 * bits/types.h (__fsword_t): New type.
4416 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4417 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4419 (__FSWORD_T_TYPE): Likewise.
4420 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4421 (__FSWORD_T_TYPE): Likewise.
4422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4423 (__FSWORD_T_TYPE): Likewise.
4424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4425 (__FSWORD_T_TYPE): Likewise.
4426 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4427 __SWORD_TYPE with __fsword_t.
4428 (statfs64): Likewise.
4429
1ba7c3dc
DM
44302012-05-17 David S. Miller <davem@davemloft.net>
4431
4432 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4433
59910343
AJ
44342012-05-17 Andreas Jaeger <aj@suse.de>
4435
4436 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4437 warning.
4438
2e4c1e9e
L
44392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4440
4441 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4442
de7f5ce7
AJ
44432012-05-17 Andreas Jaeger <aj@suse.de>
4444
4445 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4446 when it is used.
4447
286abc3d
CM
44482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4449
4450 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4451
477cc68e
L
44522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4453
4454 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4455 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4456
1a0994f5
CD
44572012-05-17 Andreas Jaeger <aj@suse.de>
4458 Carlos O'Donell <carlos_odonell@mentor.com>
4459
4460 [BZ #14059]
4461 * sysdeps/x86_64/multiarch/init-arch.h
4462 (bit_YMM_Usable): Rename to...
4463 (bit_AVX_Usable): ... this.
4464 (bit_FMA4_Usable): New macro.
4465 (bit_XMM_state): New macro.
4466 (bit_YMM_state): New macro.
4467 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4468 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4469 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4470 (CPUID_OSXSAVE): New macro.
4471 (CPUID_AVX): New macro.
4472 (CPUID_FMA4): New macro.
4473 (index_YMM_Usable): Rename to...
4474 (index_AVX_Usable): ... this.
4475 (HAS_AVX): Use HAS_ARCH_FEATURE.
4476 (HAS_FMA4): Likewise.
4477 (HAS_YMM_USABLE): Remove.
4478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4479 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4480 are present.
4481 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4482 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4483 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4484 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4485 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4486
0af797de
CM
44872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4488
4489 * math/libm-test.c: Support platforms without multiple rounding modes.
4490 * math/bug-nextafter.c: Support platforms without FP exceptions.
4491 * math/bug-nexttoward.c: Likewise.
4492 * math/test-fenv.c: Likewise.
4493 * math/test-misc.c: Likewise.
4494 * stdlib/bug-getcontext.c: Likewise.
4495
e39745ff
AJ
44962012-05-17 Andreas Jaeger <aj@suse.de>
4497
4498 * manual/examples/search.c (critter_cmp): Change signature to
4499 avoid warnings.
4500 * manual/string.texi (Collation Functions): Likewise.
4501
48970aba
L
45022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4503
4504 * bits/types.h: Fold copyright years.
4505 * bits/typesizes.h: Likewise.
4506 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4510 * time/time.h: Likewise.
4511
bedee953
PP
45122012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4513
4514 [BZ #208]
4515 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4516 in instead of returning them. Return void.
4517 (__libc_mallinfo): Accumulate over all arenas.
4518 (__malloc_stats): Adjust for change in int_mallinfo interface.
4519
61653dfb
RM
45202012-05-16 Roland McGrath <roland@hack.frob.com>
4521
30b99d79
RM
4522 [BZ #10375]
4523 * configure.in (NM): Add AC_CHECK_TOOL for it.
4524 (libc_extra_cflags): New substituted variable.
4525 Check for -fstack-protector being used implicitly.
4526 * configure: Regenerated.
4527 * config.make.in (config-extra-cflags): New variable,
4528 gets @libc_extra_cflags@.
4529 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4530
61653dfb
RM
4531 [BZ #10375]
4532 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4533 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4534 * configure: Regenerated.
4535 * config.make.in (CPPUNDEFS): New substituted variable.
4536 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4537 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4538 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4539
661768bb
L
45402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4541
4542 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4543 (mq_attr): Use __syscall_slong_t.
4544
d4261567
L
45452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4546
4547 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4548 Check __x86_64__ instead of __WORDSIZE.
4549 (_STAT_VER_LINUX): Likewise.
4550 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4551 __syscall_ulong_t and __syscall_slong_t.
4552 (stat64): Likewise.
4553
cf3ff365
L
45542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4555
4556 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4557
76cf3e4d
L
45582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4561
a637753a
L
45622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4563
4564 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4565 __syscall_ulong_t.
4566
d5e05119
L
4567 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4568 include <bits/wordsize.h>. Check __x86_64__ instead of
4569 __WORDSIZE.
4570 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4571 defined.
4572 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4573
f62ee380
L
4574 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4575 include <bits/wordsize.h>. Check __x86_64__ instead of
4576 __WORDSIZE.
4577 (user_regs_struct): Use "__extension__ unsigned long long"
4578 instead of "unsigned long" if __x86_64__ is defined.
4579 (user): Likewise. Pad after pointer field if __ILP32__ is
4580 defined.
4581
4e124ced
JM
45822012-05-16 Joseph Myers <joseph@codesourcery.com>
4583
6a3951a0
JM
4584 * configure.in (makeinfo): Require version 4.5 or later. Allow
4585 versions 5 to 9.
4586 * configure: Regenerated.
4587 * manual/install.texi (texinfo): Increase version requirement to
4588 4.5 or later.
4589 * INSTALL: Regenerated.
4590
4e124ced
JM
4591 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4592
953ca31a
L
45932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4594
4595 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4596
617aca05
L
4597 * sysdeps/x86_64/x32/ffs.c: New file.
4598
5762f7ae
L
4599 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4600 __syscall_ulong_t.
4601 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4602 defined. Use __syscall_ulong_t.
4603 (shminfo): Use __syscall_ulong_t.
4604 (shm_info): Likewise.
4605
a26b6856
L
4606 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4607 __syscall_ulong_t.
4608
cb2b9ef7
L
4609 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4610 <bits/wordsize.h>.
4611 (msgqnum_t): Use __syscall_ulong_t.
4612 (msglen_t): Likewise.
4613 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4614 __syscall_ulong_t.
4615
34683bb0
L
4616 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4617 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4618
84a68786
L
4619 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4620
48baa5f1
L
4621 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4622 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4623
180be88b
L
4624 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4625 __syscall_slong_t.
4626
5e90c8ad
L
4627 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4628 include <bits/wordsize.h>. Check __x86_64__ instead of
4629 __WORDSIZE.
4630
23dfb58b
L
4631 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4632 "unsigned long long int" if __x86_64__ is defined.
4633 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4634
ce5d54b0
L
4635 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4636 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4637 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4638
13dc9eac
L
4639 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4640 <stdint.h>.
4641 (GET_PC): Cast to uintptr_t first.
4642 (GET_FRAME): Likewise.
4643 (GET_STACK): Likewise.
4644
a7895d15
L
4645 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4646 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4647 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4648 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4649 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4650 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4651 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4652 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4653 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4654 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4655 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4656 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4657 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4658 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4661 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4662 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4663 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4664 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4665 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4667 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4669 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4671 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4672 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4673 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4674
656416c9
AS
46752012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4676
5bd66283
AS
4677 * Makerules (+depfiles): Also collect depfiles from .oS in
4678 $(extra-objs).
4679 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4680 .oS, $(libnldbl-routines)).
4681
656416c9
AS
4682 * Makerules (native-compile-mkdep-flags): Define.
4683 * sunrpc/Makefile (extra-objs): Add $(addprefix
4684 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4685 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4686 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4687 calling $(make-target-directory).
4688
a46f2169
L
46892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4690
4691 * bits/types.h (__snseconds_t): Removed.
4692 * time/time.h (struct timespec): Replace __snseconds_t with
4693 __syscall_slong_t.
4694 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4695 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4696 Likewise.
4697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4698 (__SNSECONDS_T_TYPE): Likewise.
4699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4700 (__SNSECONDS_T_TYPE): Likewise.
4701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4702 (__SNSECONDS_T_TYPE): Likewise.
4703
6af6528b
L
47042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4705
4706 * sysdeps/mach/hurd/bits/typesizes.h
4707 (__SYSCALL_SLONG_TYPE): New macro.
4708 (__SYSCALL_ULONG_TYPE): Likewise.
4709
de986b56
L
47102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4711
4712 * bits/types.h (__syscall_slong_t): New type.
4713 (__syscall_ulong_t): Likewise.
4714
4715 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4716 (__SYSCALL_ULONG_TYPE): Likewise.
4717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4718 (__SYSCALL_SLONG_TYPE): Likewise.
4719 (__SYSCALL_ULONG_TYPE): Likewise.
4720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4721 (__SYSCALL_SLONG_TYPE): Likewise.
4722 (__SYSCALL_ULONG_TYPE): Likewise.
4723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4724 (__SYSCALL_SLONG_TYPE): Likewise.
4725 (__SYSCALL_ULONG_TYPE): Likewise.
4726
85736dc7
L
47272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4728
4729 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4730 Add sigaltstack-offsets.sym.
4731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4732 <sigaltstack-offsets.h>.
4733 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4734 longjmp_msg pointer.
4735 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4736 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4737 signal stack.
4738 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4739
cc03b296
JM
47402012-05-15 Joseph Myers <joseph@codesourcery.com>
4741
a9538892
JM
4742 * elf/stackguard-macros.h: Remove file.
4743 * sysdeps/generic/stackguard-macros.h: New file.
4744 * sysdeps/i386/stackguard-macros.h: Likewise.
4745 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4746 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4747 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4748 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4749 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4750 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4751 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4752 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4753 <elf/stackguard-macros.h>.
4754
cc03b296
JM
4755 [BZ #14109]
4756 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4757 __aligned__ in attribute.
4758 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4759 (gregset_t): Likewise.
4760
93171016
L
47612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4762
4763 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4764 * sysdeps/x86_64/64/Implies-after: Here. New file.
4765 * sysdeps/x86_64/x32/Implies-after: New file.
4766
d86813a0
L
47672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4768
4769 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4770 and access return value for _dl_profile_fixup. Use R10_LP to
4771 load frame size.
4772
2953ec75
L
47732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4776
3b550e9e
L
47772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4778
4779 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4780 * sysdeps/x86_64/x32/sysdep.h: New file.
4781
eda41706
L
47822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4783
4784 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4785 * sysdeps/x86_64/setjmp.S: Likewise.
4786
9ea01d93
AZ
47872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4788
4789 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4790 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4791 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4792 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4793 remove unused global constant.
4794
02a91938
CM
47952012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4796
4797 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4798 include of <not-cancel.h>.
4799
6540185f
RM
48002012-05-15 Roland McGrath <roland@hack.frob.com>
4801
4802 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4803
509072a0
AJ
48042012-05-15 Jeff Law <law@redhat.com>
4805 Andreas Jaeger <aj@suse.de>
4806
4807 [BZ #13594]
4808 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4809 out from...
4810 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4811 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4812 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4813 code changing __hst_map_handle.map.
4814
ba75122d
RM
48152012-05-15 Roland McGrath <roland@hack.frob.com>
4816
4817 * configure.in (sysnames): Look for Implies-before and Implies-after
4818 files.
4819 * configure: Regenerated.
4820
890d8bd8
L
48212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4822
4823 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4824 8-byte data alignment with LP_SIZE alignment.
4825
f6ee6623
L
48262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4827
4828 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4829 into R10_LP.
4830
ea2626f6
L
48312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4832
4833 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4834
085f715e
L
48352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4836
4837 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4838 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4839 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4840 Likewise.
4841 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4842
be8498fc
L
48432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4844
4845 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4846 (stackinfo_sub_sp): Likewise.
4847
70bc83b9
L
48482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4849
4850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4851 RAX_LP.
4852
9bc0b730
L
48532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4854
4855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4856 into R*_LP.
4857
6d2850e7
L
48582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4859
4860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4861 sizes into R*_LP.
4862
3cb84561
L
48632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4864
4865 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4866
54e2ed81
L
48672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4868
4869 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4870 into R11_LP and load __x86_64_shared_cache_size_half into
4871 R8_LP.
4872
8a17f349
L
48732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4874
4875 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4876 R8_LP.
4877
777b1eea
AZ
48782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4879
4880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4881 logb for POWER7.
4882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4883 logbf for POWER7.
4884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4885 logbl for POWER7.
4886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4887 powerpc32/power7/fpu/s_logb.c via #include.
4888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4889 powerpc32/power7/fpu/s_logbf.c via #include.
4890 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4891 powerpc32/power7/fpu/s_logbl.c via #include.
4892
d20d4ac2
JM
48932012-05-15 Joseph Myers <joseph@codesourcery.com>
4894
4895 * README.libm: Remove file.
4896
6cdef1ab
L
48972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4898
4899 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4900 count for x32. Use R*_LP and omit operand-size suffix.
4901
0b254d8f
L
49022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4903
4904 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4905 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4906 * sysdeps/x86_64/x32/shlib-versions: New file.
4907
ceb809dc
RM
49082012-05-14 Roland McGrath <roland@hack.frob.com>
4909
4910 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4911 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4912 Use _dl_fatal_printf instead.
4913
37f1abd4
JM
49142012-05-14 Joseph Myers <joseph@codesourcery.com>
4915
4916 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4917 set if not set by the user. Do not allow for being unset.
4918 * sysdeps/unix/sysv/linux/configure: Regenerated.
4919
11de3a33
L
49202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4921
4922 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4923 the `q' suffix from lea and replace .quad with ASM_ADDR.
4924
e02f153a
L
49252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4926
4927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4928 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4929 instead of $17.
4930 (PTR_DEMANGLE): Likewise.
4931
520ae0fd
L
49322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4933
4934 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4935 (LP_OP): Likewise.
4936 (ASM_ADDR): Likewise.
4937 (RAX_LP): Likewise.
4938 (RBP_LP): Likewise.
4939 (RBX_LP): Likewise.
4940 (RCX_LP): Likewise.
4941 (RDI_LP): Likewise.
4942 (RSI_LP): Likewise.
4943 (RSP_LP): Likewise.
4944 (R8_LP): Likewise.
4945 (R9_LP): Likewise.
4946 (R10_LP): Likewise.
4947 (R10_LP): Likewise.
4948 (R11_LP): Likewise.
4949 (R12_LP): Likewise.
4950 (R13_LP): Likewise.
4951 (R14_LP): Likewise.
4952 (R15_LP): Likewise.
4953
b985be81
L
49542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4955
4956 * sysdeps/x86_64/x32/dl-machine.h: New file.
4957
6a4888ff
AJ
49582012-05-14 Andreas Jaeger <aj@suse.de>
4959
4960 * manual/Makefile (subdir): Remove export of subdir.
4961 (all): Remove target.
4962 (.PHONY): Remove all from list.
4963 (mkinstalldirs): Remove.
4964 (.PHONY): Remove installdirs from list.
4965 ($(inst_infodir)/libc.info): Use make-target-directory.
4966 (installdirs): Remove.
4967 (subdir_%): Remove.
4968 (glibc-targets): Remove.
4969 (lib): Remove.
4970 (stubs): Remove.
4971 ($(objpfx)stubs ../po/manual.pot): Remove.
4972 ($(objpfx)stamp%): Remove.
4973 (make-target-directory): Remove.
4974 (subdir_install): Remove.
4975 (routines): Remove.
4976 (aux): Remove.
4977 (sources): Remove.
4978 (objects): Remove.
4979 (headers): Remove.
4980
4981 [BZ #13750]
4982 * manual/.gitignore: Remove, it's not needed anymore.
4983 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4984 all files in it.
4985 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4986 directory.
4987 (texis): Renamed to $(objpfx)texis.
4988 (texis-path): New, contains path to generated files.
4989 (chapters.%): Use texis-path for complete path, add extra argument
4990 libc-texinfo.sh.
4991 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4992 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4993 (summary,texi, stamp-summary): Use complete path of
4994 files. Generate files in build dir.
4995 (dir-add.texi): Build in build dir.
4996 (libm-err.texi,stamp-libm-err): Likewise.
4997 (version.texi, stamp-version): Likewise.
4998 (.%c.texi): Likewise.
4999 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5000 (mostlyclean): Remove target.
5001 (realclean): Remove target.
5002 (generated): Add new variable with contents from mostlyclean and
5003 realclean, remove entries duplicated in common-mostlyclean, add
5004 stamp-libm-err and stamp-version.
5005 (generated-dirs): Add libc directory.
5006 ($(inst_infodir)/libc.info): Install files from build dir.
5007
5008 * manual/install.texi (Configuring and compiling): Adjust since
5009 the info files are not part of the tar ball anymore.
5010
7ac77294
AJ
50112012-05-14 Andreas Jaeger <aj@suse.de>
5012
5013 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5014 variable.
5015
ffb7875d
JM
50162012-05-14 Joseph Myers <joseph@codesourcery.com>
5017
5018 [BZ #13717]
5019 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5020 to 2.2.0 where earlier.
5021 * sysdeps/unix/sysv/linux/configure: Regenerated.
5022 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5023 Remove conditional code.
5024 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5025 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5026 Remove conditional code.
5027 [!__NR_lchown]: Likewise.
5028 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5029 [__NR_lchown]: Likewise.
5030 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5031 comment referencing __ASSUME_LCHOWN_SYSCALL.
5032 * sysdeps/unix/sysv/linux/i386/sigaction.c
5033 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5034 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5035 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5036 Remove conditional code.
5037 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5038 (__protocol_available): Remove #if 0 code.
5039 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5040 conditional code.
5041 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5042 * sysdeps/unix/sysv/linux/kernel-features.h
5043 (__ASSUME_GETCWD_SYSCALL): Don't define.
5044 (__ASSUME_REALTIME_SIGNALS): Likewise.
5045 (__ASSUME_PREAD_SYSCALL): Likewise.
5046 (__ASSUME_PWRITE_SYSCALL): Likewise.
5047 (__ASSUME_POLL_SYSCALL): Likewise.
5048 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5049 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5050 non-SPARC.
5051 (__ASSUME_SIOCGIFNAME): Don't define.
5052 (__ASSUME_MSG_NOSIGNAL): Likewise.
5053 (__ASSUME_SENDFILE): Define unconditionally.
5054 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5055 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5056 conditional code.
5057 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5058 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5059 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5060 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5061 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5062 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5063 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5065 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5071 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5077 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5083 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5088 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5089 Remove conditional code.
5090 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5091 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5092 Remove conditional code.
5093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5094 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5095 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5096 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5097 Remove conditional code.
5098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5099 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5100 Remove conditional code.
5101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5102 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5103 Remove conditional code.
5104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5105 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5106 Remove conditional code.
5107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5108 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5109 Remove conditional code.
5110 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5111 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5112 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5114 * sysdeps/unix/sysv/linux/sigaction.c
5115 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5116 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5117 * sysdeps/unix/sysv/linux/sigpending.c
5118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5120 * sysdeps/unix/sysv/linux/sigprocmask.c
5121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5123 * sysdeps/unix/sysv/linux/sigsuspend.c
5124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5126 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5127 (__libc_missing_rt_sigs): Remove.
5128 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5129 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5130 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5131 Remove conditional code.
5132 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5133 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5134 return 1.
5135 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5136 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5137 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5138 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5139
1bfb7291
AJ
51402012-05-14 Andreas Jaeger <aj@suse.de>
5141
caae5a81
AJ
5142 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5143 it's not used in glibc.
5144 (__coshm1): Likewise.
5145 (__acosh1p): Likewise.
5146 (__sgn): Likewise.
5147
1bfb7291
AJ
5148 * manual/string.texi (Copying and Concatenation): Add missing
5149 variable in concat example.
5150 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5151
c044d724
L
51522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5153
144c5467 5154 [BZ #14103]
c044d724
L
5155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5156 __builtin_clzl with __builtin_clzll.
5157
2523c62b
L
51582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5159
5160 [BZ #14104]
5161 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5162 libc_freeres_ptr.
5163
d7bb4c42
LD
51642012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5165
5166 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5167 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5168 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5169 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5170
9dc4e1fb
MF
51712012-05-14 Mike Frysinger <vapier@gentoo.org>
5172
5173 * NEWS: Update ia64 info.
5174
c7df0112
AS
51752012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5176
5177 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5178 used as bcopy.
5179
dc70356c
TS
51802012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5181
5182 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5183 * sysdeps/unix/syscalls.list (dup3): Likewise.
5184 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5185 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5186
9fb1a21f
L
51872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5188
5189 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5190 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5191
4822a2a5
L
51922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5193
5194 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5195 thread pointer.
5196 (TLS_IE): Use mov/add instead of movq/addq to load thread
5197 pointer.
5198 (TLS_GD_PREFIX): New.
5199 (TLS_GD): Use it.
5200
842b81d6
DM
52012012-05-11 David S. Miller <davem@davemloft.net>
5202
5203 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5204 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5205 (_FPU_SETCW): Likewise.
5206
1cf463cd
L
52072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5208
5209 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5210 is 32-byte aligned.
5211
60cc4a18
AS
52122012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5213
5214 [BZ #11837]
5215 * iconvdata/gb18030.c: Update tables.
5216 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5217 characters specially.
5218 (BODY for TO_LOOP): Add encoding of missing ranges.
5219
febb44a4
TS
52202012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5221
5222 [BZ #13673]
5223 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5224 * sysdeps/mach/hurd/dup3.c: Likewise.
5225 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5226 * sysdeps/powerpc/memmove.c:: Likewise.
5227
0a10fb9e
L
52282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5229
5230 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5231 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5232
df8a552f
L
52332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5234
5235 * elf/elf.h (R_X86_64_RELATIVE64): New.
5236 (R_X86_64_NUM): Updated.
5237 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5238 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5239 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5240 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5241 tst-quad1pie tst-quad2pie
5242 (modules-names): Add tst-quadmod1 tst-quadmod2.
5243 ($(objpfx)tst-quad1): New dependency.
5244 ($(objpfx)tst-quad2): Likewise.
5245 ($(objpfx)tst-quad1pie): Likewise.
5246 ($(objpfx)tst-quad2pie): Likewise.
5247 * sysdeps/x86_64/tst-quad1.c: New file.
5248 * sysdeps/x86_64/tst-quad1pie.c: New file.
5249 * sysdeps/x86_64/tst-quad2.c: Likewise.
5250 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5251 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5252 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5253 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5254 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5255
f34d6f84
ST
52562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5257
f42d41d1
ST
5258 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5259 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5260 * streams/stropts.h (t_scalar_t): Define type.
5261
3c3571fc
ST
5262 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5263 (_PATH_PRESERVE): Set to "/var/lib".
5264 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5265
61f06bd3
ST
5266 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5267 instead of int.
5268
918d4d71
ST
5269 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5270 if __dir_mkfile succeeded.
5271
f34d6f84
ST
5272 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5273 checking for _hurd_dtablesize. Unlock it right after having
5274 finished _hurd_dtable allocation.
5275
10589b4a
TS
52762012-05-10 Thomas Schwinge <thomas@schwinge.name>
5277
674cdbc7
TS
5278 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5279 * sysdeps/mach/hurd/configure: Regenerated.
5280 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5281 special-casing to...
5282 * sysdeps/gnu/configure.in: ... this new file.
5283 * sysdeps/unix/sysv/linux/configure: Regenerated.
5284 * sysdeps/gnu/configure: New generated file.
5285
8e41b99f
TS
5286 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5287 for Linux: use nsec instead of usec, as well as:
5288 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5289 members of type struct timespec.
5290 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5291 New macros.
5292 (struct stat64): Likewise.
5293 (_STATBUF_ST_NSEC): New macro.
5294 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5295
10589b4a
TS
5296 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5297 __strtoul_internal rather than strtoul.
5298
63643c85
PT
52992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5300
5301 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5302 and reject them.
5303
3faebe6a
ST
53042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5305
5306 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5307 which preserves existing values.
5308 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5309
c6474b07
PT
53102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5311
5312 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5313 TIMEOUT values. Return EINVAL for NFDS values either negative or
5314 greater than FD_SETSIZE.
5315
1043890b
ST
53162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5317
5318 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5319 allocated, call __vm_protect to finish enabling the existing space, and
5320 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5321 allocate the remainder.
5322
37ed8b9b
PT
53232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5324
5325 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5326 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5327
db653660
ST
53282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5329
37ed8b9b
PT
5330 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5331 sysdeps/mach/hurd/readlink.c.
b29d4053 5332
db653660
ST
5333 * posix/tst-sysconf.c (posix_options): Only use
5334 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5335 _POSIX_SYNCHRONIZED_IO when they are defined
5336 * sysdeps/mach/hurd/bits/posix_opt.h:
5337 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5338 (_XOPEN_REALTIME): Undefine macro.
5339 (_XOPEN_REALTIME_THREADS): Undefine macro.
5340 (_XOPEN_SHM): Undefine macro.
5341 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5342 macro to -1.
5343 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5344 macro to -1.
5345 (_POSIX_ASYNC_IO): Undefine macro.
5346 (_POSIX_PRIORITIZED_IO): Undefine macro.
5347 (_POSIX_SPIN_LOCKS): Define macro to -1.
5348
ee16e894
ST
5349 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5350 SA_NODEFER, SA_RESETHAND.
5351 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5352 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5353 F_DUPFD_CLOEXEC.
5354
6103ae3b
TS
53552012-05-10 Thomas Schwinge <thomas@schwinge.name>
5356
5357 * elf/Makefile (pldd-modules): Define unconditionally.
5358
80b4e5f3
TS
53592012-05-10 Thomas Schwinge <thomas@schwinge.name>
5360
5361 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5362
edadcbd6
ST
53632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5364
5365 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5366 Return ENOENT when name is empty.
5367 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5368
80694780
TS
53692012-05-10 Thomas Schwinge <thomas@schwinge.name>
5370
1792c087
TS
5371 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5372
80694780
TS
5373 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5374
6b645f0d
ST
53752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5376
80694780
TS
5377 Fix mlock in all cases except non-readable pages.
5378 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5379 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5380
6b645f0d
ST
5381 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5382 (__mkdir): When path is `/', just fail with EEXIST.
5383 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5384
e468f8a3
TS
53852012-05-10 Thomas Schwinge <thomas@schwinge.name>
5386
5387 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5388 <sys/uio.h> (for writev).
5389 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5390 and <sys/param.h> (for MIN).
5391
a4186cff
PT
53922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5393
5394 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5395 REQUESTED_TIME. Properly set the remaining time and return EINTR
5396 if interrupted.
5397
510bbf14
TS
53982012-05-10 Thomas Schwinge <thomas@schwinge.name>
5399
5400 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5401 Depend on against $(link-rpcuserlibs).
5402
5d5722e8
ST
54032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5404
a4186cff
PT
5405 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5406 (__libc_stack_end): Do not use attribute_relro.
5407 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5408 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5409 to libthread-provided value.
a4186cff
PT
5410 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5411 attribute_relro.
5d5722e8 5412
37233df9
TS
54132012-05-10 Thomas Schwinge <thomas@schwinge.name>
5414
be971a2b
TS
5415 [BZ #3748]
5416 * bits/libc-lock.h (__libc_once_get): New macro.
5417 * sysdeps/mach/bits/libc-lock.h: Likewise.
5418 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5419 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5420 instead of using implementation details.
5421
37233df9
TS
5422 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5423 * libio/freopen.c: Likewise.
5424 * libio/freopen64.c: Likewise.
5425 * misc/syslog.c: Likewise.
5426 * nscd/connections.c: Likewise.
5427 * nscd/netgroupcache.c: Likewise.
5428 * sysdeps/posix/getcwd.c: Likewise.
5429
38de94a5
RM
54302012-05-10 Roland McGrath <roland@hack.frob.com>
5431
5432 * math/w_ilogbf.c: Add #include <limits.h>.
5433
67530489
ST
54342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5435
a4186cff 5436 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5437 path instead of returning without unlocking.
5438
67530489
ST
5439 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5440 immediate-write ioctls.
5441 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5442
5aa3a74a
TS
54432012-05-10 Thomas Schwinge <thomas@schwinge.name>
5444
18bad2ae
TS
5445 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5446 __builtin_frame_address instead of making assumptions about the
5447 location of the return address relative to DATA. Force early load of
5448 the return address.
5449 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5450 __builtin_frame_address.
5451
5aa3a74a
TS
5452 dup3 for GNU Hurd.
5453 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5454 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5455 implement dup3 and do some further code clean-ups.
5456 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5457 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5458
ecd0de9a
ST
54592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5460
cd9fa985
ST
5461 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5462
a4186cff
PT
5463 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5464 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5465 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5466 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5467 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5468 d->port.lock.
802ca5a5 5469
a4186cff
PT
5470 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5471 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5472 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5473
bcf55240
TS
54742012-05-10 Thomas Schwinge <thomas@schwinge.name>
5475
6960eb42
TS
5476 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5477 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5478 definitions.
5479
eb43375f
TS
5480 accept4 for GNU Hurd.
5481 * include/sys/socket.h (__libc_accept4): New prototype.
5482 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5483 to implement __libc_accept4.
5484 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5485 __libc_accept4.
5486 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5487
bcf55240
TS
5488 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5489 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5490 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5491 signal-defines.sym.
5492
6178c55b
ST
54932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5494
a4186cff 5495 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5496
6f080c2f
TS
54972012-05-10 Thomas Schwinge <thomas@schwinge.name>
5498
5499 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5500 assertion on O_CLOEXEC flag.
5501 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5502 * hurd/intern-fd.c: Likewise.
5503 * hurd/port2fd.c: Likewise.
5504
bcfe3a54
ST
55052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5506
5507 [BZ #3906]
5508 * bits/in.h (IPV6_PKTINFO): Define new macro.
5509 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5510
89c9aa49
AZ
55112012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5512
5513 [BZ #13954]
5514 [BZ #13955]
5515 [BZ #13956]
5516 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5518 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5521 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5522 * math/libm-test.inc (logb_test) : Additional logb tests.
5523
021db4be
AJ
55242012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5525 Andreas Jaeger <aj@suse.de>
5526
5527 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5528 * configure: Regenerated.
5529 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5530 * config.make.in (link-obsolete-rpc): New substituted variable.
5531 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5532 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5533 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5534 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5535 so that libc.a contains the symbols.
5536 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5537 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5538 * sunrpc/auth_none.c: Likewise.
5539 * sunrpc/auth_unix.c: Likewise.
5540 * sunrpc/authdes_prot.c: Likewise.
5541 * sunrpc/authuxprot.c: Likewise.
5542 * sunrpc/clnt_gen.c: Likewise.
5543 * sunrpc/clnt_perr.c: Likewise.
5544 * sunrpc/clnt_raw.c: Likewise.
5545 * sunrpc/clnt_simp.c: Likewise.
5546 * sunrpc/clnt_tcp.c: Likewise.
5547 * sunrpc/clnt_udp.c: Likewise.
5548 * sunrpc/clnt_unix.c: Likewise.
5549 * sunrpc/des_crypt.c: Likewise.
5550 * sunrpc/des_soft.c: Likewise.
5551 * sunrpc/get_myaddr.c: Likewise.
5552 * sunrpc/key_call.c: Likewise.
5553 * sunrpc/key_prot.c: Likewise.
5554 * sunrpc/netname.c: Likewise.
5555 * sunrpc/pm_getmaps.c: Likewise.
5556 * sunrpc/pm_getport.c: Likewise.
5557 * sunrpc/pmap_clnt.c: Likewise.
5558 * sunrpc/pmap_prot.c: Likewise.
5559 * sunrpc/pmap_prot2.c: Likewise.
5560 * sunrpc/pmap_rmt.c: Likewise.
5561 * sunrpc/publickey.c: Likewise.
5562 * sunrpc/rpc_cmsg.c: Likewise.
5563 * sunrpc/rpc_common.c: Likewise.
5564 * sunrpc/rpc_dtable.c: Likewise.
5565 * sunrpc/rpc_prot.c: Likewise.
5566 * sunrpc/rpc_thread.c: Likewise.
5567 * sunrpc/rtime.c: Likewise.
5568 * sunrpc/svc.c: Likewise.
5569 * sunrpc/svc_auth.c: Likewise.
5570 * sunrpc/svc_raw.c: Likewise.
5571 * sunrpc/svc_run.c: Likewise.
5572 * sunrpc/svc_tcp.c: Likewise.
5573 * sunrpc/svc_udp.c: Likewise.
5574 * sunrpc/svc_unix.c: Likewise.
5575 * sunrpc/svcauth_des.c: Likewise.
5576 * sunrpc/xcrypt.c: Likewise.
5577 * sunrpc/xdr.c: Likewise.
5578 * sunrpc/xdr_array.c: Likewise.
5579 * sunrpc/xdr_float.c: Likewise.
5580 * sunrpc/xdr_intXX_t.c: Likewise.
5581 * sunrpc/xdr_mem.c: Likewise.
5582 * sunrpc/xdr_rec.c: Likewise.
5583 * sunrpc/xdr_ref.c: Likewise.
5584 * sunrpc/xdr_sizeof.c: Likewise.
5585 * sunrpc/xdr_stdio.c: Likewise.
5586
b5c086a2
RM
55872012-05-10 Roland McGrath <roland@hack.frob.com>
5588
5589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5590 change. Update copyright years.
5591
6d74dd09
JM
55922012-05-10 Joseph Myers <joseph@codesourcery.com>
5593
5594 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5595
28e72501
MK
55962012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5597 Joseph Myers <joseph@codesourcery.com>
5598 Paul Pluzhnikov <ppluzhnikov@google.com>
5599
5600 [BZ #14012]
5601 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5602 requiring rpcgen.
5603 [cross-compiling] (extra-libs): Likewise.
5604 [cross-compiling] (extra-libs-others): Likewise.
5605 [cross-compiling] (librpcsvc-routines): Likewise.
5606 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5607 [cross-compiling] (omit-deps): Likewise.
5608 (sunrpc-CPPFLAGS): New variable.
5609 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5610 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5611 (cross-rpcgen-objs): New variable.
5612 (extra-objs): Append $(cross-rpcgen-objs).
5613 ($(cross-rpcgen-objs)): New rule.
5614 ($(objpfx)cross-rpcgen): Likewise.
5615 (rpcgen-cmd): Define to use $(built-program-file). Expand
5616 comment.
5617 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5618 ($(objpfx)x%.stmp): Likewise.
5619 * sunrpc/proto.h [IS_IN_build] (_): Define.
5620 [IS_IN_build] (_libc_intl_domainname): Likewise.
5621
c8c59454
L
56222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5623
5624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5625 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5626 and R_X86_64_TPOFF64.
5627
6f27cd16
JM
56282012-05-10 Joseph Myers <joseph@codesourcery.com>
5629
5630 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5631 sysdeps/unix/sysv/syscalls.list.
5632 (stime): Likewise.
5633 (utime): Likewise.
5634 * sysdeps/unix/sysv/syscalls.list: Remove file.
5635
02467e1c
PE
56362012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5637
5638 [BZ #3440]
5639 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5640 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5641 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5642 (__LC_IDENTIFICATION): Make these macros useful in #if
5643 expressions, as required by C99.
5644
da392631
AS
56452012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5646
5647 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5648 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5649 after this.
5650
8115f29b
L
56512012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5652
5653 * stdlib/longlong.h: Updated from GCC.
5654
bdd74070
AJ
56552012-05-09 Andreas Jaeger <aj@suse.de>
5656
edfe0dbe
AJ
5657 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5658 default is first entry.
5659 (run_mode): Set type.
5660 (main): Remove informal message about syslog.
5661 (options): Fix typo.
5662
bcfe3a54
ST
5663 [BZ #14053]
5664 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5665 to asm.
bcfe3a54
ST
5666 (lrint): Likewise.
5667 (llrintf): Likewise.
5668 (llrint): Likewise.
5669 (rint): Likewise.
5670 (rintf): Likewise.
5671 (nearbyint): Likewise.
5672 (nearbyintf): Likewise.
bdd74070 5673
91d8d69e
AJ
56742012-05-09 Andreas Jaeger <aj@suse.de>
5675 Pedro Alves <palves@redhat.com>
5676
5677 * nscd/nscd.c (run_mode): Use enum.
5678 (main): Cleanup coding style issue.
5679
bb90b80b
AJ
56802012-05-09 Alexandre Oliva <aoliva@redhat.com>
5681 Andreas Jaeger <aj@suse.de>
5682
bcfe3a54
ST
5683 * nscd/nscd.c (go_background): Replaced with...
5684 (run_mode): ... this.
bb90b80b 5685 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5686 (options): Add -F --foreground.
5687 (main): Implement it.
5688 (parse_opt): Parse it.
bb90b80b 5689
1a4b75a1
AJ
56902012-05-09 Andreas Jaeger <aj@suse.de>
5691
5692 [BZ #14083]
5693 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5694 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5695 -Wconversion warning.
5696 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5697 Likewise.
5698
b1cc2472
JM
56992012-05-09 Joseph Myers <joseph@codesourcery.com>
5700
5701 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5702 == 0.
5703 (LC_ALL): Use macro-int-constant.
5704 (LC_COLLATE): Likewise.
5705 (LC_CTYPE): Likewise.
5706 (LC_MESSAGES): Likewise.
5707 (LC_MONETARY): Likewise.
5708 (LC_NUMERIC): Likewise.
5709 (LC_TIME): Likewise.
5710 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5711 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5712 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5713 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5714 Specify type.
5715 [C99-based standards] (float_t): Expect type.
5716 [C99-based standards] (double_t): Expect type.
5717 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5718 type.
5719 [C99-based standards] (HUGE_VALL): Likewise.
5720 [C99-based standards] (INFINITY): Likewise.
5721 [C99-based standards] (NAN): Likewise.
5722 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5723 [C99-based standards] (FP_NAN): Likewise.
5724 [C99-based standards] (FP_NORMAL): Likewise.
5725 [C99-based standards] (FP_SUBNORMAL): Likewise.
5726 [C99-based standards] (FP_ZERO): Likewise.
5727 [C99-based standards] (FP_FAST_FMA): Use
5728 optional-macro-int-constant. Specify type. Require == 1.
5729 [C99-based standards] (FP_FAST_FMAF): Likewise.
5730 [C99-based standards] (FP_FAST_FMAL): Likewise.
5731 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5732 [C99-based standards] (FP_ILOGBNAN): Likewise.
5733 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5734 Specify type.
5735 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5736 [C99-based standards] (math_errhandling): Specify type.
5737 [ISO99 || ISO11] (signgam): Do not allow.
5738 [non-C99-based standards] (copysignf): Do not allow.
5739 [non-C99-based standards] (exp2f): Likewise.
5740 [non-C99-based standards] (log2f): Likewise.
5741 [non-C99-based standards] (modff): Allow.
5742 [non-C99-based standards] (erff): Do not allow.
5743 [non-C99-based standards] (erfcf): Likewise.
5744 [non-C99-based standards] (gammaf): Likewise.
5745 [non-C99-based standards] (hypotf): Likewise.
5746 [non-C99-based standards] (j0f): Likewise.
5747 [non-C99-based standards] (j1f): Likewise.
5748 [non-C99-based standards] (jnf): Likewise.
5749 [non-C99-based standards] (lgammaf): Likewise.
5750 [non-C99-based standards] (tgammaf): Likewise.
5751 [non-C99-based standards] (y0f): Likewise.
5752 [non-C99-based standards] (y1f): Likewise.
5753 [non-C99-based standards] (ynf): Likewise.
5754 [non-C99-based standards] (isnanf): Likewise.
5755 [non-C99-based standards] (acoshf): Likewise.
5756 [non-C99-based standards] (asinhf): Likewise.
5757 [non-C99-based standards] (atanhf): Likewise.
5758 [non-C99-based standards] (cbrtf): Likewise.
5759 [non-C99-based standards] (expm1f): Likewise.
5760 [non-C99-based standards] (ilogbf): Likewise.
5761 [non-C99-based standards] (log1pf): Likewise.
5762 [non-C99-based standards] (logbf): Likewise.
5763 [non-C99-based standards] (nextafterf): Likewise.
5764 [non-C99-based standards] (remainderf): Likewise.
5765 [non-C99-based standards] (rintf): Likewise.
5766 [non-C99-based standards] (scalbf): Likewise.
5767 [non-C99-based standards] (copysignl): Likewise.
5768 [non-C99-based standards] (exp2l): Likewise.
5769 [non-C99-based standards] (log2l): Likewise.
5770 [non-C99-based standards] (modfl): Allow.
5771 [non-C99-based standards] (erfl): Do not allow.
5772 [non-C99-based standards] (erfcl): Likewise.
5773 [non-C99-based standards] (gammal): Likewise.
5774 [non-C99-based standards] (hypotl): Likewise.
5775 [non-C99-based standards] (j0l): Likewise.
5776 [non-C99-based standards] (j1l): Likewise.
5777 [non-C99-based standards] (jnl): Likewise.
5778 [non-C99-based standards] (lgammal): Likewise.
5779 [non-C99-based standards] (tgammal): Likewise.
5780 [non-C99-based standards] (y0l): Likewise.
5781 [non-C99-based standards] (y1l): Likewise.
5782 [non-C99-based standards] (ynl): Likewise.
5783 [non-C99-based standards] (isnanl): Likewise.
5784 [non-C99-based standards] (acoshl): Likewise.
5785 [non-C99-based standards] (asinhl): Likewise.
5786 [non-C99-based standards] (atanhl): Likewise.
5787 [non-C99-based standards] (cbrtl): Likewise.
5788 [non-C99-based standards] (expm1l): Likewise.
5789 [non-C99-based standards] (ilogbl): Likewise.
5790 [non-C99-based standards] (log1pl): Likewise.
5791 [non-C99-based standards] (logbl): Likewise.
5792 [non-C99-based standards] (nextafterl): Likewise.
5793 [non-C99-based standards] (remainderl): Likewise.
5794 [non-C99-based standards] (rintl): Likewise.
5795 [non-C99-based standards] (scalbl): Likewise.
5796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5797 [non-C99-based standards] (FP_*): Do not allow.
5798 [C99-based standards] (FP_*): Change to
5799 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5800 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5801 allow.
5802 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5803 (SIG_ERR): Likewise.
5804 [X/Open-based standards] (SIG_HOLD): Likewise.
5805 (SIG_IGN): Likewise.
5806 (SIGABRT): Use macro-int-constant. Specify type. Require
5807 positive value.
5808 (SIGFPE): Likewise.
5809 (SIGILL): Likewise.
5810 (SIGINT): Likewise.
5811 (SIGSEGV): Likewise.
5812 (SIGTER): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5814 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5815 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5817 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5818 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5824 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5825 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5826 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5828 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5829 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5831 [X/Open-based standards] (SIGTRAP): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5836 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5837 allow.
5838
b9f1922d
IW
58392012-05-08 Ian Wienand <ianw@vmware.com>
5840
5841 [BZ #14080]
5842 * time/tzset.c (__tzset_parse_tz): Update default rules for
5843 daylight time changes in the Energy Policy Act of 2005.
5844
1db86e88
AJ
58452012-05-09 Andreas Jaeger <aj@suse.de>
5846
5847 [BZ #13983]
5848 * elf/ldconfig.c (parse_conf): Change string to make clear that
5849 ldconfig only issued a warning if ld.so.conf does not exist.
5850
dee4a4e3
DM
58512012-05-08 David S. Miller <davem@davemloft.net>
5852
ee0db190
DM
5853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5854 movxtod instead of popping the value on the stack.
5855
dee4a4e3
DM
5856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5857
6a43ec98
CD
58582012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5859
5860 * config.h.in: Add HAVE_ARM_PCS_VFP.
5861
05c2c961
RMG
58622012-05-08 Roland Mc Grath <roland@hack.frob.com>
5863
bcfe3a54
ST
5864 [BZ #13979]
5865 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5866 checking but the checks are disabled for any reason.
05c2c961 5867
4b30f61a
L
58682012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5869
5870 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5871 and ELF64_R_TYPE with ELFW(R_TYPE).
5872
eee2bc67
JM
58732012-05-08 Joseph Myers <joseph@codesourcery.com>
5874
7ea5391a
JM
5875 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5876 (ulimit): Likewise.
5877
eee2bc67
JM
5878 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5879 (settimeofday): Likewise.
5880
abb66a67
MF
58812012-05-08 Mike Frysinger <vapier@gentoo.org>
5882
5883 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5884 a struct th_u2 inside the union, and move tu_block/tu_code into
5885 a new th_u3 union of tu_block/tu_code inside of that. Move
5886 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5887 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5888 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5889 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5890 (th_stuff): Change to th_u1.tu_stuff.
5891 (th_data): Define.
5892 (th_msg): Change to th_u1.th_u2.tu_data.
5893
7f18b530
DM
58942012-05-07 David S. Miller <davem@davemloft.net>
5895
05760585
DM
5896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5897
7f18b530
DM
5898 [BZ #14074]
5899 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5900 (SETUP_PIC_REG): Use it.
5901 (SETUP_PIC_REG_LEAF): Use it.
5902
495fd99f
JM
59032012-05-07 Joseph Myers <joseph@codesourcery.com>
5904
5905 [BZ #13885]
5906 [BZ #13923]
5907 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5908 USE_AS_EXPM1L.
5909 (EXPL_FINITE): Likewise.
5910 (FLDLOG): Likewise.
5911 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5912 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5913 e_expl.S.
5914 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5915 USE_AS_EXPM1L.
5916 (EXPL_FINITE): Likewise.
5917 (FLDLOG): Likewise.
5918 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5919 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5920 e_expl.S.
5921 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5922 test of -max_value argument for long double.
5923 * sysdeps/i386/fpu/libm-test-ulps: Update.
5924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5925
6693d694
DM
59262012-05-06 David S. Miller <davem@davemloft.net>
5927
5928 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5929 quad soft-float symbols whose references which are compiler
5930 generated.
5931 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5932
6c23e11c
JM
59332012-05-06 Joseph Myers <joseph@codesourcery.com>
5934
d8b82cad
JM
5935 [BZ #13884]
5936 [BZ #13914]
5937 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5938 USE_AS_EXP10L.
5939 (EXPL_FINITE): Likewise.
5940 (FLDLOG): Likewise.
5941 (c0): Likewise.
5942 (c1): Likewise.
5943 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5944 Adjust comments for base varying.
5945 (__expl_finite): Change alias to EXPL_FINITE.
5946 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5947 e_expl.S.
5948 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5949 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5951 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5952 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5953 USE_AS_EXP10L.
5954 (EXPL_FINITE): Likewise.
5955 (FLDLOG): Likewise.
5956 (c0): Likewise.
5957 (c1): Likewise.
5958 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5959 Adjust comments for base varying.
5960 (__expl_finite): Change alias to EXPL_FINITE.
5961 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5962 tests for bugs.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5964
6c23e11c
JM
5965 [BZ #14064]
5966 * math/libm-test.inc (check_float_internal): Correct ulp
5967 calculation for subnormal expected results.
5968
29ba805c
AJ
59692012-05-06 Andreas Jaeger <aj@suse.de>
5970
5971 * Makeconfig (+math-flags): New, set to -frounding-math.
5972 (+cflags): Add +math-flags so that all of glibc gets compiled with
5973 it.
5974
5975 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5976
7b17aeda
JM
59772012-05-05 Joseph Myers <joseph@codesourcery.com>
5978
5779f134
JM
5979 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5980 Disable one test.
5981
41498f4d
JM
5982 [BZ #13787]
5983 [BZ #13922]
5984 [BZ #14036]
5985 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5986 (__ieee754_expl): Allow for and saturate large arguments.
5987 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5988 (u_threshold): Likewise.
5989 (__exp): Call __ieee754_exp before checking for overflow and
5990 underflow.
5991 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5992 (u_threshold): Likewise.
5993 (__expf): Call __ieee754_expf before checking for overflow and
5994 underflow.
5995 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5996 (u_threshold): Likewise.
5997 (__expl): Call __ieee754_expl before checking for overflow and
5998 underflow.
5999 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6000 (__ieee754_expl): Allow for and saturate large arguments.
6001 * math/libm-test.inc (exp_test): Add another test. Do not allow
6002 missing overflow exception on overflow.
6003 (expm1_test): Do not allow missing overflow exception on overflow.
6004
6698b8bf
JM
6005 * sysdeps/i386/fpu/e_expl.c: Move to ...
6006 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6007 rather than using inline asm.
6008 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6009 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6010 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6011
7b17aeda
JM
6012 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6013 (nice): Likewise.
6014 (poll): Likewise.
6015 (signal): Likewise.
6016 (time): Likewise.
6017 (times): Likewise.
6018
f7c85819
JM
60192012-05-04 Joseph Myers <joseph@codesourcery.com>
6020
6021 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6022 sysdeps/unix/common/syscalls.list.
6023 (fchmod): Likewise.
6024 (fchown): Likewise.
6025 (ftruncate): Likewise.
6026 (getrusage): Likewise.
6027 (gettimeofday): Likewise.
6028 (setpgid): Likewise.
6029 (setregid): Likewise.
6030 (setreuid): Likewise.
6031 (sigaction): Likewise.
6032 (truncate): Likewise.
6033 (vhangup): Likewise.
6034 * sysdeps/unix/common/syscalls.list: Remove file.
6035 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6036 * sysdeps/unix/sysv/linux/Implies: Likewise.
6037
336270d0
L
60382012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6039
6040 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6042 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6043 Moved to ...
6044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6045 Here.
6046 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6047 to ...
6048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6049 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6050 to ...
6051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6052 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6053 to ...
6054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6055 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6056 to ...
6057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6058 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6059 to ...
6060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6061 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6062 to ...
6063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6064 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6065 to ...
6066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6067 Here.
6068 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6069 to ...
6070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6071 Here.
6072 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6073 to ...
6074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6075 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6076 Moved to ...
6077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6078 Here.
6079 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6080 to ...
6081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6082
d128e450
JM
60832012-05-04 Joseph Myers <joseph@codesourcery.com>
6084
fa8ee516
JM
6085 * sysdeps/unix/common/bits/dirent.h: Remove file.
6086 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6087
d128e450
JM
6088 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6089 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6090 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6091 * sysdeps/unix/bsd/isatty.c: Likewise.
6092 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6093 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6094 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6095
ff8faaf0 60962012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6097
62881be4 6098 [BZ #13563]
31dc8730
AZ
6099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6100 long double comparison inaccuracies.
6101 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6103
6fef930c
AS
61042012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6105
6106 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6107 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6108
8f203e6c
JM
61092012-05-04 Joseph Myers <joseph@codesourcery.com>
6110
6111 [BZ #14049]
6112 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6113 nonzero digits before rounding a hex value.
6114 * stdlib/tst-strtod.c (tests): Add another test.
6115
5197d9c2
AK
61162012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6117
6118 * sysdeps/s390/fpu/libm-test-ulps: Update.
6119
f0c1dedf
AJ
61202012-05-03 Andreas Jaeger <aj@suse.de>
6121
6122 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6123 does not get optimized out.
6124 (malloc_opt_barrier): New.
6125
a65ef2ae 61262012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6127 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6128
2b942cb7 6129 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6130 intermediate file deletion.
2b942cb7 6131 (generated): Add .symlist files.
a65ef2ae 6132
54b71e02
JM
61332012-05-03 Joseph Myers <joseph@codesourcery.com>
6134
6135 [BZ #13775]
6136 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6137 Redirect under this condition.
6138 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6139 [__USE_GNU] (__dprintf_chk): Not under this condition.
6140 [__USE_GNU] (__vdprintf_chk): Likewise.
6141 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6142 under this condition.
6143 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6144 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6145 [__USE_XOPEN2K8] (vdprintf): Likewise.
6146 [__USE_GNU] (__dprintf_chk): Not under this condition.
6147 [__USE_GNU] (__vdprintf_chk): Likewise.
6148 [__USE_GNU] (dprintf): Likewise.
6149 [__USE_GNU] (vdprintf): Likewise.
6150
d3dfcc41
RM
61512012-05-03 Roland McGrath <roland@hack.frob.com>
6152
6153 * elf/Makefile (common-generated): Set this instead of generated for
6154 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6155 $(all-built-dso)-derived lists.
6156
7ac30cc5
AJ
61572012-05-03 Andreas Jaeger <aj@suse.de>
6158
0c51e550
AJ
6159 * sysdeps/i386/fpu/libm-test-ulps: Update.
6160
7ac30cc5
AJ
6161 * FAQ: Removed.
6162 * FAQ.in: Likewise.
6163 * scripts/gen-FAQ.pl: Likewise.
6164 * manual/install.texi (Installation): Point to online location of
6165 FAQ.
6166 * Makefile (files-for-dist): Remove FAQ.
6167 (FAQ): Remove.
6168
d4c2917f
AM
61692012-05-02 Allan McRae <allan@archlinux.org>
6170
6171 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6172 (LDFLAGS-reldepmod5.so): Likewise.
6173 (LDFLAGS-reldep6mod1.so): Likewise.
6174 (LDFLAGS-reldep6mod4.so): Likewise.
6175 (LDFLAGS-reldep8mod3.so): Likewise.
6176 (LDFLAGS-unload4mod1.so): Likewise.
6177 (LDFLAGS-unload4mod2.so): Likewise.
6178 (LDFLAGS-tst-initorder): Likewise.
6179 (LDFLAGS-tst-initordera2.so): Likewise.
6180 (LDFLAGS-tst-initordera3.so): Likewise.
6181 (LDFLAGS-tst-initordera4.so): Likewise.
6182 (LDFLAGS-tst-initorderb2.so): Likewise.
6183 (LDFLAGS-noload): Likewise.
6184 (LDFLAGS-next): Likewise.
6185 (LDFLAGS-order2mod1.so): Likewise.
6186 (LDFLAGS-order2mod2.so): Likewise.
6187 (LDFLAGS-tst-initorder2): Likewise.
6188 (LDFLAGS-tst-initorder2a.so): Likewise.
6189 (LDFLAGS-tst-initorder2b.so): Likewise.
6190 (LDFLAGS-tst-initorder2c.so): Likewise.
6191 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6192
d77f993f
DM
61932012-05-02 David S. Miller <davem@davemloft.net>
6194
6195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6196
171a70b4
PP
61972012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6198
6199 [BZ #14055]
6200 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6201
0be196ad
AJ
62022012-05-02 Andreas Jaeger <aj@suse.de>
6203
6204 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6205 since we manipulate rounding mode.
6206 (CPPFLAGS-test-idouble.c): Likewise.
6207 (CPPFLAGS-test-ifloat.c): Likewise.
6208 (CFLAGS-test-ldouble.c): Likewise.
6209 (CFLAGS-test-double.c): Likewise.
6210 (CFLAGS-test-float.c): Likewise.
6211 (CFLAGS-test-misc.c): Likewise.
6212 (CFLAGS-test-test-fenv.c): Likewise.
6213
4f9d04aa
AZ
62142012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215
2b942cb7
RM
6216 [BZ #2550]
6217 [BZ #2570]
6218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6219 comparisons to determine direction to adjust input.
4f9d04aa 6220
82a79e7d
RM
62212012-05-01 Roland McGrath <roland@hack.frob.com>
6222
f5a01ca9
RM
6223 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6224 output to the target.
6225
90fe4186
RM
6226 * scripts/localplt.awk: New file.
6227 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6228 (check-localplt-CFLAGS): Variable removed.
6229 ($(all-built-dso:=.jmprel)): New static pattern rule.
6230 (generated): Add those targets.
6231 (localplt-built-dso): New variable.
6232 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6233
6234 * elf/check-localplt.c: File removed.
6235
82397ed6
RM
6236 * scripts/check-execstack.awk: New file.
6237 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6238 (check-execstack-CFLAGS): Variable removed.
6239 ($(objpfx)check-execstack.h): Target removed.
6240 ($(objpfx)execstack-default): New target.
6241 (generated): Add that instead of check-execstack.h.
6242 ($(all-built-dso:=.phdr)): New static pattern rule.
6243 (generated): Add those targets.
6244 * elf/check-execstack.c: File removed.
6245
82a79e7d
RM
6246 * scripts/check-textrel.awk: New file.
6247 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6248 (check-textrel-CFLAGS): Variable removed.
6249 (all-built-dso): Use := to define.o
6250 ($(all-built-dso:=.dyn)): New static pattern rule.
6251 (generated): Add those targets.
6252 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6253 * config.make.in (READELF): New substituted variable.
6254 * elf/check-textrel.c: File removed.
6255
62fde54f 62562012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6257
615605c9
JM
6258 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6259 allow.
6260 * conform/data/ctype.h-data [C99-based standards] (isblank):
6261 Expect function.
6262 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6263 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6264 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6265 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6266 Specify type. Require positive value.
6267 (EILSEQ): Likewise.
6268 (ERANGE): Likewise.
6269 [ISO || POSIX] (EILSEQ): Do not expect.
6270 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6271 Specify type. Require positive value.
6272 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6273 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6274 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6275 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6276 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6277 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6278 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6279 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6280 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6281 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6282 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6283 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6284 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6285 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6286 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6287 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6288 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6289 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6290 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6291 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6292 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6293 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6294 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6295 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6296 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6297 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6298 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6299 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6300 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6301 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6302 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6303 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6304 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6305 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6306 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6307 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6308 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6309 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6310 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6311 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6312 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6313 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6314 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6315 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6316 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6317 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6318 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6319 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6320 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6321 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6322 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6323 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6324 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6325 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6326 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6327 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6328 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6329 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6330 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6331 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6332 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6333 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6334 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6335 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6336 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6337 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6338 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6339 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6340 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6341 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6342 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6343 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6344 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6345 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6346 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6347 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6348 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6349 Require >= 2.
6350 (FLT_ROUNDS): Expect as macro, not constant.
6351 (FLT_MANT_DIG): Use macro-int-constant.
6352 (DBL_MANT_DIG): Likewise.
6353 (LDBL_MANT_DIG): Likewise.
6354 (FLT_DIG): Likewise.
6355 (DBL_DIG): Likewise.
6356 (LDBL_DIG): Likewise.
6357 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6358 (DBL_MIN_EXP): Likewise.
6359 (LDBL_MIN_EXP): Likewise.
6360 (FLT_MAX_EXP): Use macro-int-constant.
6361 (DBL_MAX_EXP): Likewise.
6362 (LDBL_MAX_EXP): Likewise.
6363 (FLT_MAX_10_EXP): Likewise.
6364 (DBL_MAX_10_EXP): Likewise.
6365 (LDBL_MAX_10_EXP): Likewise.
6366 (FLT_MAX): Use macro-constant.
6367 (DBL_MAX): Likewise.
6368 (LDBL_MAX): Likewise.
6369 (FLT_EPSILON): Use macro-constant. Give upper bound.
6370 (DBL_EPSILON): Likewise.
6371 (LDBL_EPSILON): Likewise.
6372 (FLT_MIN): Likewise.
6373 (DBL_MIN): Likewise.
6374 (LDBL_MIN): Likewise.
6375 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6376 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6377 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6378 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6379 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6380 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6381 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6382 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6383 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6384 [ISO11] (FLT_TRUE_MIN): Likewise.
6385 [ISO11] (LDBL_TRUE_MIN): Likewise.
6386 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6387 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6388 (SCHAR_MIN): Use macro-int-constant. Specify type.
6389 (SCHAR_MAX): Likewise.
6390 (UCHAR_MAX): Likewise.
6391 (CHAR_MIN): Likewise.
6392 (CHAR_MAX): Likewise.
6393 (MB_LEN_MAX): Use macro-int-constant.
6394 (SHRT_MIN): Use macro-int-constant. Specify type.
6395 (SHRT_MAX): Likewise.
6396 (USHRT_MAX): Likewise.
6397 (INT_MAX): Likewise.
6398 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6399 bound negative.
6400 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6401 bound with "U".
6402 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6403 bound with "L".
6404 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6405 bound negative. Suffix upper bound with "L".
6406 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6407 bound with "UL".
6408 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6409 Specify type.
6410 [C99-based standards] (LLONG_MAX): Likewise.
6411 [C99-based standards] (ULLONG_MAX): Likewise.
6412 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6413 == 0.
6414 [ISO11] (max_align_t): Require type.
6415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6416
c9140a62
JM
6417 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6418 from $CFLAGS, without defining away __attribute__ calls.
6419 (checknamespace): Use $CFLAGS_namespace.
6420
9af0bf29
JM
6421 * conform/conformtest.pl (@keywords): Only include C99 keywords
6422 for standards based on C99 or C11.
6423
343222a2
JM
6424 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6425 Disable tests.
6426 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6427 UNIX98]: Likewise.
6428
661f8cf0
JM
6429 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6430 usability of symbols in #if.
6431
ee74b9cb
JM
6432 * conform/conformtest.pl: If macro or constant types start
6433 "promoted:", expect the symbol to be of the following type
6434 promoted by the integer promotions.
62fde54f 6435
aafc49b3
JM
6436 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6437 in one place. Also handle "macro-constant".
6438
fefdf574
JM
6439 * conform/conformtest.pl: Only accept expected macro values with
6440 "==". Parse all "macro" lines in one place.
6441 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6442
f2d922fe
JM
6443 * conform/conformtest.pl: Handle braced types on "constant" lines
6444 instead of handling "typed-constant".
6445 * conform/data/signal.h-data: Use "constant" instead of
6446 "typed-constant".
6447
d22956c9
JM
6448 * conform/conformtest.pl: Handle "optional-" at start of lines in
6449 one place rather than duplicating several cases. Handle each
6450 format of "macro" line with initial "optional-".
6451
028e2e38
JM
6452 * conform/conformtest.pl: Only accept expected constant or
6453 optional-constant values with "==". Parse all "constant" lines in
6454 one place. Parse all "optional-constant" lines in one place.
6455 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6456 * conform/data/fmtmsg.h-data: Likewise.
6457 * conform/data/netinet/in.h-data: Likewise.
6458 * conform/data/tar.h-data: Likewise.
6459 * conform/data/limits.h-data: Use "==" form on "constant" and
6460 "optional-constant" lines.
6461
1b8f2850
JM
6462 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6463 Use -std=c99 for XOPEN2K.
6464 (@knownproblems): Remove.
6465 (newtoken): Don't check %isknown.
6466
a05a144b
JM
6467 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6468 Do not expect macro.
6469 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6470 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6471 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6481 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6482 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6499 [XPG3] (acosh): Likewise.
6500 [XPG3] (asinh): Likewise.
6501 [XPG3] (atanh): Likewise.
6502 [XPG3] (cbrt): Likewise.
6503 [XPG3] (expm1): Likewise.
6504 [XPG3] (ilogb): Likewise.
6505 [XPG3] (log1p): Likewise.
6506 [XPG3] (logb): Likewise.
6507 [XPG3] (nextafter): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6510 [XPG3] (remainder): Likewise.
6511 [XPG3] (rint): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6519 [UNIX98 || XOPEN2K] (scalb): Expect.
6520 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6521 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6545 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6546 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6547 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6550 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6551 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6566 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6568 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6574 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6575 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6577 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6583 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6584 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6585 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6589 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6590 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6591 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6592 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6593 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6605 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6606 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6607 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6608 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6610 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6611 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6612 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6613 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6618 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6619 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6623 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6624 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6626 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6627 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6628 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6629 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6630 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6631 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6632 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6633 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6634 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6635 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6643 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6644 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6645 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6646 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6647 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6651 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6657
73c5ebe3
JM
6658 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6659 _XOPEN_SOURCE_EXTENDED for XPG4.
6660
39c33b6c
JM
6661 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6662
62fde54f
JM
6663 * Makeconfig (localtime): Remove variable.
6664 (inst_localtime-file): Likewise.
6665
0741d64c
AS
66662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6667
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6669 Update.
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6671 Update.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6673 Update.
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6675 Update.
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6677 Update.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6679 Update.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6681 Update.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6683 Update.
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6685 Update.
6686
7cb029ee
JM
66872012-05-01 Joseph Myers <joseph@codesourcery.com>
6688
6689 [BZ #2550]
6690 [BZ #2570]
6691 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6692 comparisons to determine direction to adjust input.
6693 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6694 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6696 Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6698 Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6700 Likewise.
6701 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6702 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6703 Likewise.
6704 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6705 Likewise.
6706 * math/libm-test.inc (nexttoward_test): Add more tests.
6707
412bd966
AS
67082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6709
6710 [BZ #14040]
6711 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6712 in version GLIBC_2.1, not GLIBC_2.0.
6713 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6714 Likewise.
6715
9568c0c2
JM
67162012-04-30 Joseph Myers <joseph@codesourcery.com>
6717
adfbc8ac
JM
6718 [BZ #13942]
6719 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6720 (1 - x) * (1 + x).
6721 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6722 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6723 * math/libm-test.inc (acos_test): Add more tests.
6724 (asin_test): Likewise.
6725 * sysdeps/i386/fpu/libm-test-ulps: Update.
6726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6727
5ba3cc69
JM
6728 [BZ #14034]
6729 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6730 of square root.
6731 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6732 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6733 * math/libm-test.inc (acos_test_tonearest): New function.
6734 (acos_test_towardzero): Likewise.
6735 (acos_test_downward): Likewise.
6736 (acos_test_upward): Likewise.
6737 (asin_test_tonearest): Likewise.
6738 (asin_test_towardzero): Likewise.
6739 (asin_test_downward): Likewise.
6740 (asin_test_upward): Likewise.
6741 (main): Call the new functions.
6742 * sysdeps/i386/fpu/libm-test-ulps: Update.
6743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6744
9568c0c2
JM
6745 [BZ #13884]
6746 [BZ #13924]
6747 * math/e_exp10.c: Include <float.h>.
6748 (__ieee754_exp10): Handle underflow here rather than multiplying
6749 large negative argument by M_LN10.
6750 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6751 of __ieee754_expf.
6752 * math/e_exp10l.c: Include <float.h>.
6753 (__ieee754_exp10l): Handle underflow here rather than multiplying
6754 large negative argument by M_LN10l.
6755 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6756 spurious overflow exception on underflow.
6757
5ac3ea17
MP
67582012-04-29 Marek Polacek <polacek@redhat.com>
6759
6760 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6761 (__fortify_function): New macro.
6762 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6763 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6764 __extern_always_inline.
6765 * libio/bits/stdio2.h: Likewise.
6766 * libio/bits/stdio.h: Likewise.
6767 * string/string.h: Likewise.
6768 * string/bits/string3.h: Likewise.
6769 * include/stdio.h: Likewise.
6770 * stdlib/bits/stdlib.h: Likewise.
6771 * stdlib/stdlib.h: Likewise.
6772 * rt/bits/mqueue2.h: Likewise.
6773 * rt/mqueue.h: Likewise.
6774 * posix/bits/unistd.h: Likewise.
6775 * posix/unistd.h: Likewise.
6776 * io/bits/poll2.h: Likewise.
6777 * io/bits/fcntl2.h: Likewise.
6778 * io/fcntl.h: Likewise.
6779 * io/sys/poll.h: Likewise.
6780 * misc/bits/syslog.h: Likewise.
6781 * misc/bits/syslog-ldbl.h: Likewise.
6782 * misc/sys/syslog.h: Likewise.
6783 * socket/bits/socket2.h: Likewise.
6784 * socket/sys/socket.h: Likewise.
6785 * debug/tst-chk1.c: Likewise.
6786 * wcsmbs/bits/wchar2.h: Likewise.
6787 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6788 * wcsmbs/wchar.h: Likewise.
6789
ecf0ebfb
AJ
67902012-04-29 Andreas Jaeger <aj@suse.de>
6791
6792 * Makerules (tests): Remove enable-check-abi protection.
6793 (check-abi-warn): Remove.
6794 (check-abi-%): Remove check-abi-warn usage.
6795
6796 * configure.in: Remove check-abi configure option.
6797 * configure: Regenerated.
6798 * config.make.in (enable-check-abi): Remove.
6799
6d5c57fa
AS
68002012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6801
24c5d07e 6802 [BZ #14033]
ded5180a
AS
6803 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6804 double functions to double *_finite functions.
6805
7e0d315d
AS
6806 [BZ #13941]
6807 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6808 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6809 LDBL_MIN_EXP.
6810 * stdio-common/Makefile (tests): Add tst-sprintf3.
6811 * stdio-common/tst-sprintf3.c: New file.
6812
6d5c57fa
AS
6813 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6814 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6815
0749ff8b
JM
68162012-04-28 Joseph Myers <joseph@codesourcery.com>
6817
6818 * conform/conformtest.pl: Remove duplicate typed-constant
6819 handling.
6820
8dbd5d7b
DM
68212012-04-28 David S. Miller <davem@davemloft.net>
6822
6823 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6824 (check-abi-%): Remove AWK script prerequisite and explicit
6825 abilist directory.
6826 (check-abi): Rewrite to just diff the symlist with the abilist.
6827 (config-tls, config-abi-config): Delete, no longer used.
6828 (update-abi-%): Remove AWK script and explicit abilist directory.
6829 (update-abi): Rewrite to simply compare and conditionally copy the
6830 symlist and the sysdep abilist file. Remove update-abi-config
6831 checks.
6832 * abilist/ld.abilist: Remove.
6833 * abilist/libBrokenLocale.abilist: Remove.
6834 * abilist/libanl.abilist: Remove.
6835 * abilist/libcrypt.abilist: Remove.
6836 * abilist/libdl.abilist: Remove.
6837 * abilist/librt.abilist: Remove.
6838 * abilist/libthread_db.abilist: Remove.
6839 * abilist/libutil.abilist: Remove.
6840 * scripts/extract-abilist.awk: Remove.
6841 * scripts/merge-abilist.awk: Remove.
6842 * sysdeps/generic/libcidn.abilist: New file.
6843 * sysdeps/generic/libnss_compat.abilist: New file.
6844 * sysdeps/generic/libnss_db.abilist: New file.
6845 * sysdeps/generic/libnss_dns.abilist: New file.
6846 * sysdeps/generic/libnss_files.abilist: New file.
6847 * sysdeps/generic/libnss_hesiod.abilist: New file.
6848 * sysdeps/generic/libnss_nis.abilist: New file.
6849 * sysdeps/generic/libnss_nisplus.abilist: New file.
6850 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6851 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6852 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6853 file.
6854 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6855 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6856 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6857 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6858 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6859 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6860 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6861 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6862 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6863 file.
6864 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6865 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6866 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6867 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6868 file.
6869 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6870 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6871 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6872 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6873 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6874 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6875 file.
6876 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6877 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6878 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6879 file.
6880 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6882 New file.
6883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6884 New file.
6885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6886 New file.
6887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6888 New file.
6889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6890 New file.
6891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6892 New file.
6893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6894 New file.
6895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6896 New file.
6897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6898 New file.
6899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6900 New file.
6901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6902 New file.
6903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6904 New file.
6905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6906 New file.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6908 file.
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6910 New file.
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6912 New file.
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6914 file.
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6916 New file.
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6918 New file.
6919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6920 file.
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6922 New file.
6923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6924 New file.
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6926 New file.
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6928 New file.
6929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6930 New file.
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6932 New file.
6933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6935 file.
6936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6937 New file.
6938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6939 file.
6940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6941 file.
6942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6943 file.
6944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6945 file.
6946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6947 file.
6948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6949 New file.
6950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6951 file.
6952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6953 file.
6954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6955 New file.
6956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6957 file.
6958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6960 file.
6961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6962 New file.
6963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6964 file.
6965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6966 file.
6967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6968 file.
6969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6970 file.
6971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6972 file.
6973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6974 New file.
6975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6976 file.
6977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6978 file.
6979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6980 New file.
6981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6982 file.
6983 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6984 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6985 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6986 file.
6987 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6988 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6989 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6990 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6991 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6992 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6993 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6994 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6995 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6996 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6999 file.
7000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7001 New file.
7002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7003 file.
7004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7005 file.
7006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7007 file.
7008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7009 file.
7010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7011 file.
7012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7013 New file.
7014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7015 New file.
7016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7017 file.
7018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7019 New file.
7020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7021 file.
7022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7024 file.
7025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7026 New file.
7027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7028 file.
7029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7030 file.
7031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7032 file.
7033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7034 file.
7035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7036 file.
7037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7038 New file.
7039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7040 New file.
7041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7042 file.
7043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7044 New file.
7045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7046 file.
7047
41d73a1b
JM
70482012-04-28 Joseph Myers <joseph@codesourcery.com>
7049
7050 * conform/conformtest.pl: Fix typo in handling typed-constant from
7051 allow-header.
7052
28aeeda4
JM
70532012-04-27 Joseph Myers <joseph@codesourcery.com>
7054
adae8f5e
JM
7055 * README: Cut down references to pre-2.6 Linux kernels and
7056 Linuxthreads. Update lists of configurations in libc and ports
7057 and sort alphabetically. Say "or newer" with Linux kernel version
7058 requirements.
7059
28aeeda4
JM
7060 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7061
a462cb63
RA
70622012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7063
7064 [BZ #887]
7065 * math/libm-test.inc (logb_test_downward): New test to expose
7066 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7067 rounding mode.
7068
6ad3493e
JM
70692012-04-27 Joseph Myers <joseph@codesourcery.com>
7070
7071 [BZ #14027]
7072 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7073 to be done.
7074 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7075 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7076
2ce4f015
JM
70772012-04-26 Joseph Myers <joseph@codesourcery.com>
7078
5aeb141a
JM
7079 * sysdeps/unix/i386/brk.S: Remove file.
7080 * sysdeps/unix/i386/dl-brk.S: Likewise.
7081 * sysdeps/unix/i386/pipe.S: Likewise.
7082 * sysdeps/unix/i386/sigreturn.S: Likewise.
7083 * sysdeps/unix/i386/syscall.S: Likewise.
7084 * sysdeps/unix/i386/vfork.S: Likewise.
7085 * sysdeps/unix/i386/wait.S: Likewise.
7086
7143acae
JM
7087 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7088 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7089
2ce4f015
JM
7090 * configure.in (arm*-none*): Do not allow without
7091 --enable-hacker-mode.
7092 (netbsd*): Remove case setting base_os.
7093 (386bsd*): Likewise.
7094 (freebsd*): Likewise.
7095 (bsdi*): Likewise.
7096 (osf*): Likewise.
7097 (sunos*): Likewise.
7098 (ultrix*): Likewise.
7099 (newsos*): Likewise.
7100 (dynix*): Likewise.
7101 (*bsd*): Likewise.
7102 (sysv*): Likewise.
7103 (isc*): Likewise.
7104 (esix*): Likewise.
7105 (sco*): Likewise.
7106 (minix*): Likewise.
7107 (irix4*): Likewise.
7108 (irix6*): Likewise.
7109 (solaris[2-9]*): Likewise.
7110 (none): Likewise.
7111 * configure: Regenerated.
7112
0ac229c8
AZ
71132012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7114
7115 [BZ #11521]
7116 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7117 overflow or cancellation in calculating denominator.
7118 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7119 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7120 down expression to avoid unexpected rounding in newer GCCs.
7121 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7122
33f244f4
DM
71232012-04-26 David S. Miller <davem@davemloft.net>
7124
7125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7126 long-double compat symbols.
7127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7140
cfa1f3e8
DM
71412012-04-25 David S. Miller <davem@davemloft.net>
7142
7143 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7144 HWCAP_* values only after the memory barriers have been defined.
7145 (atomic_full_barrier): Define.
7146 (atomic_read_barrier): Define.
7147 (atomic_write_barrier): Define.
7148
6e236b92
SP
71492012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7150
7151 * shlib-versions: Add libgcc_s version information.
7152 * sysdeps/generic/libgcc_s.h: Remove.
7153 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7154 libgcc_s.h.
7155 * sysdeps/gnu/unwind-resume.c: Likewise.
7156 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7157
aab39a09
DM
71582012-04-25 David S. Miller <davem@davemloft.net>
7159
7160 * sysdeps/unix/sparc/brk.S: Delete.
7161 * sysdeps/unix/sparc/dl-brk.S: Delete.
7162 * sysdeps/unix/sparc/pipe.S: Delete.
7163 * sysdeps/unix/sparc/sysdep.S: Delete.
7164 * sysdeps/unix/sparc/sysdep.h: Delete.
7165 * sysdeps/unix/sparc/vfork.S: Delete.
7166 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7167 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7168 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7169 ret_ERRVAL, r0, r1, MOVE): Define.
7170 (JUMPTARGET): Remove.
7171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7172 sysdeps/unix/sparc/sysdep.h
7173 (ENTRY, END): Remove.
7174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7175
a3cc4f48
JM
71762012-04-25 Joseph Myers <joseph@codesourcery.com>
7177
2ed8cda2
JM
7178 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7179 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7180 -DIS_IN_build.
7181
35d76d59
JM
7182 * timezone/README: Update upstream location and email address for
7183 tzcode and tzdata.
7184 * timezone/zdump.c: Update from tzcode 2012b.
7185 * timezone/zic.c: Likewise.
7186
a3cc4f48
JM
7187 * configure.in (libc_cv_as_needed): Remove test.
7188 * configure: Regenerated.
7189 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7190 conditional definition.
7191 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7192 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7193 * config.make.in (have-as-needed): Remove variable.
7194
ceab42c3
SP
71952012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7196 Paul Pluzhnikov <ppluzhnikov@google.com>
7197
7198 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7199 strings correctly.
7200
3ce2865f
CLT
72012012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7202
7203 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7204 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7205 * sysdeps/sh/strlen.S: Likewise.
7206
f37e0d68
JM
72072012-04-24 Joseph Myers <joseph@codesourcery.com>
7208
ae186e9a
JM
7209 * sysdeps/unix/fork.S: Remove file.
7210 * sysdeps/unix/i386/fork.S: Likewise.
7211 * sysdeps/unix/sparc/fork.S: Likewise.
7212
b96914af
JM
7213 * sysdeps/unix/system.c: Remove file.
7214 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7215
f37e0d68
JM
7216 * sysdeps/unix/getegid.S: Remove file.
7217 * sysdeps/unix/geteuid.S: Likewise.
7218
87ef29ca
RM
72192012-04-24 Roland McGrath <roland@hack.frob.com>
7220
83bcd236
RM
7221 * scripts/check-localplt.awk: New file.
7222 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7223 of diff.
7224 * scripts/data/localplt-generic.data: Add a comment.
7225
87ef29ca
RM
7226 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7227 NODE when __dir_mkfile failed.
7228 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7229 Reported by Ludovic Courtès <ludo@gnu.org>.
7230
e5a6e567
AJ
72312012-04-24 Andreas Jaeger <aj@suse.de>
7232
7233 * Makerules (common-clean): Also remove gen-as-const-headers
7234 files.
7235
c1820385
JM
72362012-04-24 Joseph Myers <joseph@codesourcery.com>
7237
7238 * Makerules (native-compile): Do not change working directory for
7239 build. Use $(OUTPUT_OPTION) in command.
7240 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7241
94e02fc4
AZ
72422012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7243
7244 [BZ #13886]
7245 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7246 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7247 * math/libm-test.inc (floor_test): Add more tests.
7248 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7249
3a533ca3
JM
72502012-04-24 Joseph Myers <joseph@codesourcery.com>
7251
940ab4b3
JM
7252 * sysdeps/unix/getdents.c: Remove file.
7253 * sysdeps/unix/sysv/getdents.c: Likewise.
7254 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7255
90e037bd
JM
7256 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7257 sysdeps/unix/mman/syscalls.list.
7258 (mmap): Likewise.
7259 (mprotect): Likewise.
7260 (msync): Likewise.
7261 (munmap): Likewise.
7262 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7263 * sysdeps/unix/mman/syscalls.list: Remove.
7264 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7265
3a533ca3
JM
7266 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7267 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7268 * configure: Regenerated.
7269 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7270 $(libgcc_s_suffix).
7271 * config.make.in (libgcc_s_suffix): Remove variable.
7272
1ad743de
JM
72732012-04-23 Joseph Myers <joseph@codesourcery.com>
7274
4ad451e2
JM
7275 * sysdeps/unix/sysv/gethostname.c: Move to ...
7276 * sysdeps/posix/gethostname.c: ... here.
7277
5e37ce39
JM
7278 * sysdeps/unix/execve.S: Remove file.
7279
1ad743de
JM
7280 * sysdeps/unix/_exit.S: Remove file.
7281
4e681b5b
AJ
72822012-04-23 Andreas Jaeger <aj@suse.de>
7283
7284 [BZ #13739]
7285 * manual/Makefile: Remove make dist support, there's no
7286 need for a stand-alone documentation tar ball.
7287 (TEXI2DVI): Define always, it's not in Makeconfig.
7288 (dist): Removed.
7289 (tar-it): Removed.
7290 (edition): Removed.
7291 (glibc-doc-$(edition).tar): Removed
7292 (%.Z): Removed.
7293 (%.gz): Removed.
7294 (%.uu): Removed.
7295 (ETAGS): Remove, it's in Makeconfig.
7296 (move-if-change): Remove, it's in Makeconfig.
7297
c0baea34
PE
72982013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7299
7300 [BZ #13970]
7301 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7302 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7303 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7304 (strtod_l, strtof_l, strtold_l): Remove __wur.
7305 It is not necessarily an error to ignore strtol's return value.
7306 One can reliably look at the stored endptr to decide whether
7307 the number had valid syntax.
7308
7c0616fa
AJ
73092012-04-21 Andreas Jaeger <aj@suse.de>
7310
803cb6b7 7311 [BZ #13739]
7c0616fa
AJ
7312 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7313
b0fe253f
JM
73142012-04-21 Joseph Myers <joseph@codesourcery.com>
7315
7316 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7317 * sysdeps/unix/sysv/Versions: Remove file.
7318
8280f22d
MT
73192012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7320
7321 [BZ #13927]
7322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7323
75ce411f 73242012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7325
7326 [BZ #7064]
7327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7328 version from __vm86.
7329
097d59fa
JM
73302012-04-20 Joseph Myers <joseph@codesourcery.com>
7331
a90f3bcb
JM
7332 * sysdeps/unix/common/lxstat.c: Remove file.
7333 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7334
edc7ea78
JM
7335 * sysdeps/unix/sysv/Makefile: Remove file.
7336
cb78c221
JM
7337 * sysdeps/unix/sysv/direct.h: Remove file.
7338
efa6a45f
JM
7339 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7340 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7341 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7342 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7343 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7344 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7345 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7346
9c9f2d0c
JM
7347 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7348
4541c83b
JM
7349 * sysdeps/unix/xmknod.c: Remove file.
7350 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7351
f5d153a0
JM
7352 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7353
aa746595
JM
7354 * sysdeps/unix/sysv/i386/time.S: Remove file.
7355
cce5905e
JM
7356 * sysdeps/unix/fxstat.c: Remove file.
7357 * sysdeps/unix/xstat.c: Likewise.
7358 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7359
37fa3841
JM
7360 * sysdeps/unix/sysv/sigaction.c: Remove file.
7361
ff1962a3
JM
7362 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7363 (sysdep_headers): Remove variable.
7364 [termio.h not in sysdep_headers] (generated): Likewise.
7365 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7366 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7367 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7368 * sysdeps/unix/sysv/tcflow.c: Likewise.
7369 * sysdeps/unix/sysv/tcflush.c: Likewise.
7370 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7371 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7372 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7373 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7374 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7375
e7740d31
JM
7376 * sysdeps/unix/siglist.c: Remove file.
7377
ee06f18b
JM
7378 * sysdeps/unix/getppid.S: Remove file.
7379
097d59fa
JM
7380 * sysdeps/unix/mkdir.c: Remove file.
7381 * sysdeps/unix/rmdir.c: Likewise.
7382
ff3d51ec
AS
73832012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7384
7385 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7386 ERR_MAX value.
7387 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7388 errlist-compat value.
7389
50f81fd7
DM
73902012-04-18 David S. Miller <davem@davemloft.net>
7391
7392 * sysdeps/generic/memcopy.h (reg_char): Delete.
7393 * debug/strcat_chk.c: Use char, not reg_char.
7394 * debug/strcpy_chk.c: Likewise.
7395 * debug/strncat_chk.c: Likewise.
7396 * debug/strncpy_chk.c: Likewise.
7397 * string/memchr.c: Likewise.
7398 * string/memrchr.c: Likewise.
7399 * string/rawmemchr.c: Likewise.
7400 * string/strcat.c: Likewise.
7401 * string/strchr.c: Likewise.
7402 * string/strchrnul.c: Likewise.
7403 * string/strcmp.c: Likewise.
7404 * string/strcpy.c: Likewise.
7405 * string/strncat.c: Likewise.
7406 * string/strncmp.c: Likewise.
7407 * string/strncpy.c: Likewise.
7408
8ff41c46
WS
74092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7410
7411 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7412 __builtin_memcopy is called when src and dest ranges are known to not
7413 overlap.
7414
6b652f46
WS
74152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7416
7417 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7418 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7419 fwd_align_merge macro call.
7420 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7421 bwd_align_merge macro call.
7422 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7423
b282631e
WS
74242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7425
7426 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7427 bwd_align_merge macros.
7428 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7429 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7430 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7431
95aa737c
DM
74322012-04-18 David S. Miller <davem@davemloft.net>
7433
7434 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7435
7a99a614
AJ
74362012-04-18 Andreas Jaeger <aj@suse.de>
7437
7438 [BZ# 6794]
7439 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7440 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7441 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7442
7443 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7444 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7445 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7446
7447 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7448 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7449 Adjust for changed ldbl-128 files.
7450
7451 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7452 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7453 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7454
e5270c23
DM
74552012-04-17 David S. Miller <davem@davemloft.net>
7456
7457 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7458
fb5e92c9
AS
74592012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7460
7461 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7462 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7463 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7464 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7465 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7466 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7467
76da7265
AZ
74682012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7469
7470 [BZ #6794]
7471 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7472 * math/libm-test.inc: Add ilogb errno and exception tests.
7473 * math/w_ilogb.c: New file: ilogb wrapper.
7474 * math/w_ilogbf.c: New file: ilogbf wrapper.
7475 * math/w_ilogbl.c: New file: ilogbl wrapper.
7476 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7477 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7478 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7479 exception being thrown with 0.0 as argument.
7480 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7481 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7482 exception being thrown with 0.0 as argument.
7483 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7484 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7485 exception being thrown with 0.0 as argument.
7486 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7487 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7488 exception being thrown with 0.0 as argument.
7489 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7490 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7491 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7492 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7493 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7494 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7495 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7496 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7497 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7498
0396e69d
PB
74992012-04-17 Petr Baudis <pasky@ucw.cz>
7500
7501 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7502 with altivec.
7503
750b5926
MP
75042012-04-16 Marek Polacek <polacek@redhat.com>
7505
7506 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7507
751728a1
MP
75082012-04-16 Marek Polacek <polacek@redhat.com>
7509
7510 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7511 operands of fdivp instruction.
7512
34a27407
L
75132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7514
7515 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7516 * elf/tst-auditmod3b.c: Likewise.
7517 * elf/tst-auditmod4b.c: Likewise.
7518 * elf/tst-auditmod5b.c: Likewise.
7519 * elf/tst-auditmod6b.c: Likewise.
7520 * elf/tst-auditmod6c.c: Likewise.
7521 * elf/tst-auditmod7b.c: Likewise.
7522 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7523 * sysdeps/x86_64/preconfigure.in: Likewise.
7524 * sysdeps/x86_64/preconfigure: Regenerated.
7525
7e73e17d
L
75262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7527
7528 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7529 __ILP32__.
7530
c7a6ab72
AB
75312012-04-13 Antoine Balestrat <merkil33@gmail.com>
7532
7533 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7534 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7535
a9e8e0e0
CL
75362012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7537
7538 [BZ #13973]
7539 * locale/iso-639.def: Fix gl language name. Spotted by
7540 Yaron Shahrabani.
7541
ec98af7d
RM
75422012-04-12 Roland McGrath <roland@hack.frob.com>
7543
7544 [BZ #2074]
7545 * libio/libio.h (__io_write_fn): Update comment.
7546
247c3ede
PB
75472012-04-12 Petr Baudis <pasky@ucw.cz>
7548
7549 [BZ #2074]
7550 * stdio.texi (Hook Functions): The user provided writer function
7551 is not allowed to return -1.
7552
55939d6d
DM
75532012-04-11 David S. Miller <davem@davemloft.net>
7554
7555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7556
90020f5a
MF
75572012-04-11 Mike Frysinger <vapier@gentoo.org>
7558
7559 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7560 Add a leading slash to rtkaio.
7561
288f9098
JM
75622012-04-11 Jim Meyering <meyering@redhat.com>
7563
90020f5a
MF
7564 [BZ #11959]
7565 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7566 It is not necessarily an error to ignore fwrite's return
7567 value. One can reliably use ferror to test for errors after
7568 the fact.
288f9098 7569
4be2b570
L
75702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7571
7572 * bits/types.h (__snseconds_t): New type.
7573 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7574
7575 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7577 (__SNSECONDS_T_TYPE): Likewise.
7578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7579 (__SNSECONDS_T_TYPE): Likewise.
7580 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7581 (__SNSECONDS_T_TYPE): Likewise.
7582
288f9098 75832012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7584
7585 [BZ #2636]
7586 * manual/time.texi (Processor Time): Return type of times is
7587 elapsed real time since an arbitrary point in the past.
7588 (CPU Time): Move CLK_TCK from here...
7589 (Processor Time): ...to here. Correct description.
7590 * manual/conf.texi (Constants for Sysconf): Correct description of
7591 _SC_CLK_TCK.
7592
d7dd4413
DM
75932012-04-10 David S. Miller <davem@davemloft.net>
7594
7595 [BZ #13967]
7596 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7597 where the is a gap between DT_REL(A) and DT_JMPREL.
7598
b46068fc
L
75992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7602 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7603 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7604
73d65cc3
SP
76052012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7606
7607 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7608 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7609 (dl_main): Handle --inhibit-cache.
7610 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7611 _dl_inhibit_cache.
7612 * elf/dl-load.c (_dl_map_object): Use it.
7613 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7614
bcc8d661
JM
76152012-04-09 Joseph Myers <joseph@codesourcery.com>
7616
8f9a2fae
JM
7617 [BZ #13872]
7618 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7619 (__ieee754_powl): Saturate large exponents rather than testing for
7620 overflow of y*log2(x).
7621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7622 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7623 exceptions.
7624
bcc8d661
JM
7625 [BZ #11521]
7626 * math/s_ctan.c: Include <float.h>.
7627 (__ctan): Avoid internal overflow or cancellation in calculating
7628 denominator.
7629 * math/s_ctanf.c: Likewise.
7630 * math/s_ctanl.c: Likewise.
7631 * math/s_ctanh.c: Likewise.
7632 * math/s_ctanhf.c: Likewise.
7633 * math/s_ctanhl.c: Likewise.
7634 * math/libm-test.inc (ctan_test): Add more tests.
7635 (ctanh_test): Likewise.
7636 * sysdeps/i386/fpu/libm-test-ulps: Update.
7637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7638
823fbbb4
AJ
76392012-04-09 Andreas Jaeger <aj@suse.de>
7640
03879793
AJ
7641 [BZ #6894]
7642 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7643 is an optional BSD extension.
7644
823fbbb4
AJ
7645 [BZ #10254]
7646 * manual/stdio.texi (Opening Streams): Document additional fopen
7647 parameters.
7648
8de131cb
RM
76492012-04-09 Roland McGrath <roland@hack.frob.com>
7650
7651 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7652 %eax without telling the compiler.
7653
c0ed9d7d
CD
76542012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7655
7656 [BZ # 13963]
7657 * manual/install.texi: Use sourceware.org.
7658
c483f6b4
JM
76592012-04-09 Joseph Myers <joseph@codesourcery.com>
7660
d7dd9453
JM
7661 [BZ #13873]
7662 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7663 (__ieee754_pow): Generate overflow and underflow using huge*huge
7664 and tiny*tiny rather than just returning constant infinity or zero
7665 for large exponents.
7666 * math/libm-test.inc (pow_test): Require overflow exceptions for
7667 applicable cases of large exponents.
7668
c483f6b4
JM
7669 [BZ #706]
7670 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7671 (__ieee754_pow): Use iterative multiplication algorithm only for
7672 integer exponents with absolute value below 1024. Check for odd
7673 integer exponents when using algorithm for real exponents.
7674 * math/libm-test.inc (pow_test): Add more tests.
7675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7676
d2de7579
JM
76772012-04-08 Joseph Myers <joseph@codesourcery.com>
7678
7679 [BZ #13705]
7680 * math/libm-test.inc (exp_test): Do not allow overflow exception
7681 on underflow test.
7682
f77f1232
AJ
76832012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7684
7685 [BZ #13705]
7686 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7687 instead of __kernel_standard_f.
7688
3884932b
MF
76892012-04-08 Mike Frysinger <vapier@gentoo.org>
7690
7691 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7692 * sysdeps/x86_64/memset_chk.S: Likewise.
7693
54472e9c
AJ
76942012-04-08 Andreas Jaeger <aj@suse.de>
7695
6ab0fbfc
AJ
7696 [BZ #10153]
7697 * manual/startup.texi (Environment Access): Describe return value
7698 for putenv and setenv.
7699
61efba8c
AJ
7700 [BZ #6895]
7701 * manual/filesys.texi (Directory Entries): Add description for
7702 DT_LNK.
7703
95c3f29a
AJ
7704 [BZ #6890]
7705 * manual/filesys.texi (Directory Entries): Clarify that it's file
7706 system not operating system in the description of DT_UNKNOWN.
7707
54472e9c
AJ
7708 [BZ #6578]
7709 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7710
624254b1
SC
77112012-04-08 Stephen Compall <s11@member.fsf.org>
7712
7713 [BZ #6649]
7714 * manual/llio.texi (Opening and Closing Files): Add cross
7715 reference to explain mode argument.
7716
1e4920e0
MF
77172012-04-07 Mike Frysinger <vapier@gentoo.org>
7718
7719 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7720 * sysdeps/x86_64/memset_chk.S: Likewise.
7721
5ed848f3
DM
77222012-04-07 David S. Miller <davem@davemloft.net>
7723
7724 * elf/elf.h (R_SPARC_WDISP10): Define.
7725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7726 R_SPARC_SIZE32.
7727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7728 R_SPARC_SIZE64 and R_SPARC_H34.
7729
96154cd8
CD
77302012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7731
7732 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7733 conditions and remove no longer applicable assertion.
7734
9904dc47
L
77352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7736
7737 * bits/byteswap.h: Include <features.h>.
7738 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7739 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7740
f8887d0a
L
77412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7742
7743 * bits/byteswap.h (__bswap_16): Removed.
7744 Include <bits/byteswap-16.h> to get __bswap_16.
7745 * sysdeps/i386/bits/byteswap.h: Likewise.
7746 * sysdeps/s390/bits/byteswap.h: Likewise.
7747 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7748 * bits/byteswap-16.h: New file.
7749 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7750 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7751 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7752 * string/Makefile (headers): Add bits/byteswap-16.h.
7753
62470f60
PP
77542012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7755
7756 [BZ #13895]
7757 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7758 extra indirection.
7759 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7760 * nss/tst-nss-static.c: New.
7761
4dad7bab
RM
77622012-04-06 Robert Millan <rmh@gnu.org>
7763
7764 [BZ #6486]
7765 * manual/llio.texi (File Position Primitive): lseek
7766 refers to WHENCE when it really means OFFSET.
7767
e9142a17
AJ
77682012-04-06 Andreas Jaeger <aj@suse.de>
7769
2c040eff
AJ
7770 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7771 strncmp declarations.
7772
e9142a17
AJ
7773 * abilist/libc.abilist: Add __poll and __ppoll.
7774
ff9f1c5f
DM
77752012-04-05 David S. Miller <davem@davemloft.net>
7776
dcd2ae90
DM
7777 * scripts/check-local-headers.sh: Accept a host triplet in the
7778 path matched by the exclude regexp.
7779
993eb054
DM
7780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7781 definition.
7782 * sysdeps/powerpc/powerpc32/dl-machine.h
7783 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7784 * sysdeps/s390/s390-32/dl-machine.h
7785 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7786 * sysdeps/sparc/sparc32/dl-machine.h
7787 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7788 * sysdeps/sparc/sparc64/dl-machine.h
7789 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7790
ff9f1c5f
DM
7791 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7792 lazy binding.
48e2e132 7793 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7794 undefined symbol errors.
7795
48e2e132 7796 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7797 DT_NEEDED entries.
7798
e80d6f94
MM
77992012-04-05 Michael Matz <matz@suse.de>
7800
7801 [BZ #13592]
7802 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7803
349fa79f
AJ
78042012-04-05 Andreas Jaeger <aj@suse.de>
7805
7806 [BZ #13908]
7807 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7808 comment.
7809
f402708f
KK
78102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7811
7812 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7813 which ROUND is no valid rounding mode.
7814
2ecccfc9
KK
78152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7816
7817 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7818 read again.
7819 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7820
8a53f50f
KK
78212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7822
7823 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7824 an exception using FPU order intentionally.
7825
78262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7827
7828 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7829 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7830 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7831 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7832
d653abb7
SJ
78332012-04-05 Simon Josefsson <simon@josefsson.org>
7834
7835 [BZ #12340]
7836 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7837 EINVAL when BUFLEN is too smal.
7838
c3b1bf7d
TS
78392012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7840
7841 [BZ #13553]
7842 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7843 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7844
b1aa60f3
AJ
78452012-04-03 Andreas Jaeger <aj@suse.de>
7846
c3b1bf7d 7847 [BZ #13938]
67f60a26
AJ
7848 * manual/setjmp.texi (System V contexts): Fix sentence.
7849
b1aa60f3
AJ
7850 [BZ #13926]
7851 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7852 New macro for this case.
7853 [!__GNUC__] (__bswap_64): New inline function for this case.
7854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7855 * bits/byteswap.h: Likewise.
7856 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7857 ull, guard with __GLIBC_HAVE_LONG_LONG.
7858
7859 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7860 __GLIBC_HAVE_LONG_LONG.
7861
7862 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7863 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7864
39c59c35
TMQMF
78652012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7866
7867 [BZ #13691]
7868 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7869 inptr and inend, rather than using last_ch.
7870
135ffda8
DM
78712012-04-02 David S. Miller <davem@davemloft.net>
7872
7873 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7874 * stdio-common/printf-parse.h (read_int): Change return type to
7875 'int', return -1 on INT_MAX overflow.
7876 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7877 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7878 overflows INT_MAX. Check for overflow of in-format-string precision
7879 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7880 SIZE_MAX not INT_MAX for integer overflow test.
7881 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7882 skip the construct in the format string but do not record anything.
7883 * stdio-common/bug22.c: Adjust to test both width/prevision
7884 INT_MAX overflow as well as total length INT_MAX overflow. Check
7885 explicitly for proper errno values.
7886
228c019e
TS
78872012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7888
302cadd3
TS
7889 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7890 CHAR_MAX.
7891 * string/test-strcmp.c [! WIDE]: Likewise.
7892 * time/tst-mktime2.c: Likewise for INT_MAX.
7893 * string/test-string.h: #include <sys/param.h> for MIN.
7894
228c019e
TS
7895 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7896 * sysdeps/i386/init-first.c (init): Likewise.
7897 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7898 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7899 * sysdeps/sh/init-first.c (init): Likewise.
7900
cfa633f5
UD
79012012-04-01 Ulrich Drepper <drepper@gmail.com>
7902
7903 * po/ru.po: Update from translation team.
d1635ef8 7904 * po/vi.po: Likewise.
cfa633f5 7905
6cd0a5ea
SP
79062012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7907
7908 * resolv/nss_dns/dns-host.c: Merge copyright years.
7909
4b43400f
LD
79102012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7911
7912 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7913 Optimize memcpy with prefetch if
7914 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7915 src, dst pointers have unequal 16 byte alignments.
7916
48c41d04
SP
79172012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7918
7919 [BZ #13928]
7920 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7921 from a CNAME entry and return the minimum ttl for the query.
7922 (gaih_getanswer_slice): Likewise.
7923
b8dc394d
JL
79242012-03-30 Jeff Law <law@redhat.com>
7925
7926 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7927 due to long keys.
7928 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7929 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7930
2f5a5ed0
JL
7931 * resolv/nss_dns/dns-host.c: Update copyright year.
7932
1d39e359
UD
79332012-03-30 Ulrich Drepper <drepper@gmail.com>
7934
c030f70c 7935 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7936 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7937
1d39e359
UD
7938 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7939 comments for sendmmsg.
7940
79412012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7942
7943 [BZ #13691]
7944 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7945 with only 1 character between 0x0041 and 0x01b0.
7946 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7947 * wcsmbs/tst-mbsnrtowcs.c: New file.
7948
20fde227
DM
79492012-03-29 David S. Miller <davem@davemloft.net>
7950
7951 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7952 small copies by hand.
7953
984a4237
JL
79542012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7955
7956 [BZ #13761]
7957 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7958 _nss_compat_initgroups_dyn): Fall back to malloc/free
7959 for large group memberships.
7960
18c9d62b
DM
79612012-03-28 David S. Miller <davem@davemloft.net>
7962
88d85d4f
DM
7963 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7964 that branches into memcpy.
7965 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7966 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7968 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7970 bits.
7971 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7972 implementation too.
7973 * sysdeps/sparc/mempcpy.S: New file.
7974
e5aa83e1
DM
7975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7976 the IFUNC routine in the libc case.
7977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7978
88570753
DM
7979 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7980 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7981 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7982 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7983 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7984 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7985 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7986 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7987
249d7567
DM
7988 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7989 loop to 256 bytes instead of 64 bytes and fix test signedness.
7990
18c9d62b
DM
7991 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7992 * sysdeps/sparc/sparc32/Makefile: rather than here...
7993 * sysdeps/sparc/sparc64/Makefile: and here.
7994
05f3d1f6
UD
79952012-03-28 Ulrich Drepper <drepper@gmail.com>
7996
7997 * malloc/mallocbug.c: Avoid warnings about unused variables.
7998
86ae07a8
JL
79992012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8000
8001 [BZ #13760]
8002 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8003 in the right place. Discard and retry query if response is
8004 larger than input buffer size.
8005
41bf21a1
JM
80062012-03-28 Joseph Myers <joseph@codesourcery.com>
8007
d6270972
JM
8008 [BZ #369]
8009 [BZ #2678]
8010 [BZ #3866]
8011 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8012 x for large integer exponent.
8013 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8014 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8015 sign of result as needed afterwards.
8016 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8017 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8018 result for underflowing pow the same as for overflow.
8019 (__kernel_standard_l): Handle powl overflow and underflow here
8020 rather than calling __kernel_standard.
8021 * math/libm-test.inc (pow_test): Add more tests.
8022
414fca03 8023 [BZ #3868]
41bf21a1
JM
8024 [BZ #13879]
8025 [BZ #13910]
8026 [BZ #13911]
8027 [BZ #13912]
8028 [BZ #13913]
8029 [BZ #13915]
8030 [BZ #13916]
8031 [BZ #13917]
8032 [BZ #13918]
8033 [BZ #13919]
8034 [BZ #13920]
8035 [BZ #13921]
8036 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8037 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8038 (__kernel_standard_l): New function.
8039 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8040 __kernel_standard.
8041 * math/w_acosl.c (__acosl): Likewise.
8042 * math/w_asinl.c (__asinl): Likewise.
8043 * math/w_atan2l.c (__atan2l): Likewise.
8044 * math/w_atanhl.c (__atanhl): Likewise.
8045 * math/w_coshl.c (__coshl): Likewise.
8046 * math/w_exp10l.c (__exp10l): Likewise.
8047 * math/w_exp2l.c (__exp2l): Likewise.
8048 * math/w_fmodl.c (__fmodl): Likewise.
8049 * math/w_hypotl.c (__hypotl): Likewise.
8050 * math/w_j0l.c (__j0l, __y0l): Likewise.
8051 * math/w_j1l.c (__j1l, __y1l): Likewise.
8052 * math/w_jnl.c (__jnl, __ynl): Likewise.
8053 * math/w_lgammal.c (__lgammal): Likewise.
8054 * math/w_log10l.c (__log10l): Likewise.
8055 * math/w_log2l.c (__log2l): Likewise.
8056 * math/w_logl.c (__logl): Likewise.
8057 * math/w_powl.c (__powl): Likewise.
8058 * math/w_remainderl.c (__remainderl): Likewise.
8059 * math/w_scalbl.c (sysv_scalbl): Likewise.
8060 * math/w_sinhl.c (__sinhl): Likewise.
8061 * math/w_sqrtl.c (__sqrtl): Likewise.
8062 * math/w_tgammal.c (__tgammal): Likewise.
8063 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8064 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8065 * math/libm-test.inc (acos_test): Add more tests.
8066 (acosh_test): Likewise.
8067 (asin_test): Likewise.
8068 (atanh_test): Likewise.
8069 (exp_test): Likewise.
8070 (exp10_test): Likewise.
8071 (exp2_test): Likewise.
8072 (expm1_test): Likewise.
8073 (lgamma_test): Likewise.
8074 (log_test): Likewise.
8075 (log10_test): Likewise.
8076 (log1p_test): Likewise.
8077 (log2_test): Likewise.
8078 (pow_test): Do not allow some spurious overflow exceptions.
8079 (sqrt_test): Add more tests.
8080 (tgamma_test): Likewise.
8081 (y0_test): Likewise.
8082 (y1_test): Likewise.
8083 (yn_test): Likewise.
8084
dd62fda6
AB
80852012-03-27 Anton Blanchard <anton@samba.org>
8086
8087 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8088 MAP_HUGETLB.
8089 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8090 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8092
1e3cdfda
AJ
80932012-03-27 David S. Miller <davem@davemloft.net>
8094
b855ab85
DM
8095 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8096
1e3cdfda
AJ
8097 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8098 have-as-vis3 check.
8099
81002012-03-27 Andreas Jaeger <aj@suse.de>
8101
8102 * sysdeps/x86_64/elf/configure.in: Moved to ...
8103 * sysdeps/x86_64/configure.in: ... here.
8104 * sysdeps/x86_64/elf/start.S: Moved to ...
8105 * sysdeps/x86_64/start.S: ... here.
8106 * sysdeps/x86_64/elf/configure: Delete.
8107
8108 * sysdeps/x86_64/configure.in: Merge contents from
8109 sysdeps/i386/configure.in (without i686 check).
8110
8111 * sysdeps/i386/elf/Versions: Merge into ...
8112 * sysdeps/i386/Versions: ... this.
8113 * sysdeps/i386/elf/Versions: Delete file.
8114 * sysdeps/i386/elf/start.S: Moved to ...
8115 * sysdeps/i386/start.S: ...here.
8116 * sysdeps/i386/elf/configure.in: Merge into...
8117 * sysdeps/i386/configure.in: ...here.
8118 * sysdeps/i386/elf/configure.in: Delete file.
8119 * sysdeps/i386/elf/configure: Delete file.
8120
8121 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8122 * debug/backtracesyms.c: ... here.
8123 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8124 * debug/backtracesymsfd.c: ... here.
8125 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8126 * sysdeps/generic/ifunc-sel.h: ... here.
8127
8128 * sysdeps/unix/i386/start.c: Delete file.
8129 * sysdeps/unix/sparc/start.c: Delete file.
8130 * sysdeps/unix/start.c: Delete file.
8131
8132 * sysdeps/sh/elf/configure.in: Moved to ...
8133 * sysdeps/sh/configure.in: ... here.
8134 * sysdeps/sh/elf/start.S: Moved to ...
8135 * sysdeps/sh/start.S: ... here.
8136 * sysdeps/sh/elf/configure: Delete file.
8137
8138 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8139 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8140 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8141 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8142 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8143 * sysdeps/powerpc/powerpc64/start.S: here.
8144 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8145 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8146 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8147 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8148 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8149
8150 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8151 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8152 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8153 * sysdeps/powerpc/powerpc32/start.S: ... here.
8154 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8155 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8156 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8157
8158 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8159 * sysdeps/powerpc/ifunc-sel.h: ... here.
8160 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8161 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8162
8163 * sysdeps/sparc/elf/configure.in: Moved to ...
8164 * sysdeps/sparc/configure.in: ... here.
8165 * sysdeps/sparc/elf/configure: Delete file.
8166 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8167 * sysdeps/sparc/sparc32/start.S: ... here.
8168 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8169 * sysdeps/sparc/sparc64/start.S: ... here.
8170 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8171 * sysdeps/sparc/sparc32/Makefile: ... this.
8172 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8173 * sysdeps/sparc/sparc64/Makefile: ... this.
8174
8175 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8176 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8177 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8178 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8179 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8180 * sysdeps/s390/s390-32/setjmp.S: ... here.
8181 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8182 * sysdeps/s390/s390-32/configure.in: ... here.
8183 * sysdeps/s390/s390-32/elf/configure: Delete file.
8184 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8185 * sysdeps/s390/s390-32/start.S: ... here.
8186
8187 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8188 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8189 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8190 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8191 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8192 * sysdeps/s390/s390-64/setjmp.S: ... here.
8193 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8194 * sysdeps/s390/s390-64/configure.in: ... here
8195 * sysdeps/s390/s390-64/elf/configure: Delete file.
8196 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8197 * sysdeps/s390/s390-64/start.S: ... here.
8198 * sysdeps/s390/s390-64/elf/configure: Delete.
8199
8200 * configure.in: Remove support for elf directories in sysdeps.
8201
8202 * configure: Regenerated.
8203 * sysdeps/i386/configure: Regenerated.
8204 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8205 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8206 * sysdeps/s390/s390-32/configure: Regenerated.
8207 * sysdeps/s390/s390-64/configure: Regenerated.
8208 * sysdeps/sh/configure: Regenerated.
8209 * sysdeps/sparc/configure: Regenerated.
8210 * sysdeps/x86_64/configure: Regenerated.
8211
a3f61311
AS
82122012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8213
c876e002
AS
8214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8215
a3f61311
AS
8216 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8217 denormal result into account.
8218
ac4c54f0
RM
82192012-03-25 Roland McGrath <roland@hack.frob.com>
8220
8221 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8222 Reported by Allan McRae <allan@archlinux.org>.
8223
6a9b9c02
JL
82242012-03-23 Jeff Law <law@redhat.com>
8225
8226 * nss/getnssent.c (__nss_getent): Fix typo.
8227
4c42a0c1
DM
82282012-03-23 David S. Miller <davem@davemloft.net>
8229
8230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8231
1532c7ac
L
82322012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8233
8234 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8235 to pad to uint64_t for each field.
8236 (dl_tls_index): Replace unsigned long with uint64_t.
8237
3ff42526
PP
82382012-03-23 Daniel Jacobowitz <dmj@google.com>
8239 Paul Pluzhnikov <ppluzhnikov@google.com>
8240
8241 [BZ #6528]
8242 * grp/Makefile (otherlibs): Don't set it.
8243 * inet/Makefile (otherlibs): Likewise.
8244 * login/Makefile (otherlibs): Likewise.
8245 * nscd/Makefile (otherlibs): Likewise.
8246 * posix/Makefile (otherlibs): Likewise.
8247 * pwd/Makefile (otherlibs): Likewise.
8248 * rt/Makefile (otherlibs): Likewise.
8249 * sunrpc/Makefile (otherlibs): Likewise.
8250 * nss/Makefile (otherlibs): Likewise.
8251 Add libnss_files to routines and static-only-routines.
8252 ($(objpfx)getent): Remove rule.
8253 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8254 static-only-routines.
8255
7c69cd14
JM
82562012-03-22 Joseph Myers <joseph@codesourcery.com>
8257
8258 [BZ #13892]
8259 * math/s_cexp.c: Include <float.h>.
8260 (__cexp): Handle exp result overflowing not necessarily
8261 overflowing both real and imaginary parts of result.
8262 * math/s_cexpf.c: Likewise.
8263 * math/s_cexpl.c: Likewise.
8264 * math/libm-test.inc (cexp_test): Add more tests.
8265 * sysdeps/i386/fpu/libm-test-ulps: Update.
8266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8267
81b035fe
L
82682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8269
8270 * include/link.h (ELFW): New macro.
8271 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8272 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8273
1da7940c
L
82742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8275
8276 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8277 with uint64_t.
8278
b749dbb9
L
82792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8282 declaration.
8283 (struct La_x32_retval): Likewise.
8284
2ff87f3f
L
82852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8286
8287 * sysdeps/x86_64/preconfigure.in: New file.
8288 * sysdeps/x86_64/preconfigure: New generated file.
8289
c0df8e69
JM
82902012-03-22 Joseph Myers <joseph@codesourcery.com>
8291
48e44791
JM
8292 [BZ #13824]
8293 * math/e_exp2l.c: Include <float.h>.
8294 (__ieee754_exp2l): Handle overflow and underflow cases
8295 separately. Only pass fractional part of argument to
8296 __ieee754_expl.
8297 * math/libm-test.inc (exp2_test): Add more tests.
8298
c0df8e69
JM
8299 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8300 negating x to take absolute value.
8301 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8302 Likewise.
8303 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8304 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8305 Likewise.
8306 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8307 computing low part if x was negated.
8308 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8309
c8e43ba7
L
83102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8311
8312 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8313 la_x32_gnu_pltexit.
8314 (pltexit): Cast int_retval to ptrdiff_t.
8315 * elf/tst-auditmod3b.c: Likewise.
8316 * elf/tst-auditmod4b.c: Likewise.
8317 * elf/tst-auditmod5b.c: Likewise.
8318 * elf/tst-auditmod6b.c: Likewise.
8319 * elf/tst-auditmod6c.c: Likewise.
8320 * elf/tst-auditmod7b.c: Likewise.
8321
8322 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8323 and x32_gnu_pltexit.
8324
8325 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8326 __ELF_NATIVE_CLASS.
8327 (La_x32_regs): New macro.
8328 (La_x32_retval): Likewise.
8329 (la_x32_gnu_pltenter): New function prototype.
8330 (la_x32_gnu_pltexit): Likewise.
8331
7998fa78
AS
83322012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8333
dcb33988
AS
8334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8335 exponent.
8336
233fc563
AS
8337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8338
7998fa78
AS
8339 * configure.in (libc_cv_cc_nofma): Check for option to disable
8340 generation of FMA instructions.
8341 * configure: Regenerate.
8342 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8343 * sysdeps/ieee754/dbl-64/Makefile: New file.
8344 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8345 Remove brandred-fma4.
8346 (CFLAGS-brandred-fma4.c): Remove.
8347 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8348 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8349 define.
8350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8351 define.
8352
8e95c99a
L
83532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8354
8355 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8356 LLONG_MAX != LONG_MAX.
8357 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8358 (_fitoa_word): Likewise.
8359 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8360 LLONG_MAX != LONG_MAX.
8361 * stdio-common/_itowa.h: Include <_itoa.h>.
8362 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8363 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8364 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8365 only if not defined.
8366 (_ITOA_WORD_TYPE): Likewise.
8367 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8368 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8369
6f4db457
DM
83702012-03-21 David S. Miller <davem@davemloft.net>
8371
8372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8373
7785fe5a
L
83742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8375
8376 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8377 of x86_64 when setting libc_cv_slibdir, libdir and
8378 libc_cv_localedir.
8379 * sysdeps/unix/sysv/linux/configure: Regenerated.
8380
4535cd55
JM
83812012-03-21 Joseph Myers <joseph@codesourcery.com>
8382
8383 * manual/lang.texi (Old Varargs): Remove section.
8384 (How Variadic): Update menu.
8385 (va_start): Do not mention varargs.h.
8386
17228132
TS
83872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8388 Joseph Myers <joseph@codesourcery.com>
8389
8390 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8391 link test.
8392 * configure: Regenerated.
8393
8149f976
TS
83942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8395
05f3d1f6
UD
8396 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8397 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8398 conformtest.pl
8149f976 8399
1a4ac776
JM
84002012-03-21 Joseph Myers <joseph@codesourcery.com>
8401
be22ce65
JM
8402 * NOTES: Remove.
8403 * Makefile (files-for-dist): Remove NOTES.
8404 (NOTES): Remove rule.
8405 * README: Don't refer to NOTES.
8406 * manual/creature.texi: Don't include macros.texi.
8407 * manual/intro.texi (creature.texi): Remove comment referring to
8408 NOTES.
8409
40b601fb
JM
8410 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8411 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8412 * configure: Regenerated.
8413 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8414 LIBC_TRY_CC_OPTION.
8415 (libc_cv_as_i686): Likewise.
8416 (libc_cv_cc_avx): Likewise.
8417 (libc_cv_cc_sse2avx): Likewise.
8418 (libc_cv_cc_fma4): Likewise.
8419 (libc_cv_cc_novzeroupper): Likewise.
8420 * sysdeps/i386/configure: Regenerated.
8421
1a4ac776
JM
8422 [BZ #13883]
8423 * sysdeps/i386/fpu/s_cexp.S: Remove.
8424 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8425 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8426 * math/libm-test.inc (cexp_test): Add more tests.
8427 * sysdeps/i386/fpu/libm-test-ulps: Update.
8428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8429
a458e7fe
AM
84302012-03-21 Allan McRae <allan@archlinux.org>
8431
8432 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8433
0cb7efc5
JM
84342012-03-21 Joseph Myers <joseph@codesourcery.com>
8435
8436 [BZ #13871]
8437 * math/w_exp2.c: Do not include <float.h>.
8438 (o_threshold, u_threshold): Remove.
8439 (__exp2): Calculate result before checking finiteness and calling
8440 __kernel_standard.
8441 * math/w_exp2f.c: Likewise.
8442 * math/w_exp2l.c: Likewise.
8443 * math/libm-test.inc (exp2_test): Require overflow exception for
8444 1e6 input.
2460d3aa
JM
8445
8446 [BZ #3866]
8447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8448 range of signed 64-bit integers before using fistpll. Remove
8449 checks for whether integers fit in mantissa bits.
8450 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8451 the range of signed 32-bit integers before using fistpl. Remove
8452 checks for whether integers fit in mantissa bits.
8453 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8454 (__ieee754_powl): Test for y outside the range of signed 64-bit
8455 integers before using fistpll. Reduce 64-bit values to 63-bit
8456 ones as needed.
8457 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8458 divide-by-zero is raised for zero to large negative powers.
8459 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8460 (__ieee754_powl): Test for y outside the range of signed 64-bit
8461 integers before using fistpll. Reduce 64-bit values to 63-bit
8462 ones as needed.
8463 * math/libm-test.inc (pow_test): Add more tests.
8464
eb96ffb0
L
84652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8466
8467 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8468 <stdio-common/_itoa.h>.
8469 * debug/segfault.c: Likewise.
8470 * elf/dl-cache.c: Likewise.
8471 * elf/dl-minimal.c: Likewise.
8472 * elf/dl-misc.c: Likewise.
8473 * elf/dl-sysdep.c: Likewise.
8474 * elf/dl-version.c: Likewise.
8475 * elf/rtld.c: Likewise.
8476 * hurd/hurdsock.c: Likewise.
8477 * hurd/lookup-retry.c: Likewise.
8478 * malloc/malloc.c: Likewise.
8479 * malloc/mtrace.c: Likewise.
8480 * nscd/nscd_getgr_r.c: Likewise.
8481 * nscd/nscd_getpw_r.c: Likewise.
8482 * nscd/nscd_getserv_r.c: Likewise.
8483 * posix/getopt_init.c: Likewise.
8484 * posix/wordexp.c: Likewise.
8485 * stdio-common/_itoa.c: Likewise.
8486 * stdio-common/printf_fphex.c: Likewise.
8487 * stdio-common/vfprintf.c: Likewise.
8488 * string/_strerror.c: Likewise.
8489 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8490 * sysdeps/i386/i686/hp-timing.h: Likewise.
8491 * sysdeps/mach/_strerror.c: Likewise.
8492 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8493 * sysdeps/mach/hurd/sethostid.c: Likewise.
8494 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8495 * sysdeps/mach/xpg-strerror.c: Likewise.
8496 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8497 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8498 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8499 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8500 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8501 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8502 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8503 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8504 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8505 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8506 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8507 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8508 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8509 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8510 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8511 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8512 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8513 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8514 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8515 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8516 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8517
8518 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8519
8520 * stdio-common/_itoa.h: Moved to ...
8521 * sysdeps/generic/_itoa.h: Here.
8522
8523 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8524
8525 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8526 instead of "_itoa.h" and "_itowa.h".
8527 * stdio-common/vfprintf.: Likewise.
8528
d1af992d
L
85292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8532 <bits/wordsize.h>.
8533 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8534 (__signbit): Likwise.
8535 (llrintf): Likwise.
8536 (llrint): Likwise.
8537
114883e0
L
85382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8541 __WORDSIZE != 64.
8542
c135cc1b
JM
85432012-03-20 Joseph Myers <joseph@codesourcery.com>
8544
8545 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8546 OVERFLOW_EXCEPTION_OK.
8547 * math/libm-test.inc ("Philosophy"): Update comment about
8548 exception testing.
8549 (OVERFLOW_EXCEPTION): Define.
8550 (OVERFLOW_EXCEPTION_OK): Likewise.
8551 (INVALID_EXCEPTION_OK): Renumber.
8552 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8553 (IGNORE_ZERO_INF_SIGN): Likewise.
8554 (test_exceptions): Handle FE_OVERFLOW.
8555 (exp10_test): Expect overflow exceptions.
8556 (exp2_test): Likewise.
8557 (expm1_test): Likewise.
8558 (nextafter_test): Likewise.
8559 (pow_test): Likewise.
8560 (scalbn_test): Likewise.
8561 (scalbln_test): Likewise.
8562
95443d88
L
85632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 * sysdeps/x86_64/bits/atomic.h
8566 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8567 64bit integer.
8568 (atomic_exchange_acq): Likewise.
8569 (__arch_exchange_and_add_body): Likewise.
8570 (__arch_add_body): Likewise.
8571 (atomic_add_negative): Likewise.
8572 (atomic_add_zero): Likewise.
8573
490df6c4
L
85742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8575
c2722551 8576 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8577 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8578
5e52b189
L
85792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8582 Check __x86_64__ instead of __WORDSIZE.
8583
a9879d4c
L
85842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8587
5df98260
DM
85882012-03-19 David S. Miller <davem@davemloft.net>
8589
e1497744
DM
8590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8591
5df98260
DM
8592 * sysdeps/sparc/fpu/fenv_private.h: New file.
8593 * sysdeps/sparc/fpu/math_private.h: Use it.
8594 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8595 Remove.
8596 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8597 (libc_feholdexcept_setroundl): Remove.
8598 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8599 Remove.
8600 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8601 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8602
b4c35121
L
86032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8606 int64_t instead of long int.
8607 (INSERT_WORDS64): Likwise.
8608
56965fd7
L
86092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8610
8611 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8612 _Unwind_GetCFA return to _Unwind_Ptr first.
8613
83d1aec8
JM
86142012-03-19 Joseph Myers <joseph@codesourcery.com>
8615
1897ad44
JM
8616 [BZ #13629]
8617 * math/s_clog.c: Include <float.h>.
8618 (__clog): Scale large or subnormal inputs.
8619 * math/s_clogf.c: Likewise.
8620 * math/s_clogl.c: Likewise.
8621 * math/s_clog10.c: Include <float.h>.
8622 (M_LOG10_2): Define.
8623 (__clog10): Scale large or subnormal inputs.
8624 * math/s_clog10f.c: Likewise.
8625 * math/s_clog10l.c: Likewise.
8626 * math/libm-test.inc (clog_test): Add more tests.
8627 (clog10_test): Likewise.
8628 * sysdeps/i386/fpu/libm-test-ulps: Update.
8629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8630
7726d6a9
JM
8631 [BZ #11451]
8632 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8633 x and y.
8634 * math/libm-test.inc (atan2_test): Add another test.
8635
83d1aec8
JM
8636 * Makerules (common-objdir-compile): Remove.
8637 * sysdeps/unix/Makefile (config-generated): Do not add
8638 $(unix-generated) to variable.
8639 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8640 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8641 Remove rule.
8642 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8643 Likewise.
8644 [generic bits/local_lim.h] (before-compile): Do not append to
8645 variable.
8646 [generic bits/local_lim.h] (common-generated): Likewise.
8647 [generic sys/param.h] (before-compile): Do not append to variable.
8648 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8649 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8650 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8651 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8652 include.
8653 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8654 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8655 [generic sys/param.h] ($(addprefix
8656 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8657 [generic sys/param.h] (common-generated): Do not append to
8658 variable.
8659 [generic sys/param.h] (sysdep_headers): Likewise.
8660 [generic bits/errno.h] (before-compile): Do not append to
8661 variable.
8662 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8663 rule.
8664 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8665 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8666 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8667 [generic bits/errno.h] (common-generated): Do not append to
8668 variable.
8669 [generic bits/ioctls.h] (before-compile): Do not append to
8670 variable.
8671 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8672 rule.
8673 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8674 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8675 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8676 rule.
8677 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8678 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8679 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8680 [generic bits/ioctls.h] (common-generated): Do not append to
8681 variable.
8682 [generic sys/syscall.h] (syscall.h): Remove variable.
8683 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8684 rule.
8685 [generic sys/syscall.h] (before-compile): Do not append to
8686 variable.
8687 [generic sys/syscall.h] (common-generated): Likewise.
8688 * sysdeps/unix/errnos-tmpl.c: Remove file.
8689 * sysdeps/unix/errnos.awk: Likewise.
8690 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8691 * sysdeps/unix/ioctls.awk: Likewise.
8692 * sysdeps/unix/mk-local_lim.c: Likewise.
8693 * sysdeps/unix/snarf-ioctls: Likewise.
8694
4851a949
RH
86952012-03-19 Richard Henderson <rth@twiddle.net>
8696
bd37f2ee
RH
8697 * sysdeps/i386/fpu/fenv_private.h: New file.
8698 * sysdeps/i386/fpu/math_private.h: Use it.
8699 (math_opt_barrier, math_force_eval): Remove.
8700 (libc_feholdexcept_setround_53bit): Remove.
8701 (libc_feupdateenv_53bit): Remove.
8702 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8703 (math_opt_barrier, math_force_eval): Remove.
8704 (libc_feholdexcept): Remove.
8705 (libc_feholdexcept_setround): Remove.
8706 (libc_fetestexcept, libc_fesetenv): Remove.
8707 (libc_feupdateenv_test): Remove.
8708 (libc_feupdateenv, libc_feholdsetround): Remove.
8709 (libc_feresetround): Remove.
8710
d0adc922
RH
8711 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8712 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8713
0fe0f1f8
RH
8714 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8715 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8716 (libc_feupdateenv_testl): New.
8717 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8718 (libc_feupdateenv_testf): New.
8719 (libc_feupdateenv): Use libc_feupdateenv_test.
8720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8721 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8722
eb92c487
RH
8723 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8724 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8725 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8726 (libc_feresetround_noex): New.
8727 (libc_feresetround_noexf): New.
8728 (libc_feresetround_noexl): New.
8729 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8730 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8731 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8733 SET_RESTORE_ROUND.
8734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8735 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8736 (__cos): Likewise.
8737 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8738 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8739 SET_RESTORE_ROUND_NOEX.
8740 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8741 SET_RESTORE_ROUND_NOEXF.
8742 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8743 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8744 (libc_feholdsetroundf): New.
8745 (libc_feresetround, libc_feresetroundf): New.
8746
7d2e8012
RH
8747 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8748 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8749 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8750
b4dabbb4
RH
8751 * sysdeps/generic/math_private.h: Include <fenv.h>.
8752 (default_libc_feholdexcept): New.
8753 (default_libc_feholdexcept_setround): New.
8754 (default_libc_fesetenv, default_libc_feupdateenv): New.
8755 (libc_feholdexcept): Only define if undefined.
8756 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8757 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8758 (libc_feholdexcept_setroundl): Likewise.
8759 (libc_feholdexcept_setround_53bit): Likewise.
8760 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8761 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8762 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8763 (libc_feupdateenv_53bit): Likewise.
8764 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8765 (libc_feholdexcept): Convert from macro to inline function.
8766 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8767 (libc_fesetenv, libc_feupdateenv): Likewise.
8768
4851a949
RH
8769 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8770 not previously defined.
8771 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8772 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8773 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8774 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8775 * sysdeps/ieee754/flt-32/math_private.h: New file.
8776 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8777 math_private.h below SET_FLOAT_WORD.
8778 (__isnan, __isinf_ns, __finite): Remove.
8779 (__isnanf, __isinf_nsf, __finitef): Remove.
8780
e79d442e
AS
87812012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8782
8783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8784
90b80344
DM
87852012-03-17 David S. Miller <davem@davemloft.net>
8786
8787 [BZ #6471]
8788 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8789 for 2.16.
8790
edc21804
DM
87912012-03-16 David S. Miller <davem@davemloft.net>
8792
77e927af
DM
8793 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8794 warnings.
8795
374976dd
DM
8796 [BZ #6471]
8797 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8798 properly.
8799 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8800 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8801 sysdep_routines when subdir is sysvipc.
8802 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8803 __getshmlba helper.
8804
edc21804
DM
8805 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8806
473c3ef3
L
88072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8808
8809 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8810 [__LP64__].
8811
eb0f39b6
L
88122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8813
8814 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8815 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8816 (__lround): Renamed to ...
8817 (__llround): This. Replace long int with long long int.
8818 Define lround functions as aliases of llround functions.
8819 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8820
6b6cd74b
L
88212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8822
8823 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8824 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8825 adresses to uintptr_t. Replace "long int" and "unsigned long
8826 int" with "greg_t" on va_arg.
8827
f1a77b01
L
88282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8829
8830 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8831 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8832
8833 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8834 Move e_machine check before EI_CLASS check. Handle x32
8835 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8836 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8837 SKIP_EM_IA_64 and include
8838 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8839
8840 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8841 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8842 (add_system_dir): New macro.
8843
8844 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8845 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8846
11b90b9f
JM
88472012-03-16 Joseph Myers <joseph@codesourcery.com>
8848
c36e1d23
JM
8849 [BZ #2551]
8850 [BZ #2552]
8851 [BZ #2553]
8852 [BZ #2554]
8853 [BZ #2562]
8854 [BZ #2563]
8855 [BZ #2565]
8856 [BZ #2566]
8857 [BZ #2576]
8858 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8859 (y0): Likewise.
8860 * math/w_j0f.c (j0f): Likewise.
8861 (y0f): Likewise.
8862 * math/w_j0l.c (__j0l): Likewise.
8863 (__y0l): Likewise.
8864 * math/w_j1.c (j1): Likewise.
8865 (y1): Likewise.
8866 * math/w_j1f.c (j1f): Likewise.
8867 (y1f): Likewise.
8868 * math/w_j1l.c (__j1l): Likewise.
8869 (__y1l): Likewise.
8870 * math/w_jn.c (jn): Likewise.
8871 (yn): Likewise.
8872 * math/w_jnf.c (jnf): Likewise.
8873 (ynf): Likewise.
8874 * math/w_jnl.c (__jnl): Likewise.
8875 (__ynl): Likewise.
8876 * math/libm-test.inc (j0_test): Add more tests.
8877 (j1_test): Likewise.
8878 (jn_test): Likewise. Add trailing semicolon to existing test.
8879 (y0_test): Likewise.
8880 (y1_test): Likewise.
8881 * sysdeps/i386/fpu/libm-test-ulps: Update.
8882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8883
11b90b9f
JM
8884 [BZ #13851]
8885 [BZ #13854]
8886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8887 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8888 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8889 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8890 (__tanl): Set errno for infinite argument.
8891 * sysdeps/i386/fpu/mptan.c: Remove.
8892 * sysdeps/i386/fpu/s_tan.S: Likewise.
8893 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8894 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8895 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8896 * math/libm-test.inc (tan_test): Add more tests and enable more
8897 tests for double and long double.
8898 * sysdeps/i386/fpu/libm-test-ulps: Update.
8899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8900
6a1bd2a1
JK
89012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8902
8903 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8904 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8905
10a803e0
RM
89062012-03-16 Roland McGrath <roland@hack.frob.com>
8907
8908 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8909 * configure.in: Use it for both main tree and add-ons.
8910 * configure: Regenerated.
8911
f196c7f7
L
89122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8913
8914 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8915
8848d99d
JM
89162012-03-16 Joseph Myers <joseph@codesourcery.com>
8917
96cbe7f4
JM
8918 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8919 in comment.
8920
8848d99d
JM
8921 [BZ #13851]
8922 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8923 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8927 infinite argument.
8928 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8930 != 0 for prec == 2.
8931 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8932 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8933 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8934 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8935 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8936 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8937 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8938 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8939 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8940 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8941 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8942 * math/libm-test.inc (cos_test): Add more tests and enable more
8943 tests for long double.
8944 (sin_test): Likewise.
8945 (sincos_test): Likewise.
8946 * sysdeps/i386/fpu/libm-test-ulps: Update.
8947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8948
dd7f4703
DM
89492012-03-16 David S. Miller <davem@davemloft.net>
8950
8951 * sysdeps/sparc/fpu/math_private.h: New file.
8952
006f1daa
DM
89532012-03-15 David S. Miller <davem@davemloft.net>
8954
c0c83bc8
DM
8955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8956 file.
e6a62e18 8957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8959 file.
e6a62e18
DM
8960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8966 sysdep routines.
8967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8968
88cb87d9
DM
8969 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8970 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8971
006f1daa 8972 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
8973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8974 sparc-ifunc.h
006f1daa 8975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
8976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8977 Likewise.
8978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8979 Likewise.
006f1daa
DM
8980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
8983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8984 Likewise.
006f1daa
DM
8985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
8989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8990 Likewise.
8991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8992 Likewise.
006f1daa
DM
8993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9000 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9012 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9014 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9016 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9017
11e0098e
AS
90182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9019
9020 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9021 scaling.
9022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9023
e85b09d0
AJ
90242012-03-15 Andreas Jaeger <aj@suse.de>
9025
9026 [BZ #13852]
9027 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9028 ieee754/flt-32 implementation for sin, cos and sincos.
9029 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9030 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9031 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9032 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9033 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9034 ieee754/flt-32 implementation for tan.
9035
9036 * math/libm-test.inc (cos_test): Enable some large input tests for
9037 float as well
9038 (sin_test): Likewise.
9039 (sincos_test): Likewise.
9040 (tan_test): Add tests for large input.
9041
9042 * sysdeps/i386/fpu/libm-test-ulps: Update.
9043
81c64153
AJ
90442012-03-15 Andreas Jaeger <aj@suse.de>
9045
9046 [BZ #13658]
9047 * math/libm-test.inc (cos_test): Add more test cases.
9048 (sin_test): Likewise.
9049 (sincos_test): Likewise.
9050
7bbfa5c6
AJ
90512012-03-15 Andreas Jaeger <aj@suse.de>
9052
9053 [BZ #13837]
9054 * math/libm-test.inc (cos_test): Add a test case for large input
9055 value.
9056 (sin_test): Likewise.
9057 (sincos_test): Likewise.
9058
90592012-03-15 Andreas Jaeger <aj@suse.de>,
9060 Joseph Myers <joseph@codesourcery.com>
9061
9062 [BZ #13658]
0671f479 9063 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9064 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9065 * sysdeps/i386/fpu/branred.c: Likewise.
9066 * sysdeps/i386/fpu/dosincos.c: Likewise.
9067 * sysdeps/i386/fpu/mpa.c: Likewise.
9068 * sysdeps/i386/fpu/s_cos.S: Likewise.
9069 * sysdeps/i386/fpu/s_sin.S: Likewise.
9070 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9071 * sysdeps/i386/fpu/sincos32.c: Likewise.
9072
9073 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9074 Define.
9075 (libc_feupdateenv_53bit): Define.
9076 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9077 Define.
9078 (libc_feupdateenv_53bit): Define.
9079
9080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9081 53 bit (without extend i386 double precision).
9082
9083 * math/libm-test.inc (sincos_test): Add tests for large input.
9084 (sin): Likewise.
9085 (cos): Likewise.
9086
9087 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9088
9cad04ea
AS
90892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9090
9091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9092
f7062b9a
DM
90932012-03-15 David S. Miller <davem@davemloft.net>
9094
9095 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9096 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9097 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9098 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9111 file.
f7062b9a 9112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9114 file.
f7062b9a 9115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9117 file.
f7062b9a 9118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9120 file.
f7062b9a
DM
9121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9122 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9123 fmin/fmax sysdep routines.
9124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9125
7bd951ff
DM
91262012-03-14 David S. Miller <davem@davemloft.net>
9127
559398ab
DM
9128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9133 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9134 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9148 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9149 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9152 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9153 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9154 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9157 routines.
9158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9159 file.
559398ab 9160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9162 file.
559398ab 9163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9165 file.
559398ab 9166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9168 file.
559398ab 9169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9171 file.
559398ab 9172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9174 file.
9175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9176 file.
9177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9178 file.
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9180 file.
9181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9182 New file.
9183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9184 file.
9185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9186 file.
559398ab 9187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9189 file.
559398ab 9190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9192 file.
559398ab 9193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9195 file.
559398ab 9196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9198 VIS3 routines.
559398ab
DM
9199
9200 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9201 New file.
9202
5a1c1e32
DM
9203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9204
eae47a36
DM
9205 * sysdeps/sparc/configure.in: New file.
9206 * sysdeps/sparc/configure: Generate.
9207 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9208 * configure: Regenerate.
9209 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9210 * config.make.in (have-as-vis3): New.
9211 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9212 available use -Av9d instead of -Av9a.
9213 * sysdeps/sparc/sparc64/Makefile: Likewise.
9214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9216 New file.
9217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9218 file.
9219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9220 New file.
9221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9222 file.
eae47a36
DM
9223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9224 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9225 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9228
c0c83bc8
DM
9229 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9230 fzeros/fnegs to load 0x80000000 into a float register instead of
9231 using the stack.
7bd951ff
DM
9232 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9233
bd951ccb
JM
92342012-03-14 Joseph Myers <joseph@codesourcery.com>
9235
9236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9237 bits/syscall.h.
9238 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9239 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9240 ($(inst_includedir)/bits/syscall.h): Remove rule.
9241 ($(objpfx)bits/syscall.d): Include instead of
9242 $(objpfx)syscall-list.d.
9243 (generated): Change syscall-list.h and syscall-list.d to
9244 bits/syscall.h and bits/syscall.d.
9245
bb4e6db2
RM
92462012-03-14 Roland McGrath <roland@hack.frob.com>
9247
9248 [BZ #13846]
9249 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9250
aa4a2ae1
JM
92512012-03-14 Joseph Myers <joseph@codesourcery.com>
9252
e456826d
JM
9253 [BZ #13841]
9254 * math/s_csqrt.c: Include <float.h>.
9255 (__csqrt): Scale large or subnormal inputs.
9256 * math/s_csqrtf.c: Likewise.
9257 * math/s_csqrtl.c: Likewise.
9258 * math/libm-test.inc (csqrt_test): Add more tests.
9259 * sysdeps/i386/fpu/libm-test-ulps: Update.
9260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9261
aa4a2ae1
JM
9262 [BZ #13840]
9263 * math/libm-test.inc (hypot_test): Add more tests.
9264
7c10fd35
DM
92652012-03-13 David S. Miller <davem@davemloft.net>
9266
9267 [BZ #13840]
9268 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9269 double-precision for the calculation instead of scaling.
9270
f453b98b
JM
92712012-03-13 Joseph Myers <joseph@codesourcery.com>
9272
9273 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9274 manipulate bits before adding and subtracting TWO52[sx].
9275 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9276 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9277 Likewise.
9278 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9279
09a3453f
DM
92802012-03-13 David S. Miller <davem@davemloft.net>
9281
8e59da90
DM
9282 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9283 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9285 rtld-global-offsets.h
9286 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9287
2a8ab7f2
DM
9288 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9289 large parameters.
9290
10f62770
DM
9291 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9292
5f0bdb18
DM
9293 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9294 'err' in the ifdef scope in which it is actually used.
9295
09a3453f
DM
9296 * nss/nss_db/db-init.c: Include string.h
9297
b4b2eb5e
DM
92982012-03-12 David S. Miller <davem@davemloft.net>
9299
98bb2f1c
DM
9300 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9301 masking out of the most significant byte of random value used.
9302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9303 Fix coding style in previous change.
9304
b4b2eb5e
DM
9305 * sysdeps/unix/sysv/linux/kernel-features.h
9306 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9307 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9308 expression.
9309 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9310 later.
9311
6e226b09
DM
93122012-03-11 David S. Miller <davem@davemloft.net>
9313
a1bcbd40
DM
9314 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9315 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9317 for 'resultvar' otherwise things get truncated on 64-bit.
9318
cb9d6174
DM
9319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9320 Fix masking out of the most significant byte of random value used.
9321
6e226b09
DM
9322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9323
058c132d
AS
93242012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9325
9326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9327
2d2cd515
DM
93282012-03-09 David S. Miller <davem@davemloft.net>
9329
9330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9331 variables with appropriate CPP guards.
9332 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9333 frame pointer, not the stack pointer. Correct layout comments. Fix test
9334 on resulting framesize and the management of the outregs buffer for pltexit.
9335 Preserve floating point return values across _dl_call_pltexit call.
9336 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9337 framesize and the management of the outregs buffer for pltexit.
9338 Preserve floating point return values across _dl_call_pltexit
9339 call.
9340 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9341 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9342 (print_exit): Fix format string for return register value.
9343
9a07f9d0
JM
93442012-03-10 Joseph Myers <joseph@codesourcery.com>
9345
9346 * sunrpc/Makefile (others): Add rpcgen.
9347 ($(objpfx)rpcgen): Remove special build rule and dependency on
9348 libc.
9349 * sunrpc/rpcgen.c: New file.
9350
547b5e30
PE
93512012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9352
c524201a
PE
9353 [BZ #13673]
9354 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9355 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9356 * sysdeps/i386/crti.S: Likewise.
9357 * sysdeps/i386/crtn.S: Likewise.
9358 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9359 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9360 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9361 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9362 * sysdeps/sh/crti.S: Likewise.
9363 * sysdeps/sh/crtn.S: Likewise.
9364 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9365
7b6235f2
PE
9366 [BZ #13673]
9367 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9368 with URL.
9369 * locale/programs/locfile-kw.gperf: Likewise.
9370 * locale/programs/charmap-kw.h: Regenerated.
9371 * locale/programs/locfile-kw.h: Likewise.
9372
547b5e30
PE
9373 [BZ #13673]
9374 * intl/plural.y: Replace FSF snail mail address with URL.
9375 * intl/plural.c: Regenerated.
9376
5f0a5dae
RH
93772012-03-09 Richard Henderson <rth@twiddle.net>
9378
9379 * include/math_private.h: Remove file.
9380 * math/math_private.h: Move file ...
9381 * sysdeps/generic/math_private.h: ... here.
9382
b8c03620
RH
9383 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9384 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9385 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9386
4e234f5d 9387 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9388 and <math_private.h>.
9389 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9390 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9391 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9392 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9393 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9411 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9413 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9414 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9415 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9423 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9426 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9427 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9428 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9429 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9430 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9431 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9432 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9433 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9477 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9478 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9479 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9480 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9481 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9482 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9483 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9484 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9485 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9486 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9487 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9488 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9489 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9490 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9491 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9492 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9493 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9494 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9497 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9499 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9500 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9501 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9502 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9503 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9504 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9505 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9506 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9508 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9509 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9510 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9511 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9512 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9513 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9514 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9515 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9516 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9517 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9518 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9519 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9520 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9521 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9522 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9523 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9524 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9525 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9526 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9527 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9528 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9530 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9531 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9532 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9533 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9534 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9535 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9536 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9537 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9538 * sysdeps/ieee754/k_standard.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9654 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9659 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9661 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9666 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9671 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9687 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9688 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9689 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9699 * sysdeps/ieee754/s_lib_version.c: Likewise.
9700 * sysdeps/ieee754/s_matherr.c: Likewise.
9701 * sysdeps/ieee754/s_signgam.c: Likewise.
9702 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9703 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9704 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9705 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9706 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9707 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9708 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9709 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9710 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9711 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9712 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9713 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9714 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9715 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9716 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9717 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9718 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9719 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9720 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9721 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9722 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9723
1991fa03
JM
97242012-03-09 Joseph Myers <joseph@codesourcery.com>
9725
9726 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9727 * sunrpc/rpc_main.c: Likewise.
9728 * sunrpc/rpc_svcout.c: Likewise.
9729
60d6f5a6
DM
97302012-03-09 David S. Miller <davem@davemloft.net>
9731
9732 * include/math_private.h: New file.
9733
4962050e
JM
97342012-03-09 Joseph Myers <joseph@codesourcery.com>
9735
02a6f887
JM
9736 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9737 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9738 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9739 from <bits/socket_type.h>.
9740 (enum __socket_type): Don't define here.
9741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9743 bits/socket_type.h.
9744
c6e013c1
JM
9745 [BZ #13566]
9746 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9747 checking __USE_GNU.
9748
4962050e
JM
9749 * Makerules ($(inst_includedir)/%.h): New rule.
9750 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9751 (install-others): Remove variable setting.
9752 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9753
38842f45
RH
97542012-03-08 Richard Henderson <rth@twiddle.net>
9755
67bb6da6
RH
9756 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9757 from macro to inline function; merge with the
9758 !__LIBC_INTERNAL_MATH_INLINES version.
9759 (__ieee754_sqrtf): Likewise.
9760
15194b4b
RH
9761 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9762 to inline function.
9763 (__rintf, __floor, __floorf): Likewise.
9764
64e21ede
RH
9765 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9766 macro to inline function.
9767 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9768
38842f45
RH
9769 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9770 not <math/math_private.h>.
9771
c64bf5fe
DM
97722012-03-08 David S. Miller <davem@davemloft.net>
9773
9774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9775 copyright year.
9776 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9777
82d86f28
TS
97782012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9779
9780 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9781 normalization.
9782 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9783 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9784
aea5d727
UD
97852012-03-08 Ulrich Drepper <drepper@gmail.com>
9786
9787 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9788 be defined individually, they must be defined as a block. Define
9789 S for printing a string instead of hidint the different by using a
9790 macro for adding the 'l'.
9791 * stdio-common/tst-fphex-wide.c: Adjust.
9792
70bca0a3
MP
97932012-03-07 Marek Polacek <polacek@redhat.com>
9794
9795 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9796
65b81130
MP
97972012-03-08 Marek Polacek <polacek@redhat.com>
9798
9799 [BZ #13806]
9800 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9801 * stdio-common/tst-fphex.c: Define a few macros to make the
9802 test reusable. Use them.
9803 * stdio-common/tst-fphex-wide.c: New file.
9804
07037eeb
JM
98052012-03-08 Joseph Myers <joseph@codesourcery.com>
9806
a7a93d50
JM
9807 [BZ #6911]
9808 * manual/macros.texi (gnusystems): New macro.
9809 (nongnusystems): Likewise.
9810 (gnulinuxhurdsystems): Likewise.
9811 (gnuhurdsystems): Likewise..
9812 (gnulinuxsystems): Likewise.
9813 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9814 variants of the GNU system, not "GNU system".
9815 * manual/conf.texi: Likewise.
9816 * manual/errno.texi: Likewise. Update example of errno macro
9817 expansion.
9818 * manual/filesys.texi: Likewise.
9819 (getumask): Document as specific to GNU/Hurd.
9820 * manual/install.texi: Likewise. Reword some references to
9821 GNU/Linux.
9822 * manual/intro.texi: Likewise.
9823 * manual/io.texi: Likewise.
9824 (File Name Portability): Detail which constraints are inapplicable
9825 to all GNU systems and which are only inapplicable to GNU/Hurd.
9826 * manual/job.texi: Likewise.
9827 * manual/llio.texi: Likewise.
9828 (O_NOCTTY): Document as present on GNU/Linux.
9829 * manual/maint.texi: Likewise.
9830 * manual/memory.texi: Likewise.
9831 * manual/pattern.texi: Likewise.
9832 * manual/pipe.texi: Likewise.
9833 * manual/process.texi: Likewise.
9834 * manual/resource.texi: Likewise.
9835 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9836 child on GNU/Hurd.
9837 * manual/setjmp.texi: Likewise.
9838 * manual/signal.texi: Likewise.
9839 * manual/startup.texi: Likewise.
9840 * manual/stdio.texi: Likewise.
9841 * manual/terminal.texi: Likewise.
9842 (ONLCR): Document as POSIX.
9843 (OXTABS): Document availability on GNU/Linux as XTABS.
9844 (ONOEOT): Document availability separately from other bits.
9845 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9846 * manual/time.texi: Likewise.
9847 * manual/users.texi: Likewise.
9848 * INSTALL: Regenerated.
9849 * sysdeps/gnu/errlist.c: Regenerated.
9850
07037eeb
JM
9851 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9852 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9853 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9854 puts.
9855 * configure: Regenerated.
9856
d1d3431a
JM
98572012-03-07 Joseph Myers <joseph@codesourcery.com>
9858
af6a1e37
JM
9859 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9860 default includes instead of AC_HEADER_CHECK.
9861 * sysdeps/i386/configure: Regenerated.
9862
d1d3431a
JM
9863 [BZ #10716]
9864 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9865 * math/s_cacoshf.c (__cacoshf): Likewise.
9866 * math/s_cacoshl.c (__cacoshl): Likewise.
9867 * math/s_casinh.c (__casinh): Set signs of result from argument.
9868 * math/s_casinhf.c (__casinhf): Likewise.
9869 * math/s_casinhl.c (__casinhl): Likewise.
9870 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9871 (casinh_test): Add more tests.
9872 * sysdeps/i386/fpu/libm-test-ulps: Update.
9873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9874
482ff4da
UD
98752012-03-07 Ulrich Drepper <drepper@gmail.com>
9876
872fda05
UD
9877 * po/zh_TW.po: Update from translation team.
9878
a4300c7a
UD
9879 * login/Makefile (distribute): Remove variable.
9880 * catgets/Makefile: Likewise.
9881 * mach/Makefile: Likewise.
9882 * malloc/Makefile: Likewise.
9883 * misc/Makefile: Likewise.
9884 * iconv/Makefile: Likewise.
9885 * nscd/Makefile: Likewise.
9886 * hurd/Makefile: Likewise.
9887 * manual/Makefile: Likewise.
9888 * locale/Makefile: Likewise.
9889 * intl/Makefile: Likewise.
9890 * conform/Makefile: Likewise.
9891 * nss/Makefile: Likewise.
9892 * time/Makefile: Likewise.
9893 * soft-fp/Makefile: Likewise.
9894 * dirent/Makefile: Likewise.
9895 * gmon/Makefile: Likewise.
9896 * po/Makefile: Likewise.
9897 * rt/Makefile: Likewise.
9898 * socket/Makefile: Likewise.
9899 * math/Makefile: Likewise.
9900 * signal/Makefile: Likewise.
9901 * debug/Makefile: Likewise.
9902 * elf/Makefile: Likewise.
9903 * timezone/Makefile: Likewise.
9904 * stdlib/Makefile: Likewise.
9905 * iconvdata/Makefile: Likewise.
9906 * sunrpc/Makefile: Likewise.
9907 * io/Makefile: Likewise.
9908 * argp/Makefile: Likewise.
9909 * inet/Makefile: Likewise.
9910 * hesiod/Makefile: Likewise.
9911 * grp/Makefile: Likewise.
9912 * csu/Makefile: Likewise.
9913 * wctype/Makefile: Likewise.
9914 * crypt/Makefile: Likewise.
9915 * libio/Makefile: Likewise.
9916 * string/Makefile: Likewise.
9917 * nis/Makefile: Likewise.
9918 * resolv/Makefile: Likewise.
9919 * stdio-common/Makefile: Likewise.
9920 * wcsmbs/Makefile: Likewise.
9921 * dlfcn/Makefile: Likewise.
9922 * posix/Makefile: Likewise.
9923
3b7c4e74 9924 [BZ #6959]
482ff4da
UD
9925 * timezone/Makefile: Don't install timezone files, just the programs
9926 and scripts.
9927
f72ed77d
UD
99282012-03-06 Ulrich Drepper <drepper@gmail.com>
9929
a000466f
UD
9930 * nss/databases.def: Add missing gshadow entry.
9931
f72ed77d
UD
9932 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9933
a53b7a4e
MP
99342012-03-06 Marek Polacek <polacek@redhat.com>
9935
9936 [BZ #13726]
9937 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9938 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9939 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9940 * stdio-common/tst-long-dbl-fphex.c: New file.
9941
e9258400
DM
99422012-03-06 David S. Miller <davem@davemloft.net>
9943
9944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9945 (set_obp_int): New function.
9946 (get_obp_int): New function.
9947 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9948 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9949 Avoid unused variable warnings on 'val' and use builtin_expect.
9950 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9951 __builtin_expect.
e9258400
DM
9952 (INLINE_CLONE_SYSCALL): Likewise.
9953
3bd2c723
DM
99542012-03-05 David S. Miller <davem@davemloft.net>
9955
9956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9957
bbb78d03
AS
99582012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9959
884c5db4
AS
9960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9961
bbb78d03
AS
9962 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9963 only for |x| >= 40.
9964 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9965
1c9f702a 99662012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
9967
9968 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9969 Replace gettimeofday with __vdso_gettimeofday.
9970
7be16f82
RM
9971 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9972 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9973 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
9974
9975 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9976 time with __vdso_time.
9977
ed58a00f
JM
99782012-03-05 Joseph Myers <joseph@codesourcery.com>
9979
9980 * manual/lang.texi (size_t): Note types to which size_t may be
9981 equivalent with the GNU C Library, but do not describe when
9982 differences between them are significant.
9983
30ee4ced
AJ
99842012-03-05 Andreas Jaeger <aj@suse.de>
9985
9986 * sysdeps/i386/fpu/libm-test-ulps: Update.
9987
b7cd39e8
JM
99882012-03-05 Joseph Myers <joseph@codesourcery.com>
9989
9990 [BZ #3976]
9991 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9992 (__ieee754_pow): Save and restore rounding mode and use
9993 round-to-nearest for main computations.
9994 * math/libm-test.inc (pow_test_tonearest): New function.
9995 (pow_test_towardzero): Likewise.
9996 (pow_test_downward): Likewise.
9997 (pow_test_upward): Likewise.
9998 (main): Call the new functions.
9999 * sysdeps/i386/fpu/libm-test-ulps: Update.
10000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10001
10002 [BZ #3976]
10003 * math/libm-test.inc (cosh_test_tonearest): New function.
10004 (cosh_test_towardzero): Likewise.
10005 (cosh_test_downward): Likewise.
10006 (cosh_test_upward): Likewise.
10007 (sinh_test_tonearest): Likewise.
10008 (sinh_test_towardzero): Likewise.
10009 (sinh_test_downward): Likewise.
10010 (sinh_test_upward): Likewise.
10011 (main): Call the new functions.
10012 * sysdeps/i386/fpu/libm-test-ulps: Update.
10013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10014
6c6a98c9
TV
100152012-03-05 Tom de Vries <tom@codesourcery.com>
10016
10017 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10018 default stack guard is set in last bytes.
10019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10020
21bb2d2e 100212012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10022
21bb2d2e 10023 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10024
21bb2d2e
AJ
10025 [BZ #13656]
10026 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10027 possibly allocate from heap instead of stack.
10028 * stdio-common/bug-vfprintf-nargs.c: New file.
10029 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10030
c6922934
AS
100312012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10032
10033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10034
bc957d53
MP
100352012-03-03 Marek Polacek <polacek@redhat.com>
10036
10037 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10038 * math/math_private.h: Likewise.
10039 * stdlib/tst-strtod.c: Likewise.
10040 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10041 * sysdeps/x86_64/bits/atomic.h: Likewise.
10042
6358490d
DM
100432012-03-02 David S. Miller <davem@davemloft.net>
10044
10045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10049 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10050 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10051 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10052 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10053
01ae168d
RM
100542012-03-02 Roland McGrath <roland@hack.frob.com>
10055
d9a17c07
RM
10056 [BZ #13792]
10057 * manual/examples/README: New file, says the example source files
10058 can be used under GPL>=2.
10059 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10060 line containing just "*/".
10061 * manual/examples/add.c: Add copyright header (GPL>=2).
10062 * manual/examples/argp-ex1.c: Likewise.
10063 * manual/examples/argp-ex2.c: Likewise.
10064 * manual/examples/argp-ex3.c: Likewise.
10065 * manual/examples/argp-ex4.c: Likewise.
10066 * manual/examples/atexit.c: Likewise.
10067 * manual/examples/db.c: Likewise.
10068 * manual/examples/dir.c: Likewise.
10069 * manual/examples/dir2.c: Likewise.
10070 * manual/examples/execinfo.c: Likewise.
10071 * manual/examples/filecli.c: Likewise.
10072 * manual/examples/filesrv.c: Likewise.
10073 * manual/examples/fmtmsgexpl.c: Likewise.
10074 * manual/examples/genpass.c: Likewise.
10075 * manual/examples/inetcli.c: Likewise.
10076 * manual/examples/inetsrv.c: Likewise.
10077 * manual/examples/isockad.c: Likewise.
10078 * manual/examples/longopt.c: Likewise.
10079 * manual/examples/memopen.c: Likewise.
10080 * manual/examples/memstrm.c: Likewise.
10081 * manual/examples/mkfsock.c: Likewise.
10082 * manual/examples/mkisock.c: Likewise.
10083 * manual/examples/mygetpass.c: Likewise.
10084 * manual/examples/pipe.c: Likewise.
10085 * manual/examples/popen.c: Likewise.
10086 * manual/examples/rprintf.c: Likewise.
10087 * manual/examples/search.c: Likewise.
10088 * manual/examples/select.c: Likewise.
10089 * manual/examples/setjmp.c: Likewise.
10090 * manual/examples/sigh1.c: Likewise.
10091 * manual/examples/sigusr.c: Likewise.
10092 * manual/examples/stpcpy.c: Likewise.
10093 * manual/examples/strdupa.c: Likewise.
10094 * manual/examples/strftim.c: Likewise.
10095 * manual/examples/strncat.c: Likewise.
10096 * manual/examples/subopt.c: Likewise.
10097 * manual/examples/swapcontext.c: Likewise.
10098 * manual/examples/termios.c: Likewise.
10099 * manual/examples/testopt.c: Likewise.
10100 * manual/examples/testpass.c: Likewise.
10101 * manual/examples/timeval_subtract.c: Likewise.
10102
01ae168d
RM
10103 [BZ #13792]
10104 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10105 function to ...
10106 * manual/timeval_subtract.c.texi: ... here, new file.
10107
49efa33d
DM
101082012-03-02 David S. Miller <davem@davemloft.net>
10109
10110 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10111
28afd92d
JM
101122012-03-02 Joseph Myers <joseph@codesourcery.com>
10113
804360ed
JM
10114 [BZ #3976]
10115 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10116 (__sin): Save and restore rounding mode and use round-to-nearest
10117 for all computations.
10118 (__cos): Save and restore rounding mode and use round-to-nearest
10119 for all computations.
10120 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10121 <fenv.h>.
10122 (tan): Save and restore rounding mode and use round-to-nearest for
10123 all computations.
10124 * math/libm-test.inc (cos_test_tonearest): New function.
10125 (cos_test_towardzero): Likewise.
10126 (cos_test_downward): Likewise.
10127 (cos_test_upward): Likewise.
10128 (sin_test_tonearest): Likewise.
10129 (sin_test_towardzero): Likewise.
10130 (sin_test_downward): Likewise.
10131 (sin_test_upward): Likewise.
10132 (tan_test_tonearest): Likewise.
10133 (tan_test_towardzero): Likewise.
10134 (tan_test_downward): Likewise.
10135 (tan_test_upward): Likewise.
10136 (main): Call the new functions.
10137 * sysdeps/i386/fpu/libm-test-ulps: Update.
10138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10139
a6d06d7b
JM
10140 [BZ #10135]
10141 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10142 small n, then large n, before computing and testing k+n.
10143 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10144 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10145 Likewise.
10146 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10147 Likewise.
10148 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10149 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10150 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10151 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10153 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10154 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10155 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10156 * math/libm-test.inc (scalbn_test): Add more tests.
10157 (scalbln_test): Likewise.
10158
07e12bb3
JM
10159 * manual/filesys.texi (mode_t): Describe constraints on size and
10160 signedness, not exact equivalence to a particular type.
10161 (ino_t): Likewise.
10162 (ino64_t): Likewise.
10163 (dev_t): Likewise.
10164 (nlink_t): Likewise.
10165 (blkcnt_t): Likewise.
10166 (blkcnt64_t): Likewise.
10167 * manual/llio.texi (off_t): Likewise.
10168
28afd92d
JM
10169 [BZ #3976]
10170 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10171 (__ieee754_exp): Save and restore rounding mode and use
10172 round-to-nearest for all computations.
10173 * math/libm-test.inc (exp_test_tonearest): New function.
10174 (exp_test_towardzero): Likewise.
10175 (exp_test_downward): Likewise.
10176 (exp_test_upward): Likewise.
10177 (main): Call the new functions.
10178 * sysdeps/i386/fpu/libm-test-ulps: Update.
10179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10180
b1eeb65d
CD
101812012-03-01 Chris Demetriou <cgd@google.com>
10182
10183 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10184 have predictable order.
10185
53362a4b
DM
101862012-03-01 David S. Miller <davem@davemloft.net>
10187
3c969083
DM
10188 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10189
759707de
DM
10190 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10191 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10192 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10193 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10194
dfdb8ff2
DM
10195 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10196 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10197 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10199 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10200 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10201 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10202 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10203 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10204
ead89f96
DM
10205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10206
7f66bd07
DM
10207 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10208 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10209 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10210
53362a4b
DM
10211 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10212 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10213 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10214 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10215 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10217 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10218 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10219 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10220 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10221 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10222 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10224 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10225 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10227 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10228 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10229 * sysdeps/sparc/elf/configure: Regenerated.
10230
7b1902cb
JM
102312012-03-01 Joseph Myers <joseph@codesourcery.com>
10232
bec039bc
JM
10233 * configure.in (AS, LD): Require binutils 2.20 or later.
10234 * configure: Regenerated.
10235 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10236 as required minimum version.
10237 * INSTALL: Regenerated.
10238
7b1902cb
JM
10239 [BZ #2541]
10240 [BZ #4108]
10241 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10242 before squaring exponent.
10243 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10244 bottom long double and 27 bits of top long double before squaring
10245 exponent.
10246 * math/libm-test.inc (erfc_test): Add more tests.
10247 * sysdeps/i386/fpu/libm-test-ulps: Update.
10248 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10250
f775c276
KT
102512012-03-01 Kai Tietz <ktietz@redhat.com>
10252
10253 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10254 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10255 containing bit-fields.
10256 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10257 * soft-fp/single.h (_FP_UNION_S): Likewise.
10258 * soft-fp/double.h (_FP_UNION_D): Likewise.
10259
5b8a4d4a
JM
102602012-02-29 Joseph Myers <joseph@codesourcery.com>
10261
0bab47b6
JM
10262 [BZ #13786]
10263 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10264 not include ../strcmp.S.
10265 [USE_AS_STRNCASECMP_L]: Likewise.
10266 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10267 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10268 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10269 (__strncasecmp_l_ia32): Define as alias to
10270 __strncasecmp_l_nonascii.
10271
0fcad3e2
JM
10272 [BZ #5794]
10273 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10274 * sysdeps/i386/fpu/libm-test-ulps: Update.
10275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10276
5b8a4d4a
JM
10277 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279
8fdceb2e
JL
102802012-02-29 Jeff Law <law@redhat.com>
10281
10282 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10283 out of bounds read.
10284
1f393a11
MP
102852012-02-29 Marek Polacek <polacek@redhat.com>
10286
10287 [BZ #13706]
10288 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10289 * elf/Makefile: Add rules to run tst-unused-dep.out.
10290
8847f037
DM
102912012-02-28 David S. Miller <davem@davemloft.net>
10292
10293 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10294 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10295 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10296 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10297 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10298 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10299
169d7f11
JM
103002012-02-29 Joseph Myers <joseph@codesourcery.com>
10301
10302 * math/libm-test.inc (llround_test): Move one test from
10303 lround_test. Use TEST_f_L in moved test.
10304 (lround_test): Move misplaced test to llround_test. Add testcase
10305 from bug 2561.
10306
39adf059
UD
103072012-02-28 Ulrich Drepper <drepper@gmail.com>
10308
10309 * sysdeps/x86_64/fpu/e_expf.S: New file.
10310 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10311
71b5d1c5
SB
103122012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10313
10314 [BZ #13637]
10315 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10316 of remain_len that may cause incomplete multi-byte character and
10317 false match.
10318 * posix/bug-regex33.c: New file.
10319 * posix/Makefile (tests): Add bug-regex33.
10320
1f77f049
JM
103212012-02-28 Joseph Myers <joseph@codesourcery.com>
10322
10323 * manual/macros.texi: New file.
10324 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10325 * manual/libc.texinfo: Include macros.texi.
10326 * manual/creatute.texi: Likewise.
10327 * manual/install.texi: Likewise.
10328 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10329 @glibcadj{} in references to the GNU C Library.
10330 * manual/charset.texi: Likewise.
10331 * manual/conf.texi: Likewise.
10332 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10333 when not using those macros.
10334 * manual/creature.texi: Likewise.
10335 * manual/crypt.texi: Likewise.
10336 * manual/errno.texi: Likewise.
10337 * manual/filesys.texi: Likewise.
10338 * manual/header.texi: Likewise.
10339 * manual/install.texi: Likewise.
10340 * manual/intro.texi: Likewise.
10341 * manual/io.texi: Likewise.
10342 * manual/job.texi: Likewise.
10343 * manual/lang.texi: Likewise.
10344 * manual/libc.texiinfo: Likewise.
10345 * manual/llio.texi: Likewise.
10346 * manual/locale.texi: Likewise.
10347 * manual/maint.texi: Likewise.
10348 * manual/math.texi: Likewise.
10349 * manual/memory.texi: Likewise.
10350 * manual/message.texi: Likewise.
10351 * manual/nss.texi: Likewise.
10352 * manual/pattern.texi: Likewise.
10353 * manual/process.texi: Likewise.
10354 * manual/resource.texi: Likewise.
10355 * manual/search.texi: Likewise.
10356 * manual/setjmp.texi: Likewise.
10357 * manual/signal.texi: Likewise.
10358 * manual/socket.texi: Likewise.
10359 * manual/startup.texi: Likewise.
10360 * manual/stdio.texi: Likewise.
10361 * manual/string.texi: Likewise.
10362 * manual/sysinfo.texi: Likewise.
10363 * manual/syslog.texi: Likewise.
10364 * manual/terminal.texi: Likewise.
10365 * manual/time.texi: Likewise.
10366 * manual/users.texi: Likewise.
10367 * INSTALL: Regenerated.
10368 * NOTES: Regenerated.
d40c5d54 10369 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10370
450bf206
AS
103712012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10372
10373 * include/dirent.h: Include <dirstream.h> before
10374 <dirent/dirent.h>.
10375
741a235b
DM
103762012-02-28 David S. Miller <davem@davemloft.net>
10377
10378 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10379 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10380 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10381 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10382
d6b5aa58
DM
103832012-02-27 David S. Miller <davem@davemloft.net>
10384
1aff59a3
DM
10385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10387 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10388 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10389
d6b5aa58
DM
10390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10391 frame pointer instead of stack pointer relative arg slot.
10392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10393 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10394 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10395
433f48bf
CD
103962012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10397
10398 [BZ #3992]
10399 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10400
d674b76d
DM
104012012-02-27 David S. Miller <davem@davemloft.net>
10402
10403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10407 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10408 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10409 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10410 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10411
0e7727f7
JM
104122012-02-27 Joseph Myers <joseph@codesourcery.com>
10413
10414 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10415 later. Allow versions 5-9.
43be4ca2 10416 * configure: Regenerated.
0e7727f7
JM
10417 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10418 required minimum version and 4.6 as recommended version. Do not
10419 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10420 * INSTALL: Regenerated.
0e7727f7 10421
a78bc654
DM
104222012-02-27 David S. Miller <davem@davemloft.net>
10423
428d5830
DM
10424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10428 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10429 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10430 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10431 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10432
a78bc654
DM
10433 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10434 manipulate bits before adding and subtracting TWO112[sx].
10435 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10436
4579f81c
RM
104372012-02-27 Roland McGrath <roland@hack.frob.com>
10438
36c8acb4
RM
10439 [BZ #13775]
10440 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10441 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10442 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10443 being in POSIX, because they are in 1003.1-2008.
10444
84ad622b
RM
10445 * rt/tst-aio.c: Include <fcntl.h>.
10446 * rt/tst-aio7.c: Likewise.
10447 * rt/tst-aio64.c: Likewise.
10448
4579f81c
RM
10449 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10450
abd923db
JM
104512012-02-27 Joseph Myers <joseph@codesourcery.com>
10452
10453 * manual/install.texi (--with-headers): Describe headers as
10454 interface headers, not private headers.
10455 (Specific advice for GNU/Linux systems): Describe use of headers
10456 from "make headers_install", not private headers from older
10457 kernels.
43be4ca2 10458 * INSTALL: Regenerated.
abd923db
JM
10459 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10460 Change to 2.6.19.
10461 * sysdeps/unix/sysv/linux/configure: Regenerated.
10462
6664049b
JM
10463 * manual/llio.texi (fclean): Remove documentation.
10464
bb8b6697
JM
10465 * manual/Makefile (libc-texi-generated): New variable. Include
10466 version.texi.
10467 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10468 $(libc-texi-generated), not duplicated list of files.
10469 (version.texi, stamp-version): New rules.
10470 (realclean): Remove $(libc-texi-generated), not individual files
10471 from that list. Do not remove dir-add.texinfo.
10472 * manual/libc.texinfo: Comment out uses of edition numbers and
10473 references to printed manual. Remove last-updated dates.
10474 (EDITION): Comment out.
10475 (ISBN): Likewise.
10476 (VERSION, UPDATED): Remove.
10477 (version.texi): Include.
10478
12e5c3b9
AS
104792012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10480
10481 * sysdeps/posix/spawni.c: Include <signal.h>.
10482 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10483 * sysdeps/pthread/aio_fsync.c: Likewise.
10484
4efeffc1 104852012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10486
ba63ba08
UD
10487 * conform/Makefile (tests): Run only when not cross-compiling and
10488 when fast-check is not defined.
10489
d94a4670
UD
10490 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10491 * conform/data/limits.h-data: Fixes for POSIX2008.
10492 * conform/run-conformtest.sh: Run all tests.
10493 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10494 headers.
10495 * include/bits/dlfcn.h: Likewise.
10496 * include/langinfo.h: Likewise.
10497 * include/monetary.h: Likewise.
10498 * include/sys/poll.h: Likewise.
10499
10500 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10501 for __USE_GNU.
10502 * posix/spawn.h: Define __need_sigset_t.
10503 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10504 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10505 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10506 to get sigevent_t only.
10507 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10508 only for __USE_GNU.
10509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10510 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10511 process_vm_writev only for __USE_GNU.
10512 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10513
10514 * conform/Makefile: For now ignore errors from run-conformtest.
10515 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10516 POSIX to avoid namespace pollution. Don't prepend headers.
10517 * conform/data/aio.h-data: Fixes for POSIX testing.
10518 * conform/data/fcntl.h-data: Likewise.
10519 * conform/data/glob.h-data: Likewise.
10520 * conform/data/grp.h-data: Likewise.
10521 * conform/data/pthread.h-data: Likewise.
10522 * conform/data/pwd.h-data: Likewise.
10523 * conform/data/signal.h-data: Likewise.
10524 * conform/data/spawn.h-data: Likewise.
10525 * conform/data/stdio.h-data: Likewise.
10526 * conform/data/stdlib.h-data: Likewise.
10527 * conform/data/stropts.h-data: Likewise.
10528 * conform/data/sys/mman.h-data: Likewise.
10529 * conform/data/sys/stat.h-data: Likewise.
10530 * conform/data/sys/types.h-data: Likewise.
10531 * conform/data/sys/wait.h-data: Likewise.
10532 * conform/data/time.h-data: Likewise.
10533 * conform/data/unistd.h-data: Likewise.
10534 * conform/data/utime.h-data: Likewise.
10535
10536 * io/sys/stat.h: fchmod was always in POSIX.
10537 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10538 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10539 * rt/aio.h: Define __need_timespec before including <time.h>.
10540 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10541 struct. Add forward declaration of pthread_attr_t and use it in
10542 sigevent.
10543 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10545 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10546 always remove CLK_TCK definition.
10547
c20105c3
AS
105482012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10549
10550 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10551
7a270350
UD
105522012-02-25 Ulrich Drepper <drepper@gmail.com>
10553
31341567
UD
10554 * conform/run-conformtest.sh: New file.
10555 * conform/Makefile: Run run-conformtest for tests.
10556 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10557 support.
10558
10559 * conform/data/uchar.h-data: New file.
10560 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10561 * conform/data/arpa/inet.h-data: Likewise.
10562 * conform/data/assert.h-data: Likewise.
10563 * conform/data/complex.h-data: Likewise.
10564 * conform/data/cpio.h-data: Likewise.
10565 * conform/data/ctype.h-data: Likewise.
10566 * conform/data/dirent.h-data: Likewise.
10567 * conform/data/dlfcn.h-data: Likewise.
10568 * conform/data/errno.h-data: Likewise.
10569 * conform/data/fcntl.h-data: Likewise.
10570 * conform/data/float.h-data: Likewise.
10571 * conform/data/fmtmsg.h-data: Likewise.
10572 * conform/data/fnmatch.h-data: Likewise.
10573 * conform/data/ftw.h-data: Likewise.
10574 * conform/data/glob.h-data: Likewise.
10575 * conform/data/grp.h-data: Likewise.
10576 * conform/data/iconv.h-data: Likewise.
10577 * conform/data/inttypes.h-data: Likewise.
10578 * conform/data/langinfo.h-data: Likewise.
10579 * conform/data/libgen.h-data: Likewise.
10580 * conform/data/limits.h-data: Likewise.
10581 * conform/data/locale.h-data: Likewise.
10582 * conform/data/math.h-data: Likewise.
10583 * conform/data/monetary.h-data: Likewise.
10584 * conform/data/mqueue.h-data: Likewise.
10585 * conform/data/ndbm.h-data: Likewise.
10586 * conform/data/net/if.h-data: Likewise.
10587 * conform/data/netdb.h-data: Likewise.
10588 * conform/data/netinet/in.h-data: Likewise.
10589 * conform/data/nl_types.h-data: Likewise.
10590 * conform/data/poll.h-data: Likewise.
10591 * conform/data/pthread.h-data: Likewise.
10592 * conform/data/pwd.h-data: Likewise.
10593 * conform/data/regex.h-data: Likewise.
10594 * conform/data/sched.h-data: Likewise.
10595 * conform/data/search.h-data: Likewise.
10596 * conform/data/semaphore.h-data: Likewise.
10597 * conform/data/setjmp.h-data: Likewise.
10598 * conform/data/signal.h-data: Likewise.
10599 * conform/data/spawn.h-data: Likewise.
10600 * conform/data/stdarg.h-data: Likewise.
10601 * conform/data/stdio.h-data: Likewise.
10602 * conform/data/stdlib.h-data: Likewise.
10603 * conform/data/string.h-data: Likewise.
10604 * conform/data/strings.h-data: Likewise.
10605 * conform/data/stropts.h-data: Likewise.
10606 * conform/data/sys/ipc.h-data: Likewise.
10607 * conform/data/sys/mman.h-data: Likewise.
10608 * conform/data/sys/msg.h-data: Likewise.
10609 * conform/data/sys/resource.h-data: Likewise.
10610 * conform/data/sys/select.h-data: Likewise.
10611 * conform/data/sys/sem.h-data: Likewise.
10612 * conform/data/sys/shm.h-data: Likewise.
10613 * conform/data/sys/socket.h-data: Likewise.
10614 * conform/data/sys/stat.h-data: Likewise.
10615 * conform/data/sys/statvfs.h-data: Likewise.
10616 * conform/data/sys/time.h-data: Likewise.
10617 * conform/data/sys/timeb.h-data: Likewise.
10618 * conform/data/sys/times.h-data: Likewise.
10619 * conform/data/sys/types.h-data: Likewise.
10620 * conform/data/sys/uio.h-data: Likewise.
10621 * conform/data/sys/un.h-data: Likewise.
10622 * conform/data/sys/utsname.h-data: Likewise.
10623 * conform/data/sys/wait.h-data: Likewise.
10624 * conform/data/syslog.h-data: Likewise.
10625 * conform/data/tar.h-data: Likewise.
10626 * conform/data/termios.h-data: Likewise.
10627 * conform/data/utime.h-data: Likewise.
10628 * conform/data/utmpx.h-data: Likewise.
10629 * conform/data/varargs.h-data: Likewise.
10630 * conform/data/wchar.h-data: Likewise.
10631 * conform/data/wctype.h-data: Likewise.
10632 * conform/data/wordexp.h-data: Likewise.
10633
10634 * include/stropts.h: New file.
10635 * include/uchar.h: New file.
10636 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10637 * include/assert.h: Likewise.
10638 * include/ctype.h: Likewise.
10639 * include/dirent.h: Likewise.
10640 * include/dlfcn.h: Likewise.
10641 * include/fcntl.h: Likewise.
10642 * include/fnmatch.h: Likewise.
10643 * include/glob.h: Likewise.
10644 * include/grp.h: Likewise.
10645 * include/libio.h: Likewise.
10646 * include/locale.h: Likewise.
10647 * include/math.h: Likewise.
10648 * include/net/if.h: Likewise.
10649 * include/netdb.h: Likewise.
10650 * include/netinet/in.h: Likewise.
10651 * include/pthread.h: Likewise.
10652 * include/pwd.h: Likewise.
10653 * include/regex.h: Likewise.
10654 * include/sched.h: Likewise.
10655 * include/search.h: Likewise.
10656 * include/setjmp.h: Likewise.
10657 * include/signal.h: Likewise.
10658 * include/stdio.h: Likewise.
10659 * include/stdlib.h: Likewise.
10660 * include/string.h: Likewise.
10661 * include/sys/cdefs.h: Likewise.
10662 * include/sys/mman.h: Likewise.
10663 * include/sys/msg.h: Likewise.
10664 * include/sys/resource.h: Likewise.
10665 * include/sys/select.h: Likewise.
10666 * include/sys/socket.h: Likewise.
10667 * include/sys/stat.h: Likewise.
10668 * include/sys/statvfs.h: Likewise.
10669 * include/sys/time.h: Likewise.
10670 * include/sys/times.h: Likewise.
10671 * include/sys/uio.h: Likewise.
10672 * include/sys/utsname.h: Likewise.
10673 * include/sys/wait.h: Likewise.
10674 * include/termios.h: Likewise.
10675 * include/time.h: Likewise.
10676 * include/ulimit.h: Likewise.
10677 * include/unistd.h: Likewise.
10678 * include/utime.h: Likewise.
10679 * include/wchar.h: Likewise.
10680 * include/wctype.h: Likewise.
10681 * include/wordexp.h: Likewise.
10682
10683 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10684
7a270350
UD
10685 * time/time.h: TIME_UTC must be a macro.
10686 Make timespec_get available for ISO C11 only as well.
10687
7724defc
UD
106882012-02-24 Ulrich Drepper <drepper@gmail.com>
10689
10690 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10691 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10692
6b1d1d46
JM
106932012-02-24 Joseph Myers <joseph@codesourcery.com>
10694
10695 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10696
0f8bbd69
JM
106972012-02-24 Joseph Myers <joseph@codesourcery.com>
10698
10699 * manual/texinfo.tex: Update to version 2012-01-19.16.
10700
66ab80bc
JM
107012012-02-24 Joseph Myers <joseph@codesourcery.com>
10702
10703 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10704
74981cc5
RM
107052012-02-24 Roland McGrath <roland@hack.frob.com>
10706
ee968201
RM
10707 [BZ #13738]
10708 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10709 * manual/fdl-1.3.texi: New file.
10710 * manual/fdl-1.1.texi: File removed.
10711
74981cc5
RM
10712 [BZ #13738]
10713 * manual/libc.texinfo (FDL_VERSION): New @set.
10714 Use it for mention of FDL in cover text.
10715 (Documentation License): Use it in @include file name.
10716
7bb764bc
JM
107172012-02-22 Joseph Myers <joseph@codesourcery.com>
10718 Roland McGrath <roland@hack.frob.com>
10719
10720 [BZ #5461]
10721 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10722 not LONG_LONG_MAX and LONG_LONG_MIN.
10723 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10724 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10725 name.
10726 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10727
6cbeae47
JM
107282012-02-22 Joseph Myers <joseph@codesourcery.com>
10729
10730 [BZ #2547]
10731 [BZ #11365]
10732 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10733 manipulate bits before adding and subtracting TWO23[sx].
10734 * math/libm-test.inc (nearbyint_test): Add more tests.
10735
fe45ce09
JM
107362012-02-22 Joseph Myers <joseph@codesourcery.com>
10737
10738 [BZ #2548]
10739 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10740 bits before adding and subtracting TWO23[sx].
10741 * math/libm-test.inc (rint_test): Add more tests.
10742 (rint_test_tonearest): Likewise.
10743 (rint_test_towardzero): Likewise.
10744 (rint_test_downward): Likewise.
10745 (rint_test_upward: Likewise.
10746
ff3b3d82
JM
107472012-02-22 Joseph Myers <joseph@codesourcery.com>
10748
10749 [BZ #10110]
10750 * include/stdc-predef.h: New file. Extracted from features.h.
10751 * include/features.h: Include stdc-predef.h.
10752 * Makefile (headers): Add stdc-predef.h.
10753 * CONFORMANCE (Compiler limitations): Update.
10754
ef0aab35
JM
107552012-02-22 Joseph Myers <joseph@codesourcery.com>
10756
10757 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10758
58639409
DM
107592012-02-21 David S. Miller <davem@davemloft.net>
10760
10761 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10762 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10763
c0e70b25
DM
107642012-02-20 David S. Miller <davem@davemloft.net>
10765
10766 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10767 using a normal save/restore sequence, rather than allocating a
10768 dummy stack frame just to store a frame pointer and restore.
10769 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10770
fb06851d
JM
107712012-02-21 Joseph Myers <joseph@codesourcery.com>
10772
10773 * manual/install.texi: Fix stray word in line-wrapped comment.
10774
7a8b71c3
DM
107752012-02-20 David S. Miller <davem@davemloft.net>
10776
d510c123
DM
10777 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10778 both binutils and gcc support GOTDATA.
10779
0722d7c2
DM
10780 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10781 "rd %pc" in the PIC register setup sequences.
10782
3d2b3019
DM
10783 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10784 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10785 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10786 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10787 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10788 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10789 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10792 (SYSCALL_ERROR_HANDLER): Likewise.
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10794 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10796 (SYSCALL_ERROR_HANDLER): Likewise.
10797
c80098a9
DM
10798 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10799 (HAVE_GCC_GOTDATA): New.
10800 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10801 relocation support in both binutils and gcc.
10802 * sysdeps/sparc/elf/configure: Regenerate.
10803
3a2545a0
DM
10804 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10805 * sysdeps/sparc/sparc32/elf/configure: Delete.
10806 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10807 * sysdeps/sparc/sparc64/elf/configure: Delete.
10808 * sysdeps/sparc/elf/configure.in: New file.
10809 * sysdeps/sparc/elf/configure: Generate.
10810
7a8b71c3
DM
10811 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10812 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10813 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10814 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10815 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10816
f1e86fca
JM
108172012-02-21 Joseph Myers <joseph@codesourcery.com>
10818
10819 * manual/install.texi: Do not mention specific glibc version
10820 numbers.
10821 * manual/libc.texinfo (VERSION, UPDATED): Update.
10822 (@copying): Use @copyright{} and range of years.
10823
0e7dfaef
JM
108242012-02-21 Joseph Myers <joseph@codesourcery.com>
10825
10826 [BZ #13695]
10827 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10828 [crti.S not in sysdirs] (generated): Do not append.
10829 [crti.S not in sysdirs] (omit-deps): Likewise.
10830 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10831 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10832 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10833 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10834 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10835 Likewise.
10836 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10837 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10838 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10839 * csu/defs.awk: Remove file.
10840 * sysdeps/generic/initfini.c: Likewise.
10841 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10842 variable.
10843 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10844 Likewise.
10845
599af3ca
JM
108462012-02-20 Joseph Myers <joseph@codesourcery.com>
10847
10848 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10849 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10850 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10852 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10853 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10854 <bits/epoll.h>.
10855 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10856 (__EPOLL_PACKED): Define to empty if not defined by
10857 <bits/epoll.h>.
10858 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10860 bits/epoll.h.
10861
0e499750
JM
108622012-02-20 Joseph Myers <joseph@codesourcery.com>
10863
10864 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10865 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10866 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10867 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10868 <bits/timerfd.h>.
10869 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10871 bits/timerfd.h.
10872
5ad91f6e
JM
108732012-02-20 Joseph Myers <joseph@codesourcery.com>
10874
10875 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10876 in C locale.
10877 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10878 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10879 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881
06b99b02
AJ
108822012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10883
10884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10886
7638c0fd
AS
108872012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10888
10889 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10890 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10891 defined.
10892 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10893 Likewise.
10894 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10895 entry for 2.16.
10896
92221550
AJ
108972012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10898
10899 * math/w_acos.c: Use non-signaling floating-point comparisons.
10900 * math/w_acosf.c: Likewise.
10901 * math/w_acosh.c: Likewise.
10902 * math/w_acoshf.c: Likewise.
10903 * math/w_acoshl.c: Likewise.
10904 * math/w_acosl.c: Likewise.
10905 * math/w_asin.c: Likewise.
10906 * math/w_asinf.c: Likewise.
10907 * math/w_asinl.c: Likewise.
10908 * math/w_atanh.c: Likewise.
10909 * math/w_atanhf.c: Likewise.
10910 * math/w_atanhl.c: Likewise.
10911 * math/w_exp2.c: Likewise.
10912 * math/w_exp2f.c: Likewise.
10913 * math/w_exp2l.c: Likewise.
10914 * math/w_j0.c: Likewise.
10915 * math/w_j0f.c: Likewise.
10916 * math/w_j0l.c: Likewise.
10917 * math/w_j1.c: Likewise.
10918 * math/w_j1f.c: Likewise.
10919 * math/w_j1l.c: Likewise.
10920 * math/w_jn.c: Likewise.
10921 * math/w_jnf.c: Likewise.
10922 * math/w_log.c: Likewise.
10923 * math/w_log10.c: Likewise.
10924 * math/w_log10f.c: Likewise.
10925 * math/w_log10l.c: Likewise.
10926 * math/w_log2.c: Likewise.
10927 * math/w_log2f.c: Likewise.
10928 * math/w_log2l.c: Likewise.
10929 * math/w_logf.c: Likewise.
10930 * math/w_logl.c: Likewise.
10931 * math/w_sqrt.c: Likewise.
10932 * math/w_sqrtf.c: Likewise.
10933 * math/w_sqrtl.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10936 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10937 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10938 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10939
ebaf36eb
JM
109402012-02-19 Joseph Myers <joseph@codesourcery.com>
10941
10942 [BZ #9739]
10943 * manual/string.texi (strnlen): Use correct parameter name in
10944 equivalent expression.
10945
71c254a6
JM
109462012-02-19 Joseph Myers <joseph@codesourcery.com>
10947
10948 [BZ #11174]
10949 * manual/users.texi (seteuid): Consistently use neweuid for
10950 argument name.
10951
16d2c631
JM
109522012-02-19 Joseph Myers <joseph@codesourcery.com>
10953
10954 [BZ #13704]
10955 * manual/nss.texi (Services in the NSS configuration): Correct
10956 list of services in example configuration file.
10957
cd837b09
NB
109582012-02-19 Nick Bowler <nbowler@draconx.ca>
10959
10960 [BZ #11322]
10961 * manual/arith.texi: Remove statements about negative zero
10962 behaving identically to zero.
10963
02c4bbad
JM
109642012-02-18 Joseph Myers <joseph@codesourcery.com>
10965
10966 [BZ #5993]
10967 * manual/install.texi: Do not document upgrading from libc5.
10968
366842e7
JM
109692012-02-18 Joseph Myers <joseph@codesourcery.com>
10970
10971 [BZ #4596]
10972 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10973
dd54084d
DM
109742012-02-18 David S. Miller <davem@davemloft.net>
10975
10976 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10977 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10978 %o7 across the call.
10979 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10980 instead.
10981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10982 SETUP_PIC_REG_LEAF.
10983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10984 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10985 * sysdeps/sparc/crtn.S: Likewise.
10986
2bcc53a3
UD
109872012-02-17 Ulrich Drepper <drepper@gmail.com>
10988
10989 * aout/Makefile: Remove.
10990
09c093b5
RK
109912012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10992
10993 [BZ #13058]
10994 * manual/examples/argp-ex1.c (main): Format definition in GNU
10995 style.
10996 * manual/examples/argp-ex2.c (main): Likewise.
10997 * manual/examples/argp-ex3.c (main): Likewise.
10998 * manual/examples/argp-ex4.c (main): Likewise.
10999 * manual/examples/longopt.c (main): Use new-style prototype
11000 definition.
11001 * manual/examples/strncat.c (main): Specify return type and use
11002 (void) for arguments.
11003 * manual/examples/subopt.c (main): Use char **argv argument.
11004
2ee633a2
JM
110052012-02-17 Joseph Myers <joseph@codesourcery.com>
11006
11007 [BZ #5077]
11008 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11009 rounding modes.
11010
0520adde
FB
110112012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11012
11013 [BZ #6907]
11014 * manual/string.texi (strchr): Change when strchrnul is
11015 recommended.
11016
3f4081cd
DGM
110172012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11018
11019 [BZ #174]
11020 * manual/locale.texi (setlocale): Document LOCPATH.
11021
d1b10e78
JM
110222012-02-17 Joseph Myers <joseph@codesourcery.com>
11023
11024 [BZ #10210]
11025 * manual/process.texi (execle): Move @dots{} before last argument.
11026
79c6869c
PB
110272012-02-17 Paul Bolle <pebolle@tiscali.nl>
11028
11029 [BZ #12047]
11030 * manual/charset.texi (Generic Charset Conversion): Fix typo
11031 (LC_TYPE -> LC_CTYPE).
11032
cc6e48bc
NB
110332012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11034
11035 [BZ #5805]
11036 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11037 (scalbnf): Likewise.
11038 (scalbnl): Likewise.
11039 (scalbln): Likewise.
11040 (scalblnf): Likewise.
11041 (scalblnl): Likewise.
11042 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11043 (vwarnx): Likewise.
11044 (verr): Likewise.
11045 (verrx): Likewise.
11046 * manual/filesys.texi (telldir): Use braces around return type.
11047 * manual/llio.texi (mmap): Add space after comma.
11048 (mmap64): Likewise.
11049 * manual/math.texi (jn): Use @var{} on parameter names.
11050 (jnf): Likewise.
11051 (jnl): Likewise.
11052 (yn): Likewise.
11053 (ynf): Likewise.
11054 (ynl): Likewise.
11055 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11056 line.
11057 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11058 "...".
11059 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11060 (sched_get_priority_max): Likewise.
11061 * manual/signal.texi (sigvec): Add space after comma.
11062 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11063 names.
11064 (if_indextoname): Likewise.
11065 (if_freenameindex): Likewise.
11066 (sendto): Use ',' instead of '.' in prototype.
11067 * manual/startup.texi (syscall): Use @dots{} instead of literal
11068 "...".
11069 * manual/stdio.texi (__fpending): Separate initial words of
11070 paragraph from @deftypefun line.
11071 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11072 "...".
11073 (vsyslog): Use @var{} on parameter names.
11074 * manual/terminal.texi (stty): Use @var{} on parameter names.
11075 * manual/users.texi (getutmp): Use @var{} on parameter names.
11076 (getutmpx): Likewise.
11077
5b23062f
JM
110782012-02-17 Joseph Myers <joseph@codesourcery.com>
11079
11080 [BZ #6884]
11081 * manual/stdio.texi (fopen): Fix typos in description of
11082 ",ccs=STRING".
11083
8dee4833
AJ
110842012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11085
11086 [BZ #4026]
11087 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11088 get clock_id definition.
11089
9078ce93
TS
110902012-02-17 Thomas Schwinge <thomas@schwinge.name>
11091
11092 [BZ #4822]
11093 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11094 (madvise): Cast every argument to void on its own.
11095
3835c55f
JM
110962012-02-17 Joseph Myers <joseph@codesourcery.com>
11097
11098 [BZ #9902]
11099 * manual/startup.texi (Exit Status): Fix typo.
11100
35c47e37
JM
111012012-02-17 Joseph Myers <joseph@codesourcery.com>
11102
11103 [BZ #10140]
11104 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11105 * manual/examples/argp-ex2.c: Likewise.
11106 * manual/examples/argp-ex3.c: Likewise.
11107
e3b69ca7
RH
111082012-02-16 Richard Henderson <rth@redhat.com>
11109
11110 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11111 * sysdeps/s390/s390-32/initfini.c: Remove.
11112 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11113 * sysdeps/s390/s390-64/initfini.c: Remove.
11114
df83af67
KK
111152012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11116
11117 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11118 compiler output for sysdeps/generic/initfini.c.
11119 * sysdeps/sh/elf/initfini.c: Remove file.
11120
f63f3380
DM
111212012-02-16 David S. Miller <davem@davemloft.net>
11122
fb59b3a4
DM
11123 [BZ #11494]
11124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11125
f63f3380
DM
11126 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11127 * sysdeps/sparc/crti.S: New file.
11128 * sysdeps/sparc/crtn.S: New file.
11129 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11130 * sysdeps/sparc/sparc64/Makefile: Likewise.
11131
df6a4a4a
MF
111322012-02-15 Mike Frysinger <vapier@gentoo.org>
11133
6dd8f3dc 11134 [BZ #3335]
df6a4a4a
MF
11135 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11136
1cac7236
RM
111372012-02-15 Roland McGrath <roland@hack.frob.com>
11138
d2c736f8
RM
11139 [BZ #4822]
11140 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11141
1cac7236
RM
11142 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11143 (write, read, close): Likewise.
11144 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11145
8e475601
JM
111462012-02-15 Joseph Myers <joseph@codesourcery.com>
11147
11148 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11149 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11150 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11151 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11152 <bits/signalfd.h>.
11153 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11155 bits/signalfd.h.
11156
ed656b40
MP
111572012-02-14 Marek Polacek <polacek@redhat.com>
11158
11159 * sysdeps/x86_64/crti.S: New file.
11160 * sysdeps/x86_64/crtn.S: New file.
11161 * sysdeps/x86_64/elf/initfini.c: Remove file.
11162
2a979d3a
JM
111632012-02-13 Joseph Myers <joseph@codesourcery.com>
11164
11165 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11166 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11167 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11168 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11169 <bits/inotify.h>.
11170 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11172 bits/inotify.h.
11173
2a418ac3
JM
111742012-02-13 Joseph Myers <joseph@codesourcery.com>
11175
11176 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11177 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11178 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11179 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11180 <bits/eventfd.h>.
11181 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11183 bits/eventfd.h.
11184
fb779be7
TS
111852012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11186
e19e83c5
RM
11187 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11188 __feraiseexcept instead of feraiseexcept.
7c35ffed 11189
fb779be7
TS
11190 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11191 nanosleep invocations.
11192 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11193 strings, and add error checking for a nanosleep invocations.
11194
59ba27a6
PE
111952012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11196
11197 Replace FSF snail mail address with URLs, as per GNU coding standards.
11198 Most of the snail mail addresses were wrong anyway, and omitting
11199 them makes the source code easier to maintain. Almost all of the
11200 changes are to license notices and to locale LC_IDENTIFICATION
11201 addresses, except for this one:
11202 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11203 not its snail mail address.
11204
57b957eb
RH
112052012-02-09 Richard Henderson <rth@twiddle.net>
11206
af850b1c
RH
11207 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11208 of kernel-features.h.
11209
57b957eb
RH
11210 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11211
6b73181a
MP
112122012-02-08 Marek Polacek <polacek@redhat.com>
11213
11214 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11215 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11216 * sysdeps/gnu/_G_config.h: Likewise.
11217 * sysdeps/generic/_G_config.h: Likewise.
11218
26ecc33a
AS
112192012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11220
6c6dbc63
AS
11221 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11222 tests.
11223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11224
e216c012
AS
11225 * sysdeps/powerpc/powerpc32/crti.S: New file.
11226 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11227 * sysdeps/powerpc/powerpc64/crti.S: New file.
11228 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11229
26ecc33a
AS
11230 * Makeconfig (have-initfini): Don't set.
11231 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11232 * configure.in (nopic_initfini): Don't substitute.
11233 * config.h.in (HAVE_INITFINI): Don't #undef.
11234 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11235 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11236
3add8e13
JM
112372012-02-08 Joseph Myers <joseph@codesourcery.com>
11238
11239 Support crti.S and crtn.S provided directly by architectures.
11240 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11241 [crti.S in sysdirs] (omit-deps): Likewise.
11242 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11243 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11244 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11245 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11246 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11247 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11248 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11249 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11250 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11251 compiler output for sysdeps/generic/initfini.c.
11252 * sysdeps/i386/elf/Makefile: Remove file.
11253 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11254
a22f12b4
MP
112552012-02-07 Marek Polacek <polacek@redhat.com>
11256
11257 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11258 * sysdeps/gnu/_G_config.h: Likewise.
11259 * sysdeps/mach/hurd/_G_config.h: Likewise.
11260
148cf100
MP
112612012-02-07 Marek Polacek <polacek@redhat.com>
11262
11263 * math/Makefile (tests): Add tst-CMPLX2.
11264 * math/tst-CMPLX2.c: New file.
11265
cfdc0dd7
AS
112662012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11267
84ba42c4
AS
11268 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11269
cfdc0dd7
AS
11270 * math/libm-test.inc (jn_test): Add missing L suffix.
11271
622c86f4
MP
112722012-02-06 Marek Polacek <polacek@redhat.com>
11273
11274 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11275 * sysdeps/i386/fpu/e_powf.S: Likewise.
11276 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11277 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11278 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11279 * sysdeps/i386/fpu/e_pow.S: Likewise.
11280 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11281 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11282 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11283 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11284 * sysdeps/i386/fpu/e_log2.S: Likewise.
11285 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11286 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11287 * sysdeps/i386/fpu/e_powl.S: Likewise.
11288 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11289 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11290 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11291 * sysdeps/i386/fpu/e_logl.S: Likewise.
11292 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11293 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11294 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11295 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11296 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11297 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11298 * sysdeps/i386/fpu/e_log.S: Likewise.
11299 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11300 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11301 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11302 * sysdeps/i386/fpu/e_logf.S: Likewise.
11303 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11304 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11305 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11306 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11307 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11308 * sysdeps/i386/fpu/e_log10.S: Likewise.
11309 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11310 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11311 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11312 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11313 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11314 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11315 * sysdeps/i386/asm-syntax.h: Likewise.
11316 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11317 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11318 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11319 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11320 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11321 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11322 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11323 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11324 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11325 * sysdeps/powerpc/sysdep.h: Likewise.
11326 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11327 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11328
d4a54ac6
JM
113292012-02-06 Joseph Myers <joseph@codesourcery.com>
11330
11331 [BZ #411]
11332 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11333
314054ea
JM
113342012-02-06 Joseph Myers <joseph@codesourcery.com>
11335
11336 * sysdeps/i386/sysdep.h: Include <features.h>.
11337 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11338 version.
11339
d8e0ca50
JM
113402012-02-05 Joseph Myers <joseph@codesourcery.com>
11341
11342 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11343 Define.
11344 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11345 LOAD_PIC_REG_STR.
11346
b1da7dd9
JM
113472012-02-03 Joseph Myers <joseph@codesourcery.com>
11348
11349 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11350 (SETUP_PIC_REG): Use GET_PC_THUNK.
11351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11352 macro.
11353
9a1d9254
JM
113542012-02-03 Joseph Myers <joseph@codesourcery.com>
11355
11356 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11357 for non-PIC compilation.
11358 (SETUP_PIC_REG): Add .p2align directive.
11359 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11360 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11361 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11362 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11363 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11364 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11365 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11366 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11367 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11368 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11369 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11370 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11371 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11372 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11373 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11374 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11375 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11376 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11377 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11378 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11379 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11380 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11381 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11382 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11383 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11385 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11386 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11387 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11388 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11389 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11390 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11391 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11392 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11393 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11394 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11395 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11396 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11397 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11398 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11399 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11400
65dc3b75
JM
114012012-02-03 Joseph Myers <joseph@codesourcery.com>
11402
11403 * math/tst-CMPLX.c: Include <stdio.h>.
11404
d55bf177
JM
114052012-01-31 Joseph Myers <joseph@codesourcery.com>
11406
11407 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11408 float.
11409 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11410 * sysdeps/sparc/bits/mathdef.h: Likewise.
11411
69db4f8f
MP
114122012-01-31 Marek Polacek <polacek@redhat.com>
11413
11414 * libio/libio.h: Don't define _PARAMS.
11415 * locale/programs/config.h: Don't define PARAMS.
11416 * stdlib/strtol_l.c: Likewise.
11417 (__strtol_l): Remove PARAMS from the prototype.
11418
41b81892
UD
114192012-01-31 Ulrich Drepper <drepper@gmail.com>
11420
3b49edc0
UD
11421 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11422 names. Just use the correct names. Remove unnecessary wrapper
11423 functions.
11424 * malloc/arena.c: Likewise.
11425 * malloc/hooks.c: Likewise.
11426
41b81892
UD
11427 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11428 ARENA_TEST says not to. Simplify test for creation of a new arena.
11429 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11430
27a25b6e
UD
114312012-01-30 Ulrich Drepper <drepper@gmail.com>
11432
11433 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11434 into tail calls.
11435 (update_get_addr): New function.
11436 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11437 GET_ADDR_MODULE parameter.
11438
c8a89e7d
JM
114392012-01-30 Joseph Myers <joseph@codesourcery.com>
11440
11441 * crypt/cert.c: Remove __STDC__ conditionals.
11442 * crypt/crypt-entry.c: Likewise.
11443 * crypt/crypt_util.c: Likewise.
11444 * libio/filedoalloc.c: Likewise.
11445 * libio/fileops.c: Likewise.
11446 * libio/genops.c: Likewise.
11447 * libio/iofclose.c: Likewise.
11448 * libio/iofdopen.c: Likewise.
11449 * libio/iofopen.c: Likewise.
11450 * libio/iofopen64.c: Likewise.
11451 * libio/iogetdelim.c: Likewise.
11452 * libio/iopopen.c: Likewise.
11453 * libio/obprintf.c: Likewise.
11454 * libio/oldfileops.c: Likewise.
11455 * libio/oldiofclose.c: Likewise.
11456 * libio/oldiofdopen.c: Likewise.
11457 * libio/oldiofopen.c: Likewise.
11458 * libio/oldiopopen.c: Likewise.
11459 * libio/wfiledoalloc.c: Likewise.
11460 * libio/wgenops.c: Likewise.
11461 * locale/programs/xmalloc.c: Likewise.
11462 * misc/syslog.c: Likewise.
11463 * stdio-common/xbug.c: Likewise.
11464 * string/memchr.c: Likewise.
11465 * string/memcmp.c: Likewise.
11466 * string/memrchr.c: Likewise.
11467 * string/rawmemchr.c: Likewise.
11468 * sysdeps/posix/getcwd.c: Likewise.
11469 * time/strftime_l.c: Likewise.
11470
3b100462
JM
114712012-01-30 Joseph Myers <joseph@codesourcery.com>
11472
11473 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11474 * config.make.in (config-cflags-sse2avx): Define.
11475 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11476 Fix typo.
11477
607998af
CM
114782012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11479
11480 * scripts/config.guess: Update from upstream config git repository.
11481 * scripts/config.sub: Likewise.
11482
3601428f
CM
114832012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11484
3ac8b282
CM
11485 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11486 (EM_NUM): Update.
11487 (R_TILEPRO_*, R_TILEGX_*): New macros.
11488
e034841e
CM
11489 * scripts/firstversions.awk: Fix bug in version range handling.
11490
540d7568
CM
11491 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11492
3601428f
CM
11493 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11494
463de862
CM
11495 * include/sys/epoll.h: New file.
11496 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11497 libc_hidden_def.
11498
73139a76
UD
114992012-01-28 Ulrich Drepper <drepper@gmail.com>
11500
96bc5b45
UD
11501 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11502 Avoid unnecessary __WORDSIZE == 64 test.
11503 (fmaxf): Use VEX format if possible.
11504 (fmax): Likewise.
11505 (fminf): Likewise.
11506 (fmin): Likewise.
11507
56f6f6a2
UD
11508 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11509 * math/math_private.h: Remove libc_fegetround* and
11510 libc_fesetround*.
11511 * sysdeps/i386/configure.in: Check for -msse2avx.
11512 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11513 also if SSE2AVX is defined.
11514 Remove libc_fegetround* and libc_fesetround*.
11515 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11516 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11517 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11518 of HAS_YMM_USABLE.
11519 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11520 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11521 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11522 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11523 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11524
73139a76
UD
11525 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11526
d73f93a4
AZ
115272012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11528
11529 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11530 size is not set.
11531 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11532
6ee65ed6
UD
115332012-01-27 Ulrich Drepper <drepper@gmail.com>
11534
11535 [BZ #13618]
11536 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11537 relocation.
11538 * Makeconfig (libm): Define.
11539 * elf/Makefile: Add rules to build and run tst-relsort1.
11540 * elf/tst-relsort1.c: New file.
11541 * elf/tst-relsort1mod1.c: New file.
11542 * elf/tst-relsort1mod2.c: New file.
11543
8db21882
JM
115442012-01-27 Joseph Myers <joseph@codesourcery.com>
11545
11546 * math/s_ldexp.c: Remove __STDC__ conditionals.
11547 * math/s_ldexpf.c: Likewise.
11548 * math/s_ldexpl.c: Likewise.
11549 * math/s_nextafter.c: Likewise.
11550 * math/s_nexttowardf.c: Likewise.
11551 * math/s_significand.c: Likewise.
11552 * math/s_significandf.c: Likewise.
11553 * math/s_significandl.c: Likewise.
11554 * math/w_jnl.c: Likewise.
11555 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11556 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11557 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11558 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11559 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11565 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11574 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11575 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11576 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11577 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11579 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11580 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11581 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11582 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11583 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11584 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11585 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11586 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11587 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11588 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11589 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11590 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11591 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11592 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11593 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11594 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11595 * sysdeps/ieee754/k_standard.c: Likewise.
11596 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11597 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11598 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11599 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11600 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11601 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11602 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11603 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11604 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11605 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11606 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11607 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11608 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11609 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11610 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11611 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11612 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11613 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11614 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11615 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11616 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11619 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11620 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11621 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11624 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11625 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11626 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11628 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11629 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11631 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11632 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11633 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11634 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11635 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11657 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11670 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11671 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11675 * sysdeps/ieee754/s_matherr.c: Likewise.
11676 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11677 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11678 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11679 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11680
965a54a4
JM
116812012-01-26 Joseph Myers <joseph@codesourcery.com>
11682
11683 * crypt/md5.h: Remove __STDC__ conditionals.
11684 * libio/libioP.h: Likewise.
11685 * locale/programs/config.h: Likewise.
11686 * sysdeps/generic/sysdep.h: Likewise.
11687 * sysdeps/i386/asm-syntax.h: Likewise.
11688 * sysdeps/s390/asm-syntax.h: Likewise.
11689 * sysdeps/unix/sysdep.h: Likewise.
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11692
7071ad79
JM
116932012-01-26 Joseph Myers <joseph@codesourcery.com>
11694
11695 * libio/libio.h: Remove __STDC__ conditionals.
11696 * malloc/obstack.h: Likewise.
11697 * math/complex.h: Likewise.
11698 * math/math.h: Likewise.
11699 * sysdeps/generic/_G_config.h: Likewise.
11700 * sysdeps/gnu/_G_config.h: Likewise.
11701 * sysdeps/mach/hurd/_G_config.h: Likewise.
11702 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11703 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11704 * sysdeps/sparc/bits/mathdef.h: Likewise.
11705
afc5ed09
UD
117062012-01-26 Ulrich Drepper <drepper@gmail.com>
11707
11708 [BZ #13583]
11709 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11710 Clean up HAS_* macros.
afc5ed09 11711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11712 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11713 possible.
11714 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11715 HAS_AVX.
11716 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11717 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11718 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11719 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11720 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11721
bdb6de1d
JM
117222012-01-25 Joseph Myers <joseph@codesourcery.com>
11723
11724 * elf/tst-unique3.cc (gets): Remove declaration.
11725 * elf/tst-unique3lib.cc (gets): Likewise.
11726 * elf/tst-unique3lib2.cc (gets): Likewise.
11727 * elf/tst-unique4.cc (gets): Likewise.
11728
b15549e6
UD
117292012-01-24 Ulrich Drepper <drepper@gmail.com>
11730
11731 * include/stdio.h: Add C++ protection. Add gets declarations and
11732 definitions.
11733 * debug/tst-chk1.c: Don't declare gets here.
11734 * stdio-common/tst-gets.c: Likewise.
11735
a037381f
JM
117362012-01-24 Joseph Myers <joseph@codesourcery.com>
11737
11738 * posix/glob: Remove directory.
11739
f1d4aa75
JM
117402012-01-24 Joseph Myers <joseph@codesourcery.com>
11741
11742 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11743
81c0c964
PT
117442012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11745
11746 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11747 of the non-standard EPFNOSUPPORT.
11748
0ea698ae
ST
117492011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11750
11751 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11752 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11753 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11754
d220b117
UD
117552012-01-21 Ulrich Drepper <drepper@gmail.com>
11756
11757 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11758
3e1aa84e
UD
117592012-01-20 Ulrich Drepper <drepper@gmail.com>
11760
11761 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11762 transient errors.
11763 * nscd/grpcache.c (cache_addgr): Likewise.
11764 * nscd/hstcache.c (cache_addhst): Likewise.
11765 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11766 * nscd/pwdcache.c (cache_addpw): Likewise.
11767 * nscd/servicescache.c (cache_addserv): Likewise.
11768
400aa020
UD
117692012-01-16 Ulrich Drepper <drepper@gmail.com>
11770
d77e7869
UD
11771 * malloc/malloc.c: Various cleanups.
11772 * malloc/hooks.c: Likewise.
11773
400aa020
UD
11774 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11775 * stdlib/bug-fmtmsg1.c: New file.
11776
11777 * stdlib/fmtmsg.c (init): Add missing unlock.
11778 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11779
e0a309cf
MP
117802012-01-12 Marek Polacek <polacek@redhat.com>
11781
11782 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11783 and _GNU_SOURCE.
11784
929d11c7
WS
117852012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11786
11787 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11788 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11789 macro to ensure uniqueness of label name.
11790 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11791 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11792
41d0e869
UD
117932012-01-11 Ulrich Drepper <drepper@gmail.com>
11794
0cc5ed3b
UD
11795 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11796
41d0e869
UD
11797 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11798 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11799 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11801
a47a831a
UD
118022012-01-10 Ulrich Drepper <drepper@gmail.com>
11803
daa891c0
UD
11804 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11805
11806 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11807 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11808 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11809
e58ef0f2
UD
11810 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11811
a47a831a 11812 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11813 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11815 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11816
11817 * math/bits/math-finite.h: Add ldexp support.
11818
a0bfc9c7
MP
118192012-01-10 Marek Polacek <polacek@redhat.com>
11820
11821 * locale/programs/localedef.h (show_archive_content): Add noreturn
11822 attribute.
11823
d6e97a1d
UD
118242012-01-09 Ulrich Drepper <drepper@gmail.com>
11825
11826 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11827
d5835c26
UD
118282012-01-08 Ulrich Drepper <drepper@gmail.com>
11829
e5f484c6
UD
11830 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11831
d5835c26
UD
11832 * io/Makefile (headers): Add bits/poll2.h.
11833
d1f741e9
WS
118342011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11835
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11837 typo #include statement.
11838
ec09c1c4
UD
118392012-01-08 Ulrich Drepper <drepper@gmail.com>
11840
11841 * include/sys/cdefs.h: Define __attribute_alloc_size.
11842 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11843 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11844 * elf/pldd.c: Likewise.
11845 * iconv/iconv_charmap.c: Likewise.
11846 * iconv/iconvconfig.c: Likewise.
11847 * iconv/strtab.c: Likewise.
11848 * locale/programs/locale.c: Likewise.
11849 * locale/programs/localedef.h: Likewise.
11850 * locale/programs/simple-hash.c: Likewise.
11851 * nscd/nscd.h: Likewise.
11852 * nss/makedb.c: Likewise.
11853 * sysdeps/generic/ldconfig.h: Likewise.
11854 * locale/programs/localedef.c: Remove xmalloc prototype.
11855 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11856
20b38e03
PP
118572012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11858
11859 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11860 appropriate.
11861
a0da5fe1
UD
118622012-01-08 Ulrich Drepper <drepper@gmail.com>
11863
1d5a644a 11864 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11865 * math/tst-CMPLX.c: New file.
1d5a644a 11866
8784a6db
UD
11867 * math/complex.h (CMPLXL): Fix typo.
11868
d9a216c0
UD
11869 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11870 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11871 GLIBC_2.16.
11872 * debug/tst-chk1.c: Add poll and ppoll tests.
11873 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11874 * include/sys/poll.h: Add hidden proto for ppoll.
11875 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11876 * sysdeps/mach/hurd/ppoll.c: Likewise.
11877 * io/ppoll.c: Likewise.
11878 * debug/poll_chk.c: New file.
11879 * debug/ppoll_chk.c: New file.
11880 * include/bits/poll2.h: New file.
11881 * io/bits/poll2.h: New file.
11882
ac097f5c
UD
11883 [BZ #1350]
11884 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11885
2119dcfa
UD
11886 * configure.in: static is always set to yes. Remove.
11887 * config.make.in: Don't set build-static.
11888 * Makeconfig: Remove use of build-static.
11889 * dlfcn/Makefile: Likewise.
11890 * elf/Makefile: Likewise.
11891 * math/Makefile: Likewise.
11892 * misc/Makefile: Likewise.
11893 * nptl/Makefile: Likewise.
11894 * sysdeps/mach/hurd/Makefile: Likewise.
11895
121766a9
UD
11896 * configure.in: PWD_P is not used anymore.
11897 * config.make.in: Remove PWD_P entry.
11898
51a1d39c 11899 * configure.in: Remove last remnants of RANLIB.
8720d066 11900 No need to check for signed size_t anymore.
215f4bdc
UD
11901 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11902 and IA-64.
3857022a 11903 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11904 * aclocal.m4: Likewise.
11905
d3ed7225
UD
11906 * wcsmbs/mbrtoc16.c: Implement using towc function.
11907 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11908 * wcsmbs/wcsmbsload.c: Likewise.
11909 * iconv/gconv_simple.c: Likewise.
11910 * iconv/gconv_int.h: Likewise.
11911 * iconv/gconv_builtin.h: Likewise.
11912 * iconv/iconv_prog.c: Remove CHAR16 handling.
11913
11914 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11915
11916 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11917
a0da5fe1
UD
11918 * configure.in: Remove --with-elf and --enable-bounded options.
11919 Dont set base_machine for ia64. More non-ELF conditions removed.
11920 Remove testing and setting of leading underscore information.
11921 * config.make.in (build-bounded): Set to no.
11922 * config.h.in: Remove NO_UNDERSCORES entry.
11923 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11924 them.
11925 * csu/start.c: Remove !NO_UNDERSCORE code.
11926 * locale/localeinfo.h: Likewise.
11927 * sysdeps/generic/machine-gmon.h: Likewise.
11928 * sysdeps/generic/sysdep.h: Likewise.
11929 * sysdeps/i386/sysdep.h: Likewise.
11930 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11931 * sysdeps/mach/sysdep.h: Likewise.
11932 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11933 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11934 * sysdeps/sh/sysdep.h: Likewise.
11935 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11936 * sysdeps/unix/i386/sysdep.S: Likewise.
11937 * sysdeps/unix/sparc/start.c: Likewise.
11938 * sysdeps/unix/sparc/sysdep.S: Likewise.
11939 * sysdeps/unix/sparc/sysdep.h: Likewise.
11940 * sysdeps/unix/start.c: Likewise.
11941 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11942 * sysdeps/x86_64/sysdep.h: Likewise.
11943
df78418a
UD
119442012-01-07 Ulrich Drepper <drepper@gmail.com>
11945
a784e502
UD
11946 [BZ #13553]
11947 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11948 for non-gcc.
11949 * argp/argp-fmtstream.h: Use const instead __const.
11950 * argp/argp.h: Likewise.
11951 * assert/assert.h: Likewise.
11952 * bits/fenv.h: Likewise.
11953 * bits/sched.h: Likewise.
11954 * bits/sigset.h: Likewise.
11955 * bits/sigthread.h: Likewise.
11956 * catgets/nl_types.h: Likewise.
11957 * conform/data/pthread.h-data: Likewise.
11958 * crypt/crypt-private.h: Likewise.
11959 * crypt/crypt.h: Likewise.
11960 * crypt/crypt_util.c: Likewise.
11961 * ctype/ctype.h: Likewise.
11962 * debug/execinfo.h: Likewise.
11963 * debug/mbsnrtowcs_chk.c: Likewise.
11964 * debug/mbsrtowcs_chk.c: Likewise.
11965 * debug/wcsnrtombs_chk.c: Likewise.
11966 * debug/wcsrtombs_chk.c: Likewise.
11967 * debug/wcstombs_chk.c: Likewise.
11968 * dirent/dirent.h: Likewise.
11969 * dlfcn/dlfcn.h: Likewise.
11970 * elf/neededtest4.c: Likewise.
11971 * grp/grp.h: Likewise.
11972 * gshadow/gshadow.h: Likewise.
11973 * iconv/gconv.h: Likewise.
11974 * iconv/gconv_int.h: Likewise.
11975 * iconv/gconv_simple.c: Likewise.
11976 * iconv/iconv.h: Likewise.
11977 * iconv/loop.c: Likewise.
11978 * iconv/skeleton.c: Likewise.
11979 * include/aio.h: Likewise.
11980 * include/aliases.h: Likewise.
11981 * include/argz.h: Likewise.
11982 * include/arpa/inet.h: Likewise.
11983 * include/assert.h: Likewise.
11984 * include/dirent.h: Likewise.
11985 * include/dlfcn.h: Likewise.
11986 * include/execinfo.h: Likewise.
11987 * include/fcntl.h: Likewise.
11988 * include/fenv.h: Likewise.
11989 * include/glob.h: Likewise.
11990 * include/grp.h: Likewise.
11991 * include/libintl.h: Likewise.
11992 * include/mntent.h: Likewise.
11993 * include/netdb.h: Likewise.
11994 * include/pwd.h: Likewise.
11995 * include/rpc/netdb.h: Likewise.
11996 * include/sched.h: Likewise.
11997 * include/search.h: Likewise.
11998 * include/shadow.h: Likewise.
11999 * include/signal.h: Likewise.
12000 * include/stdio.h: Likewise.
12001 * include/stdlib.h: Likewise.
12002 * include/string.h: Likewise.
12003 * include/sys/socket.h: Likewise.
12004 * include/sys/stat.h: Likewise.
12005 * include/sys/statfs.h: Likewise.
12006 * include/sys/statvfs.h: Likewise.
12007 * include/sys/syslog.h: Likewise.
12008 * include/sys/time.h: Likewise.
12009 * include/sys/uio.h: Likewise.
12010 * include/time.h: Likewise.
12011 * include/unistd.h: Likewise.
12012 * include/utmp.h: Likewise.
12013 * include/wchar.h: Likewise.
12014 * include/wctype.h: Likewise.
12015 * inet/aliases.h: Likewise.
12016 * inet/arpa/inet.h: Likewise.
12017 * inet/netinet/ether.h: Likewise.
12018 * inet/netinet/in.h: Likewise.
12019 * intl/libintl.h: Likewise.
12020 * io/bits/fcntl2.h: Likewise.
12021 * io/fcntl.h: Likewise.
12022 * io/ftw.h: Likewise.
12023 * io/sys/poll.h: Likewise.
12024 * io/sys/stat.h: Likewise.
12025 * io/sys/statfs.h: Likewise.
12026 * io/sys/statvfs.h: Likewise.
12027 * io/utime.h: Likewise.
12028 * libio/bits/stdio.h: Likewise.
12029 * libio/bits/stdio2.h: Likewise.
12030 * libio/libio.h: Likewise.
12031 * libio/libioP.h: Likewise.
12032 * libio/stdio.h: Likewise.
12033 * locale/lc-ctype.c: Likewise.
12034 * locale/locale.h: Likewise.
12035 * login/utmp.h: Likewise.
12036 * malloc/arena.c: Likewise.
12037 * malloc/malloc.c: Likewise.
12038 * malloc/malloc.h: Likewise.
12039 * malloc/mcheck.c: Likewise.
12040 * malloc/mtrace.c: Likewise.
12041 * math/bits/mathcalls.h: Likewise.
12042 * math/fenv.h: Likewise.
12043 * math/math_private.h: Likewise.
12044 * misc/bits/error.h: Likewise.
12045 * misc/bits/syslog.h: Likewise.
12046 * misc/err.h: Likewise.
12047 * misc/error.h: Likewise.
12048 * misc/fstab.h: Likewise.
12049 * misc/mntent.h: Likewise.
12050 * misc/regexp.h: Likewise.
12051 * misc/search.h: Likewise.
12052 * misc/sgtty.h: Likewise.
12053 * misc/sys/mman.h: Likewise.
12054 * misc/sys/syslog.h: Likewise.
12055 * misc/sys/uio.h: Likewise.
12056 * misc/sys/xattr.h: Likewise.
12057 * misc/ttyent.h: Likewise.
12058 * nis/rpcsvc/ypclnt.h: Likewise.
12059 * nss/nss.h: Likewise.
12060 * posix/bits/unistd.h: Likewise.
12061 * posix/fnmatch.h: Likewise.
12062 * posix/glob.h: Likewise.
12063 * posix/sched.h: Likewise.
12064 * posix/spawn.h: Likewise.
12065 * posix/sys/wait.h: Likewise.
12066 * posix/unistd.h: Likewise.
12067 * posix/wordexp.h: Likewise.
12068 * pwd/pwd.h: Likewise.
12069 * resolv/netdb.h: Likewise.
12070 * resource/sys/resource.h: Likewise.
12071 * rt/aio.h: Likewise.
12072 * rt/bits/mqueue2.h: Likewise.
12073 * rt/mqueue.h: Likewise.
12074 * shadow/shadow.h: Likewise.
12075 * signal/signal.h: Likewise.
12076 * socket/send.c: Likewise.
12077 * socket/sendto.c: Likewise.
12078 * socket/sys/socket.h: Likewise.
12079 * stdio-common/printf.h: Likewise.
12080 * stdlib/bits/stdlib.h: Likewise.
12081 * stdlib/fmtmsg.h: Likewise.
12082 * stdlib/monetary.h: Likewise.
12083 * stdlib/stdlib.h: Likewise.
12084 * stdlib/ucontext.h: Likewise.
12085 * streams/stropts.h: Likewise.
12086 * string/argz.h: Likewise.
12087 * string/bits/string2.h: Likewise.
12088 * string/string.h: Likewise.
12089 * string/strings.h: Likewise.
12090 * sunrpc/rpc/auth.h: Likewise.
12091 * sunrpc/rpc/auth_des.h: Likewise.
12092 * sunrpc/rpc/clnt.h: Likewise.
12093 * sunrpc/rpc/netdb.h: Likewise.
12094 * sunrpc/rpc/pmap_clnt.h: Likewise.
12095 * sunrpc/rpc/xdr.h: Likewise.
12096 * sysdeps/generic/inttypes.h: Likewise.
12097 * sysdeps/generic/net/if.h: Likewise.
12098 * sysdeps/generic/sys/swap.h: Likewise.
12099 * sysdeps/gnu/net/if.h: Likewise.
12100 * sysdeps/gnu/utmpx.h: Likewise.
12101 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12102 * sysdeps/i386/i486/bits/string.h: Likewise.
12103 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12104 * sysdeps/s390/bits/string.h: Likewise.
12105 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12106 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12107 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12108 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12109 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12110 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12111 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12112 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12113 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12114 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12115 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12116 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12117 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12118 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12119 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12120 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12121 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12123 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12124 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12126 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12127 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12128 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12129 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12130 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12131 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12132 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12133 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12134 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12135 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12136 * sysvipc/sys/ipc.h: Likewise.
12137 * sysvipc/sys/msg.h: Likewise.
12138 * sysvipc/sys/sem.h: Likewise.
12139 * sysvipc/sys/shm.h: Likewise.
12140 * termios/termios.h: Likewise.
12141 * time/sys/time.h: Likewise.
12142 * time/time.h: Likewise.
12143 * wcsmbs/bits/wchar2.h: Likewise.
12144 * wcsmbs/uchar.h: Likewise.
12145 * wcsmbs/wchar.h: Likewise.
12146 * wctype/wctype.h: Likewise.
12147
0269750c
UD
12148 [BZ #13551]
12149 * Makeconfig: Remove all but ELF support including AIX support.
12150 * Makerules: Likewise.
12151 * config.h.in: Likewise.
12152 * config.make.in: Likewise.
12153 * configure: Likewise.
12154 * configure.in: Likewise.
12155 * csu/Makefile: Likewise.
12156 * csu/version.c: Likewise.
12157 * debug/Makefile: Likewise.
12158 * dlfcn/Makefile: Likewise.
12159 * elf/Makefile: Likewise.
12160 * extra-lib.mk: Likewise.
12161 * iconv/Makefile: Likewise.
12162 * include/libc-symbols.h: Likewise.
12163 * include/shlib-compat.h: Likewise.
12164 * resolv/Makefile: Likewise.
12165 * resolv/res_libc.c: Likewise.
12166 * rt/Makefile: Likewise.
12167 * sysdeps/i386/asm-syntax.h: Likewise.
12168 * sysdeps/i386/sysdep.h: Likewise.
12169 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12170 * sysdeps/mach/sysdep.h: Likewise.
12171 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12172 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12173 * sysdeps/s390/asm-syntax.h: Likewise.
12174 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12175 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12176 * sysdeps/sh/sysdep.h: Likewise.
12177 * sysdeps/unix/sparc/sysdep.h: Likewise.
12178 * sysdeps/wordsize-32/divdi3.c: Likewise.
12179 * sysdeps/x86_64/sysdep.h: Likewise.
12180
00bbd29b
UD
12181 * argp/Versions: Remove _argp_unlock_xxx.
12182
12183 [BZ #13559]
12184 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12185 * abilist/libBrokenLocale.abilist: Likewise.
12186 * abilist/libanl.abilist: Likewise.
12187 * abilist/libc.abilist: Likewise.
12188 * abilist/libcrypt.abilist: Likewise.
12189 * abilist/libdl.abilist: Likewise.
12190 * abilist/libm.abilist: Likewise.
12191 * abilist/libnsl.abilist: Likewise.
12192 * abilist/libpthread.abilist: Likewise.
12193 * abilist/libresolv.abilist: Likewise.
12194 * abilist/librt.abilist: Likewise.
12195 * abilist/libthread_db.abilist: Likewise.
12196 * abilist/libutil.abilist: Likewise.
12197 * abilist/libnss_db.abilist: New file.
12198
12199 * scripts/abilist.awk: Add support for indirect functions.
12200
a2693a0e
UD
12201 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12202
3f05895f
UD
12203 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12204
ecb6fb48
UD
12205 * shlib-versions: Remove entries for ports architectures.
12206
664f8cb9
UD
12207 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12208 files in ports.
12209 * elf/stackguard-macros.h: Remove support for IA-64.
12210 * elf/tst-auditmod1.c: Likewise.
12211 * sysdeps/generic/ldsodefs.h: Likewise.
12212
7ae81d88
UD
12213 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12214 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12215 configure files.
12216
bdeba135
UD
12217 [BZ #13552]
12218 * configure.in: Remove --enable-omitfp support.
12219 * FAQ.in: Adjust.
12220 * config.make.in: Likewise.
12221 * Makeconfig: Likewise.
12222 * manual/install.texi: Likewise.
12223
d75a0a62
UD
12224 In case anyone cares, the IA-64 architecture could move to ports.
12225 * sysdeps/ia64/*: Removed.
12226 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12227 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12228
dcc9756b
UD
12229 [BZ #13555]
12230 * configure.in: Remove entries for unsupported architectures.
12231
d3761ebc 12232 [BZ #13533]
9954432e
UD
12233 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12234 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12235 routines.
12236 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12237 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12238 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12239 fall back to using wcrtomb.
12240 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12241 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12242 renaming.
12243 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12244 * wcsmbs/tst-c16c32-1.c: New file.
12245
12246 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12247 local variable.
12248
c3a87236
UD
12249 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12250
28926a1b
UD
12251 * elf/tst-unique3.cc: Add explicit declaration of gets.
12252 * elf/tst-unique3lib.cc: Likewise.
12253 * elf/tst-unique3lib2.cc: Likewise.
12254 * elf/tst-unique4.cc: Likewise.
12255
df78418a
UD
12256 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12257
8ecd6b2a
JM
122582012-01-06 Joseph Myers <joseph@codesourcery.com>
12259
12260 [BZ #13566]
12261 * assert/assert.h (static_assert): Don't define for C++.
12262 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12263 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12264
9f115170
UD
122652012-01-03 Ulrich Drepper <drepper@gmail.com>
12266
5e0d0300
UD
12267 * iconv/loop.c (single loop): Fix assertion in storing of
12268 remaining bytes.
12269
9f115170
UD
12270 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12271
81fb02b0
UD
122722012-01-01 Ulrich Drepper <drepper@gmail.com>
12273
12274 * posix/getconf.c: Update copyright year.
12275 * nss/getent.c: Likewise.
a316c1f6 12276 * nss/makedb.c: Likewise.
81fb02b0
UD
12277 * iconv/iconvconfig.c: Likewise.
12278 * iconv/iconv_prog.c: Likewise.
12279 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12280 * elf/pldd.c: Likewise.
12281 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12282 * catgets/gencat.c: Likewise.
12283 * csu/version.c: Likewise.
12284 * elf/ldd.bash.in: Likewise.
12285 * elf/sprof.c (print_version): Likewise.
12286 * locale/programs/locale.c: Likewise.
12287 * locale/programs/localedef.c: Likewise.
a316c1f6 12288 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12289 * nscd/nscd.c (print_version): Likewise.
12290 * debug/xtrace.sh: Likewise.
12291 * malloc/memusage.sh: Likewise.
12292 * malloc/mtrace.pl: Likewise.
12293 * debug/catchsegv.sh: Likewise.
12294
2ba92745
JJ
122952011-12-30 Jakub Jelinek <jakub@redhat.com>
12296
12297 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12298 pure attribute.
12299
dadebdae
UD
123002011-12-24 Ulrich Drepper <drepper@gmail.com>
12301
d3761ebc 12302 [BZ #13533]
db6af3eb
UD
12303 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12304 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12305 transformations.
12306 * iconv/gconv_int.h: Likewise.
12307 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12308 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12309 from libc for GLIBC_2.16.
12310 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12311 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12312 * wcsmbs/uchar.h: Really define mbstate_t.
12313 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12314 * wcsmbs/c16rtomb.c: New file.
12315 * wcsmbs/mbrtoc16.c: New file.
12316 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12317 for C/POSIX locale.
12318 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12319 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12320
dadebdae
UD
12321 * wcsmbs/wchar.h: Add missing __restrict.
12322
67371b56
UD
123232011-12-23 Ulrich Drepper <drepper@gmail.com>
12324
74033a25
UD
12325 [BZ #13532]
12326 * time/Makefile (routines): Add timespec_get.
12327 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12328 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12329 timespec for ISO C11.
12330 * time/timespec_get.c: New file.
12331 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12332 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12333
380d7e87
UD
12334 [BZ #13531]
12335 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12336 * stdlib/stdlib.h: Declare aligned_alloc.
12337 * Versions.def: Add GLIBC_2.16 for libc.
12338 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12339
4e9e7a35
UD
12340 [BZ 13527]
12341 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12342 ISO C11.
12343
380d7e87 12344 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12345 code.
12346
03a71829
UD
12347 [BZ #13528]
12348 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12349
839e283e
UD
12350 [BZ #13529]
12351 * assert/assert.h (static_assert): Define.
12352
ce5294e2 12353 * version.h: Update for 2.16 development version.
90fa7312 12354
8d44e150 12355 [BZ #13526]
d7809905
UD
12356 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12357 _ISOC11_SOURCE.
12358
c0da14cd
UD
12359 * version.h (RELEASE): Bump for 2.15 release.
12360 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12361
530a3249
MP
12362 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12363 Patch by Marek Polacek <mpolacek@redhat.com>.
12364
67371b56
UD
12365 * bits/byteswap.h: Protect long long constants with __extension__.
12366 * sysdeps/i386/bits/byteswap.h: Likewise.
12367 * sysdeps/ia64/bits/byteswap.h: Likewise.
12368 * sysdeps/s390/bits/byteswap.h: Likewise.
12369 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12370
15db4de1
LD
123712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12372
12373 [BZ #13540]
bbe315ea
LD
12374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12375 destination buffer.
15db4de1
LD
12376 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12377
2b2596b1
MP
123782011-12-23 Marek Polacek <polacek@redhat.com>
12379
12380 * elf/dl-addr.c (determine_info): Add inline keyword.
12381 * elf/tst-auditmod4b.c (check_avx): Likewise.
12382 * elf/tst-auditmod6b.c (check_avx): Likewise.
12383 * elf/tst-auditmod6c.c (check_avx): Likewise.
12384 * elf/tst-auditmod7b.c (check_avx): Likewise.
12385
70c6c246
UD
123862011-12-23 Ulrich Drepper <drepper@gmail.com>
12387
12388 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12389 !__SSE_MATH__.
12390
c044cf14
LD
123912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12392
15db4de1 12393 [BZ #13540]
c044cf14
LD
12394 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12395 processing for last bytes.
12396
6b13d9d9
BH
123972011-08-06 Bruno Haible <bruno@clisp.org>
12398
d455f537
BH
12399 [BZ #13061]
12400 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12401 U+0385, not to U+1FEE.
12402
6b13d9d9
BH
12403 [BZ #13062]
12404 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12405 entry for U+00A5 U+0301.
12406
db910efd
UD
124072011-12-22 Ulrich Drepper <drepper@gmail.com>
12408
27deeafc
UD
12409 [BZ #13166]
12410 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12411 buffer for the output is too small.
12412
aed9d171
UD
12413 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12414 optimization.
12415
db910efd
UD
12416 [BZ #13185]
12417 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12418 SSE flags if possible.
12419
2bd779ae
LD
124202011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12421
e7f9dac3 12422 [BZ #13540]
2bd779ae
LD
12423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12424 processing for last bytes.
12425
154bfc16
JM
124262011-12-22 Joseph Myers <joseph@codesourcery.com>
12427
12428 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12429 (syscall-list-default-options, syscall-list-default-condition)
12430 (syscall-list-includes): Define.
12431 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12432 list of ABIs and options and #if conditions for each ABI. Do not
12433 handle common syscalls between ABIs specially.
12434 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12435 Remove.
12436 (syscall-list-variants, syscall-list-32bit-options)
12437 (syscall-list-32bit-condition, syscall-list-64bit-options)
12438 (syscall-list-64bit-condition): Define.
12439 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12440 (syscall-list-variants, syscall-list-32bit-options)
12441 (syscall-list-32bit-condition, syscall-list-64bit-options)
12442 (syscall-list-64bit-condition): Define.
12443 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12444 Remove.
12445 (syscall-list-variants, syscall-list-32bit-options)
12446 (syscall-list-32bit-condition, syscall-list-64bit-options)
12447 (syscall-list-64bit-condition): Define.
12448 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12449 Remove.
12450 (syscall-list-variants, syscall-list-32bit-options)
12451 (syscall-list-32bit-condition, syscall-list-64bit-options)
12452 (syscall-list-64bit-condition): Define.
12453
21eaf3a5
UD
124542011-12-22 Ulrich Drepper <drepper@gmail.com>
12455
16c6f992
UD
12456 * locale/iso-639.def: Add brx entry.
12457
41043168
UD
12458 [BZ #13328]
12459 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12460 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12461
21eaf3a5
UD
12462 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12463 __feraiseexcept_renamed.
12464
e3a851a2
UD
124652011-12-21 Ulrich Drepper <drepper@gmail.com>
12466
4920765e
UD
12467 [BZ #13538]
12468 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12469 EPOLLET with unsigned values.
12470 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12471 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12472
e3a851a2
UD
12473 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12474 to large cancellation.
12475 * math/s_cacoshf.c: Likewise.
12476 * math/s_cacoshl.c: Likewise.
12477
b27e24b8
RK
124782011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12479
12480 [BZ #13305]
aebefeee 12481 [BZ #12786]
b27e24b8
RK
12482 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12483 * math/s_cacoshf.c: Likewise.
12484 * math/s_cacoshl.c: Likewise.
12485
ee190f67
UD
124862011-12-21 Ulrich Drepper <drepper@gmail.com>
12487
12488 [BZ #13439]
12489 * iconv/gconv.h: Define __GCONV_SWAP.
12490 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12491 * iconvdata/utf-16.c: Likewise.
12492 * iconvdata/utf-32.c: Likewise.
12493
707f25df
AS
124942011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12495
12496 [BZ #13524]
12497 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12498 numerator after shifting it by one limb.
12499
d2daaa1e
RÁE
125002011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12501
12502 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12503 under [__USE_EXTERN_INLINES].
12504
a4647e72
UD
125052011-12-17 Ulrich Drepper <drepper@gmail.com>
12506
12507 [BZ #13446]
12508 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12509
f0b264f1
AZ
125102011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12511
12512 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12513 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12514 optimized code.
12515 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12516 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12517 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12518 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12519 for strncasecmp/strncasecmp_l compilation.
12520 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12521 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12522
8ef4f244
MP
125232011-12-08 Marek Polacek <mpolacek@redhat.com>
12524
12525 [BZ #13484]
12526 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12527 of __asm__.
12528
97ac2654
UD
125292011-12-17 Ulrich Drepper <drepper@gmail.com>
12530
12531 [BZ #13506]
12532 * time/tzfile.c (__tzfile_read): Check values from file header.
12533
91d2a845
WS
125342011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12535
12536 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12537 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12538 * powerpc/powerpc32/dl-start.S: Likewise.
12539 * powerpc/powerpc32/elf/start.S: Likewise.
12540 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12541 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12542 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12543 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12544 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12545 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12546 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12547 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12548 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12549 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12550 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12551 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12552 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12553 * powerpc/powerpc32/memset.S: Likewise.
12554 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12555 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12556 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12557 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12558 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12559 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12560 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12561 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12562 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12563 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12564 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12565 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12566 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12567
a1267ba1
AZ
125682011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12569
12570 * math/libm-test.inc: Added more nearbyint tests.
12571 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12572 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12573 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12574 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12575
ad8ac1bd
RL
125762011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12577
12578 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12579 FD_CLOEXEC.
12580
1d3e4b61
UD
125812011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12582
12583 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12584 Add wcscpy-ssse3 wcscpy-c.
12585 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12586 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12587 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12588 * sysdeps/x86_64/wcschr.S: New file.
12589 * sysdeps/x86_64/wcsrchr.S: New file.
12590 * string/test-strcmp.c: Remove checking of wcscmp function for
12591 wrong alignments.
12592 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12593 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12594 wcsrchr-sse2 wcsrchr-c.
12595 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12596 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12597 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12598 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12599 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12600 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12601 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12602 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12603 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12604 * wcsmbc/wcschr.c (WCSCHR): New macro.
12605
5b330a2d
UD
126062011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12607
12608 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12609 * wcsmbs/test-wcsrchr.c: New file.
12610 * string/test-strrchr.c: Add wcsrchr support.
12611 (WIDE): New macro.
12612 * wcsmbs/test-wcscpy.c: New file.
12613 * string/test-strcpy.c: Add wcscpy support.
12614 (WIDE): New macro.
26428b7c 12615
f039c043
UD
126162011-12-10 Ulrich Drepper <drepper@gmail.com>
12617
12618 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12619 the inner loop.
12620
850fb039
AS
126212011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12622
12623 [BZ #13472]
12624 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12625
4efbd5cb
UD
126262011-12-04 Ulrich Drepper <drepper@gmail.com>
12627
52ff5dd0 12628 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12629 Minor optimizations.
52ff5dd0 12630
4efbd5cb
UD
12631 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12632 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12633 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12634
8a426e12
UD
126352011-12-03 Ulrich Drepper <drepper@gmail.com>
12636
aff2453d
UD
12637 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12638 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12639 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12640 for gcc to avoid warnings.
12641 * inet/Makefile (tests): Add tst-checks.
12642 * inet/tst-checks.c: New file.
12643
12644 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12645 warning.
12646
12647 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12648 __wmemcmp_sse2.
12649
12650 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12651 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12652
8a426e12
UD
12653 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12654
9bea3473
UD
126552011-12-02 Ulrich Drepper <drepper@gmail.com>
12656
3a965496
UD
12657 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12658 problem.
12659
9bea3473
UD
12660 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12661
f101631b
UD
126622011-11-29 Joseph Myers <joseph@codesourcery.com>
12663
12664 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12665 conditional on GCC version.
12666 (__arch_compare_and_exchange_val_8_acq)
12667 (__arch_compare_and_exchange_val_16_acq)
12668 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12669 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12670 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12671
a98275aa
UD
126722011-12-02 Joseph Myers <joseph@codesourcery.com>
12673
12674 * sysdeps/sh/backtrace.c: New file.
12675
d4cc29a2
AS
126762011-12-02 Andreas Schwab <schwab@redhat.com>
12677
12678 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12679 parenthesis.
12680
6257af2d
AS
126812011-12-01 Andreas Schwab <schwab@redhat.com>
12682
12683 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12684 falling back to utime.
12685
b5f44c1a
AS
126862011-11-30 Andreas Schwab <schwab@redhat.com>
12687
12688 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12689 expectations for float.
12690
f3a6cc0a
AS
126912011-11-29 Andreas Schwab <schwab@redhat.com>
12692
12693 * locale/weight.h (findidx): Add parameter len.
12694 * locale/weightwc.h (findidx): Likewise.
12695 * posix/fnmatch_loop.c (FCT): Adjust caller.
12696 * posix/regcomp.c (build_equiv_class): Likewise.
12697 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12698 * posix/regexec.c (check_node_accept_bytes): Likewise.
12699 * string/strcoll_l.c (STRCOLL): Likewise.
12700 * string/strxfrm_l.c (STRXFRM): Likewise.
12701
9d65ea3a
UD
127022011-11-17 Ulrich Drepper <drepper@gmail.com>
12703
12704 * Makefile.in: Remove CVSOPT handling.
12705 * configure.in: Remove use of AC_REVISION.
12706 * iconvdata/Makefile (distribute): No need to filter out CVS.
12707 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12708 handling.
12709
5583a086
AS
127102011-11-16 Andreas Schwab <schwab@redhat.com>
12711
12712 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12713 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12714 [USE_AS_STRNCASECMP_L]: Likewise.
12715 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12716 NO_TLS_DIRECT_SEG_REFS.
12717 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12718 Fix argument offsets for non-PIC.
12719 [USE_AS_STRNCASECMP_L]: Likewise.
12720 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12721 NO_TLS_DIRECT_SEG_REFS.
12722
d62a8200
UD
127232011-11-15 Ulrich Drepper <drepper@gmail.com>
12724
9d65ea3a 12725 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12726 O_CLOEXEC.
12727 * locale/loadlocale.c (_nl_load_locale): Likewise.
12728
09f93bd3
AS
127292011-11-15 Andreas Schwab <schwab@redhat.com>
12730
446514f9
AS
12731 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12732 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12733 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12734 (SYSCALL_GETTIME): Set errno on error.
12735
09f93bd3
AS
12736 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12737 count references to noai6ai_cached.
12738
312be3f9
UD
127392011-11-15 Ulrich Drepper <drepper@gmail.com>
12740
12741 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12742
12743 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12744 FD_CLOEXEC for /proc/self/maps.
12745
12746 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12747 FD_CLOEXEC for /proc/meminfo.
12748
12749 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12750 gai.conf.
12751
12752 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12753 FD_CLOEXEC for given file.
12754
12755 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12756
12757 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12758 FD_CLOEXEC for /etc/hosts.
12759 (_gethtent): Likewise.
12760
12761 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12762
12763 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12764 cancellation and set FD_CLOEXEC for /etc/netgroup.
12765
12766 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12767 reading /etc/publickey.
12768
12769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12770 allow cancellation when reading /etc/group.
12771
12772 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12773 cancellation.
12774 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12775
12776 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12777 when using data file.
12778
12779 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12780
12781 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12782 (write_nis_obj): Use "c" and "e" in fopen.
12783
12784 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12785
12786 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12787
12788 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12789
12790 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12791
12792 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12793 locale.alias.
12794
12795 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12796
12797 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12798
12799 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12800
12801 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12802 file parsing and set FD_CLOEXEC.
12803
82af0fa8
UD
128042011-11-14 Ulrich Drepper <drepper@gmail.com>
12805
12806 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12807
a5fb313c
AS
128082011-11-14 Andreas Schwab <schwab@redhat.com>
12809
12810 * malloc/arena.c (arena_get2): Don't call reused_arena when
12811 _int_new_arena failed.
12812
6abf3465
UD
128132011-11-14 Ulrich Drepper <drepper@gmail.com>
12814
12815 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12816 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12821 to compile strcasecmp and strncasecmp.
12822 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12823 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12824
12825 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12826
76e3966e
UD
128272011-11-13 Ulrich Drepper <drepper@gmail.com>
12828
12829 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12830 locale-defines.sym to gen-as-const-headers.
12831 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12832 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12834 to compile strcasecmp and strncasecmp.
12835 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12836 strcasecmp_l and strncasecmp_l.
12837 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12838 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12839 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12840 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12841 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12842 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12843 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12844 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12845 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12846 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12847 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12848
ab26144e
UD
128492011-11-12 Ulrich Drepper <drepper@gmail.com>
12850
7edb22ef
UD
12851 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12852 result of SYSDEP_GETTIME_CPU to retval.
12853 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12854 parameter list to macro. Remove trailing semicolon. Adjust users.
12855
9694fc44
UD
12856 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12857 variable.
12858
8ad89ef8
UD
12859 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12860 mantissa words.
12861 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12862
0c822ef9
UD
12863 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12864 from unused variable.
12865
874e0564
UD
12866 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12867 DWARF definitions.
12868 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12869 for assembling.
12870
3a2edc79
UD
12871 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12872 over namespaces.
12873
f3c2577f
UD
12874 * sunrpc/rpc_prot.c (rejected): Fix case value.
12875
294ce126
UD
12876 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12877 unsigned long long int to avoid warnings in shift.
12878
5e2b63c6
UD
12879 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12880 of use of trans.
12881 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12882 variable tmp.
12883
e7f4b08e
UD
12884 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12885 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12886 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12887
ab26144e
UD
12888 * nis/nis_table.c (nis_list): Use variable of correct type for
12889 result of __follow_path call.
12890
8a6d5255
AZ
128912011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12892
12893 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12894 of math functions ceil, trunc, floor, round, and sqrt, when
12895 avaliable on the platform.
12896 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12897 name clash.
12898 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12899 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12900 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12901
aaddc98c
MP
129022011-10-30 Marek Polacek <mpolacek@redhat.com>
12903
12904 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12905 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12906
95b7042b
RM
129072011-11-11 Roland McGrath <roland@hack.frob.com>
12908
12909 * include/unistd.h: Fix __readlink return type.
12910 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12911
57769839
UD
129122011-11-11 Ulrich Drepper <drepper@gmail.com>
12913
12914 * stdlib/ucontext.h: Undo last change for makecontext.
12915
edc5984d
AS
129162011-11-11 Andreas Schwab <schwab@redhat.com>
12917
98591e58
AS
12918 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12919
edc5984d
AS
12920 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12921 * setjmp/setjmp.h: Mark functions as non-leaf.
12922 * setjmp/bits/setjmp2.h: Likewise.
12923 * stdlib/ucontext.h: Likewise.
12924
77cdc054
AS
129252011-11-10 Andreas Schwab <schwab@redhat.com>
12926
12927 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12928 (reused_arena): Don't check arena limit.
12929 (arena_get2): Atomically check arena limit.
12930
fe72eebd
UD
129312011-11-08 Ulrich Drepper <drepper@gmail.com>
12932
5f078c32
UD
12933 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12934 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12935
fe72eebd
UD
12936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12937 instructions.
12938
ae1bc2fa
AS
129392011-11-07 Andreas Schwab <schwab@redhat.com>
12940
7583a88d
AS
12941 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12942 handler when locking.
12943
ae1bc2fa
AS
12944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12945 Fix size of allocated buffer.
12946
10fb0bfa
AS
129472011-11-04 Andreas Schwab <schwab@redhat.com>
12948
998832a4
AS
12949 [BZ #10103]
12950 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12951 declarations for long double functions.
12952 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12953
10fb0bfa
AS
12954 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12955
3d7ba52b
AS
129562011-11-03 Andreas Schwab <schwab@redhat.com>
12957
a9ae54a1
AS
12958 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12959 installed.
12960
3d7ba52b
AS
12961 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12962 is disabled.
12963
bc8db248
ST
129642011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12965
12966 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12967
45b96dd6
AS
129682011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12969
647776f6
AS
12970 * include/alloca.h (stackinfo_alloca_round): Define.
12971 (extend_alloca): Use it.
12972 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12973 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12974 here.
12975
d91a8b93
AS
12976 * scripts/check-local-headers.sh: Ignore libaudit.h.
12977
45b96dd6
AS
12978 * nscd/Makefile (extra-objs): Make recursively expanded.
12979
432d41ce
UD
129802011-11-01 Ulrich Drepper <drepper@gmail.com>
12981
34372fc6
UD
12982 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12984
fadb59f8
UD
12985 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12986 * posix/tst-rfc3484-2.c: Likewise.
12987 * posix/tst-rfc3484-3.c: Likewise.
12988
78239589
UD
12989 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12990 process_vm_writev.
12991 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12992 process_vm_writev.
12993 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12994 process_vm_writev from libc using GLIBC_2.15 version.
12995
432d41ce
UD
12996 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12997
02f9c6cf
PP
129982011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12999
13000 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13001 stack usage.
13002
3a2c0242
UD
130032011-10-31 Ulrich Drepper <drepper@gmail.com>
13004
f4ec4833
UD
13005 [BZ #13367]
13006 * nss/getent.c (initgroups_keys): Show error message in case no group
13007 names are given.
13008
3a2c0242
UD
13009 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13010 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13011 __bump_nl_timestamp.
13012 * nscd/connections (nscd_init): When host database is served open
13013 netlink socket and request notification about configuration changes.
13014 (main_loop_poll): Track netlink file descriptor and bump timestamp
13015 in case data becomes available.
13016 (main_loop_epoll): Likewise.
13017 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13018 (database_pers_head): Add extra_data fileds.
13019 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13020 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13021 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13022 Adjust caller.
13023 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13024 in6ai data, call __free_in6ai.
13025 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13026 Add -DHAVE_NETLINK.
13027 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13028 interface information. Reuse previous data if netlink timestamp
13029 is not changed.
13030 (__bump_nl_timestamp): New function.
13031 (__free_in6ai): New function.
13032
636064eb
UD
130332011-10-30 Ulrich Drepper <drepper@gmail.com>
13034
13035 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13036 close_not_cancel_no_status here.
13037 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13038
9beb2334
UD
130392011-10-29 Ulrich Drepper <drepper@gmail.com>
13040
6ef76f3b
UD
13041 [BZ #13276]
13042 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13043 return value.
13044
0ffc4f3e 13045 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13046 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13047 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13048
cb95113e
UD
130492011-07-03 Andreas Jaeger <aj@suse.de>
13050
13051 [BZ #10709]
13052 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13053 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13054 * math/libm-test.inc (sin_test): Add test case.
13055
a1b560ff
UD
130562011-10-29 Ulrich Drepper <drepper@gmail.com>
13057
c9aaface
UD
13058 [BZ #13337]
13059 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13060 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13061
d272e7f1
UD
13062 * elf/chroot_canon.c (chroot_canon): Cleanups.
13063
1bc33071
UD
13064 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13065
1760874d
TJ
13066 [BZ #13335]
13067 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13068 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13069
51d91b18
UD
13070 * string/test-strchr.c: Make usable for strchrnul testing.
13071 * string/test-strchrnul.c: New file.
13072 * string/Makefile (strop-tests): Add strchrnul.
13073
a1b560ff 13074 * po/it.po: Update from translation team.
b611fb81 13075 * po/es.po: Likewise.
a1b560ff 13076
a5b81e1f
UD
130772011-10-28 Ulrich Drepper <drepper@gmail.com>
13078
fd52bc6d
UD
13079 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13080 the three constants needed as parameters. Drop the others.
13081 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13082 __m128i_strloadu_tolower.
52e4b9eb
UD
13083 Create and initialize variable zero and use it in all the places
13084 where _mm_setzero_si128 was used.
fd52bc6d 13085
a5b81e1f
UD
13086 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13087 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13088 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13089 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13090 anymore.
13091 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13092 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13093 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13094 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13095 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13096 __mpranred, __mptan.
13097 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13098 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13099 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13100 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13101 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13102 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13103 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13104 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13105 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13106
b4343346
AS
131072011-10-28 Andreas Schwab <schwab@redhat.com>
13108
0c92d8a8
AS
13109 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13110 redefine if SHARED.
13111 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13112
b4343346
AS
13113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13114 wide char related routines to wcsmbs subdir.
13115
3871f58f
AS
131162011-10-27 Andreas Schwab <schwab@redhat.com>
13117
13118 [BZ #13344]
13119 * misc/sys/cdefs.h (__THROWNL): Define.
13120 * posix/unistd.h: Use __THREADNL instead of __THREAD
13121 for memory synchronization functions.
13122
94d44d9f
RM
131232011-10-26 Roland McGrath <roland@hack.frob.com>
13124
21b64b15 13125 [BZ #13349]
94d44d9f
RM
13126 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13127 doesn't exist.
13128 * manual/stdio.texi (Obstack Streams): Node removed.
13129
f6ce9294
AS
131302011-10-26 Andreas Schwab <schwab@redhat.com>
13131
80479147
AS
13132 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13133 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13134 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13135
f6ce9294
AS
13136 * math/math_private.h (math_force_eval): Allow non-addressable
13137 arguments.
13138 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13139
618280a1
UD
131402011-10-25 Ulrich Drepper <drepper@gmail.com>
13141
e0016b11
UD
13142 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13143 file is not needed.
13144
13145 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13146 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13147 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13148 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13149 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13150 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13152 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13153 Add AVX variants.
13154 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13155 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13156 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13157 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13158 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13159 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13160 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13161 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13162 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13163 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13164 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13165 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13166 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13167 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13168 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13169 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13170 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13171 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13172 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13173
13174 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13175 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13176
618280a1
UD
13177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13178 place. Use VEX encoding when compiling for AVX.
13179
37822576
AS
131802011-10-25 Andreas Schwab <schwab@redhat.com>
13181
1f1e1947
AS
13182 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13183 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13184
37822576
AS
13185 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13186
31ea014d
UD
131872011-10-25 Ulrich Drepper <drepper@gmail.com>
13188
d7826aa1 13189 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13190 useless if() expression.
d7826aa1
UD
13191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13200 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13201 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13202 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13203 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13204 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13205 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13206 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13207 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13209 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13210
31ea014d
UD
13211 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13212
16437fec
AS
132132011-10-25 Andreas Schwab <schwab@redhat.com>
13214
13215 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13216 condition.
13217 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13218
31d3cc00
UD
132192011-10-25 Ulrich Drepper <drepper@gmail.com>
13220
13221 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13222 .text section. Avoid duplicate constants.
13223 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13233 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13235 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13238 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13240 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13246 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13247 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13248 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13249 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13250 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13252 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13253 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13254 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13255 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13256 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13257 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13258 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13259 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13261 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13262 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13263 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13264 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13265 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13266 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13267 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13268
58985aa9
UD
132692011-10-24 Ulrich Drepper <drepper@gmail.com>
13270
202c9deb
UD
13271 * sysdeps/x86_64/dla.h: Move to ...
13272 * sysdeps/x86_64/fpu/dla.h: ...here.
13273 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13274 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13275
af968f62
UD
13276 * config.make.in: Add have-mfma4 entry.
13277 * configure.in: Substitute libc_cv_cc_fma4.
13278 * math/Makefile (dbl-only-routines): Add sincostab.
13279 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13280 Use __sincostab not sincos.
13281 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13282 name is a macro.
13283 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13287 using __copysign.
13288 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13289 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13290 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13291 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13292 and __inv.
13293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13294 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13295 __copysign.
13296 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13297 define aliases when function name is a macro.
13298 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13299 sysdeps/ieee754/dbl-64/sincos.tbl.
13300 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13301 fma4-enabled routines.
13302 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13303 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13304 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13305 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13306 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13307 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13308 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13309 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13310 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13311 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13312 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13313 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13314 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13315 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13317 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13318 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13319 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13320 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13322 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13323 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13324 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13325 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13327 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13328 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13329 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13330 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13331 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13332
58985aa9
UD
13333 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13334 rename.
13335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13343
a201fbcf
AS
133442011-10-24 Andreas Schwab <schwab@redhat.com>
13345
13346 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13347
fc2ee42a
LD
133482011-10-23 Ulrich Drepper <drepper@gmail.com>
13349
bb3129bd
UD
13350 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13351
0275fff8
UD
13352 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13353 prediction.
13354 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13355
2fa2ae85
UD
13356 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13357 Remove unused variable magic_bits.
13358 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13359
fc2ee42a
LD
13360 * string/strnlen.c: Define and use STRNLEN macro.
13361 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13362 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13363 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13364 * wcsmbs/wcslen.c: Define and use WCSLEN.
13365 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13366 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13367 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13368 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13369 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13370 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13371 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13372
ce7dd29f
LD
133732011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13374
13375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13376 strnlen-sse2-no-bsf.
13377 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13378 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13379 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13380 Add strnlen support.
13381 (USE_AS_STRNLEN): New macro.
13382 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13383 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13384 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13385 * sysdeps/x86_64/wcslen.S: New file.
13386
979c70a3
MZ
133872011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13388
13389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13390 XMM-moves are used for copying on small sizes.
13391
2d09f82f
LD
133922011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13393
13394 * wcsmbs/Makefile (strop-tests): Add wcschr.
13395 * wcsmbs/test-wcschr.c: New file.
13396 * string/test-strchr.c: Update.
13397 Add wcschr support.
13398 (WIDE): New macro.
13399
619fccca
LD
134002011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13401
2d09f82f 13402 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13403 * wcsmbs/test-wcslen.c: New file.
13404 * string/test-strlen.c: Update.
13405 Add wcslen support.
13406 (WIDE): New macro.
13407
09f699ea
UD
134082011-10-23 Ulrich Drepper <drepper@gmail.com>
13409
13410 * po/it.po: Update from translation team.
13411
95584d3b
LD
134122011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13413
13414 * sysdeps/x86_64/wcscmp.S: Update.
13415 Fix wrong comparison semantics.
13416 wcscmp shall use signed comparison not unsigned.
13417 Don't use substraction to avoid overflow bug.
13418 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13419 * wcsmbc/wcscmp.c: Likewise.
13420 * string/test-strcmp.c: Likewise.
13421 Add new tests to check cases with negative values.
13422
c8b3296b
UD
134232011-10-23 Ulrich Drepper <drepper@gmail.com>
13424
13425 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13426 * sysdeps/x86_64/dla.h: ...here. New file.
13427 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13436
246ad57a
AS
134372011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13438
13439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13440 __ynl_finite aliases.
13441
a1a87169
UD
134422011-10-22 Ulrich Drepper <drepper@gmail.com>
13443
0d355eb7
UD
13444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13445
a1a87169
UD
13446 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13447 define DLA_FMA.
13448 [DLA_FMA] (EMULV): Use DLA_FMA.
13449 [DLA_FMA] (MUL12): Use EMULV.
13450 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13451 that are not needed.
13452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13459
ee2aafe0
AS
134602011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13461
13462 * math/s_nan.c: Undef __nan.
13463 * math/s_nanf.c: Undef __nanf.
13464 * math/s_nanl.c: Undef __nanl.
13465 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13466 "math_private.h".
13467
bc62c2fb
UD
134682011-10-22 Ulrich Drepper <drepper@gmail.com>
13469
77425c63
UD
13470 * math/s_catan.c: Add branch predictions.
13471 * math/s_catanf.c: Likewise.
13472 * math/s_catanh.c: Likewise.
13473 * math/s_catanhf.c: Likewise.
13474 * math/s_catanhl.c: Likewise.
13475 * math/s_catanl.c: Likewise.
13476 * math/s_cexp.c: Likewise.
13477 * math/s_cexpf.c: Likewise.
13478 * math/s_cexpl.c: Likewise.
13479 * math/s_clog.c: Likewise.
13480 * math/s_clog10.c: Likewise.
13481 * math/s_clog10f.c: Likewise.
13482 * math/s_clog10l.c: Likewise.
13483 * math/s_clogf.c: Likewise.
13484 * math/s_clogl.c: Likewise.
13485 * math/s_csqrt.c: Likewise.
13486 * math/s_csqrtf.c: Likewise.
13487 * math/s_csqrtl.c: Likewise.
13488 * math/s_ctanf.c: Likewise.
13489 * math/s_ctanh.c: Likewise.
13490 * math/s_ctanhf.c: Likewise.
13491 * math/s_ctanhl.c: Likewise.
13492 * math/s_ctanl.c: Likewise.
13493
bc62c2fb
UD
13494 * math/math_private.h: Define __nan, __nanf, __nanl.
13495 * math/s_cacosh.c: Include <math_private.h>.
13496 * math/s_cacoshl.c: Likewise.
13497 * math/s_casinh.c: Likewise.
13498 * math/s_casinhf.c: Likewise.
13499 * math/s_casinhl.c: Likewise.
13500 * math/s_ccos.c: Rely entire on ccosh.
13501 * math/s_ccosf.c: Rely entire on ccoshf.
13502 * math/s_ccosl.c: Rely entirely on ccoshl.
13503 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13504 Remove tests for FE_INVALID.
13505 * math/s_ccoshf.c: Likewise.
13506 * math/s_ccoshl.c: Likewise.
13507 * math/s_csin.c: Likewise.
13508 * math/s_csinf.c: Likewise.
13509 * math/s_csinh.c Likewise.
13510 * math/s_csinhf.c: Likewise.
13511 * math/s_csinhl.c: Likewise.
13512 * math/s_csinl.c: Likewise.
13513 * math/s_ctan.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13515 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13516 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13517
8ec250a4
UD
135182011-10-21 Ulrich Drepper <drepper@gmail.com>
13519
c196fed8
UD
13520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13521 compilation problems.
13522
8ec250a4
UD
13523 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13524 __builtin_expect.
13525
8d4f46c6
UD
135262011-10-20 Ulrich Drepper <drepper@gmail.com>
13527
ed72b654
UD
13528 * sysdeps/i386/configure.in: Test for -mfma4 option.
13529 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13530 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13531 COMMON_CPUID_INDEX_80000001.
13532 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13533 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13534 use it if FMA3 is not supported.
13535 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13536
8d4f46c6
UD
13537 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13538 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13539
d45c60c2
AS
135402011-10-20 Andreas Schwab <schwab@redhat.com>
13541
13542 [BZ #12892]
13543 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13544 it would create a cycle with a link time dependency.
13545
d9a4d2ab
UD
135462011-10-19 Ulrich Drepper <drepper@gmail.com>
13547
855d1560
UD
13548 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13549 instruction.
13550 * string/Makefile (strop-tests): Add rawmemchr.
13551 * string/test-rawmemchr.c: New file.
13552
d9a4d2ab
UD
13553 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13555 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13556 when compiling str{,n}casecmp and when AVX is available. Hook up
13557 new optimized code in initializers.
13558
8f3b1ffe
AS
135592011-10-19 Andreas Schwab <schwab@redhat.com>
13560
13561 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13562 __feraiseexcept instead of feraiseexcept.
13563
d38f1dba
UD
135642011-10-18 Ulrich Drepper <drepper@gmail.com>
13565
d9a8d0ab
UD
13566 * math/math_private.h: Define defaults for libc_fetestexcept and
13567 libc_feupdateenv.
13568 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13569 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13570 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13571 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13572 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13573 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13574 libc_fetestexcept and libc_feupdateenv.
13575
4855e3dd
UD
13576 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13577 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13578 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13579 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13580 libc_feholdexcept_setround.
13581
581d30e3
UD
13582 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13583 Add s_nearbyint-c and s_nearbyintf-c.
13584 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13585 nearbyintf inlines.
13586 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13587 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13588 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13589 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13590
d38f1dba
UD
13591 * math/math_private.h: Define defaults for libc_fegetround,
13592 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13593 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13594 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13596 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13597 standard functions.
13598 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13599 Remove comments and hacks for old compiler versions.
13600 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13601 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13602 libc_feholdexceptl.
13603
caa6c9d8
AS
136042011-10-18 Andreas Schwab <schwab@redhat.com>
13605
13606 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13607 (__feraiseexcept_renamed): Add __NTH.
13608 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13609 namespace violations.
13610
97c066e6
UD
136112011-10-17 Ulrich Drepper <drepper@gmail.com>
13612
99ce7b04
UD
13613 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13614
1004d182
UD
13615 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13616
228a984d
UD
13617 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13618 recently added interfaces.
13619 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13620
c8553a6a
UD
13621 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13622 about macro parameter expansion.
13623
ed22dcf6
UD
13624 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13625 __NO_MATH_INLINES is defined. Cleanups.
13626
13627 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13628 and __floorf is target has SSE4.1.
13629 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13630 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13631 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13632 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13633
b171c137
UD
13634 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13635 name.
13636 (floorf): Likewise.
13637
97c066e6
UD
13638 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13639
629f62ef
AS
136402011-10-17 Andreas Schwab <schwab@redhat.com>
13641
49a43d80
AS
13642 * misc/sys/cdefs.h: Fix last change.
13643
629f62ef
AS
13644 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13645 database lookup.
13646
e453f6cd
UD
136472011-10-16 Ulrich Drepper <drepper@gmail.com>
13648
aa78043a
UD
13649 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13650
ad0f5cad
UD
13651 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13653 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13654 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13656 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13657 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13658 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13659 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13660 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13661 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13662 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13663 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13664 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13665 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13666 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13667 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13668 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13669 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13670 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13671 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13672 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13673
13674 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13675 ceil, ceilf, floor, floorf.
13676
13677 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13678 Perform IRELATIVE relocations last.
13679
e453f6cd
UD
13680 * elf/do-rel.h: Add another parameter nrelative, replacing the
13681 local variable with the same name. Change name of the function
13682 to end in Rel or Rela (uppercase).
13683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13684 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13685 elf_dynamic_do_##reloc function.
13686
fd5bdc09
UD
136872011-10-15 Ulrich Drepper <drepper@gmail.com>
13688
79b195b5
UD
13689 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13690 is sufficient, at least on modern CPUs.
13691
d4a28569
UD
13692 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13693
b61099b5
UD
13694 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13695 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13696
bcf01e6d
UD
13697 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13698 __expl_finite.
13699 * math/bits/math-finite.h: Add entries for exp.
13700 * math/e_expl.c: Add __*_finite alias.
13701 * sysdeps/i386/fpu/e_exp.S: Likewise.
13702 * sysdeps/i386/fpu/e_expf.S: Likewise.
13703 * sysdeps/i386/fpu/e_expl.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13705 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13709 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13710 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13711
ba1a0d59
UD
13712 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13713 is sufficient, at least on modern CPUs.
13714
fd5bdc09
UD
13715 * ctype/ctype-info.c (__ctype_init): Define.
13716 * include/ctype.h (__ctype_init): Declare.
13717 (__ctype_b_loc): The variable is always initialized.
13718 (__ctype_toupper_loc): Likewise.
13719 (__ctype_tolower_loc): Likewise.
13720 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13721 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13722
7872cfb0
AS
137232011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13724
b468825a
AS
13725 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13726
7872cfb0
AS
13727 * configure.in: Also look in $cxxmachine/include for C++ system
13728 headers.
13729
be13f7bf
LD
137302011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13731
13732 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13733 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13734 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13735 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13736 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13737 (USE_AS_WMEMCMP): New macro.
13738 Fixing indents.
13739 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13740 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13741 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13742 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13744 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13745 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13746 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13747 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13748 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13749 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13750 (USE_AS_WMEMCMP): New macro.
13751 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13752 * sysdeps/string/test-memcmp.c: Update.
13753 Fix simple_wmemcmp.
13754 Add new tests.
13755 * wcsmbs/wmemcmp.c: Update.
13756 (WMEMCMP): New macro.
13757 Fix overflow bug.
13758
556a2007
AJ
137592011-10-12 Andreas Jaeger <aj@suse.de>
13760
13761 [BZ #13268]
13762 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13763
538faaa7
UD
137642011-10-15 Ulrich Drepper <drepper@gmail.com>
13765
ab6737ff
UD
13766 * libio/iofwide.c (do_length): Avoid warning.
13767
538faaa7
UD
13768 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13769
396a21b1
UD
137702011-10-14 Ulrich Drepper <drepper@gmail.com>
13771
cdf2901f
UD
13772 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13773
38ad40ce
UD
13774 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13775 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13776 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13777 * sysdeps/i386/i686/fpu/e_log.S: New file.
13778 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13779 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13780
396a21b1
UD
13781 * ctype/ctype.h: Add support for inlined isXXX functions when
13782 compiling C++ code.
13783
6b1f68c9
AS
137842011-10-14 Andreas Schwab <schwab@redhat.com>
13785
349290c0
AS
13786 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13787
6b1f68c9
AS
13788 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13789
f2282d42
RM
137902011-10-13 Roland McGrath <roland@hack.frob.com>
13791
13792 [BZ #13291]
13793 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13794
5298ffa8
AS
137952011-10-13 Andreas Schwab <schwab@redhat.com>
13796
714fad23
AS
13797 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13798 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13799 feraiseexcept.
13800
81dcc7fb
AS
13801 * sysdeps/x86_64/memrchr.S: Check for zero size.
13802
5298ffa8
AS
13803 * string/stratcliff.c: Add memrchr tests.
13804
951fbcec
LD
138052011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13806
13807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13808 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13809 rawmemchr-sse2 rawmemchr-sse2-bsf.
13810 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13811 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13812 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13813 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13814 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13815 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13816 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13817 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13818 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13819 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13820 * string/memrchr.c (MEMRCHR): New macro.
13821
0ac5ae23
UD
138222011-10-12 Ulrich Drepper <drepper@gmail.com>
13823
13824 Add integration with gcc's -ffinite-math-only and optimize wrapper
13825 functions in libm.
13826 * Versions.def: Define GLIBC_2.15 version for libm.
13827 * math/Makefile (headers): Add bits/math-finite.h.
13828 * math/bits/math-finite.h: New file.
13829 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13830 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13831 * math/e_acoshl.c: Add __*_finite alias.
13832 * math/e_acosl.c: Likewise.
13833 * math/e_asinl.c: Likewise.
13834 * math/e_atan2l.c: Likewise.
13835 * math/e_atanhl.c: Likewise.
13836 * math/e_coshl.c: Likewise.
13837 * math/e_exp10.c: Likewise.
13838 * math/e_exp10f.c: Likewise.
13839 * math/e_exp10l.c: Likewise.
13840 * math/e_exp2l.c: Likewise.
13841 * math/e_fmodl.c: Likewise.
13842 * math/e_gammal_r.c: Likewise.
13843 * math/e_hypotl.c: Likewise.
13844 * math/e_j0l.c: Likewise.
13845 * math/e_j1l.c: Likewise.
13846 * math/e_jnl.c: Likewise.
13847 * math/e_lgammal_r.c: Likewise.
13848 * math/e_log10l.c: Likewise.
13849 * math/e_log2l.c: Likewise.
13850 * math/e_logl.c: Likewise.
13851 * math/e_powl.c: Likewise.
13852 * math/e_sinhl.c: Likewise.
13853 * math/e_sqrtl.c: Likewise.
13854 * math/e_scalb.c: Completely rewritten and optimized.
13855 * math/e_scalbf.c: Likewise.
13856 * math/e_scalbl.c: Likewise.
13857 * math/w_acos.c: Likewise.
13858 * math/w_acosf.c: Likewise.
13859 * math/w_acosl.c: Likewise.
13860 * math/w_acosh.c: Likewise.
13861 * math/w_acoshf.c: Likewise.
13862 * math/w_acoshl.c: Likewise.
13863 * math/w_asin.c: Likewise.
13864 * math/w_asinf.c: Likewise.
13865 * math/w_asinl.c: Likewise.
13866 * math/w_atan2.c: Likewise.
13867 * math/w_atan2f.c: Likewise.
13868 * math/w_atan2l.c: Likewise.
13869 * math/w_atanh.c: Likewise.
13870 * math/w_atanhf.c: Likewise.
13871 * math/w_atanhl.c: Likewise.
13872 * math/w_exp10.c: Likewise.
13873 * math/w_exp10f.c: Likewise.
13874 * math/w_exp10l.c: Likewise.
13875 * math/w_fmod.c: Likewise.
13876 * math/w_fmodf.c: Likewise.
13877 * math/w_fmodl.c: Likewise.
13878 * math/w_j0.c: Likewise.
13879 * math/w_j0f.c: Likewise.
13880 * math/w_j0l.c: Likewise.
13881 * math/w_j1.c: Likewise.
13882 * math/w_j1f.c: Likewise.
13883 * math/w_j1l.c: Likewise.
13884 * math/w_jn.c: Likewise.
13885 * math/w_jnf.c: Likewise.
13886 * math/w_log.c: Likewise.
13887 * math/w_logf.c: Likewise.
13888 * math/w_logl.c: Likewise.
13889 * math/w_log10.c: Likewise.
13890 * math/w_log10f.c: Likewise.
13891 * math/w_log10l.c: Likewise.
13892 * math/w_log2.c: Likewise.
13893 * math/w_log2f.c: Likewise.
13894 * math/w_log2l.c: Likewise.
13895 * math/w_pow.c: Likewise.
13896 * math/w_powf.c: Likewise.
13897 * math/w_powl.c: Likewise.
13898 * math/w_remainder.c: Likewise.
13899 * math/w_remainderf.c: Likewise.
13900 * math/w_remainderl.c: Likewise.
13901 * math/w_scalb.c: Likewise.
13902 * math/w_scalbf.c: Likewise.
13903 * math/w_scalbl.c: Likewise.
13904 * math/w_sqrt.c: Likewise.
13905 * math/w_sqrtf.c: Likewise.
13906 * math/w_sqrtl.c: Likewise.
13907 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13908 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13909 used.
13910 * math/math_private.h: Declare __kernel_standard_f.
13911 * math/w_cosh.c: Remove cruft and optimize a bit.
13912 * math/w_coshf.c: Likewise.
13913 * math/w_coshl.c: Likewise.
13914 * math/w_exp2.c: Likewise.
13915 * math/w_exp2f.c: Likewise.
13916 * math/w_exp2l.c: Likewise.
13917 * math/w_hypot.c: Likewise.
13918 * math/w_hypotf.c: Likewise.
13919 * math/w_hypotl.c: Likewise.
13920 * math/w_lgamma.c: Likewise.
13921 * math/w_lgamma_r.c: Likewise.
13922 * math/w_lgammaf.c: Likewise.
13923 * math/w_lgammaf_r.c: Likewise.
13924 * math/w_lgammal.c: Likewise.
13925 * math/w_lgammal_r.c: Likewise.
13926 * math/w_sinh.c: Likewise.
13927 * math/w_sinhf.c: Likewise.
13928 * math/w_sinhl.c: Likewise.
13929 * math/w_tgamma.c: Likewise.
13930 * math/w_tgammaf.c: Likewise.
13931 * math/w_tgammal.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13933 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13934 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13935 Minor optimizations. Pretty printing. Remove cruft.
13936 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13937 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13938 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13939 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13940 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13941 * sysdeps/i386/fpu/e_asin.S: Likewise.
13942 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13943 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13944 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13945 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13946 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13947 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13948 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13949 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13950 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13951 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13952 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13953 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13954 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13955 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13956 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13957 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13958 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13959 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13960 * sysdeps/i386/fpu/e_log.S: Likewise.
13961 * sysdeps/i386/fpu/e_log10.S: Likewise.
13962 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13963 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13964 * sysdeps/i386/fpu/e_log2.S: Likewise.
13965 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13966 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13967 * sysdeps/i386/fpu/e_logf.S: Likewise.
13968 * sysdeps/i386/fpu/e_logl.S: Likewise.
13969 * sysdeps/i386/fpu/e_pow.S: Likewise.
13970 * sysdeps/i386/fpu/e_powf.S: Likewise.
13971 * sysdeps/i386/fpu/e_powl.S: Likewise.
13972 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13973 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13974 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13975 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13976 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13977 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13978 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13979 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13980 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13984 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13985 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13986 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13987 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13988 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13989 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13990 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13991 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13992 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13994 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13995 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13997 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13998 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13999 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14001 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14002 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14003 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14004 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14005 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14006 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14007 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14008 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14009 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14010 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14011 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14012 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14013 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14014 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14015 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14016 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14017 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14018 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14019 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14020 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14021 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14022 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14041 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14043 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14048 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14049 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14050 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14051 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14063 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14065 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14066 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14067 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14068 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14069 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14072 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14073 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14074 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14075 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14076 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14077 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14078 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14079 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14080 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14081 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14082 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14083 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14084 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14085 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14086 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14087 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14089 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14090 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14091 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14092 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14093 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14094 (__isnanf): Likewise.
14095 (__isinf_ns): Likewise.
14096 (__isinf_nsf): Likewise.
14097 (__finite): Likewise.
14098 (__finitef): Likewise.
14099 (__ieee754_sqrt): Define as macro.
14100 (__ieee754_sqrtf): Define as macro.
14101 (__ieee754_sqrtl): Define as macro.
14102 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14103 inlined copy.
14104 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14105 __FINITE_MATH_ONLY__ consistent.
14106 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14107
12cc2fcd
AS
141082011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14109
a843a204
AS
14110 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14111 of rawmemchr.
14112
12cc2fcd
AS
14113 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14114
c853acd5
UD
141152011-10-09 Ulrich Drepper <drepper@gmail.com>
14116
14117 * po/ja.po: Update from translation team.
14118
c658d255
RM
141192011-10-08 Roland McGrath <roland@hack.frob.com>
14120
110946e4
RM
14121 * locale/programs/locarchive.c (prepare_address_space): New function.
14122 (create_archive, enlarge_archive, open_archive): Use it.
14123
50604220
RM
14124 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14125 inside [SHARED], where it is used.
14126
c658d255
RM
14127 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14128
14129 * nss/getent.c (netgroup_keys): Remove unused variable.
14130 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14131
6a621eb7
UD
141322011-10-08 Ulrich Drepper <drepper@gmail.com>
14133
7edb55ce
UD
14134 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14135 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14137 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14138 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14139 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14140 * math/Makefile (libm-calls): Add s_isinf_ns.
14141 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14142 * math/multc3.c: Likewise.
14143 * math/s_casin.c: Likewise.
14144 * math/s_casinf.c: Likewise.
14145 * math/s_casinl.c: Likewise.
14146 * math/s_ccos.c: Likewise.
14147 * math/s_ccosf.c: Likewise.
14148 * math/s_ccosl.c: Likewise.
14149 * math/s_ctan.c: Likewise.
14150 * math/s_ctanf.c: Likewise.
14151 * math/s_ctanh.c: Likewise.
14152 * math/s_ctanhf.c: Likewise.
14153 * math/s_ctanhl.c: Likewise.
14154 * math/s_ctanl.c: Likewise.
14155 * math/w_fmod.c: Likewise.
14156 * math/w_fmodf.c: Likewise.
14157 * math/w_fmodl.c: Likewise.
14158 * math/w_remainder.c: Likewise.
14159 * math/w_remainderf.c: Likewise.
14160 * math/w_remainderl.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14162 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14163 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14165 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14166 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14167 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14168 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14169
187da0ae
UD
14170 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14171 of the number.
14172 * stdio-common/printf_fphex.c: Likewise.
14173 * stdio-common/printf_size.c: Likewise.
14174
9277c064
UD
14175 * math/e_exp10.c: Include math_private.h using <...> not "...".
14176 * math/e_exp10f.c: Likewise.
14177 * math/e_exp10l.c: Likewise.
14178 * math/e_exp2l.c: Likewise.
14179 * math/e_j0l.c: Likewise.
14180 * math/e_j1l.c: Likewise.
14181 * math/e_jnl.c: Likewise.
14182 * math/e_lgammal_r.c: Likewise.
14183 * math/e_rem_pio2l.c: Likewise.
14184 * math/e_scalb.c: Likewise.
14185 * math/e_scalbf.c: Likewise.
14186 * math/e_scalbl.c: Likewise.
14187 * math/k_cosl.c: Likewise.
14188 * math/k_sinl.c: Likewise.
14189 * math/k_tanl.c: Likewise.
14190 * math/s_cacoshf.c: Likewise.
14191 * math/s_catan.c: Likewise.
14192 * math/s_catanf.c: Likewise.
14193 * math/s_catanh.c: Likewise.
14194 * math/s_catanhf.c: Likewise.
14195 * math/s_catanhl.c: Likewise.
14196 * math/s_catanl.c: Likewise.
14197 * math/s_ccosh.c: Likewise.
14198 * math/s_ccoshf.c: Likewise.
14199 * math/s_ccoshl.c: Likewise.
14200 * math/s_cexp.c: Likewise.
14201 * math/s_cexpf.c: Likewise.
14202 * math/s_cexpl.c: Likewise.
14203 * math/s_clog.c: Likewise.
14204 * math/s_clog10.c: Likewise.
14205 * math/s_clog10f.c: Likewise.
14206 * math/s_clog10l.c: Likewise.
14207 * math/s_clogf.c: Likewise.
14208 * math/s_clogl.c: Likewise.
14209 * math/s_csin.c: Likewise.
14210 * math/s_csinf.c: Likewise.
14211 * math/s_csinh.c: Likewise.
14212 * math/s_csinhf.c: Likewise.
14213 * math/s_csinhl.c: Likewise.
14214 * math/s_csinl.c: Likewise.
14215 * math/s_csqrt.c: Likewise.
14216 * math/s_csqrtf.c: Likewise.
14217 * math/s_csqrtl.c: Likewise.
14218 * math/s_ctan.c: Likewise.
14219 * math/s_ctanf.c: Likewise.
14220 * math/s_ctanh.c: Likewise.
14221 * math/s_ctanhf.c: Likewise.
14222 * math/s_ctanhl.c: Likewise.
14223 * math/s_ctanl.c: Likewise.
14224 * math/s_ldexp.c: Likewise.
14225 * math/s_ldexpf.c: Likewise.
14226 * math/s_ldexpl.c: Likewise.
14227 * math/s_significand.c: Likewise.
14228 * math/s_significandf.c: Likewise.
14229 * math/s_significandl.c: Likewise.
14230 * math/w_acos.c: Likewise.
14231 * math/w_acosf.c: Likewise.
14232 * math/w_acosh.c: Likewise.
14233 * math/w_acoshf.c: Likewise.
14234 * math/w_acoshl.c: Likewise.
14235 * math/w_acosl.c: Likewise.
14236 * math/w_asin.c: Likewise.
14237 * math/w_asinf.c: Likewise.
14238 * math/w_asinl.c: Likewise.
14239 * math/w_atan2.c: Likewise.
14240 * math/w_atan2f.c: Likewise.
14241 * math/w_atan2l.c: Likewise.
14242 * math/w_atanh.c: Likewise.
14243 * math/w_atanhf.c: Likewise.
14244 * math/w_atanhl.c: Likewise.
14245 * math/w_cosh.c: Likewise.
14246 * math/w_coshf.c: Likewise.
14247 * math/w_coshl.c: Likewise.
14248 * math/w_dremf.c: Likewise.
14249 * math/w_exp10.c: Likewise.
14250 * math/w_exp10f.c: Likewise.
14251 * math/w_exp10l.c: Likewise.
14252 * math/w_exp2.c: Likewise.
14253 * math/w_exp2f.c: Likewise.
14254 * math/w_fmod.c: Likewise.
14255 * math/w_fmodf.c: Likewise.
14256 * math/w_fmodl.c: Likewise.
14257 * math/w_hypot.c: Likewise.
14258 * math/w_hypotf.c: Likewise.
14259 * math/w_hypotl.c: Likewise.
14260 * math/w_j0.c: Likewise.
14261 * math/w_j0f.c: Likewise.
14262 * math/w_j0l.c: Likewise.
14263 * math/w_j1.c: Likewise.
14264 * math/w_j1f.c: Likewise.
14265 * math/w_j1l.c: Likewise.
14266 * math/w_jn.c: Likewise.
14267 * math/w_jnf.c: Likewise.
14268 * math/w_jnl.c: Likewise.
14269 * math/w_lgamma.c: Likewise.
14270 * math/w_lgamma_r.c: Likewise.
14271 * math/w_lgammaf.c: Likewise.
14272 * math/w_lgammaf_r.c: Likewise.
14273 * math/w_lgammal.c: Likewise.
14274 * math/w_lgammal_r.c: Likewise.
14275 * math/w_log.c: Likewise.
14276 * math/w_log10.c: Likewise.
14277 * math/w_log10f.c: Likewise.
14278 * math/w_log10l.c: Likewise.
14279 * math/w_log2.c: Likewise.
14280 * math/w_log2f.c: Likewise.
14281 * math/w_log2l.c: Likewise.
14282 * math/w_logf.c: Likewise.
14283 * math/w_logl.c: Likewise.
14284 * math/w_pow.c: Likewise.
14285 * math/w_powf.c: Likewise.
14286 * math/w_powl.c: Likewise.
14287 * math/w_remainder.c: Likewise.
14288 * math/w_remainderf.c: Likewise.
14289 * math/w_remainderl.c: Likewise.
14290 * math/w_scalb.c: Likewise.
14291 * math/w_scalbf.c: Likewise.
14292 * math/w_scalbl.c: Likewise.
14293 * math/w_sinh.c: Likewise.
14294 * math/w_sinhf.c: Likewise.
14295 * math/w_sinhl.c: Likewise.
14296 * math/w_sqrt.c: Likewise.
14297 * math/w_sqrtf.c: Likewise.
14298 * math/w_sqrtl.c: Likewise.
14299 * math/w_tgamma.c: Likewise.
14300 * math/w_tgammaf.c: Likewise.
14301 * math/w_tgammal.c: Likewise.
14302
6a621eb7
UD
14303 * po/ja.po: Update from translation team.
14304
bf582445
AJ
143052011-09-29 Andreas Jaeger <aj@suse.de>
14306
f9efbf3a
AJ
14307 [BZ #13179]
14308 * sunrpc/netname.c (netname2host): Fix logic.
14309
bf582445
AJ
14310 [BZ #6779]
14311 [BZ #6783]
14312 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14313 correctly.
14314 * math/w_remainder.c (__remainder): Likewise.
14315 * math/w_remainderf.c (__remainderf): Likewise.
14316 * math/libm-test.inc (remainder_test): Add test cases.
14317
48693bea
AK
143182011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14319
14320 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14321 sdiv_qrnnd.
14322
42622229
LD
143232011-10-07 Ulrich Drepper <drepper@gmail.com>
14324
14325 * string/test-memcmp.c: Avoid unncessary #defines.
14326 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14327
093ecf92
LD
143282011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14329
14330 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14331 Use new sse2 version for core i3 - i7 as it's faster
14332 than sse42 version.
14333 (bit_Prefer_PMINUB_for_stringop): New.
14334 * sysdeps/x86_64/rawmemchr.S: Update.
14335 Replace with faster SSE2 version.
14336 * sysdeps/x86_64/memrchr.S: New file.
14337 * sysdeps/x86_64/memchr.S: Update.
14338 Replace with faster SSE2 version.
14339
fde56e5c
MP
143402011-09-12 Marek Polacek <mpolacek@redhat.com>
14341
14342 * elf/dl-load.c (lose): Add cast to avoid warning.
14343
21fd49a9
UD
143442011-10-07 Ulrich Drepper <drepper@gmail.com>
14345
5a06e643
UD
14346 * po/ca.po: Update from translation team.
14347
684ae515
UD
14348 * inet/getnetgrent_r.c: Hook up nscd.
14349 * nscd/Makefile (routines): Add nscd_netgroup.
14350 (nscd-modules): Add netgroupcache.
14351 (CFLAGS-netgroupcache.c): Define.
14352 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14353 (cache_search): Add const to second parameter.
14354 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14355 INNETGR.
14356 (dbs): Add netgrdb entry.
14357 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14358 (verify_persistent_db): Handle netgrdb.
14359 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14360 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14361 GETFDNETGR.
14362 (netgroup_response_header): Define.
14363 (innetgroup_response_header): Define.
14364 (datahead): Add netgroup_response_header and innetgroup_response_header
14365 elements.
14366 * nscd/nscd.conf: Add entries for netgroup cache.
14367 * nscd/nscd.h (dbtype): Add netgrdb.
14368 (_PATH_NSCD_NETGROUP_DB): Define.
14369 (netgroup_iov_disabled): Declare.
14370 (xmalloc, xcalloc, xrealloc): Move declarations here.
14371 (cache_search): Adjust prototype.
14372 Add netgroup-related prototypes.
14373 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14374 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14375 (__nscd_innetgr): Declare.
14376 * nscd/selinux.c (perms): Use access_vector_t as element type and
14377 add netgroup-related initializers.
14378 * nscd/netgroupcache.c: New file.
14379 * nscd/nscd_netgroup.c: New file.
14380 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14381 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14382 For four parameters use innetgr.
14383 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14384 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14385 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14386 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14387
21fd49a9
UD
14388 * nscd/connections.c (register_traced_file): Don't register file
14389 for disabled databases.
14390
054c0457
UD
143912011-10-06 Ulrich Drepper <drepper@gmail.com>
14392
32b63198
UD
14393 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14394
054c0457
UD
14395 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14396 from tree and freeing node.
14397
64031225
JO
143982011-09-25 Jiri Olsa <jolsa@redhat.com>
14399
14400 * nss/nsswitch.c (__nss_database_lookup): Handle
14401 nss_parse_service_list out of memory case.
14402
0490345c
JO
144032011-09-15 Jiri Olsa <jolsa@redhat.com>
14404
14405 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14406 out of memory case.
14407
3a62d00d
AS
144082011-10-04 Andreas Schwab <schwab@redhat.com>
14409
14410 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14411 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14412 pass it down.
14413 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14414 elf_machine_rela, elf_machine_lazy_rel.
14415 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14416 (ELF_DYNAMIC_DO_REL): Likewise.
14417 (ELF_DYNAMIC_DO_RELA): Likewise.
14418 (ELF_DYNAMIC_RELOCATE): Likewise.
14419 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14420 to ELF_DYNAMIC_DO_REL.
14421 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14422 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14423 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14424 elf_machine_rela.
14425 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14426 skip_ifunc, don't call ifunc function if non-zero.
14427 (elf_machine_rela): Likewise.
14428 (elf_machine_lazy_rel): Likewise.
14429 (elf_machine_lazy_rela): Likewise.
14430 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14431 (elf_machine_lazy_rel): Likewise.
14432 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14433 Likewise.
14434 (elf_machine_lazy_rel): Likewise.
14435 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14436 Likewise.
14437 (elf_machine_lazy_rel): Likewise.
14438 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14439 (elf_machine_lazy_rel): Likewise.
14440 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14441 (elf_machine_lazy_rel): Likewise.
14442 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14443 (elf_machine_lazy_rel): Likewise.
14444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14445 (elf_machine_lazy_rel): Likewise.
14446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14447 (elf_machine_lazy_rel): Likewise.
14448 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14449 (elf_machine_lazy_rel): Likewise.
14450
68577918
UD
144512011-09-28 Ulrich Drepper <drepper@gmail.com>
14452
14453 * nss/nss_files/files-init.c (_nss_files_init): Use static
14454 initialization for all the *_traced_file variables.
14455
68822d74
AS
144562011-09-28 Andreas Schwab <schwab@redhat.com>
14457
14458 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14459
2056100b
RM
144602011-09-27 Roland McGrath <roland@hack.frob.com>
14461
14462 [BZ #13226]
14463 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14464
32c76b63
AS
144652011-09-27 Andreas Schwab <schwab@redhat.com>
14466
14467 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14468 Reread the line before reparsing it.
14469
bf972c9d
AS
144702011-09-26 Andreas Schwab <schwab@redhat.com>
14471
14472 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14473
e057a1b5
JM
144742011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14475 Maxim Kuvyrkov <maxim@codesourcery.com>
14476 Joseph Myers <joseph@codesourcery.com>
14477
14478 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14479 if needed for __stack_chk_guard.
14480
bc7e1c36
RM
144812011-09-19 Roland McGrath <roland@hack.frob.com>
14482
ecb1482f
RM
14483 * sysdeps/posix/spawni.c (script_execute): Always define it.
14484 It will be optimized away if unused.
14485 (maybe_script_execute): New function.
14486 (__spawni): Call it.
14487
bc7e1c36
RM
14488 * Makerules: Don't include tls.make.
14489 (config-tls): Always set to thread.
14490 * tls.make.c: File removed.
14491
1c3b002b
MF
144922011-09-19 Mike Frysinger <vapier@gentoo.org>
14493
14494 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14495 * config.make.in (CPPFLAGS-config): New substituted variable.
14496
2840865d
UD
144972011-09-15 Ulrich Drepper <drepper@gmail.com>
14498
88738eb6
UD
14499 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14500
cbf645a6 14501 [BZ #13192]
2840865d
UD
14502 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14503 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14504
b402e91a
RM
145052011-09-15 Roland McGrath <roland@hack.frob.com>
14506
14507 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14508 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14510 (CALL_FAIL): Likewise.
14511 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14512 (CALL_FAIL): Macro removed.
14513 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14514
4c1a1f71
UD
145152011-09-15 Ulrich Drepper <drepper@gmail.com>
14516
14517 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14518 for __FINITE_MATH_ONLY__ == 1.
14519
edc121be
AS
145202011-09-15 Andreas Schwab <schwab@redhat.com>
14521
14522 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14523 __ieee754_sqrt instead of sqrt.
14524 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14525 __ieee754_sqrtf instead of sqrtf.
14526 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14527 __floorf instead of floorf.
14528 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14529 __floorf, __truncf instead of floorf, truncf.
14530
cd205654
UD
145312011-09-14 Ulrich Drepper <drepper@gmail.com>
14532
ee4d0315
UD
14533 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14534
cd205654
UD
14535 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14536 __extern_always_inline.
14537 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14538 32-bit.
14539
48b67d71
AS
145402011-09-14 Andreas Schwab <schwab@redhat.com>
14541
14542 * elf/rtld.c (dl_main): Also relocate in dependency order when
14543 doing symbol dependency testing.
14544
1ae12c75
AS
145452011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14546
14547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14548 Always define `refsym'.
14549
995a80df
AS
145502011-09-13 Andreas Schwab <schwab@redhat.com>
14551
e529793b
AS
14552 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14553 (__FD_ELT): Renamed from __FDELT.
14554 * misc/bits/select2.h (__FD_ELT): Likewise.
14555 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14556 __FD_MASK instead of __FDELT, __FDMASK.
14557 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14558 Likewise.
14559 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14560 Likewise.
14561
52d4fef8
AS
14562 * elf/Makefile (gen-ldd): Fix pattern.
14563
995a80df
AS
14564 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14565 (init_tls): Likewise.
14566
8682f8b0
UD
145672011-09-12 Ulrich Drepper <drepper@gmail.com>
14568
14569 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14570
de82006d
AS
145712011-09-12 Andreas Schwab <schwab@redhat.com>
14572
a7c8e6a1
AS
14573 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14574 `struct cmsghdr *' instead of `void *'.
14575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14576 Likewise.
14577
0f31fe77
AS
145782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14579
14580 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14581 if non-absolute.
14582 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14583 ldd_rewrite_script.
0f31fe77 14584
32b4c839
UD
145852011-09-11 Ulrich Drepper <drepper@gmail.com>
14586
83cd1420
UD
14587 * configure.in: Remove --with-tls option.
14588 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14589 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14590 out in case it is missing.
14591 * sysdeps/ia64/elf/configure.in: Likewise.
14592 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14593 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14594 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14595 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14596 * sysdeps/sh/elf/configure.in: Likewise.
14597 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14598 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14599 * sysdeps/x86_64/elf/configure.in: Likewise.
14600 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14601 * sysdeps/mach/hurd/tls.h: Likewise.
14602
633f745d
UD
14603 [BZ #13067]
14604 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14605
f318beb8
UD
14606 [BZ #13090]
14607 * configure.in: Fix use of AC_INIT.
14608
32b4c839
UD
14609 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14610
3ce1f295
UD
146112011-09-10 Ulrich Drepper <drepper@gmail.com>
14612
bb016596
UD
14613 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14614 __set_errno.
8e58439c
UD
14615 * malloc/hooks.c: Likewise.
14616
aebae053 14617 [BZ #11929]
02d46fc4
UD
14618 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14619 variables statically.
14620 (narenas): Initialize.
14621 (list_lock): Initialize.
bb016596
UD
14622 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14623 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14624 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14625 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14626 Add initializers to main_arena and mp_.
14627 (malloc_state): Remove pagesize member. Change all users to use
14628 GLRO(dl_pagesize).
14629
14630 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14631 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14632 is always initialized.
14633
22a89187
UD
14634 * malloc/malloc.c: Removed unused configurations and dead code.
14635 * malloc/arena.c: Likewise.
14636 * malloc/hooks.c: Likewise.
02d46fc4 14637 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14638
d063d164
UD
14639 * include/tls.h: Removed. USE___THREAD must always be defined.
14640 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14641 * elf/dl-libc.c: Likewise.
14642 * elf/dl-tsd.c: Likewise.
14643 * include/errno.h: Likewise.
14644 * include/netdb.h: Likewise.
14645 * include/resolv.h: Likewise.
14646 * inet/herrno-loc.c: Likewise.
14647 * inet/herrno.c: Likewise.
14648 * malloc/arena.c: Likewise.
14649 * malloc/hooks.c: Likewise.
14650 * malloc/malloc.c: Likewise.
14651 * resolv/res-state.c: Likewise.
14652 * resolv/res_libc.c: Likewise.
14653 * sysdeps/i386/dl-machine.h: Likewise.
14654 * sysdeps/ia64/dl-machine.h: Likewise.
14655 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14656 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14657 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14658 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14659 * sysdeps/sh/dl-machine.h: Likewise.
14660 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14661 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14662 * sysdeps/unix/i386/sysdep.S: Likewise.
14663 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14664 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14665 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14667 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14669 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14671 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14673 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14674 * sysdeps/x86_64/dl-machine.h: Likewise.
14675 * tls.make.c: Likewise.
14676
3ce1f295
UD
14677 * configure.in: Remove --with-__thread option. Make tests for
14678 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14679 tls_model attribute fail if no support is available. Remove
14680 USE_IN_LIBIO.
14681 * Makeconfig: Adjust for dropped configure option. All features are
14682 now mandatory.
14683 * Makerules: Likewise.
14684 * Versions.def: Likewise.
14685 * argp/argp-fmtstream.c: Likewise.
14686 * argp/argp-fmtstream.h: Likewise.
14687 * argp/argp-help.c: Likewise.
14688 * assert/assert.c: Likewise.
14689 * config.h.in: Likewise.
14690 * config.make.in: Likewise.
14691 * configure: Likewise.
14692 * configure.in: Likewise.
14693 * csu/Versions: Likewise.
14694 * csu/init.c: Likewise.
14695 * elf/tst-audit2.c: Likewise.
14696 * elf/tst-tls10.c: Likewise.
14697 * elf/tst-tls10.h: Likewise.
14698 * elf/tst-tls11.c: Likewise.
14699 * elf/tst-tls12.c: Likewise.
14700 * elf/tst-tls14.c: Likewise.
14701 * elf/tst-tlsmod11.c: Likewise.
14702 * elf/tst-tlsmod12.c: Likewise.
14703 * elf/tst-tlsmod13.c: Likewise.
14704 * elf/tst-tlsmod13a.c: Likewise.
14705 * elf/tst-tlsmod14a.c: Likewise.
14706 * elf/tst-tlsmod15b.c: Likewise.
14707 * elf/tst-tlsmod16a.c: Likewise.
14708 * elf/tst-tlsmod16b.c: Likewise.
14709 * elf/tst-tlsmod7.c: Likewise.
14710 * elf/tst-tlsmod8.c: Likewise.
14711 * elf/tst-tlsmod9.c: Likewise.
14712 * gmon/gmon.c: Likewise.
14713 * grp/fgetgrent_r.c: Likewise.
14714 * grp/putgrent.c: Likewise.
14715 * hurd/fopenport.c: Likewise.
14716 * include/libc-symbols.h: Likewise.
14717 * include/tls.h: Likewise.
14718 * intl/gettextP.h: Likewise.
14719 * intl/loadinfo.h: Likewise.
14720 * locale/global-locale.c: Likewise.
14721 * locale/localeinfo.h: Likewise.
14722 * mach/devstream.c: Likewise.
14723 * malloc/arena.c: Likewise.
14724 * malloc/set-freeres.c: Likewise.
14725 * misc/err.c: Likewise.
14726 * misc/getttyent.c: Likewise.
14727 * misc/mntent_r.c: Likewise.
14728 * posix/getopt.c: Likewise.
14729 * posix/wordexp.c: Likewise.
14730 * pwd/fgetpwent_r.c: Likewise.
14731 * resolv/Versions: Likewise.
14732 * resolv/res_hconf.c: Likewise.
14733 * shadow/fgetspent_r.c: Likewise.
14734 * shadow/putspent.c: Likewise.
14735 * stdio-common/printf_fphex.c: Likewise.
14736 * stdio-common/tmpfile.c: Likewise.
14737 * stdlib/abort.c: Likewise.
14738 * stdlib/fmtmsg.c: Likewise.
14739 * sunrpc/auth_unix.c: Likewise.
14740 * sunrpc/clnt_perr.c: Likewise.
14741 * sunrpc/clnt_tcp.c: Likewise.
14742 * sunrpc/clnt_udp.c: Likewise.
14743 * sunrpc/clnt_unix.c: Likewise.
14744 * sunrpc/openchild.c: Likewise.
14745 * sunrpc/svc_simple.c: Likewise.
14746 * sunrpc/svc_tcp.c: Likewise.
14747 * sunrpc/svc_udp.c: Likewise.
14748 * sunrpc/svc_unix.c: Likewise.
14749 * sunrpc/xdr.c: Likewise.
14750 * sunrpc/xdr_array.c: Likewise.
14751 * sunrpc/xdr_rec.c: Likewise.
14752 * sunrpc/xdr_ref.c: Likewise.
14753 * sunrpc/xdr_stdio.c: Likewise.
14754
1248c1c4
PB
147552011-09-09 Ulrich Drepper <drepper@gmail.com>
14756
14757 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14758
147592011-07-03 Andreas Jaeger <aj@suse.de>
14760
14761 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14762 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14763 regenerate with gen-libm-tests.pl.
14764
147652010-05-12 Petr Baudis <pasky@suse.cz>
14766
14767 [BZ #11589]
14768 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14769 around j0() zero points by switching to j1().
14770 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14771 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14773 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14774
f22e1074
UD
147752011-09-09 Ulrich Drepper <drepper@gmail.com>
14776
f19009c1
UD
14777 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14778 instead of 0.
14779 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14780 instead of 0. .
14781 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14782 Patch in part by Pavel Roskin <proski@gnu.org>.
14783
3f8cc204
UD
14784 [BZ #13138]
14785 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14786 realloc.
14787 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14788 Free memory block if necessary.
14789
f22e1074
UD
14790 [BZ #12847]
14791 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14792 be NULL. Don't lock in this case.
14793
0a2349f9
RM
147942011-09-09 Roland McGrath <roland@hack.frob.com>
14795
14796 * elf/elf.h (ELFOSABI_GNU): New macro.
14797 (ELFOSABI_LINUX): Define to that.
14798
f3cdd467
DZ
147992011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14800
14801 * string/strncat.c (strncat): Undef the symbol in case it has been
14802 defined in bits/string.h.
14803
74718d13
UD
148042011-09-09 Ulrich Drepper <drepper@gmail.com>
14805
633e9e0f
UD
14806 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14807
0a2349f9 14808 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14809 link map.
14810
f9924780
AJ
148112011-08-17 Andreas Jaeger <aj@suse.de>
14812
14813 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14814
7f5517aa
PP
148152011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14816 Ian Lance Taylor <iant@google.com>
14817
14818 * math/libm-test.inc (lround_test): New testcase.
14819 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14820
762011fe
UD
148212011-09-08 Ulrich Drepper <drepper@gmail.com>
14822
92963737
UD
14823 * Makefile: Remove support for automatic cvs check-ins.
14824 * Makerules: Likewise.
14825 * config.make.in: Likewise.
14826 * configure.in: Likewise.
14827 * intl/Makefile: Likewise.
14828 * locale/Makefile: Likewise.
14829 * po/Makefile: Likewise.
14830 * posix/Makefile: Likewise.
14831 * sysdeps/gnu/Makefile: Likewise.
14832 * sysdeps/mach/hurd/Makefile: Likewise.
14833 * sysdeps/sparc/sparc32/Makefile: Likewise.
14834
b0727fd8
JS
14835 [BZ #13118]
14836 * posix/Makefile (bug-regex32-ENV): Define.
14837 Patch by John Stanley <jpsinthemix@verizon.net>.
14838
a0f33f99
UD
14839 * misc/Makefile (headers): Add bits/select2.h.
14840 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14841 * misc/bits/select2.h: New file.
14842 * include/bits/select2.h: New file.
14843 * debug/Makefile (routines): Add fdelt_chk.
14844 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14845 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14846 FD_ISSET.
14847 * debug/fdelt_chk.c: New file.
14848
762011fe
UD
14849 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14850 * wcsmbs/test-wmemcmp.c: Likewise.
14851 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14852 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14853
148542011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14855
14856 * string/Makefile (strop-tests): Add memcmp.
14857 * string/test-wmemcmp.c: New file.
14858 * string/test-memcmp.c: Add wmemcmp support.
14859
7f513ec8
RM
148602011-09-08 Roland McGrath <roland@hack.frob.com>
14861
0442afb4
RM
14862 [BZ #13153]
14863 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14864 2011-07-19 change.
14865
7f513ec8
RM
14866 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14867 garbage value in a __mach_port_mod_refs call in the cases of the
14868 task-self and thread-self ports.
14869
a12b2239
ST
148702011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14871
14872 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14873
610f9ab4
AS
148742011-09-08 Andreas Schwab <schwab@redhat.com>
14875
7f513ec8 14876 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14877
48882a1a
LD
148782011-09-07 Ulrich Drepper <drepper@gmail.com>
14879
b49865be
UD
14880 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14881
fdc86bc9
UD
14882 * elf/dl-libc.c (dlerror_run): Pass back error code from
14883 dl_catch_error.
14884
c966526a
UD
14885 [BZ #13123]
14886 * elf/dl-load.c (lose): Free l_origin if it is valid.
14887
48882a1a
LD
14888 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14889 names.
14890 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14891 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14892 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14893 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14894 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14895 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14896
77a2a8b4
AZ
148972011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14898
14899 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14900 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14901 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14902 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14903 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14904 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14905 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14906 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14907 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14908 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14909
24f579d8
AM
149102011-08-15 Alan Modra <amodra@gmail.com>
14911
14912 [BZ #13092]
14913 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14914 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14915 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14916 ppc_mcount to static-only-routines.
14917 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14918 __mcount_internal.
14919 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14920 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14921
3d4837df
UD
149222011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14923
14924 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14925 for finite and infinity parameters.
14926
22700377
WS
149272011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14928
14929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14930 and add nop instructions for throughput optimization.
14931 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14932
5025581e
WS
149332011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14934
14935 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14936 aligned copy for power7 with vector-scalar instructions.
14937 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14938
08a300c9
L
149392011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14940
14941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14942 AVX check.
14943
59178ef9
AS
149442011-09-07 Andreas Schwab <schwab@redhat.com>
14945
14946 [BZ #13144]
14947 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14948 last change.
14949
e38ba7ab
UD
149502011-09-07 Ulrich Drepper <drepper@gmail.com>
14951
14952 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14953 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14954 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14955 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14956 clock_gettime.
14957
d53a73ac
UD
149582011-09-06 Ulrich Drepper <drepper@gmail.com>
14959
fc8bffcc
UD
14960 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14961 Forgot to demangle the pointer.
14962
ceaa0c5d
UD
14963 * sysdeps/i386/sysdep.h: Define atom_text_section.
14964 * sysdeps/x86_64/sysdep.h: Likewise.
14965 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14966 section with atom_text_section.
14967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14968 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14969 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14971 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14972
a77d3c17
UD
14973 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14974 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14975 already be defined. Change to take two parameters and don't assign
14976 result to variable. Adjust all users.
14977 Define INTERNAL_GETTIME if not already defined.
14978 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14979 call.
14980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14981 HAVE_CLOCK_GETTIME_VSYSCALL.
14982 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14983
d53a73ac
UD
14984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14985 gettimeofday vsyscall, just use time.
14986
a8f84144
AS
149872011-09-06 Andreas Schwab <schwab@redhat.com>
14988
14989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14990 <errno.h>.
14991
ef606249
UD
149922011-09-06 Ulrich Drepper <drepper@gmail.com>
14993
14994 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14995 syscall on x86-64.
14996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14997 syscall.
14998 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14999 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15000 syscall if possible.
15001
6585cb60
UD
150022011-09-05 Ulrich Drepper <drepper@gmail.com>
15003
15004 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15005 e_ident. Don't pass to find_mapsXX.
15006 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15007
a5f524e4
LD
150082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15009
15010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15011 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15012 * sysdeps/x86_64/multiarch/strchr.S: Update.
15013 Check bit_slow_BSF bit.
15014 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15015 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15016 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15017
554881ef
UD
150182011-09-05 Ulrich Drepper <drepper@gmail.com>
15019
d96de963
UD
15020 [BZ #13134]
15021 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15022 before glibc 2.15.
15023 (tryshell): Define.
15024 (__spawni): Change last parameter to be flag. Test
15025 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15026 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15027 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15028 * posix/spawni.c: Likewise.
15029 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15030 * posix/spawnp.c: Likewise. Change normal version to use
15031 SPAWN_XFLAGS_USE_PATH.
15032 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15033 SPAWN_XFLAGS_TRY_SHELL.
15034
d48e5868
UD
15035 [BZ #13150]
15036 * posix/glob.h: Remove gcc 1.x support.
15037
554881ef
UD
15038 [BZ #13068]
15039 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15040
693fb948
LD
150412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15042
15043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15044 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15045 strrchr-sse2-bsf
15046 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15047 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15048 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15049 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15050 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15051 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15052
1b48c537
UD
150532011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15054
49d42c37
UD
15055 * sysdeps/x86_64/wcscmp.S: New file.
15056
1b48c537
UD
15057 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15058 wcscmp-c wcscmp-sse2
15059 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15060 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15061 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15062 * wcsmbs/wcscmp.c: Allow renaming.
15063
15c95c5d
DM
150642011-09-05 David S. Miller <davem@davemloft.net>
15065
15066 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15067 stack slot, rather than the struct return pointer slot.
15068 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15069 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15071 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15072
2f0ad8f3
UD
150732011-09-05 Ulrich Drepper <drepper@gmail.com>
15074
d88ae418
UD
15075 * po/ja.po: Update from translation team.
15076
2f0ad8f3
UD
15077 [BZ #13144]
15078 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15079 kernel in 64-bit binaries.
15080
5f4318d1
DM
150812011-09-01 David S. Miller <davem@davemloft.net>
15082
15083 * elf/elf.h (HWCAP_SPARC_*): Move to..
15084 * sysdeps/sparc/sysdep.h: this new file and add new values.
15085 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15086 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15087 _DL_HWCAP_COUNT to 24.
15088 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15089 entries.
15090 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15091 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15092 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15094 instead of magic constants.
15095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15096
3ba57516
DM
150972011-08-31 David S. Miller <davem@davemloft.net>
15098
15099 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15100 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15101 Reimplement to do errno handling inline.
15102 (SYSCALL_ERROR_HANDLER): New macro.
15103 (__SYSCALL_STRING): Do not do errno handling in asm.
15104 (__CLONE_SYSCALL_STRING): Delete.
15105 (__INTERNAL_SYSCALL_STRING): Delete.
15106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15107 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15108 (PSEUDO): Reimplement to do errno handling inline.
15109 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15110 (SYSCALL_ERROR_HANDLER): New macro.
15111 (__SYSCALL_STRING): Do not do errno handling in asm.
15112 (__CLONE_SYSCALL_STRING): Delete.
15113 (__INTERNAL_SYSCALL_STRING): Delete.
15114 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15115 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15116 i386.
15117 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15118 (inline_syscall*): Add 'err' argument.
15119 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15120 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15121 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15122 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15123
15124 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15125 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15126
2bc17433
AS
151272011-08-30 Andreas Schwab <schwab@redhat.com>
15128
15129 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15130
fbeb5f4d
JO
151312011-08-29 Jiri Olsa <jolsa@redhat.com>
15132
15133 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15134 directive.
15135
ad69cc26
DM
151362011-08-24 David S. Miller <davem@davemloft.net>
15137
15138 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15139
39dd69df
AS
151402011-08-24 Andreas Schwab <schwab@redhat.com>
15141
15142 * elf/Makefile: Add rules to build and run unload8 test.
15143 * elf/unload8.c: New file.
15144 * elf/unload8mod1.c: New file.
15145 * elf/unload8mod1x.c: New file.
15146 * elf/unload8mod2.c: New file.
15147 * elf/unload8mod3.c: New file.
15148
15149 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15150 it wasn't used.
15151
2c0b250a
DM
151522011-08-23 David S. Miller <davem@davemloft.net>
15153
15154 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15155 subtract stack bias.
15156 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15157 %sp not %fp in calculations.
15158 (_JMPBUF_UNWINDS_ADJ): Likewise.
15159
22044b48
DM
15160 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15161 (aio_suspend): Call it to force an exception region around the
15162 AIO_MISC_WAIT() invocation.
15163
2cae4995
AS
151642011-08-23 Andreas Schwab <schwab@redhat.com>
15165
15166 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15167 backslash.
15168
873a772e
AJ
151692011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15170
15171 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15172 protection macro.
15173 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15174 and <dl-machine.h>.
15175 (Elf64_FuncDesc): Remove.
15176
25ad0df1
DM
151772011-08-22 David S. Miller <davem@davemloft.net>
15178
15179 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15180 sigaltstack check, add missing cfi directives.
15181 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15182 missing cfi directives, and sigaltstack handling.
15183
e888bcbe
AS
151842011-08-16 Andreas Schwab <schwab@redhat.com>
15185
15186 [BZ #11724]
15187 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15188 object is seen twice.
15189 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15190
15191 * elf/Makefile (distribute): Add tst-initorder2.c.
15192 (tests): Add tst-initorder2.
15193 (modules-names): Add tst-initorder2a tst-initorder2b
15194 tst-initorder2c tst-initorder2d. Add rules to build them.
15195 ($(objpfx)tst-initorder2.out): New rule.
15196 * elf/tst-initorder2.c: New file.
15197 * elf/tst-initorder2.exp: New file.
15198
87162f46
AS
151992011-08-22 Andreas Schwab <schwab@redhat.com>
15200
70538b7f
AS
15201 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15202
f55ffe58
AS
15203 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15204 dependencies back to end of function.
15205
87162f46
AS
15206 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15207 $(elfobjdir)/ld.so.
15208
91b392a4
UD
152092011-08-21 Ulrich Drepper <drepper@gmail.com>
15210
15211 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15212 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15214 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15215 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15216 of __vdso_gettimeofday.
15217 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15218 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15219 attribute_hidden.
15220 (_libc_vdso_platform_setup): Remove initialization of
15221 __vdso_gettimeofday and __vdso_time.
15222
5c43483f
UD
152232011-08-20 Ulrich Drepper <drepper@gmail.com>
15224
775a77e7
UD
15225 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15226 and fgetc_unlocked.
15227 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15228 getc_unlocked.
89f447ed 15229
49c74ba9
UD
15230 * elf/dl-open.c (add_to_global): Report additions to the global scope
15231 for LD_DEBUG=scopes.
15232 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15233 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15234
5c43483f
UD
15235 [BZ #13114]
15236 * stdio-common/Makefile (tests): Add bug24.
15237 * stdio-common/bug24.c: New file.
15238
a101b025
AJ
152392011-08-19 Andreas Jaeger <aj@suse.de>
15240
15241 [BZ #13114]
15242 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15243 non-existant file when using close-on-exec mode.
15244
c88f1766
UD
152452011-08-20 Ulrich Drepper <drepper@gmail.com>
15246
0276a718
UD
15247 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15248 the very first instruction.
15249
c88f1766
UD
15250 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15251 the CFI state in the end.
15252 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15253 inclusion of dl-trampoline.h.
15254 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15255
51ccffa0
AS
152562011-08-19 Andreas Schwab <schwab@redhat.com>
15257
94d7165f
AS
15258 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15259 expectations for long double.
15260
51ccffa0
AS
15261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15262 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15263
fd708658 152642011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15265
15266 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15267 artificual limit depends upon the system page size.
15268
44f0a71e
UD
152692011-08-17 Ulrich Drepper <drepper@gmail.com>
15270
15271 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15272 * resolv/Makefile: Define CFLAGS-libresolv.
15273
8de79a24
AS
152742011-08-17 Andreas Schwab <schwab@redhat.com>
15275
15276 * nss/makedb.c (compute_tables): Make variables used in nested
15277 function static.
15278
27724598
UD
152792011-08-17 Ulrich Drepper <drepper@gmail.com>
15280
c5305d88
UD
15281 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15282 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15283 if buffer was too small.
15284
27724598
UD
15285 * elf/pldd.c (main): Attach to all threads in the process.
15286 Rewrite /proc handling to use *at functions.
15287
076fe015
UD
152882011-08-16 Ulrich Drepper <drepper@gmail.com>
15289
174baab3
UD
15290 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15291 specifies first scope to show.
15292 (dl_open_worker): Update callers. Move printing scope of new
15293 object to before the relocation.
44f0a71e 15294 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15295 * sysdeps/generic/ldsodefs.h: Update declaration.
15296
076fe015
UD
15297 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15298 string for the scope number.
15299
a60df2c3
UD
153002011-08-14 Ulrich Drepper <drepper@gmail.com>
15301
15302 * nscd/servicescache.c (cache_addserv): Make sure written is always
15303 initialized.
15304
5e4287d1
RM
153052011-08-14 Roland McGrath <roland@hack.frob.com>
15306
85ae0589
RM
15307 * sysdeps/i386/i486/bits/atomic.h
15308 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15309 statement expression, so as to suppress "set but not used" warning.
15310 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15311
69f63097
RM
15312 * string/strncat.c (STRNCAT): Use prototype definition.
15313
675456ef
RM
15314 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15315 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15316 -Iprograms here.
15317 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15318 (localedef-modules): Add localedef.
15319 (locale-modules): Add locale.
15320
5e4287d1
RM
15321 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15322 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15323 to avoid a warning.
15324
9c96ff23
DM
153252011-08-14 David S. Miller <davem@davemloft.net>
15326
15327 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15328 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15329
f9ddf089
UD
153302011-08-13 Ulrich Drepper <drepper@gmail.com>
15331
44f0a71e 15332 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15333 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15334 * elf/rtld.c (dl_main): Set l_name of vDSO.
15335 Call _dl_show_scope when DL_DEBUG_SCOPES.
15336 (process_dl_debug): Recognize scopes flag and also set it for all.
15337 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15338 Declare _dl_show_scope.
15339
1dc27704
UD
15340 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15341 (do_dlopen): Pass caller_dlopen to dl_open.
15342 (__libc_dlopen_mode): Initialize caller_dlopen.
15343
f9ddf089
UD
15344 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15345 of libc. Make tolower call locale-independent. Optimize a bit by
15346 using isdigit instead of isalnum.
15347 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15348
9ac533d3
UD
153492011-08-12 Ulrich Drepper <drepper@gmail.com>
15350
15351 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15352 was a dependency or dynamically loaded.
15353
89edf2e9
UD
153542011-08-11 Ulrich Drepper <drepper@gmail.com>
15355
8e999d29
UD
15356 * intl/l10nflist.c: Allow architecture-specific pop function.
15357 * sysdeps/x86_64/l10nflist.c: New file.
15358
89edf2e9
UD
15359 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15360 classification.
15361
14d96785
AS
153622011-08-10 Andreas Schwab <schwab@redhat.com>
15363
15364 * include/dirent.h: Add libc_hidden_proto for scandirat and
15365 scandirat64. Don't declare __scandirat64.
15366 * dirent/scandirat.c: Add libc_hidden_def.
15367 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15368 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15369
6761ac04
DM
153702011-08-10 David S. Miller <davem@davemloft.net>
15371
15372 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15373 enum.
15374 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15375 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15376 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15377
c55fbd1e
UD
153782011-08-09 Ulrich Drepper <drepper@gmail.com>
15379
15380 * Versions.def [libc]: Add GLIBC_2.15.
15381 * dirent/Makefile (routines): Add scandirat and scandirat64.
15382 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15383 GLIBC_2.15.
15384 * dirent/dirent.h: Declare scandirat and scandirat64.
15385 * dirent/scandirat.c: New file.
15386 * dirent/scandirat64.c: New file.
15387 * sysdeps/wordsize-64/scandirat.c: New file.
15388 * sysdeps/wordsize-64/scandirat64.c: New file.
15389 * dirent/opendir.c: Define opendirat.
15390 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15391 using scandirat.
15392 * dirent/scandir64.c: Adjust for scandir.c change.
15393 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15394 __scandirat64, and __scandir_cancel_handler.
15395 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15396 additional parameter and use openat instead of open (outside of ld.so).
15397 Add new __opendir as wrapper around __opendirat.
15398 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15399 here without requiring old scandirat implementation.
15400
879165f2
UD
154012011-08-08 Ulrich Drepper <drepper@gmail.com>
15402
15403 * dirent/scandir.c (cancel_handler): Renamed to
15404 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15405 defined. Adjust users.
15406 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15407 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15408
cb7e923b
UD
154092011-08-04 Ulrich Drepper <drepper@gmail.com>
15410
16292edd
UD
15411 * string/test-string.h (IMPL): Use __STRING to expand name and then
15412 stringify it.
15413
cb7e923b
UD
15414 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15415 of cleanups.
15416
cff82933
LD
154172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15418
15419 * string/Makefile: Update.
15420 (strop-tests): Append strncat.
15421 * string/test-wcscmp.c: New file.
15422 New comprehensive test for wcscmp.
15423 * string/test-strcmp.c: Update.
15424 (WIDE): New define.
15425
9be9bfcc
AS
154262011-07-22 Andreas Schwab <schwab@redhat.com>
15427
15428 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15429 line.
15430
2e96f1c7
AS
154312011-07-26 Andreas Schwab <schwab@redhat.com>
15432
15433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15434 encoding to ACE if AI_IDN.
15435
85188888
JJ
154362011-08-01 Jakub Jelinek <jakub@redhat.com>
15437
15438 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15439 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15440
5fa16e9b
LD
154412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15442
15443 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15444 Fix overflow bug in strncat.
15445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15446
15447 * string/test-strncat.c: Update.
15448 Add new tests for checking overflow bugs.
15449
154502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15451
15452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15453 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15454 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15455 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15457 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15458 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15459 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15460 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15461
15462 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15463 (USE_AS_STRCAT): Define.
15464 Add strcat and strncat support.
15465 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15466
8c1a459f
AS
154672011-07-25 Andreas Schwab <schwab@redhat.com>
15468
15469 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15470 __n bigger than INT_MAX+1.
15471 (__strncmp_g): Likewise.
15472
bba33c28
UD
154732011-07-23 Ulrich Drepper <drepper@gmail.com>
15474
798be72d
UD
15475 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15476 * libio/stido.h: Likewise.
15477
8accd4dc
UD
15478 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15479 (AF_NFC): Define.
15480 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15481 (AF_NFC): Define.
15482
cbff0d96
UD
15483 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15486 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15488
9191c04a
UD
15489 [BZ #13021]
15490 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15491 installed.
15492
bba33c28
UD
15493 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15494 typo.
15495 (_dl_x86_64_save_sse): Likewise.
15496
90f139dd
UD
154972011-07-22 Ulrich Drepper <drepper@gmail.com>
15498
1aae088a
UD
15499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15500 OSXSAVE.
15501 (_dl_x86_64_save_sse): Likewise.
15502
8e2045f5
UD
15503 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15504
90f139dd
UD
15505 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15506
1d002f25
AS
155072011-07-21 Andreas Schwab <schwab@redhat.com>
15508
15509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15510 change.
15511 (_dl_x86_64_save_sse): Use correct AVX check.
15512
21137f89
UD
155132011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15514
15515 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15516 bug in strncpy/strncat.
15517 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15518
a65c0b7a
UD
155192011-07-21 Ulrich Drepper <drepper@gmail.com>
15520
15521 * string/tester.c (test_strcat): Add tests for different alignments
15522 of source and destination.
15523 (test_strncat): Likewise.
15524
6986b98a
UD
155252011-07-20 Ulrich Drepper <drepper@gmail.com>
15526
90bb2039
UD
15527 [BZ #12852]
15528 * posix/glob.c (glob): Check passed in values before using them in
15529 expressions to avoid some overflows.
15530 (glob_in_dir): Likewise.
15531
5644ef54
UD
15532 [BZ #13007]
15533 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15534 check for AVX enablement so that we don't crash with old kernels and
15535 new hardware.
15536 * elf/tst-audit4.c: Add same checks here.
15537 * elf/tst-audit6.c: Likewise.
15538
15539 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15540
bfc9dc9b
AS
155412011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15542
15543 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15544
702e64bb
UD
155452011-07-20 Ulrich Drepper <drepper@gmail.com>
15546
15547 * po/cs.po: Update from translation team.
15548 * po/bg.po: Likewise.
15549
295e904f
MP
155502011-07-12 Marek Polacek <mpolacek@redhat.com>
15551
15552 * misc/sys/cdefs.h: Add support for const attribute.
15553 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15554 to gnu_dev_{major,minor,makedev} functions.
15555
3ff94596
MP
155562011-07-20 Marek Polacek <mpolacek@redhat.com>
15557
15558 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15559
28b59fca
AS
155602011-07-20 Andreas Schwab <schwab@redhat.com>
15561
15562 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15563 strlen results.
15564
19df733e
AK
155652011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15566
15567 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15568 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15569 register in order to avoid conflicts with the soft frame pointer
15570 being held in r11 when necessary.
15571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15572 (INTERNAL_VSYSCALL_NCS): Likewise.
15573
c8835729
MP
155742011-07-14 Marek Polacek <mpolacek@redhat.com>
15575
15576 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15577 * elf/dl-fini.c (_dl_fini): Adjust caller.
15578 * elf/dl-close.c (_dl_close_worker): Likewise.
15579 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15580
b902330c
MP
155812011-07-15 Marek Polacek <mpolacek@redhat.com>
15582
8991e135
MP
15583 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15584 "aux_cache->nlibs < 0".
15585
b902330c
MP
15586 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15587 in the reload-count case.
15588
99710781
LD
155892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15590
15591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15592 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15593 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15594 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15595 * sysdeps/x86_64/multiarch/strcat.S: New file.
15596 * sysdeps/x86_64/multiarch/strncat.S: New file.
15597 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15598 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15599 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15600 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15601 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15602 (USE_AS_STRCAT): Define.
15603 Add strcat and strncat support.
15604 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15605 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15606 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15607 * string/strncat.c: Update.
15608 (USE_AS_STRNCAT): Define.
15609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15610 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15611 and i7.
15612 * sysdeps/x86_64/multiarch/init-arch.h
15613 (bit_Prefer_PMINUB_for_stringop): New.
15614 (index_Prefer_PMINUB_for_stringop): Likewise.
15615 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15616 bit_Prefer_PMINUB_for_stringop.
15617
7dc6bd90
UD
156182011-07-19 Ulrich Drepper <drepper@gmail.com>
15619
15620 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15621 buffer64.
15622 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15623 of casting of buffer.
15624 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15625 buffer32 and buffer64.
15626 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15627 writes instead of casting of buffer.
15628 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15629 buffer32.
15630 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15631 casting of buffer.
15632
e0e72284
AS
156332011-07-19 Andreas Schwab <schwab@redhat.com>
15634
15635 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15636
feb1eb0b
UD
156372011-07-19 Ulrich Drepper <drepper@gmail.com>
15638
15639 * nscd/nscd.c (termination_handler): Don't do anything for a database
15640 if it has not yet been initialized.
15641
298711ff
UD
156422011-07-18 Ulrich Drepper <drepper@gmail.com>
15643
15644 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15645
156462011-07-15 Marek Polacek <mpolacek@redhat.com>
15647
15648 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15649
f9d68389
UD
156502011-07-18 Ulrich Drepper <drepper@gmail.com>
15651
15652 * po/nl.po: Update from translation team.
15653 * po/sv.po: Likewise.
15654
db290cf5
RM
156552011-07-16 Roland McGrath <roland@hack.frob.com>
15656
15657 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15658 now disallowed by GCC.
5c550700 15659
fd5e21c7
RM
15660 * configure.in (use-default-link): Default to yes if a test -shared
15661 link meets our qualifications.
15662 * configure: Regenerated.
15663
5c550700
RM
15664 * config.make.in (output-format): New variable.
15665 * configure.in: Check for ld --print-output-format support.
15666 * configure: Regenerated.
15667 * Makerules ($(common-objpfx)format.lds)
15668 [$(output-format) != unknown]: Just use $(output-format),
15669 instead of the linker-script munging.
15670
9fa2c032
RM
156712011-07-14 Roland McGrath <roland@hack.frob.com>
15672
a6928d51
RM
15673 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15674 of $(common-objpfx)shlib.lds.
15675 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15676
661607b3
RM
15677 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15678 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15679
9fa2c032
RM
15680 * configure.in (-z relro check): Adjust test code to add a large
15681 writable data section after it.
15682 * configure: Regenerated.
15683
defe9061
RM
156842011-07-11 Roland McGrath <roland@hack.frob.com>
15685
15686 * configure.in (-z relro check): Fix test code to make the variable
15687 truly const.
15688 * configure: Regenerated.
15689
319b9ad4
UD
156902011-07-11 Ulrich Drepper <drepper@gmail.com>
15691
15692 * nscd/nscd.h (struct traced_file): Define.
15693 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15694 elements. Add traced_files.
15695 (inotify_fd): Declare.
15696 (register_traced_file): Declare.
15697 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15698 (inotify_fd): Export.
15699 (resolv_conf_descr): Remove.
15700 (nscd_init): Move inotify descriptor creation to main.
15701 Don't register files for notification here.
15702 (register_traced_file): New function.
15703 (invalidate_cache): Don't use reset_res to determine whether to call
15704 res_init, go through the list of registered files.
15705 (main_loop_poll): The inotify descriptors are now stored in the
15706 structures for the traced files.
15707 (main_loop_epoll): Likewise
15708 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15709 to __nss_disable_nscd.
15710 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15711 for a database anymore. Check the records for all the registered
15712 files instead.
15713 * nss/Makefile (libnss_files-routines): Add files-init.
15714 (libnss_db-routines): Add db-init.
15715 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15716 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15717 * nss/nss_db/db-init.c: New file.
15718 * nss/nss_files/files-init.c: New file.
15719 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15720 __nss_lookup_function.
15721 (__nss_lookup_function): Call nss_load_library.
15722 (nss_load_all_libraries): New function.
15723 (__nss_disable_nscd): Take parameter with callback function for files
15724 to register. Set is_nscd. Load all the DSOs for the NSS modules
15725 used for the cached services.
15726 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15727 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15728 options for features to all the files in nscd.
15729
15730 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15731
23bee3e8
RM
157322011-07-10 Roland McGrath <roland@hack.frob.com>
15733
15734 * csu/elf-init.c (__libc_csu_init): Comment typo.
15735
46a5b7f0
UD
157362011-07-09 Ulrich Drepper <drepper@gmail.com>
15737
15738 * po/pl.po: Update from translation team.
15739 * po/ja.po: Likewise.
15740 * po/ru.po: Likewise.
15741 * po/ko.po: Likewise.
15742 * po/fr.po: Likewise.
15743
d30cf5bb
RM
157442011-07-09 Roland McGrath <roland@hack.frob.com>
15745
113ddea4
RM
15746 * configure.in (.ctors/.dtors header and trailer check):
15747 Use an empirical test on a built program.
15748 * configure: Regenerated.
15749
574920b4
RM
15750 * configure.in (-z relro check): Use an empirical test on a built DSO.
15751 Detect, but do not require, on ia64.
15752 * configure: Regenerated.
15753
d30cf5bb
RM
15754 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15755 Update tests that use readelf to use $READELF instead.
15756 * configure: Regenerated.
15757
8538fdb3
UD
157582011-07-08 Ulrich Drepper <drepper@gmail.com>
15759
15760 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15761 if the result is not used.
15762
04d08991
AJ
157632011-07-05 Andreas Jaeger <aj@suse.de>
15764
15765 [BZ#9696]
15766 * stdlib/tst-strtod.c: Add testcase.
15767
de283087
AD
157682011-07-07 Ulrich Drepper <drepper@gmail.com>
15769
4e5f31c8 15770 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15771 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15772 The latter has a higher limit. Take additional parameter to pass to
15773 the new function.
15774 (__pathconf): Pass file to __statfs_link_max.
15775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15776 __statfs_link_max.
15777 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15778 __statfs_link_max.
15779
de283087
AD
15780 [BZ #12868]
15781 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15783 Handle Lustre.
15784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15785 (__statfs_filesize_max): Likewise.
15786 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15787
c75fa153
AJ
157882011-07-05 Andreas Jaeger <aj@suse.de>
15789
15790 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15791
1a544854
UD
157922011-07-06 Marek Polacek <mpolacek@redhat.com>
15793
15794 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15795 `status' variable.
15796 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15797 Likewise.
15798
6f0eec67
UD
157992011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15800
15801 * Makefile (strop-tests): Add strncat.
15802 * string/test-strncat.c: New file.
15803
aae30307
UD
158042011-06-30 Marek Polacek <mpolacek@redhat.com>
15805
15806 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15807
c0cfb5eb
UD
158082011-06-21 Andreas Jaeger <aj@suse.de>
15809
15810 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15811 Copy rule from iconvdata/Makefile.
15812
01636b21
UD
158132011-07-06 Ulrich Drepper <drepper@gmail.com>
15814
15815 [BZ #12922]
15816 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15817 but no long options are defined, just return 'W'.
15818
9895c8bc
UD
158192011-06-22 Marek Polacek <mpolacek@redhat.com>
15820
15821 [BZ #9696]
15822 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15823
5d4cf042
UD
158242011-07-06 Ulrich Drepper <drepper@gmail.com>
15825
15826 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15827 netgroups to read.
960e5535 15828 (innetgr): Likewise.
5d4cf042 15829
751eb97e
RM
158302011-07-05 Roland McGrath <roland@hack.frob.com>
15831
15832 * config.make.in (install_root): Default to $(DESTDIR).
15833
f15f1e45
UD
158342011-07-05 Ulrich Drepper <drepper@gmail.com>
15835
15836 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15837
4e34ac6a
RM
158382011-07-02 Roland McGrath <roland@hack.frob.com>
15839
5e9b6af4
RM
15840 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15841
84f9ea0f
RM
15842 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15843 containing directory rather than embedding absolute directory names.
15844
ea5ee9f7
RM
15845 * scripts/check-local-headers.sh: Rewritten using awk.
15846 Match by word, not by line. Print error messages for matches.
15847 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15848
1b74661a
RM
15849 * Makerules [shlib-lds-flags empty]:
15850 ($(common-objpfx)libc_pic.opts): New target.
15851 ($(common-objpfx)libc_pic.os.clean): New target.
15852 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15853
15854 * config.make.in (OBJCOPY): New variable.
15855 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15856 * configure: Regenerated.
15857
f781ef40
RM
15858 * config.make.in (use-default-link): New variable.
15859 * configure.in (use_default_link): Grok --with-default-link to set it.
15860 * configure: Regenerated.
15861 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15862 (shlib-lds, shlib-lds-flags): Define to empty.
15863
2d4fa81e
RM
15864 * Makerules (shlib-lds): New variable.
15865 (shlib-lds-flags): New variable.
15866 (build-shlib, build-moduile, build-module-asneeded): Use it.
15867 ($(common-objpfx)libc.so): Use $(shlib-lds).
15868 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15869 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15870
31fffa6b
RM
15871 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15872 DT_FLAGS/DT_FLAGS_1 with zero flags.
15873
4e34ac6a
RM
15874 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15875 linker script munging.
15876
fcfc776b
UD
158772011-07-02 Ulrich Drepper <drepper@gmail.com>
15878
15879 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15880 as 128-bit value.
15881 * crypt/sha512.c (sha512_process_block): Perform total addition using
15882 128-bit if possible.
15883 (__sha512_finish_ctx): Likewise.
15884 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15885 as 64-bit value.
15886 * crypt/sha256.c (SWAP64): Define.
15887 (sha256_process_block): Perform total addition using 64-bit if
15888 possible.
15889 (__sha256_finish_ctx): Likewise.
15890
99231d9a
UD
158912011-07-01 Ulrich Drepper <drepper@gmail.com>
15892
15893 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15894 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15895 * nscd/hstcache.c (cache_addhst): Likewise.
15896 * nscd/grpcache.c (cache_addgr): Likewise.
15897 * nscd/aicache.c (addhstaiX): Likewise
15898 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15899
445b4a53
TK
159002011-07-01 Thorsten Kukuk <kukuk@suse.de>
15901
15902 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15904 * nscd/hstcache.c (cache_addhst): Likewise.
15905 * nscd/grpcache.c (cache_addgr): Likewise.
15906 * nscd/aicache.c (addhstaiX): Likewise
15907
6d4d8e8e
AS
159082011-07-01 Andreas Schwab <schwab@redhat.com>
15909
15910 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15911 domain only when needed.
15912
89f654c5
AS
159132011-06-30 Andreas Schwab <schwab@redhat.com>
15914
15915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15916 is always restored.
15917
cf3b23ff
UD
159182011-06-29 Ulrich Drepper <drepper@gmail.com>
15919
15920 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15921 are re-adding the entry.
15922 * nscd/servicescache.c (cache_addserv): Likewise.
15923
751626f9
AJ
159242011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15925
15926 * sysdeps/generic/dl-irel.h: fix protection against multiple
15927 inclusions.
15928 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15929
9113ea1f
UD
159302011-06-28 Ulrich Drepper <drepper@gmail.com>
15931
5c0b8d90
UD
15932 [BZ #12935]
15933 * malloc/memusage.sh: Fix quoting in message.
15934 * debug/xtrace.sh: Likewise.
15935
9113ea1f
UD
15936 * configure.in: Remove support for --experimental-malloc option, make
15937 it the default.
15938 * config.make.in: Likewise.
15939 * malloc/Makefile: Likewise.
15940
a4172181
AS
159412011-06-27 Andreas Schwab <schwab@redhat.com>
15942
15943 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15944 two-byte characters.
15945
78a7eee7
RM
159462011-06-27 Roland McGrath <roland@hack.frob.com>
15947
62bede13
RM
15948 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15949 AC_CACHE_CHECK invocation.
15950 * configure: Regenerated.
15951
78a7eee7
RM
15952 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15953
5ce33a62
UD
159542011-06-27 Ulrich Drepper <drepper@gmail.com>
15955
034807a9
UD
15956 [BZ #12350]
15957 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15958 bit from old_res_options.
15959
4902da17
UD
15960 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15961
5ce33a62
UD
15962 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15963 value type for setfct.
15964
c2344f56
L
159652011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15966
15967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15968 __gettimeofday instead of gettimeofday.
15969
68468076
UD
159702011-06-26 Ulrich Drepper <drepper@gmail.com>
15971
15972 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15973
acb0d739
L
159742011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15975
15976 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15977
15978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15979 info.
15980
8912479f
L
159812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15982
15983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15984 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15985 strcpy-sse2-unaligned strncpy-sse2-unaligned
15986 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15987 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15988 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15989 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15990 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15992 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15993 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15994 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15995 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15996 (STRCPY): Support SSE2 and SSSE3 versions.
15997
d5495a11
UD
159982011-06-24 Ulrich Drepper <drepper@gmail.com>
15999
16000 [BZ #12874]
16001 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16002 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16003 kernels which artificially limit size of requests.
16004
0b1cbaae
L
160052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16006
16007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16008 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16009 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16010 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16011 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16012 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16013 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16014 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16015 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16017 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16018 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16019 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16020 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16021 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16023 Enable unaligned load optimization for Intel Core i3, i5 and i7
16024 processors.
16025 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16026 Define.
16027 (index_Fast_Unaligned_Load): Define.
16028 (HAS_FAST_UNALIGNED_LOAD): Define.
16029
07f494a0
MP
160302011-06-23 Marek Polacek <mpolacek@redhat.com>
16031
16032 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16033
fa3fc0fe
UD
160342011-06-22 Ulrich Drepper <drepper@gmail.com>
16035
16036 [BZ #12907]
16037 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16038 until it is clear that the information is realy needed.
16039 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16040
e12df166
AS
160412011-06-22 Andreas Schwab <schwab@redhat.com>
16042
16043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16044
852eb34d
UD
160452011-06-22 Ulrich Drepper <drepper@gmail.com>
16046
84e2a551
UD
16047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16048 /sys/devices/system/cpu/online if it is usable.
16049
852eb34d
UD
16050 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16051 reading the information from the /proc filesystem to once a second.
16052
6e502e19
UD
160532011-06-21 Andreas Jaeger <aj@suse.de>
16054
16055 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16056 NULL after inclusion of kernel headers.
16057
75d39ff2
UD
160582011-06-21 Ulrich Drepper <drepper@gmail.com>
16059
51f9aa6a
UD
16060 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16061 calls to internal_setent.
16062
c0244a9d
UD
16063 [BZ #12885]
16064 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16065 addresses using gethostbyname4_r ignore IPv4 addresses.
16066
c5e3c2ae
UD
16067 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16068 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16069
75d39ff2
UD
16070 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16071
42675c6f
DM
160722011-06-20 David S. Miller <davem@davemloft.net>
16073
16074 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16075 inclusions.
16076 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16077
16078 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16079 (elf_irel): Use it.
16080 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16081 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16082 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16083 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16084 * sysdeps/x86_64/dl-irel.h: Likewise.
16085
16086 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16087 * elf/dl-sym.c: Likewise.
16088
57912a71
UD
160892011-06-15 Ulrich Drepper <drepper@gmail.com>
16090
16091 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16092 need to dereference resplen2.
16093
ee22793d
AS
160942011-06-14 Andreas Schwab <schwab@redhat.com>
16095
16096 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16097
a9e836b0
UD
160982011-06-15 Ulrich Drepper <drepper@gmail.com>
16099
77fb9117
UD
16100 * Makeconfig: Define vardbdir and inst_vardbdir.
16101 * nss/Makefile: Add rules to install db-Makefile.
16102
40c1b22c
UD
16103 * nss/nss_db/db-XXX.c: Cleanup.
16104
9f2da732
UD
16105 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16106 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16107 GLIBC_PRIVATE.
16108 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16109 * nss/makedb.c: Implement -g option to specify that value strings
16110 are generated and should not be added to table iterated over for
16111 get*ent calls.
16112 * nss/nss_db/db-initgroups.c: New file.
16113
82e9a1f7
UD
16114 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16115 interface.
16116
c41af17e
UD
16117 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16118 (internal_getgrouplist): Adjust to name change.
16119 Update use_initgroups_entry if this is not the first call.
16120 * nss/databases.def: Add initgroups entry.
16121
a9e836b0
UD
16122 * nss/makedb.c (compute_tables): Check result of multiple hash table
16123 sizes to minimize maximum chain length.
16124
2666d441
UD
161252011-06-14 Ulrich Drepper <drepper@gmail.com>
16126
16127 * Versions.def: Add entry for libnss_db.
16128 * shlib-versions: Likewise.
16129 * nss/Makefile: Add rules to build libnss_db.
16130 * nss/Versions: Add libnss_db information. Organize libnss_files
16131 entries better.
16132 * nss/db-Makefile: Add gshadow support. Change rules for the new
16133 makedb progra. Some minor improvements to generate smaller files.
16134 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16135 here from...
16136 * nss/makedb.c: ...here.
16137 Improve database format to be smaller and require less memory at
16138 runtime.
16139 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16140 db anymore.
16141 * nss/nss_db/db-netgrp.c: Likewise.
16142 * nss/nss_db/db-open.c: Likewise.
16143 * nss/nss_files/flies-XXX.x: Adjust comments.
16144 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16145 * nss/nss_files/files-grp.c: Likewise.
16146 * nss/nss_files/files-hosts.c: Likewise.
16147 * nss/nss_files/files-network.c: Likewise.
16148 * nss/nss_files/files-proto.c: Likewise.
16149 * nss/nss_files/files-pwd.c: Likewise.
16150 * nss/nss_files/files-rpc.c: Likewise.
16151 * nss/nss_files/files-service.c: Likewise.
16152 * nss/nss_files/files-sgrp.c: Likewise.
16153 * nss/nss_files/files-spwd.c: Likewise.
16154 * nss/nss_db/db-alias.c: Removed.
16155 * nss/nss_db/dummy-db.h: Removed.
16156
9ee76b5a
UD
161572011-06-02 Ulrich Drepper <drepper@gmail.com>
16158
16159 * nss/makedb.c: Rewritten to not use database library.
16160 * nss/Makefile: Update to build new makedb program.
16161
c71ca1f8
AJ
161622011-06-14 Andreas Jaeger <aj@suse.de>
16163
16164 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16165 memset declaration.
16166
3154bfb8
UD
161672011-06-10 Andreas Schwab <schwab@redhat.com>
16168
16169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16170 tmpbuf.
16171
b350afab
RM
161722011-06-10 Roland McGrath <roland@hack.frob.com>
16173
decd4e50
RM
16174 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16175 * elf/Makefile ($(objpfx)ld.so): Likewise.
16176
5615eaf2
RM
16177 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16178 Don't list ld.so twice in dependencies.
16179
16180 * posix/bug-regex31.c: Include <stdlib.h>.
16181
16182 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16183
16184 * nis/nss_compat/compat-spwd.c
16185 (getspent_next_nss_netgr): Remove unused variable.
16186 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16187
16188 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16189 nonmembers" output to use the right array.
16190
16191 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16192
16193 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16194
16195 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16196 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16197 * catgets/gencat.c (read_input_file): Likewise.
16198 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16199
16200 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16201 variable definition inside #if's controlling its use.
16202
16203 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16204
16205 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16206
16207 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16208
16209 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16210 unreachable code.
16211
16212 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16213
b68e08db
RM
16214 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16215 * configure: Regenerated.
16216
b350afab
RM
16217 * Makerules: Revert last change.
16218 * elf/Makefile: Likewise.
16219
28368601
RM
162202011-06-09 Roland McGrath <roland@hack.frob.com>
16221
16222 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16223 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16224 (reloc-link): Likewise.
16225
11988f8f
UD
162262011-06-09 Ulrich Drepper <drepper@gmail.com>
16227
16228 * elf/Makefile: Add rules to build pldd.
16229 * elf/pldd.c: New file.
16230 * elf/pldd-xx.c: New file.
16231
e80fab37
UD
162322011-06-07 Ulrich Drepper <drepper@gmail.com>
16233
16234 * version.h: Update for 2.15 development version.
16235
9b849836
DM
162362011-06-07 David S. Miller <davem@davemloft.net>
16237
16238 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16239 ifuncs.
16240 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16241 elf_machine_lazy_rel): Likewise.
16242 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16244 elf_machine_lazy_rel): Likewise.
16245 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16246 dl_hwcap via passed in argument.
16247 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16248 Likewise.
16249
5a31b283
AK
162502011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16251
16252 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16253
069e52f8
RM
162542011-06-06 Roland McGrath <roland@hack.frob.com>
16255
16256 [BZ #12849]
16257 * manual/fdl-1.1.texi: New file, verbatim from:
16258 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16259 * manual/lgpl-2.1.texi: New file, verbatim from:
16260 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16261 * manual/Makefile (licenses): New variable, list those new file names.
16262 (texis): Use it.
16263 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16264
16265 * manual/fdl.texi: File removed.
16266 * manual/lesser.texi: File removed.
16267 * manual/libc.texinfo (Copying, Documentation License):
16268 Use new @include file names, put @appendix directive before @include.
16269
f16846a5
JJ
162702011-06-04 Jakub Jelinek <jakub@redhat.com>
16271
16272 [BZ #12841]
16273 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16274 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16275 (mq_open): Add __NTH.
16276
3d29045b
L
162772011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16278
16279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16280 Assume Intel Core i3/i5/i7 processor if AVX is available.
16281
8c297311
UD
162822011-05-31 Ulrich Drepper <drepper@gmail.com>
16283
16284 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16285 typo.
16286
c8fc0c91
UD
162872011-05-31 Andreas Schwab <schwab@redhat.com>
16288
16289 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16290 memory. Use alloca_account. Fix memory leak when retrying.
16291
5b27a807
UD
162922011-05-31 Ulrich Drepper <drepper@gmail.com>
16293
356f8bc6
UD
16294 * version.h (RELEASE): Bump for 2.14 release.
16295 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16296
5b27a807
UD
16297 * config.make.in (RANLIB): Remove entry.
16298
01f16ab0
UD
162992011-05-30 Ulrich Drepper <drepper@gmail.com>
16300
41fce8bd
UD
16301 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16302 (libc.pot): Work around missing support for .ksh extension in xgettext.
16303
4769ae77
UD
16304 [BZ #12684]
16305 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16306 if both request failed.
16307 (send_dg): In case of server errors clear resplen or *resplen2.
16308
6b1e7d19
UD
16309 [BZ #12454]
16310 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16311 when there are multiple maps.
16312 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16313 (_dl_fini): Remove test here.
16314
01f16ab0
UD
16315 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16316
b1ebd700
UD
163172011-05-29 Ulrich Drepper <drepper@gmail.com>
16318
7ae22829
UD
16319 [BZ #12350]
16320 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16321 bit from old_res_options.
16322 (gaih_inet): Likewise.
16323
553149f6 16324 [BZ #11099]
18a84741 16325 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16326 as signed.
16327
652ffab1
UD
16328 * resolv/res_init.c (res_setoptions): Make the code more compact.
16329
16985fd0
UD
16330 [BZ #11558]
16331 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16332 set RES_USEVC.
16333
0464f746
UD
16334 [BZ #11634]
16335 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16336
7d17596c
UD
16337 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16338
cf6bbbd7
UD
16339 [BZ #11781]
16340 * malloc/malloc.h: Declare malloc hook variables as volatile.
16341
13f1ab36
UD
16342 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16343 in last patch.
16344
b1ebd700
UD
16345 [BZ #11799]
16346 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16347 raise in the comment.
80e2212d
UD
16348 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16350 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16351
ce67228d
UD
163522011-05-28 Ulrich Drepper <drepper@gmail.com>
16353
8887a920
UD
16354 [BZ #12811]
16355 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16356 grow the buffers more if it already has to be sufficient.
16357 (build_wcs_upper_buffer): Likewise.
16358 * posix/regexec.c (check_matching): Likewise.
16359 (clean_state_log_if_needed): Likewise.
16360 (extend_buffers): Don't enlarge buffers beyond size of the input
16361 buffer.
16362 Patches mostly by Emil Wojak <emil@wojak.eu>.
16363 * posix/bug-regex32.c: New file.
16364 * posix/Makefile (tests): Add bug-regex32.
16365
4f031072
UD
16366 * locale/findlocale.c (_nl_find_locale): Return right away if
16367 _nl_explode_name failed.
16368 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16369
d0478f0c
UD
16370 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16371
de81b246
UD
16372 * debug/xtrace.sh: Unify messages.
16373 * malloc/memusage.sh: Likewise.
16374
c738465a
UD
16375 [BZ #12813]
16376 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16377 time symbol from vDSO. Substitute with vsyscall if not available.
16378 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16379 __vdso_time.
16380
f1f929d7
UD
16381 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16382 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16383 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16384 Add sendmmsg and internal_sendmmsg.
16385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16386 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16387 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16388
ce67228d
UD
16389 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16390 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16392
e57420c6
UD
163932011-05-27 Ulrich Drepper <drepper@gmail.com>
16394
a8509ca5
UD
16395 [BZ #12813]
16396 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16397 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16398 available.
16399 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16400 __vdso_getcpu.
16401
e57420c6
UD
16402 [BZ #12814]
16403 * iconvdata/Makefile (tests): Add bug-iconv9.
16404 * iconvdata/bug-iconv9.c: New file.
16405
4d07db15
AS
164062011-05-27 Andreas Schwab <schwab@redhat.com>
16407
16408 [BZ #12814]
16409 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16410
ea486f69
JJ
164112011-05-25 Jakub Jelinek <jakub@redhat.com>
16412
16413 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16414 (struct user_regs_struct): Change intcs field back to cs.
16415
6f038433
UD
164162011-05-25 Ulrich Drepper <drepper@gmail.com>
16417
16418 * po/ja.po: Update from translation team.
16419
67f86a25
UD
164202011-05-23 Ulrich Drepper <drepper@gmail.com>
16421
16422 [BZ #12795]
16423 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16424 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16425
def7fbd6
AS
164262011-05-20 Andreas Schwab <schwab@redhat.com>
16427
16428 * stdlib/longlong.h: Update from GCC.
16429
f50ef8f1
AS
164302011-05-23 Andreas Schwab <schwab@redhat.com>
16431
16432 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16433 parameter name.
16434 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16435 Add parameter name.
16436 (__sysconf): Pass it down.
16437
de7ce8f1
UD
164382011-05-22 Ulrich Drepper <drepper@gmail.com>
16439
f2962a71
UD
16440 [BZ #12671]
16441 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16442 some situations.
16443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16444 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16445 add in in __libc_use_alloca calls. Adjust callers.
16446 (glob): Use malloc in some situations.
16447
de7ce8f1
UD
16448 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16449 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16450 pltexit.
16451
aec84f53
UD
164522011-05-21 Ulrich Drepper <drepper@gmail.com>
16453
05bb4a68
UD
16454 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16455 and CLOCK_BOOTTIME_ALARM.
16456
7ea72f99
UD
16457 [BZ #12782]
16458 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16459 is returned.
16460
7e4afad5
UD
16461 * string/_strerror.c (__strerror_r): Print negative errors as signed
16462 numbers.
16463
8e211fec
UD
16464 [BZ #12777]
16465 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16466 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16467 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16468
f7d82dc9
UD
16469 * configure.in: Fix typo in redirection and correct removal of test
16470 files in two cases.
16471
cc9e536d
UD
16472 [BZ #12788]
16473 * locale/setlocale.c (new_composite_name): Fix test to check for
16474 identical name of all categories.
16475
aec84f53
UD
16476 [BZ #12792]
16477 * libio/filedoalloc.c (local_isatty): New function.
16478 (_IO_file_doallocate): Use local_isatty.
16479 * stdio-common/perror.c (perror): In case a new stream is used
16480 forward the stream error.
16481 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16482 error flag.
16483
78e64fdc
RT
164842011-05-20 Ulrich Drepper <drepper@gmail.com>
16485
34a9094f
UD
16486 [BZ #11869]
16487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16488 alloca.
16489 * include/alloca.h (extend_alloca_account): Define.
16490
78e64fdc
RT
16491 [BZ #11857]
16492 * posix/regex.h: Fix comments with documentation of user-accessible
16493 fields after compilation and describe correct free'ing of pattern
16494 after re_compile_pattern.
16495 Patch by Reuben Thomas <rrt@sc3d.org>.
16496
457bddfc
RA
164972011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16498
16499 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16500 and -mno-altivec to prevent the compiler from using Altivec and/or
16501 VSX instructions when the corresponding registers are not available.
16502
a4527b51
AS
165032011-05-19 Andreas Schwab <schwab@redhat.com>
16504
16505 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16506
ed690b2f
UD
165072011-05-19 Ulrich Drepper <drepper@gmail.com>
16508
16509 * libio/freopen.c (freopen): Use __dup2, not dup2.
16510 * libio/freopen64.c (freopen64): Likewise.
16511
8db73634
L
165122011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16513
16514 [BZ #12775]
16515 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16516 * math/Makefile (tests): Add test-powl.
16517 (CFLAGS-test-powl.c): Define.
16518 * math/test-powl.c: New file.
16519
0a197a9d
L
165202011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16521
16522 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16523
ee30c380
UD
165242011-05-17 Ulrich Drepper <drepper@gmail.com>
16525
16526 [BZ #11837]
16527 * iconvdata/gb18030.c: Update to GB18020-2005.
16528
6ce75379
UD
165292011-05-16 Ulrich Drepper <drepper@gmail.com>
16530
a4b89fd8
AR
16531 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16532 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16533 Patch by Aharon Robbins <arnold@skeeve.com>.
16534
ea389b12
UD
16535 [BZ #11892]
16536 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16537 on the stack.
16538
68a3f91f
UD
16539 [BZ #11895]
16540 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16541 through underflows.
16542
15cc7dd1
UD
16543 [BZ #12766]
16544 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16545 point to strings before performing equality test for error_one_per_line
16546 mode.
16547
f3799213
UD
16548 [BZ #11697]
16549 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16550
d79a9c94
UD
16551 [BZ #11820]
16552 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16553 (struct user_fpregs_struct): Avoid __uint*_t types.
16554
56e5eb46
UD
16555 [BZ #6420]
16556 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16557 symbol info. Use it instead of calling _dl_addr locally.
16558 (lock_and_info): New function.
16559 (tr_freehook): Call lock_and_info and pass symbol info as additional
16560 parameter to tr_where.
16561 (tr_mallochook): Likewise.
16562 (tr_reallochook): Likewise.
16563 (tr_memalignhook): Likewise.
16564
6ce75379
UD
16565 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16566 used and couldn't be at all thread-safe.
16567
f8a3b5bf
UD
165682011-05-15 Ulrich Drepper <drepper@gmail.com>
16569
94b7cc37
UD
16570 * libio/freopen.c (freopen): Don't close old file descriptor
16571 before the new one is opened. Instead dup the new file descriptor
16572 to the old one after the new stream is created.
16573 * libio/freopen64.c (freopen64): Likewise.
16574 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16575 * libio/fileops.c (_IO_new_file_close_it): Handle new
16576 _IO_FLAGS2_NOCLOSE flag.
16577 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16578 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16579 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16580 _IO_FLAGS2_NOCLOSE flag.
16581 * include/unistd.h: Add hidden_proto for dup3.
16582 Define __have_dup3.
16583 * io/dup3.c: Define hidden symbol.
16584 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16585
bd25564e
UD
16586 [BZ #7101]
16587 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16588 when an incomplete long option is used.
16589 * posix/tst-getopt_long1.c: New file.
16590 * posix/Makefile (tests): Add tst-getopt_long1.
16591
c84cfef4
UD
16592 [BZ #10138]
16593 * scripts/config.guess: Update from autoconf-2.68.
16594 * scripts/config.sub: Likewise.
16595
3b85df27
UD
16596 [BZ #10157]
16597 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16598 tests into ...
16599 (has_cpuclock): ...this. New function.
16600 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16601 macro here based on has_cpuclock code.
16602
15a856b1
UD
16603 [BZ #10149]
16604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16605 First byte (not low byte) is now always NUL.
16606 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16607
05f399e6
UD
16608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16609 Use non-cancelable interfaces.
16610
10a52685 16611 [BZ #9809]
94ecc67d
UD
16612 * locale/iso-639.def: Add entry for Sorani.
16613
f8a3b5bf
UD
16614 [BZ #11901]
16615 * include/stdlib.h: Move include protection to the right place.
16616 Define abort_msg_s. Declare __abort_msg with it.
16617 * stdlib/abort.c (__abort_msg): Adjust type.
16618 * assert/assert.c (__assert_fail_base): New function. Majority
16619 of code from __assert_fail. Allocate memory for __abort_msg with
16620 mmap.
16621 (__assert_fail): Now call __assert_fail_base.
16622 * assert/assert-perr.c: Remove bulk of implementation. Use
16623 __assert_fail_base.
16624 * include/assert.hL Declare __assert_fail_base.
16625 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16626 mmap.
16627 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16628
1af4e298
UD
166292011-05-14 Ulrich Drepper <drepper@gmail.com>
16630
f8a3b5bf 16631 [BZ #11952]
d26dfc60
MG
16632 [BZ #12453]
16633 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16634 until all modules are registered in the DTV.
16635 * elf/Makefile: Add rules to build and run tst-tls19.
16636 * elf/tst-tls19.c: New file.
16637 * elf/tst-tls19mod1.c: New file.
16638 * elf/tst-tls19mod2.c: New file.
16639 * elf/tst-tls19mod3.c: New file.
16640 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16641
2fc54d6f
UD
16642 [BZ #12083]
16643 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16644 correctly.
16645
98d76b46
UD
16646 [BZ #12601]
16647 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16648 two-byte sequence errors.
16649 * iconvdata/Makefile (tests): Add bug-iconv8.
16650 * iconvdata/bug-iconv8.c: New file.
16651
da3c19ef
UD
16652 [BZ #12626]
16653 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16654 buf2 definition.
16655
ca408c15
UD
16656 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16657
d6f67f7d
UD
16658 [BZ #12432]
16659 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16660 (dummy_getcfa): New function.
16661 (init): Get _Unwind_GetCFA address, use dummy if not found.
16662 (backtrace_helper): In recursion check, also check whether CFA changes.
16663 (__backtrace): Completely initialize arg.
16664
1af4e298 16665 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16666 storing incomplete byte sequence in state object. Avoid testing for
16667 guaranteed too small input if we know there is enough data available.
1af4e298 16668
da62f81b
AS
166692011-05-11 Andreas Schwab <schwab@redhat.com>
16670
16671 * Makeconfig (+link-pie): Indent.
16672 * Rules (binaries-pie): Define if $(have-fpie) and
16673 $(build-shared).
16674 (binaries-shared): Also filter out $(binaries-pie).
16675 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16676 * nscd/Makefile (others-pie): Add nscd.
16677 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16678 ($(objpfx)nscd): Remove command override.
16679 * login/Makefile (others-pie): Add pt_chown.
16680 ($(objpfx)pt_chown): Remove command override.
16681 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16682 remove command overrides.
16683
fcabc0f8
UD
166842011-05-13 Ulrich Drepper <drepper@gmail.com>
16685
20030ae6
UD
16686 * libio/tst_putwc.c: Fix error messages.
16687
fcabc0f8
UD
16688 [BZ #12724]
16689 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16690 currently writing and seek to current position when not.
16691 * libio/Makefile (tests): Add bug-fclose1.
16692 * libio/bug-fclose1.c: New file.
16693
320a5dc0
PB
166942011-05-12 Ulrich Drepper <drepper@gmail.com>
16695
16696 [BZ #12511]
16697 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16698 don't set DF_1_NODELETE here.
16699 (do_lookup_x): When entering new entry test for copy relocation
16700 and if necessary set DF_1_NODELETE flag.
16701 * elf/tst-unique4.cc: New file.
16702 * elf/tst-unique4.h: New file.
16703 * elf/tst-unique4lib.cc: New file.
16704 * elf/Makefile: Add rules to build and run tst-unique4.
16705 Patch by Piotr Bury <pbury@goahead.com>.
16706
22836f52
UD
167072011-05-11 Ulrich Drepper <drepper@gmail.com>
16708
f574184a
UD
16709 [BZ #12052]
16710 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16711
e1fb097f
UD
16712 [BZ #12625]
16713 * misc/mntent_r.c (addmntent): Flush the stream after the output
16714
22836f52
UD
16715 [BZ #12393]
16716 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16717 (is_trusted_path_normalize): Skip initial colon. Append slash
16718 to empty buffer. Duplicate is_trusted_path code but allow
16719 constructed patch to be prefix.
16720 (is_dst): Allow $ORIGIN followed by /.
16721 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16722 Correct testing of result of is_trusted_path_normalize
16723 (decompose_rpath): Fix warning.
16724
7b3b0b2a
UD
167252011-05-10 Ulrich Drepper <drepper@gmail.com>
16726
16727 [BZ #11257]
16728 * grp/initgroups.c (internal_getgrouplist): When we found the service
16729 list through the initgroups entry in nsswitch.conf do not always
16730 continue on a successful lookup. Don't always use the
eac80ce2 16731 __nss_group_database value if it is set.
7b3b0b2a
UD
16732 * nss/nsswitch.conf (initgroups): Change action for successful db
16733 lookup to continue for compatibility.
16734
2a81eaa5
UD
167352011-05-09 Ulrich Drepper <drepper@gmail.com>
16736
be97a69e
UD
16737 [BZ #11532]
16738 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16739 and CP774 modules.
16740 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16741 and CP774 modules.
16742 * iconvdata/tst-tables.sh: Likewise.
16743 * iconvdata/cp770.c: New file.
16744 * iconvdata/cp771.c: New file.
16745 * iconvdata/cp772.c: New file.
16746 * iconvdata/cp773.c: New file.
16747 * iconvdata/cp774.c: New file.
16748 * iconvdata/testdata/CP770: New file.
16749 * iconvdata/testdata/CP770..UTF8: New file.
16750 * iconvdata/testdata/CP771: New file.
16751 * iconvdata/testdata/CP771..UTF8: New file.
16752 * iconvdata/testdata/CP772: New file.
16753 * iconvdata/testdata/CP772..UTF8: New file.
16754 * iconvdata/testdata/CP773: New file.
16755 * iconvdata/testdata/CP773..UTF8: New file.
16756 * iconvdata/testdata/CP774: New file.
16757 * iconvdata/testdata/CP774..UTF8: New file.
16758
16759 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16760 END CHARMAP line.
16761 * iconvdata/gen-8bit-gap.sh: Likewise.
16762 * iconvdata/gen-8bit.sh: Likewise.
16763
c1e9e399
UD
16764 * locale/iso-639.def: Add ary entry.
16765
24c55fb3 16766 [BZ #11258]
96b4b1b0
UD
16767 * locale/C-translit.h.in: Add U20A1 transliteration.
16768
bdc2f971
KB
16769 [BZ #12178]
16770 * locale/iso-639.def: Add wae entry.
16771 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16772
2952b117
UD
16773 [BZ #12545]
16774 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16775 for n.
16776
2a81eaa5
UD
16777 [BZ #12711]
16778 * locale/C-translit.h.in: Add entry for U20B9.
16779 Patch by pravin.d.s@gmail.com.
16780
28377d1b
UD
167812011-05-08 Ulrich Drepper <drepper@gmail.com>
16782
7fb90fb8
UD
16783 [BZ #12713]
16784 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16785 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16786 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16787 in rtld. Use *stat64.
7fb90fb8 16788 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16789 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16790 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16791 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16792 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16793 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16794 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16795 __fstatat64 macros.
7fb90fb8
UD
16796 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16797 * dirent/rewinddir.c: Add libc_hidden_def.
16798 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16799 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16800
28377d1b
UD
16801 * include/dirent.h (__alloc_dir): Add flags parameter.
16802 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16803 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16804 __alloc_dir.
16805 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16806 from fdopendir if O_CLOEXEC is already set.
16807
66bdbaa4
AM
168082011-03-15 Alan Modra <amodra@gmail.com>
16809
16810 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16811 l_tls_firstbyte_offset non-zero. Save padding offset in
16812 l_tls_firstbyte_offset for later use.
16813 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16814 freeing static tls block.
16815
95721191
JN
168162011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16817
16818 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16819 where #ifdef was intended. The intent is to prevent ARG_MAX from
16820 being defined by the kernel headers.
16821
f87dfb1f
UD
168222011-05-07 Ulrich Drepper <drepper@gmail.com>
16823
16824 [BZ #12734]
16825 * resolv/resolv.h: Define RES_NOTLDQUERY.
16826 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16827 no-tld-query and set RES_NOTLDQUERY.
16828 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16829 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16830 modern BIND to search name as TLD unless forbidden.
16831
47c3cd7a
UD
168322011-05-07 Petr Baudis <pasky@suse.cz>
16833 Ulrich Drepper <drepper@gmail.com>
16834
16835 [BZ #12393]
16836 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16837 (is_trusted_path): ...to here.
c1e9ea35 16838 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16839 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16840 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16841
8a35c912
PP
168422011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16843
16844 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16845 __BEGIN/__END_DECLS.
16846
acd41f47
UD
168472011-05-06 Ulrich Drepper <drepper@gmail.com>
16848
16849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16850 NSS_STATUS_NOTFOUND if no record was found.
16851
597df647
AS
168522011-05-05 Andreas Schwab <schwab@redhat.com>
16853
16854 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16855 (headers-not-in-tirpc): Remove rpc/netdb.h
16856 * resolv/netdb.h: Revert last change.
16857
b9af1301
PP
168582011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16859
16860 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16861 circular dependency between libgcc.a and libc.a.
16862
4e34d5f5
AS
168632011-05-05 Andreas Schwab <schwab@redhat.com>
16864
16865 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16866 * nis/Makefile: Don't install rpcsvc/*.
16867 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16868 instead of <rpc/types.h>.
16869 (MAXHOSTNAMELEN): Define.
16870
00ee369c
AS
168712011-05-03 Andreas Schwab <schwab@redhat.com>
16872
16873 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16874
0b592a30
MB
168752011-04-28 Maciej Babinski <mbabinski@google.com>
16876
16877 [BZ #12714]
16878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16879 gethostbyname4_r when IPv6 results are possible.
16880
6e04cbbe
UD
168812011-05-02 Ulrich Drepper <drepper@gmail.com>
16882
16883 [BZ #12723]
16884 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16885 _PC_PIPE_BUF handling.
16886
e4ecafe0
BH
168872011-04-30 Bruno Haible <bruno@clisp.org>
16888
16889 [BZ #12717]
16890 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16891 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16892 to 'int'.
16893 * inet/getnameinfo.c (getnameinfo): Likewise.
16894
125ee683
UD
168952011-04-29 Ulrich Drepper <drepper@gmail.com>
16896
16897 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16898 to groups setting in database lookup.
16899 * nss/nsswitch.conf: Add initgroups entry.
16900
b722481a
EB
169012011-04-22 Ulrich Drepper <drepper@gmail.com>
16902
16903 [BZ #12685]
16904 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16905 mode string.
16906 Patch by Eric Blake <eblake@redhat.com>.
16907
4df46dbd
L
169082011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16909
16910 * sunrpc/Makefile (need-export-routines): Add svc_run.
16911 (routines): Remove svc_run.
16912 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16913 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16914 * sunrpc/svc_run.c (svc_run): Likewise.
16915 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16916
e84142d2
UD
169172011-04-21 Ulrich Drepper <drepper@gmail.com>
16918
16919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16920 problem in reallocation in last patch.
16921
877175d8
UD
169222011-04-20 Ulrich Drepper <drepper@gmail.com>
16923
16924 * sunrpc/Makefile: Move inclusion of Rules.
16925
ab8eed78
UD
169262011-04-19 Ulrich Drepper <drepper@gmail.com>
16927
16928 * nss/nss_files/files-initgroups.c: New file.
16929 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16930 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16931 _nss_files_initgroups_dyn.
16932
e3d8f584
RS
169332011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16934
16935 * elf/elf.h (R_ARM_IRELATIVE): Define.
16936
af190f45
UD
169372011-04-19 Ulrich Drepper <drepper@gmail.com>
16938
16939 * po/ru.po: Update from translation team.
16940
53cf59ef
UD
169412011-04-17 Ulrich Drepper <drepper@gmail.com>
16942
16943 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16944 dependencies.
16945
4c559bcd
MF
169462011-02-06 Mike Frysinger <vapier@gentoo.org>
16947
16948 [BZ #12653]
16949 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16950 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16951 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16952 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16953 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16954
4420675c
AS
169552011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16956
16957 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16958 differing bytes.
16959 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16960 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16962
75ea32ab
UD
169632011-04-17 Ulrich Drepper <drepper@gmail.com>
16964
16965 [BZ #12420]
16966 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16967 storing it.
16968 * stdlib/bug-getcontext.c: New file.
16969 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16970
27390476
AK
169712011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16972
16973 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16974 instructions into .machine "z9-109".
16975 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16976 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16977
10442705
AK
169782011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16979
16980 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16981 between environment variables and auxiliary vector.
16982
7b57bfe5
UD
169832011-04-16 Ulrich Drepper <drepper@gmail.com>
16984
16985 * Makefile: Add rules to build linkobj/libc.so.
16986 * include/libc-symbols.h: Define libc_hidden_nolink.
16987 * include/rpc/auth.h: Mark functions which are to be hidden.
16988 * include/rpc/auth_des.h: Likewise.
16989 * include/rpc/auth_unix.h: Likewise.
16990 * include/rpc/clnt.h: Likewise.
16991 * include/rpc/des_crypt.h: Likewise.
16992 * include/rpc/key_prot.h: Likewise.
16993 * include/rpc/pmap_clnt.h: Likewise.
16994 * include/rpc/pmap_prot.h: Likewise.
16995 * include/rpc/pmap_rmt.h: Likewise.
16996 * include/rpc/rpc_msg.h: Likewise.
16997 * include/rpc/svc.h: Likewise.
16998 * include/rpc/svc_auth.h: Likewise.
16999 * include/rpc/xdr.h: Likewise.
17000 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17001 * nss/Makefile: Likewise.
17002 * sunrpc/Makefile: Don't install headers. Build library with normal
17003 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17004 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17005 for the compat linking library. Remove use of INTDEF/INTUSE.
17006 * sunrpc/auth_none.c: Likewise.
17007 * sunrpc/auth_unix.c: Likewise.
17008 * sunrpc/authdes_prot.c: Likewise.
17009 * sunrpc/authuxprot.c: Likewise.
17010 * sunrpc/clnt_gen.c: Likewise.
17011 * sunrpc/clnt_perr.c: Likewise.
17012 * sunrpc/clnt_raw.c: Likewise.
17013 * sunrpc/clnt_simp.c: Likewise.
17014 * sunrpc/clnt_tcp.c: Likewise.
17015 * sunrpc/clnt_udp.c: Likewise.
17016 * sunrpc/clnt_unix.c: Likewise.
17017 * sunrpc/des_crypt.c: Likewise.
17018 * sunrpc/des_soft.c: Likewise.
17019 * sunrpc/get_myaddr.c: Likewise.
17020 * sunrpc/key_call.c: Likewise.
17021 * sunrpc/key_prot.c: Likewise.
17022 * sunrpc/netname.c: Likewise.
17023 * sunrpc/pm_getmaps.c: Likewise.
17024 * sunrpc/pm_getport.c: Likewise.
17025 * sunrpc/pmap_clnt.c: Likewise.
17026 * sunrpc/pmap_prot.c: Likewise.
17027 * sunrpc/pmap_prot2.c: Likewise.
17028 * sunrpc/pmap_rmt.c: Likewise.
17029 * sunrpc/publickey.c: Likewise.
17030 * sunrpc/rpc_cmsg.c: Likewise.
17031 * sunrpc/rpc_common.c: Likewise.
17032 * sunrpc/rpc_dtable.c: Likewise.
17033 * sunrpc/rpc_prot.c: Likewise.
17034 * sunrpc/rpc_thread.c: Likewise.
17035 * sunrpc/rtime.c: Likewise.
17036 * sunrpc/svc.c: Likewise.
17037 * sunrpc/svc_auth.c: Likewise.
17038 * sunrpc/svc_authux.c: Likewise.
17039 * sunrpc/svc_raw.c: Likewise.
17040 * sunrpc/svc_run.c: Likewise.
17041 * sunrpc/svc_simple.c: Likewise.
17042 * sunrpc/svc_tcp.c: Likewise.
17043 * sunrpc/svc_udp.c: Likewise.
17044 * sunrpc/svc_unix.c: Likewise.
17045 * sunrpc/svcauth_des.c: Likewise.
17046 * sunrpc/xcrypt.c: Likewise.
17047 * sunrpc/xdr.c: Likewise.
17048 * sunrpc/xdr_array.c: Likewise.
17049 * sunrpc/xdr_float.c: Likewise.
17050 * sunrpc/xdr_intXX_t.c: Likewise.
17051 * sunrpc/xdr_mem.c: Likewise.
17052 * sunrpc/xdr_rec.c: Likewise.
17053 * sunrpc/xdr_ref.c: Likewise.
17054 * sunrpc/xdr_sizeof.c: Likewise.
17055 * sunrpc/xdr_stdio.c: Likewise.
17056
e6c61494
UD
170572011-04-10 Ulrich Drepper <drepper@gmail.com>
17058
17059 [BZ #12650]
17060 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17061 * sysdeps/ia64/dl-tls.h: Likewise.
17062 * sysdeps/powerpc/dl-tls.h: Likewise.
17063 * sysdeps/s390/dl-tls.h: Likewise.
17064 * sysdeps/sh/dl-tls.h: Likewise.
17065 * sysdeps/sparc/dl-tls.h: Likewise.
17066 * sysdeps/x86_64/dl-tls.h: Likewise.
17067 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17068
34fe483e
AS
170692011-03-14 Andreas Schwab <schwab@redhat.com>
17070
17071 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17072 rpath element also skip the following colon.
17073 (expand_dynamic_string_token): Add is_path parameter and pass
17074 down to DL_DST_REQUIRED and _dl_dst_substitute.
17075 (decompose_rpath): Call expand_dynamic_string_token with
17076 non-zero is_path. Ignore empty rpaths.
17077 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17078 with zero is_path.
17079
f12a32e6
AS
170802011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17081
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17083 Make cancelable.
17084
38a7d692
UD
170852011-04-09 Ulrich Drepper <drepper@gmail.com>
17086
17087 [BZ #12655]
17088 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17089 Patch by Filipe David Manana <fdmanana@apache.org>.
17090
e451d22b
AS
170912011-04-07 Andreas Schwab <schwab@redhat.com>
17092
17093 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17094 Maintain aligned stack.
17095 (CHECK_RSP): Remove unused macro.
17096
dedc7c7b
UD
170972011-04-03 Ulrich Drepper <drepper@gmail.com>
17098
17099 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17100 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17101
94521213
UD
171022011-04-02 Ulrich Drepper <drepper@gmail.com>
17103
17104 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17105
8cb700c0 17106 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17107
0354e355
L
171082011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17109
17110 [BZ #12518]
17111 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17112 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17113 * sysdeps/x86_64/memmove.c: New file.
17114 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17115 (memcpy): Renamed to ...
17116 (__new_memcpy): This.
17117 (memcpy): Provide GLIBC_2_14 memcpy.
17118 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17119 (memcpy): Provide GLIBC_2_2_5 memcpy.
17120
8593482f
UD
171212011-04-01 Ulrich Drepper <drepper@gmail.com>
17122
17123 [BZ #12631]
17124 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17125
81a5726b
AS
171262011-03-30 Andreas Schwab <schwab@redhat.com>
17127
17128 * misc/syncfs.c: New file.
17129 * misc/Makefile (routines): Add syncfs.
17130 * posix/unistd.h: Declare syncfs.
17131 * sysdeps/unix/syscalls.list: Add syncfs.
17132
00e5419f
AS
171332011-04-01 Andreas Schwab <schwab@redhat.com>
17134
17135 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17136 open_by_handle_at.
17137 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17138 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17142 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17144
748876bf
UD
171452011-04-01 Ulrich Drepper <drepper@gmail.com>
17146
658e451d
UD
17147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17149 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17154
748876bf
UD
17155 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17156 sync_file_range.c with -fexceptions.
17157 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17158 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17159 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17160 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17161 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17162 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17164 sync_file_range as cancellation point
17165 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17166 now a wrapper around __call_sync_file_range with cancellation handling.
17167 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17168 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17169 function name to __call_sync_file_range.
17170 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17171 Add call_sync_file_range.
748876bf 17172
6e63d5e1
AS
171732011-04-01 Andreas Schwab <schwab@redhat.com>
17174
17175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17176 bits/timex.h.
6e63d5e1 17177
46998f74
UD
171782011-04-01 Ulrich Drepper <drepper@gmail.com>
17179
4c1423ed
UD
17180 * iconv/iconv.h: Fix typo in comment.
17181 * io/fcntl.h: Likewise.
17182 * libio/stdio.h: Likewise.
17183 * posix/spawn.h: Likewise.
17184 * posix/unistd.h: Likewise.
17185 * stdlib/stdlib.h: Likewise.
17186 * time/time.h: Likewise.
17187 * wcsmbs/wchar.h: Likewise.
17188
158648c0
UD
17189 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17190 open_by_handle): Add.
17191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17192 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17193 Augment a few comments.
17194 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17199 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17200 open_by_handle.
17201
46998f74
UD
17202 * io/fcntl.h (AT_EMPTY_PATH): Define.
17203
83fe108b
UD
172042011-03-30 Ulrich Drepper <drepper@gmail.com>
17205
17206 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17207 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17208 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17209 to...
17210 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17211 * Versions.def: Add GLIBC_2.14.
17212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17213 Export.
83fe108b 17214
bb242059
UD
172152011-03-22 Ulrich Drepper <drepper@gmail.com>
17216
17217 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17218 round counter.
17219 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17220
c97a1282
L
172212011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17222
17223 [BZ #12597]
17224 * string/test-strncmp.c (do_page_test): New function.
17225 (check2): Likewise.
17226 (test_main): Call check2.
17227 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17228
2a115601
UD
172292011-03-20 Ulrich Drepper <drepper@gmail.com>
17230
17231 [BZ #12587]
17232 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17233 Handle cache information in CPU leaf 4.
17234 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17235
8126d904
UD
172362011-03-18 Ulrich Drepper <drepper@gmail.com>
17237
042c49c6 17238 [BZ #12583]
8126d904
UD
17239 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17240 character representation.
17241 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17242
ccfe366e
RA
172432011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17244
17245 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17246 END(__isnan) to END(__isnanf) to match function entry point/label
17247 EALIGN(__isnanf,...).
17248
c6e13027
JJ
172492011-03-10 Jakub Jelinek <jakub@redhat.com>
17250
17251 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17252
33f85a3f
UD
172532011-03-10 Ulrich Drepper <drepper@gmail.com>
17254
028478fa
UD
17255 [BZ #12510]
17256 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17257 copy from the symbol referenced in the relocation to initialize the
17258 used variable.
17259 Patch by Piotr Bury <pbury@goahead.com>.
17260 * elf/Makefile: Add rules to build and tst-unique3.
17261 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17262 * elf/tst-unique3.cc: New file.
17263 * elf/tst-unique3.h: New file.
17264 * elf/tst-unique3lib.cc: New file.
17265 * elf/tst-unique3lib2.cc: New file.
17266
33f85a3f
UD
17267 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17268
03592fc7
MF
172692011-03-10 Mike Frysinger <vapier@gentoo.org>
17270
17271 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17272 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17273 to _start.
03592fc7 17274
6a5ee102
UD
172752011-03-06 Ulrich Drepper <drepper@gmail.com>
17276
17277 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17278 to-be-loaded object along a path to loader is ld.so.
17279
7e4ba49c
HJ
172802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17281 Ulrich Drepper <drepper@gmail.com>
17282
17283 * sysdeps/x86_64/memset.S: After aligning destination, code
17284 branches to different locations depending on the value of
17285 misalignment, when multiarch is enabled. Fix this.
17286
172872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17288
17289 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17290 Set _x86_64_preferred_memory_instruction for AMD processsors.
17291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17292 Set bit_Prefer_SSE_for_memop for AMD processors.
17293
13a804de
UD
172942011-03-04 Ulrich Drepper <drepper@gmail.com>
17295
17296 * libio/fmemopen.c (fmemopen): Optimize a bit.
17297
9d25c392
AS
172982011-03-03 Andreas Schwab <schwab@redhat.com>
17299
17300 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17301
a5543c6a
RM
173022011-03-03 Roland McGrath <roland@redhat.com>
17303
17304 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17305
012d35f7
DM
173062011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17307
7e4ba49c 17308 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17309 __bzero_ultra1 instead of __memset_ultra1.
17310
4bff6e01
AS
173112011-02-23 Andreas Schwab <schwab@redhat.com>
17312 Ulrich Drepper <drepper@gmail.com>
17313
17314 [BZ #12509]
17315 * include/link.h (struct link_map): Add l_orig_initfini.
17316 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17317 returning unsuccessfully.
17318 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17319 close of a file loaded at startup, restore the original l_initfini
17320 list.
17321 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17322 list, store the pointer.
17323 * elf/Makefile ($(objpfx)noload-mem): New rule.
17324 (noload-ENV): Define.
17325 (tests): Add $(objpfx)noload-mem.
17326 * elf/noload.c: Include <memcheck.h>.
17327 (main): Call mtrace. Close all opened handles.
17328
f2092faf
AS
173292011-02-17 Andreas Schwab <schwab@redhat.com>
17330
17331 [BZ #12454]
17332 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17333 dependencies are missing.
17334
6c8a2e88
ST
173352011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17336
f2092faf 17337 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17338 Hurd needs munmap.
17339 * sysdeps/mach/hurd/ifreq.h: New file.
17340
84a42118
PB
173412011-01-27 Petr Baudis <pasky@suse.cz>
17342 Ulrich Drepper <drepper@gmail.com>
17343
071f805e 17344 [BZ 12445]#
84a42118
PB
17345 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17346 to extend_alloca().
17347 * stdio-common/bug23.c: New file.
17348 * stdio-common/Makefile (tests): Add bug23.
17349
e23fe25b
AS
173502010-09-28 Andreas Schwab <schwab@redhat.com>
17351 Ulrich Drepper <drepper@gmail.com>
17352
17353 [BZ #12489]
17354 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17355 before performing relro protection. At old place add assertion
17356 to make sure nothing changed.
17357
d3f02e10
NS
173582011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17359 Glauber de Oliveira Costa <glommer@gmail.com>
17360
17361 * elf/elf.h: Add new ARM TLS relocs.
17362
d55fd7a5
RA
173632011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17364
17365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17366 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17367 cast from r3.
17368 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17369 'tests' variable.
17370 * sysdeps/wordsize-64/tst-writev.c: New file.
17371
2206397e
RA
173722011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17373
17374 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17375 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17376 insns in _dl_start to prevent a TOC reference before relocs are
17377 resolved.
17378
e9433893
UD
173792011-02-15 Ulrich Drepper <drepper@gmail.com>
17380
17381 [BZ #12469]
17382 * Makeconfig: Remove RANLIB definition.
17383 * Makerules: Don't use RANLIB.
17384 * aclocal.m4: Remove ranlib test.
17385 * configure.in: No need to check for ranlib.
17386 * elf/rtld-Rules: Don't use RANLIB.
17387
f75286c6
ST
173882011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17389
8e31c82d
ST
17390 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17391 protection macro.
17392 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17393 inclusion protection macro.
17394
f75286c6
ST
17395 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17396 SIGRTMIN and SIGRTMAX and print information in that case only when
17397 SIGRTMIN is defined.
17398
c1d0e639
JJ
173992011-02-11 Jakub Jelinek <jakub@redhat.com>
17400
17401 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17402 arginfo fn returning -1.
17403
17404 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17405 and thousands string is zero terminated.
17406
edf9294e
AS
174072011-02-03 Andreas Schwab <schwab@redhat.com>
17408
17409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17410 sysdeps/unix/sysv/linux/bits/socket.h.
17411
2b7e92df
ST
174122011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17413
edf9294e
AS
17414 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17415 (__CPU_COUNT): Remove old macros.
17416 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17417 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17418 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17419 (__sched_cpualloc, __sched_cpufree): Add declarations.
17420
a4c7ea7b
UD
174212011-02-05 Ulrich Drepper <drepper@gmail.com>
17422
17423 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17424 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17425 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17426 (readdhstai): Return value of addhstaiX call.
17427 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17428 (addgrbyX): Return value returned by cache_addgr.
17429 (readdgrbyname): Return value returned by addgrbyX.
17430 (readdgrbygid): Likewise.
17431 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17432 (addpwbyX): Return value returned by cache_addpw.
17433 (readdpwbyname): Return value returned by addhstbyX.
17434 (readdpwbyuid): Likewise.
17435 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17436 (addservbyX): Return value returned by cache_addserv.
17437 (readdservbyname): Return value returned by addservbyX:
17438 (readdservbyport): Likewise.
17439 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17440 (addhstbyX): Return value returned by cache_addhst.
17441 (readdhstbyname): Return value returned by addhstbyX.
17442 (readdhstbyaddr): Likewise.
17443 (readdhstbynamev6): Likewise.
17444 (readdhstbyaddrv6): Likewise.
17445 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17446 (readdinitgroups): Return value returned by addinitgroupsX.
17447 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17448 (prune_cache): Keep track of timeout value of re-added entries.
17449 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17450 * nscd/nscd.h: Adjust prototypes of readd* functions.
17451
a0bf67cc
RM
174522011-02-04 Roland McGrath <roland@redhat.com>
17453
17454 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17455 (nis_stats): Likewise.
17456 * nis/nis_modify.c (nis_modify): Likewise.
17457 * nis/nis_remove.c (nis_remove): Likewise.
17458 * nis/nis_add.c (nis_add): Likewise.
17459
17460 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17461
17462 * posix/fnmatch_loop.c: Add some consts.
17463
17464 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17465
435b95eb
L
174662011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17467
17468 [BZ #12460]
17469 * config.make.in (config-cflags-novzeroupper): Define.
17470 * configure.in: Substitute libc_cv_cc_novzeroupper.
17471 * elf/Makefile (AVX-CFLAGS): Define.
17472 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17473 (CFLAGS-tst-auditmod4a.c): Likewise.
17474 (CFLAGS-tst-auditmod4b.c): Likewise.
17475 (CFLAGS-tst-auditmod6b.c): Likewise.
17476 (CFLAGS-tst-auditmod6c.c): Likewise.
17477 (CFLAGS-tst-auditmod7b.c): Likewise.
17478 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17479
8517b15e
UD
174802011-02-02 Ulrich Drepper <drepper@gmail.com>
17481
17482 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17483 function to the callback.
17484 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17485
10a656fe
AS
174862011-02-02 Andreas Schwab <schwab@redhat.com>
17487
17488 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17489 of errno.
17490
968dad0a
UD
174912011-01-19 Ulrich Drepper <drepper@gmail.com>
17492
9f94d2ea 17493 [BZ #11724]
968dad0a
UD
17494 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17495 of constructors.
17496 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17497 of destructors.
17498 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17499
17500 [BZ #11724]
17501 * elf/Makefile: Add rules to build and run new test.
17502 * elf/tst-initorder.c: New file.
17503 * elf/tst-initorder.exp: New file.
17504 * elf/tst-initordera1.c: New file.
17505 * elf/tst-initordera2.c: New file.
17506 * elf/tst-initordera3.c: New file.
17507 * elf/tst-initordera4.c: New file.
17508 * elf/tst-initorderb1.c: New file.
17509 * elf/tst-initorderb2.c: New file.
17510 * elf/tst-order-a1.c: New file.
17511 * elf/tst-order-a2.c: New file.
17512 * elf/tst-order-a3.c: New file.
17513 * elf/tst-order-a4.c: New file.
17514 * elf/tst-order-b1.c: New file.
17515 * elf/tst-order-b2.c: New file.
17516 * elf/tst-order-main.c: New file.
17517 New test case by George Gensure <werkt0@gmail.com>.
17518
86e92359
UD
175192010-10-01 Andreas Schwab <schwab@redhat.com>
17520
17521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17522 decoding ACE if AI_CANONIDN.
17523
5d5732b0
UD
175242011-01-18 Ulrich Drepper <drepper@gmail.com>
17525
17526 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17527
a77e8cbc
UD
175282011-01-17 Ulrich Drepper <drepper@gmail.com>
17529
6392473f
UD
17530 * version.h (RELEASE): Bump for 2.13 release.
17531 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17532
620a0529
UD
17533 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17534
18ba70a5
UD
17535 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17536 MADV_NOHUGEPAGE.
32465c3e
UD
17537 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17538 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17539 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17542 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17543
c0dafcf1
UD
17544 * posix/getconf.c: Update copyright year.
17545 * catgets/gencat.c: Likewise.
17546 * csu/version.c: Likewise.
17547 * debug/catchsegv.sh: Likewise.
17548 * debug/xtrace.sh: Likewise.
17549 * elf/ldconfig.c: Likewise.
17550 * elf/ldd.bash.in: Likewise.
17551 * elf/sprof.c (print_version): Likewise.
17552 * iconv/iconv_prog.c: Likewise.
17553 * iconv/iconvconfig.c: Likewise.
17554 * locale/programs/locale.c: Likewise.
17555 * locale/programs/localedef.c: Likewise.
17556 * malloc/memusage.sh: Likewise.
17557 * malloc/mtrace.pl: Likewise.
17558 * nscd/nscd.c (print_version): Likewise.
17559 * nss/getent.c: Likewise.
17560
a77e8cbc
UD
17561 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17562 PF_CAIF, and PF_ALG.
17563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17564
77e8bddf
AS
175652011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17566
1f20b93a
AS
17567 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17568 (modules-names): Use them.
17569 (ifunc-test-modules, ifunc-pie-tests): Define.
17570 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17571 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17572 (test-extras): Likewise.
17573 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17574 $(compile-command.c).
17575 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17576 (all-built-dso): Define.
17577 (check-textrel.out, check-execstack.out): Depend on it.
17578
77e8bddf
AS
17579 * configure.in: Don't override --enable-multi-arch.
17580
bc425b33
UD
175812011-01-15 Ulrich Drepper <drepper@gmail.com>
17582
17583 [BZ #6812]
17584 * nscd/hstcache.c (tryagain): Define.
17585 (cache_addhst): Return tryagain not notfound for temporary errors.
17586 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17587 failed.
17588
794c3ad3
UD
175892011-01-14 Ulrich Drepper <drepper@gmail.com>
17590
70181fdd
UD
17591 [BZ #10563]
17592 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17593 to make the syscall.
17594 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17595
794c3ad3
UD
17596 [BZ #12378]
17597 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17598 and fall back to matching as normal character if the string ends before
17599 the matching ']' is found. This is what POSIX requires.
17600 * posix/testfnm.c: Adjust test result.
17601 * posix/globtest.sh: Adjust test result. Add new test.
17602 * posix/tst-fnmatch.input: Likewise.
17603 * posix/tst-fnmatch2.c: Add new test.
17604
68dc9497
AS
176052010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17606
17607 * elf/Makefile (check-execstack): Revert last change. Depend on
17608 check-execstack.h.
17609 (check-execstack.h): New target.
17610 (generated): Add check-execstack.h.
17611 * elf/check-execstack.c: Include "check-execstack.h".
17612 (main): Revert last change.
17613 (handle_file): Return zero if GNU_STACK is absent and
17614 DEFAULT_STACK_PERMS doesn't include PF_X.
17615
451f001b
UD
176162011-01-13 Ulrich Drepper <drepper@gmail.com>
17617
cfa28e56
UD
17618 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17619 in child fails because the descriptor is already closed.
8cf8ce17
UD
17620 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17621 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17622 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17623
1086d70d
UD
17624 [BZ #12397]
17625 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17626 syscall.
17627
451f001b
UD
17628 [BZ #10484]
17629 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17630 temporary buffer used to handle multi lookups locally.
a85b5cb4 17631 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17632
08769175
UD
176332011-01-12 Ulrich Drepper <drepper@gmail.com>
17634
17635 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17636 loader is ld.so.
17637
5e49c52e
UD
176382011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17639
17640 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17641 alignment for SSE2.
17642
60522a5f
UD
176432011-01-12 Ulrich Drepper <drepper@gmail.com>
17644
17645 [BZ #12394]
17646 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17647 characters. When rounding increased number of integer digits recompute
17648 number of groups.
17649 * stdio-common/tst-grouping.c: New file.
17650 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17651
f257bbd7
UD
176522011-01-09 Ulrich Drepper <drepper@gmail.com>
17653
17654 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17655 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17656
17657 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17658 void.
17659 * bits/select.h: Likewise.
17660
fa9c15cb
UD
176612011-01-08 Ulrich Drepper <drepper@gmail.com>
17662
17663 * po/ja.po: Update from translation team.
17664
16c2895f
DM
176652011-01-04 David S. Miller <davem@sunset.davemloft.net>
17666
17667 [BZ #11155]
17668 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17669 implementation just like for lxstat, fxstatat, et al.
17670
2543fef2
JM
176712010-12-27 Jim Meyering <meyering@redhat.com>
17672
17673 [BZ #12348]
17674 * posix/regexec.c (build_trtable): Return failure indication upon
17675 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17676
98727dbe
UD
176772010-12-25 Ulrich Drepper <drepper@gmail.com>
17678
5bd6dc5c
UD
17679 [BZ #12201]
17680 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17681 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17682 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17684
97983464
UD
17685 [BZ #12207]
17686 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17687
98727dbe
UD
17688 [BZ #12204]
17689 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17690 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17691
4a531bb0
L
176922010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17693
17694 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17695 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17696 script has SORT_BY_INIT_PRIORITY.
17697 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17698 NO_CTORS_DTORS_SECTIONS is defined.
17699 * elf/soinit.c: Likewise.
17700 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17701 NO_CTORS_DTORS_SECTIONS is defined.
17702 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17703 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17704 * sysdeps/sh/init-first.c: Likewise.
17705 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17706
07eb4b71
UD
177072010-12-24 Ulrich Drepper <drepper@gmail.com>
17708
17709 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17710 always use the slow path.
17711
30950a5f
RA
177122010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17713
17714 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17715 similar rule which adds the sysdep directories to the header search in
17716 order to pick up the correct platform stackinfo.h.
17717 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17718 perform test if it is, otherwise return successfully without testing.
17719 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17720 DEFAULT_STACK_PERMS define in stackinfo.h.
17721 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17722 defined in stackinfo.h.
17723 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17724 DEFAULT_STACK_PERMS defined in stackinfo.h.
17725 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17726 * sysdeps/ia64/stackinfo.h: Likewise.
17727 * sysdeps/s390/stackinfo.h: Likewise.
17728 * sysdeps/sh/stackinfo.h: Likewise.
17729 * sysdeps/sparc/stackinfo.h: Likewise.
17730 * sysdeps/x86_64/stackinfo.h: Likewise.
17731 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17732 PF_X for powerpc64. Retain PF_X for powerpc32.
17733
db753e2c
UD
177342010-12-19 Ulrich Drepper <drepper@gmail.com>
17735
14b697f7
UD
17736 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17737 accurately.
db753e2c
UD
17738 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17739 GETDENTS_64BIT_ALIGNED.
17740
28300719
UD
177412010-12-14 Ulrich Drepper <dreper@gmail.com>
17742
14b697f7 17743 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17744
4f197237
AS
177452010-12-10 Andreas Schwab <schwab@redhat.com>
17746
dbb0472f
AS
17747 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17748 _GNU_SOURCE.
17749
4f197237
AS
17750 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17751 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17752 Remove __restrict.
17753 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17754 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17755
fb88ac72
UD
177562010-12-09 Ulrich Drepper <drepper@gmail.com>
17757
17758 [BZ #11655]
17759 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17760 are initialized.
17761
42acbb92
JJ
177622010-12-09 Jakub Jelinek <jakub@redhat.com>
17763
17764 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17765
c038d98d
UD
177662010-12-03 Ulrich Drepper <drepper@gmail.com>
17767
17768 * po/it.po: Update from translation team.
17769
3a4a2499
L
177702010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17771
17772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17773 unused codes.
17774
1e24cf6e
UD
177752010-11-30 Ulrich Drepper <drepper@gmail.com>
17776
17777 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17778
a7690819
AS
177792010-11-24 Andreas Schwab <schwab@redhat.com>
17780
17781 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17782 specially.
17783 (gaih_getanswer_slice): Likewise.
17784
3bf8d1b1
JJ
177852010-10-20 Jakub Jelinek <jakub@redhat.com>
17786
17787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17788
6db52fbb
PB
177892010-05-31 Petr Baudis <pasky@suse.cz>
17790
17791 [BZ #11149]
17792 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17793 silently even in the chroot mode.
17794
eaca7569
UD
177952010-11-22 Ulrich Drepper <drepper@gmail.com>
17796
17797 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17798 last patch a bit. Pretty printing
17799
3056dcdb
UD
178002010-05-31 Petr Baudis <pasky@suse.cz>
17801
17802 [BZ #10085]
17803 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17804 initialization of skip_initgroups_dyn.
17805
cf7c9078
UD
178062010-11-19 Ulrich Drepper <drepper@gmail.com>
17807
17808 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17809 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17810
a1fb5e3e
UD
178112010-11-16 Ulrich Drepper <drepper@gmail.com>
17812
17813 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17814
3540d66b
AS
178152010-11-11 Andreas Schwab <schwab@redhat.com>
17816
17817 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17818 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17819 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17820 ($(objpfx)tst-fnmatch-mem): New rule.
17821 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17822 * posix/tst-fnmatch.c (main): Call mtrace.
17823
13b69574
L
178242010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17825
17826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17827 Support Intel processor model 6 and model 0x2c.
17828
da93d214
LM
178292010-11-10 Luis Machado <luisgpm@br.ibm.com>
17830
17831 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17832 signed comparison.
17833
8ca52c6e
L
178342010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17835
17836 [BZ #12205]
17837 * string/test-strncasecmp.c (check_result): New function.
17838 (do_one_test): Use it.
17839 (check1): New function.
17840 (test_main): Use it.
17841 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17842 Support strcasecmp and strncasecmp.
17843
69da074d
UD
178442010-11-08 Ulrich Drepper <drepper@gmail.com>
17845
17846 [BZ #12194]
17847 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17849
ff02d528
L
178502010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17851
17852 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17853 IFUNC support.
17854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17855 memset-x86-64.
17856 * sysdeps/x86_64/multiarch/bzero.S: New file.
17857 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17858 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17859 * sysdeps/x86_64/multiarch/memset.S: New file.
17860 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17862 Set bit_Prefer_SSE_for_memop for Intel processors.
17863 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17864 Define.
17865 (index_Prefer_SSE_for_memop): Define.
17866 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17867
344d0b54
LM
178682010-11-04 Luis Machado <luisgpm@br.ibm.com>
17869
17870 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17871 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17872
c0dde15b
UD
178732010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17874
17875 [BZ #12191]
17876 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17877 (__x86_64_raw_data_cache_size_half): Likewise.
17878 (__x86_64_raw_shared_cache_size): Likewise.
17879 (__x86_64_raw_shared_cache_size_half): Likewise.
17880
17881 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17882 (__x86_64_raw_data_cache_size_half): Likewise.
17883 (__x86_64_raw_shared_cache_size): Likewise.
17884 (__x86_64_raw_shared_cache_size_half): Likewise.
17885 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17886 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17887 and __x86_64_raw_shared_cache_size_half. Round
17888 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17889 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17890 to multiple of 256 bytes.
17891
0e516e0e
MS
178922010-11-03 Ulrich Drepper <drepper@gmail.com>
17893
17894 [BZ #12167]
17895 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17896 of inacessible symlinks. Verify result of symlink before returning it.
17897 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17898 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17899
0e012e87
ER
179002010-10-28 Erich Ritz <erichritz@gmail.com>
17901
17902 * math/math.h (isinf): Fix typo in comment.
17903
de0ff7bc
UD
179042010-11-01 Ulrich Drepper <drepper@gmail.com>
17905
17906 * po/da.po: Update from translation team.
17907
fa41c84d
UD
179082010-10-26 Ulrich Drepper <drepper@gmail.com>
17909
17910 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17911 is added to the list.
17912
f0967738
AK
179132010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17914 Ulrich Drepper <drepper@gmail.com>
17915
17916 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17917 the global list here. Move code to...
17918 (_dl_add_to_namespace_list): ...here. New function.
17919 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17920 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17921 * elf/dl-load.c (lose): Don't remove the element from the list.
17922 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17923 (_dl_map_object): Likewise.
17924
179252010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17926
17927 [BZ #12159]
17928 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17929 into all bytes of SSE register.
17930 Patch by Richard Li <richardpku@gmail.com>.
17931
f0967738 179322010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17933
17934 [BZ #12140]
17935 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17936 perturbing.
17937
d0b9e94f
MB
179382010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17939
17940 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17941 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17942 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17943 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17945 submachine.
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17947
8e9f92e9
AS
179482010-10-22 Andreas Schwab <schwab@redhat.com>
17949
17950 * include/dlfcn.h (__RTLD_SECURE): Define.
17951 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17952 mode & __RTLD_SECURE instead.
17953 (open_path): Rename preloaded parameter to secure.
17954 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17955 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17956 * elf/dl-deps.c (openaux): Likewise.
17957 * elf/rtld.c (struct map_args): Remove is_preloaded.
17958 (map_doit): Don't use it.
17959 (dl_main): Likewise.
17960 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17961 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17962
bc96fbda
AS
179632010-09-09 Andreas Schwab <schwab@redhat.com>
17964
17965 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17966 (sysd-rules-targets): Remove duplicates.
17967 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17968 rtld-%.$o dependency.
17969
22cd1c9b
AS
179702010-10-18 Andreas Schwab <schwab@redhat.com>
17971
17972 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17973 _dl_map_object do it.
17974
18edac48
UD
179752010-10-19 Ulrich Drepper <drepper@gmail.com>
17976
17977 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17978 fast fma builtins, define the macros in the C99 standard.
17979 (FP_FAST_FMAF): Likewise.
17980 (FP_FAST_FMAL): Likewise.
17981 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17982
17983 * bits/mathdef.h: Update copyright year.
17984 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17985
d2050124
MM
179862010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17987
17988 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17989 builtins, define the macros in the C99 standard.
17990 (FP_FAST_FMAF): Likewise.
17991 (FP_FAST_FMAL): Likewise.
17992 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17993 multiply/add.
17994 (FP_FAST_FMAF): Likewise.
17995
475facd1
JJ
179962010-10-15 Jakub Jelinek <jakub@redhat.com>
17997
17998 [BZ #3268]
17999 * math/libm-test.inc (fma_test): Some new testcases.
18000 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18001 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18002 y and infinite z. Do multiplication by C already in long double.
18003 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18005 y and infinite z. Do bitwise or of inexact bit into u.d.
18006 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18007 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18008 * sysdeps/i386/fpu/s_fma.S: Removed.
18009 * sysdeps/i386/fpu/s_fmal.S: Removed.
18010
7c08a05c
JJ
180112010-10-16 Jakub Jelinek <jakub@redhat.com>
18012
18013 [BZ #3268]
18014 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18016 computation is not scheduled after fetestexcept. Fix value
18017 of minimum denormal long double.
18018
f3f7372d
JJ
180192010-10-14 Jakub Jelinek <jakub@redhat.com>
18020
18021 [BZ #3268]
18022 * math/libm-test.inc (fma_test): Add some more tests.
18023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18024 correctly.
18025
14d43591
AS
180262010-10-15 Andreas Schwab <schwab@redhat.com>
18027
18028 * scripts/data/localplt-s390-linux-gnu.data: New file.
18029 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18030
5e908464
JJ
180312010-10-13 Jakub Jelinek <jakub@redhat.com>
18032
18033 [BZ #3268]
18034 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18035 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18036 instead of dbl-64.
18037 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18038 inlines.
18039 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18041 if one of x and y is very large and the other is subnormal.
18042 * sysdeps/s390/fpu/s_fmaf.c: New file.
18043 * sysdeps/s390/fpu/s_fma.c: New file.
18044 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18045 * sysdeps/powerpc/fpu/s_fma.S: New file.
18046 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18047 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18048 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18049
180502010-10-12 Jakub Jelinek <jakub@redhat.com>
18051
18052 [BZ #3268]
18053 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18054 fma tests.
18055 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18056 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18057 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18058 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18059 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18060 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18061 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18062
b833d51f
UD
180632010-10-12 Ulrich Drepper <drepper@redhat.com>
18064
18065 [BZ #12078]
18066 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18067 * posix/bug-regex31.input: Add test case.
18068
1751705d
UD
180692010-10-11 Ulrich Drepper <drepper@gmail.com>
18070
e9b9cbf5
UD
18071 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18072 * posix/bug-regex31.input: New file.
18073
18074 [BZ #12078]
18075 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18076 (parse_sub_exp): Fix last change, use postorder.
18077
ef06edbe
UD
18078 * posix/bug-regex31.c: New file.
18079 * posix/Makefile: Add rules to build and run bug-regex31.
18080
a129c80d
UD
18081 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18082
18083 [BZ #12078]
18084 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18085
b76b818e
UD
18086 [BZ #12108]
18087 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18088 to have entries in sys_siglist.
18089
1751705d
UD
18090 [BZ #12093]
18091 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18092 be NULL.
18093
9ff8d36f
JJ
180942010-10-07 Jakub Jelinek <jakub@redhat.com>
18095
18096 [BZ #3268]
18097 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18098 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18099 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18100 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18101 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18102 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18103 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18104 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18105 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18106 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18107 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18108 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18109 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18110 * math/ftestexcept.c (fetestexcept): Likewise.
18111 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18112 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18113 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18114 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18115 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18116 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18117 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18118
af325969
UD
181192010-10-11 Ulrich Drepper <drepper@gmail.com>
18120
c579b202 18121 [BZ #12107]
af325969
UD
18122 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18123 newline.
18124
67a67b95
UD
181252010-10-06 Ulrich Drepper <drepper@gmail.com>
18126
18127 * string/bug-strstr1.c: New file.
18128 * string/Makefile: Add rules to build and run bug-strstr1.
18129
5fb308bc
EB
181302010-10-05 Eric Blake <eblake@redhat.com>
18131
18132 [BZ #12092]
18133 * string/str-two-way.h (two_way_long_needle): Always clear memory
18134 when skipping input due to the shift table.
18135
45db99c7
UD
181362010-10-03 Ulrich Drepper <drepper@gmail.com>
18137
3b111893
UD
18138 [BZ #12005]
18139 * malloc/mcheck.c: Handle large requests.
18140
45db99c7
UD
18141 [BZ #12077]
18142 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18143 for strncmp and strncasecmp.
18144 * string/stratcliff.c: Add tests for strcmp and strncmp.
18145 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18146
cf7a1eb8
NI
181472010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18148
18149 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18150 __set_fpscr.
18151
6484ba5e
AJ
181522010-09-30 Andreas Jaeger <aj@suse.de>
18153
18154 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18155 (CGROUP_SUPER_MAGIC): Define.
18156 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18157 Handle btrfs and cgroup file systems.
18158 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18159 Likewise.
18160
91c42559
LM
181612010-09-27 Luis Machado <luisgpm@br.ibm.com>
18162
18163 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18164 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18165
87a97932
AK
181662010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18167
18168 [BZ #12067]
18169 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18170 trying to locate the ELF header.
18171
c21cc9bc
AS
181722010-09-27 Andreas Schwab <schwab@redhat.com>
18173
18174 [BZ #11611]
18175 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18176 Mask out sign-bit copies when constructing f_fsid.
18177
315970f6
PB
181782010-09-24 Petr Baudis <pasky@suse.cz>
18179
18180 * debug/stack_chk_fail_local.c: Add missing licence exception.
18181 * debug/warning-nop.c: Likewise.
18182
1ac7a2c7
JM
181832010-09-15 Joseph Myers <joseph@codesourcery.com>
18184
18185 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18186 implementing getdents64 using getdents syscall, set d_type if
18187 __ASSUME_GETDENTS32_D_TYPE.
18188
56801c50
AS
181892010-09-16 Andreas Schwab <schwab@redhat.com>
18190
18191 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18192 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18193
dda51327
UD
181942010-09-21 Ulrich Drepper <drepper@redhat.com>
18195
18196 [BZ #12037]
18197 * posix/unistd.h: Undo change of feature selection for ftruncate from
18198 2010-01-11.
18199
8ffcee4a
UD
182002010-09-20 Ulrich Drepper <drepper@redhat.com>
18201
a545ecd9 18202 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18203 detection.
18204
e24f0a8b
AS
182052010-09-20 Andreas Schwab <schwab@redhat.com>
18206
18207 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18208 fanotify_mark.
18209 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18210
7291c56f
AS
182112010-09-14 Andreas Schwab <schwab@redhat.com>
18212
18213 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18214 variables after CHECK_SP call.
18215 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18216
bc5fb037
AS
182172010-09-13 Andreas Schwab <schwab@redhat.com>
18218 Ulrich Drepper <drepper@redhat.com>
18219
18220 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18221 re-relocationg ld.so.
18222 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18223 _dl_init_paths call.
18224 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18225 here anymore.
18226
e66e7419
UD
182272010-09-14 Ulrich Drepper <drepper@redhat.com>
18228
18229 * resolv/res_init.c (__res_vinit): Count the default server we added.
18230
c044aa75
CLT
182312010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18232 Ulrich Drepper <drepper@redhat.com>
18233
18234 [BZ #11968]
18235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18236 (____longjmp_chk): Use %ebx for saving value across system call.
18237 Add unwind info.
18238
32cf4069
AS
182392010-09-06 Andreas Schwab <schwab@redhat.com>
18240
18241 * manual/Makefile: Don't mix pattern rules with normal rules.
18242
817328ee
AS
182432010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18244
18245 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18246 operation.
18247 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18248 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18249 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18250 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18252 Likewise.
18253
29fddf61
UD
182542010-09-04 Ulrich Drepper <drepper@redhat.com>
18255
18256 [BZ #11979]
18257 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18258 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18259
0959ffc9
UD
182602010-09-02 Ulrich Drepper <drepper@redhat.com>
18261
18262 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18263 * sysdeps/x86_64/addmul_1.S: Likewise.
18264 * sysdeps/x86_64/lshift.S: Likewise.
18265 * sysdeps/x86_64/mul_1.S: Likewise.
18266 * sysdeps/x86_64/rshift.S: Likewise.
18267 * sysdeps/x86_64/sub_n.S: Likewise.
18268 * sysdeps/x86_64/submul_1.S: Likewise.
18269
ece29840
ST
182702010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18271
0959ffc9
UD
18272 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18273 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18274 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18275 * bits/sched.h [__need_schedparam]
ece29840 18276 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18277 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18278 (__defined_schedparam): Define to 1.
ece29840
ST
18279 (__sched_param): New structure, identical to sched_param.
18280 (__need_schedparam): Undefine.
18281
e53a31fe
MF
182822010-08-31 Mike Frysinger <vapier@gentoo.org>
18283
fdc0c10d
MF
18284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18285 (epoll_create1): Declare.
18286
e53a31fe
MF
18287 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18288
a726d796
AS
182892010-08-31 Andreas Schwab <schwab@redhat.com>
18290
18291 [BZ #7066]
18292 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18293 shifting retval into place.
18294
2f3e3dc7
UD
182952010-09-01 Ulrich Drepper <drepper@redhat.com>
18296
f2933da9
UD
18297 * nis/rpcsvc/nis.h: Update copyright notice.
18298 * nis/rpcsvc/nis.x: Likewise.
18299 * nis/rpcsvc/nis_callback.h: Likewise.
18300 * nis/rpcsvc/nis_callback.x: Likewise.
18301 * nis/rpcsvc/nis_object.x: Likewise.
18302 * nis/rpcsvc/nis_tags.h: Likewise.
18303 * nis/rpcsvc/yp.h: Likewise.
18304 * nis/rpcsvc/yp.x: Likewise.
18305 * nis/rpcsvc/ypupd.h: Likewise.
18306 * nis/yp_xdr.c: Likewise.
18307 * nis/ypupdate_xdr.c: Likewise.
18308
2f3e3dc7
UD
18309 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18310 mainly the body of pmap_getport. Add parameters to specify timeouts.
18311 (pmap_getport): Use __libc_rpc_getport.
18312 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18313 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18314 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18315
f3dcc2f9
AS
183162010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18317
18318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18319 fanotify_mark.
18320
6d34eb5b
RM
183212010-08-27 Roland McGrath <roland@redhat.com>
18322
18323 * sysdeps/i386/i686/multiarch/Makefile
18324 (CFLAGS-varshift.c): New variable.
18325
9ea3de11
UD
183262010-08-27 Ulrich Drepper <drepper@redhat.com>
18327
c96d23fc
UD
18328 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18329 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18330
9ea3de11
UD
18331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18332
18333 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18334
623aac7f
L
183352010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * sysdeps/x86_64/strlen.S: Unroll the loop.
18338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18339 strlen-sse2 strlen-sse2-bsf.
18340 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18341 __strlen_no_bsf if bit_Slow_BSF is set.
18342 (__strlen_sse42): Removed.
18343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18344 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18345
8b2b7715
RM
183462010-08-25 Roland McGrath <roland@redhat.com>
18347
18348 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18349 * sysdeps/x86_64/multiarch/varshift.c: New file.
18350 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18351 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18352 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18353 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18354
e73015f2
L
183552010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18356
18357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18358 strlen-sse2 strlen-sse2-bsf.
18359 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18360 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18361 (__strlen_sse2): Removed.
18362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18363 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18365 bit_Slow_BSF for Atom.
18366 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18367 (index_Slow_BSF): Define.
18368 (HAS_SLOW_BSF): Define.
18369
df24a73e
UD
183702010-08-25 Ulrich Drepper <drepper@redhat.com>
18371
18372 [BZ #10851]
18373 * resolv/res_init.c (__res_vinit): When no server address at all
18374 is given default to loopback.
18375
f2ac4868
RM
183762010-08-24 Roland McGrath <roland@redhat.com>
18377
09055553
RM
18378 * configure.in: Remove config-name.h generation.
18379 * configure: Regenerated.
18380 * config-name.in: File removed.
18381 * scripts/config-uname.sh: New file.
18382 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18383 ($(objdir)config-name.h): New target.
18384
f2ac4868
RM
18385 * sunrpc/rpc_parse.h: Avoid nested comment.
18386
73f27d5e
RH
183872010-08-24 Richard Henderson <rth@redhat.com>
18388 Ulrich Drepper <drepper@redhat.com>
18389 H.J. Lu <hongjiu.lu@intel.com>
18390
18391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18393 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18394 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18395 _mm_alignr_epi8 with _mm_loadu_si128.
18396 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18397 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18398 (__m128i_shift_right): Removed.
18399 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18400 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18401 * sysdeps/x86_64/multiarch/varshift.h: New file.
18402 * sysdeps/x86_64/multiarch/varshift.S: New file.
18403
84b9230c
MF
184042010-08-21 Mike Frysinger <vapier@gentoo.org>
18405
18406 * configure.in: Move assembler checks to before sysdep dir checking.
18407
9bbd0ddc
PB
184082010-08-20 Petr Baudis <pasky@suse.cz>
18409
18410 * LICENSES: Sync the sunrpc license.
18411
9da4bb31
UD
184122010-08-19 Ulrich Drepper <drepper@redhat.com>
18413
a7ab6ec8
UD
18414 * sunrpc/auth_des.c: Update copyright notice once again.
18415 * sunrpc/auth_none.c: Likewise.
18416 * sunrpc/auth_unix.c: Likewise.
18417 * sunrpc/authdes_prot.c: Likewise.
18418 * sunrpc/authuxprot.c: Likewise.
18419 * sunrpc/bindrsvprt.c: Likewise.
18420 * sunrpc/clnt_gen.c: Likewise.
18421 * sunrpc/clnt_perr.c: Likewise.
18422 * sunrpc/clnt_raw.c: Likewise.
18423 * sunrpc/clnt_simp.c: Likewise.
18424 * sunrpc/clnt_tcp.c: Likewise.
18425 * sunrpc/clnt_udp.c: Likewise.
18426 * sunrpc/clnt_unix.c: Likewise.
18427 * sunrpc/des_crypt.c: Likewise.
18428 * sunrpc/des_soft.c: Likewise.
18429 * sunrpc/get_myaddr.c: Likewise.
18430 * sunrpc/getrpcport.c: Likewise.
18431 * sunrpc/key_call.c: Likewise.
18432 * sunrpc/key_prot.c: Likewise.
18433 * sunrpc/openchild.c: Likewise.
18434 * sunrpc/pm_getmaps.c: Likewise.
18435 * sunrpc/pm_getport.c: Likewise.
18436 * sunrpc/pmap_clnt.c: Likewise.
18437 * sunrpc/pmap_prot.c: Likewise.
18438 * sunrpc/pmap_prot2.c: Likewise.
18439 * sunrpc/pmap_rmt.c: Likewise.
18440 * sunrpc/rpc/auth.h: Likewise.
18441 * sunrpc/rpc/auth_unix.h: Likewise.
18442 * sunrpc/rpc/clnt.h: Likewise.
18443 * sunrpc/rpc/des_crypt.h: Likewise.
18444 * sunrpc/rpc/key_prot.h: Likewise.
18445 * sunrpc/rpc/netdb.h: Likewise.
18446 * sunrpc/rpc/pmap_clnt.h: Likewise.
18447 * sunrpc/rpc/pmap_prot.h: Likewise.
18448 * sunrpc/rpc/pmap_rmt.h: Likewise.
18449 * sunrpc/rpc/rpc.h: Likewise.
18450 * sunrpc/rpc/rpc_des.h: Likewise.
18451 * sunrpc/rpc/rpc_msg.h: Likewise.
18452 * sunrpc/rpc/svc.h: Likewise.
18453 * sunrpc/rpc/svc_auth.h: Likewise.
18454 * sunrpc/rpc/types.h: Likewise.
18455 * sunrpc/rpc/xdr.h: Likewise.
18456 * sunrpc/rpc_clntout.c: Likewise.
18457 * sunrpc/rpc_cmsg.c: Likewise.
18458 * sunrpc/rpc_common.c: Likewise.
18459 * sunrpc/rpc_cout.c: Likewise.
18460 * sunrpc/rpc_dtable.c: Likewise.
18461 * sunrpc/rpc_hout.c: Likewise.
18462 * sunrpc/rpc_main.c: Likewise.
18463 * sunrpc/rpc_parse.c: Likewise.
18464 * sunrpc/rpc_parse.h: Likewise.
18465 * sunrpc/rpc_prot.c: Likewise.
18466 * sunrpc/rpc_sample.c: Likewise.
18467 * sunrpc/rpc_scan.c: Likewise.
18468 * sunrpc/rpc_scan.h: Likewise.
18469 * sunrpc/rpc_svcout.c: Likewise.
18470 * sunrpc/rpc_tblout.c: Likewise.
18471 * sunrpc/rpc_util.c: Likewise.
18472 * sunrpc/rpc_util.h: Likewise.
18473 * sunrpc/rpcinfo.c: Likewise.
18474 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18475 * sunrpc/rpcsvc/key_prot.x: Likewise.
18476 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18477 * sunrpc/rpcsvc/mount.x: Likewise.
18478 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18479 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18480 * sunrpc/rpcsvc/rex.x: Likewise.
18481 * sunrpc/rpcsvc/rstat.x: Likewise.
18482 * sunrpc/rpcsvc/rusers.x: Likewise.
18483 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18484 * sunrpc/rpcsvc/spray.x: Likewise.
18485 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18486 * sunrpc/rtime.c: Likewise.
18487 * sunrpc/svc.c: Likewise.
18488 * sunrpc/svc_auth.c: Likewise.
18489 * sunrpc/svc_authux.c: Likewise.
18490 * sunrpc/svc_raw.c: Likewise.
18491 * sunrpc/svc_run.c: Likewise.
18492 * sunrpc/svc_simple.c: Likewise.
18493 * sunrpc/svc_tcp.c: Likewise.
18494 * sunrpc/svc_udp.c: Likewise.
18495 * sunrpc/svc_unix.c: Likewise.
18496 * sunrpc/svcauth_des.c: Likewise.
18497 * sunrpc/xcrypt.c: Likewise.
18498 * sunrpc/xdr.c: Likewise.
18499 * sunrpc/xdr_array.c: Likewise.
18500 * sunrpc/xdr_float.c: Likewise.
18501 * sunrpc/xdr_mem.c: Likewise.
18502 * sunrpc/xdr_rec.c: Likewise.
18503 * sunrpc/xdr_ref.c: Likewise.
18504 * sunrpc/xdr_sizeof.c: Likewise.
18505 * sunrpc/xdr_stdio.c: Likewise.
18506
9da4bb31
UD
18507 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18508 handling.
18509
bdaa77bc
AS
185102010-08-19 Andreas Schwab <schwab@redhat.com>
18511
18512 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18513
fe2f79db
LM
185142010-08-19 Luis Machado <luisgpm@br.ibm.com>
18515
18516 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18517 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18518 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18519 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18520 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18521 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18522 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18523 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18524 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18525 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18526 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18527 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18528 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18529 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18530
b9b42ee0
AB
185312010-07-26 Anton Blanchard <anton@samba.org>
18532
18533 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18534 * malloc/arena.c (heap_trim): Likewise.
18535
1c06ba31
UD
185362010-08-16 Ulrich Drepper <drepper@redhat.com>
18537
18538 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18539 here. Not...
18540 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18541 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18542
f8392f40
L
185432010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18544
18545 * sysdeps/i386/elf/Makefile: New file.
18546
3162f12e
AS
185472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18548
18549 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18550 from fanotify_init.
18551 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18552 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18553
28c90b2c
UD
185542010-08-15 Ulrich Drepper <drepper@redhat.com>
18555
18556 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18557 of strncasecmp_l.
1feccb6c 18558 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18559
ca6bb004
UD
185602010-08-14 Ulrich Drepper <drepper@redhat.com>
18561
e9f82e0d
UD
18562 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18563 strncase_l-nonascii.
18564 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18565 Add strncase_l-ssse3.
18566 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18567 * sysdeps/x86_64/strcmp.S: Likewise.
18568 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18569 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18570 * sysdeps/x86_64/strncase.S: New file.
18571 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18572 * sysdeps/x86_64/strncase_l.S: New file.
18573 * string/Makefile (strop-tests): Add strncasecmp.
18574 * string/test-strncasecmp.c: New file.
18575
18576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18577 warning.
18578
ca6bb004
UD
18579 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18580 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18581
052fa7b3
AS
185822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18583
18584 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18585
962dba78
UD
185862010-08-12 Ulrich Drepper <drepper@redhat.com>
18587
18588 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18589 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18590 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18591
bebff237
AM
185922010-05-01 Alan Modra <amodra@gmail.com>
18593
18594 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18595 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18596 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18597 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18598 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18599 tidying. Don't tail-call __sigjmp_save for static lib.
18600 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18601 save location.
18602 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18603 (CALL_MCOUNT): Add eh info, and nop after bl.
18604 (TAIL_CALL_SYSCALL_ERROR): New macro.
18605 (PSEUDO_RET): Use it.
18606 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18607 Correct save location of integer regs and cr.
18608 (_dl_profile_resolve): Correct cr save location. Delete nops
18609 after bl when SHARED. Reduce cfi size a little by better
18610 placement of cfi directives.
18611 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18612 make a stack frame. Instead use parm save area as a temp.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18614 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18616 Don't make a stack frame for parent, use parm save area.
18617 Increase child stack frame to 112 bytes. Don't save unused reg,
18618 and adjust reg usage. Set up cfi on error recovery and
18619 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18621 (__makecontext): Add dummy nop after jump to exit.
18622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18623 Use correct parm save area and cr save, reduce stack frame.
18624 Correct cfi for possible PSEUDO_RET frame setup.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18626 Branch to local label emitted by PSEUDO_RET rather than
18627 __syscall_error.
18628
02637374
AS
186292010-08-12 Andreas Schwab <schwab@redhat.com>
18630
18631 [BZ #11904]
18632 * locale/programs/locale.c (print_assignment): New function.
18633 (show_locale_vars): Use it.
18634
c3e2f19b
UD
186352010-08-11 Ulrich Drepper <drepper@redhat.com>
18636
3cdaa6ad
UD
18637 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18638 field.
18639 (struct statfs64): Likewise.
18640 (_STATFS_F_FLAGS): Define.
18641 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18642 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18643 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18644 (ST_VALID): Define locally.
18645 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18646 __statvfs_getflags, use the provided value.
18647 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18648 __ASSUME_STATFS_F_FLAGS.
18649
754f7da3
UD
18650 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18651
10b3bedc
UD
18652 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18653 Add sys/fanotify.h.
18654 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18655 fanotify_mask for GLIBC_2.13.
18656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18657 fanotify_init and fanotify_mark.
18658 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18659 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18660
c08fb0d7
UD
18661 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18662 Add prlimit.
18663 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18664 prlimit64 for GLIBC_2.13.
18665 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18666 prlimit64.
18667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18668 syscall.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18670 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18671 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18672 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18674 add prlimit alias.
18675 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18676
15bac72b
UD
18677 [BZ #11903]
18678 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18679 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18680
c3e2f19b
UD
18681 * nss/Makefile: Add rules to build and run tst-nss-test1.
18682 * shlib-versions: Add entry for libnss_test1.
18683 * nss/nss_test1.c: New file.
18684 * nss/tst-nss-test1.c: New file.
18685
18686 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18687 (__nss_configure_lookup): Set appropriate entry in
18688 __nss_configure_lookup to true.
18689 * nss/nsswitch.h: Define enum with indeces of databases in
18690 databases and __nss_database_custom arrays. Declare
18691 __nss_database_custom.
18692 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18693 to avoid using nscd when custom rules are installed.
18694 * nss/getXXbyYY_r.c: Likewise.
18695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18696
18697 * nss/nss_files/files-parse.c: Whitespace fixes.
18698
f15ce4d8
UD
186992010-08-09 Ulrich Drepper <drepper@redhat.com>
18700
18701 [BZ #11883]
18702 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18703 * posix/fnmatch_loop.c: Likewise.
18704
d22e4cc9
AK
187052010-07-17 Andi Kleen <ak@linux.intel.com>
18706
18707 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18708 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18709 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18710 * Versions.def [GLIBC_2.13]: Add.
18711
805bc17d
UD
187122010-08-06 Ulrich Drepper <drepper@redhat.com>
18713
18714 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18715 Also fail if tpwd after pwuid call is NULL.
18716
5a42321d
ST
187172010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18718
18719 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18720 when converting to ms.
18721
fd3ebeda
ST
187222010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18723
18724 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18725 EOPNOTSUPP errors with ENOTTY.
18726 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18727 EOPNOTSUPP errors with ENOTTY.
18728
73507d3a
UD
187292010-07-31 Ulrich Drepper <drepper@redhat.com>
18730
18731 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18732 Add strcasecmp_l-ssse3.
18733 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18734 strcasecmp.
18735 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18736 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18737 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18738
fe36dd02
UD
187392010-07-30 Ulrich Drepper <drepper@redhat.com>
18740
66f6765a
UD
18741 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18742
42e08a54
UD
18743 * string/Makefile (strop-tests): Add strcasecmp.
18744 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18745 strcasecmp_l-nonascii.
18746 (gen-as-const-headers): Add locale-defines.sym.
18747 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18748 * sysdeps/x86_64/strcasecmp.S: New file.
18749 * sysdeps/x86_64/strcasecmp_l.S: New file.
18750 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18751 * sysdeps/x86_64/locale-defines.sym: New file.
18752 * string/test-strcasecmp.c: New file.
18753
fe36dd02
UD
18754 * string/test-strcasestr.c: Test both ends of the range of characters.
18755 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18756
48cbc0d6
RM
187572010-07-29 Roland McGrath <roland@redhat.com>
18758
76e6d6bc 18759 [BZ #11856]
48cbc0d6
RM
18760 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18761
880113d9
UD
187622010-07-27 Ulrich Drepper <drepper@redhat.com>
18763
18764 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18765 for ld.so.
18766
deb9cabb
AS
187672010-07-27 Andreas Schwab <schwab@redhat.com>
18768
18769 * manual/memory.texi (Malloc Tunable Parameters): Document
18770 M_PERTURB.
18771
1c7570ff
RM
187722010-07-26 Roland McGrath <roland@redhat.com>
18773
18774 [BZ #11840]
18775 * configure.in (-fgnu89-inline check): Set and substitute
18776 gnu89_inline, not libc_cv_gnu89_inline.
18777 * configure: Regenerated.
18778 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18779
24fb0f88
UD
187802010-07-26 Ulrich Drepper <drepper@redhat.com>
18781
18782 * string/test-strnlen.c: New file.
18783 * string/Makefile (strop-tests): Add strnlen.
18784 * string/tester.c (test_strnlen): Add a few more test cases.
18785 * string/tst-strlen.c: Better error reporting.
18786
18787 * sysdeps/x86_64/strnlen.S: New file.
18788
8e96b93a
UD
187892010-07-24 Ulrich Drepper <drepper@redhat.com>
18790
18791 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18792 lower-latency instructions.
18793
dbc676d4
UD
187942010-07-23 Ulrich Drepper <drepper@redhat.com>
18795
18796 * string/test-strcasestr.c: New file.
18797 * string/test-strstr.c: New file.
18798 * string/Makefile (strop-tests): Add strstr and strcasestr.
18799 * string/str-two-way.h: Don't undefine MAX.
18800 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18801
f6a31e0e
AS
188022010-07-21 Andreas Schwab <schwab@redhat.com>
18803
18804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18805 strcasestr-nonascii.
18806 (CFLAGS-strcasestr-nonascii.c): Define.
18807 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18809 Remove unused attribute.
18810
5dbc3b6c
RM
188112010-07-20 Roland McGrath <roland@redhat.com>
18812
18813 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18814 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18815 ld.so.cache was broken. With it, there is no way to disable dsocaps
18816 like LD_HWCAP_MASK can disable hwcaps.
18817
23d101d8
EPM
188182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18819
18820 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18821
cc9f2e47
UD
188222010-07-16 Ulrich Drepper <drepper@redhat.com>
18823
18824 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18825 call in strcasestr.
18826 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18827 __strcasestr_sse42_nonascii.
18828 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18829 strcasestr-nonascii.c.
18830 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18831
77c1b069
LM
188322010-06-15 Luis Machado <luisgpm@br.ibm.com>
18833
18834 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18835 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18836 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18837 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18838
440566c3
UD
188392010-07-09 Ulrich Drepper <drepper@redhat.com>
18840
18841 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18842 fcntl.
18843
5be9d05d
AS
188442010-07-06 Andreas Schwab <schwab@redhat.com>
18845
c30b7ee2 18846 [BZ #11577]
5be9d05d
AS
18847 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18848 dl_signal_cerror.
18849
8a492a67
UD
188502010-07-06 Ulrich Drepper <drepper@redhat.com>
18851
18852 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18853 _PC_PIPE_BUF using F_GETPIPE_SZ.
18854
713df3d5
RM
188552010-07-05 Roland McGrath <roland@redhat.com>
18856
18857 * manual/arith.texi (Rounding Functions): Fix rint description
18858 implicit in round description.
18859
702e8f14
UD
188602010-07-02 Ulrich Drepper <drepper@redhat.com>
18861
18862 * elf/Makefile: Fix linking for a few tests to make recent linker
18863 happy.
18864
52ed8be9
AS
188652010-06-30 Andreas Schwab <schwab@redhat.com>
18866
18867 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18868 $(common-objpfx)libc_nonshared.a.
18869
f47c9a11
LM
188702010-06-21 Luis Machado <luisgpm@br.ibm.com>
18871
18872 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18873 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18874 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18875 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18876 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18877 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18878 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18879 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18894 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18895 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18896 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18897 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18898 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18899 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18900 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18901 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18902 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18903 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18904 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18905 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18920
6fb8cbcb
L
189212010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18922
18923 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18924 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18925 * string/memmove.c (memmove): Renamed to ...
18926 (MEMMOVE): ...this. Default to memmove.
18927 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18928 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18929 (END_CHK): Define.
18930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18931 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18932 mempcpy-ssse3-back memmove-ssse3-back.
18933 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18934 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18935 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18936 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18937 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18938 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18939 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18940 * sysdeps/x86_64/multiarch/memmove.c: New file.
18941 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18942 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18943 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18944 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18945 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18946 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18947 Define.
18948 (index_Fast_Copy_Backward): Define.
18949 (HAS_ARCH_FEATURE): Define.
18950 (HAS_FAST_REP_STRING): Define.
18951 (HAS_FAST_COPY_BACKWARD): Define.
18952
4e733bac 189532010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18954
18955 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18956 Restore proper fallback handling.
18957
63c4ed22
UD
189582010-06-19 Ulrich Drepper <drepper@redhat.com>
18959
ac2b484c
UD
18960 [BZ #11701]
18961 * posix/group_member.c (__group_member): Correct checking loop.
18962
63c4ed22
UD
18963 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18964 OOM in getpwuid_r correctly. Return error number when the caller
18965 should return, otherwise -1.
18966 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18967 call returning > 0 value.
18968 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18969
765ade4b
AS
189702010-06-07 Andreas Schwab <schwab@redhat.com>
18971
18972 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18973 libc_nonshared.a from targets in modules-names.
18974
80da2e09
KS
189752010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18976
18977 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18978 requires it.
18979
158db122
LM
189802010-06-10 Luis Machado <luisgpm@br.ibm.com>
18981
18982 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18983 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18984 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18985 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18986
caa78cf8
AS
189872010-06-02 Andreas Schwab <schwab@redhat.com>
18988
18989 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18990
b2ef2c01
UD
189912010-06-14 Ulrich Drepper <drepper@redhat.com>
18992
18993 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18994 and F_GETPIPE_SZ.
18995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19000 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19001
fbd643b6
RM
190022010-06-14 Roland McGrath <roland@redhat.com>
19003
19004 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19005
f32f2869
JJ
190062010-06-07 Jakub Jelinek <jakub@redhat.com>
19007
19008 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19009 __REDIRECT followed by __THROW.
19010 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19011 * posix/getopt.h (getopt): Likewise.
19012
2a50c078
EPM
190132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19014
19015 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19016 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19017 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19018 in AT_FLAGS.
19019 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19020 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19021
eb5ad2eb
LM
190222010-05-28 Luis Machado <luisgpm@br.ibm.com>
19023
19024 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19025
3c88fe1e
L
190262010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19027
19028 [BZ #11640]
19029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19030 Properly check family and model.
19031
d2f73151
TY
190322010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19033
19034 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19035
ebd2e13d
LM
190362010-05-24 Luis Machado <luisgpm@br.ibm.com>
19037
19038 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19039
b32b8b45
UD
190402010-05-21 Ulrich Drepper <drepper@redhat.com>
19041
19042 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19043 symbol reference.
19044
9acbe24d
AS
190452010-05-19 Andreas Schwab <schwab@redhat.com>
19046
19047 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19048 symbol reference.
19049
f0ccf6ea
AS
190502010-05-21 Andreas Schwab <schwab@redhat.com>
19051
3d04ff3a
AS
19052 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19053 and internal_recvmmsg.
19054 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19055 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19056 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19057 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19058
f0ccf6ea
AS
19059 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19060 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19061 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19062
5b08ac57
AS
190632010-05-20 Andreas Schwab <schwab@redhat.com>
19064
19065 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19066
4828935d
LM
190672010-05-17 Luis Machado <luisgpm@br.ibm.com>
19068
19069 POWER7 optimizations.
19070 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19071 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19072
373d545e
UD
190732010-05-19 Ulrich Drepper <drepper@redhat.com>
19074
19075 * version.h: Update for 2.13 development version.
19076
21a2b1ae
AS
190772010-05-12 Andrew Stubbs <ams@codesourcery.com>
19078
19079 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19080 exceptions. Return 0.
19081
3f7dcb2b
RM
190822010-05-07 Roland McGrath <roland@redhat.com>
19083
19084 * elf/ldconfig.c (main): Add a const.
19085
5f24d53a 190862010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19087
a160f8d8
UD
19088 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19089 (args_options): Add no-idn option.
19090 (ahosts_keys_int): Add idn_flags to ai_flags.
19091 (parse_option): Handle 'i' option to clear idn_flags.
19092
5f24d53a
UD
19093 * malloc/malloc.c (_int_free): Possible race in the most recently
19094 added check. Only act on the data if no current modification
19095 happened.
265bb1ce
UD
19096
19097See ChangeLog.17 for earlier changes.