]> sourceware.org Git - glibc.git/blame - ChangeLog
Mention BZ #14545 in NEWS
[glibc.git] / ChangeLog
CommitLineData
0948c3af
L
12012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14545]
4 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6 freeing dtv[-1].
7
a5055ad1
L
82012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9
10 [BZ #14544]
11 * Makeconfig (link-static-before-libc): Replace $(+prector)
12 with $(+prectorT).
13 (link-static-after-libc): Replace $(+postctor) with
14 $(+postctorT).
15 (link-bounded): Replace $(+prector)/$(+postctor) with
16 $(+prectorT)/$(+postctorT).
17 (+prectorT): New macro.
18 (+postctorT): Likewise.
19
ed8c2ecd
JM
202012-09-06 Joseph Myers <joseph@codesourcery.com>
21
22 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23 (round_str): Handle values above the maximum for IBM long double
24 as inexact.
25 * stdlib/tst-strtod-round.c (tests): Regenerated.
26
14c996c8
AK
272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28
29 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30 assembler flag.
31 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32 zarch_nohighgprs around the zarch optimized routines.
33 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36 for zarch.
37
430d6ce6
DM
382012-09-05 David S. Miller <davem@davemloft.net>
39
40 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41
ff04dda4
DM
42 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
43 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46 entries.
47
24d4e01b
AO
482012-09-05 Alexandre Oliva <aoliva@redhat.com>
49
50 * malloc/arena.c: Fold copyright years.
51 * malloc/mcheck.c, malloc/memusage.c: Likewise.
52
61d58174
AO
532012-09-05 Alexandre Oliva <aoliva@redhat.com>
54
55 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56
20196a5e
AO
572012-09-05 Alexandre Oliva <aoliva@redhat.com>
58
59 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
60
5c447383
AO
612012-09-05 Alexandre Oliva <aoliva@redhat.com>
62
63 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64 change internal state upon failure.
65
fad64255
AO
662012-09-05 Alexandre Oliva <aoliva@redhat.com>
67
68 * malloc/mcheck.c (mcheck_check_all): Fix typo.
69 * malloc/memusage.c (mmap): Likewise.
70 (mmap64, mremap): Likewise. Adjust name in comment.
71
1ffb8c90
SP
722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
73
74 * libio/fileops.c: Fix typos in comments.
75 * libio/oldfileops.c: Likewise.
76 * libio/wfileops.c: Likewise.
77
6ef9cc37
SP
782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
79
80 [BZ #1349]
81 * malloc/Makefile (tests): Add tst-malloc-usable test case.
82 (tst-malloc-usable-ENV): Set environment for test case.
83 * malloc/hooks.c (malloc_check_get_size): New function to get
84 requested size.
85 * malloc/malloc.c (musable): Use malloc_check_get_size.
86 * malloc/tst-malloc-usable.c: New test case.
87
4d038ae3
AS
882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
89
90 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
91
c4e85184
AM
922012-09-05 Allan McRae <allan@archlinux.org>
93
b9dafc56 94 [BZ #13966]
c4e85184
AM
95 * configure.in (CXX_SYSINCLUDES): Use compiler output to
96 determine header location.
97 * configure: Regenerated.
98
e1343020
AS
992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
100
101 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
102 float format.
103 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
104 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
105 format.
e1343020
AS
106 (test): Regenerate.
107
0a9f1987
DM
1082012-09-04 David S. Miller <davem@davemloft.net>
109
110 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
111 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
112 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
113
29237804
FW
1142012-09-04 Florian Weimer <fweimer@redhat.com>
115
116 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
117 failures.
118
edb3cb88
FW
119 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
120
60160d83
JM
1212012-09-04 Joseph Myers <joseph@codesourcery.com>
122
123 [BZ #9914]
124 * libio/iogetdelim.c: Include <limits.h>.
125 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
126 + len + 1 would overflow.
127
bcd6c8dc
AJ
1282012-09-03 Andreas Jaeger <aj@suse.de>
129
130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
131 * sysdeps/i386/fpu/libm-test-ulps: Update.
132
4ffffbd2
LD
1332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
134
135 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
136 Add s_sinf-sse2, s_conf-sse2.
137
138 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
139 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
140 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
141 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
142
143 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
144 for using routine as __sinf_ia32.
145 Use macro for function declaration and weak_alias.
146 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
147 for using routine as __cosf_ia32.
148 Use macro for function declaration and weak_alias.
149
150 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
151 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
152
153 * sysdeps/x86_64/fpu/s_sinf.S: New file.
154 * sysdeps/x86_64/fpu/s_cosf.S: New file.
155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
156
157 * math/libm-test.inc (cos_test): Add more test cases.
158 (sin_test): Likewise.
159 (sincos_test): Likewise.
160
511fa286
AK
1612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
162
163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
164 (IFUNC_RESOLVE): Make pointers to the specialized implementations
165 hidden.
166 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
167
5f30cfec
L
1682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
169
170 [BZ #14538]
171 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
172 first element of the GOT.
173 (elf_machine_load_address): Return the difference between
174 the runtime address of _DYNAMIC and elf_machine_dynamic ().
175
0786794f
AM
1762012-09-01 Allan McRae <allan@archlinux.org>
177
5f30cfec
L
178 [BZ #13412]
179 * configure.in (AWK): Require gawk version 3.0 or later.
180 * configure: Regenerated.
0786794f 181
26889eac
JM
1822012-09-01 Joseph Myers <joseph@codesourcery.com>
183
184 * sysdeps/unix/sysv/linux/kernel-features.h
185 (__ASSUME_POSIX_CPU_TIMERS): Remove.
186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
187 [__NR_clock_getres]: Make code unconditional.
188 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
189 (clock_getcpuclockid): Remove code left unreachable by removal of
190 conditionals.
191 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
192 code unconditional.
193 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
194 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
195 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
196 Make code unconditional.
197 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
198 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
199 * sysdeps/unix/sysv/linux/clock_settime.c
200 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
201 conditional code.
202 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
203 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
204
d22e28b0
L
2052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
206
207 [BZ #14476]
208 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
209 scripts/test-installation.pl.
210
211 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
212 and $ld_so_version if it is set.
213
050af9c4
SP
2142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
215
216 [BZ #14516]
217 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
218 failure if reading from procfs failed.
219 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
220
ad845c0b
JM
2212012-08-27 Joseph Myers <joseph@codesourcery.com>
222
223 * sysdeps/unix/sysv/linux/kernel-features.h
224 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
225 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
226 Remove conditional code.
227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
228 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
229 Remove conditional code.
230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
231 * sysdeps/unix/sysv/linux/i386/fxstat.c
232 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
234 * sysdeps/unix/sysv/linux/i386/fxstatat.c
235 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
237 * sysdeps/unix/sysv/linux/i386/lxstat.c
238 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
240 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
241 Remove conditional code.
242 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
243 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
244 Remove conditional code.
245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
246 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
247 <kernel-features.h>.
248 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
249 Remove.
250 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
251 Remove conditional code.
252 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
253 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
254 Remove conditional.
255
5dbf56af
MF
2562012-08-27 Mike Frysinger <vapier@gentoo.org>
257
258 [BZ #5400]
259 * NEWS: Add fixed bug number.
260
d6e70f43
JM
2612012-08-27 Joseph Myers <joseph@codesourcery.com>
262
7efb4737
JM
263 [BZ #14519]
264 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
265 underflowing exponent in case of negative sign.
266 * stdlib/tst-strtod-round-data: Add more tests.
267 * stdlib/tst-strtod-round.c (tests): Regenerated.
268
af92131a
JM
269 [BZ #3479]
270 * stdlib/strtod_l.c (NDIG): Remove.
271 (HEXNDIG): Likewise.
272 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
273 smallest representable value.
274 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
275 lie within an exact representation of 1/2 ulp of the result.
276 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
277 unconditionally.
278 (TENS_P9_IDX): Define unconditionally.
279 (TENS_P9_SIZE): Likewise.
280 (TENS_P10_IDX): Likewise.
281 (TENS_P10_SIZE): Likewise.
282 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
283 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
284 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
285 entries for 10^2^13 and 10^2^14.
286 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
287 (TENS_P13_IDX): Define.
288 (TENS_P13_SIZE): Likewise.
289 (TENS_P14_IDX): Likewise.
290 (TENS_P14_SIZE): Likewise.
291 (_fpioconst_pow10): Change array size to
292 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
293 unconditional.
294 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
295 1024]: Add entries for 10^2^13 and 10^2^14.
296 [LAST_POW10 > _LAST_POW10]: Remove #error.
297 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
298 (_fpioconst_pow10): Change array size to
299 FPIOCONST_POW10_ARRAY_SIZE.
300 * stdlib/gen-fpioconst.c: New file.
301 * stdlib/gen-tst-strtod-round.c: Likewise.
302 * stdlib/tst-strtod-round-data: Likewise.
303 * stdlib/tst-strtod-round.c: Likewise.
304 * stdlib/Makefile (tests): Add tst-strtod-round.
305
d6e70f43
JM
306 [BZ #14459]
307 * stdlib/strtod_l.c: Include <stdint.h>.
308 (NDEBUG): Do not define.
309 (round_and_return): Change EXPONENT parameter to type intmax_t.
310 Rearrange calculations to avoid internal overflow possibilities.
311 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
312 Rearrange calculations to avoid internal overflow possibilities.
313 Assert that number fits inside MPNSIZE limbs.
314 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
315 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
316 calculations and add assertions to avoid internal overflow
317 possibilities. Add casts to avoid signed/unsigned operations.
318 * stdlib/tst-strtod-overflow.c: New file.
319 * stdlib/Makefile (tests): Add tst-strtod-overflow.
320
1f529f7d
MP
3212012-08-25 Marek Polacek <polacek@redhat.com>
322
323 * time/time.h: Fix some typos in comments.
324
59a629f1
RM
3252012-08-23 Roland McGrath <roland@hack.frob.com>
326
327 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
328 * posix/tst-rfc3484-2.c: Likewise.
329 * posix/tst-rfc3484-3.c: Likewise.
330
d3bafbc9
SM
3312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
332
333 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
334 (EF_ARM_ABI_FLOAT_HARD): Likewise.
335
4efcc022
JM
3362012-08-23 Joseph Myers <joseph@codesourcery.com>
337
338 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
339 #include of fxstatat64.c.
340
3cc3ef96
RM
3412012-08-22 Roland McGrath <roland@hack.frob.com>
342
f04e2132
RM
343 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
344 * shadow/getspent_r.c: Likewise.
345 * shadow/getspnam.c: Likewise.
346 * shadow/getspnam_r.c: Likewise.
347 * gshadow/getsgent.c: Likewise.
348 * gshadow/getsgent_r.c: Likewise.
349 * gshadow/getsgnam.c: Likewise.
350 * gshadow/getsgnam_r.c: Likewise.
351 * inet/getnetbyad.c: Likewise.
352 * inet/getnetbyad_r.c: Likewise.
353 * inet/getnetbynm.c: Likewise.
354 * inet/getnetbynm_r.c: Likewise.
355 * inet/getnetent.c: Likewise.
356 * inet/getnetent_r.c: Likewise.
357 * inet/getproto.c: Likewise.
358 * inet/getproto_r.c: Likewise.
359 * inet/getprtent.c: Likewise.
360 * inet/getprtent_r.c: Likewise.
361 * inet/getprtname.c: Likewise.
362 * inet/getprtname_r.c: Likewise.
363 * inet/getrpcbyname.c: Likewise.
364 * inet/getrpcbyname_r.c: Likewise.
365 * inet/getrpcbynumber.c: Likewise.
366 * inet/getrpcbynumber_r.c: Likewise.
367 * inet/getrpcent.c: Likewise.
368 * inet/getrpcent_r.c: Likewise.
369 * inet/getaliasent.c: Likewise.
370 * inet/getaliasent_r.c: Likewise.
371 * inet/getaliasname.c: Likewise.
372 * inet/getaliasname_r.c: Likewise.
373 * nscd/getgrgid_r.c: Likewise.
374 * nscd/getgrnam_r.c: Likewise.
375 * nscd/gethstbyad_r.c: Likewise.
376 * nscd/gethstbynm3_r.c: Likewise.
377 * nscd/getpwnam_r.c: Likewise.
378 * nscd/getpwuid_r.c: Likewise.
379 * nscd/getsrvbynm_r.c: Likewise.
380 * nscd/getsrvbypt_r.c: Likewise.
381 * nscd/gai.c: Likewise.
382
c53d909c
RM
383 * configure.in (build_nscd): New substituted variable, set
384 by --disable-build-nscd and defaults to $use_nscd.
385 * configure: Regenerated.
386 * config.make.in (build-nscd): New substituted variable.
387 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
388 Change conditional to require [$(build-nscd) = yes] as well.
389 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
390
3cc3ef96
RM
391 [BZ# 13696]
392 * configure.in (use_nscd): New substituted variable, set by
393 --disable-nscd. If enabled, define USE_NSCD.
394 * configure: Regenerated.
395 * config.h.in: Add USE_NSCD.
396 * config.make.in (use-nscd): New substituted variable.
397 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
398 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
399 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
400 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
401 (CFLAGS-getgrnam_r.c): Likewise.
402 (CFLAGS-initgroups.c): Likewise.
403 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
404 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
405 Variables removed.
406 * inet/getnetgrent_r.c
407 (nscd_setnetgrent): New function, broken out of ...
408 (setnetgrent): ... here. Call it.
409 (innetgr): Conditionalize nscd bits on [USE_NSCD].
410 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
411 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
412 * nscd/Makefile (routines, aux): Move definitions after include of
413 Makeconfig. Conditionalize on [$(use-nscd) != no].
414 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
415 Conditionalize on [USE_NSCD].
416 (is_nscd, nscd_init_cb): Likewise.
417 (nss_load_library): Conditionalize init callback on [USE_NSCD].
418 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
419 * nss/nss_db/db-init.c: Likewise.
420 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
421 [USE_NSCD].
422 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
423 (make_request): Use it.
424 (cache_valid_p): New function.
425 (__check_pf): Use it.
426 * NEWS: Add item for --disable-nscd.
427
07e51550
DL
4282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
429
430 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
431 to support sed >= 4.2.1-20-ga9bf076.
432 * configure: Regenerated.
433
35a5b08b
RM
4342012-08-22 Roland McGrath <roland@hack.frob.com>
435
436 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
437 Conditionalize whole body on [IREL].
438
8479f23a
JL
4392012-08-22 Jeff Law <law@redhat.com>
440
441 [BZ #14505]
442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
443 if the family is PF_UNSPEC.
444
48da0b21
MF
4452012-08-22 Mike Frysinger <vapier@gentoo.org>
446
447 * Makerules (lib-version): Rename from V.
448 (install-lib-nosubdir): Change V to lib-version.
449
15d0da8c
WS
4502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
451
452 [BZ #14252]
453 * powerpc32/power6/wcschr.c: New file.
454 * powerpc32/power6/wcscpy.c: New file.
455 * powerpc32/power6/wcsrchr.c: New file.
456 * powerpc64/power6/wcschr.c: New file.
457 * powerpc64/power6/wcscpy.c: New file.
458 * powerpc64/power6/wcsrchr.c: New file.
459
bcca0895
MK
4602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
461
462 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
463 (two_way_short_needle): Use it.
5a4aaa33
RM
464 * string/strstr.c (AVAILABLE1_USES_J): Define.
465 * string/strcasestr.c: Likewise.
99677e57
MK
466
467 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
468 array references.
469 * string/strcasestr.c (TOLOWER): Make side-effect safe.
470
400726de
MK
471 [BZ #11607]
472 * NEWS: Add an entry.
473 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
474 define their defaults.
475 (two_way_short_needle): Detect end-of-string on-the-fly.
476 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
477 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
478 * string/bug-strcasestr1.c: New test.
479 * string/Makefile: Run it.
480
20a71f2c
MK
4812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
482
483 [BZ #11607]
484 * string/str-two-way.h (two_way_short_needle): Optimize matching of
485 the first character.
486
21ad0558
RM
4872012-08-21 Roland McGrath <roland@hack.frob.com>
488
489 * csu/elf-init.c (__libc_csu_irel): Function removed.
490 * csu/libc-start.c (apply_irel): New function.
491 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
492
0e1d9911
JM
4932012-08-21 Joseph Myers <joseph@codesourcery.com>
494
495 * sysdeps/unix/sysv/linux/kernel-features.h
496 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
497 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
498 <kernel-features.h>.
499 [__NR_fadvise64_64]: Make code unconditional.
500 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
501 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
502 !__NR_fadvise64_64)]: Likewise.
503 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
504 !__NR_fadvise64_64))]: Likewise.
505 [__NR_fadvise64]: Make code unconditional.
506 [!__NR_fadvise64]: Remove conditional code.
507 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
508 <kernel-features.h>.
509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
510 unconditional.
511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
512 conditional code.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
514 not include <kernel-features.h>.
515 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
516 unconditional.
517 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
518 conditional code.
519 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
520 include <kernel-features.h>.
521 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
522 unconditional.
523 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
524 conditional code.
525
14a50c9d
WS
5262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
527
528 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
529 slight instruction rearrangements per scrollpipe analysis.
530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
531
c0f4faf0
RM
5322012-08-20 Roland McGrath <roland@hack.frob.com>
533
696da859
RM
534 * manual/syslog.texi (syslog; vsyslog, closelog):
535 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
536 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
537
c0f4faf0
RM
538 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
539 DSOCAPS to match condition on defining it.
540
348363b2
JM
5412012-08-20 Joseph Myers <joseph@codesourcery.com>
542
a35cbf28
JM
543 * sysdeps/unix/sysv/linux/kernel-features.h
544 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
546 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
547 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
549 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
550 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
552 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
553 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
554
445f7ecd
JM
555 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
556 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
557
348363b2
JM
558 * sysdeps/unix/sysv/linux/kernel-features.h
559 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
560 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
561 unconditional.
562 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
563 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
564 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
565 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
566 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
567 Make code unconditional.
568 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
569 (__mmap64) [!__NR_mmap2]: Likewise.
570 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
571 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
572 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
573 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
574 [__NR_mmap2]: Make code unconditional.
575 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
576 (__mmap64) [!__NR_mmap2]: Likewise.
577
bc5bc0e5
AK
5782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
579
580 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
581
88d506de
AJ
5822012-08-18 Andreas Jaeger <aj@suse.de>
583
584 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
585
493387d2
MF
5862012-08-18 Mike Frysinger <vapier@gentoo.org>
587
588 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
589 * include/unistd.h (__have_sock_cloexec): Likewise.
590 (__have_pipe2): Likewise.
591 (__have_dup3): Likewise.
592
a277af22
MF
5932012-08-18 Mike Frysinger <vapier@gentoo.org>
594
595 [BZ #9685]
596 * include/unistd.h (__have_pipe2): Change define into an extern int.
597 (__have_dup3): Likewise.
598 * socket/have_sock_cloexec.c: Include fcntl.h.
599 (__have_pipe2): New variable.
600 (__have_dup3): Likewise.
601
fdab8fd3
MF
6022012-08-17 Mike Frysinger <vapier@gentoo.org>
603
604 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
605
31035e80
MP
6062012-08-17 Marek Polacek <polacek@redhat.com>
607
608 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
609 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
610
3bd9e993
RM
6112012-08-17 Roland McGrath <roland@hack.frob.com>
612
c91c505f
RM
613 * configure.in: Add AC_SUBST for sysheaders.
614 * configure: Regenerated.
615 * config.make.in (sysheaders): New substituted variable.
616
7c6f9d53
RM
617 * sysdeps/unix/mkfifo.c: Moved ...
618 * sysdeps/posix/mkfifo.c: ... here.
619 * sysdeps/unix/mkfifoat.c: Moved ...
620 * sysdeps/posix/mkfifoat.c: ... here.
621
622 * sysdeps/unix/utime.c: Moved ...
623 * sysdeps/posix/utime.c: ... here.
624
625 * sysdeps/unix/time.c: Moved ...
626 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
627 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
628 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
629
630 * sysdeps/unix/nice.c: Moved ...
631 * sysdeps/posix/nice.c: ... here.
632
633 * sysdeps/unix/alarm.c: Moved ...
634 * sysdeps/posix/alarm.c: ... here.
635
3bd9e993
RM
636 * intl/Makefile ($(codeset_mo)): Depend on the input file.
637
d1f09384
JL
6382012-08-17 Jeff Law <law@redhat.com>
639
640 * intl/Makefile (codeset_mo): New variable.
641 ($(codeset_mo)): New target.
642 (tst-codeset.out): Depend on that. Remove explicit rule.
643 (tst-gettext3.out, tst-gettext5.out): Likewise.
644 (LOCPATH-ENV, tst-codeset-ENV): New variables.
645 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
646 * intl/tst-codeset.sh: Remove.
647 * intl/tst-gettext3.sh: Likewise.
648 * intl/tst-gettext5.sh: Likewise.
649
2ae1ae5c
RM
6502012-08-17 Roland McGrath <roland@hack.frob.com>
651
c31fdb83
RM
652 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
653 * sysdeps/unix/syscalls.list: ... here.
654
a0844057
RM
655 * sysdeps/posix/getaddrinfo.c
656 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
657 (gaiconf_init, gaiconf_reload): Use them.
658 [!_STATBUF_ST_NSEC]
659 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
660 Define using time_t rather than struct timespec.
661
750c1f2a
RM
662 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
663 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
664 Macros removed.
665 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
666 [!NO_THREADS].
667 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
668 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
669 Likewise.
670
2ae1ae5c
RM
671 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
672 __libc_cleanup_push argument.
673
e66a42f5
RM
674 * bits/param.h: New file.
675 * misc/sys/param.h: New file.
676 * include/sys/param.h: New file.
677 * misc/Makefile (headers): Add bits/param.h.
678 * sysdeps/generic/sys/param.h: File removed.
679 * sysdeps/unix/sysv/linux/bits/param.h: New file.
680 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
681 * sysdeps/mach/hurd/bits/param.h: New file.
682 * sysdeps/mach/hurd/sys/param.h: New file.
683
b7c08a66
RM
684 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
685 last change.
686
b2e1c562
RM
687 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
688 [_IO_MTSAFE_IO].
689 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
690 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
691 New macros.
692
c75ccd4c
RM
693 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
694 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
695 rather than -D_IO_MTSAFE_IO conditionally.
696 * stdio-common/Makefile (CPPFLAGS): Likewise.
697 * wcsmbs/Makefile (CPPFLAGS): Likewise.
698 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
699 Use $(libio-mtsafe).
700 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
701 of -D_IO_MTSAFE_IO.
702 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
703 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
704 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
705 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
706 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
707 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
708 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
709 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
710 (CFLAGS-fread_u_chk.c): Likewise.
711 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
712 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
713 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
714 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
715 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
716 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
717 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
718 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
719 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
720
721 * libio/Makefile: Test [$(libc-reentrant) = yes]
722 instead of [$(filter %REENTRANT, $(defines)) nonempty].
723
724 * Makeconfig
725 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
726 * sysdeps/pthread/configure: File removed.
727 * sysdeps/pthread/Makeconfig: New file.
728 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
729 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
730
d9195db8
GB
7312012-08-16 Gary Benson <gbenson@redhat.com>
732
733 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
734 unmapping the first object in a namespace.
735
86466cd9
RM
7362012-08-16 Roland McGrath <roland@hack.frob.com>
737
738 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
739 (__internal_setnetgrent): ... this. Add internal_function to
740 definition. Add libc_hidden_def.
741 (setnetgrent): Update caller.
742 (internal_endnetgrent): Renamed to ...
743 (__internal_endnetgrent): ... this. Add internal_function to
744 definition. Add libc_hidden_def.
745 (endnetgrent): Update caller.
746 (internal_getnetgrent_r): Renamed to ...
747 (__internal_getnetgrent_r): ... this. Add internal_function to
748 definition. Add libc_hidden_def.
749 (__getnetgrent_r): Update caller.
750 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
751
c3c8283c
JM
7522012-08-16 Joseph Myers <joseph@codesourcery.com>
753
754 * stdlib/longlong.h: Update from GCC.
755
db1ee0a8
RM
7562012-08-16 Roland McGrath <roland@hack.frob.com>
757
758 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
759 on _QL, which is set by umul_ppmm but never used.
760 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
761 variables, which are set by GMP macros but never used.
762 * stdio-common/_itowa.c (_itowa): Likewise.
763 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
764 * stdlib/mod_1.c (mpn_mod_1): Likewise.
765
30f69637
CD
7662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
767
768 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
769 struct La_sh_regs is not constant.
770 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
771 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
772 and struct La_sparc64_regs are not constant.
773
93a78ac4
JM
7742012-08-16 Joseph Myers <joseph@codesourcery.com>
775
776 * sysdeps/unix/sysv/linux/kernel-features.h
777 (__ASSUME_POSIX_TIMERS): Remove.
778 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
780 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
781 Make code unconditional.
782 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
783 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
784 Make code unconditional.
785 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
786 * sysdeps/unix/sysv/linux/clock_nanosleep.c
787 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
788 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
790 Make code unconditional.
791 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
792 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
793 (__libc_missing_posix_timers): Remove.
794
dd924cd7
RM
7952012-08-15 Roland McGrath <roland@hack.frob.com>
796
4b4f2771
RM
797 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
798 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
799
601c888b
RM
800 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
801
176790a7
RM
802 * elf/dl-sym.c: Include <stdlib.h>.
803
329bc018
RM
804 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
805 constants, which avoids warnings in 32-bit builds.
806
e04e272d
RM
807 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
808 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
809
952bf94a
RM
810 * misc/lseek.c: File moved to ...
811 * io/lseek.c: ... here.
812
7c99b50a
RM
813 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
814
dd924cd7
RM
815 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
816 shifting LEN more than 31 bits at once.
817
b3f479a8
LD
8182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
819
820 [BZ #14195]
8c4ae0d4
RM
821 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
822 segmentation fault for a case of two empty input strings.
b3f479a8
LD
823 * string/test-strncasecmp.c (check1): Renamed to...
824 (bz12205): ...this.
825 (bz14195): Add new testcase for two empty input strings and N > 0.
826 (test_main): Call new testcase, adapt for renamed function.
827
9c55864e
AJ
8282012-08-15 Andreas Jaeger <aj@suse.de>
829
830 [BZ #14090]
831 * crypt/md5test2.c: New test, based on test supplied by Serge
832 Belyshev <belyshev@depni.sinp.msu.ru>.
833 * crypt/Makefile (xtests): Add md5test-giant..
834 * crypt/Makefile ($(objpfx)md5test-giant): Add.
835
02dcb6c5
PE
8362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
837
838 [BZ #14090]
839 * crypt/md5.c (md5_process_block): Don't assume the buffer
840 length is less than 2**32.
841 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
842 length is less than 2**64.
843
a3f95dcc
RM
8442012-08-15 Roland McGrath <roland@hack.frob.com>
845
be75d758
RM
846 * string/str-two-way.h: Include <sys/param.h>.
847 (MAX): Macro removed.
848
7312ca90
RM
849 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
850 Move #define and #undef of memmove to just before and after
851 including <string.h>.
852
9a0a5486
RM
853 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
854 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
855 and after including <string.h>. Move declarations of
856 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
857 to before #include "string/memmove.c".
858
67cc348d
RM
859 * include/dirent.h: Declare __getdirentries.
860
a3f95dcc
RM
861 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
862 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
863
ca98e171
MF
8642012-08-14 Mike Frysinger <vapier@gentoo.org>
865
866 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
867 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
868 * sysdeps/i386/configure: Regenerated.
869 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
870 STABS_CURRENT_FILE, and STABS_FUN.
871 (END): Remove call to STABS_FUN_END.
872 (STABS_CURRENT_FILE1): Delete.
873 (STABS_CURRENT_FILE): Likewise.
874 (STABS_FUN): Likewise.
875 (STABS_FUN_END): Likewise.
876 (STABS_FUN2): Likewise.
877 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
878 * sysdeps/x86_64/configure: Regenerated.
879
5908bf46
RM
8802012-08-14 Roland McGrath <roland@hack.frob.com>
881
882 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 883 * elf/dl-lookup.c: Likewise.
5908bf46 884
f2c05b9e
JM
8852012-08-14 Joseph Myers <joseph@codesourcery.com>
886
887 * sysdeps/unix/sysv/linux/kernel-features.h
888 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
889 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
890 unconditionally.
891 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
892 unconditionally.
893 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
894 condition on __ASSUME_CLONE_THREAD_FLAGS.
895
e11f5155
AJ
8962012-08-14 Andreas Jaeger <aj@suse.de>
897
898 * sysdeps/i386/fpu/libm-test-ulps: Update.
899
51a9ba86
MK
9002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
901
2fdd4f78
AJ
902 * include/atomic.h (atomic_exchange_and_add): Split into ...
903 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
904 New atomic macros.
51a9ba86 905
ba6cba9e
MT
9062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
907
908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
909
42443a47
JL
9102012-08-13 Jeff Law <law@redhat.com>
911
912 * manual/stdio.texi (snprintf): Clarify handling of the trailing
913 null byte in the output string.
914
121dce05
JM
9152012-08-10 Joseph Myers <joseph@codesourcery.com>
916
917 * sysdeps/unix/sysv/linux/kernel-features.h
918 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
919 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
920 (__ASSUME_ARG_MAX_STACK_BASED): Define.
921 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
922 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
923 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
924 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
925
bf51f568
JL
9262012-08-09 Jeff Law <law@redhat.com>
927
928 [BZ #13939]
929 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
930 When avoid_arena is set, don't retry in the that arena. Pick the
931 next one, whatever it might be.
932 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
933 (arena_lock): Pass in new parameter to arena_get2.
934 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
935 arena_get2.
936 (__libc_malloc): Unify retrying after main arena failure with
937 __libc_memalign version.
938 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
939
f85fa270
L
9402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
941
942 [BZ #14166]
943 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
944 to __redirect_strstr.
945 (__strstr_sse42): Use typeof __redirect_strstr.
946 (__strstr_ia32): Likewise.
947 (__libc_strstr): New prototype.
948 (strstr): Renamed to ...
949 (__libc_strstr): This.
950 (strstr): New strong alias of __libc_strstr.
951 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
952 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
953 __redirect_time.
954 Include <time.h>.
955 (__libc_time): New prototype.
956 (time_ifunc): Replace time with __libc_time.
957 (time): New strong alias and hidden definition of __libc_time.
958 (__GI_time): Remove strong alias.
959 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
960 Include <stddef.h>.
961 (memmove): Redefined to __redirect_memmove.
962 (__memmove_sse2): Use typeof __redirect_memmove.
963 (__memmove_ssse3): Likewise.
964 (__memmove_ssse3_back): Likewise.
965 (__libc_memmove): New prototype.
966 (memmove): Renamed to ...
967 (__libc_memmove): This.
968 (memmove): New strong alias of __libc_memmove.
969
33b4a91e
MS
9702012-08-08 Mark Salter <msalter@redhat.com>
971
972 * elf/elf.h
973 (R_MN10300_TLS_GD): Define.
974 (R_MN10300_TLS_LD): Likewise.
975 (R_MN10300_TLS_LDO): Likewise.
976 (R_MN10300_TLS_GOTIE): Likewise.
977 (R_MN10300_TLS_IE): Likewise.
978 (R_MN10300_TLS_LE): Likewise.
979 (R_MN10300_TLS_DTPMOD): Likewise.
980 (R_MN10300_TLS_DTPOFF): Likewise.
981 (R_MN10300_TLS_TPOFF): Likewise.
982 (R_MN10300_SYM_DIFF): Likewise.
983 (R_MN10300_ALIGN): Likewise.
984 (R_MN10300_NUM): Update.
985
b36137f1
JM
9862012-08-08 Joseph Myers <joseph@codesourcery.com>
987
988 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
989 Remove.
990
cdd915fd
RM
9912012-08-08 Roland McGrath <roland@hack.frob.com>
992
a2433aac
RM
993 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
994
cdd915fd
RM
995 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
996 sysdeps/unix -> sysdeps/posix move.
997 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
998
bf9b740a
AM
9992012-08-07 Allan McRae <allan@archlinux.org>
1000
1001 [BZ #14303]
1002 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1003 (SUNOS_CPP): Likewise.
1004 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1005 not found.
1006 (open_input): Call CPP using execvp.
1007
93df14ee
JM
10082012-08-07 Joseph Myers <joseph@codesourcery.com>
1009
1010 * sysdeps/unix/sysv/linux/kernel-features.h
1011 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1012 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1013 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1014 (__ASSUME_WAITID_SYSCALL): Likewise.
1015 * sysdeps/unix/sysv/linux/dl-execstack.c
1016 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1017 code unconditional.
1018 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1019 conditional code.
1020 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1021 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1022 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1023 code.
1024 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1025 unconditional.
1026 [__ASSUME_WAITID_SYSCALL]: Likewise.
1027 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1028
d34689de
RM
10292012-08-07 Roland McGrath <roland@hack.frob.com>
1030
a281decc
RM
1031 * sysdeps/unix/closedir.c: Renamed to ...
1032 * sysdeps/posix/closedir.c: ... here.
1033 * sysdeps/unix/dirfd.c: Renamed to ...
1034 * sysdeps/posix/dirfd.c: ... here.
1035 * sysdeps/unix/dirstream.h: Renamed to ...
1036 * sysdeps/posix/dirstream.h: ... here.
1037 * sysdeps/unix/fdopendir.c: Renamed to ...
1038 * sysdeps/posix/fdopendir.c: ... here.
1039 * sysdeps/unix/opendir.c: Renamed to ...
1040 * sysdeps/posix/opendir.c: ... here.
1041 * sysdeps/unix/readdir.c: Renamed to ...
1042 * sysdeps/posix/readdir.c: ... here.
1043 * sysdeps/unix/readdir_r.c: Renamed to ...
1044 * sysdeps/posix/readdir_r.c: ... here.
1045 * sysdeps/unix/rewinddir.c: Renamed to ...
1046 * sysdeps/posix/rewinddir.c: ... here.
1047 * sysdeps/unix/seekdir.c: Renamed to ...
1048 * sysdeps/posix/seekdir.c: ... here.
1049 * sysdeps/unix/telldir.c: Renamed to ...
1050 * sysdeps/posix/telldir.c: ... here.
1051 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1052 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1053 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1054 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1055
22895b47
RM
1056 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1057 * bits/fcntl.h: ... here.
1058
707a53b6
RM
1059 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1060 not 0.
1061 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1062 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1063 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1064 (struct flock): Move l_start, l_len to the beginning.
1065 Use __pid_t for l_pid.
1066 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1067 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1068 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1069 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1070 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1071 [__USE_LARGEFILE64] (struct flock64): New type.
1072 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1073
f0bd3e25
RM
1074 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1075 * bits/dirent.h: ... here.
1076
d34689de
RM
1077 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1078 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1079
6dad2c06
JM
10802012-08-07 Joseph Myers <joseph@codesourcery.com>
1081
1082 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1083 Change from 2.6.0 to 2.6.16.
1084 * sysdeps/unix/sysv/linux/configure: Regenerated.
1085 * sysdeps/unix/sysv/linux/kernel-features.h
1086 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1087 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1088 version.
1089 (__ASSUME_UTIMES): Likewise.
1090 (__ASSUME_CLONE_STOPPED): Remove.
1091 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1092 architectures, not kernel version.
1093 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1094 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1095 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1096 (__ASSUME_WAITID_SYSCALL): Likewise.
1097 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1098 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1099 * README: State 2.6.16 as minimum Linux kernel version. Do not
1100 refer to older versions.
1101
03af9520
RM
11022012-08-06 Roland McGrath <roland@hack.frob.com>
1103
8e49df1d
RM
1104 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1105 Define alphasort64 as an alias.
1106 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1107 Define versionsort64 as an alias.
1108 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1109 Define scandir64 as an alias.
1110 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1111 Define scandirat64 as an alias.
1112 * dirent/alphasort64.c (alphasort64):
1113 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1114 * dirent/versionsort64.c: Likewise.
1115 * dirent/scandir64.c: Likewise.
1116 * dirent/scandirat64.c: Likewise.
1117 * sysdeps/wordsize-64/alphasort.c: File removed.
1118 * sysdeps/wordsize-64/alphasort64.c: File removed.
1119 * sysdeps/wordsize-64/scandir.c: File removed.
1120 * sysdeps/wordsize-64/scandir64.c: File removed.
1121 * sysdeps/wordsize-64/scandirat.c: File removed.
1122 * sysdeps/wordsize-64/scandirat64.c: File removed.
1123 * sysdeps/wordsize-64/versionsort.c: File removed.
1124 * sysdeps/wordsize-64/versionsort64.c: File removed.
1125 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1126 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1128 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1130 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1131 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1132 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1133
1134 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1136 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1138 [defined __arch64__ || defined __sparcv9]
1139 (__INO_T_MATCHES_INO64_T): New macro.
1140 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1141 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1142 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1143 * sysdeps/unix/sysv/linux/bits/dirent.h
1144 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1145 (_DIRENT_MATCHES_DIRENT64): New macro.
1146
03af9520
RM
1147 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1148 Define lockf64 as an alias.
1149 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1150 Define fseeko64 as an alias.
1151 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1152 Define ftello64 as an alias.
1153 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1154 Define _IO_fgetpos64 and fgetpos64 as aliases.
1155 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1156 Define _IO_fsetpos64 and fsetpos64 as aliases.
1157 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1158 Conditionalize body on this.
1159 * libio/fseeko64.c: Likewise.
1160 * libio/ftello64.c: Likewise.
1161 * libio/iofgetpos64.c: Likewise.
1162 * libio/iofsetpos64.c: Likewise.
1163 * sysdeps/wordsize-64/lockf.c: File removed.
1164 * sysdeps/wordsize-64/lockf64.c: File removed.
1165 * sysdeps/wordsize-64/fseeko.c: File removed.
1166 * sysdeps/wordsize-64/fseeko64.c: File removed.
1167 * sysdeps/wordsize-64/ftello.c: File removed.
1168 * sysdeps/wordsize-64/ftello64.c: File removed.
1169 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1170 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1171 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1172 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1173 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1174 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1175 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1176 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1177 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1178 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1179 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1180 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1182 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1183
1184 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1186 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1188 [defined __arch64__ || defined __sparcv9]
1189 (__OFF_T_MATCHES_OFF64_T): New macro.
1190 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1191 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1193 (__OFF_T_MATCHES_OFF64_T): New macro.
1194
c5757acd
L
11952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1196
1197 * stdlib/secure-getenv.c (__secure_getenv): Replace
1198 GLIBC_2_16 with GLIBC_2_17.
1199
3a31811e
L
12002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1203 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1204
faa2bccb
DM
12052012-08-03 David S. Miller <davem@davemloft.net>
1206
1207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1208
85fe1997
JM
12092012-08-03 Joseph Myers <joseph@codesourcery.com>
1210
1211 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1212 Remove.
1213 (__ASSUME_CORRECT_SI_PID): Likewise.
1214 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1215 (__ASSUME_TMPFS_NAME): Likewise.
1216 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1217 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1218 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1219 (HAVE_AUX_SECURE): Make definition unconditional.
1220 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1221 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1222
4f75b7a0
RM
12232012-08-03 Roland McGrath <roland@hack.frob.com>
1224
1225 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1226 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1227 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1228 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1229 __eloop_threshold instead of SYMLOOP_MAX.
1230
1231 * sysdeps/generic/eloop-threshold.h: New file.
1232 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1233 of MAXSYMLINKS.
1234 * elf/chroot_canon.c (chroot_canon): Likewise.
1235
7aab07e4
JM
12362012-08-03 Joseph Myers <joseph@codesourcery.com>
1237
1238 [BZ #13717]
1239 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1240 Change to 2.6.0 everywhere.
1241 * sysdeps/unix/sysv/linux/configure: Regenerated.
1242 * sysdeps/unix/sysv/linux/kernel-features.h
1243 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1244 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1245 kernel versions.
1246 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1247 (__ASSUME_FUTEX_REQUEUE): Remove.
1248 (__ASSUME_STATFS64): Define unconditionally.
1249 (__ASSUME_AT_SECURE): Likewise.
1250 (__ASSUME_CORRECT_SI_PID): Likewise.
1251 (__ASSUME_TGKILL): Define without depending on kernel version for
1252 i386.
1253 (__ASSUME_UTIMES): Likewise.
1254 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1255 kernel version.
1256 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1257 (__ASSUME_TMPFS_NAME): Likewise.
1258 * README: Update reference to Linux kernel versions.
1259
b67e9372
MP
12602012-08-02 Marek Polacek <polacek@redhat.com>
1261
1f529f7d 1262 [BZ# 14150]
b67e9372
MP
1263 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1264 libc_cv_asm_type_prefix with %.
1265 * configure: Regenerated.
d2441631
RM
1266 * include/libc-symbols.h: Remove comment about
1267 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1268 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1269 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1270 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1271 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1272 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1273 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1274 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1275 * elf/tst-unique2mod1.c: Likewise.
1276 * elf/tst-unique1mod2.c: Likewise.
1277 * elf/tst-unique1mod1.c: Likewise.
1278 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1279 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1280 Replace ASM_TYPE_DIRECTIVE with .type.
1281 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1282 * sysdeps/i386/sysdep.h: Likewise.
1283 * sysdeps/x86_64/sysdep.h: Likewise.
1284 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1286 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1287 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1288 * sysdeps/powerpc/powerpc32/sysdep.h:
1289 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1290 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1291 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1292 * sysdeps/i386/fpu/e_powf.S: Likewise.
1293 * sysdeps/i386/fpu/e_expl.S: Likewise.
1294 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1295 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1296 * sysdeps/i386/fpu/e_pow.S: Likewise.
1297 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1298 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1299 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1300 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1301 * sysdeps/i386/fpu/e_log2.S: Likewise.
1302 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1303 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1304 * sysdeps/i386/fpu/e_powl.S: Likewise.
1305 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1306 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1307 * sysdeps/i386/fpu/e_logl.S: Likewise.
1308 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1309 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1310 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1311 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1312 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1313 * sysdeps/i386/fpu/e_log.S: Likewise.
1314 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1315 * sysdeps/i386/fpu/e_logf.S: Likewise.
1316 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1317 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1318 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1319 * sysdeps/i386/fpu/e_log10.S: Likewise.
1320 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1321 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1322 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1323 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1324 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1325 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1326 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1327 * sysdeps/i386/i686/strtok.S: Likewise.
1328 * sysdeps/i386/i386-mcount.S: Likewise.
1329 * sysdeps/i386/strtok.S: Likewise.
1330 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1331 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1333 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1334 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1335 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1336 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1337 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1338 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1339 * sysdeps/x86_64/_mcount.S: Likewise.
1340 * sysdeps/x86_64/strtok.S: Likewise.
1341 * sysdeps/sh/_mcount.S: Likewise.
1342
2747bf9a
RM
13432012-08-01 Roland McGrath <roland@hack.frob.com>
1344
1345 * libio/iofopen.c: Include <fcntl.h>.
1346 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1347 (_IO_fopen64, fopen64): Define as aliases.
1348 * libio/iofopen64.c: Include <fcntl.h>.
1349 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1350 Conditionalize body on this.
1351 * sysdeps/wordsize-64/iofopen.c: File removed.
1352 * sysdeps/wordsize-64/iofopen64.c: File removed.
1353
3fb791b8
MP
13542012-08-01 Marek Polacek <polacek@redhat.com>
1355
1356 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1357 Use dlfcn directly instead of a variable.
1358 (binfmt-subdir): Do not define.
1359 (dlfcn): Likewise.
1360
a9f1039f
JM
13612012-08-01 Joseph Myers <joseph@codesourcery.com>
1362
23bddc06
JM
1363 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1364 Remove all definitions.
1365 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1366 <kernel-features.h>.
1367 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1368 (miss_F_GETOWN_EX): Remove all definitions.
1369 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1370 macro definition.
1371 [!__ASSUME_FCNTL64]: Remove conditional code.
1372 [__ASSUME_FCNTL64]: Make code unconditional.
1373 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1374 <kernel-features.h>.
1375 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1376 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1377 (lockf64) [__NR_fcntl64]: Make code unconditional.
1378 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1379
a9f1039f
JM
1380 * sysdeps/unix/sysv/linux/kernel-features.h
1381 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1382 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1383 Make code unconditional.
1384 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1385 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1387 [__NR_vfork]: Make code unconditional.
1388 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1389 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1391 [__NR_vfork]: Make code unconditional.
1392 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1393 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1394
09c0ee5f
RM
13952012-08-01 Roland McGrath <roland@hack.frob.com>
1396
48aec5b9
RM
1397 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1398 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1399
cd97c966
RM
1400 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1401 Define mkstemp64 as an alias.
3f55550c
RM
1402 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1403 Define mkstemps64 as an alias.
cd97c966
RM
1404 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1405 Define mkostemp64 as an alias.
b8625cfc
RM
1406 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1407 Define mkostemps64 as an alias.
cd97c966
RM
1408 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1409 Conditionalize body on this.
1410 * misc/mkostemp64.c: Likewise.
b8625cfc 1411 * misc/mkostemps64.c: Likewise.
3f55550c 1412 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1413 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1414 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1415 * sysdeps/wordsize-64/mkostemp.c: File removed.
1416 * sysdeps/wordsize-64/mkstemp.c: File removed.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1421
09c0ee5f
RM
1422 [BZ #14138]
1423 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1424 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1425 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1426 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1427
1428 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1429 compat_symbol macros from <shlib-compat.h> rather than the underlying
1430 default_symbol_version and symbol_version macros, so that DEFAULT
1431 lines in shlib-versions are respected.
1432 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1433
7e66ee51
FW
14342012-08-01 Florian Weimer <fweimer@redhat.com>
1435
1436 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1437 Declare with warn_unused_result.
1438 (setgid, setregid, setegid, setresgid): Likewise.
1439 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1440 Likewise.
1441 * WUR-REPORT: Remove set*id functions.
1442
d2a54255
PT
14432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1444
1445 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1446
7ecdb005
RM
14472012-07-31 Roland McGrath <roland@hack.frob.com>
1448
789bd351
RM
1449 * include/sys/socket.h (__libc_accept, __libc_accept4):
1450 Add attribute_hidden.
1451 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1452
40ce302d
RM
1453 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1454 use of PTR_MANGLE.
1455 * inet/getnetgrent_r.c (setup): Likewise.
1456
7ecdb005
RM
1457 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1458
e2eabb2c
DM
14592012-07-31 David S. Miller <davem@davemloft.net>
1460
1461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1462
d0419dbf
JM
14632012-07-31 Joseph Myers <joseph@codesourcery.com>
1464
1465 [BZ #13629]
1466 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1467 value between 1.0 and 2.0 and smaller part has absolute value less
1468 than 1.0.
1469 * math/s_clog10.c (__clog10): Likewise.
1470 * math/s_clog10f.c (__clog10f): Likewise.
1471 * math/s_clog10l.c (__clog10l): Likewise.
1472 * math/s_clogf.c (__clogf): Likewise.
1473 * math/s_clogl.c (__clogl): Likewise.
1474 * math/libm-test.inc (clog_test): Add more tests.
1475 (clog10_test): Likewise.
1476 * sysdeps/i386/fpu/libm-test-ulps: Update.
1477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1478
2bc13872
FW
14792012-07-31 Florian Weimer <fweimer@redhat.com>
1480
1481 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1482 Exit with zero in case no suitable GID is found, and write a
1483 message to standard error.
1484
bea9b193
RM
14852012-07-30 Roland McGrath <roland@hack.frob.com>
1486
1487 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1488 rather than to 1.
1489 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1490 (MAXPATHLEN): Removed.
1491 (NOGROUP, NODEV): New macros.
1492 (setbit, clrbit, isset, isclr): New macros.
1493 (howmany, roundup, powerof2): New macros.
1494 (DEV_BSIZE): New macro.
1495
1496 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1497 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1498
1499 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1500 definition on [!__NO_LONG_DOUBLE_MATH].
1501
1502 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1503 PTR_MANGLE and PTR_DEMANGLE.
1504
1505 * socket/accept4.c (accept4): Rename to __libc_accept4.
1506 Define accept4 as a weak alias.
1507
1508 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1509 on [_DIRENT_HAVE_D_TYPE].
1510 * io/ftw.c (ftw_dir): Likewise.
1511
1512 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1513
1514 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1515
1516 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1517 Use the BSD numbers rather than the arbitrary ones we had.
1518 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1519 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1520 (SIGXCPU, SIGXFSZ): New macros.
1521 (_NSIG): Now 32.
1522
1523 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1524 initializer on [_LIBC_REENTRANT].
1525
1526 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1527 definitions inside [_POSIX_MAPPED_FILES].
1528
1529 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1530
1531 * dirent/opendir.c: Include <fcntl.h>.
1532
1533 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1534 (__libc_getspecific): Likewise.
1535 (__libc_key_create): Likewise.
1536
1537 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1538 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1539 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1540 (tmpfile64): Define as alias.
1541 * sysdeps/wordsize-64/tmpfile.c: File removed.
1542 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1543 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1544 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1545
1546 * stdio-common/vfscanf.c: Include <stdbool.h>.
1547 * nss/makedb.c: Likewise.
1548 * stdio-common/_i18n_number.h: Likewise.
1549 * argp/argp-help.c: Likewise.
1550 * posix/wordexp.c: Likewise.
1551 * sysdeps/posix/spawni.c: Likewise.
1552 * nss/nss_files/files-initgroups.c: Likewise.
1553 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1554 * nss/nss_files/files-initgroups.c: Likewise.
1555 * nss/nss_db/db-netgrp.c: Likewise.
1556 * nss/nss_db/db-initgroups.c: Likewise.
1557 * io/fchmodat.c: Include <sys/stat.h>.
1558
1559 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1560 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1561
1562 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1563 [HAVE_MMAP].
1564
1565 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1566 Add multiple inclusion protection.
1567
e5abc686
DM
15682012-07-27 David S. Miller <davem@davemloft.net>
1569
1570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1571
815e6fa3
GB
15722012-07-27 Gary Benson <gbenson@redhat.com>
1573
1574 [BZ #14298]
1575 * elf/rtld.c: Include <stap-probe.h>.
1576 (dl_main): Added static probes "init_start" and "init_complete".
1577 * elf/dl-load.c: Include <stap-probe.h>.
1578 (lose): Take new parameter "nsid".
1579 Added static probe "map_failed".
1580 (_dl_map_object_from_fd): Pass namespace id to lose.
1581 Added static probe "map_start".
1582 (open_verify): Pass namespace id to lose.
1583 * elf/dl-open.c: Include <stap-probe.h>.
1584 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1585 and "reloc_complete".
1586 * elf/dl-close.c: Include <stap-probe.h>.
1587 (_dl_close_worker): Added static probes "unmap_start" and
1588 "unmap_complete".
1589 * elf/rtld-debugger-interface.txt: New file documenting the above.
1590
9f98c16c
RM
15912012-07-26 Roland McGrath <roland@hack.frob.com>
1592
1593 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1594 rather than a string variable.
1595 * sunrpc/rpc_main.c (h_output): Likewise.
1596 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1597
f3c22df3
PT
15982012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1599
1600 * inet/check_native.c: New file.
1601
3129cfc6
JM
16022012-07-26 Joseph Myers <joseph@codesourcery.com>
1603
da865e95
JM
1604 [BZ #13629]
1605 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1606 if larger part has absolute value 1.0.
1607 * math/s_clog10.c (__clog10): Likewise.
1608 * math/s_clog10f.c (__clog10f): Likewise.
1609 * math/s_clog10l.c (__clog10l): Likewise.
1610 * math/s_clogf.c (__clogf): Likewise.
1611 * math/s_clogl.c (__clogl): Likewise.
1612 * math/libm-test.inc (clog_test): Add more tests.
1613 (clog10_test): Likewise.
1614 * sysdeps/i386/fpu/libm-test-ulps: Update.
1615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1616
3129cfc6
JM
1617 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1618 (pltexit): Likewise.
1619 (La_regs): Likewise.
1620 (La_retval): Likewise.
1621 (int_retval): Likewise.
1622 Update #error for removed macros to refer only to definitions in
1623 tst-audit.h.
1624 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1625 macro.
1626 (pltexit): Likewise.
1627 (La_regs): Likewise.
1628 (La_retval): Likewise.
1629 (int_retval): Likewise.
1630 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1631 macro.
1632 (pltexit): Likewise.
1633 (La_regs): Likewise.
1634 (La_retval): Likewise.
1635 (int_retval): Likewise.
1636 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1637 macro.
1638 (pltexit): Likewise.
1639 (La_regs): Likewise.
1640 (La_retval): Likewise.
1641 (int_retval): Likewise.
1642 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1643 macro.
1644 (pltexit): Likewise.
1645 (La_regs): Likewise.
1646 (La_retval): Likewise.
1647 (int_retval): Likewise.
1648 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1649 macro.
1650 (pltexit): Likewise.
1651 (La_regs): Likewise.
1652 (La_retval): Likewise.
1653 (int_retval): Likewise.
1654 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1655 macro.
1656 (pltexit): Likewise.
1657 (La_regs): Likewise.
1658 (La_retval): Likewise.
1659 (int_retval): Likewise.
1660 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1661 macro definitions in tst-audit.h.
1662 * sysdeps/i386/tst-audit.h: New file.
1663 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1664 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1665 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1666 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1667 * sysdeps/sh/tst-audit.h: Likewise.
1668 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1669 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1670 * sysdeps/x86_64/tst-audit.h: Likewise.
1671
bfc07087
AJ
16722012-07-26 Andreas Jaeger <aj@suse.de>
1673
b1b2aaf8
AJ
1674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1675 ptrace.
1676
1677 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1678 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1679 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1680 PTRACE_O_MASK.
1681 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1682 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1684
bfc07087
AJ
1685 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1686 value.
1687
1688 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1689 _sigsys.
1690 (si_call_addr, si_syscall, si_arch): Define new macro.
1691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1692 _sigsys.
1693 (si_call_addr, si_syscall, si_arch): Define new marcro.
1694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1695 _sigsys.
1696 (si_call_addr, si_syscall, si_arch): Define new macro.
1697 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1698 _sigsys.
1699 (si_call_addr, si_syscall, si_arch): Define new macro.
1700
89b4b02f
JM
17012012-07-25 Joseph Myers <joseph@codesourcery.com>
1702
1703 [BZ #13717]
1704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1705 Change to 2.4.21 where previously 2.4.1.
1706 * sysdeps/unix/sysv/linux/configure: Regenerated.
1707 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1708 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1709 Linux kernel version.
1710 (__ASSUME_STD_AUXV): Remove.
1711 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1712 kernel version.
1713 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1714 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1715 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1716 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1717 (__ASSUME_NETLINK_SUPPORT): Likewise.
1718 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1719 (__no_netlink_support): Remove conditional definition.
1720 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1721 Remove.
1722 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1723 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1724 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1725 (if_nameindex_ioctl): Remove.
1726 (if_nameindex_netlink): Do not handle __no_netlink_support.
1727 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1728 code.
1729 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1730 Remove conditional code.
1731 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1732 code.
1733 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1734 unconditional.
1735 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1736 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1737 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1738 Remove.
1739 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1740 [!__ASSUME_STD_AUXV]: Remove conditional code.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1742 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1743 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1745 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1746 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1747 code.
1748 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1750 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1751 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1752 conditional code.
1753 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1755 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1756 code.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1758 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1759 conditional code.
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1761 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1762 code unconditional.
1763 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1764 conditional code.
1765 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1766 unconditional.
1767 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1768 conditional code.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1770 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1771 unconditional.
1772 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1773 conditional code.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1775 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1776 code unconditional.
1777 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1778 conditional code.
1779 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1780 unconditional.
1781 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1782 conditional code.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1784 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1785 code unconditional.
1786 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1787 conditional code.
1788 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1789 unconditional.
1790 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1791 conditional code.
1792
842a39cd
AS
17932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1794
1795 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1796 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1797 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1798 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1799 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1800 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1801 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1802 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1803 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1804 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1805 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1806 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1807 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1808 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1810 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1811 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1813 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1815 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1816 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1817 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1818
84b3fd84
FW
18192012-07-25 Florian Weimer <fweimer@redhat.com>
1820
1821 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1822 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1823 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1824 Introduce __libc_secure_getenv.
0c7936d5
FW
1825 * stdlib/Versions (2.17): Add secure_getenv
1826 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1827 * stdlib/secure-getenv.c: Rename __secure_getenv to
1828 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1829 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1830 * stdlib/tst-secure-getenv.c: New.
1831 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1832 * manual/startup.texi (Environment Access): Document
1833 secure_getenv.
84b3fd84
FW
1834 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1835 __libc_secure_getenv.
1836 * inet/ruserpass.c (ruserpass): Likewise.
1837 * malloc/mtrace.c (mtrace): Likewise.
1838 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1839 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1840 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1841 * sysdeps/posix/tempname.c: Likewise. Evaluate
1842 HAVE_SECURE_GETENV.
1843 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1844 __secure_getenv to __libc_secure_getenv.
84b3fd84 1845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1847 Likewise.
1848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1849 Likewise.
1850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1857
56e49b71
JM
18582012-07-25 Joseph Myers <joseph@codesourcery.com>
1859
1860 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1861 (struct La_i86_retval): Likewise.
1862 (struct La_x86_64_regs): Likewise.
1863 (struct La_x86_64_retval): Likewise.
1864 (struct La_x32_regs): Likewise.
1865 (struct La_x32_retval): Likewise.
1866 (struct La_ppc32_regs): Likewise.
1867 (struct La_ppc32_retval): Likewise.
1868 (struct La_ppc64_regs): Likewise.
1869 (struct La_ppc64_retval): Likewise.
1870 (struct La_sh_regs): Likewise.
1871 (struct La_sh_retval): Likewise.
1872 (struct La_s390_32_regs): Likewise.
1873 (struct La_s390_32_retval): Likewise.
1874 (struct La_s390_64_regs): Likewise.
1875 (struct La_s390_64_retval): Likewise.
1876 (struct La_sparc32_regs): Likewise.
1877 (struct La_sparc32_retval): Likewise.
1878 (struct La_sparc64_regs): Likewise.
1879 (struct La_sparc64_retval): Likewise.
1880 (struct audit_ifaces): Remove architecture-specific pltenter and
1881 pltexit members.
1882 * sysdeps/i386/ldsodefs.h: New file.
1883 * sysdeps/powerpc/ldsodefs.h: Likewise.
1884 * sysdeps/s390/ldsodefs.h: Likewise.
1885 * sysdeps/sh/ldsodefs.h: Likewise.
1886 * sysdeps/sparc/ldsodefs.h: Likewise.
1887 * sysdeps/x86_64/ldsodefs.h: Likewise.
1888
354691b7
MP
18892012-07-25 Marek Polacek <polacek@redhat.com>
1890
1891 [BZ #6808]
1892 * math/libm-test.inc (yn_test): Add another test.
1893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1894 to ERANGE when the result is +-Inf.
1895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1896 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1897 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1898 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1899
bf9e2071
JM
19002012-07-24 Joseph Myers <joseph@codesourcery.com>
1901
1902 * conform/data/time.h-data (NULL): Use macro-constant. Require
1903 equal to 0.
1904 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1905 clock_t.
1906 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1907
57633811
TS
19082012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1909
1910 * configure.in <sysdeps resolving>: Correct printing
1911 Implies_before.
1912 * configure: Regenerate.
1913
c23c33b0
TS
19142012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1915
1916 * math/w_ilogb.c: Include <limits.h>.
1917 * math/w_ilogbl.c: Likewise.
1918
b5982523
JM
19192012-07-20 Joseph Myers <joseph@codesourcery.com>
1920
1921 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1922 va_copy. Document allowing for unavailable va_copy only as
1923 pre-C99 compatibility.
1924 * manual/string.texi (Copying and Concatenation): Use va_copy
1925 instead of __va_copy in concat example.
1926
ac4ea442
PT
19272012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1928
1929 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1930 (__sendto): Use create_address_port. Initialize APORT and deallocate
1931 it if not null.
1932
f98eafbd
PT
1933 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1934 with O_NOLINK passed to __file_name_lookup.
1935
898c7aab
PT
1936 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1937 with O_NOLINK passed to __file_name_lookup.
1938
0ced335a
PT
1939 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1940 negative N or less than NGIDS.
1941
b3404dbd
PT
1942 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1943 type to string_t. Set ERANGE as errno and return it if NAME is not big
1944 enough. Use memcpy instead of strncpy.
1945
0f48659e
JM
19462012-07-20 Joseph Myers <joseph@codesourcery.com>
1947
1948 * elf/Makefile (check-data): Remove.
1949 (localplt.data): New vpath directive.
1950 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1951 instead of $(check-data).
1952 * scripts/data/localplt-generic.data: Move to ...
1953 * sysdeps/generic/localplt.data: ... here.
1954 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1955 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1956 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1958 ... here.
1959 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1961 ... here.
1962 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1964 ... here.
1965 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1967 ... here.
1968 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1970 ... here.
1971 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1973 ... here.
1974
d37cbdaa
AZ
19752012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1976
1977 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1978 PPC32 and PPC64 files.
1979 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1980 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1981
46f85fc2
AK
19822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1983
1984 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1985 __makecontext_ret to ...
1986 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1987 ... here and call exit if uc_link is NULL. New file.
1988 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1989 __makecontext_ret.S.
1990 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1991 __makecontext_ret to ...
1992 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1993 ... here and call exit if uc_link is NULL. New file.
1994 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1995 __makecontext_ret.S.
1996
08f43f9b
AK
19972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1998
1999 * elf/elf.h (R_390_IRELATIVE): New definition.
2000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2001 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2002 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2003 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2004 (elf_machine_lazy_rel): Likewise.
2005 * sysdeps/s390/dl-irel.h: New file.
2006 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2007 * sysdeps/s390/s390-64/memset.S: New asm code.
2008 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2009 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2010 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2011 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2012 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2013 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2015 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2016 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2017 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2018 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2019 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2020 * sysdeps/s390/s390-32/memset.S: New asm code.
2021 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2022
3b05db33
MP
20232012-07-17 Marek Polacek <polacek@redhat.com>
2024
2025 [BZ #14349]
2026 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2027 * sysdeps/s390/s390-64/configure.in: Likewise.
2028 * sysdeps/sparc/configure.in: Likewise.
2029 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2030 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2031 * sysdeps/i386/configure.in: Likewise.
2032 * sysdeps/x86_64/configure.in: Likewise.
2033 * sysdeps/sh/configure.in: Likewise.
2034 * sysdeps/s390/s390-32/configure: Regenerated.
2035 * sysdeps/s390/s390-64/configure: Likewise.
2036 * sysdeps/x86_64/configure: Likewise.
2037 * sysdeps/sh/configure: Likewise.
2038 * sysdeps/powerpc/powerpc64/configure: Likewise.
2039 * sysdeps/powerpc/powerpc32/configure: Likewise.
2040 * sysdeps/sparc/configure: Likwise.
2041 * sysdeps/i386/configure: Likewise.
2042
a66877c6
MP
2043 * elf/dl-open.c: Comment fixes.
2044
cfc82fd8
JM
20452012-07-17 Joseph Myers <joseph@codesourcery.com>
2046
bd29910a
JM
2047 * Makefile [CXX] (check-data): Remove.
2048 [CXX] (c++-types.data): New vpath directive.
2049 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2050 vpath. Do not allow for C++ type data being missing.
2051 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2052 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2053 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2054 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2055 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2056 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2057 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2059 ... here.
2060 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2062 ... here.
2063 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2065 ... here.
2066 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2068 ... here.
2069 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2071 ... here.
2072 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2074 ... here.
2075 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2077 ... here.
2078 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2080
cfc82fd8
JM
2081 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2082 definitions to architecture-specific files.
2083 (TLS_IE): Likewise.
2084 (TLS_LD): Likewise.
2085 (TLS_GD): Likewise.
2086 * sysdeps/i386/tls-macros.h: New file.
2087 * sysdeps/powerpc/tls-macros.h: Likewise.
2088 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2089 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2090 * sysdeps/sh/tls-macros.h: Likewise.
2091 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2092 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2093 * sysdeps/x86_64/tls-macros.h: Likewise.
2094
f7db3170
TS
20952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2096
07cbfc23
TS
2097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2098 zero value for regular exit case.
2099
f7db3170
TS
2100 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2101 (__start_context): Preserve zero value for regular exit case.
2102
dc97c227
TS
21032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2104 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2105
2106 * manual/setjmp.texi (setcontext): Clarify normal process
2107 termination when uc_link is the null pointer.
2108 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2109 exit call.
2110
d0cd7d02
AS
21112012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2112
2113 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2114 preprocessor. Test for each exception mask separately.
2115
dd318934
AJ
21162012-07-16 Andreas Jaeger <aj@suse.de>
2117
2118 * po/ru.po: Update from translation team.
2119
8048311a
JM
21202012-07-15 Joseph Myers <joseph@codesourcery.com>
2121
2122 * conform/data/string.h-data (NULL): Use macro-constant. Require
2123 equal to 0.
2124 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2125 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2126 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2127 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2129
b637d46e
AJ
21302012-07-13 Andreas Jaeger <aj@suse.de>
2131
2132 * po/fr.po: Update from translation team.
2133
541428fe
MP
21342012-07-12 Marek Polacek <polacek@redhat.com>
2135
2136 [BZ #14173]
2137 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2138 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2139 loop condition.
2140
ec332e94
JM
21412012-07-12 Joseph Myers <joseph@codesourcery.com>
2142
2143 [BZ #13717]
2144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2145 Change to 2.4.1 where previously 2.4.0.
2146 * sysdeps/unix/sysv/linux/configure: Regenerated.
2147 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2148 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2149 version.
2150 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2151 (__ASSUME_AT_CLKTCK): Remove.
2152 (__ASSUME_AT_PAGESIZE): Likewise.
2153 (__ASSUME_AT_XID): Likewise.
2154 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2155 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2156 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2157 unconditionally.
2158 (HAVE_AUX_PAGESIZE): Likewise.
2159 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2160 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2161 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2162
7b6e99be
JB
21632012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2164
2165 [BZ #14307]
2166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2167 the temporary buffer used to invoke __gethostbyname2_r,
2168 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2169 host_data / struct gaih_addrtuple.
2170 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2171 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2172 header file nss/nsswitch.h.
2173 * nss/nsswitch.h (global scope): Add definition of implementation
2174 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2175 resolv/nss_dns/dns-host.c).
2176
608404eb
AJ
21772012-07-11 Andreas Jaeger <aj@suse.de>
2178
2179 * po/fr.po: Update from translation team.
2180
71220aca
AJ
2181 * po/sv.po: Update from translation team
2182 * po/fr.po: Another update from translation team.
2183
28cfe843
AZ
21842012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2185
2186 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2187 for subnormals or multiply small sinh result by itself.
2188 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2190
6b90f981
DM
21912012-07-11 David S. Miller <davem@davemloft.net>
2192
2193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2194
c6825772
AS
21952012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2196
2197 [BZ #14347]
2198 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2199 (INTERNAL_MARK): Shift it here.
2200
7b8e0d49
MP
22012012-07-10 Marek Polacek <polacek@redhat.com>
2202
2203 [BZ #14151]
2204 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2205 libc_cv_asm_global_directive with .globl.
2206 * configure: Regenerated.
2207 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2208 with .globl.
2209 * sysdeps/i386/configure: Regenerated.
2210 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2211 with .globl.
2212 * sysdeps/x86_64/configure: Regenerated.
2213 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2214 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2215 * elf/tst-unique2mod2.c: Likewise.
2216 * elf/tst-unique2mod1.c: Likewise.
2217 * elf/tst-unique1mod2.c: Likewise.
2218 * elf/tst-unique1mod1.c: Likewise.
2219 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2220 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2222 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2223 * sysdeps/mach/sysdep.h: Likewise.
2224 * sysdeps/i386/sysdep.h: Likewise.
2225 * sysdeps/i386/i386-mcount.S: Likewise.
2226 * sysdeps/x86_64/_mcount.S: Likewise.
2227 * sysdeps/x86_64/sysdep.h: Likewise.
2228 * sysdeps/sh/_mcount.S: Likewise.
2229 * sysdeps/sh/sysdep.h: Likewise.
2230 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2231 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2232 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2233 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2234 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2235 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2236 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2237 * locale/localeinfo.h: Likewise.
2238 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2239 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2240
6c55cda3
RM
22412012-07-09 Roland McGrath <roland@hack.frob.com>
2242
2243 [BZ #14336]
2244 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2245 system".
2246 * manual/message.texi (The Uniforum approach): Likewise.
2247 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2248 (glibc iconv Implementation): Likewise.
2249
638a572e
JM
22502012-07-09 Joseph Myers <joseph@codesourcery.com>
2251
2252 [BZ #14337]
2253 * math/s_clog.c (__clog): Avoid scaling a value down where that
2254 could result in underflow.
2255 * math/s_clog10.c (__clog10): Likewise.
2256 * math/s_clog10f.c (__clog10f): Likewise.
2257 * math/s_clog10l.c (__clog10l): Likewise.
2258 * math/s_clogf.c (__clogf): Likewise.
2259 * math/s_clogl.c (__clogl): Likewise.
2260 * math/libm-test.inc (clog_test): Add more tests.
2261 (clog10_test): Likewise.
2262 * sysdeps/i386/fpu/libm-test-ulps: Update.
2263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2264
261f4859
AS
22652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2266
0abaf3e4
AS
2267 [BZ #14283]
2268 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2269 by 7 not 8 to examine high bit of fractional part.
2270
261f4859
AS
2271 [BZ #14042]
2272 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2273 for call to __mcount_internal.
2274 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2275 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2276 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2277
f17ac40d
JM
22782012-07-06 Joseph Myers <joseph@codesourcery.com>
2279
9ad63c23
JM
2280 [BZ #14154]
2281 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2282 approximation for values within 0x1p-13f of an odd multiple of
2283 pi/4.
2284 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2285 exception. Add more tests.
2286 * sysdeps/i386/fpu/libm-test-ulps: Update.
2287
f17ac40d
JM
2288 [BZ #6778]
2289 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2290 inputs and return -1 for them. Do not check for +Inf in case not
2291 reachable for +Inf.
2292 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2293 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2294 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2295 and return -1 for them. Do not check for +Inf in case not
2296 reachable for +Inf.
2297 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2298 define.
2299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2300 and return -1 for them. Do not check for +Inf in case not
2301 reachable for +Inf.
2302 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2303 spurious underflow.
2304 * sysdeps/i386/fpu/libm-test-ulps: Update.
2305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2306
fb21f89b
MF
23072012-07-06 Mike Frysinger <vapier@gentoo.org>
2308
2309 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2310
cdfe2c5e
JM
23112012-07-05 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #14157]
2314 [BZ #14331]
2315 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2316 could result in spurious underflow. Scale down values above
2317 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2318 * math/s_csqrtf.c (__csqrtf): Likewise.
2319 * math/s_csqrtl.c (__csqrtl): Likewise.
2320 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2321 spurious underflow.
2322 * sysdeps/i386/fpu/libm-test-ulps: Update.
2323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2324
70d35b67
AS
23252012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2326
704bc459
AS
2327 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2328 xopen-msg.sed.
2329 * catgets/xopen-msg.awk: New file.
2330 * catgets/xopen-msg.sed: Removed.
2331
70d35b67
AS
2332 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2333 po2text.sed.
2334 * intl/po2test.awk: New file.
2335 * intl/po2test.sed: Removed.
2336
ca61cf32
JM
23372012-07-04 Joseph Myers <joseph@codesourcery.com>
2338
2339 [BZ #14328]
2340 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2341 or multiply small sinh result by itself.
2342 * math/s_ctanf.c (__ctanf): Likewise.
2343 * math/s_ctanh.c (__ctanh): Likewise.
2344 * math/s_ctanhf.c (__ctanhf): Likewise.
2345 * math/s_ctanhl.c (__ctanhl): Likewise.
2346 * math/s_ctanl.c (__ctanl): Likewise.
2347 * math/libm-test.inc (ctan_test_tonearest): New function.
2348 (ctan_test_towardzero): Likewise.
2349 (ctan_test_downward): Likewise.
2350 (ctan_test_upward): Likewise.
2351 (ctanh_test_tonearest): Likewise.
2352 (ctanh_test_towardzero): Likewise.
2353 (ctanh_test_downward): Likewise.
2354 (ctanh_test_upward): Likewise.
2355 (main): Call these new functions.
2356 * sysdeps/i386/fpu/libm-test-ulps: Update.
2357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2358
ca48a46a
MF
23592012-07-03 Mike Frysinger <vapier@gentoo.org>
2360
2361 * .gitignore: Delete /ports entry.
2362
9d63d37d
AJ
23632012-07-03 Andreas Jaeger <aj@suse.de>
2364
2365 * po/bg.po: Update from translation team.
2366 * po/cs.po: Likewise.
2367 * po/de.po: Likewise.
2368 * po/hr.po: Likewise.
2369 * po/nl.pl: Likewise.
2370 * po/pl.po: Likewise.
2371 * po/vi.po: Likewise.
2372
370ca3d2
JM
23732012-07-03 Joseph Myers <joseph@codesourcery.com>
2374
95f5a9a8
JM
2375 * Makeconfig [!+link] (+link-before-libc): New variable.
2376 [!+link] (+link-after-libc): Likewise.
2377 [!+link] (+link-tests): Likewise.
2378 [!+link] (+link): Define in terms of $(+link-before-libc) and
2379 $(+link-after-libc).
2380 [!+link-static] (+link-static-before-libc): New variable.
2381 [!+link-static] (+link-static-after-libc): Likewise.
2382 [!+link-static] (+link-static-tests): Likewise.
2383 [!+link-static] (+link-static): Define in terms of
2384 $(+link-static-before-libc) and $(+link-static-after-libc).
2385 [build-shared] (link-libc-before-gnulib): New variable.
2386 [build-shared] (link-libc-tests): Likewise.
2387 [build-shared] (link-libc): Define in terms of
2388 $(link-libc-before-gnulib).
2389 [!build-shared] (link-libc-tests): New variable.
2390 (link-libc-static-tests): New variable.
2391 [!gnulib] (gnulib-arch): New variable.
2392 [!gnulib] (gnulib-tests): Likewise.
2393 [!gnulib] (static-gnulib-arch): Likewise.
2394 [!gnulib] (static-gnulib-tests): Likewise.
2395 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2396 Define with "=" instead of ":=".
2397 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2398 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2399 * Rules (binaries-all-notests): New variable.
2400 (binaries-all-tests): Likewise.
2401 (binaries-static-notests): Likewise.
2402 (binaries-static-tests): Likewise.
2403 (binaries-all): Define using $(binaries-all-notests) and
2404 $(binaries-all-tests).
2405 (binaries-static): Define using $(binaries-static-notests) and
2406 $(binaries-static-tests).
2407 (binaries-shared-tests): New variable.
2408 (binaries-shared-notests): Likewise.
2409 (binaries-shared): Remove variable.
2410 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2411 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2412 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2413 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2414 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2415 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2416 * elf/Makefile (sln-modules): New variable.
2417 (extra-objs): Add $(sln-modules:=.o).
2418 (ldconfig-modules): Add static-stubs.
2419 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2420 * elf/static-stubs.c: New file.
2421
7a845b2c
JM
2422 [BZ #14283]
2423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2424 by 7 not 8 to examine high bit of fractional part. Use volatile
2425 variables when splitting into final array of floats if
2426 __FLT_EVAL_METHOD__ != 0.
2427 * math/libm-test.inc (cos_test): Add another test.
2428 (sin_test): Likewise.
2429 * sysdeps/i386/fpu/libm-test-ulps: Update.
2430
e2283f38
JM
2431 [BZ #14273]
2432 * math/libm-test.inc (cosh_test): Add more tests.
2433
370ca3d2
JM
2434 * version.h (RELEASE): Set to "development".
2435 (VERSION): Set to "2.16.90".
2436
ee9247c3
CD
24372012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2438
2439 * NEWS: Update copyright. Remove last-updated date.
2440 Mention math library bug fixes and timezone data changes.
2441 * README: Mention GNU/Hurd, x32, and HPPA support status.
2442
4648c381
TS
24432012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2444
2445 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2446
aac78a43
AJ
24472012-06-27 Andreas Jaeger <aj@suse.de>
2448
2449 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2450
ed3dbfad
AJ
24512012-06-25 Andreas Jaeger <aj@suse.de>
2452
2453 * sysdeps/s390/fpu/libm-test-ulps: Update.
2454
4d0ee855
AS
24552012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2456 Thomas Schwinge <thomas@codesourcery.com>
2457
2458 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2459 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2461 fanotify_mark.
2462
af1bce34
TS
24632012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2464
a9fa33ba
TS
2465 * sysdeps/mach/start.c: Remove file.
2466 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2467 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2468 * sysdeps/sh/init-first.c: Likewise.
2469
58f902b8
TS
2470 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2471 registers for frame unwinding purposes, add CFI directives.
2472 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2473 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2474 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2475 Likewise.
2476
1518f58b
TS
2477 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2478 __fortify_fail returning.
2479 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2480
db9b5059
TS
2481 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2482 sysdeps/sh/____longjmp_chk.S.
2483 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2484 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2485 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2486 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2487
967705fe
TS
2488 * sysdeps/sh/abort-instr.h: New file.
2489 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2490 process in case exit returns.
2491
a9def8c4
TS
2492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2493 initialize the GOT register before use.
2494
2a649725
TS
2495 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2496 calculation of ARGC > 4.
2497
af1bce34
TS
2498 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2499 meaningful names to some local labels.
2500
d230f50a
KK
25012012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2502 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2503
2504 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2505 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2506 (__arch_compare_and_exchange_val_16_acq): Likewise.
2507 (__arch_compare_and_exchange_val_32_acq): Likewise.
2508 (atomic_exchange_and_add): Fix gUSA sequence.
2509 (atomic_add): Likewise.
2510 (atomic_add_negative): Likewise.
2511 (atomic_add_zero): Likewise.
2512 (atomic_bit_test_set): Likewise.
2513
0479b305
AS
25142012-06-22 Andreas Schwab <schwab@redhat.com>
2515
2516 [BZ #13579]
2517 * include/link.h (struct link_map): Add l_free_initfini.
2518 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2519 l_initfini.
2520 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2521 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2522 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2523 set.
2524
0e3933b9
CD
25252012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2526
2527 * configure.in: Use AC_LANG_SOURCE.
2528 * configure: Regenerate.
2529
4248b1b1
RM
25302012-06-22 Roland McGrath <roland@hack.frob.com>
2531
2532 * configure.in (libc_cv_localstatedir): New substituted variable.
2533 * configure: Regenerated.
2534 * config.make.in (localstatedir): New variable, substituted from
2535 libc_cv_localstatedir.
2536 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2537 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2538 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2539 * sysdeps/gnu/configure: Regenerated.
2540
006dd861
JL
25412012-06-21 Jeff Law <law@redhat.com>
2542
2543 [BZ #14277]
2544 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2545 free. Simplify list management for _LIBC case.
2546
79662d42
JM
25472012-06-21 Joseph Myers <joseph@codesourcery.com>
2548
b7abb4bf
JM
2549 [BZ #14273]
2550 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2551 Clear sign bit of 64-bit integer value before comparing against
2552 overflow value.
2553
79662d42
JM
2554 * sysdeps/mach/configure: Regenerated.
2555
1f150908
L
25562012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 [BZ #14278]
2559 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2560
28363bbf
JL
25612012-06-21 Jeff Law <law@redhat.com>
2562
2563 [BZ #13882]
2564 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2565 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2567 * elf/dl-open.c (dl_open_worker): Likewise.
2568
09615db4
CD
25692012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2570
2571 * scripts/list-sources.sh: Scan PORTS for translations.
2572 * po/libc.pot: Regenerated.
2573
2174c6dd
AJ
25742012-06-21 Andreas Jaeger <aj@suse.de>
2575
2576 [BZ #12194]
2577 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2578 warning.
2579 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2580 * bits/byteswap-16.h (__bswap_16): Likewise.
2581 * bits/byteswap.h (__bswap_constant_16): Likewise.
2582
3ee947b1
L
25832012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 [BZ #14117]
a2f34833
L
2586 * sysdeps/i386/fpu_control.h: Removed.
2587 * sysdeps/x86_64/fpu_control.h: Moved to ...
2588 * sysdeps/x86/fpu_control.h: Here.
2589
3ee947b1
L
2590 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2591 (_FPU_SETCW): Likewise.
2592
ed1825f8
L
25932012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2594
25f1282a
L
2595 [BZ #14117]
2596 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2597 * sysdeps/x86/fpu/bits/mathinline.h: This.
2598 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2599
ed1825f8
L
2600 [BZ #14050]
2601 [BZ #14117]
2602 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2603 functions if __x86_64__ is defined.
2604
36d54b74
CLT
26052012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2606
2607 * string/endian.h: Add !__ASSEMBLER__ condition for including
2608 conversion interfaces.
2609
10285c21
JM
26102012-06-15 Joseph Myers <joseph@codesourcery.com>
2611
2612 [BZ #14241]
2613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2614 of ABS(x) in calculating zero to negative powers other than odd
2615 integers.
2616 * math/libm-test.inc (pow_test): Add more tests.
2617
06c5abbd
AJ
26182012-06-15 Andreas Jaeger <aj@suse.de>
2619
2620 * manual/contrib.texi (Contributors): Update entry of Liubov
2621 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2622 Machado Filho.
2623
a3aeac40
CH
26242012-06-15 Cyril Hrubis <metan@ucw.cz>
2625
2626 * string/string.h: Add __wur to GNU version of strerror_r.
2627
49bdf4c1
L
26282012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2629
2630 [BZ #14229]
2631 * string/Makefile (tests): Add tst-strtok_r.
2632 * string/tst-strtok_r.c: New file.
2633 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2634 RAX_LP/RDX_LP on SAVE_PTR.
2635
834f9b8d
RM
26362012-06-14 Roland McGrath <roland@hack.frob.com>
2637
2638 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2639
75fa1921
JM
26402012-06-14 Joseph Myers <joseph@codesourcery.com>
2641
2642 * libm_test.inc (csqrt_test): Allow more spurious underflow
2643 exceptions.
2644 (j0_test): Likewise.
2645 (j1_test): Likewise.
2646 (y0_test): Likewise.
2647 (y1_test): Likewise.
2648
771766df
CD
26492012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2650
2651 * po/Makefile (libc.pot): Use UTF-8 charset.
2652
ceb9e56b
PP
26532012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2654
2655 [BZ #14210]
2656 Suppress sign-conversion warning from FD_SET.
2657 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2658 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2659 not unsigned long int.
2660 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2661
ddb28975
L
26622012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 [BZ #14050]
2665 [BZ #14117]
2666 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2667 __extern_always_inline instead of __extern_inline.
2668 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2669 (__signbit): Likewise.
2670 (__signbitl): Support C++ namespace.
2671 (lrintf): New inline function.
2672 (lrint): Likewise.
2673 (llrintf): Likewise.
2674 (llrint): Likewise.
2675 (fmaxf): Likewise.
2676 (fmax): Likewise.
2677 (fminf): Likewise.
2678 (fmin): Likewise.
2679 (rint): Likewise.
2680 (rintf): Likewise.
2681 (ceil): Likewise.
2682 (ceilf): Likewise.
2683 (floor): Likewise.
2684 (floorf): Likewise.
2685 (nearbyint): Likewise.
2686 (nearbyintf): Likewise.
2687
d7b4fb26
TS
26882012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2689
2690 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2691 non-default versions.
2692
eb55f5c2
RM
26932012-06-11 Roland McGrath <roland@hack.frob.com>
2694
2695 [BZ #14218]
2696 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2697
366af02c
TS
26982012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2699
99ff6e5c
TS
2700 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2701 (FE_UPWARD, FE_DOWNWARD): Don't define.
2702 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2703 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2704
366af02c
TS
2705 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2706 reading it.
2707 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2708 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2709
793ea851
KK
27102012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2711
2712 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2714 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2715 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2716
a728a38f
L
27172012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2718
2719 [BZ #14117]
c08010c7
L
2720 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2721 * sysdeps/i386/fpu/Implies: New file.
2722 * sysdeps/x86_64/fpu/Implies: Likewise.
2723 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2724 * sysdeps/x86/fpu/bits/fenv.h: This.
2725
a728a38f
L
2726 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2727 __SSE_MATH__.
2728
6e230d11
SP
27292012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2730
2731 [BZ #14134]
2732 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2733 character 0xffff that matches the last element of the
2734 conversion table.
2735
1b671feb
AZ
27362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2737
2738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2739 fmodl commit.
2740
6043738b
AZ
27412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2742
2743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2744 values higher than 25.6283.
2745
34ae0b32
AZ
27462012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2747
2748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2749 subnormal exponent extraction and add some __builtin_expect.
2750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2751 Fix for subnormal mantissa calculation.
2752
1214ec8f
MF
27532012-06-04 Mike Frysinger <vapier@gentoo.org>
2754
2755 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2756 cpu2 is -1 and errno is not ENOSYS.
2757
f3d1f93c
L
27582012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2759
2760 [BZ #14117]
0e4a3cd7
L
2761 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2762 * sysdeps/x86/bits/string.h: This.
2763 * sysdeps/x86_64/bits/string.h: Removed.
2764
6704c645
L
2765 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2766 if not compiling for x86-64, but compiling for >= i486.
2767
48495318
L
2768 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2769 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2770
14adcbfc
L
2771 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2772 New macro from Linux kernel 3.4.0.
2773 (FP_XSTATE_MAGIC2): Likewise.
2774 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2775 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2776 (struct _fpx_sw_bytes): New struct.
2777 (struct _xsave_hdr): Likewise.
2778 (struct _ymmh_state): Likewise.
2779 (struct _xstate): Likewise.
2780
68e408ab
L
2781 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2782 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2784 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2785 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2786 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2787
f3d1f93c
L
2788 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2789 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2790 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2791 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2792 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2793 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2794
d9dc34cd
TMQMF
27952012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2796
2797 [BZ #13743]
2798 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2799 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2800 (sysdep_headers): Include sys/platform/ppc.h.
2801 * sysdeps/powerpc/test-gettimebase.c: Test for
2802 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2803 * manual/Makefile (appendices): Include platform.texi.
2804 * manual/contrib.texi (Contributors): Update @node pointers.
2805 * manual/maint.texi (Maintenance): Likewise.
2806 (Platform): New node.
2807 * manual/platform.texi: New file. Document the new features.
2808
4af3879c
SP
28092012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2810 Jakub Jelinek <jakub@redhat.com>
2811
2812 [BZ #14188]
2813 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2814 where __builtin_expect is unavailable.
2815
2fd6ff13
DM
28162012-06-03 David S. Miller <davem@davemloft.net>
2817
2818 * stdlib/longlong.h: Updated from GCC.
2819
173f7220
AS
28202012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2821
2822 [BZ #14042]
2823 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2824 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2825 __mcount_internal.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2827 (GLIBC_2.16): Likewise.
2828
f34a1c6f
L
28292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2830
2831 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2832
88a4576f
JM
28332012-06-01 Joseph Myers <joseph@codesourcery.com>
2834
ea32bcdd
JM
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2836 (default-abi): New variable.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2838 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2839 variable.
2840 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2841 Likewise.
2842 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2843 Likewise.
2844 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2845 Likewise.
2846
88a4576f
JM
2847 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2848 definition. Document in comment.
2849
402fe938
DM
28502012-06-01 David S. Miller <davem@davemloft.net>
2851
2852 * stdlib/longlong.h: Updated from GCC.
2853
3553723f
L
28542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2855
2856 [BZ #14117]
3bd872c4
L
2857 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2858 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2859 sys/debugreg.h sys/io.h here.
2860 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2861 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2862 sys/io.h.
2863 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2864 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2865 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2866 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2867 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2868 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2869
3553723f
L
2870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2871 Define only if __x86_64__ is defined.
2872
4842e4fe
JM
28732012-06-01 Joseph Myers <joseph@codesourcery.com>
2874
c5bfe3d5
JM
2875 [BZ #14048]
2876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2877 Use int64_t for variable i.
2878 * math/libm-test.inc (fmod_test): Add more tests.
2879
4842e4fe
JM
2880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2881 z computation is not scheduled after fetestexcept.
2882 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2883 Use math_force_eval instead of asm to ensure calculation scheduled
2884 before exception test.
2885 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2886 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2887
efb73488
AJ
28882012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2889
2890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2891 computation is not scheduled after fetestexcept.
2892
29bcce7c
L
28932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2894
2895 [BZ #14117]
2896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2897 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2898
73a68f94
AZ
28992012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2900
2901 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2902 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2903
67b6df78
L
29042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2905
edf2933a 2906 [BZ #14117]
ebc64a18
L
2907 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2908 <bits/wordsize.h>.
2909 (__WCHAR_MIN): Support __WORDSIZE == 64.
2910 (__WCHAR_MAX): Likewise.
2911
edf2933a
L
2912 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2914
57c6cf40
L
2915 [BZ #14183]
2916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2917 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2918
67b6df78 2919 [BZ #14117]
8eb6281e
L
2920 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2921 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2922
aac639f4
L
2923 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2924 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2925
67b6df78
L
2926 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2927 Defined to 1 if __x86_64__ isn't defined.
2928 (_STAT_VER_LINUX_OLD): New.
2929 (st_atime): Remove duplicate.
2930 (st_mtime): Likewise.
2931 (st_ctime): Likewise.
2932
1c2cfe81
DM
29332012-05-31 David S. Miller <davem@davemloft.net>
2934
2935 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2936 entries.
2937
5be8418c
AS
29382012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2939
e7725326
AS
2940 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2941 gen-libm-test.pl.
2942
5be8418c
AS
2943 [BZ #14132]
2944 * elf/dl-reloc.c: Include <_itoa.h>.
2945 (_dl_reloc_bad_type): Remove use of INTUSE.
2946 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2947 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2948 * stdio-common/psiginfo.c (psiginfo): Likewise.
2949 * stdio-common/psignal.c (psignal): Likewise.
2950 * string/strsignal.c (strsignal): Likewise.
2951 * include/signal.h (_sys_siglist): Declare hidden proto.
2952 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2953 INTVARDEF with libc_hidden_data_def.
2954 * stdio-common/itoa-udigits.c: Likewise.
2955 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2956 (_itoa_lower_digits_internal): Remove declaration.
2957 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2958 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2959 (_sys_sigabbrev_internal): Remove aliases.
2960 (_sys_siglist): Define hidden alias.
2961
507352f1
MT
29622012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2963
2964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2965 bits/sysctl.h.
2966
42bbb1c3
L
29672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2968
2969 [BZ #14117]
6bd784b6
L
2970 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2971 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2972
8bca20f0
L
2973 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2974 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2975 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2976 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2977 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2978 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2979
f9e890a9
L
2980 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2981 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2982 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2983
471101a1
L
2984 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2985 with __addr.
2986 (insw): Likewise.
2987 (insl): Likewise.
2988 (outsb): Likewise.
2989 (outsw): Likewise.
2990 (outsl): Likewise.
2991
6451c862
L
2992 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2993 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2994 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2995
a254b8c9
L
2996 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2997 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2999 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3000 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3001 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3002
b8dfdd92
L
3003 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3004 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3005
578cd270
L
3006 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3007 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3008
de662f5f
L
3009 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3010 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3011 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3012
25653439
L
3013 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3014 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3015 to ...
3016 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3017
6bad24a0
L
3018 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3019 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3020 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3021
42bbb1c3
L
3022 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3023 for x86-64.
3024 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3025
2d10d547
JM
30262012-05-31 Joseph Myers <joseph@codesourcery.com>
3027
3028 * math/math.h (M_El): Use two more decimal places.
3029 (M_LOG2El): Likewise.
3030 (M_LOG10El): Likewise.
3031 (M_LN2l): Likewise.
3032 (M_LN10l): Likewise.
3033 (M_PIl): Likewise.
3034 (M_PI_2l): Likewise.
3035 (M_PI_4l): Likewise.
3036 (M_1_PIl): Likewise.
3037 (M_2_PIl): Likewise.
3038 (M_2_SQRTPIl): Likewise.
3039 (M_SQRT2l): Likewise.
3040 (M_SQRT1_2l): Likewise.
3041
f230c29b
DM
30422012-05-31 David S. Miller <davem@davemloft.net>
3043
3044 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3045 values between float registers.
3046 * sysdeps/sparc/sparc64/memset.S: Likewise.
3047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3048
fed806c3
MF
30492012-05-31 Mike Frysinger <vapier@gentoo.org>
3050
3051 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3052 -D_FORTIFY_SOURCE=1.
3053 (CPPFLAGS-tst-longjmp_chk.c): Define.
3054 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3055 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3056 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3057 CFLAGS-tst-wchar-h.c.
3058
30917259
MP
30592012-05-31 Marek Polacek <polacek@redhat.com>
3060
3061 [BZ #14132]
3062 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3063 __endmntent_internal): Remove declaration.
3064 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3065 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3066 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3067
1c58d5dc
DM
30682012-05-30 David S. Miller <davem@davemloft.net>
3069
3070 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3071 (___Q_simulate_exceptions): Use real FP ops rather than writing
3072 into the %fsr.
3073 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3074 Likewise.
3075
7dc00e0d
L
30762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3077
3078 [BZ #14117]
0bd53985
L
3079 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3080 * sysdeps/x86/bits/xtitypes.h: This.
3081
3a257e66
L
3082 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3083 * sysdeps/x86/bits/wordsize.h: This.
3084
62f62904
L
3085 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3086 * sysdeps/x86/bits/huge_vall.h: This.
3087
404fe9d9
L
3088 * sysdeps/i386/bits/select.h: Removed.
3089 * sysdeps/x86_64/bits/select.h: Renamed to ...
3090 * sysdeps/x86/bits/select.h: This.
3091
d48d0446
L
3092 * sysdeps/i386/bits/setjmp.h: Removed.
3093 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3094 * sysdeps/x86/bits/setjmp.h: This.
3095
7dc00e0d
L
3096 * sysdeps/i386/bits/mathdef.h: Removed.
3097 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3098 * sysdeps/x86/bits/mathdef.h: This.
3099
03277f8f
AS
31002012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3101
3102 [BZ #14132]
3103 * include/sys/socket.h (__connect_internal)
3104 (__libc_sa_len_internal): Remove declaration.
3105 (__connect, __libc_sa_len): Declare hidden_proto.
3106 (SA_LEN): Remove use of INTUSE.
3107 * socket/connect.c: Add libc_hidden_def.
3108 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3109 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3110 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3111 alias.
3112 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3113 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3114 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3115 of adding _internal alias.
3116
13764867
L
31172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3118
3119 [BZ #14117]
6bd97696
L
3120 * sysdeps/i386/bits/link.h: Removed.
3121 * sysdeps/i386/bits/linkmap.h: Likewise.
3122 * sysdeps/x86_64/bits/link.h: Renamed to ...
3123 * sysdeps/x86/bits/link.h: This.
3124 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3125 * sysdeps/x86/bits/linkmap.h: This.
3126
f726f0bb
L
3127 * sysdeps/i386/bits/endian.h: Removed.
3128 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3129 * sysdeps/x86/bits/endian.h: This.
3130
13764867
L
3131 * sysdeps/i386/bits/byteswap.h: Removed.
3132 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3133 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3134 * sysdeps/x86/bits/byteswap.h: This.
3135 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3136 * sysdeps/x86/bits/byteswap-16.h: This.
3137 * sysdeps/i386/Implies: Add x86.
3138 * sysdeps/x86_64/Implies: Likewise.
3139
ae251b0b
DM
31402012-05-30 David S. Miller <davem@davemloft.net>
3141
3142 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3143 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3144 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3145 (FP_TRAPPING_EXCEPTIONS): Define.
3146 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3147 (FP_TRAPPING_EXCEPTIONS): Define.
3148 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3149 subnormals only when inexact has been signalled or underflow
3150 exceptions are enabled.
3151 (_FP_PACK_CANONICAL): Likewise.
3152
d5c90867
L
31532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 [BZ #14183]
3156 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3157 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3158
63f1549e
RH
31592012-05-30 Richard Henderson <rth@twiddle.net>
3160
8d8f2279
RH
3161 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3162 with #ifndef NOT_IN_libc.
3163
63f1549e
RH
3164 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3165 marked to avoid plt entry.
3166
0ab0291b
L
31672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 [BZ #14112]
3170 * Makeconfig (default-abi): New macro.
3171 (abi-includes): Likewise.
3172 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3173 $(abi-$(default-abi)-lib-soname) for soname if defined.
3174 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3175 abi-variants.
3176 * Makefile (installed-stubs): Likewise.
3177 * include/stubs-biarch.h: Removed.
3178 * scripts/lib-names.awk: Only handle one library at a time.
3179 * scripts/soversions.awk: Remove WORDSIZE support.
3180 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3181 entries.
3182 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3183 Removed.
3184 (syscall-list-default-condition): Likewise.
3185 (syscall-list-default-condition): Likewise.
3186 (syscall-list-includes): Likewise.
3187 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3188 syscall-list-* with abi-*. Handle undefined abi-variants.
3189 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3190 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3191 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3192 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3193 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3194 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3195 Removed.
3196 (syscall-list-32-options): Likewise.
3197 (syscall-list-32-condition): Likewise.
3198 (syscall-list-64-options): Likewise.
3199 (syscall-list-64-condition): Likewise.
3200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3201 macro.
3202 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3203 Renamed to ...
3204 (abi-*): This.
3205 (abi-64-ld-soname): New macro.
3206 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3207 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3208 Renamed to ...
3209 (abi-*): This.
3210 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3211 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3212
4da0431d
JM
32132012-05-30 Joseph Myers <joseph@codesourcery.com>
3214
3a85279c
JM
3215 * sysdeps/unix/sysv/linux/kernel-features.h
3216 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3217 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3218 include <kernel-features.h>.
3219 [!__NR_ftruncate64]: Remove conditional code.
3220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3221 [__NR_ftruncate64]: Make code unconditional.
3222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3223 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3224 include <kernel-features.h>.
3225 [!__NR_ftruncate64]: Remove conditional code.
3226 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3227 [__NR_ftruncate64]: Make code unconditional.
3228 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3230 include <kernel-features.h>.
3231 [!__NR_ftruncate64]: Remove conditional code.
3232 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3233 [__NR_ftruncate64]: Make code unconditional.
3234 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3236 include <kernel-features.h>.
3237 [!__NR_ftruncate64]: Remove conditional code.
3238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3239 [__NR_ftruncate64]: Make code unconditional.
3240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3241
4da0431d
JM
3242 * configure.in (libc_cv_fpie): Weaken to a compile test using
3243 LIBC_TRY_CC_OPTION.
3244 * configure: Regenerated.
3245
11ef492c
AK
32462012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3247
3248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3252 Refreshed.
3253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3259 Refreshed.
3260
d66ef399
DM
32612012-05-27 David S. Miller <davem@davemloft.net>
3262
3263 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3264 (___Q_zero): New.
3265 (__Q_simulate_exceptions): Return void. Change to simulate
3266 exceptions by writing into the %fsr.
3267 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3268 (__Qp_handle_exceptions): Likewise.
3269 (numbers): Delete.
3270 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3271 __Qp_handle_exceptions.
3272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3273 __Qp_handle_exceptions.
3274 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3275 as unused and give dummy FP_RND_NEAREST initializer.
3276 (FP_INHIBIT_RESULTS): Define.
3277 (___Q_simulate_exceptions): Update declaration.
3278 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3279 formatting.
3280 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3281 as unused and give dummy FP_RND_NEAREST initializer.
3282 (__Qp_handle_exceptions): Update declaration.
3283 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3284 formatting.
3285
04fb54b5
TS
32862012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3287
3288 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3289 the temporary FPU control word.
3290 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3291 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3292 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3293 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3294 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3295 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3296 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3297 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3298 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3299 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3300 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3301
3f99608f
KK
33022012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3303
3304 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3305 fields.
3306
65a4de4e
CLT
33072012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3308
3309 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3310 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3311 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3312 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3313 Likewise.
3314 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3315 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3316 Likewise.
3317
15749d40
UD
33182012-05-27 Ulrich Drepper <drepper@gmail.com>
3319
3320 * po/h.po: Update from translation team.
3321
25dbcb27
AS
33222012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3323
3d3f8e55
AS
3324 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3325
25dbcb27
AS
3326 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3327 handling of denormals.
3328 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3329 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3330 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3331 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3333 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3335 Likewise.
3336
7ad47a80 33372012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3338
3339 [BZ #14152]
3340 * math/libm-test.inc (fma_test): Don't always expect underflow
3341 exception.
3342
9c6ea9fa
SP
33432012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3344
3345 [BZ #12416]
3346 * elf/tst-execstack.c: Include stackinfo.h.
3347 (do_test): Adjust test case to ensure that pthread_getattr_np
3348 behaviour remains the same after marking stack executable.
3349
a8239222
JM
33502012-05-25 Joseph Myers <joseph@codesourcery.com>
3351
3352 * sysdeps/unix/sysv/linux/kernel-features.h
3353 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3354 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3355 kernel-features.h.
3356 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3357 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3358 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3359 kernel-features.h.
3360 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3361 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3362
918b5606
L
33632012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3364
3365 * configure.in: Define the default includes to being none.
3366 * configure: Regenerated.
3367
3a097cc7
RM
33682012-05-25 Roland McGrath <roland@hack.frob.com>
3369
8422c9a5
RM
3370 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3371 * sysdeps/x86_64/setjmp.S: Likewise.
3372 * sysdeps/i386/bsd-setjmp.S: Likewise.
3373 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3374 * sysdeps/i386/setjmp.S: Likewise.
3375 * sysdeps/i386/__longjmp.S: Likewise.
3376 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3377 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3378
3a097cc7
RM
3379 * include/stap-probe.h: New file.
3380 * configure.in: Handle --enable-systemtap.
3381 * configure: Regenerated.
3382 * config.h.in (USE_STAP_PROBE): New #undef.
3383 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3384 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3385 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3386
21708942
JM
33872012-05-25 Joseph Myers <joseph@codesourcery.com>
3388
3389 [BZ #13717]
3390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3391 to 2.4.0 where earlier.
3392 * sysdeps/unix/sysv/linux/configure: Regenerated.
3393 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
3398 <kernel-features.h>.
3399 [__ASSUME_32BITUIDS]: Make code unconditional.
3400 [!__ASSUME_32BITUIDS]: Remove conditional code.
3401 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3402 [__ASSUME_32BITUIDS]: Make code unconditional.
3403 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3404 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3405 <kernel-features.h>.
3406 [__ASSUME_32BITUIDS]: Make code unconditional.
3407 [!__ASSUME_32BITUIDS]: Remove conditional code.
3408 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3409 <kernel-features.h>.
3410 [__ASSUME_32BITUIDS]: Make code unconditional.
3411 [!__ASSUME_32BITUIDS]: Remove conditional code.
3412 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3413 <kernel-features.h>.
3414 [__ASSUME_32BITUIDS]: Make code unconditional.
3415 [!__ASSUME_32BITUIDS]: Remove conditional code.
3416 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3417 <kernel-features.h>.
3418 [__ASSUME_32BITUIDS]: Make code unconditional.
3419 [!__ASSUME_32BITUIDS]: Remove conditional code.
3420 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3421 <kernel-features.h>.
3422 [__ASSUME_32BITUIDS]: Make code unconditional.
3423 [!__ASSUME_32BITUIDS]: Remove conditional code.
3424 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3425 <kernel-features.h>.
3426 [__ASSUME_32BITUIDS]: Make code unconditional.
3427 [!__ASSUME_32BITUIDS]: Remove conditional code.
3428 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3429 <kernel-features.h>.
3430 [__ASSUME_32BITUIDS]: Make code unconditional.
3431 [!__ASSUME_32BITUIDS]: Remove conditional code.
3432 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3433 <kernel-features.h>.
3434 [__ASSUME_32BITUIDS]: Make code unconditional.
3435 [!__ASSUME_32BITUIDS]: Remove conditional code.
3436 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3437 <kernel-features.h>.
3438 [__ASSUME_32BITUIDS]: Make code unconditional.
3439 [!__ASSUME_32BITUIDS]: Remove conditional code.
3440 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3441 <kernel-features.h>.
3442 [__ASSUME_32BITUIDS]: Make code unconditional.
3443 [!__ASSUME_32BITUIDS]: Remove conditional code.
3444 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3445 <kernel-features.h>.
3446 [__NR_setresgid] (__setresgid): Do not declare.
3447 [__ASSUME_32BITUIDS]: Make code unconditional.
3448 [!__ASSUME_32BITUIDS]: Remove conditional code.
3449 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3450 <kernel-features.h>.
3451 [__NR_setresuid] (__setresuid): Do not declare.
3452 [__ASSUME_32BITUIDS]: Make code unconditional.
3453 [!__ASSUME_32BITUIDS]: Remove conditional code.
3454 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3455 <kernel-features.h>.
3456 [__ASSUME_32BITUIDS]: Make code unconditional.
3457 [!__ASSUME_32BITUIDS]: Remove conditional code.
3458 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3459 <kernel-features.h>.
3460 [__ASSUME_32BITUIDS]: Make code unconditional.
3461 [!__ASSUME_32BITUIDS]: Remove conditional code.
3462 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3463 <kernel-features.h>.
3464 [__ASSUME_32BITUIDS]: Make code unconditional.
3465 [!__ASSUME_32BITUIDS]: Remove conditional code.
3466 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3467 <kernel-features.h>.
3468 [__ASSUME_32BITUIDS]: Make code unconditional.
3469 [!__ASSUME_32BITUIDS]: Remove conditional code.
3470 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3471 <kernel-features.h>.
3472 [__ASSUME_32BITUIDS]: Make code unconditional.
3473 [!__ASSUME_32BITUIDS]: Remove conditional code.
3474 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3475 <kernel-features.h>.
3476 [__ASSUME_32BITUIDS]: Make code unconditional.
3477 [!__ASSUME_32BITUIDS]: Remove conditional code.
3478 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3479 <kernel-features.h>.
3480 [__ASSUME_32BITUIDS]: Make code unconditional.
3481 [!__ASSUME_32BITUIDS]: Remove conditional code.
3482 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3483 <kernel-features.h>.
3484 [__ASSUME_32BITUIDS]: Make code unconditional.
3485 [!__ASSUME_32BITUIDS]: Remove conditional code.
3486 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3487 <kernel-features.h>.
3488 [__ASSUME_32BITUIDS]: Make code unconditional.
3489 [!__ASSUME_32BITUIDS]: Remove conditional code.
3490 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3491 <kernel-features.h>.
3492 [__ASSUME_32BITUIDS]: Make code unconditional.
3493 [!__ASSUME_32BITUIDS]: Remove conditional code.
3494 * sysdeps/unix/sysv/linux/kernel-features.h
3495 (__ASSUME_SETRESUID_SYSCALL): Remove.
3496 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3497 (__ASSUME_32BITUIDS): Likewise.
3498 (__ASSUME_LDT_WORKS): Likewise.
3499 (__ASSUME_O_DIRECTORY): Likewise.
3500 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3501 architecture but not kernel version.
3502 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3503 (__ASSUME_MMAP2_SYSCALL): Likewise.
3504 (__ASSUME_STAT64_SYSCALL): Likewise.
3505 (__ASSUME_IPC64): Likewise.
3506 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3507 <kernel-features.h>.
3508 [__ASSUME_32BITUIDS]: Make code unconditional.
3509 [!__ASSUME_32BITUIDS]: Remove conditional code.
3510 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3511 <kernel-features.h>.
3512 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3513 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3514 132096]: Remove conditional code.
3515 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3516 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3517 <kernel-features.h>.
3518 [__ASSUME_32BITUIDS]: Make code unconditional.
3519 [!__ASSUME_32BITUIDS]: Remove conditional code.
3520 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3521 <kernel-features.h>.
3522 [__ASSUME_32BITUIDS]: Make code unconditional.
3523 [!__ASSUME_32BITUIDS]: Remove conditional code.
3524 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3525 <kernel-features.h>.
3526 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3527 unconditional.
3528 (__setresgid): Do not declare.
3529 [__ASSUME_32BITUIDS]: Make code unconditional.
3530 [!__ASSUME_32BITUIDS]: Remove conditional code.
3531 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3532 <kernel-features.h>.
3533 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3534 unconditional.
3535 (__setresuid): Do not declare.
3536 [__ASSUME_32BITUIDS]: Make code unconditional.
3537 [!__ASSUME_32BITUIDS]: Remove conditional code.
3538 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3539 <kernel-features.h>.
3540 [__ASSUME_32BITUIDS]: Make code unconditional.
3541 [!__ASSUME_32BITUIDS]: Remove conditional code.
3542 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3543 <kernel-features.h>.
3544 [__ASSUME_32BITUIDS]: Make code unconditional.
3545 [!__ASSUME_32BITUIDS]: Remove conditional code.
3546
a386f1cc
RH
35472012-05-25 Richard Henderson <rth@twiddle.net>
3548
3549 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3550 dl_hwcap to ifunc resolver.
3551 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3552 elf_ifunc_invoke.
3553 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3554 dl_hwcap to ifunc resolver.
3555 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3556
b6550497
JM
35572012-05-24 Joseph Myers <joseph@codesourcery.com>
3558
3559 [BZ #14153]
3560 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3561 for |x| <= 2**-26, not 2**-57.
3562 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3563 exception.
3564
b0bc23a1
JL
35652012-05-24 Jeff Law <law@redhat.com>
3566
3567 * stdio-common/Makefile (tests): Add bug25.
3568 * stdio-common/bug25.c: New test.
3569
347c92e9
L
35702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3571
3572 [BZ #13576]
3573 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3574 multiple of MALLOC_ALIGNMENT in size.
3575 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3576
6bcc8b3f
JM
35772012-05-24 Joseph Myers <joseph@codesourcery.com>
3578
3579 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3580 Require >= 256.
3581 (FILENAME_MAX): Use macro-int-constant.
3582 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3583 (_IOFBF): Use macro-int-constant.
3584 (_IOLBF): Likewise.
3585 (_IONBF): Likewise.
3586 (SEEK_CUR): Likewise.
3587 (SEEK_END): Likewise.
3588 (SEEK_SET): Likewise.
3589 (TMP_MAX): Likewise.
3590 (EOF): Use macro-int-constant. Require < 0.
3591 (NULL): Use macro-constant. Require == 0.
3592 (stdin): Require type to be FILE *.
3593 (stdout): Likewise.
3594 (stderr): Likewise.
3595 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3596 macro-int-constant.
3597 (EXIT_SUCCESS): Likewise.
3598 (NULL): Use macro-constant. Require == 0.
3599 (RAND_MAX): Use macro-int-constant.
3600 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3601 [C99-based standards] (strtof): Require function.
3602 [C99-based standards] (strtold): Likewise.
3603 [C99-based standards] (strtoll): Likewise.
3604 [C99-based standards] (strtoull): Likewise.
3605 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3606 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3607 [ISO || ISO99 || ISO11] (math.h): Likewise.
3608 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3609 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3611
d18ea0c5
AS
36122012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3613
3614 [BZ #14132]
56d25bb8
AS
3615 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3616 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3617 * intl/dgettext.c (DCGETTEXT): Likewise.
3618 * intl/gettext.c (DCGETTEXT): Likewise.
3619 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3620 * posix/regex_internal.h (gettext): Likewise.
3621 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3622 Remove declaration.
3623 * include/argz.h (__argz_count_internal)
3624 (__argz_stringify_internal): Remove declaration.
3625 (__argz_count, __argz_stringify): Declare hidden proto.
3626 * intl/dcgettext.c: Remove use of INTDEF.
3627 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3628 * string/argz-stringify.c: Likewise.
3629 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3630 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3631 Declare hidden proto.
d18ea0c5
AS
3632 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3633 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3634 Declare hidden proto.
3635 * include/stdio.h (__asprintf_internal): Don't declare.
3636 (__asprintf): Don't define as macro. Declare hidden proto.
3637 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3638 (__fsetlocking): Declare hidden proto.
3639 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3640 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3641 hidden proto.
3642 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3643 (_IO_setlinebuf): Remove use of INTUSE.
3644 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3645 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3646 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3647 Remove declaration.
3648 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3649 (_IO_do_flush): Remove use of INTUSE.
3650 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3651 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3652 (_IO_adjust_column, _IO_least_wmarker)
3653 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3654 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3655 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3656 (_IO_default_doallocate, _IO_wdefault_doallocate)
3657 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3658 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3659 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3660 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3661 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3662 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3663 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3664 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3665 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3666 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3667 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3668 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3669 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3670 proto.
3671 (_IO_flush_all_internal, _IO_adjust_column_internal)
3672 (_IO_default_uflow_internal, _IO_default_finish_internal)
3673 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3674 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3675 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3676 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3677 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3678 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3679 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3680 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3681 (_IO_file_close_internal, _IO_file_close_it_internal)
3682 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3683 (_IO_file_init_internal, _IO_file_attach_internal)
3684 (_IO_file_fopen_internal, _IO_file_read_internal)
3685 (_IO_file_sync_internal, _IO_file_seek_internal)
3686 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3687 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3688 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3689 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3690 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3691 (_IO_list_all_internal, _IO_link_in_internal)
3692 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3693 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3694 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3695 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3696 (_IO_do_write_internal, _IO_padn_internal)
3697 (_IO_getline_info_internal, _IO_getline_internal)
3698 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3699 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3700 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3701 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3702 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3703 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3704 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3705 with libc_hidden_ver, remove use of INTUSE.
3706 * libio/genops.c: Likewise.
3707 * libio/freopen.c: Likewise.
3708 * libio/freopen64.c: Likewise.
3709 * libio/iofclose.c: Likewise.
3710 * libio/iofdopen.c: Likewise.
3711 * libio/iofflush.c: Likewise.
3712 * libio/iofflush_u.c: Likewise.
3713 * libio/iofgets.c: Likewise.
3714 * libio/iofgets_u.c: Likewise.
3715 * libio/iofopen.c: Likewise.
3716 * libio/iofopncook.c: Likewise.
3717 * libio/iofread.c: Likewise.
3718 * libio/iofread_u.c: Likewise.
3719 * libio/ioftell.c: Likewise.
3720 * libio/iofwrite.c: Likewise.
3721 * libio/iogetline.c: Likewise.
3722 * libio/iogets.c: Likewise.
3723 * libio/iogetwline.c: Likewise.
3724 * libio/iopadn.c: Likewise.
3725 * libio/iopopen.c: Likewise.
3726 * libio/ioseekoff.c: Likewise.
3727 * libio/ioseekpos.c: Likewise.
3728 * libio/iosetbuffer.c: Likewise.
3729 * libio/iosetvbuf.c: Likewise.
3730 * libio/ioungetc.c: Likewise.
3731 * libio/ioungetwc.c: Likewise.
3732 * libio/iovdprintf.c: Likewise.
3733 * libio/iovsprintf.c: Likewise.
3734 * libio/iovsscanf.c: Likewise.
3735 * libio/memstream.c: Likewise.
3736 * libio/obprintf.c: Likewise.
3737 * libio/oldfileops.c: Likewise.
3738 * libio/oldiofclose.c: Likewise.
3739 * libio/oldiofdopen.c: Likewise.
3740 * libio/oldiofopen.c: Likewise.
3741 * libio/oldiopopen.c: Likewise.
3742 * libio/oldstdfiles.c: Likewise.
3743 * libio/putc.c: Likewise.
3744 * libio/setbuf.c: Likewise.
3745 * libio/setlinebuf.c: Likewise.
3746 * libio/stdfiles.c: Likewise.
3747 * libio/strops.c: Likewise.
3748 * libio/vasprintf.c: Likewise.
3749 * libio/vscanf.c: Likewise.
3750 * libio/vsnprintf.c: Likewise.
3751 * libio/vswprintf.c: Likewise.
3752 * libio/wfiledoalloc.c: Likewise.
3753 * libio/wfileops.c: Likewise.
3754 * libio/wgenops.c: Likewise.
3755 * libio/wmemstream.c: Likewise.
3756 * libio/wstrops.c: Likewise.
3757 * libio/__fpurge.c: Likewise.
3758 * libio/__fsetlocking.c: Likewise.
3759 * assert/assert.c: Likewise.
3760 * debug/fgets_chk.c: Likewise.
3761 * debug/fgets_u_chk.c: Likewise.
3762 * debug/fread_chk.c: Likewise.
3763 * debug/fread_u_chk.c: Likewise.
3764 * debug/gets_chk.c: Likewise.
3765 * debug/obprintf_chk.c: Likewise.
3766 * debug/vasprintf_chk.c: Likewise.
3767 * debug/vdprintf_chk.c: Likewise.
3768 * debug/vsnprintf_chk.c: Likewise.
3769 * debug/vsprintf_chk.c: Likewise.
3770 * malloc/mtrace.c: Likewise.
3771 * misc/error.c: Likewise.
3772 * misc/syslog.c: Likewise.
3773 * stdio-common/asprintf.c: Likewise.
3774 * stdio-common/fxprintf.c: Likewise.
3775 * stdio-common/getw.c: Likewise.
3776 * stdio-common/isoc99_fscanf.c: Likewise.
3777 * stdio-common/isoc99_scanf.c: Likewise.
3778 * stdio-common/isoc99_vfscanf.c: Likewise.
3779 * stdio-common/isoc99_vscanf.c: Likewise.
3780 * stdio-common/isoc99_vsscanf.c: Likewise.
3781 * stdio-common/printf-prs.c: Likewise.
3782 * stdio-common/printf_fp.c: Likewise.
3783 * stdio-common/printf_fphex.c: Likewise.
3784 * stdio-common/printf_size.c: Likewise.
3785 * stdio-common/putw.c: Likewise.
3786 * stdio-common/scanf.c: Likewise.
3787 * stdio-common/sprintf.c: Likewise.
3788 * stdio-common/tmpfile.c: Likewise.
3789 * stdio-common/vfprintf.c: Likewise.
3790 * stdio-common/vfscanf.c: Likewise.
3791 * stdlib/strfmon_l.c: Likewise.
3792 * sunrpc/openchild.c: Likewise.
3793 * sunrpc/xdr_stdio.c: Likewise.
3794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3795 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3796
d6c33fda
RM
37972012-05-24 Roland McGrath <roland@hack.frob.com>
3798
c1487492
RM
3799 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3800
3801 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3802 in the third column, to generate for the shared library an IFUNC
3803 that uses _dl_vdso_vsym.
3804 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3805 * Makeconfig (object-suffixes-noshared): New variable.
3806
3807 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3808 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3809 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3810 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3811
d6c33fda
RM
3812 [BZ #14132]
3813 * include/sys/time.h (__gettimeofday): Remove macro.
3814 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3815 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3816 Remove INTDEF.
3817 (__gettimeofday): Add libc_hidden_def.
3818 (gettimeofday): Add libc_hidden_weak.
3819 * sysdeps/mach/gettimeofday.c: Likewise.
3820 * sysdeps/posix/gettimeofday.c: Likewise.
3821 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3822 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3824 (__gettimeofday_internal): Remove strong_alias.
3825 (__gettimeofday): Add libc_hidden_def.
3826 (gettimeofday): Add libc_hidden_weak.
3827 * sysdeps/unix/syscalls.list (gettimeofday):
3828 Remove __gettimeofday_internal alias.
3829
b5a2bbe6
L
38302012-05-24 Daniel Jacobowitz <drow@false.org>
3831 H.J. Lu <hongjiu.lu@intel.com>
3832
3833 [BZ #12495]
3834 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3835 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3836 (largebin_index_32_big): New.
3837 (largebin_index): Use it for 16-byte alignment.
3838 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3839 correction with front_misalign.
3840
cfba4fda
L
38412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3842
7f907421
L
3843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3845 Likewise.
3846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3847 Likewise.
3848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3849 Likewise.
3850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3851 Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3853 Likewise.
3854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3855 Likewise.
3856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3857 Likewise.
3858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3859 Likewise.
3860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3861 Likewise.
3862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3863 Likewise.
3864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3865 Likewise.
3866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3867 Likewise.
3868
cfba4fda
L
3869 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3870 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3871
80bad0cc
JM
38722012-05-24 Joseph Myers <joseph@codesourcery.com>
3873
7a25eb06
JM
3874 [BZ #10846]
3875 [BZ #14036]
3876 * math/libm-test.inc (exp_test): Add test from bug 14036.
3877 (pow_test): Add test from bug 10846.
3878
795405f9
JM
3879 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3880 and other flags.
3881 (special_function): Do not include flags in test name.
3882 (parse_args): Likewise.
3883 * sysdeps/i386/fpu/libm-test-ulps: Update.
3884 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3885 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3886 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3888
80bad0cc
JM
3889 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3890 exceptions.
3891 * math/libm-test.inc ("Philosophy"): Update comment about
3892 exception testing.
3893 (UNDERFLOW_EXCEPTION): New macro.
3894 (UNDERFLOW_EXCEPTION_OK): Likewise.
3895 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3896 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3897 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3898 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3899 (INVALID_EXCEPTION_OK): Update value.
3900 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3901 (OVERFLOW_EXCEPTION_OK): Likewise.
3902 (IGNORE_ZERO_INF_SIGN): Likewise.
3903 (test_exceptions): Handle underflow exceptions.
3904 (acos_test): Update for underflow exception expectations.
3905 (cexp_test): Likewise.
3906 (clog_test): Likewise.
3907 (clog10_test): Likewise.
3908 (csqrt_test): Likewise.
3909 (ctan_test): Likewise.
3910 (ctanh_test): Likewise.
3911 (exp_test): Likewise.
3912 (exp10_test): Likewise.
3913 (exp2_test): Likewise.
3914 (expm1_test): Likewise.
3915 (fma_test): Likewise.
3916 (j0_test): Likewise.
3917 (jn_test): Likewise.
3918 (nexttoward_test): Likewise.
3919 (pow_test): Likewise.
3920 (scalbn_test): Likewise.
3921 (scalbln_test): Likewise.
3922 (tan_test): Likewise.
3923 (y1_test): Likewise.
3924 * sysdeps/i386/fpu/libm-test-ulps: Update.
3925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3926
9e0e3d0b
DM
39272012-05-23 David S. Miller <davem@davemloft.net>
3928
3929 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3930 (__libc_sigaction): Remove unused local variables.
3931
ccd0a08f
L
39322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3933
3934 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3935
62bdf9a6
PE
39362012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3937
f8591f80
PE
3938 mktime: avoid signed integer overflow
3939 * time/mktime.c (__mktime_internal): Do not mishandle the case
3940 where diff == INT_MIN.
3941
94c7d826
PE
3942 mktime: simplify computation of average
3943 * time/mktime.c (ranged_convert): Use new time_t_avg function
3944 instead of rolling our own (probably-slower) code.
3945
ce73d683
PE
3946 mktime: do not assume signed right shift propagates sign bit
3947 * time/mktime.c (isdst_differ): New static function.
3948 (__mktime_internal): No need to normalize tm_isdst now.
3949 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3950 tm_isdst values.
3951
72a22e59
PE
3952 mktime: merge another wrapv change from gnulib
3953 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3954 from some compilers.
3955
68605433
PE
3956 mktime: remove incorrect attempt at unusual arithmetics
3957 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3958 The code didn't really work on such machines anyway.
3959 (TYPE_MINIMUM): Assume two's complement.
3960 (twos_complement_arithmetic): Verify that long_int and time_t
3961 are two's complement (or unsigned, in the latter case).
3962
03cf7fe3
PE
3963 mktime: check signed shifts on long_int and time_t, too
3964 * time/mktime.c (SHR): Check that shifts work as desired
3965 on the types long_int and time_t too, as SHR is used on
3966 such types.
3967
f04dfbc2
PE
3968 mktime: do not assume 'long' is wide enough
3969 * time/mktime.c (verify): Move decl up.
3970 (long_int): New type.
3971 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3972 to remove assumption in the code that 'long' is wide enough to
3973 store year values. This assumption is not true on x32 and on
3974 some non-glibc platforms.
3975
62bdf9a6
PE
3976 mktime: merge wrapv change from gnulib
3977 * time/mktime.c (WRAPV): New macro.
3978 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3979 (guess_time_tm, __mktime_internal): Do not assume that signed
3980 integer overflow wraps around; modern compilers generate code
3981 where this assumption is no longer valid.
3982
5e292e4f
L
39832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3986 Replace "jmp L(pseudo_end)" with "ret".
3987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3988 Likewise.
3989
8caf8c87
AJ
39902012-05-23 Andreas Jaeger <aj@suse.de>
3991
3992 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3993 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3994
1a09dc56
AJ
39952012-05-23 Andreas Jaeger <aj@suse.de>
3996 Maximilian Attems <max@stro.at>
3997
3998 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3999 New macros.
4000
1c87aba0
L
40012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4002
4003 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4004 code so that pseudo_end is just ret and the stack pointer is
4005 correct also for static library in error case.
4006
40e45bd5
JM
40072012-05-23 Joseph Myers <joseph@codesourcery.com>
4008
c2670533
JM
4009 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4010 move to syscalls.list.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4015
40e45bd5
JM
4016 * manual/install.texi (Running make install): Do not mention Linux
4017 kernel version for which pt_chown is not needed.
4018 (Linux): Do not mention problems with nscd with 2.0 kernels.
4019 * INSTALL: Regenerated.
4020
be08eda5
AJ
40212012-05-23 Andreas Jaeger <aj@suse.de>
4022
4023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4024 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4025 macro.
4026 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4028 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4030 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4032 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4034 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4035 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4036 * sysdeps/unix/sysv/linux/bits/in.h
4037 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4038
a6a056bb
RM
40392012-05-22 Roland McGrath <roland@hack.frob.com>
4040
4041 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4042 (PREPARE_VERSION): Just use assert instead, it will be elided
4043 under [NDEBUG] anyway.
4044
c9009328
L
40452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4046
4047 * sysdeps/unix/sysv/linux/Makefile: Include
4048 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4049 (sysdep_routines): Remove sysctl.
c9009328
L
4050 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4051 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4052 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4053 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4054 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4055
73338355
AJ
40562012-05-22 Andreas Jaeger <aj@suse.de>
4057
4058 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4059 that pseudo_end is just ret and the stack pointer is correct also
4060 for static library in error case.
4061
d44638b0
PP
40622012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4063
4064 [BZ #14122]
4065 * nss/nsswitch.c (defconfig_entries): New variable.
4066 (__nss_database_lookup): Don't leak defconfig entries.
4067 (nss_parse_service_list): Don't leak on error paths.
4068 (free_database_entries): New function.
4069 (free_defconfig): New function.
4070 (free_mem): Move common code to free_database_entries.
4071
31a39bd8
L
40722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4073
da0331a8
L
4074 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4075 Add arch_prctl.
4076 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4077
31a39bd8
L
4078 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4079 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4081 New macro.
4082 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4083 (INTERNAL_SYSCALL_TYPES): Likewise.
4084 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4085 (LOAD_REGS_TYPES_[1-6]): Likewise.
4086 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4087 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4088
45470df3
AZ
40892012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4090
4091 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4092 copysignl for GLIBC_2_0.
4093 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4094 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4096 logbl for GLIBC_2_0.
4097 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4098 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4099
98a61bcb
L
41002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4101
a4f6e481
L
4102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4104
f63d5db6
L
4105 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4106 Use "neg %eax".
4107
98a61bcb
L
4108 * time/mktime.c: Update copyright years.
4109
95770f14
PE
41102012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4111
6226efbd
PE
4112 mktime: merge comment-quoting-style change from gnulib
4113 * time/mktime.c: Quote 'like this' in comments.
4114 The GNU coding standards suggest that we no longer quote `like this',
4115 as "`" and "'" are typically rendered asymmetrically nowadays.
4116 The typical gnulib style is to quote 'like this' when quoting
4117 code, and "like this" when quoting English.
4118
b99e4f78
PE
4119 * time/mktime.c (compile-command): Add "-I.".
4120
643e01e6
PE
4121 mktime: merge mktime-internal.h change from gnulib
4122 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4123
2554247d
PE
4124 mktime: merge time_r change from gnulib
4125 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4126
826dd0ab
PE
4127 mktime: merge DEBUG change from gnulib
4128 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4129 case system <time.h> has a #define.
4130
bd83aabe
PE
4131 mktime: merge <sys/types.h> change from gnulib
4132 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4133 since <time.t> is now guaranteed to define time_t.
4134
95770f14
PE
4135 mktime: merge HAVE_CONFIG_H change from gnulib
4136 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4137
5e1a27a9
L
41382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4139
0e44a77e
L
4140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4141 Use "neg %eax".
4142
5e1a27a9
L
4143 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4144 __rlim_t cast.
4145 (struct rusage): Use anonymous union to pad each field to
4146 __syscall_slong_t.
4147
46259bec
DM
41482012-05-21 David S. Miller <davem@davemloft.net>
4149
4150 * Makefules (o-iterator): Remove .s cases.
4151 (compile-command.s): Delete.
4152 (COMPILE.s): Delete.
4153 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4154
59f0c22e
JM
41552012-05-21 Joseph Myers <joseph@codesourcery.com>
4156
4157 * configure.in (libc_cv_predef_stack_protector): Only consider
4158 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4159 * configure: Regenerated.
4160
20c07380
L
41612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4162
bbb3154b
L
4163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4164 New macro. Use R*LP on int and pointer.
4165 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4166 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4167 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4168 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4169
20c07380
L
4170 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4171 [__WORDSIZE_TIME64_COMPAT32] instead of
4172 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4173 (struct utmp): Likewise.
4174 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4175 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4176 Renamed to ...
4177 (__WORDSIZE_TIME64_COMPAT32): This.
4178 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4179 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4180 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4181 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4182 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4183 (__WORDSIZE_TIME64_COMPAT32): New macro.
4184
d8d1017e
AJ
41852012-05-21 Andreas Jaeger <aj@suse.de>
4186
4187 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4188 only if [SHARED]. Add prototype for __wcschr_ia32.
4189
6c7fb145
RM
41902012-05-21 Roland McGrath <roland@hack.frob.com>
4191
4192 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4193 of %rbp unmolested in the jmp_buf while mangling the low bits.
4194 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4195 unmolested high bits of %rbp while demangling the low bits.
4196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4197
66274218
AJ
41982012-05-21 Andreas Jaeger <aj@suse.de>
4199
07c58f8f
AJ
4200 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4201 * sunrpc/svc_simple.c: Use it for registerrpc.
4202 * sunrpc/xcrypt.c: Use it for passwd2des.
4203
66274218
AJ
4204 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4205
61f65140
L
42062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4207
4208 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4209 Don't define if [__SYSCALL_WORDSIZE != 32].
4210 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4211 New macro.
4212
5fefb436
AJ
42132012-05-21 Bruno Haible <bruno@clisp.org>
4214 Andreas Jaeger <aj@suse.de>
4215
4216 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4217 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4218 inptr and inend for must_buffer_ch.
4219 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4220 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4221 * stdio-common/Makefile (tests): Remove bug15.
4222 (bug15-ENV): Remove macro.
4223 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4224 anymore.
4225
d8e272ab
AJ
42262012-05-19 Andreas Jaeger <aj@suse.de>
4227 Roland McGrath <roland@hack.frob.com>
4228
4229 * manual/contrib.texi: Completely rewritten. It contains now an
4230 alphabetical list of contributors and their contributions.
4231
4a56a162
RH
42322012-05-21 Richard Henderson <rth@twiddle.net>
4233
4234 * misc/getauxval.c (__getauxval): Use unsigned long int.
4235 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4236 (getauxval): Use unsigned long int.
4237
d024d23c
L
42382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4239
4240 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4241
cbc00a03
RM
42422012-05-21 Roland McGrath <roland@hack.frob.com>
4243
4244 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4245 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4246 __alignof__ (long double).
4247
478143fa
AZ
42482012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4249
4250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4251
c7683a6d
RH
42522012-05-20 Richard Henderson <rth@twiddle.net>
4253
4254 * misc/getauxval.c: New file.
4255 * misc/sys/auxv.h: New file.
4256 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4257 (routines): Add getauxval.
4258 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4259 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4260 * elf/dl-sysdep.c (_dl_auxv): Remove.
4261 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4262 * elf/dl-support.c (_dl_auxv): New variable.
4263 (_dl_aux_init): Initialize it.
4264 * manual/startup.texi (Auxiliary Vector): New node.
4265 * sysdeps/generic/bits/hwcap.h: New file.
4266 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4267 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4268 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4269 * sysdeps/sparc/sysdep.h: ... here. Include it.
4270 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4273 Update.
c7683a6d
RH
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4282
a6f1845d
AZ
42832012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4284
4285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4286
cbcbe830
DM
42872012-05-19 David S. Miller <davem@davemloft.net>
4288
4289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4290
e0b16cc2
JM
42912012-05-19 Joseph Myers <joseph@codesourcery.com>
4292
4293 [BZ #14123]
4294 * math/s_ccosh.c: Include <float.h>
4295 (__ccosh): Avoid internal overflow calculating sinh and cosh
4296 values before multiplying by sin and cos values.
4297 * math/s_ccoshf.c: Likewise.
4298 * math/s_ccoshl.c: Likewise.
4299 * math/s_csin.c: Likewise.
4300 * math/s_csinf.c: Likewise.
4301 * math/s_csinl.c: Likewise.
4302 * math/s_csinh.c: Likewise.
4303 * math/s_csinhf.c: Likewise.
4304 * math/s_csinhl.c: Likewise.
4305 * math/libm-test.inc (ccos_test): Add more tests.
4306 (ccosh_test): Likewise.
4307 (csin_test): Likewise.
4308 (csinh_test): Likewise.
4309 * sysdeps/i386/fpu/libm-test-ulps: Update.
4310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311
6ad13e08
L
43122012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4313
f66f0ce8
L
4314 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4315 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4316
6ad13e08
L
4317 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4318
b1d072a7
JM
43192012-05-19 Joseph Myers <joseph@codesourcery.com>
4320
4321 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4322 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4323 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4324 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4325 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4326 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4327 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4328 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4329 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4330 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4331 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4332 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4333 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4334 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4335 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4336 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4337 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4338 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4339 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4340 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4341 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4342 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4343 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4344 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4345 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4346 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4347 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4348 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4349 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4350 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4351 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4352
9eae47cb
AJ
43532012-05-18 Andreas Jaeger <aj@suse.de>
4354
4355 * csu/.gitignore: Delete.
4356
bb07f69f
L
43572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4358
4359 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4360 (timex): Use __syscall_slong_t.
4361
e6bdb741
AJ
43622012-05-18 Andreas Jaeger <aj@suse.de>
4363 Carlos O'Donell <carlos_odonell@mentor.com>
4364
4365 * manual/install.texi (Configuring and compiling): Update
4366 description about files modified in the source directory.
d6c33fda 4367 * INSTALL: Regenerated.
e6bdb741 4368
1b74487e
L
43692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4370
4371 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4372 value. Use "or" to set return value to -1.
4373 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4374 negate return value.
4375
a88b64b9
TMQMF
43762012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4377
4378 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4379 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4380 failure if the compiler has Graphite support disabled.
4381 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4382 Likewise.
4383 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4384 CFLAGS-memmove.c): Likewise.
4385 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4386 Likewise.
4387
3707636e
L
43882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4389
610b8622
L
4390 * sysdeps/x86_64/x32/_itoa.h: New file.
4391
7cd195df
L
4392 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4393 getdents system call only if kernel and user dirents have the
4394 same d_ino and d_off.
4395
94b07d20
L
4396 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4397 LLONG_MAX != LONG_MAX.
4398 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4399 (_fitoa_word): Likewise.
4400
18298070
L
4401 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4402 years.
4403 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4404 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4405 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4406
553c7ea4
L
4407 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4408 include <bits/wordsize.h>. Check __x86_64__ instead of
4409 __WORDSIZE.
4410 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4411 if __x86_64__ is defined. Use anonymous union on fpstate.
4412
3707636e
L
4413 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4414 anonymous union.
4415
b53ef01a
AS
44162012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4417
37fb1dc0
AS
4418 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4419 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4420 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4421 Refer to _rtld_local_ro instead of _rtld_global_ro.
4422 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4423 Likewise.
4424 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4425 Likewise.
4426 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4427 Likewise.
4428 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4429 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4430 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4431
b53ef01a
AS
4432 * sysdeps/powerpc/powerpc32/dl-machine.c
4433 (__elf_machine_runtime_setup) [PROF]: Don't reference
4434 _dl_prof_resolve.
4435
7a185db2
AJ
44362012-05-18 Andreas Jaeger <aj@suse.de>
4437
4438 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4439 function only available for GCCs before 3.4 since GCC 3.4
4440 introduced a builtin.
4441 (lrint): Likewise.
4442 (llrintf): Likewise.
4443 (llrint): Likewise.
4444 (fmaxf): Likewise.
4445 (fmax): Likewise.
4446 (fminf): Likewise.
4447 (fmin): Likewise.
4448 (rint): Likewise.
4449 (rintf): Likewise.
4450 (nearbyint): Likewise.
4451 (nearbyintf): Likewise.
4452 (ceil): Likewise.
4453 (ceilf): Likewise.
4454 (floor): Likewise.
4455 (floorf): Likewise.
4456
3e5aef87
L
44572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4458
428bd707
L
4459 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4460 on both fields and cast pointer to __syscall_ulong_t.
4461
3e5aef87
L
4462 * bits/types.h (__fsword_t): New type.
4463 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4464 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4466 (__FSWORD_T_TYPE): Likewise.
4467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4468 (__FSWORD_T_TYPE): Likewise.
4469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4470 (__FSWORD_T_TYPE): Likewise.
4471 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4472 (__FSWORD_T_TYPE): Likewise.
4473 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4474 __SWORD_TYPE with __fsword_t.
4475 (statfs64): Likewise.
4476
1ba7c3dc
DM
44772012-05-17 David S. Miller <davem@davemloft.net>
4478
4479 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4480
59910343
AJ
44812012-05-17 Andreas Jaeger <aj@suse.de>
4482
4483 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4484 warning.
4485
2e4c1e9e
L
44862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4487
4488 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4489
de7f5ce7
AJ
44902012-05-17 Andreas Jaeger <aj@suse.de>
4491
4492 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4493 when it is used.
4494
286abc3d
CM
44952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4496
4497 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4498
477cc68e
L
44992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4500
4501 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4502 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4503
1a0994f5
CD
45042012-05-17 Andreas Jaeger <aj@suse.de>
4505 Carlos O'Donell <carlos_odonell@mentor.com>
4506
4507 [BZ #14059]
4508 * sysdeps/x86_64/multiarch/init-arch.h
4509 (bit_YMM_Usable): Rename to...
4510 (bit_AVX_Usable): ... this.
4511 (bit_FMA4_Usable): New macro.
4512 (bit_XMM_state): New macro.
4513 (bit_YMM_state): New macro.
4514 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4515 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4516 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4517 (CPUID_OSXSAVE): New macro.
4518 (CPUID_AVX): New macro.
4519 (CPUID_FMA4): New macro.
4520 (index_YMM_Usable): Rename to...
4521 (index_AVX_Usable): ... this.
4522 (HAS_AVX): Use HAS_ARCH_FEATURE.
4523 (HAS_FMA4): Likewise.
4524 (HAS_YMM_USABLE): Remove.
4525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4526 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4527 are present.
4528 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4529 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4530 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4531 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4532 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4533
0af797de
CM
45342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4535
4536 * math/libm-test.c: Support platforms without multiple rounding modes.
4537 * math/bug-nextafter.c: Support platforms without FP exceptions.
4538 * math/bug-nexttoward.c: Likewise.
4539 * math/test-fenv.c: Likewise.
4540 * math/test-misc.c: Likewise.
4541 * stdlib/bug-getcontext.c: Likewise.
4542
e39745ff
AJ
45432012-05-17 Andreas Jaeger <aj@suse.de>
4544
4545 * manual/examples/search.c (critter_cmp): Change signature to
4546 avoid warnings.
4547 * manual/string.texi (Collation Functions): Likewise.
4548
48970aba
L
45492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4550
4551 * bits/types.h: Fold copyright years.
4552 * bits/typesizes.h: Likewise.
4553 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4557 * time/time.h: Likewise.
4558
bedee953
PP
45592012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4560
4561 [BZ #208]
4562 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4563 in instead of returning them. Return void.
4564 (__libc_mallinfo): Accumulate over all arenas.
4565 (__malloc_stats): Adjust for change in int_mallinfo interface.
4566
61653dfb
RM
45672012-05-16 Roland McGrath <roland@hack.frob.com>
4568
30b99d79
RM
4569 [BZ #10375]
4570 * configure.in (NM): Add AC_CHECK_TOOL for it.
4571 (libc_extra_cflags): New substituted variable.
4572 Check for -fstack-protector being used implicitly.
4573 * configure: Regenerated.
4574 * config.make.in (config-extra-cflags): New variable,
4575 gets @libc_extra_cflags@.
4576 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4577
61653dfb
RM
4578 [BZ #10375]
4579 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4580 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4581 * configure: Regenerated.
4582 * config.make.in (CPPUNDEFS): New substituted variable.
4583 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4584 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4585 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4586
661768bb
L
45872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4588
4589 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4590 (mq_attr): Use __syscall_slong_t.
4591
d4261567
L
45922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4595 Check __x86_64__ instead of __WORDSIZE.
4596 (_STAT_VER_LINUX): Likewise.
4597 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4598 __syscall_ulong_t and __syscall_slong_t.
4599 (stat64): Likewise.
4600
cf3ff365
L
46012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4602
4603 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4604
76cf3e4d
L
46052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4606
4607 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4608
a637753a
L
46092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4610
4611 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4612 __syscall_ulong_t.
4613
d5e05119
L
4614 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4615 include <bits/wordsize.h>. Check __x86_64__ instead of
4616 __WORDSIZE.
4617 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4618 defined.
4619 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4620
f62ee380
L
4621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4622 include <bits/wordsize.h>. Check __x86_64__ instead of
4623 __WORDSIZE.
4624 (user_regs_struct): Use "__extension__ unsigned long long"
4625 instead of "unsigned long" if __x86_64__ is defined.
4626 (user): Likewise. Pad after pointer field if __ILP32__ is
4627 defined.
4628
4e124ced
JM
46292012-05-16 Joseph Myers <joseph@codesourcery.com>
4630
6a3951a0
JM
4631 * configure.in (makeinfo): Require version 4.5 or later. Allow
4632 versions 5 to 9.
4633 * configure: Regenerated.
4634 * manual/install.texi (texinfo): Increase version requirement to
4635 4.5 or later.
4636 * INSTALL: Regenerated.
4637
4e124ced
JM
4638 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4639
953ca31a
L
46402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4641
4642 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4643
617aca05
L
4644 * sysdeps/x86_64/x32/ffs.c: New file.
4645
5762f7ae
L
4646 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4647 __syscall_ulong_t.
4648 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4649 defined. Use __syscall_ulong_t.
4650 (shminfo): Use __syscall_ulong_t.
4651 (shm_info): Likewise.
4652
a26b6856
L
4653 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4654 __syscall_ulong_t.
4655
cb2b9ef7
L
4656 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4657 <bits/wordsize.h>.
4658 (msgqnum_t): Use __syscall_ulong_t.
4659 (msglen_t): Likewise.
4660 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4661 __syscall_ulong_t.
4662
34683bb0
L
4663 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4665
84a68786
L
4666 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4667
48baa5f1
L
4668 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4669 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4670
180be88b
L
4671 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4672 __syscall_slong_t.
4673
5e90c8ad
L
4674 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4675 include <bits/wordsize.h>. Check __x86_64__ instead of
4676 __WORDSIZE.
4677
23dfb58b
L
4678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4679 "unsigned long long int" if __x86_64__ is defined.
4680 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4681
ce5d54b0
L
4682 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4683 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4684 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4685
13dc9eac
L
4686 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4687 <stdint.h>.
4688 (GET_PC): Cast to uintptr_t first.
4689 (GET_FRAME): Likewise.
4690 (GET_STACK): Likewise.
4691
a7895d15
L
4692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4698 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4699 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4701 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4704 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4709 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4711 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4713 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4714 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4715 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4716 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4717 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4719 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4721
656416c9
AS
47222012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4723
5bd66283
AS
4724 * Makerules (+depfiles): Also collect depfiles from .oS in
4725 $(extra-objs).
4726 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4727 .oS, $(libnldbl-routines)).
4728
656416c9
AS
4729 * Makerules (native-compile-mkdep-flags): Define.
4730 * sunrpc/Makefile (extra-objs): Add $(addprefix
4731 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4732 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4733 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4734 calling $(make-target-directory).
4735
a46f2169
L
47362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4737
4738 * bits/types.h (__snseconds_t): Removed.
4739 * time/time.h (struct timespec): Replace __snseconds_t with
4740 __syscall_slong_t.
4741 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4742 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4743 Likewise.
4744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4745 (__SNSECONDS_T_TYPE): Likewise.
4746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4747 (__SNSECONDS_T_TYPE): Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4749 (__SNSECONDS_T_TYPE): Likewise.
4750
6af6528b
L
47512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4752
4753 * sysdeps/mach/hurd/bits/typesizes.h
4754 (__SYSCALL_SLONG_TYPE): New macro.
4755 (__SYSCALL_ULONG_TYPE): Likewise.
4756
de986b56
L
47572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4758
4759 * bits/types.h (__syscall_slong_t): New type.
4760 (__syscall_ulong_t): Likewise.
4761
4762 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4763 (__SYSCALL_ULONG_TYPE): Likewise.
4764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4765 (__SYSCALL_SLONG_TYPE): Likewise.
4766 (__SYSCALL_ULONG_TYPE): Likewise.
4767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4768 (__SYSCALL_SLONG_TYPE): Likewise.
4769 (__SYSCALL_ULONG_TYPE): Likewise.
4770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4771 (__SYSCALL_SLONG_TYPE): Likewise.
4772 (__SYSCALL_ULONG_TYPE): Likewise.
4773
85736dc7
L
47742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4775
4776 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4777 Add sigaltstack-offsets.sym.
4778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4779 <sigaltstack-offsets.h>.
4780 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4781 longjmp_msg pointer.
4782 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4783 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4784 signal stack.
4785 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4786
cc03b296
JM
47872012-05-15 Joseph Myers <joseph@codesourcery.com>
4788
a9538892
JM
4789 * elf/stackguard-macros.h: Remove file.
4790 * sysdeps/generic/stackguard-macros.h: New file.
4791 * sysdeps/i386/stackguard-macros.h: Likewise.
4792 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4793 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4794 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4795 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4796 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4797 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4798 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4799 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4800 <elf/stackguard-macros.h>.
4801
cc03b296
JM
4802 [BZ #14109]
4803 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4804 __aligned__ in attribute.
4805 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4806 (gregset_t): Likewise.
4807
93171016
L
48082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4809
4810 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4811 * sysdeps/x86_64/64/Implies-after: Here. New file.
4812 * sysdeps/x86_64/x32/Implies-after: New file.
4813
d86813a0
L
48142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4815
4816 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4817 and access return value for _dl_profile_fixup. Use R10_LP to
4818 load frame size.
4819
2953ec75
L
48202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4821
4822 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4823
3b550e9e
L
48242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4825
4826 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4827 * sysdeps/x86_64/x32/sysdep.h: New file.
4828
eda41706
L
48292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4830
4831 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4832 * sysdeps/x86_64/setjmp.S: Likewise.
4833
9ea01d93
AZ
48342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4835
4836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4837 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4838 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4839 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4840 remove unused global constant.
4841
02a91938
CM
48422012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4843
4844 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4845 include of <not-cancel.h>.
4846
6540185f
RM
48472012-05-15 Roland McGrath <roland@hack.frob.com>
4848
4849 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4850
509072a0
AJ
48512012-05-15 Jeff Law <law@redhat.com>
4852 Andreas Jaeger <aj@suse.de>
4853
4854 [BZ #13594]
4855 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4856 out from...
4857 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4858 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4859 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4860 code changing __hst_map_handle.map.
4861
ba75122d
RM
48622012-05-15 Roland McGrath <roland@hack.frob.com>
4863
4864 * configure.in (sysnames): Look for Implies-before and Implies-after
4865 files.
4866 * configure: Regenerated.
4867
890d8bd8
L
48682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4869
4870 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4871 8-byte data alignment with LP_SIZE alignment.
4872
f6ee6623
L
48732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4874
4875 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4876 into R10_LP.
4877
ea2626f6
L
48782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4879
4880 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4881
085f715e
L
48822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4883
4884 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4885 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4887 Likewise.
4888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4889
be8498fc
L
48902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4891
4892 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4893 (stackinfo_sub_sp): Likewise.
4894
70bc83b9
L
48952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4896
4897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4898 RAX_LP.
4899
9bc0b730
L
49002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4901
4902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4903 into R*_LP.
4904
6d2850e7
L
49052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4906
4907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4908 sizes into R*_LP.
4909
3cb84561
L
49102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4911
4912 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4913
54e2ed81
L
49142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4915
4916 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4917 into R11_LP and load __x86_64_shared_cache_size_half into
4918 R8_LP.
4919
8a17f349
L
49202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4921
4922 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4923 R8_LP.
4924
777b1eea
AZ
49252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926
4927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4928 logb for POWER7.
4929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4930 logbf for POWER7.
4931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4932 logbl for POWER7.
4933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4934 powerpc32/power7/fpu/s_logb.c via #include.
4935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4936 powerpc32/power7/fpu/s_logbf.c via #include.
4937 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4938 powerpc32/power7/fpu/s_logbl.c via #include.
4939
d20d4ac2
JM
49402012-05-15 Joseph Myers <joseph@codesourcery.com>
4941
4942 * README.libm: Remove file.
4943
6cdef1ab
L
49442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4945
4946 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4947 count for x32. Use R*_LP and omit operand-size suffix.
4948
0b254d8f
L
49492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4950
4951 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4952 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4953 * sysdeps/x86_64/x32/shlib-versions: New file.
4954
ceb809dc
RM
49552012-05-14 Roland McGrath <roland@hack.frob.com>
4956
4957 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4958 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4959 Use _dl_fatal_printf instead.
4960
37f1abd4
JM
49612012-05-14 Joseph Myers <joseph@codesourcery.com>
4962
4963 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4964 set if not set by the user. Do not allow for being unset.
4965 * sysdeps/unix/sysv/linux/configure: Regenerated.
4966
11de3a33
L
49672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4968
4969 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4970 the `q' suffix from lea and replace .quad with ASM_ADDR.
4971
e02f153a
L
49722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4973
4974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4975 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4976 instead of $17.
4977 (PTR_DEMANGLE): Likewise.
4978
520ae0fd
L
49792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4980
4981 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4982 (LP_OP): Likewise.
4983 (ASM_ADDR): Likewise.
4984 (RAX_LP): Likewise.
4985 (RBP_LP): Likewise.
4986 (RBX_LP): Likewise.
4987 (RCX_LP): Likewise.
4988 (RDI_LP): Likewise.
4989 (RSI_LP): Likewise.
4990 (RSP_LP): Likewise.
4991 (R8_LP): Likewise.
4992 (R9_LP): Likewise.
4993 (R10_LP): Likewise.
4994 (R10_LP): Likewise.
4995 (R11_LP): Likewise.
4996 (R12_LP): Likewise.
4997 (R13_LP): Likewise.
4998 (R14_LP): Likewise.
4999 (R15_LP): Likewise.
5000
b985be81
L
50012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5002
5003 * sysdeps/x86_64/x32/dl-machine.h: New file.
5004
6a4888ff
AJ
50052012-05-14 Andreas Jaeger <aj@suse.de>
5006
5007 * manual/Makefile (subdir): Remove export of subdir.
5008 (all): Remove target.
5009 (.PHONY): Remove all from list.
5010 (mkinstalldirs): Remove.
5011 (.PHONY): Remove installdirs from list.
5012 ($(inst_infodir)/libc.info): Use make-target-directory.
5013 (installdirs): Remove.
5014 (subdir_%): Remove.
5015 (glibc-targets): Remove.
5016 (lib): Remove.
5017 (stubs): Remove.
5018 ($(objpfx)stubs ../po/manual.pot): Remove.
5019 ($(objpfx)stamp%): Remove.
5020 (make-target-directory): Remove.
5021 (subdir_install): Remove.
5022 (routines): Remove.
5023 (aux): Remove.
5024 (sources): Remove.
5025 (objects): Remove.
5026 (headers): Remove.
5027
5028 [BZ #13750]
5029 * manual/.gitignore: Remove, it's not needed anymore.
5030 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5031 all files in it.
5032 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5033 directory.
5034 (texis): Renamed to $(objpfx)texis.
5035 (texis-path): New, contains path to generated files.
5036 (chapters.%): Use texis-path for complete path, add extra argument
5037 libc-texinfo.sh.
5038 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5039 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5040 (summary,texi, stamp-summary): Use complete path of
5041 files. Generate files in build dir.
5042 (dir-add.texi): Build in build dir.
5043 (libm-err.texi,stamp-libm-err): Likewise.
5044 (version.texi, stamp-version): Likewise.
5045 (.%c.texi): Likewise.
5046 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5047 (mostlyclean): Remove target.
5048 (realclean): Remove target.
5049 (generated): Add new variable with contents from mostlyclean and
5050 realclean, remove entries duplicated in common-mostlyclean, add
5051 stamp-libm-err and stamp-version.
5052 (generated-dirs): Add libc directory.
5053 ($(inst_infodir)/libc.info): Install files from build dir.
5054
5055 * manual/install.texi (Configuring and compiling): Adjust since
5056 the info files are not part of the tar ball anymore.
5057
7ac77294
AJ
50582012-05-14 Andreas Jaeger <aj@suse.de>
5059
5060 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5061 variable.
5062
ffb7875d
JM
50632012-05-14 Joseph Myers <joseph@codesourcery.com>
5064
5065 [BZ #13717]
5066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5067 to 2.2.0 where earlier.
5068 * sysdeps/unix/sysv/linux/configure: Regenerated.
5069 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5070 Remove conditional code.
5071 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5072 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5073 Remove conditional code.
5074 [!__NR_lchown]: Likewise.
5075 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5076 [__NR_lchown]: Likewise.
5077 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5078 comment referencing __ASSUME_LCHOWN_SYSCALL.
5079 * sysdeps/unix/sysv/linux/i386/sigaction.c
5080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5082 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5083 Remove conditional code.
5084 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5085 (__protocol_available): Remove #if 0 code.
5086 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5087 conditional code.
5088 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5089 * sysdeps/unix/sysv/linux/kernel-features.h
5090 (__ASSUME_GETCWD_SYSCALL): Don't define.
5091 (__ASSUME_REALTIME_SIGNALS): Likewise.
5092 (__ASSUME_PREAD_SYSCALL): Likewise.
5093 (__ASSUME_PWRITE_SYSCALL): Likewise.
5094 (__ASSUME_POLL_SYSCALL): Likewise.
5095 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5096 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5097 non-SPARC.
5098 (__ASSUME_SIOCGIFNAME): Don't define.
5099 (__ASSUME_MSG_NOSIGNAL): Likewise.
5100 (__ASSUME_SENDFILE): Define unconditionally.
5101 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5102 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5103 conditional code.
5104 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5105 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5106 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5107 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5108 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5109 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5110 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5115 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5124 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5127 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5133 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5135 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5136 Remove conditional code.
5137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5138 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5139 Remove conditional code.
5140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5141 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5142 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5143 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5144 Remove conditional code.
5145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5146 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5147 Remove conditional code.
5148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5149 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5150 Remove conditional code.
5151 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5152 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5153 Remove conditional code.
5154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5155 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5156 Remove conditional code.
5157 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5158 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5159 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5161 * sysdeps/unix/sysv/linux/sigaction.c
5162 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5163 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5164 * sysdeps/unix/sysv/linux/sigpending.c
5165 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5166 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5167 * sysdeps/unix/sysv/linux/sigprocmask.c
5168 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5169 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5170 * sysdeps/unix/sysv/linux/sigsuspend.c
5171 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5172 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5173 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5174 (__libc_missing_rt_sigs): Remove.
5175 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5176 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5177 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5178 Remove conditional code.
5179 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5180 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5181 return 1.
5182 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5183 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5184 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5185 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5186
1bfb7291
AJ
51872012-05-14 Andreas Jaeger <aj@suse.de>
5188
caae5a81
AJ
5189 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5190 it's not used in glibc.
5191 (__coshm1): Likewise.
5192 (__acosh1p): Likewise.
5193 (__sgn): Likewise.
5194
1bfb7291
AJ
5195 * manual/string.texi (Copying and Concatenation): Add missing
5196 variable in concat example.
5197 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5198
c044d724
L
51992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5200
144c5467 5201 [BZ #14103]
c044d724
L
5202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5203 __builtin_clzl with __builtin_clzll.
5204
2523c62b
L
52052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5206
5207 [BZ #14104]
5208 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5209 libc_freeres_ptr.
5210
d7bb4c42
LD
52112012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5212
5213 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5214 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5215 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5216 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5217
9dc4e1fb
MF
52182012-05-14 Mike Frysinger <vapier@gentoo.org>
5219
5220 * NEWS: Update ia64 info.
5221
c7df0112
AS
52222012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5223
5224 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5225 used as bcopy.
5226
dc70356c
TS
52272012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5228
5229 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5230 * sysdeps/unix/syscalls.list (dup3): Likewise.
5231 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5232 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5233
9fb1a21f
L
52342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5235
5236 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5237 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5238
4822a2a5
L
52392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5240
5241 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5242 thread pointer.
5243 (TLS_IE): Use mov/add instead of movq/addq to load thread
5244 pointer.
5245 (TLS_GD_PREFIX): New.
5246 (TLS_GD): Use it.
5247
842b81d6
DM
52482012-05-11 David S. Miller <davem@davemloft.net>
5249
5250 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5251 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5252 (_FPU_SETCW): Likewise.
5253
1cf463cd
L
52542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5255
5256 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5257 is 32-byte aligned.
5258
60cc4a18
AS
52592012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5260
5261 [BZ #11837]
5262 * iconvdata/gb18030.c: Update tables.
5263 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5264 characters specially.
5265 (BODY for TO_LOOP): Add encoding of missing ranges.
5266
febb44a4
TS
52672012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5268
5269 [BZ #13673]
5270 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5271 * sysdeps/mach/hurd/dup3.c: Likewise.
5272 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5273 * sysdeps/powerpc/memmove.c:: Likewise.
5274
0a10fb9e
L
52752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5276
5277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5278 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5279
df8a552f
L
52802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5281
5282 * elf/elf.h (R_X86_64_RELATIVE64): New.
5283 (R_X86_64_NUM): Updated.
5284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5285 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5286 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5287 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5288 tst-quad1pie tst-quad2pie
5289 (modules-names): Add tst-quadmod1 tst-quadmod2.
5290 ($(objpfx)tst-quad1): New dependency.
5291 ($(objpfx)tst-quad2): Likewise.
5292 ($(objpfx)tst-quad1pie): Likewise.
5293 ($(objpfx)tst-quad2pie): Likewise.
5294 * sysdeps/x86_64/tst-quad1.c: New file.
5295 * sysdeps/x86_64/tst-quad1pie.c: New file.
5296 * sysdeps/x86_64/tst-quad2.c: Likewise.
5297 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5298 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5299 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5300 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5301 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5302
f34d6f84
ST
53032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5304
f42d41d1
ST
5305 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5306 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5307 * streams/stropts.h (t_scalar_t): Define type.
5308
3c3571fc
ST
5309 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5310 (_PATH_PRESERVE): Set to "/var/lib".
5311 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5312
61f06bd3
ST
5313 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5314 instead of int.
5315
918d4d71
ST
5316 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5317 if __dir_mkfile succeeded.
5318
f34d6f84
ST
5319 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5320 checking for _hurd_dtablesize. Unlock it right after having
5321 finished _hurd_dtable allocation.
5322
10589b4a
TS
53232012-05-10 Thomas Schwinge <thomas@schwinge.name>
5324
674cdbc7
TS
5325 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5326 * sysdeps/mach/hurd/configure: Regenerated.
5327 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5328 special-casing to...
5329 * sysdeps/gnu/configure.in: ... this new file.
5330 * sysdeps/unix/sysv/linux/configure: Regenerated.
5331 * sysdeps/gnu/configure: New generated file.
5332
8e41b99f
TS
5333 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5334 for Linux: use nsec instead of usec, as well as:
5335 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5336 members of type struct timespec.
5337 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5338 New macros.
5339 (struct stat64): Likewise.
5340 (_STATBUF_ST_NSEC): New macro.
5341 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5342
10589b4a
TS
5343 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5344 __strtoul_internal rather than strtoul.
5345
63643c85
PT
53462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5347
5348 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5349 and reject them.
5350
3faebe6a
ST
53512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5352
5353 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5354 which preserves existing values.
5355 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5356
c6474b07
PT
53572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5358
5359 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5360 TIMEOUT values. Return EINVAL for NFDS values either negative or
5361 greater than FD_SETSIZE.
5362
1043890b
ST
53632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5364
5365 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5366 allocated, call __vm_protect to finish enabling the existing space, and
5367 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5368 allocate the remainder.
5369
37ed8b9b
PT
53702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5371
5372 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5373 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5374
db653660
ST
53752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5376
37ed8b9b
PT
5377 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5378 sysdeps/mach/hurd/readlink.c.
b29d4053 5379
db653660
ST
5380 * posix/tst-sysconf.c (posix_options): Only use
5381 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5382 _POSIX_SYNCHRONIZED_IO when they are defined
5383 * sysdeps/mach/hurd/bits/posix_opt.h:
5384 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5385 (_XOPEN_REALTIME): Undefine macro.
5386 (_XOPEN_REALTIME_THREADS): Undefine macro.
5387 (_XOPEN_SHM): Undefine macro.
5388 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5389 macro to -1.
5390 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5391 macro to -1.
5392 (_POSIX_ASYNC_IO): Undefine macro.
5393 (_POSIX_PRIORITIZED_IO): Undefine macro.
5394 (_POSIX_SPIN_LOCKS): Define macro to -1.
5395
ee16e894
ST
5396 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5397 SA_NODEFER, SA_RESETHAND.
5398 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5399 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5400 F_DUPFD_CLOEXEC.
5401
6103ae3b
TS
54022012-05-10 Thomas Schwinge <thomas@schwinge.name>
5403
5404 * elf/Makefile (pldd-modules): Define unconditionally.
5405
80b4e5f3
TS
54062012-05-10 Thomas Schwinge <thomas@schwinge.name>
5407
5408 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5409
edadcbd6
ST
54102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5411
5412 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5413 Return ENOENT when name is empty.
5414 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5415
80694780
TS
54162012-05-10 Thomas Schwinge <thomas@schwinge.name>
5417
1792c087
TS
5418 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5419
80694780
TS
5420 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5421
6b645f0d
ST
54222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5423
80694780
TS
5424 Fix mlock in all cases except non-readable pages.
5425 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5426 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5427
6b645f0d
ST
5428 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5429 (__mkdir): When path is `/', just fail with EEXIST.
5430 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5431
e468f8a3
TS
54322012-05-10 Thomas Schwinge <thomas@schwinge.name>
5433
5434 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5435 <sys/uio.h> (for writev).
5436 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5437 and <sys/param.h> (for MIN).
5438
a4186cff
PT
54392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5440
5441 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5442 REQUESTED_TIME. Properly set the remaining time and return EINTR
5443 if interrupted.
5444
510bbf14
TS
54452012-05-10 Thomas Schwinge <thomas@schwinge.name>
5446
5447 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5448 Depend on against $(link-rpcuserlibs).
5449
5d5722e8
ST
54502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5451
a4186cff
PT
5452 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5453 (__libc_stack_end): Do not use attribute_relro.
5454 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5455 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5456 to libthread-provided value.
a4186cff
PT
5457 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5458 attribute_relro.
5d5722e8 5459
37233df9
TS
54602012-05-10 Thomas Schwinge <thomas@schwinge.name>
5461
be971a2b
TS
5462 [BZ #3748]
5463 * bits/libc-lock.h (__libc_once_get): New macro.
5464 * sysdeps/mach/bits/libc-lock.h: Likewise.
5465 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5466 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5467 instead of using implementation details.
5468
37233df9
TS
5469 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5470 * libio/freopen.c: Likewise.
5471 * libio/freopen64.c: Likewise.
5472 * misc/syslog.c: Likewise.
5473 * nscd/connections.c: Likewise.
5474 * nscd/netgroupcache.c: Likewise.
5475 * sysdeps/posix/getcwd.c: Likewise.
5476
38de94a5
RM
54772012-05-10 Roland McGrath <roland@hack.frob.com>
5478
5479 * math/w_ilogbf.c: Add #include <limits.h>.
5480
67530489
ST
54812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5482
a4186cff 5483 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5484 path instead of returning without unlocking.
5485
67530489
ST
5486 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5487 immediate-write ioctls.
5488 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5489
5aa3a74a
TS
54902012-05-10 Thomas Schwinge <thomas@schwinge.name>
5491
18bad2ae
TS
5492 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5493 __builtin_frame_address instead of making assumptions about the
5494 location of the return address relative to DATA. Force early load of
5495 the return address.
5496 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5497 __builtin_frame_address.
5498
5aa3a74a
TS
5499 dup3 for GNU Hurd.
5500 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5501 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5502 implement dup3 and do some further code clean-ups.
5503 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5504 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5505
ecd0de9a
ST
55062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5507
cd9fa985
ST
5508 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5509
a4186cff
PT
5510 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5511 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5512 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5513 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5514 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5515 d->port.lock.
802ca5a5 5516
a4186cff
PT
5517 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5518 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5519 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5520
bcf55240
TS
55212012-05-10 Thomas Schwinge <thomas@schwinge.name>
5522
6960eb42
TS
5523 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5524 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5525 definitions.
5526
eb43375f
TS
5527 accept4 for GNU Hurd.
5528 * include/sys/socket.h (__libc_accept4): New prototype.
5529 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5530 to implement __libc_accept4.
5531 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5532 __libc_accept4.
5533 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5534
bcf55240
TS
5535 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5536 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5537 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5538 signal-defines.sym.
5539
6178c55b
ST
55402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5541
a4186cff 5542 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5543
6f080c2f
TS
55442012-05-10 Thomas Schwinge <thomas@schwinge.name>
5545
5546 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5547 assertion on O_CLOEXEC flag.
5548 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5549 * hurd/intern-fd.c: Likewise.
5550 * hurd/port2fd.c: Likewise.
5551
bcfe3a54
ST
55522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5553
5554 [BZ #3906]
5555 * bits/in.h (IPV6_PKTINFO): Define new macro.
5556 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5557
89c9aa49
AZ
55582012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5559
5560 [BZ #13954]
5561 [BZ #13955]
5562 [BZ #13956]
5563 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5564 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5565 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5566 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5568 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5569 * math/libm-test.inc (logb_test) : Additional logb tests.
5570
021db4be
AJ
55712012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5572 Andreas Jaeger <aj@suse.de>
5573
5574 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5575 * configure: Regenerated.
5576 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5577 * config.make.in (link-obsolete-rpc): New substituted variable.
5578 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5579 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5580 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5581 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5582 so that libc.a contains the symbols.
5583 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5584 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5585 * sunrpc/auth_none.c: Likewise.
5586 * sunrpc/auth_unix.c: Likewise.
5587 * sunrpc/authdes_prot.c: Likewise.
5588 * sunrpc/authuxprot.c: Likewise.
5589 * sunrpc/clnt_gen.c: Likewise.
5590 * sunrpc/clnt_perr.c: Likewise.
5591 * sunrpc/clnt_raw.c: Likewise.
5592 * sunrpc/clnt_simp.c: Likewise.
5593 * sunrpc/clnt_tcp.c: Likewise.
5594 * sunrpc/clnt_udp.c: Likewise.
5595 * sunrpc/clnt_unix.c: Likewise.
5596 * sunrpc/des_crypt.c: Likewise.
5597 * sunrpc/des_soft.c: Likewise.
5598 * sunrpc/get_myaddr.c: Likewise.
5599 * sunrpc/key_call.c: Likewise.
5600 * sunrpc/key_prot.c: Likewise.
5601 * sunrpc/netname.c: Likewise.
5602 * sunrpc/pm_getmaps.c: Likewise.
5603 * sunrpc/pm_getport.c: Likewise.
5604 * sunrpc/pmap_clnt.c: Likewise.
5605 * sunrpc/pmap_prot.c: Likewise.
5606 * sunrpc/pmap_prot2.c: Likewise.
5607 * sunrpc/pmap_rmt.c: Likewise.
5608 * sunrpc/publickey.c: Likewise.
5609 * sunrpc/rpc_cmsg.c: Likewise.
5610 * sunrpc/rpc_common.c: Likewise.
5611 * sunrpc/rpc_dtable.c: Likewise.
5612 * sunrpc/rpc_prot.c: Likewise.
5613 * sunrpc/rpc_thread.c: Likewise.
5614 * sunrpc/rtime.c: Likewise.
5615 * sunrpc/svc.c: Likewise.
5616 * sunrpc/svc_auth.c: Likewise.
5617 * sunrpc/svc_raw.c: Likewise.
5618 * sunrpc/svc_run.c: Likewise.
5619 * sunrpc/svc_tcp.c: Likewise.
5620 * sunrpc/svc_udp.c: Likewise.
5621 * sunrpc/svc_unix.c: Likewise.
5622 * sunrpc/svcauth_des.c: Likewise.
5623 * sunrpc/xcrypt.c: Likewise.
5624 * sunrpc/xdr.c: Likewise.
5625 * sunrpc/xdr_array.c: Likewise.
5626 * sunrpc/xdr_float.c: Likewise.
5627 * sunrpc/xdr_intXX_t.c: Likewise.
5628 * sunrpc/xdr_mem.c: Likewise.
5629 * sunrpc/xdr_rec.c: Likewise.
5630 * sunrpc/xdr_ref.c: Likewise.
5631 * sunrpc/xdr_sizeof.c: Likewise.
5632 * sunrpc/xdr_stdio.c: Likewise.
5633
b5c086a2
RM
56342012-05-10 Roland McGrath <roland@hack.frob.com>
5635
5636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5637 change. Update copyright years.
5638
6d74dd09
JM
56392012-05-10 Joseph Myers <joseph@codesourcery.com>
5640
5641 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5642
28e72501
MK
56432012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5644 Joseph Myers <joseph@codesourcery.com>
5645 Paul Pluzhnikov <ppluzhnikov@google.com>
5646
5647 [BZ #14012]
5648 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5649 requiring rpcgen.
5650 [cross-compiling] (extra-libs): Likewise.
5651 [cross-compiling] (extra-libs-others): Likewise.
5652 [cross-compiling] (librpcsvc-routines): Likewise.
5653 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5654 [cross-compiling] (omit-deps): Likewise.
5655 (sunrpc-CPPFLAGS): New variable.
5656 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5657 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5658 (cross-rpcgen-objs): New variable.
5659 (extra-objs): Append $(cross-rpcgen-objs).
5660 ($(cross-rpcgen-objs)): New rule.
5661 ($(objpfx)cross-rpcgen): Likewise.
5662 (rpcgen-cmd): Define to use $(built-program-file). Expand
5663 comment.
5664 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5665 ($(objpfx)x%.stmp): Likewise.
5666 * sunrpc/proto.h [IS_IN_build] (_): Define.
5667 [IS_IN_build] (_libc_intl_domainname): Likewise.
5668
c8c59454
L
56692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5670
5671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5672 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5673 and R_X86_64_TPOFF64.
5674
6f27cd16
JM
56752012-05-10 Joseph Myers <joseph@codesourcery.com>
5676
5677 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5678 sysdeps/unix/sysv/syscalls.list.
5679 (stime): Likewise.
5680 (utime): Likewise.
5681 * sysdeps/unix/sysv/syscalls.list: Remove file.
5682
02467e1c
PE
56832012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5684
5685 [BZ #3440]
5686 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5687 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5688 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5689 (__LC_IDENTIFICATION): Make these macros useful in #if
5690 expressions, as required by C99.
5691
da392631
AS
56922012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5693
5694 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5695 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5696 after this.
5697
8115f29b
L
56982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * stdlib/longlong.h: Updated from GCC.
5701
bdd74070
AJ
57022012-05-09 Andreas Jaeger <aj@suse.de>
5703
edfe0dbe
AJ
5704 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5705 default is first entry.
5706 (run_mode): Set type.
5707 (main): Remove informal message about syslog.
5708 (options): Fix typo.
5709
bcfe3a54
ST
5710 [BZ #14053]
5711 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5712 to asm.
bcfe3a54
ST
5713 (lrint): Likewise.
5714 (llrintf): Likewise.
5715 (llrint): Likewise.
5716 (rint): Likewise.
5717 (rintf): Likewise.
5718 (nearbyint): Likewise.
5719 (nearbyintf): Likewise.
bdd74070 5720
91d8d69e
AJ
57212012-05-09 Andreas Jaeger <aj@suse.de>
5722 Pedro Alves <palves@redhat.com>
5723
5724 * nscd/nscd.c (run_mode): Use enum.
5725 (main): Cleanup coding style issue.
5726
bb90b80b
AJ
57272012-05-09 Alexandre Oliva <aoliva@redhat.com>
5728 Andreas Jaeger <aj@suse.de>
5729
bcfe3a54
ST
5730 * nscd/nscd.c (go_background): Replaced with...
5731 (run_mode): ... this.
bb90b80b 5732 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5733 (options): Add -F --foreground.
5734 (main): Implement it.
5735 (parse_opt): Parse it.
bb90b80b 5736
1a4b75a1
AJ
57372012-05-09 Andreas Jaeger <aj@suse.de>
5738
5739 [BZ #14083]
5740 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5741 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5742 -Wconversion warning.
5743 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5744 Likewise.
5745
b1cc2472
JM
57462012-05-09 Joseph Myers <joseph@codesourcery.com>
5747
5748 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5749 == 0.
5750 (LC_ALL): Use macro-int-constant.
5751 (LC_COLLATE): Likewise.
5752 (LC_CTYPE): Likewise.
5753 (LC_MESSAGES): Likewise.
5754 (LC_MONETARY): Likewise.
5755 (LC_NUMERIC): Likewise.
5756 (LC_TIME): Likewise.
5757 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5758 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5760 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5761 Specify type.
5762 [C99-based standards] (float_t): Expect type.
5763 [C99-based standards] (double_t): Expect type.
5764 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5765 type.
5766 [C99-based standards] (HUGE_VALL): Likewise.
5767 [C99-based standards] (INFINITY): Likewise.
5768 [C99-based standards] (NAN): Likewise.
5769 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5770 [C99-based standards] (FP_NAN): Likewise.
5771 [C99-based standards] (FP_NORMAL): Likewise.
5772 [C99-based standards] (FP_SUBNORMAL): Likewise.
5773 [C99-based standards] (FP_ZERO): Likewise.
5774 [C99-based standards] (FP_FAST_FMA): Use
5775 optional-macro-int-constant. Specify type. Require == 1.
5776 [C99-based standards] (FP_FAST_FMAF): Likewise.
5777 [C99-based standards] (FP_FAST_FMAL): Likewise.
5778 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5779 [C99-based standards] (FP_ILOGBNAN): Likewise.
5780 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5781 Specify type.
5782 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5783 [C99-based standards] (math_errhandling): Specify type.
5784 [ISO99 || ISO11] (signgam): Do not allow.
5785 [non-C99-based standards] (copysignf): Do not allow.
5786 [non-C99-based standards] (exp2f): Likewise.
5787 [non-C99-based standards] (log2f): Likewise.
5788 [non-C99-based standards] (modff): Allow.
5789 [non-C99-based standards] (erff): Do not allow.
5790 [non-C99-based standards] (erfcf): Likewise.
5791 [non-C99-based standards] (gammaf): Likewise.
5792 [non-C99-based standards] (hypotf): Likewise.
5793 [non-C99-based standards] (j0f): Likewise.
5794 [non-C99-based standards] (j1f): Likewise.
5795 [non-C99-based standards] (jnf): Likewise.
5796 [non-C99-based standards] (lgammaf): Likewise.
5797 [non-C99-based standards] (tgammaf): Likewise.
5798 [non-C99-based standards] (y0f): Likewise.
5799 [non-C99-based standards] (y1f): Likewise.
5800 [non-C99-based standards] (ynf): Likewise.
5801 [non-C99-based standards] (isnanf): Likewise.
5802 [non-C99-based standards] (acoshf): Likewise.
5803 [non-C99-based standards] (asinhf): Likewise.
5804 [non-C99-based standards] (atanhf): Likewise.
5805 [non-C99-based standards] (cbrtf): Likewise.
5806 [non-C99-based standards] (expm1f): Likewise.
5807 [non-C99-based standards] (ilogbf): Likewise.
5808 [non-C99-based standards] (log1pf): Likewise.
5809 [non-C99-based standards] (logbf): Likewise.
5810 [non-C99-based standards] (nextafterf): Likewise.
5811 [non-C99-based standards] (remainderf): Likewise.
5812 [non-C99-based standards] (rintf): Likewise.
5813 [non-C99-based standards] (scalbf): Likewise.
5814 [non-C99-based standards] (copysignl): Likewise.
5815 [non-C99-based standards] (exp2l): Likewise.
5816 [non-C99-based standards] (log2l): Likewise.
5817 [non-C99-based standards] (modfl): Allow.
5818 [non-C99-based standards] (erfl): Do not allow.
5819 [non-C99-based standards] (erfcl): Likewise.
5820 [non-C99-based standards] (gammal): Likewise.
5821 [non-C99-based standards] (hypotl): Likewise.
5822 [non-C99-based standards] (j0l): Likewise.
5823 [non-C99-based standards] (j1l): Likewise.
5824 [non-C99-based standards] (jnl): Likewise.
5825 [non-C99-based standards] (lgammal): Likewise.
5826 [non-C99-based standards] (tgammal): Likewise.
5827 [non-C99-based standards] (y0l): Likewise.
5828 [non-C99-based standards] (y1l): Likewise.
5829 [non-C99-based standards] (ynl): Likewise.
5830 [non-C99-based standards] (isnanl): Likewise.
5831 [non-C99-based standards] (acoshl): Likewise.
5832 [non-C99-based standards] (asinhl): Likewise.
5833 [non-C99-based standards] (atanhl): Likewise.
5834 [non-C99-based standards] (cbrtl): Likewise.
5835 [non-C99-based standards] (expm1l): Likewise.
5836 [non-C99-based standards] (ilogbl): Likewise.
5837 [non-C99-based standards] (log1pl): Likewise.
5838 [non-C99-based standards] (logbl): Likewise.
5839 [non-C99-based standards] (nextafterl): Likewise.
5840 [non-C99-based standards] (remainderl): Likewise.
5841 [non-C99-based standards] (rintl): Likewise.
5842 [non-C99-based standards] (scalbl): Likewise.
5843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5844 [non-C99-based standards] (FP_*): Do not allow.
5845 [C99-based standards] (FP_*): Change to
5846 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5847 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5848 allow.
5849 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5850 (SIG_ERR): Likewise.
5851 [X/Open-based standards] (SIG_HOLD): Likewise.
5852 (SIG_IGN): Likewise.
5853 (SIGABRT): Use macro-int-constant. Specify type. Require
5854 positive value.
5855 (SIGFPE): Likewise.
5856 (SIGILL): Likewise.
5857 (SIGINT): Likewise.
5858 (SIGSEGV): Likewise.
5859 (SIGTER): Likewise.
5860 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5861 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5862 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5867 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5868 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5869 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5870 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5874 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5875 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5876 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5877 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5878 [X/Open-based standards] (SIGTRAP): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5880 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5881 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5882 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5883 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5884 allow.
5885
b9f1922d
IW
58862012-05-08 Ian Wienand <ianw@vmware.com>
5887
5888 [BZ #14080]
5889 * time/tzset.c (__tzset_parse_tz): Update default rules for
5890 daylight time changes in the Energy Policy Act of 2005.
5891
1db86e88
AJ
58922012-05-09 Andreas Jaeger <aj@suse.de>
5893
5894 [BZ #13983]
5895 * elf/ldconfig.c (parse_conf): Change string to make clear that
5896 ldconfig only issued a warning if ld.so.conf does not exist.
5897
dee4a4e3
DM
58982012-05-08 David S. Miller <davem@davemloft.net>
5899
ee0db190
DM
5900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5901 movxtod instead of popping the value on the stack.
5902
dee4a4e3
DM
5903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5904
6a43ec98
CD
59052012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5906
5907 * config.h.in: Add HAVE_ARM_PCS_VFP.
5908
05c2c961
RMG
59092012-05-08 Roland Mc Grath <roland@hack.frob.com>
5910
bcfe3a54
ST
5911 [BZ #13979]
5912 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5913 checking but the checks are disabled for any reason.
05c2c961 5914
4b30f61a
L
59152012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5916
5917 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5918 and ELF64_R_TYPE with ELFW(R_TYPE).
5919
eee2bc67
JM
59202012-05-08 Joseph Myers <joseph@codesourcery.com>
5921
7ea5391a
JM
5922 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5923 (ulimit): Likewise.
5924
eee2bc67
JM
5925 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5926 (settimeofday): Likewise.
5927
abb66a67
MF
59282012-05-08 Mike Frysinger <vapier@gentoo.org>
5929
5930 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5931 a struct th_u2 inside the union, and move tu_block/tu_code into
5932 a new th_u3 union of tu_block/tu_code inside of that. Move
5933 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5934 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5935 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5936 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5937 (th_stuff): Change to th_u1.tu_stuff.
5938 (th_data): Define.
5939 (th_msg): Change to th_u1.th_u2.tu_data.
5940
7f18b530
DM
59412012-05-07 David S. Miller <davem@davemloft.net>
5942
05760585
DM
5943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5944
7f18b530
DM
5945 [BZ #14074]
5946 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5947 (SETUP_PIC_REG): Use it.
5948 (SETUP_PIC_REG_LEAF): Use it.
5949
495fd99f
JM
59502012-05-07 Joseph Myers <joseph@codesourcery.com>
5951
5952 [BZ #13885]
5953 [BZ #13923]
5954 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5955 USE_AS_EXPM1L.
5956 (EXPL_FINITE): Likewise.
5957 (FLDLOG): Likewise.
5958 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5959 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5960 e_expl.S.
5961 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5962 USE_AS_EXPM1L.
5963 (EXPL_FINITE): Likewise.
5964 (FLDLOG): Likewise.
5965 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5966 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5967 e_expl.S.
5968 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5969 test of -max_value argument for long double.
5970 * sysdeps/i386/fpu/libm-test-ulps: Update.
5971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5972
6693d694
DM
59732012-05-06 David S. Miller <davem@davemloft.net>
5974
5975 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5976 quad soft-float symbols whose references which are compiler
5977 generated.
5978 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5979
6c23e11c
JM
59802012-05-06 Joseph Myers <joseph@codesourcery.com>
5981
d8b82cad
JM
5982 [BZ #13884]
5983 [BZ #13914]
5984 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5985 USE_AS_EXP10L.
5986 (EXPL_FINITE): Likewise.
5987 (FLDLOG): Likewise.
5988 (c0): Likewise.
5989 (c1): Likewise.
5990 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5991 Adjust comments for base varying.
5992 (__expl_finite): Change alias to EXPL_FINITE.
5993 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5994 e_expl.S.
5995 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5996 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5997 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5998 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5999 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6000 USE_AS_EXP10L.
6001 (EXPL_FINITE): Likewise.
6002 (FLDLOG): Likewise.
6003 (c0): Likewise.
6004 (c1): Likewise.
6005 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6006 Adjust comments for base varying.
6007 (__expl_finite): Change alias to EXPL_FINITE.
6008 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6009 tests for bugs.
6010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6011
6c23e11c
JM
6012 [BZ #14064]
6013 * math/libm-test.inc (check_float_internal): Correct ulp
6014 calculation for subnormal expected results.
6015
29ba805c
AJ
60162012-05-06 Andreas Jaeger <aj@suse.de>
6017
6018 * Makeconfig (+math-flags): New, set to -frounding-math.
6019 (+cflags): Add +math-flags so that all of glibc gets compiled with
6020 it.
6021
6022 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6023
7b17aeda
JM
60242012-05-05 Joseph Myers <joseph@codesourcery.com>
6025
5779f134
JM
6026 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6027 Disable one test.
6028
41498f4d
JM
6029 [BZ #13787]
6030 [BZ #13922]
6031 [BZ #14036]
6032 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6033 (__ieee754_expl): Allow for and saturate large arguments.
6034 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6035 (u_threshold): Likewise.
6036 (__exp): Call __ieee754_exp before checking for overflow and
6037 underflow.
6038 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6039 (u_threshold): Likewise.
6040 (__expf): Call __ieee754_expf before checking for overflow and
6041 underflow.
6042 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6043 (u_threshold): Likewise.
6044 (__expl): Call __ieee754_expl before checking for overflow and
6045 underflow.
6046 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6047 (__ieee754_expl): Allow for and saturate large arguments.
6048 * math/libm-test.inc (exp_test): Add another test. Do not allow
6049 missing overflow exception on overflow.
6050 (expm1_test): Do not allow missing overflow exception on overflow.
6051
6698b8bf
JM
6052 * sysdeps/i386/fpu/e_expl.c: Move to ...
6053 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6054 rather than using inline asm.
6055 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6056 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6057 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6058
7b17aeda
JM
6059 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6060 (nice): Likewise.
6061 (poll): Likewise.
6062 (signal): Likewise.
6063 (time): Likewise.
6064 (times): Likewise.
6065
f7c85819
JM
60662012-05-04 Joseph Myers <joseph@codesourcery.com>
6067
6068 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6069 sysdeps/unix/common/syscalls.list.
6070 (fchmod): Likewise.
6071 (fchown): Likewise.
6072 (ftruncate): Likewise.
6073 (getrusage): Likewise.
6074 (gettimeofday): Likewise.
6075 (setpgid): Likewise.
6076 (setregid): Likewise.
6077 (setreuid): Likewise.
6078 (sigaction): Likewise.
6079 (truncate): Likewise.
6080 (vhangup): Likewise.
6081 * sysdeps/unix/common/syscalls.list: Remove file.
6082 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6083 * sysdeps/unix/sysv/linux/Implies: Likewise.
6084
336270d0
L
60852012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6086
6087 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6089 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6090 Moved to ...
6091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6092 Here.
6093 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6094 to ...
6095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6096 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6097 to ...
6098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6099 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6100 to ...
6101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6102 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6103 to ...
6104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6105 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6106 to ...
6107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6108 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6109 to ...
6110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6111 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6112 to ...
6113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6114 Here.
6115 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6116 to ...
6117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6118 Here.
6119 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6120 to ...
6121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6122 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6123 Moved to ...
6124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6125 Here.
6126 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6127 to ...
6128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6129
d128e450
JM
61302012-05-04 Joseph Myers <joseph@codesourcery.com>
6131
fa8ee516
JM
6132 * sysdeps/unix/common/bits/dirent.h: Remove file.
6133 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6134
d128e450
JM
6135 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6136 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6137 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6138 * sysdeps/unix/bsd/isatty.c: Likewise.
6139 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6140 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6141 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6142
ff8faaf0 61432012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6144
62881be4 6145 [BZ #13563]
31dc8730
AZ
6146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6147 long double comparison inaccuracies.
6148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6150
6fef930c
AS
61512012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6152
6153 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6155
8f203e6c
JM
61562012-05-04 Joseph Myers <joseph@codesourcery.com>
6157
6158 [BZ #14049]
6159 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6160 nonzero digits before rounding a hex value.
6161 * stdlib/tst-strtod.c (tests): Add another test.
6162
5197d9c2
AK
61632012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6164
6165 * sysdeps/s390/fpu/libm-test-ulps: Update.
6166
f0c1dedf
AJ
61672012-05-03 Andreas Jaeger <aj@suse.de>
6168
6169 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6170 does not get optimized out.
6171 (malloc_opt_barrier): New.
6172
a65ef2ae 61732012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6174 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6175
2b942cb7 6176 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6177 intermediate file deletion.
2b942cb7 6178 (generated): Add .symlist files.
a65ef2ae 6179
54b71e02
JM
61802012-05-03 Joseph Myers <joseph@codesourcery.com>
6181
6182 [BZ #13775]
6183 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6184 Redirect under this condition.
6185 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6186 [__USE_GNU] (__dprintf_chk): Not under this condition.
6187 [__USE_GNU] (__vdprintf_chk): Likewise.
6188 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6189 under this condition.
6190 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6191 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6192 [__USE_XOPEN2K8] (vdprintf): Likewise.
6193 [__USE_GNU] (__dprintf_chk): Not under this condition.
6194 [__USE_GNU] (__vdprintf_chk): Likewise.
6195 [__USE_GNU] (dprintf): Likewise.
6196 [__USE_GNU] (vdprintf): Likewise.
6197
d3dfcc41
RM
61982012-05-03 Roland McGrath <roland@hack.frob.com>
6199
6200 * elf/Makefile (common-generated): Set this instead of generated for
6201 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6202 $(all-built-dso)-derived lists.
6203
7ac30cc5
AJ
62042012-05-03 Andreas Jaeger <aj@suse.de>
6205
0c51e550
AJ
6206 * sysdeps/i386/fpu/libm-test-ulps: Update.
6207
7ac30cc5
AJ
6208 * FAQ: Removed.
6209 * FAQ.in: Likewise.
6210 * scripts/gen-FAQ.pl: Likewise.
6211 * manual/install.texi (Installation): Point to online location of
6212 FAQ.
6213 * Makefile (files-for-dist): Remove FAQ.
6214 (FAQ): Remove.
6215
d4c2917f
AM
62162012-05-02 Allan McRae <allan@archlinux.org>
6217
6218 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6219 (LDFLAGS-reldepmod5.so): Likewise.
6220 (LDFLAGS-reldep6mod1.so): Likewise.
6221 (LDFLAGS-reldep6mod4.so): Likewise.
6222 (LDFLAGS-reldep8mod3.so): Likewise.
6223 (LDFLAGS-unload4mod1.so): Likewise.
6224 (LDFLAGS-unload4mod2.so): Likewise.
6225 (LDFLAGS-tst-initorder): Likewise.
6226 (LDFLAGS-tst-initordera2.so): Likewise.
6227 (LDFLAGS-tst-initordera3.so): Likewise.
6228 (LDFLAGS-tst-initordera4.so): Likewise.
6229 (LDFLAGS-tst-initorderb2.so): Likewise.
6230 (LDFLAGS-noload): Likewise.
6231 (LDFLAGS-next): Likewise.
6232 (LDFLAGS-order2mod1.so): Likewise.
6233 (LDFLAGS-order2mod2.so): Likewise.
6234 (LDFLAGS-tst-initorder2): Likewise.
6235 (LDFLAGS-tst-initorder2a.so): Likewise.
6236 (LDFLAGS-tst-initorder2b.so): Likewise.
6237 (LDFLAGS-tst-initorder2c.so): Likewise.
6238 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6239
d77f993f
DM
62402012-05-02 David S. Miller <davem@davemloft.net>
6241
6242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6243
171a70b4
PP
62442012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6245
6246 [BZ #14055]
6247 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6248
0be196ad
AJ
62492012-05-02 Andreas Jaeger <aj@suse.de>
6250
6251 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6252 since we manipulate rounding mode.
6253 (CPPFLAGS-test-idouble.c): Likewise.
6254 (CPPFLAGS-test-ifloat.c): Likewise.
6255 (CFLAGS-test-ldouble.c): Likewise.
6256 (CFLAGS-test-double.c): Likewise.
6257 (CFLAGS-test-float.c): Likewise.
6258 (CFLAGS-test-misc.c): Likewise.
6259 (CFLAGS-test-test-fenv.c): Likewise.
6260
4f9d04aa
AZ
62612012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262
2b942cb7
RM
6263 [BZ #2550]
6264 [BZ #2570]
6265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6266 comparisons to determine direction to adjust input.
4f9d04aa 6267
82a79e7d
RM
62682012-05-01 Roland McGrath <roland@hack.frob.com>
6269
f5a01ca9
RM
6270 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6271 output to the target.
6272
90fe4186
RM
6273 * scripts/localplt.awk: New file.
6274 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6275 (check-localplt-CFLAGS): Variable removed.
6276 ($(all-built-dso:=.jmprel)): New static pattern rule.
6277 (generated): Add those targets.
6278 (localplt-built-dso): New variable.
6279 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6280
6281 * elf/check-localplt.c: File removed.
6282
82397ed6
RM
6283 * scripts/check-execstack.awk: New file.
6284 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6285 (check-execstack-CFLAGS): Variable removed.
6286 ($(objpfx)check-execstack.h): Target removed.
6287 ($(objpfx)execstack-default): New target.
6288 (generated): Add that instead of check-execstack.h.
6289 ($(all-built-dso:=.phdr)): New static pattern rule.
6290 (generated): Add those targets.
6291 * elf/check-execstack.c: File removed.
6292
82a79e7d
RM
6293 * scripts/check-textrel.awk: New file.
6294 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6295 (check-textrel-CFLAGS): Variable removed.
6296 (all-built-dso): Use := to define.o
6297 ($(all-built-dso:=.dyn)): New static pattern rule.
6298 (generated): Add those targets.
6299 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6300 * config.make.in (READELF): New substituted variable.
6301 * elf/check-textrel.c: File removed.
6302
62fde54f 63032012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6304
615605c9
JM
6305 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6306 allow.
6307 * conform/data/ctype.h-data [C99-based standards] (isblank):
6308 Expect function.
6309 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6310 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6312 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6313 Specify type. Require positive value.
6314 (EILSEQ): Likewise.
6315 (ERANGE): Likewise.
6316 [ISO || POSIX] (EILSEQ): Do not expect.
6317 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6318 Specify type. Require positive value.
6319 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6320 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6321 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6322 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6323 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6324 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6325 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6326 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6327 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6328 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6329 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6330 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6331 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6332 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6333 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6334 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6335 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6336 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6337 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6338 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6339 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6340 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6341 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6342 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6343 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6344 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6345 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6346 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6347 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6348 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6349 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6350 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6351 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6352 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6353 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6354 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6355 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6356 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6357 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6358 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6359 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6360 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6361 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6362 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6363 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6364 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6365 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6366 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6367 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6368 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6369 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6370 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6371 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6372 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6373 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6374 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6375 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6376 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6377 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6378 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6379 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6380 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6381 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6382 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6383 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6384 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6385 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6386 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6387 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6388 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6389 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6390 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6391 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6392 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6393 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6394 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6395 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6396 Require >= 2.
6397 (FLT_ROUNDS): Expect as macro, not constant.
6398 (FLT_MANT_DIG): Use macro-int-constant.
6399 (DBL_MANT_DIG): Likewise.
6400 (LDBL_MANT_DIG): Likewise.
6401 (FLT_DIG): Likewise.
6402 (DBL_DIG): Likewise.
6403 (LDBL_DIG): Likewise.
6404 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6405 (DBL_MIN_EXP): Likewise.
6406 (LDBL_MIN_EXP): Likewise.
6407 (FLT_MAX_EXP): Use macro-int-constant.
6408 (DBL_MAX_EXP): Likewise.
6409 (LDBL_MAX_EXP): Likewise.
6410 (FLT_MAX_10_EXP): Likewise.
6411 (DBL_MAX_10_EXP): Likewise.
6412 (LDBL_MAX_10_EXP): Likewise.
6413 (FLT_MAX): Use macro-constant.
6414 (DBL_MAX): Likewise.
6415 (LDBL_MAX): Likewise.
6416 (FLT_EPSILON): Use macro-constant. Give upper bound.
6417 (DBL_EPSILON): Likewise.
6418 (LDBL_EPSILON): Likewise.
6419 (FLT_MIN): Likewise.
6420 (DBL_MIN): Likewise.
6421 (LDBL_MIN): Likewise.
6422 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6423 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6424 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6425 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6426 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6427 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6428 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6429 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6430 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6431 [ISO11] (FLT_TRUE_MIN): Likewise.
6432 [ISO11] (LDBL_TRUE_MIN): Likewise.
6433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6434 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6435 (SCHAR_MIN): Use macro-int-constant. Specify type.
6436 (SCHAR_MAX): Likewise.
6437 (UCHAR_MAX): Likewise.
6438 (CHAR_MIN): Likewise.
6439 (CHAR_MAX): Likewise.
6440 (MB_LEN_MAX): Use macro-int-constant.
6441 (SHRT_MIN): Use macro-int-constant. Specify type.
6442 (SHRT_MAX): Likewise.
6443 (USHRT_MAX): Likewise.
6444 (INT_MAX): Likewise.
6445 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6446 bound negative.
6447 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6448 bound with "U".
6449 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6450 bound with "L".
6451 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6452 bound negative. Suffix upper bound with "L".
6453 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6454 bound with "UL".
6455 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6456 Specify type.
6457 [C99-based standards] (LLONG_MAX): Likewise.
6458 [C99-based standards] (ULLONG_MAX): Likewise.
6459 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6460 == 0.
6461 [ISO11] (max_align_t): Require type.
6462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6463
c9140a62
JM
6464 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6465 from $CFLAGS, without defining away __attribute__ calls.
6466 (checknamespace): Use $CFLAGS_namespace.
6467
9af0bf29
JM
6468 * conform/conformtest.pl (@keywords): Only include C99 keywords
6469 for standards based on C99 or C11.
6470
343222a2
JM
6471 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6472 Disable tests.
6473 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6474 UNIX98]: Likewise.
6475
661f8cf0
JM
6476 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6477 usability of symbols in #if.
6478
ee74b9cb
JM
6479 * conform/conformtest.pl: If macro or constant types start
6480 "promoted:", expect the symbol to be of the following type
6481 promoted by the integer promotions.
62fde54f 6482
aafc49b3
JM
6483 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6484 in one place. Also handle "macro-constant".
6485
fefdf574
JM
6486 * conform/conformtest.pl: Only accept expected macro values with
6487 "==". Parse all "macro" lines in one place.
6488 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6489
f2d922fe
JM
6490 * conform/conformtest.pl: Handle braced types on "constant" lines
6491 instead of handling "typed-constant".
6492 * conform/data/signal.h-data: Use "constant" instead of
6493 "typed-constant".
6494
d22956c9
JM
6495 * conform/conformtest.pl: Handle "optional-" at start of lines in
6496 one place rather than duplicating several cases. Handle each
6497 format of "macro" line with initial "optional-".
6498
028e2e38
JM
6499 * conform/conformtest.pl: Only accept expected constant or
6500 optional-constant values with "==". Parse all "constant" lines in
6501 one place. Parse all "optional-constant" lines in one place.
6502 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6503 * conform/data/fmtmsg.h-data: Likewise.
6504 * conform/data/netinet/in.h-data: Likewise.
6505 * conform/data/tar.h-data: Likewise.
6506 * conform/data/limits.h-data: Use "==" form on "constant" and
6507 "optional-constant" lines.
6508
1b8f2850
JM
6509 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6510 Use -std=c99 for XOPEN2K.
6511 (@knownproblems): Remove.
6512 (newtoken): Don't check %isknown.
6513
a05a144b
JM
6514 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6515 Do not expect macro.
6516 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6528 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6529 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6545 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6546 [XPG3] (acosh): Likewise.
6547 [XPG3] (asinh): Likewise.
6548 [XPG3] (atanh): Likewise.
6549 [XPG3] (cbrt): Likewise.
6550 [XPG3] (expm1): Likewise.
6551 [XPG3] (ilogb): Likewise.
6552 [XPG3] (log1p): Likewise.
6553 [XPG3] (logb): Likewise.
6554 [XPG3] (nextafter): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6557 [XPG3] (remainder): Likewise.
6558 [XPG3] (rint): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6566 [UNIX98 || XOPEN2K] (scalb): Expect.
6567 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6568 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6574 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6575 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6577 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6583 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6584 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6585 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6589 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6590 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6591 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6592 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6593 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6605 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6606 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6607 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6608 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6610 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6611 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6612 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6613 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6618 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6619 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6623 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6624 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6626 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6627 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6628 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6629 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6630 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6631 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6632 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6633 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6634 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6635 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6643 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6644 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6645 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6646 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6647 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6651 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6661 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6662 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6663 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6664 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6665 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6666 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6667 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6668 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6669 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6670 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6671 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6672 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6673 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6674 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6675 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6676 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6677 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6678 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6679 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6680 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6684 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6685 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6686 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6688 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6689 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6690 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6695 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6696 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6697 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6698 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6699 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6700 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6701 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6702 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6703 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6704
73c5ebe3
JM
6705 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6706 _XOPEN_SOURCE_EXTENDED for XPG4.
6707
39c33b6c
JM
6708 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6709
62fde54f
JM
6710 * Makeconfig (localtime): Remove variable.
6711 (inst_localtime-file): Likewise.
6712
0741d64c
AS
67132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6714
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6716 Update.
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6718 Update.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6720 Update.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6722 Update.
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6724 Update.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6726 Update.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6728 Update.
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6730 Update.
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6732 Update.
6733
7cb029ee
JM
67342012-05-01 Joseph Myers <joseph@codesourcery.com>
6735
6736 [BZ #2550]
6737 [BZ #2570]
6738 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6739 comparisons to determine direction to adjust input.
6740 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6741 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6743 Likewise.
6744 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6745 Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6747 Likewise.
6748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6750 Likewise.
6751 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6752 Likewise.
6753 * math/libm-test.inc (nexttoward_test): Add more tests.
6754
412bd966
AS
67552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6756
6757 [BZ #14040]
6758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6759 in version GLIBC_2.1, not GLIBC_2.0.
6760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6761 Likewise.
6762
9568c0c2
JM
67632012-04-30 Joseph Myers <joseph@codesourcery.com>
6764
adfbc8ac
JM
6765 [BZ #13942]
6766 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6767 (1 - x) * (1 + x).
6768 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6769 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6770 * math/libm-test.inc (acos_test): Add more tests.
6771 (asin_test): Likewise.
6772 * sysdeps/i386/fpu/libm-test-ulps: Update.
6773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6774
5ba3cc69
JM
6775 [BZ #14034]
6776 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6777 of square root.
6778 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6779 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6780 * math/libm-test.inc (acos_test_tonearest): New function.
6781 (acos_test_towardzero): Likewise.
6782 (acos_test_downward): Likewise.
6783 (acos_test_upward): Likewise.
6784 (asin_test_tonearest): Likewise.
6785 (asin_test_towardzero): Likewise.
6786 (asin_test_downward): Likewise.
6787 (asin_test_upward): Likewise.
6788 (main): Call the new functions.
6789 * sysdeps/i386/fpu/libm-test-ulps: Update.
6790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6791
9568c0c2
JM
6792 [BZ #13884]
6793 [BZ #13924]
6794 * math/e_exp10.c: Include <float.h>.
6795 (__ieee754_exp10): Handle underflow here rather than multiplying
6796 large negative argument by M_LN10.
6797 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6798 of __ieee754_expf.
6799 * math/e_exp10l.c: Include <float.h>.
6800 (__ieee754_exp10l): Handle underflow here rather than multiplying
6801 large negative argument by M_LN10l.
6802 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6803 spurious overflow exception on underflow.
6804
5ac3ea17
MP
68052012-04-29 Marek Polacek <polacek@redhat.com>
6806
6807 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6808 (__fortify_function): New macro.
6809 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6810 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6811 __extern_always_inline.
6812 * libio/bits/stdio2.h: Likewise.
6813 * libio/bits/stdio.h: Likewise.
6814 * string/string.h: Likewise.
6815 * string/bits/string3.h: Likewise.
6816 * include/stdio.h: Likewise.
6817 * stdlib/bits/stdlib.h: Likewise.
6818 * stdlib/stdlib.h: Likewise.
6819 * rt/bits/mqueue2.h: Likewise.
6820 * rt/mqueue.h: Likewise.
6821 * posix/bits/unistd.h: Likewise.
6822 * posix/unistd.h: Likewise.
6823 * io/bits/poll2.h: Likewise.
6824 * io/bits/fcntl2.h: Likewise.
6825 * io/fcntl.h: Likewise.
6826 * io/sys/poll.h: Likewise.
6827 * misc/bits/syslog.h: Likewise.
6828 * misc/bits/syslog-ldbl.h: Likewise.
6829 * misc/sys/syslog.h: Likewise.
6830 * socket/bits/socket2.h: Likewise.
6831 * socket/sys/socket.h: Likewise.
6832 * debug/tst-chk1.c: Likewise.
6833 * wcsmbs/bits/wchar2.h: Likewise.
6834 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6835 * wcsmbs/wchar.h: Likewise.
6836
ecf0ebfb
AJ
68372012-04-29 Andreas Jaeger <aj@suse.de>
6838
6839 * Makerules (tests): Remove enable-check-abi protection.
6840 (check-abi-warn): Remove.
6841 (check-abi-%): Remove check-abi-warn usage.
6842
6843 * configure.in: Remove check-abi configure option.
6844 * configure: Regenerated.
6845 * config.make.in (enable-check-abi): Remove.
6846
6d5c57fa
AS
68472012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6848
24c5d07e 6849 [BZ #14033]
ded5180a
AS
6850 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6851 double functions to double *_finite functions.
6852
7e0d315d
AS
6853 [BZ #13941]
6854 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6855 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6856 LDBL_MIN_EXP.
6857 * stdio-common/Makefile (tests): Add tst-sprintf3.
6858 * stdio-common/tst-sprintf3.c: New file.
6859
6d5c57fa
AS
6860 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6861 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6862
0749ff8b
JM
68632012-04-28 Joseph Myers <joseph@codesourcery.com>
6864
6865 * conform/conformtest.pl: Remove duplicate typed-constant
6866 handling.
6867
8dbd5d7b
DM
68682012-04-28 David S. Miller <davem@davemloft.net>
6869
6870 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6871 (check-abi-%): Remove AWK script prerequisite and explicit
6872 abilist directory.
6873 (check-abi): Rewrite to just diff the symlist with the abilist.
6874 (config-tls, config-abi-config): Delete, no longer used.
6875 (update-abi-%): Remove AWK script and explicit abilist directory.
6876 (update-abi): Rewrite to simply compare and conditionally copy the
6877 symlist and the sysdep abilist file. Remove update-abi-config
6878 checks.
6879 * abilist/ld.abilist: Remove.
6880 * abilist/libBrokenLocale.abilist: Remove.
6881 * abilist/libanl.abilist: Remove.
6882 * abilist/libcrypt.abilist: Remove.
6883 * abilist/libdl.abilist: Remove.
6884 * abilist/librt.abilist: Remove.
6885 * abilist/libthread_db.abilist: Remove.
6886 * abilist/libutil.abilist: Remove.
6887 * scripts/extract-abilist.awk: Remove.
6888 * scripts/merge-abilist.awk: Remove.
6889 * sysdeps/generic/libcidn.abilist: New file.
6890 * sysdeps/generic/libnss_compat.abilist: New file.
6891 * sysdeps/generic/libnss_db.abilist: New file.
6892 * sysdeps/generic/libnss_dns.abilist: New file.
6893 * sysdeps/generic/libnss_files.abilist: New file.
6894 * sysdeps/generic/libnss_hesiod.abilist: New file.
6895 * sysdeps/generic/libnss_nis.abilist: New file.
6896 * sysdeps/generic/libnss_nisplus.abilist: New file.
6897 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6898 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6899 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6900 file.
6901 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6902 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6903 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6904 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6905 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6906 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6907 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6908 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6909 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6910 file.
6911 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6912 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6913 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6914 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6915 file.
6916 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6917 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6918 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6919 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6920 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6921 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6922 file.
6923 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6924 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6925 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6926 file.
6927 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6929 New file.
6930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6931 New file.
6932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6933 New file.
6934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6935 New file.
6936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6937 New file.
6938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6939 New file.
6940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6941 New file.
6942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6943 New file.
6944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6945 New file.
6946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6947 New file.
6948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6949 New file.
6950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6951 New file.
6952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6953 New file.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6955 file.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6957 New file.
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6959 New file.
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6961 file.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6963 New file.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6965 New file.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6967 file.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6969 New file.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6971 New file.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6973 New file.
6974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6975 New file.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6977 New file.
6978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6979 New file.
6980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6982 file.
6983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6984 New file.
6985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6986 file.
6987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6988 file.
6989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6990 file.
6991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6992 file.
6993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6994 file.
6995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6996 New file.
6997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6998 file.
6999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7000 file.
7001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7002 New file.
7003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7004 file.
7005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7007 file.
7008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7009 New file.
7010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7011 file.
7012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7013 file.
7014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7015 file.
7016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7017 file.
7018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7019 file.
7020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7021 New file.
7022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7023 file.
7024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7025 file.
7026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7027 New file.
7028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7029 file.
7030 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7031 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7032 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7033 file.
7034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7035 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7036 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7037 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7038 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7039 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7040 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7041 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7042 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7043 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7046 file.
7047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7048 New file.
7049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7050 file.
7051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7052 file.
7053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7054 file.
7055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7056 file.
7057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7058 file.
7059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7060 New file.
7061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7062 New file.
7063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7064 file.
7065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7066 New file.
7067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7068 file.
7069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7071 file.
7072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7073 New file.
7074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7075 file.
7076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7077 file.
7078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7079 file.
7080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7081 file.
7082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7083 file.
7084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7085 New file.
7086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7087 New file.
7088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7089 file.
7090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7091 New file.
7092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7093 file.
7094
41d73a1b
JM
70952012-04-28 Joseph Myers <joseph@codesourcery.com>
7096
7097 * conform/conformtest.pl: Fix typo in handling typed-constant from
7098 allow-header.
7099
28aeeda4
JM
71002012-04-27 Joseph Myers <joseph@codesourcery.com>
7101
adae8f5e
JM
7102 * README: Cut down references to pre-2.6 Linux kernels and
7103 Linuxthreads. Update lists of configurations in libc and ports
7104 and sort alphabetically. Say "or newer" with Linux kernel version
7105 requirements.
7106
28aeeda4
JM
7107 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7108
a462cb63
RA
71092012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7110
7111 [BZ #887]
7112 * math/libm-test.inc (logb_test_downward): New test to expose
7113 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7114 rounding mode.
7115
6ad3493e
JM
71162012-04-27 Joseph Myers <joseph@codesourcery.com>
7117
7118 [BZ #14027]
7119 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7120 to be done.
7121 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7122 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7123
2ce4f015
JM
71242012-04-26 Joseph Myers <joseph@codesourcery.com>
7125
5aeb141a
JM
7126 * sysdeps/unix/i386/brk.S: Remove file.
7127 * sysdeps/unix/i386/dl-brk.S: Likewise.
7128 * sysdeps/unix/i386/pipe.S: Likewise.
7129 * sysdeps/unix/i386/sigreturn.S: Likewise.
7130 * sysdeps/unix/i386/syscall.S: Likewise.
7131 * sysdeps/unix/i386/vfork.S: Likewise.
7132 * sysdeps/unix/i386/wait.S: Likewise.
7133
7143acae
JM
7134 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7135 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7136
2ce4f015
JM
7137 * configure.in (arm*-none*): Do not allow without
7138 --enable-hacker-mode.
7139 (netbsd*): Remove case setting base_os.
7140 (386bsd*): Likewise.
7141 (freebsd*): Likewise.
7142 (bsdi*): Likewise.
7143 (osf*): Likewise.
7144 (sunos*): Likewise.
7145 (ultrix*): Likewise.
7146 (newsos*): Likewise.
7147 (dynix*): Likewise.
7148 (*bsd*): Likewise.
7149 (sysv*): Likewise.
7150 (isc*): Likewise.
7151 (esix*): Likewise.
7152 (sco*): Likewise.
7153 (minix*): Likewise.
7154 (irix4*): Likewise.
7155 (irix6*): Likewise.
7156 (solaris[2-9]*): Likewise.
7157 (none): Likewise.
7158 * configure: Regenerated.
7159
0ac229c8
AZ
71602012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7161
7162 [BZ #11521]
7163 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7164 overflow or cancellation in calculating denominator.
7165 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7167 down expression to avoid unexpected rounding in newer GCCs.
7168 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7169
33f244f4
DM
71702012-04-26 David S. Miller <davem@davemloft.net>
7171
7172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7173 long-double compat symbols.
7174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7187
cfa1f3e8
DM
71882012-04-25 David S. Miller <davem@davemloft.net>
7189
7190 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7191 HWCAP_* values only after the memory barriers have been defined.
7192 (atomic_full_barrier): Define.
7193 (atomic_read_barrier): Define.
7194 (atomic_write_barrier): Define.
7195
6e236b92
SP
71962012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7197
7198 * shlib-versions: Add libgcc_s version information.
7199 * sysdeps/generic/libgcc_s.h: Remove.
7200 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7201 libgcc_s.h.
7202 * sysdeps/gnu/unwind-resume.c: Likewise.
7203 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7204
aab39a09
DM
72052012-04-25 David S. Miller <davem@davemloft.net>
7206
7207 * sysdeps/unix/sparc/brk.S: Delete.
7208 * sysdeps/unix/sparc/dl-brk.S: Delete.
7209 * sysdeps/unix/sparc/pipe.S: Delete.
7210 * sysdeps/unix/sparc/sysdep.S: Delete.
7211 * sysdeps/unix/sparc/sysdep.h: Delete.
7212 * sysdeps/unix/sparc/vfork.S: Delete.
7213 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7214 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7215 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7216 ret_ERRVAL, r0, r1, MOVE): Define.
7217 (JUMPTARGET): Remove.
7218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7219 sysdeps/unix/sparc/sysdep.h
7220 (ENTRY, END): Remove.
7221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7222
a3cc4f48
JM
72232012-04-25 Joseph Myers <joseph@codesourcery.com>
7224
2ed8cda2
JM
7225 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7226 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7227 -DIS_IN_build.
7228
35d76d59
JM
7229 * timezone/README: Update upstream location and email address for
7230 tzcode and tzdata.
7231 * timezone/zdump.c: Update from tzcode 2012b.
7232 * timezone/zic.c: Likewise.
7233
a3cc4f48
JM
7234 * configure.in (libc_cv_as_needed): Remove test.
7235 * configure: Regenerated.
7236 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7237 conditional definition.
7238 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7239 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7240 * config.make.in (have-as-needed): Remove variable.
7241
ceab42c3
SP
72422012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7243 Paul Pluzhnikov <ppluzhnikov@google.com>
7244
7245 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7246 strings correctly.
7247
3ce2865f
CLT
72482012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7249
7250 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7251 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7252 * sysdeps/sh/strlen.S: Likewise.
7253
f37e0d68
JM
72542012-04-24 Joseph Myers <joseph@codesourcery.com>
7255
ae186e9a
JM
7256 * sysdeps/unix/fork.S: Remove file.
7257 * sysdeps/unix/i386/fork.S: Likewise.
7258 * sysdeps/unix/sparc/fork.S: Likewise.
7259
b96914af
JM
7260 * sysdeps/unix/system.c: Remove file.
7261 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7262
f37e0d68
JM
7263 * sysdeps/unix/getegid.S: Remove file.
7264 * sysdeps/unix/geteuid.S: Likewise.
7265
87ef29ca
RM
72662012-04-24 Roland McGrath <roland@hack.frob.com>
7267
83bcd236
RM
7268 * scripts/check-localplt.awk: New file.
7269 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7270 of diff.
7271 * scripts/data/localplt-generic.data: Add a comment.
7272
87ef29ca
RM
7273 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7274 NODE when __dir_mkfile failed.
7275 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7276 Reported by Ludovic Courtès <ludo@gnu.org>.
7277
e5a6e567
AJ
72782012-04-24 Andreas Jaeger <aj@suse.de>
7279
7280 * Makerules (common-clean): Also remove gen-as-const-headers
7281 files.
7282
c1820385
JM
72832012-04-24 Joseph Myers <joseph@codesourcery.com>
7284
7285 * Makerules (native-compile): Do not change working directory for
7286 build. Use $(OUTPUT_OPTION) in command.
7287 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7288
94e02fc4
AZ
72892012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7290
7291 [BZ #13886]
7292 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7293 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7294 * math/libm-test.inc (floor_test): Add more tests.
7295 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7296
3a533ca3
JM
72972012-04-24 Joseph Myers <joseph@codesourcery.com>
7298
940ab4b3
JM
7299 * sysdeps/unix/getdents.c: Remove file.
7300 * sysdeps/unix/sysv/getdents.c: Likewise.
7301 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7302
90e037bd
JM
7303 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7304 sysdeps/unix/mman/syscalls.list.
7305 (mmap): Likewise.
7306 (mprotect): Likewise.
7307 (msync): Likewise.
7308 (munmap): Likewise.
7309 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7310 * sysdeps/unix/mman/syscalls.list: Remove.
7311 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7312
3a533ca3
JM
7313 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7314 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7315 * configure: Regenerated.
7316 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7317 $(libgcc_s_suffix).
7318 * config.make.in (libgcc_s_suffix): Remove variable.
7319
1ad743de
JM
73202012-04-23 Joseph Myers <joseph@codesourcery.com>
7321
4ad451e2
JM
7322 * sysdeps/unix/sysv/gethostname.c: Move to ...
7323 * sysdeps/posix/gethostname.c: ... here.
7324
5e37ce39
JM
7325 * sysdeps/unix/execve.S: Remove file.
7326
1ad743de
JM
7327 * sysdeps/unix/_exit.S: Remove file.
7328
4e681b5b
AJ
73292012-04-23 Andreas Jaeger <aj@suse.de>
7330
7331 [BZ #13739]
7332 * manual/Makefile: Remove make dist support, there's no
7333 need for a stand-alone documentation tar ball.
7334 (TEXI2DVI): Define always, it's not in Makeconfig.
7335 (dist): Removed.
7336 (tar-it): Removed.
7337 (edition): Removed.
7338 (glibc-doc-$(edition).tar): Removed
7339 (%.Z): Removed.
7340 (%.gz): Removed.
7341 (%.uu): Removed.
7342 (ETAGS): Remove, it's in Makeconfig.
7343 (move-if-change): Remove, it's in Makeconfig.
7344
c0baea34
PE
73452013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7346
7347 [BZ #13970]
7348 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7349 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7350 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7351 (strtod_l, strtof_l, strtold_l): Remove __wur.
7352 It is not necessarily an error to ignore strtol's return value.
7353 One can reliably look at the stored endptr to decide whether
7354 the number had valid syntax.
7355
7c0616fa
AJ
73562012-04-21 Andreas Jaeger <aj@suse.de>
7357
803cb6b7 7358 [BZ #13739]
7c0616fa
AJ
7359 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7360
b0fe253f
JM
73612012-04-21 Joseph Myers <joseph@codesourcery.com>
7362
7363 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7364 * sysdeps/unix/sysv/Versions: Remove file.
7365
8280f22d
MT
73662012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7367
7368 [BZ #13927]
7369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7370
75ce411f 73712012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7372
7373 [BZ #7064]
7374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7375 version from __vm86.
7376
097d59fa
JM
73772012-04-20 Joseph Myers <joseph@codesourcery.com>
7378
a90f3bcb
JM
7379 * sysdeps/unix/common/lxstat.c: Remove file.
7380 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7381
edc7ea78
JM
7382 * sysdeps/unix/sysv/Makefile: Remove file.
7383
cb78c221
JM
7384 * sysdeps/unix/sysv/direct.h: Remove file.
7385
efa6a45f
JM
7386 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7387 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7388 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7389 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7390 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7391 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7392 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7393
9c9f2d0c
JM
7394 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7395
4541c83b
JM
7396 * sysdeps/unix/xmknod.c: Remove file.
7397 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7398
f5d153a0
JM
7399 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7400
aa746595
JM
7401 * sysdeps/unix/sysv/i386/time.S: Remove file.
7402
cce5905e
JM
7403 * sysdeps/unix/fxstat.c: Remove file.
7404 * sysdeps/unix/xstat.c: Likewise.
7405 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7406
37fa3841
JM
7407 * sysdeps/unix/sysv/sigaction.c: Remove file.
7408
ff1962a3
JM
7409 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7410 (sysdep_headers): Remove variable.
7411 [termio.h not in sysdep_headers] (generated): Likewise.
7412 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7413 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7414 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7415 * sysdeps/unix/sysv/tcflow.c: Likewise.
7416 * sysdeps/unix/sysv/tcflush.c: Likewise.
7417 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7418 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7419 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7420 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7421 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7422
e7740d31
JM
7423 * sysdeps/unix/siglist.c: Remove file.
7424
ee06f18b
JM
7425 * sysdeps/unix/getppid.S: Remove file.
7426
097d59fa
JM
7427 * sysdeps/unix/mkdir.c: Remove file.
7428 * sysdeps/unix/rmdir.c: Likewise.
7429
ff3d51ec
AS
74302012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7431
7432 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7433 ERR_MAX value.
7434 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7435 errlist-compat value.
7436
50f81fd7
DM
74372012-04-18 David S. Miller <davem@davemloft.net>
7438
7439 * sysdeps/generic/memcopy.h (reg_char): Delete.
7440 * debug/strcat_chk.c: Use char, not reg_char.
7441 * debug/strcpy_chk.c: Likewise.
7442 * debug/strncat_chk.c: Likewise.
7443 * debug/strncpy_chk.c: Likewise.
7444 * string/memchr.c: Likewise.
7445 * string/memrchr.c: Likewise.
7446 * string/rawmemchr.c: Likewise.
7447 * string/strcat.c: Likewise.
7448 * string/strchr.c: Likewise.
7449 * string/strchrnul.c: Likewise.
7450 * string/strcmp.c: Likewise.
7451 * string/strcpy.c: Likewise.
7452 * string/strncat.c: Likewise.
7453 * string/strncmp.c: Likewise.
7454 * string/strncpy.c: Likewise.
7455
8ff41c46
WS
74562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7457
7458 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7459 __builtin_memcopy is called when src and dest ranges are known to not
7460 overlap.
7461
6b652f46
WS
74622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7463
7464 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7465 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7466 fwd_align_merge macro call.
7467 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7468 bwd_align_merge macro call.
7469 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7470
b282631e
WS
74712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7472
7473 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7474 bwd_align_merge macros.
7475 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7476 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7477 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7478
95aa737c
DM
74792012-04-18 David S. Miller <davem@davemloft.net>
7480
7481 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7482
7a99a614
AJ
74832012-04-18 Andreas Jaeger <aj@suse.de>
7484
7485 [BZ# 6794]
7486 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7487 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7488 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7489
7490 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7491 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7492 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7493
7494 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7495 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7496 Adjust for changed ldbl-128 files.
7497
7498 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7499 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7500 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7501
e5270c23
DM
75022012-04-17 David S. Miller <davem@davemloft.net>
7503
7504 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7505
fb5e92c9
AS
75062012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7507
7508 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7509 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7510 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7511 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7512 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7513 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7514
76da7265
AZ
75152012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7516
7517 [BZ #6794]
7518 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7519 * math/libm-test.inc: Add ilogb errno and exception tests.
7520 * math/w_ilogb.c: New file: ilogb wrapper.
7521 * math/w_ilogbf.c: New file: ilogbf wrapper.
7522 * math/w_ilogbl.c: New file: ilogbl wrapper.
7523 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7524 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7525 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7526 exception being thrown with 0.0 as argument.
7527 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7528 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7529 exception being thrown with 0.0 as argument.
7530 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7531 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7532 exception being thrown with 0.0 as argument.
7533 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7534 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7535 exception being thrown with 0.0 as argument.
7536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7537 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7538 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7539 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7540 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7541 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7542 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7543 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7544 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7545
0396e69d
PB
75462012-04-17 Petr Baudis <pasky@ucw.cz>
7547
7548 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7549 with altivec.
7550
750b5926
MP
75512012-04-16 Marek Polacek <polacek@redhat.com>
7552
7553 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7554
751728a1
MP
75552012-04-16 Marek Polacek <polacek@redhat.com>
7556
7557 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7558 operands of fdivp instruction.
7559
34a27407
L
75602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7561
7562 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7563 * elf/tst-auditmod3b.c: Likewise.
7564 * elf/tst-auditmod4b.c: Likewise.
7565 * elf/tst-auditmod5b.c: Likewise.
7566 * elf/tst-auditmod6b.c: Likewise.
7567 * elf/tst-auditmod6c.c: Likewise.
7568 * elf/tst-auditmod7b.c: Likewise.
7569 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7570 * sysdeps/x86_64/preconfigure.in: Likewise.
7571 * sysdeps/x86_64/preconfigure: Regenerated.
7572
7e73e17d
L
75732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7574
7575 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7576 __ILP32__.
7577
c7a6ab72
AB
75782012-04-13 Antoine Balestrat <merkil33@gmail.com>
7579
7580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7581 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7582
a9e8e0e0
CL
75832012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7584
7585 [BZ #13973]
7586 * locale/iso-639.def: Fix gl language name. Spotted by
7587 Yaron Shahrabani.
7588
ec98af7d
RM
75892012-04-12 Roland McGrath <roland@hack.frob.com>
7590
7591 [BZ #2074]
7592 * libio/libio.h (__io_write_fn): Update comment.
7593
247c3ede
PB
75942012-04-12 Petr Baudis <pasky@ucw.cz>
7595
7596 [BZ #2074]
7597 * stdio.texi (Hook Functions): The user provided writer function
7598 is not allowed to return -1.
7599
55939d6d
DM
76002012-04-11 David S. Miller <davem@davemloft.net>
7601
7602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7603
90020f5a
MF
76042012-04-11 Mike Frysinger <vapier@gentoo.org>
7605
7606 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7607 Add a leading slash to rtkaio.
7608
288f9098
JM
76092012-04-11 Jim Meyering <meyering@redhat.com>
7610
90020f5a
MF
7611 [BZ #11959]
7612 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7613 It is not necessarily an error to ignore fwrite's return
7614 value. One can reliably use ferror to test for errors after
7615 the fact.
288f9098 7616
4be2b570
L
76172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7618
7619 * bits/types.h (__snseconds_t): New type.
7620 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7621
7622 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7624 (__SNSECONDS_T_TYPE): Likewise.
7625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7626 (__SNSECONDS_T_TYPE): Likewise.
7627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7628 (__SNSECONDS_T_TYPE): Likewise.
7629
288f9098 76302012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7631
7632 [BZ #2636]
7633 * manual/time.texi (Processor Time): Return type of times is
7634 elapsed real time since an arbitrary point in the past.
7635 (CPU Time): Move CLK_TCK from here...
7636 (Processor Time): ...to here. Correct description.
7637 * manual/conf.texi (Constants for Sysconf): Correct description of
7638 _SC_CLK_TCK.
7639
d7dd4413
DM
76402012-04-10 David S. Miller <davem@davemloft.net>
7641
7642 [BZ #13967]
7643 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7644 where the is a gap between DT_REL(A) and DT_JMPREL.
7645
b46068fc
L
76462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7647
7648 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7649 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7650 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7651
73d65cc3
SP
76522012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7653
7654 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7655 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7656 (dl_main): Handle --inhibit-cache.
7657 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7658 _dl_inhibit_cache.
7659 * elf/dl-load.c (_dl_map_object): Use it.
7660 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7661
bcc8d661
JM
76622012-04-09 Joseph Myers <joseph@codesourcery.com>
7663
8f9a2fae
JM
7664 [BZ #13872]
7665 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7666 (__ieee754_powl): Saturate large exponents rather than testing for
7667 overflow of y*log2(x).
7668 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7669 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7670 exceptions.
7671
bcc8d661
JM
7672 [BZ #11521]
7673 * math/s_ctan.c: Include <float.h>.
7674 (__ctan): Avoid internal overflow or cancellation in calculating
7675 denominator.
7676 * math/s_ctanf.c: Likewise.
7677 * math/s_ctanl.c: Likewise.
7678 * math/s_ctanh.c: Likewise.
7679 * math/s_ctanhf.c: Likewise.
7680 * math/s_ctanhl.c: Likewise.
7681 * math/libm-test.inc (ctan_test): Add more tests.
7682 (ctanh_test): Likewise.
7683 * sysdeps/i386/fpu/libm-test-ulps: Update.
7684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7685
823fbbb4
AJ
76862012-04-09 Andreas Jaeger <aj@suse.de>
7687
03879793
AJ
7688 [BZ #6894]
7689 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7690 is an optional BSD extension.
7691
823fbbb4
AJ
7692 [BZ #10254]
7693 * manual/stdio.texi (Opening Streams): Document additional fopen
7694 parameters.
7695
8de131cb
RM
76962012-04-09 Roland McGrath <roland@hack.frob.com>
7697
7698 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7699 %eax without telling the compiler.
7700
c0ed9d7d
CD
77012012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7702
7703 [BZ # 13963]
7704 * manual/install.texi: Use sourceware.org.
7705
c483f6b4
JM
77062012-04-09 Joseph Myers <joseph@codesourcery.com>
7707
d7dd9453
JM
7708 [BZ #13873]
7709 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7710 (__ieee754_pow): Generate overflow and underflow using huge*huge
7711 and tiny*tiny rather than just returning constant infinity or zero
7712 for large exponents.
7713 * math/libm-test.inc (pow_test): Require overflow exceptions for
7714 applicable cases of large exponents.
7715
c483f6b4
JM
7716 [BZ #706]
7717 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7718 (__ieee754_pow): Use iterative multiplication algorithm only for
7719 integer exponents with absolute value below 1024. Check for odd
7720 integer exponents when using algorithm for real exponents.
7721 * math/libm-test.inc (pow_test): Add more tests.
7722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7723
d2de7579
JM
77242012-04-08 Joseph Myers <joseph@codesourcery.com>
7725
7726 [BZ #13705]
7727 * math/libm-test.inc (exp_test): Do not allow overflow exception
7728 on underflow test.
7729
f77f1232
AJ
77302012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7731
7732 [BZ #13705]
7733 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7734 instead of __kernel_standard_f.
7735
3884932b
MF
77362012-04-08 Mike Frysinger <vapier@gentoo.org>
7737
7738 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7739 * sysdeps/x86_64/memset_chk.S: Likewise.
7740
54472e9c
AJ
77412012-04-08 Andreas Jaeger <aj@suse.de>
7742
6ab0fbfc
AJ
7743 [BZ #10153]
7744 * manual/startup.texi (Environment Access): Describe return value
7745 for putenv and setenv.
7746
61efba8c
AJ
7747 [BZ #6895]
7748 * manual/filesys.texi (Directory Entries): Add description for
7749 DT_LNK.
7750
95c3f29a
AJ
7751 [BZ #6890]
7752 * manual/filesys.texi (Directory Entries): Clarify that it's file
7753 system not operating system in the description of DT_UNKNOWN.
7754
54472e9c
AJ
7755 [BZ #6578]
7756 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7757
624254b1
SC
77582012-04-08 Stephen Compall <s11@member.fsf.org>
7759
7760 [BZ #6649]
7761 * manual/llio.texi (Opening and Closing Files): Add cross
7762 reference to explain mode argument.
7763
1e4920e0
MF
77642012-04-07 Mike Frysinger <vapier@gentoo.org>
7765
7766 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7767 * sysdeps/x86_64/memset_chk.S: Likewise.
7768
5ed848f3
DM
77692012-04-07 David S. Miller <davem@davemloft.net>
7770
7771 * elf/elf.h (R_SPARC_WDISP10): Define.
7772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7773 R_SPARC_SIZE32.
7774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7775 R_SPARC_SIZE64 and R_SPARC_H34.
7776
96154cd8
CD
77772012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7778
7779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7780 conditions and remove no longer applicable assertion.
7781
9904dc47
L
77822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7783
7784 * bits/byteswap.h: Include <features.h>.
7785 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7786 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7787
f8887d0a
L
77882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7789
7790 * bits/byteswap.h (__bswap_16): Removed.
7791 Include <bits/byteswap-16.h> to get __bswap_16.
7792 * sysdeps/i386/bits/byteswap.h: Likewise.
7793 * sysdeps/s390/bits/byteswap.h: Likewise.
7794 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7795 * bits/byteswap-16.h: New file.
7796 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7797 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7798 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7799 * string/Makefile (headers): Add bits/byteswap-16.h.
7800
62470f60
PP
78012012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7802
7803 [BZ #13895]
7804 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7805 extra indirection.
7806 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7807 * nss/tst-nss-static.c: New.
7808
4dad7bab
RM
78092012-04-06 Robert Millan <rmh@gnu.org>
7810
7811 [BZ #6486]
7812 * manual/llio.texi (File Position Primitive): lseek
7813 refers to WHENCE when it really means OFFSET.
7814
e9142a17
AJ
78152012-04-06 Andreas Jaeger <aj@suse.de>
7816
2c040eff
AJ
7817 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7818 strncmp declarations.
7819
e9142a17
AJ
7820 * abilist/libc.abilist: Add __poll and __ppoll.
7821
ff9f1c5f
DM
78222012-04-05 David S. Miller <davem@davemloft.net>
7823
dcd2ae90
DM
7824 * scripts/check-local-headers.sh: Accept a host triplet in the
7825 path matched by the exclude regexp.
7826
993eb054
DM
7827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7828 definition.
7829 * sysdeps/powerpc/powerpc32/dl-machine.h
7830 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7831 * sysdeps/s390/s390-32/dl-machine.h
7832 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7833 * sysdeps/sparc/sparc32/dl-machine.h
7834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7835 * sysdeps/sparc/sparc64/dl-machine.h
7836 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7837
ff9f1c5f
DM
7838 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7839 lazy binding.
48e2e132 7840 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7841 undefined symbol errors.
7842
48e2e132 7843 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7844 DT_NEEDED entries.
7845
e80d6f94
MM
78462012-04-05 Michael Matz <matz@suse.de>
7847
7848 [BZ #13592]
7849 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7850
349fa79f
AJ
78512012-04-05 Andreas Jaeger <aj@suse.de>
7852
7853 [BZ #13908]
7854 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7855 comment.
7856
f402708f
KK
78572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7858
7859 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7860 which ROUND is no valid rounding mode.
7861
2ecccfc9
KK
78622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7863
7864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7865 read again.
7866 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7867
8a53f50f
KK
78682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7869
7870 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7871 an exception using FPU order intentionally.
7872
78732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7874
7875 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7876 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7877 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7878 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7879
d653abb7
SJ
78802012-04-05 Simon Josefsson <simon@josefsson.org>
7881
7882 [BZ #12340]
7883 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7884 EINVAL when BUFLEN is too smal.
7885
c3b1bf7d
TS
78862012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7887
7888 [BZ #13553]
7889 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7890 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7891
b1aa60f3
AJ
78922012-04-03 Andreas Jaeger <aj@suse.de>
7893
c3b1bf7d 7894 [BZ #13938]
67f60a26
AJ
7895 * manual/setjmp.texi (System V contexts): Fix sentence.
7896
b1aa60f3
AJ
7897 [BZ #13926]
7898 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7899 New macro for this case.
7900 [!__GNUC__] (__bswap_64): New inline function for this case.
7901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7902 * bits/byteswap.h: Likewise.
7903 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7904 ull, guard with __GLIBC_HAVE_LONG_LONG.
7905
7906 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7907 __GLIBC_HAVE_LONG_LONG.
7908
7909 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7910 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7911
39c59c35
TMQMF
79122012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7913
7914 [BZ #13691]
7915 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7916 inptr and inend, rather than using last_ch.
7917
135ffda8
DM
79182012-04-02 David S. Miller <davem@davemloft.net>
7919
7920 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7921 * stdio-common/printf-parse.h (read_int): Change return type to
7922 'int', return -1 on INT_MAX overflow.
7923 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7924 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7925 overflows INT_MAX. Check for overflow of in-format-string precision
7926 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7927 SIZE_MAX not INT_MAX for integer overflow test.
7928 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7929 skip the construct in the format string but do not record anything.
7930 * stdio-common/bug22.c: Adjust to test both width/prevision
7931 INT_MAX overflow as well as total length INT_MAX overflow. Check
7932 explicitly for proper errno values.
7933
228c019e
TS
79342012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7935
302cadd3
TS
7936 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7937 CHAR_MAX.
7938 * string/test-strcmp.c [! WIDE]: Likewise.
7939 * time/tst-mktime2.c: Likewise for INT_MAX.
7940 * string/test-string.h: #include <sys/param.h> for MIN.
7941
228c019e
TS
7942 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7943 * sysdeps/i386/init-first.c (init): Likewise.
7944 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7945 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7946 * sysdeps/sh/init-first.c (init): Likewise.
7947
cfa633f5
UD
79482012-04-01 Ulrich Drepper <drepper@gmail.com>
7949
7950 * po/ru.po: Update from translation team.
d1635ef8 7951 * po/vi.po: Likewise.
cfa633f5 7952
6cd0a5ea
SP
79532012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7954
7955 * resolv/nss_dns/dns-host.c: Merge copyright years.
7956
4b43400f
LD
79572012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7958
7959 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7960 Optimize memcpy with prefetch if
7961 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7962 src, dst pointers have unequal 16 byte alignments.
7963
48c41d04
SP
79642012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7965
7966 [BZ #13928]
7967 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7968 from a CNAME entry and return the minimum ttl for the query.
7969 (gaih_getanswer_slice): Likewise.
7970
b8dc394d
JL
79712012-03-30 Jeff Law <law@redhat.com>
7972
7973 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7974 due to long keys.
7975 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7976 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7977
2f5a5ed0
JL
7978 * resolv/nss_dns/dns-host.c: Update copyright year.
7979
1d39e359
UD
79802012-03-30 Ulrich Drepper <drepper@gmail.com>
7981
c030f70c 7982 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7983 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7984
1d39e359
UD
7985 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7986 comments for sendmmsg.
7987
79882012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7989
7990 [BZ #13691]
7991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7992 with only 1 character between 0x0041 and 0x01b0.
7993 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7994 * wcsmbs/tst-mbsnrtowcs.c: New file.
7995
20fde227
DM
79962012-03-29 David S. Miller <davem@davemloft.net>
7997
7998 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7999 small copies by hand.
8000
984a4237
JL
80012012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8002
8003 [BZ #13761]
8004 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8005 _nss_compat_initgroups_dyn): Fall back to malloc/free
8006 for large group memberships.
8007
18c9d62b
DM
80082012-03-28 David S. Miller <davem@davemloft.net>
8009
88d85d4f
DM
8010 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8011 that branches into memcpy.
8012 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8013 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8015 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8017 bits.
8018 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8019 implementation too.
8020 * sysdeps/sparc/mempcpy.S: New file.
8021
e5aa83e1
DM
8022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8023 the IFUNC routine in the libc case.
8024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8025
88570753
DM
8026 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8027 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8028 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8029 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8030 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8031 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8032 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8033 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8034
249d7567
DM
8035 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8036 loop to 256 bytes instead of 64 bytes and fix test signedness.
8037
18c9d62b
DM
8038 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8039 * sysdeps/sparc/sparc32/Makefile: rather than here...
8040 * sysdeps/sparc/sparc64/Makefile: and here.
8041
05f3d1f6
UD
80422012-03-28 Ulrich Drepper <drepper@gmail.com>
8043
8044 * malloc/mallocbug.c: Avoid warnings about unused variables.
8045
86ae07a8
JL
80462012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8047
8048 [BZ #13760]
8049 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8050 in the right place. Discard and retry query if response is
8051 larger than input buffer size.
8052
41bf21a1
JM
80532012-03-28 Joseph Myers <joseph@codesourcery.com>
8054
d6270972
JM
8055 [BZ #369]
8056 [BZ #2678]
8057 [BZ #3866]
8058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8059 x for large integer exponent.
8060 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8061 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8062 sign of result as needed afterwards.
8063 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8064 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8065 result for underflowing pow the same as for overflow.
8066 (__kernel_standard_l): Handle powl overflow and underflow here
8067 rather than calling __kernel_standard.
8068 * math/libm-test.inc (pow_test): Add more tests.
8069
414fca03 8070 [BZ #3868]
41bf21a1
JM
8071 [BZ #13879]
8072 [BZ #13910]
8073 [BZ #13911]
8074 [BZ #13912]
8075 [BZ #13913]
8076 [BZ #13915]
8077 [BZ #13916]
8078 [BZ #13917]
8079 [BZ #13918]
8080 [BZ #13919]
8081 [BZ #13920]
8082 [BZ #13921]
8083 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8084 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8085 (__kernel_standard_l): New function.
8086 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8087 __kernel_standard.
8088 * math/w_acosl.c (__acosl): Likewise.
8089 * math/w_asinl.c (__asinl): Likewise.
8090 * math/w_atan2l.c (__atan2l): Likewise.
8091 * math/w_atanhl.c (__atanhl): Likewise.
8092 * math/w_coshl.c (__coshl): Likewise.
8093 * math/w_exp10l.c (__exp10l): Likewise.
8094 * math/w_exp2l.c (__exp2l): Likewise.
8095 * math/w_fmodl.c (__fmodl): Likewise.
8096 * math/w_hypotl.c (__hypotl): Likewise.
8097 * math/w_j0l.c (__j0l, __y0l): Likewise.
8098 * math/w_j1l.c (__j1l, __y1l): Likewise.
8099 * math/w_jnl.c (__jnl, __ynl): Likewise.
8100 * math/w_lgammal.c (__lgammal): Likewise.
8101 * math/w_log10l.c (__log10l): Likewise.
8102 * math/w_log2l.c (__log2l): Likewise.
8103 * math/w_logl.c (__logl): Likewise.
8104 * math/w_powl.c (__powl): Likewise.
8105 * math/w_remainderl.c (__remainderl): Likewise.
8106 * math/w_scalbl.c (sysv_scalbl): Likewise.
8107 * math/w_sinhl.c (__sinhl): Likewise.
8108 * math/w_sqrtl.c (__sqrtl): Likewise.
8109 * math/w_tgammal.c (__tgammal): Likewise.
8110 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8111 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8112 * math/libm-test.inc (acos_test): Add more tests.
8113 (acosh_test): Likewise.
8114 (asin_test): Likewise.
8115 (atanh_test): Likewise.
8116 (exp_test): Likewise.
8117 (exp10_test): Likewise.
8118 (exp2_test): Likewise.
8119 (expm1_test): Likewise.
8120 (lgamma_test): Likewise.
8121 (log_test): Likewise.
8122 (log10_test): Likewise.
8123 (log1p_test): Likewise.
8124 (log2_test): Likewise.
8125 (pow_test): Do not allow some spurious overflow exceptions.
8126 (sqrt_test): Add more tests.
8127 (tgamma_test): Likewise.
8128 (y0_test): Likewise.
8129 (y1_test): Likewise.
8130 (yn_test): Likewise.
8131
dd62fda6
AB
81322012-03-27 Anton Blanchard <anton@samba.org>
8133
8134 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8135 MAP_HUGETLB.
8136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8139
1e3cdfda
AJ
81402012-03-27 David S. Miller <davem@davemloft.net>
8141
b855ab85
DM
8142 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8143
1e3cdfda
AJ
8144 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8145 have-as-vis3 check.
8146
81472012-03-27 Andreas Jaeger <aj@suse.de>
8148
8149 * sysdeps/x86_64/elf/configure.in: Moved to ...
8150 * sysdeps/x86_64/configure.in: ... here.
8151 * sysdeps/x86_64/elf/start.S: Moved to ...
8152 * sysdeps/x86_64/start.S: ... here.
8153 * sysdeps/x86_64/elf/configure: Delete.
8154
8155 * sysdeps/x86_64/configure.in: Merge contents from
8156 sysdeps/i386/configure.in (without i686 check).
8157
8158 * sysdeps/i386/elf/Versions: Merge into ...
8159 * sysdeps/i386/Versions: ... this.
8160 * sysdeps/i386/elf/Versions: Delete file.
8161 * sysdeps/i386/elf/start.S: Moved to ...
8162 * sysdeps/i386/start.S: ...here.
8163 * sysdeps/i386/elf/configure.in: Merge into...
8164 * sysdeps/i386/configure.in: ...here.
8165 * sysdeps/i386/elf/configure.in: Delete file.
8166 * sysdeps/i386/elf/configure: Delete file.
8167
8168 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8169 * debug/backtracesyms.c: ... here.
8170 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8171 * debug/backtracesymsfd.c: ... here.
8172 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8173 * sysdeps/generic/ifunc-sel.h: ... here.
8174
8175 * sysdeps/unix/i386/start.c: Delete file.
8176 * sysdeps/unix/sparc/start.c: Delete file.
8177 * sysdeps/unix/start.c: Delete file.
8178
8179 * sysdeps/sh/elf/configure.in: Moved to ...
8180 * sysdeps/sh/configure.in: ... here.
8181 * sysdeps/sh/elf/start.S: Moved to ...
8182 * sysdeps/sh/start.S: ... here.
8183 * sysdeps/sh/elf/configure: Delete file.
8184
8185 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8186 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8187 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8188 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8189 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8190 * sysdeps/powerpc/powerpc64/start.S: here.
8191 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8192 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8193 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8194 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8195 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8196
8197 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8198 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8199 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8200 * sysdeps/powerpc/powerpc32/start.S: ... here.
8201 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8202 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8203 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8204
8205 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8206 * sysdeps/powerpc/ifunc-sel.h: ... here.
8207 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8208 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8209
8210 * sysdeps/sparc/elf/configure.in: Moved to ...
8211 * sysdeps/sparc/configure.in: ... here.
8212 * sysdeps/sparc/elf/configure: Delete file.
8213 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8214 * sysdeps/sparc/sparc32/start.S: ... here.
8215 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8216 * sysdeps/sparc/sparc64/start.S: ... here.
8217 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8218 * sysdeps/sparc/sparc32/Makefile: ... this.
8219 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8220 * sysdeps/sparc/sparc64/Makefile: ... this.
8221
8222 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8223 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8224 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8225 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8226 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8227 * sysdeps/s390/s390-32/setjmp.S: ... here.
8228 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8229 * sysdeps/s390/s390-32/configure.in: ... here.
8230 * sysdeps/s390/s390-32/elf/configure: Delete file.
8231 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8232 * sysdeps/s390/s390-32/start.S: ... here.
8233
8234 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8235 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8236 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8237 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8238 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8239 * sysdeps/s390/s390-64/setjmp.S: ... here.
8240 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8241 * sysdeps/s390/s390-64/configure.in: ... here
8242 * sysdeps/s390/s390-64/elf/configure: Delete file.
8243 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8244 * sysdeps/s390/s390-64/start.S: ... here.
8245 * sysdeps/s390/s390-64/elf/configure: Delete.
8246
8247 * configure.in: Remove support for elf directories in sysdeps.
8248
8249 * configure: Regenerated.
8250 * sysdeps/i386/configure: Regenerated.
8251 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8252 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8253 * sysdeps/s390/s390-32/configure: Regenerated.
8254 * sysdeps/s390/s390-64/configure: Regenerated.
8255 * sysdeps/sh/configure: Regenerated.
8256 * sysdeps/sparc/configure: Regenerated.
8257 * sysdeps/x86_64/configure: Regenerated.
8258
a3f61311
AS
82592012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8260
c876e002
AS
8261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8262
a3f61311
AS
8263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8264 denormal result into account.
8265
ac4c54f0
RM
82662012-03-25 Roland McGrath <roland@hack.frob.com>
8267
8268 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8269 Reported by Allan McRae <allan@archlinux.org>.
8270
6a9b9c02
JL
82712012-03-23 Jeff Law <law@redhat.com>
8272
8273 * nss/getnssent.c (__nss_getent): Fix typo.
8274
4c42a0c1
DM
82752012-03-23 David S. Miller <davem@davemloft.net>
8276
8277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8278
1532c7ac
L
82792012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8282 to pad to uint64_t for each field.
8283 (dl_tls_index): Replace unsigned long with uint64_t.
8284
3ff42526
PP
82852012-03-23 Daniel Jacobowitz <dmj@google.com>
8286 Paul Pluzhnikov <ppluzhnikov@google.com>
8287
8288 [BZ #6528]
8289 * grp/Makefile (otherlibs): Don't set it.
8290 * inet/Makefile (otherlibs): Likewise.
8291 * login/Makefile (otherlibs): Likewise.
8292 * nscd/Makefile (otherlibs): Likewise.
8293 * posix/Makefile (otherlibs): Likewise.
8294 * pwd/Makefile (otherlibs): Likewise.
8295 * rt/Makefile (otherlibs): Likewise.
8296 * sunrpc/Makefile (otherlibs): Likewise.
8297 * nss/Makefile (otherlibs): Likewise.
8298 Add libnss_files to routines and static-only-routines.
8299 ($(objpfx)getent): Remove rule.
8300 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8301 static-only-routines.
8302
7c69cd14
JM
83032012-03-22 Joseph Myers <joseph@codesourcery.com>
8304
8305 [BZ #13892]
8306 * math/s_cexp.c: Include <float.h>.
8307 (__cexp): Handle exp result overflowing not necessarily
8308 overflowing both real and imaginary parts of result.
8309 * math/s_cexpf.c: Likewise.
8310 * math/s_cexpl.c: Likewise.
8311 * math/libm-test.inc (cexp_test): Add more tests.
8312 * sysdeps/i386/fpu/libm-test-ulps: Update.
8313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8314
81b035fe
L
83152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8316
8317 * include/link.h (ELFW): New macro.
8318 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8319 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8320
1da7940c
L
83212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8322
8323 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8324 with uint64_t.
8325
b749dbb9
L
83262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8327
8328 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8329 declaration.
8330 (struct La_x32_retval): Likewise.
8331
2ff87f3f
L
83322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8333
8334 * sysdeps/x86_64/preconfigure.in: New file.
8335 * sysdeps/x86_64/preconfigure: New generated file.
8336
c0df8e69
JM
83372012-03-22 Joseph Myers <joseph@codesourcery.com>
8338
48e44791
JM
8339 [BZ #13824]
8340 * math/e_exp2l.c: Include <float.h>.
8341 (__ieee754_exp2l): Handle overflow and underflow cases
8342 separately. Only pass fractional part of argument to
8343 __ieee754_expl.
8344 * math/libm-test.inc (exp2_test): Add more tests.
8345
c0df8e69
JM
8346 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8347 negating x to take absolute value.
8348 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8349 Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8352 Likewise.
8353 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8354 computing low part if x was negated.
8355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8356
c8e43ba7
L
83572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8358
8359 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8360 la_x32_gnu_pltexit.
8361 (pltexit): Cast int_retval to ptrdiff_t.
8362 * elf/tst-auditmod3b.c: Likewise.
8363 * elf/tst-auditmod4b.c: Likewise.
8364 * elf/tst-auditmod5b.c: Likewise.
8365 * elf/tst-auditmod6b.c: Likewise.
8366 * elf/tst-auditmod6c.c: Likewise.
8367 * elf/tst-auditmod7b.c: Likewise.
8368
8369 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8370 and x32_gnu_pltexit.
8371
8372 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8373 __ELF_NATIVE_CLASS.
8374 (La_x32_regs): New macro.
8375 (La_x32_retval): Likewise.
8376 (la_x32_gnu_pltenter): New function prototype.
8377 (la_x32_gnu_pltexit): Likewise.
8378
7998fa78
AS
83792012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8380
dcb33988
AS
8381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8382 exponent.
8383
233fc563
AS
8384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8385
7998fa78
AS
8386 * configure.in (libc_cv_cc_nofma): Check for option to disable
8387 generation of FMA instructions.
8388 * configure: Regenerate.
8389 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8390 * sysdeps/ieee754/dbl-64/Makefile: New file.
8391 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8392 Remove brandred-fma4.
8393 (CFLAGS-brandred-fma4.c): Remove.
8394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8395 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8396 define.
8397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8398 define.
8399
8e95c99a
L
84002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8401
8402 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8403 LLONG_MAX != LONG_MAX.
8404 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8405 (_fitoa_word): Likewise.
8406 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8407 LLONG_MAX != LONG_MAX.
8408 * stdio-common/_itowa.h: Include <_itoa.h>.
8409 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8410 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8411 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8412 only if not defined.
8413 (_ITOA_WORD_TYPE): Likewise.
8414 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8415 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8416
6f4db457
DM
84172012-03-21 David S. Miller <davem@davemloft.net>
8418
8419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8420
7785fe5a
L
84212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8424 of x86_64 when setting libc_cv_slibdir, libdir and
8425 libc_cv_localedir.
8426 * sysdeps/unix/sysv/linux/configure: Regenerated.
8427
4535cd55
JM
84282012-03-21 Joseph Myers <joseph@codesourcery.com>
8429
8430 * manual/lang.texi (Old Varargs): Remove section.
8431 (How Variadic): Update menu.
8432 (va_start): Do not mention varargs.h.
8433
17228132
TS
84342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8435 Joseph Myers <joseph@codesourcery.com>
8436
8437 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8438 link test.
8439 * configure: Regenerated.
8440
8149f976
TS
84412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8442
05f3d1f6
UD
8443 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8444 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8445 conformtest.pl
8149f976 8446
1a4ac776
JM
84472012-03-21 Joseph Myers <joseph@codesourcery.com>
8448
be22ce65
JM
8449 * NOTES: Remove.
8450 * Makefile (files-for-dist): Remove NOTES.
8451 (NOTES): Remove rule.
8452 * README: Don't refer to NOTES.
8453 * manual/creature.texi: Don't include macros.texi.
8454 * manual/intro.texi (creature.texi): Remove comment referring to
8455 NOTES.
8456
40b601fb
JM
8457 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8458 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8459 * configure: Regenerated.
8460 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8461 LIBC_TRY_CC_OPTION.
8462 (libc_cv_as_i686): Likewise.
8463 (libc_cv_cc_avx): Likewise.
8464 (libc_cv_cc_sse2avx): Likewise.
8465 (libc_cv_cc_fma4): Likewise.
8466 (libc_cv_cc_novzeroupper): Likewise.
8467 * sysdeps/i386/configure: Regenerated.
8468
1a4ac776
JM
8469 [BZ #13883]
8470 * sysdeps/i386/fpu/s_cexp.S: Remove.
8471 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8472 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8473 * math/libm-test.inc (cexp_test): Add more tests.
8474 * sysdeps/i386/fpu/libm-test-ulps: Update.
8475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8476
a458e7fe
AM
84772012-03-21 Allan McRae <allan@archlinux.org>
8478
8479 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8480
0cb7efc5
JM
84812012-03-21 Joseph Myers <joseph@codesourcery.com>
8482
8483 [BZ #13871]
8484 * math/w_exp2.c: Do not include <float.h>.
8485 (o_threshold, u_threshold): Remove.
8486 (__exp2): Calculate result before checking finiteness and calling
8487 __kernel_standard.
8488 * math/w_exp2f.c: Likewise.
8489 * math/w_exp2l.c: Likewise.
8490 * math/libm-test.inc (exp2_test): Require overflow exception for
8491 1e6 input.
2460d3aa
JM
8492
8493 [BZ #3866]
8494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8495 range of signed 64-bit integers before using fistpll. Remove
8496 checks for whether integers fit in mantissa bits.
8497 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8498 the range of signed 32-bit integers before using fistpl. Remove
8499 checks for whether integers fit in mantissa bits.
8500 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8501 (__ieee754_powl): Test for y outside the range of signed 64-bit
8502 integers before using fistpll. Reduce 64-bit values to 63-bit
8503 ones as needed.
8504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8505 divide-by-zero is raised for zero to large negative powers.
8506 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8507 (__ieee754_powl): Test for y outside the range of signed 64-bit
8508 integers before using fistpll. Reduce 64-bit values to 63-bit
8509 ones as needed.
8510 * math/libm-test.inc (pow_test): Add more tests.
8511
eb96ffb0
L
85122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8513
8514 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8515 <stdio-common/_itoa.h>.
8516 * debug/segfault.c: Likewise.
8517 * elf/dl-cache.c: Likewise.
8518 * elf/dl-minimal.c: Likewise.
8519 * elf/dl-misc.c: Likewise.
8520 * elf/dl-sysdep.c: Likewise.
8521 * elf/dl-version.c: Likewise.
8522 * elf/rtld.c: Likewise.
8523 * hurd/hurdsock.c: Likewise.
8524 * hurd/lookup-retry.c: Likewise.
8525 * malloc/malloc.c: Likewise.
8526 * malloc/mtrace.c: Likewise.
8527 * nscd/nscd_getgr_r.c: Likewise.
8528 * nscd/nscd_getpw_r.c: Likewise.
8529 * nscd/nscd_getserv_r.c: Likewise.
8530 * posix/getopt_init.c: Likewise.
8531 * posix/wordexp.c: Likewise.
8532 * stdio-common/_itoa.c: Likewise.
8533 * stdio-common/printf_fphex.c: Likewise.
8534 * stdio-common/vfprintf.c: Likewise.
8535 * string/_strerror.c: Likewise.
8536 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8537 * sysdeps/i386/i686/hp-timing.h: Likewise.
8538 * sysdeps/mach/_strerror.c: Likewise.
8539 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8540 * sysdeps/mach/hurd/sethostid.c: Likewise.
8541 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8542 * sysdeps/mach/xpg-strerror.c: Likewise.
8543 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8545 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8546 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8547 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8548 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8549 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8550 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8551 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8552 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8553 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8554 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8555 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8556 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8557 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8558 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8559 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8560 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8561 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8562 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8564
8565 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8566
8567 * stdio-common/_itoa.h: Moved to ...
8568 * sysdeps/generic/_itoa.h: Here.
8569
8570 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8571
8572 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8573 instead of "_itoa.h" and "_itowa.h".
8574 * stdio-common/vfprintf.: Likewise.
8575
d1af992d
L
85762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8577
8578 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8579 <bits/wordsize.h>.
8580 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8581 (__signbit): Likwise.
8582 (llrintf): Likwise.
8583 (llrint): Likwise.
8584
114883e0
L
85852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8586
8587 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8588 __WORDSIZE != 64.
8589
c135cc1b
JM
85902012-03-20 Joseph Myers <joseph@codesourcery.com>
8591
8592 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8593 OVERFLOW_EXCEPTION_OK.
8594 * math/libm-test.inc ("Philosophy"): Update comment about
8595 exception testing.
8596 (OVERFLOW_EXCEPTION): Define.
8597 (OVERFLOW_EXCEPTION_OK): Likewise.
8598 (INVALID_EXCEPTION_OK): Renumber.
8599 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8600 (IGNORE_ZERO_INF_SIGN): Likewise.
8601 (test_exceptions): Handle FE_OVERFLOW.
8602 (exp10_test): Expect overflow exceptions.
8603 (exp2_test): Likewise.
8604 (expm1_test): Likewise.
8605 (nextafter_test): Likewise.
8606 (pow_test): Likewise.
8607 (scalbn_test): Likewise.
8608 (scalbln_test): Likewise.
8609
95443d88
L
86102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8611
8612 * sysdeps/x86_64/bits/atomic.h
8613 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8614 64bit integer.
8615 (atomic_exchange_acq): Likewise.
8616 (__arch_exchange_and_add_body): Likewise.
8617 (__arch_add_body): Likewise.
8618 (atomic_add_negative): Likewise.
8619 (atomic_add_zero): Likewise.
8620
490df6c4
L
86212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8622
c2722551 8623 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8624 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8625
5e52b189
L
86262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8627
8628 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8629 Check __x86_64__ instead of __WORDSIZE.
8630
a9879d4c
L
86312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8632
8633 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8634
5df98260
DM
86352012-03-19 David S. Miller <davem@davemloft.net>
8636
e1497744
DM
8637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8638
5df98260
DM
8639 * sysdeps/sparc/fpu/fenv_private.h: New file.
8640 * sysdeps/sparc/fpu/math_private.h: Use it.
8641 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8642 Remove.
8643 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8644 (libc_feholdexcept_setroundl): Remove.
8645 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8646 Remove.
8647 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8648 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8649
b4c35121
L
86502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8651
8652 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8653 int64_t instead of long int.
8654 (INSERT_WORDS64): Likwise.
8655
56965fd7
L
86562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8657
8658 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8659 _Unwind_GetCFA return to _Unwind_Ptr first.
8660
83d1aec8
JM
86612012-03-19 Joseph Myers <joseph@codesourcery.com>
8662
1897ad44
JM
8663 [BZ #13629]
8664 * math/s_clog.c: Include <float.h>.
8665 (__clog): Scale large or subnormal inputs.
8666 * math/s_clogf.c: Likewise.
8667 * math/s_clogl.c: Likewise.
8668 * math/s_clog10.c: Include <float.h>.
8669 (M_LOG10_2): Define.
8670 (__clog10): Scale large or subnormal inputs.
8671 * math/s_clog10f.c: Likewise.
8672 * math/s_clog10l.c: Likewise.
8673 * math/libm-test.inc (clog_test): Add more tests.
8674 (clog10_test): Likewise.
8675 * sysdeps/i386/fpu/libm-test-ulps: Update.
8676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8677
7726d6a9
JM
8678 [BZ #11451]
8679 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8680 x and y.
8681 * math/libm-test.inc (atan2_test): Add another test.
8682
83d1aec8
JM
8683 * Makerules (common-objdir-compile): Remove.
8684 * sysdeps/unix/Makefile (config-generated): Do not add
8685 $(unix-generated) to variable.
8686 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8687 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8688 Remove rule.
8689 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8690 Likewise.
8691 [generic bits/local_lim.h] (before-compile): Do not append to
8692 variable.
8693 [generic bits/local_lim.h] (common-generated): Likewise.
8694 [generic sys/param.h] (before-compile): Do not append to variable.
8695 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8696 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8697 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8698 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8699 include.
8700 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8701 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8702 [generic sys/param.h] ($(addprefix
8703 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8704 [generic sys/param.h] (common-generated): Do not append to
8705 variable.
8706 [generic sys/param.h] (sysdep_headers): Likewise.
8707 [generic bits/errno.h] (before-compile): Do not append to
8708 variable.
8709 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8710 rule.
8711 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8712 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8713 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8714 [generic bits/errno.h] (common-generated): Do not append to
8715 variable.
8716 [generic bits/ioctls.h] (before-compile): Do not append to
8717 variable.
8718 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8719 rule.
8720 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8721 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8722 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8723 rule.
8724 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8725 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8726 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8727 [generic bits/ioctls.h] (common-generated): Do not append to
8728 variable.
8729 [generic sys/syscall.h] (syscall.h): Remove variable.
8730 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8731 rule.
8732 [generic sys/syscall.h] (before-compile): Do not append to
8733 variable.
8734 [generic sys/syscall.h] (common-generated): Likewise.
8735 * sysdeps/unix/errnos-tmpl.c: Remove file.
8736 * sysdeps/unix/errnos.awk: Likewise.
8737 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8738 * sysdeps/unix/ioctls.awk: Likewise.
8739 * sysdeps/unix/mk-local_lim.c: Likewise.
8740 * sysdeps/unix/snarf-ioctls: Likewise.
8741
4851a949
RH
87422012-03-19 Richard Henderson <rth@twiddle.net>
8743
bd37f2ee
RH
8744 * sysdeps/i386/fpu/fenv_private.h: New file.
8745 * sysdeps/i386/fpu/math_private.h: Use it.
8746 (math_opt_barrier, math_force_eval): Remove.
8747 (libc_feholdexcept_setround_53bit): Remove.
8748 (libc_feupdateenv_53bit): Remove.
8749 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8750 (math_opt_barrier, math_force_eval): Remove.
8751 (libc_feholdexcept): Remove.
8752 (libc_feholdexcept_setround): Remove.
8753 (libc_fetestexcept, libc_fesetenv): Remove.
8754 (libc_feupdateenv_test): Remove.
8755 (libc_feupdateenv, libc_feholdsetround): Remove.
8756 (libc_feresetround): Remove.
8757
d0adc922
RH
8758 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8759 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8760
0fe0f1f8
RH
8761 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8762 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8763 (libc_feupdateenv_testl): New.
8764 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8765 (libc_feupdateenv_testf): New.
8766 (libc_feupdateenv): Use libc_feupdateenv_test.
8767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8768 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8769
eb92c487
RH
8770 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8771 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8772 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8773 (libc_feresetround_noex): New.
8774 (libc_feresetround_noexf): New.
8775 (libc_feresetround_noexl): New.
8776 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8777 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8778 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8779 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8780 SET_RESTORE_ROUND.
8781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8783 (__cos): Likewise.
8784 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8785 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8786 SET_RESTORE_ROUND_NOEX.
8787 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8788 SET_RESTORE_ROUND_NOEXF.
8789 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8790 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8791 (libc_feholdsetroundf): New.
8792 (libc_feresetround, libc_feresetroundf): New.
8793
7d2e8012
RH
8794 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8795 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8796 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8797
b4dabbb4
RH
8798 * sysdeps/generic/math_private.h: Include <fenv.h>.
8799 (default_libc_feholdexcept): New.
8800 (default_libc_feholdexcept_setround): New.
8801 (default_libc_fesetenv, default_libc_feupdateenv): New.
8802 (libc_feholdexcept): Only define if undefined.
8803 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8804 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8805 (libc_feholdexcept_setroundl): Likewise.
8806 (libc_feholdexcept_setround_53bit): Likewise.
8807 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8808 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8809 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8810 (libc_feupdateenv_53bit): Likewise.
8811 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8812 (libc_feholdexcept): Convert from macro to inline function.
8813 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8814 (libc_fesetenv, libc_feupdateenv): Likewise.
8815
4851a949
RH
8816 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8817 not previously defined.
8818 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8819 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8820 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8821 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8822 * sysdeps/ieee754/flt-32/math_private.h: New file.
8823 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8824 math_private.h below SET_FLOAT_WORD.
8825 (__isnan, __isinf_ns, __finite): Remove.
8826 (__isnanf, __isinf_nsf, __finitef): Remove.
8827
e79d442e
AS
88282012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8829
8830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8831
90b80344
DM
88322012-03-17 David S. Miller <davem@davemloft.net>
8833
8834 [BZ #6471]
8835 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8836 for 2.16.
8837
edc21804
DM
88382012-03-16 David S. Miller <davem@davemloft.net>
8839
77e927af
DM
8840 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8841 warnings.
8842
374976dd
DM
8843 [BZ #6471]
8844 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8845 properly.
8846 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8847 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8848 sysdep_routines when subdir is sysvipc.
8849 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8850 __getshmlba helper.
8851
edc21804
DM
8852 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8853
473c3ef3
L
88542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8855
8856 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8857 [__LP64__].
8858
eb0f39b6
L
88592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8860
8861 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8862 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8863 (__lround): Renamed to ...
8864 (__llround): This. Replace long int with long long int.
8865 Define lround functions as aliases of llround functions.
8866 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8867
6b6cd74b
L
88682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8869
8870 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8871 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8872 adresses to uintptr_t. Replace "long int" and "unsigned long
8873 int" with "greg_t" on va_arg.
8874
f1a77b01
L
88752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8876
8877 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8878 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8879
8880 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8881 Move e_machine check before EI_CLASS check. Handle x32
8882 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8883 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8884 SKIP_EM_IA_64 and include
8885 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8886
8887 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8888 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8889 (add_system_dir): New macro.
8890
8891 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8892 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8893
11b90b9f
JM
88942012-03-16 Joseph Myers <joseph@codesourcery.com>
8895
c36e1d23
JM
8896 [BZ #2551]
8897 [BZ #2552]
8898 [BZ #2553]
8899 [BZ #2554]
8900 [BZ #2562]
8901 [BZ #2563]
8902 [BZ #2565]
8903 [BZ #2566]
8904 [BZ #2576]
8905 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8906 (y0): Likewise.
8907 * math/w_j0f.c (j0f): Likewise.
8908 (y0f): Likewise.
8909 * math/w_j0l.c (__j0l): Likewise.
8910 (__y0l): Likewise.
8911 * math/w_j1.c (j1): Likewise.
8912 (y1): Likewise.
8913 * math/w_j1f.c (j1f): Likewise.
8914 (y1f): Likewise.
8915 * math/w_j1l.c (__j1l): Likewise.
8916 (__y1l): Likewise.
8917 * math/w_jn.c (jn): Likewise.
8918 (yn): Likewise.
8919 * math/w_jnf.c (jnf): Likewise.
8920 (ynf): Likewise.
8921 * math/w_jnl.c (__jnl): Likewise.
8922 (__ynl): Likewise.
8923 * math/libm-test.inc (j0_test): Add more tests.
8924 (j1_test): Likewise.
8925 (jn_test): Likewise. Add trailing semicolon to existing test.
8926 (y0_test): Likewise.
8927 (y1_test): Likewise.
8928 * sysdeps/i386/fpu/libm-test-ulps: Update.
8929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8930
11b90b9f
JM
8931 [BZ #13851]
8932 [BZ #13854]
8933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8934 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8935 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8937 (__tanl): Set errno for infinite argument.
8938 * sysdeps/i386/fpu/mptan.c: Remove.
8939 * sysdeps/i386/fpu/s_tan.S: Likewise.
8940 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8941 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8942 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8943 * math/libm-test.inc (tan_test): Add more tests and enable more
8944 tests for double and long double.
8945 * sysdeps/i386/fpu/libm-test-ulps: Update.
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8947
6a1bd2a1
JK
89482012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8949
8950 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8951 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8952
10a803e0
RM
89532012-03-16 Roland McGrath <roland@hack.frob.com>
8954
8955 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8956 * configure.in: Use it for both main tree and add-ons.
8957 * configure: Regenerated.
8958
f196c7f7
L
89592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8962
8848d99d
JM
89632012-03-16 Joseph Myers <joseph@codesourcery.com>
8964
96cbe7f4
JM
8965 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8966 in comment.
8967
8848d99d
JM
8968 [BZ #13851]
8969 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8970 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8974 infinite argument.
8975 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8977 != 0 for prec == 2.
8978 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8979 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8980 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8981 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8982 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8983 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8984 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8985 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8986 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8987 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8988 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8989 * math/libm-test.inc (cos_test): Add more tests and enable more
8990 tests for long double.
8991 (sin_test): Likewise.
8992 (sincos_test): Likewise.
8993 * sysdeps/i386/fpu/libm-test-ulps: Update.
8994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8995
dd7f4703
DM
89962012-03-16 David S. Miller <davem@davemloft.net>
8997
8998 * sysdeps/sparc/fpu/math_private.h: New file.
8999
006f1daa
DM
90002012-03-15 David S. Miller <davem@davemloft.net>
9001
c0c83bc8
DM
9002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9003 file.
e6a62e18 9004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9006 file.
e6a62e18
DM
9007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9013 sysdep routines.
9014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9015
88cb87d9
DM
9016 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9017 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9018
006f1daa 9019 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9021 sparc-ifunc.h
006f1daa 9022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9024 Likewise.
9025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9026 Likewise.
006f1daa
DM
9027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9031 Likewise.
006f1daa
DM
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9037 Likewise.
9038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9039 Likewise.
006f1daa
DM
9040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9064
11e0098e
AS
90652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9066
9067 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9068 scaling.
9069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9070
e85b09d0
AJ
90712012-03-15 Andreas Jaeger <aj@suse.de>
9072
9073 [BZ #13852]
9074 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9075 ieee754/flt-32 implementation for sin, cos and sincos.
9076 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9077 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9078 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9079 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9080 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9081 ieee754/flt-32 implementation for tan.
9082
9083 * math/libm-test.inc (cos_test): Enable some large input tests for
9084 float as well
9085 (sin_test): Likewise.
9086 (sincos_test): Likewise.
9087 (tan_test): Add tests for large input.
9088
9089 * sysdeps/i386/fpu/libm-test-ulps: Update.
9090
81c64153
AJ
90912012-03-15 Andreas Jaeger <aj@suse.de>
9092
9093 [BZ #13658]
9094 * math/libm-test.inc (cos_test): Add more test cases.
9095 (sin_test): Likewise.
9096 (sincos_test): Likewise.
9097
7bbfa5c6
AJ
90982012-03-15 Andreas Jaeger <aj@suse.de>
9099
9100 [BZ #13837]
9101 * math/libm-test.inc (cos_test): Add a test case for large input
9102 value.
9103 (sin_test): Likewise.
9104 (sincos_test): Likewise.
9105
91062012-03-15 Andreas Jaeger <aj@suse.de>,
9107 Joseph Myers <joseph@codesourcery.com>
9108
9109 [BZ #13658]
0671f479 9110 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9111 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9112 * sysdeps/i386/fpu/branred.c: Likewise.
9113 * sysdeps/i386/fpu/dosincos.c: Likewise.
9114 * sysdeps/i386/fpu/mpa.c: Likewise.
9115 * sysdeps/i386/fpu/s_cos.S: Likewise.
9116 * sysdeps/i386/fpu/s_sin.S: Likewise.
9117 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9118 * sysdeps/i386/fpu/sincos32.c: Likewise.
9119
9120 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9121 Define.
9122 (libc_feupdateenv_53bit): Define.
9123 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9124 Define.
9125 (libc_feupdateenv_53bit): Define.
9126
9127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9128 53 bit (without extend i386 double precision).
9129
9130 * math/libm-test.inc (sincos_test): Add tests for large input.
9131 (sin): Likewise.
9132 (cos): Likewise.
9133
9134 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9135
9cad04ea
AS
91362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9137
9138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9139
f7062b9a
DM
91402012-03-15 David S. Miller <davem@davemloft.net>
9141
9142 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9143 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9144 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9145 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9158 file.
f7062b9a 9159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9161 file.
f7062b9a 9162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9164 file.
f7062b9a 9165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9167 file.
f7062b9a
DM
9168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9170 fmin/fmax sysdep routines.
9171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9172
7bd951ff
DM
91732012-03-14 David S. Miller <davem@davemloft.net>
9174
559398ab
DM
9175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9204 routines.
9205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9206 file.
559398ab 9207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9209 file.
559398ab 9210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9212 file.
559398ab 9213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9215 file.
559398ab 9216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9218 file.
559398ab 9219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9221 file.
9222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9223 file.
9224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9225 file.
9226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9227 file.
9228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9229 New file.
9230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9231 file.
9232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9233 file.
559398ab 9234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9236 file.
559398ab 9237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9239 file.
559398ab 9240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9242 file.
559398ab 9243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9245 VIS3 routines.
559398ab
DM
9246
9247 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9248 New file.
9249
5a1c1e32
DM
9250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9251
eae47a36
DM
9252 * sysdeps/sparc/configure.in: New file.
9253 * sysdeps/sparc/configure: Generate.
9254 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9255 * configure: Regenerate.
9256 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9257 * config.make.in (have-as-vis3): New.
9258 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9259 available use -Av9d instead of -Av9a.
9260 * sysdeps/sparc/sparc64/Makefile: Likewise.
9261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9263 New file.
9264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9265 file.
9266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9267 New file.
9268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9269 file.
eae47a36
DM
9270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9275
c0c83bc8
DM
9276 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9277 fzeros/fnegs to load 0x80000000 into a float register instead of
9278 using the stack.
7bd951ff
DM
9279 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9280
bd951ccb
JM
92812012-03-14 Joseph Myers <joseph@codesourcery.com>
9282
9283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9284 bits/syscall.h.
9285 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9286 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9287 ($(inst_includedir)/bits/syscall.h): Remove rule.
9288 ($(objpfx)bits/syscall.d): Include instead of
9289 $(objpfx)syscall-list.d.
9290 (generated): Change syscall-list.h and syscall-list.d to
9291 bits/syscall.h and bits/syscall.d.
9292
bb4e6db2
RM
92932012-03-14 Roland McGrath <roland@hack.frob.com>
9294
9295 [BZ #13846]
9296 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9297
aa4a2ae1
JM
92982012-03-14 Joseph Myers <joseph@codesourcery.com>
9299
e456826d
JM
9300 [BZ #13841]
9301 * math/s_csqrt.c: Include <float.h>.
9302 (__csqrt): Scale large or subnormal inputs.
9303 * math/s_csqrtf.c: Likewise.
9304 * math/s_csqrtl.c: Likewise.
9305 * math/libm-test.inc (csqrt_test): Add more tests.
9306 * sysdeps/i386/fpu/libm-test-ulps: Update.
9307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9308
aa4a2ae1
JM
9309 [BZ #13840]
9310 * math/libm-test.inc (hypot_test): Add more tests.
9311
7c10fd35
DM
93122012-03-13 David S. Miller <davem@davemloft.net>
9313
9314 [BZ #13840]
9315 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9316 double-precision for the calculation instead of scaling.
9317
f453b98b
JM
93182012-03-13 Joseph Myers <joseph@codesourcery.com>
9319
9320 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9321 manipulate bits before adding and subtracting TWO52[sx].
9322 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9324 Likewise.
9325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9326
09a3453f
DM
93272012-03-13 David S. Miller <davem@davemloft.net>
9328
8e59da90
DM
9329 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9330 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9332 rtld-global-offsets.h
9333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9334
2a8ab7f2
DM
9335 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9336 large parameters.
9337
10f62770
DM
9338 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9339
5f0bdb18
DM
9340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9341 'err' in the ifdef scope in which it is actually used.
9342
09a3453f
DM
9343 * nss/nss_db/db-init.c: Include string.h
9344
b4b2eb5e
DM
93452012-03-12 David S. Miller <davem@davemloft.net>
9346
98bb2f1c
DM
9347 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9348 masking out of the most significant byte of random value used.
9349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9350 Fix coding style in previous change.
9351
b4b2eb5e
DM
9352 * sysdeps/unix/sysv/linux/kernel-features.h
9353 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9354 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9355 expression.
9356 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9357 later.
9358
6e226b09
DM
93592012-03-11 David S. Miller <davem@davemloft.net>
9360
a1bcbd40
DM
9361 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9362 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9363 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9364 for 'resultvar' otherwise things get truncated on 64-bit.
9365
cb9d6174
DM
9366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9367 Fix masking out of the most significant byte of random value used.
9368
6e226b09
DM
9369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9370
058c132d
AS
93712012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9372
9373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9374
2d2cd515
DM
93752012-03-09 David S. Miller <davem@davemloft.net>
9376
9377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9378 variables with appropriate CPP guards.
9379 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9380 frame pointer, not the stack pointer. Correct layout comments. Fix test
9381 on resulting framesize and the management of the outregs buffer for pltexit.
9382 Preserve floating point return values across _dl_call_pltexit call.
9383 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9384 framesize and the management of the outregs buffer for pltexit.
9385 Preserve floating point return values across _dl_call_pltexit
9386 call.
9387 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9388 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9389 (print_exit): Fix format string for return register value.
9390
9a07f9d0
JM
93912012-03-10 Joseph Myers <joseph@codesourcery.com>
9392
9393 * sunrpc/Makefile (others): Add rpcgen.
9394 ($(objpfx)rpcgen): Remove special build rule and dependency on
9395 libc.
9396 * sunrpc/rpcgen.c: New file.
9397
547b5e30
PE
93982012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9399
c524201a
PE
9400 [BZ #13673]
9401 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9402 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9403 * sysdeps/i386/crti.S: Likewise.
9404 * sysdeps/i386/crtn.S: Likewise.
9405 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9406 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9407 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9408 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9409 * sysdeps/sh/crti.S: Likewise.
9410 * sysdeps/sh/crtn.S: Likewise.
9411 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9412
7b6235f2
PE
9413 [BZ #13673]
9414 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9415 with URL.
9416 * locale/programs/locfile-kw.gperf: Likewise.
9417 * locale/programs/charmap-kw.h: Regenerated.
9418 * locale/programs/locfile-kw.h: Likewise.
9419
547b5e30
PE
9420 [BZ #13673]
9421 * intl/plural.y: Replace FSF snail mail address with URL.
9422 * intl/plural.c: Regenerated.
9423
5f0a5dae
RH
94242012-03-09 Richard Henderson <rth@twiddle.net>
9425
9426 * include/math_private.h: Remove file.
9427 * math/math_private.h: Move file ...
9428 * sysdeps/generic/math_private.h: ... here.
9429
b8c03620
RH
9430 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9431 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9432 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9433
4e234f5d 9434 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9435 and <math_private.h>.
9436 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9437 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9438 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9439 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9440 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9505 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9524 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9525 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9526 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9527 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9528 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9529 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9530 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9531 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9532 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9533 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9534 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9535 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9536 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9537 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9538 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9539 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9540 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9541 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9542 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9543 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9544 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9546 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9547 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9548 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9549 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9550 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9551 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9552 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9553 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9554 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9555 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9556 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9557 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9558 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9559 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9560 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9561 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9562 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9563 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9564 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9565 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9566 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9567 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9568 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9569 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9570 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9571 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9572 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9573 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9574 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9575 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9576 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9577 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9578 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9579 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9580 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9581 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9582 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9583 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9584 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9585 * sysdeps/ieee754/k_standard.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9701 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9705 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9708 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9713 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9718 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9734 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9735 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9746 * sysdeps/ieee754/s_lib_version.c: Likewise.
9747 * sysdeps/ieee754/s_matherr.c: Likewise.
9748 * sysdeps/ieee754/s_signgam.c: Likewise.
9749 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9750 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9751 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9752 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9753 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9754 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9755 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9756 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9757 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9758 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9759 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9760 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9761 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9762 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9763 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9764 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9765 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9770
1991fa03
JM
97712012-03-09 Joseph Myers <joseph@codesourcery.com>
9772
9773 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9774 * sunrpc/rpc_main.c: Likewise.
9775 * sunrpc/rpc_svcout.c: Likewise.
9776
60d6f5a6
DM
97772012-03-09 David S. Miller <davem@davemloft.net>
9778
9779 * include/math_private.h: New file.
9780
4962050e
JM
97812012-03-09 Joseph Myers <joseph@codesourcery.com>
9782
02a6f887
JM
9783 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9784 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9785 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9786 from <bits/socket_type.h>.
9787 (enum __socket_type): Don't define here.
9788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9790 bits/socket_type.h.
9791
c6e013c1
JM
9792 [BZ #13566]
9793 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9794 checking __USE_GNU.
9795
4962050e
JM
9796 * Makerules ($(inst_includedir)/%.h): New rule.
9797 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9798 (install-others): Remove variable setting.
9799 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9800
38842f45
RH
98012012-03-08 Richard Henderson <rth@twiddle.net>
9802
67bb6da6
RH
9803 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9804 from macro to inline function; merge with the
9805 !__LIBC_INTERNAL_MATH_INLINES version.
9806 (__ieee754_sqrtf): Likewise.
9807
15194b4b
RH
9808 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9809 to inline function.
9810 (__rintf, __floor, __floorf): Likewise.
9811
64e21ede
RH
9812 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9813 macro to inline function.
9814 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9815
38842f45
RH
9816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9817 not <math/math_private.h>.
9818
c64bf5fe
DM
98192012-03-08 David S. Miller <davem@davemloft.net>
9820
9821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9822 copyright year.
9823 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9824
82d86f28
TS
98252012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9826
9827 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9828 normalization.
9829 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9830 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9831
aea5d727
UD
98322012-03-08 Ulrich Drepper <drepper@gmail.com>
9833
9834 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9835 be defined individually, they must be defined as a block. Define
9836 S for printing a string instead of hidint the different by using a
9837 macro for adding the 'l'.
9838 * stdio-common/tst-fphex-wide.c: Adjust.
9839
70bca0a3
MP
98402012-03-07 Marek Polacek <polacek@redhat.com>
9841
9842 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9843
65b81130
MP
98442012-03-08 Marek Polacek <polacek@redhat.com>
9845
9846 [BZ #13806]
9847 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9848 * stdio-common/tst-fphex.c: Define a few macros to make the
9849 test reusable. Use them.
9850 * stdio-common/tst-fphex-wide.c: New file.
9851
07037eeb
JM
98522012-03-08 Joseph Myers <joseph@codesourcery.com>
9853
a7a93d50
JM
9854 [BZ #6911]
9855 * manual/macros.texi (gnusystems): New macro.
9856 (nongnusystems): Likewise.
9857 (gnulinuxhurdsystems): Likewise.
9858 (gnuhurdsystems): Likewise..
9859 (gnulinuxsystems): Likewise.
9860 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9861 variants of the GNU system, not "GNU system".
9862 * manual/conf.texi: Likewise.
9863 * manual/errno.texi: Likewise. Update example of errno macro
9864 expansion.
9865 * manual/filesys.texi: Likewise.
9866 (getumask): Document as specific to GNU/Hurd.
9867 * manual/install.texi: Likewise. Reword some references to
9868 GNU/Linux.
9869 * manual/intro.texi: Likewise.
9870 * manual/io.texi: Likewise.
9871 (File Name Portability): Detail which constraints are inapplicable
9872 to all GNU systems and which are only inapplicable to GNU/Hurd.
9873 * manual/job.texi: Likewise.
9874 * manual/llio.texi: Likewise.
9875 (O_NOCTTY): Document as present on GNU/Linux.
9876 * manual/maint.texi: Likewise.
9877 * manual/memory.texi: Likewise.
9878 * manual/pattern.texi: Likewise.
9879 * manual/pipe.texi: Likewise.
9880 * manual/process.texi: Likewise.
9881 * manual/resource.texi: Likewise.
9882 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9883 child on GNU/Hurd.
9884 * manual/setjmp.texi: Likewise.
9885 * manual/signal.texi: Likewise.
9886 * manual/startup.texi: Likewise.
9887 * manual/stdio.texi: Likewise.
9888 * manual/terminal.texi: Likewise.
9889 (ONLCR): Document as POSIX.
9890 (OXTABS): Document availability on GNU/Linux as XTABS.
9891 (ONOEOT): Document availability separately from other bits.
9892 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9893 * manual/time.texi: Likewise.
9894 * manual/users.texi: Likewise.
9895 * INSTALL: Regenerated.
9896 * sysdeps/gnu/errlist.c: Regenerated.
9897
07037eeb
JM
9898 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9899 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9900 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9901 puts.
9902 * configure: Regenerated.
9903
d1d3431a
JM
99042012-03-07 Joseph Myers <joseph@codesourcery.com>
9905
af6a1e37
JM
9906 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9907 default includes instead of AC_HEADER_CHECK.
9908 * sysdeps/i386/configure: Regenerated.
9909
d1d3431a
JM
9910 [BZ #10716]
9911 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9912 * math/s_cacoshf.c (__cacoshf): Likewise.
9913 * math/s_cacoshl.c (__cacoshl): Likewise.
9914 * math/s_casinh.c (__casinh): Set signs of result from argument.
9915 * math/s_casinhf.c (__casinhf): Likewise.
9916 * math/s_casinhl.c (__casinhl): Likewise.
9917 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9918 (casinh_test): Add more tests.
9919 * sysdeps/i386/fpu/libm-test-ulps: Update.
9920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9921
482ff4da
UD
99222012-03-07 Ulrich Drepper <drepper@gmail.com>
9923
872fda05
UD
9924 * po/zh_TW.po: Update from translation team.
9925
a4300c7a
UD
9926 * login/Makefile (distribute): Remove variable.
9927 * catgets/Makefile: Likewise.
9928 * mach/Makefile: Likewise.
9929 * malloc/Makefile: Likewise.
9930 * misc/Makefile: Likewise.
9931 * iconv/Makefile: Likewise.
9932 * nscd/Makefile: Likewise.
9933 * hurd/Makefile: Likewise.
9934 * manual/Makefile: Likewise.
9935 * locale/Makefile: Likewise.
9936 * intl/Makefile: Likewise.
9937 * conform/Makefile: Likewise.
9938 * nss/Makefile: Likewise.
9939 * time/Makefile: Likewise.
9940 * soft-fp/Makefile: Likewise.
9941 * dirent/Makefile: Likewise.
9942 * gmon/Makefile: Likewise.
9943 * po/Makefile: Likewise.
9944 * rt/Makefile: Likewise.
9945 * socket/Makefile: Likewise.
9946 * math/Makefile: Likewise.
9947 * signal/Makefile: Likewise.
9948 * debug/Makefile: Likewise.
9949 * elf/Makefile: Likewise.
9950 * timezone/Makefile: Likewise.
9951 * stdlib/Makefile: Likewise.
9952 * iconvdata/Makefile: Likewise.
9953 * sunrpc/Makefile: Likewise.
9954 * io/Makefile: Likewise.
9955 * argp/Makefile: Likewise.
9956 * inet/Makefile: Likewise.
9957 * hesiod/Makefile: Likewise.
9958 * grp/Makefile: Likewise.
9959 * csu/Makefile: Likewise.
9960 * wctype/Makefile: Likewise.
9961 * crypt/Makefile: Likewise.
9962 * libio/Makefile: Likewise.
9963 * string/Makefile: Likewise.
9964 * nis/Makefile: Likewise.
9965 * resolv/Makefile: Likewise.
9966 * stdio-common/Makefile: Likewise.
9967 * wcsmbs/Makefile: Likewise.
9968 * dlfcn/Makefile: Likewise.
9969 * posix/Makefile: Likewise.
9970
3b7c4e74 9971 [BZ #6959]
482ff4da
UD
9972 * timezone/Makefile: Don't install timezone files, just the programs
9973 and scripts.
9974
f72ed77d
UD
99752012-03-06 Ulrich Drepper <drepper@gmail.com>
9976
a000466f
UD
9977 * nss/databases.def: Add missing gshadow entry.
9978
f72ed77d
UD
9979 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9980
a53b7a4e
MP
99812012-03-06 Marek Polacek <polacek@redhat.com>
9982
9983 [BZ #13726]
9984 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9985 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9986 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9987 * stdio-common/tst-long-dbl-fphex.c: New file.
9988
e9258400
DM
99892012-03-06 David S. Miller <davem@davemloft.net>
9990
9991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9992 (set_obp_int): New function.
9993 (get_obp_int): New function.
9994 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9996 Avoid unused variable warnings on 'val' and use builtin_expect.
9997 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9998 __builtin_expect.
e9258400
DM
9999 (INLINE_CLONE_SYSCALL): Likewise.
10000
3bd2c723
DM
100012012-03-05 David S. Miller <davem@davemloft.net>
10002
10003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10004
bbb78d03
AS
100052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10006
884c5db4
AS
10007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10008
bbb78d03
AS
10009 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10010 only for |x| >= 40.
10011 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10012
1c9f702a 100132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10014
10015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10016 Replace gettimeofday with __vdso_gettimeofday.
10017
7be16f82
RM
10018 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10019 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10020 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10021
10022 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10023 time with __vdso_time.
10024
ed58a00f
JM
100252012-03-05 Joseph Myers <joseph@codesourcery.com>
10026
10027 * manual/lang.texi (size_t): Note types to which size_t may be
10028 equivalent with the GNU C Library, but do not describe when
10029 differences between them are significant.
10030
30ee4ced
AJ
100312012-03-05 Andreas Jaeger <aj@suse.de>
10032
10033 * sysdeps/i386/fpu/libm-test-ulps: Update.
10034
b7cd39e8
JM
100352012-03-05 Joseph Myers <joseph@codesourcery.com>
10036
10037 [BZ #3976]
10038 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10039 (__ieee754_pow): Save and restore rounding mode and use
10040 round-to-nearest for main computations.
10041 * math/libm-test.inc (pow_test_tonearest): New function.
10042 (pow_test_towardzero): Likewise.
10043 (pow_test_downward): Likewise.
10044 (pow_test_upward): Likewise.
10045 (main): Call the new functions.
10046 * sysdeps/i386/fpu/libm-test-ulps: Update.
10047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10048
10049 [BZ #3976]
10050 * math/libm-test.inc (cosh_test_tonearest): New function.
10051 (cosh_test_towardzero): Likewise.
10052 (cosh_test_downward): Likewise.
10053 (cosh_test_upward): Likewise.
10054 (sinh_test_tonearest): Likewise.
10055 (sinh_test_towardzero): Likewise.
10056 (sinh_test_downward): Likewise.
10057 (sinh_test_upward): Likewise.
10058 (main): Call the new functions.
10059 * sysdeps/i386/fpu/libm-test-ulps: Update.
10060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10061
6c6a98c9
TV
100622012-03-05 Tom de Vries <tom@codesourcery.com>
10063
10064 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10065 default stack guard is set in last bytes.
10066 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10067
21bb2d2e 100682012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10069
21bb2d2e 10070 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10071
21bb2d2e
AJ
10072 [BZ #13656]
10073 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10074 possibly allocate from heap instead of stack.
10075 * stdio-common/bug-vfprintf-nargs.c: New file.
10076 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10077
c6922934
AS
100782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10079
10080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10081
bc957d53
MP
100822012-03-03 Marek Polacek <polacek@redhat.com>
10083
10084 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10085 * math/math_private.h: Likewise.
10086 * stdlib/tst-strtod.c: Likewise.
10087 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10088 * sysdeps/x86_64/bits/atomic.h: Likewise.
10089
6358490d
DM
100902012-03-02 David S. Miller <davem@davemloft.net>
10091
10092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10096 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10097 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10098 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10099 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10100
01ae168d
RM
101012012-03-02 Roland McGrath <roland@hack.frob.com>
10102
d9a17c07
RM
10103 [BZ #13792]
10104 * manual/examples/README: New file, says the example source files
10105 can be used under GPL>=2.
10106 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10107 line containing just "*/".
10108 * manual/examples/add.c: Add copyright header (GPL>=2).
10109 * manual/examples/argp-ex1.c: Likewise.
10110 * manual/examples/argp-ex2.c: Likewise.
10111 * manual/examples/argp-ex3.c: Likewise.
10112 * manual/examples/argp-ex4.c: Likewise.
10113 * manual/examples/atexit.c: Likewise.
10114 * manual/examples/db.c: Likewise.
10115 * manual/examples/dir.c: Likewise.
10116 * manual/examples/dir2.c: Likewise.
10117 * manual/examples/execinfo.c: Likewise.
10118 * manual/examples/filecli.c: Likewise.
10119 * manual/examples/filesrv.c: Likewise.
10120 * manual/examples/fmtmsgexpl.c: Likewise.
10121 * manual/examples/genpass.c: Likewise.
10122 * manual/examples/inetcli.c: Likewise.
10123 * manual/examples/inetsrv.c: Likewise.
10124 * manual/examples/isockad.c: Likewise.
10125 * manual/examples/longopt.c: Likewise.
10126 * manual/examples/memopen.c: Likewise.
10127 * manual/examples/memstrm.c: Likewise.
10128 * manual/examples/mkfsock.c: Likewise.
10129 * manual/examples/mkisock.c: Likewise.
10130 * manual/examples/mygetpass.c: Likewise.
10131 * manual/examples/pipe.c: Likewise.
10132 * manual/examples/popen.c: Likewise.
10133 * manual/examples/rprintf.c: Likewise.
10134 * manual/examples/search.c: Likewise.
10135 * manual/examples/select.c: Likewise.
10136 * manual/examples/setjmp.c: Likewise.
10137 * manual/examples/sigh1.c: Likewise.
10138 * manual/examples/sigusr.c: Likewise.
10139 * manual/examples/stpcpy.c: Likewise.
10140 * manual/examples/strdupa.c: Likewise.
10141 * manual/examples/strftim.c: Likewise.
10142 * manual/examples/strncat.c: Likewise.
10143 * manual/examples/subopt.c: Likewise.
10144 * manual/examples/swapcontext.c: Likewise.
10145 * manual/examples/termios.c: Likewise.
10146 * manual/examples/testopt.c: Likewise.
10147 * manual/examples/testpass.c: Likewise.
10148 * manual/examples/timeval_subtract.c: Likewise.
10149
01ae168d
RM
10150 [BZ #13792]
10151 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10152 function to ...
10153 * manual/timeval_subtract.c.texi: ... here, new file.
10154
49efa33d
DM
101552012-03-02 David S. Miller <davem@davemloft.net>
10156
10157 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10158
28afd92d
JM
101592012-03-02 Joseph Myers <joseph@codesourcery.com>
10160
804360ed
JM
10161 [BZ #3976]
10162 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10163 (__sin): Save and restore rounding mode and use round-to-nearest
10164 for all computations.
10165 (__cos): Save and restore rounding mode and use round-to-nearest
10166 for all computations.
10167 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10168 <fenv.h>.
10169 (tan): Save and restore rounding mode and use round-to-nearest for
10170 all computations.
10171 * math/libm-test.inc (cos_test_tonearest): New function.
10172 (cos_test_towardzero): Likewise.
10173 (cos_test_downward): Likewise.
10174 (cos_test_upward): Likewise.
10175 (sin_test_tonearest): Likewise.
10176 (sin_test_towardzero): Likewise.
10177 (sin_test_downward): Likewise.
10178 (sin_test_upward): Likewise.
10179 (tan_test_tonearest): Likewise.
10180 (tan_test_towardzero): Likewise.
10181 (tan_test_downward): Likewise.
10182 (tan_test_upward): Likewise.
10183 (main): Call the new functions.
10184 * sysdeps/i386/fpu/libm-test-ulps: Update.
10185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10186
a6d06d7b
JM
10187 [BZ #10135]
10188 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10189 small n, then large n, before computing and testing k+n.
10190 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10192 Likewise.
10193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10194 Likewise.
10195 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10196 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10197 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10198 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10201 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10202 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10203 * math/libm-test.inc (scalbn_test): Add more tests.
10204 (scalbln_test): Likewise.
10205
07e12bb3
JM
10206 * manual/filesys.texi (mode_t): Describe constraints on size and
10207 signedness, not exact equivalence to a particular type.
10208 (ino_t): Likewise.
10209 (ino64_t): Likewise.
10210 (dev_t): Likewise.
10211 (nlink_t): Likewise.
10212 (blkcnt_t): Likewise.
10213 (blkcnt64_t): Likewise.
10214 * manual/llio.texi (off_t): Likewise.
10215
28afd92d
JM
10216 [BZ #3976]
10217 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10218 (__ieee754_exp): Save and restore rounding mode and use
10219 round-to-nearest for all computations.
10220 * math/libm-test.inc (exp_test_tonearest): New function.
10221 (exp_test_towardzero): Likewise.
10222 (exp_test_downward): Likewise.
10223 (exp_test_upward): Likewise.
10224 (main): Call the new functions.
10225 * sysdeps/i386/fpu/libm-test-ulps: Update.
10226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10227
b1eeb65d
CD
102282012-03-01 Chris Demetriou <cgd@google.com>
10229
10230 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10231 have predictable order.
10232
53362a4b
DM
102332012-03-01 David S. Miller <davem@davemloft.net>
10234
3c969083
DM
10235 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10236
759707de
DM
10237 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10238 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10239 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10240 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10241
dfdb8ff2
DM
10242 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10243 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10244 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10246 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10247 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10248 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10249 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10250 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10251
ead89f96
DM
10252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10253
7f66bd07
DM
10254 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10255 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10256 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10257
53362a4b
DM
10258 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10259 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10260 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10261 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10262 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10263 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10264 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10265 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10266 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10267 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10268 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10269 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10271 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10272 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10274 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10275 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10276 * sysdeps/sparc/elf/configure: Regenerated.
10277
7b1902cb
JM
102782012-03-01 Joseph Myers <joseph@codesourcery.com>
10279
bec039bc
JM
10280 * configure.in (AS, LD): Require binutils 2.20 or later.
10281 * configure: Regenerated.
10282 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10283 as required minimum version.
10284 * INSTALL: Regenerated.
10285
7b1902cb
JM
10286 [BZ #2541]
10287 [BZ #4108]
10288 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10289 before squaring exponent.
10290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10291 bottom long double and 27 bits of top long double before squaring
10292 exponent.
10293 * math/libm-test.inc (erfc_test): Add more tests.
10294 * sysdeps/i386/fpu/libm-test-ulps: Update.
10295 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10297
f775c276
KT
102982012-03-01 Kai Tietz <ktietz@redhat.com>
10299
10300 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10301 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10302 containing bit-fields.
10303 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10304 * soft-fp/single.h (_FP_UNION_S): Likewise.
10305 * soft-fp/double.h (_FP_UNION_D): Likewise.
10306
5b8a4d4a
JM
103072012-02-29 Joseph Myers <joseph@codesourcery.com>
10308
0bab47b6
JM
10309 [BZ #13786]
10310 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10311 not include ../strcmp.S.
10312 [USE_AS_STRNCASECMP_L]: Likewise.
10313 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10314 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10315 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10316 (__strncasecmp_l_ia32): Define as alias to
10317 __strncasecmp_l_nonascii.
10318
0fcad3e2
JM
10319 [BZ #5794]
10320 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10321 * sysdeps/i386/fpu/libm-test-ulps: Update.
10322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10323
5b8a4d4a
JM
10324 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10326
8fdceb2e
JL
103272012-02-29 Jeff Law <law@redhat.com>
10328
10329 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10330 out of bounds read.
10331
1f393a11
MP
103322012-02-29 Marek Polacek <polacek@redhat.com>
10333
10334 [BZ #13706]
10335 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10336 * elf/Makefile: Add rules to run tst-unused-dep.out.
10337
8847f037
DM
103382012-02-28 David S. Miller <davem@davemloft.net>
10339
10340 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10341 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10342 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10344 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10345 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10346
169d7f11
JM
103472012-02-29 Joseph Myers <joseph@codesourcery.com>
10348
10349 * math/libm-test.inc (llround_test): Move one test from
10350 lround_test. Use TEST_f_L in moved test.
10351 (lround_test): Move misplaced test to llround_test. Add testcase
10352 from bug 2561.
10353
39adf059
UD
103542012-02-28 Ulrich Drepper <drepper@gmail.com>
10355
10356 * sysdeps/x86_64/fpu/e_expf.S: New file.
10357 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10358
71b5d1c5
SB
103592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10360
10361 [BZ #13637]
10362 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10363 of remain_len that may cause incomplete multi-byte character and
10364 false match.
10365 * posix/bug-regex33.c: New file.
10366 * posix/Makefile (tests): Add bug-regex33.
10367
1f77f049
JM
103682012-02-28 Joseph Myers <joseph@codesourcery.com>
10369
10370 * manual/macros.texi: New file.
10371 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10372 * manual/libc.texinfo: Include macros.texi.
10373 * manual/creatute.texi: Likewise.
10374 * manual/install.texi: Likewise.
10375 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10376 @glibcadj{} in references to the GNU C Library.
10377 * manual/charset.texi: Likewise.
10378 * manual/conf.texi: Likewise.
10379 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10380 when not using those macros.
10381 * manual/creature.texi: Likewise.
10382 * manual/crypt.texi: Likewise.
10383 * manual/errno.texi: Likewise.
10384 * manual/filesys.texi: Likewise.
10385 * manual/header.texi: Likewise.
10386 * manual/install.texi: Likewise.
10387 * manual/intro.texi: Likewise.
10388 * manual/io.texi: Likewise.
10389 * manual/job.texi: Likewise.
10390 * manual/lang.texi: Likewise.
10391 * manual/libc.texiinfo: Likewise.
10392 * manual/llio.texi: Likewise.
10393 * manual/locale.texi: Likewise.
10394 * manual/maint.texi: Likewise.
10395 * manual/math.texi: Likewise.
10396 * manual/memory.texi: Likewise.
10397 * manual/message.texi: Likewise.
10398 * manual/nss.texi: Likewise.
10399 * manual/pattern.texi: Likewise.
10400 * manual/process.texi: Likewise.
10401 * manual/resource.texi: Likewise.
10402 * manual/search.texi: Likewise.
10403 * manual/setjmp.texi: Likewise.
10404 * manual/signal.texi: Likewise.
10405 * manual/socket.texi: Likewise.
10406 * manual/startup.texi: Likewise.
10407 * manual/stdio.texi: Likewise.
10408 * manual/string.texi: Likewise.
10409 * manual/sysinfo.texi: Likewise.
10410 * manual/syslog.texi: Likewise.
10411 * manual/terminal.texi: Likewise.
10412 * manual/time.texi: Likewise.
10413 * manual/users.texi: Likewise.
10414 * INSTALL: Regenerated.
10415 * NOTES: Regenerated.
d40c5d54 10416 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10417
450bf206
AS
104182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10419
10420 * include/dirent.h: Include <dirstream.h> before
10421 <dirent/dirent.h>.
10422
741a235b
DM
104232012-02-28 David S. Miller <davem@davemloft.net>
10424
10425 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10426 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10427 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10428 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10429
d6b5aa58
DM
104302012-02-27 David S. Miller <davem@davemloft.net>
10431
1aff59a3
DM
10432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10434 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10435 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10436
d6b5aa58
DM
10437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10438 frame pointer instead of stack pointer relative arg slot.
10439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10440 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10441 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10442
433f48bf
CD
104432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10444
10445 [BZ #3992]
10446 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10447
d674b76d
DM
104482012-02-27 David S. Miller <davem@davemloft.net>
10449
10450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10454 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10455 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10456 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10457 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10458
0e7727f7
JM
104592012-02-27 Joseph Myers <joseph@codesourcery.com>
10460
10461 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10462 later. Allow versions 5-9.
43be4ca2 10463 * configure: Regenerated.
0e7727f7
JM
10464 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10465 required minimum version and 4.6 as recommended version. Do not
10466 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10467 * INSTALL: Regenerated.
0e7727f7 10468
a78bc654
DM
104692012-02-27 David S. Miller <davem@davemloft.net>
10470
428d5830
DM
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10475 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10476 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10477 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10478 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10479
a78bc654
DM
10480 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10481 manipulate bits before adding and subtracting TWO112[sx].
10482 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10483
4579f81c
RM
104842012-02-27 Roland McGrath <roland@hack.frob.com>
10485
36c8acb4
RM
10486 [BZ #13775]
10487 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10488 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10489 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10490 being in POSIX, because they are in 1003.1-2008.
10491
84ad622b
RM
10492 * rt/tst-aio.c: Include <fcntl.h>.
10493 * rt/tst-aio7.c: Likewise.
10494 * rt/tst-aio64.c: Likewise.
10495
4579f81c
RM
10496 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10497
abd923db
JM
104982012-02-27 Joseph Myers <joseph@codesourcery.com>
10499
10500 * manual/install.texi (--with-headers): Describe headers as
10501 interface headers, not private headers.
10502 (Specific advice for GNU/Linux systems): Describe use of headers
10503 from "make headers_install", not private headers from older
10504 kernels.
43be4ca2 10505 * INSTALL: Regenerated.
abd923db
JM
10506 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10507 Change to 2.6.19.
10508 * sysdeps/unix/sysv/linux/configure: Regenerated.
10509
6664049b
JM
10510 * manual/llio.texi (fclean): Remove documentation.
10511
bb8b6697
JM
10512 * manual/Makefile (libc-texi-generated): New variable. Include
10513 version.texi.
10514 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10515 $(libc-texi-generated), not duplicated list of files.
10516 (version.texi, stamp-version): New rules.
10517 (realclean): Remove $(libc-texi-generated), not individual files
10518 from that list. Do not remove dir-add.texinfo.
10519 * manual/libc.texinfo: Comment out uses of edition numbers and
10520 references to printed manual. Remove last-updated dates.
10521 (EDITION): Comment out.
10522 (ISBN): Likewise.
10523 (VERSION, UPDATED): Remove.
10524 (version.texi): Include.
10525
12e5c3b9
AS
105262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10527
10528 * sysdeps/posix/spawni.c: Include <signal.h>.
10529 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10530 * sysdeps/pthread/aio_fsync.c: Likewise.
10531
4efeffc1 105322012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10533
ba63ba08
UD
10534 * conform/Makefile (tests): Run only when not cross-compiling and
10535 when fast-check is not defined.
10536
d94a4670
UD
10537 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10538 * conform/data/limits.h-data: Fixes for POSIX2008.
10539 * conform/run-conformtest.sh: Run all tests.
10540 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10541 headers.
10542 * include/bits/dlfcn.h: Likewise.
10543 * include/langinfo.h: Likewise.
10544 * include/monetary.h: Likewise.
10545 * include/sys/poll.h: Likewise.
10546
10547 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10548 for __USE_GNU.
10549 * posix/spawn.h: Define __need_sigset_t.
10550 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10551 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10552 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10553 to get sigevent_t only.
10554 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10555 only for __USE_GNU.
10556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10557 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10558 process_vm_writev only for __USE_GNU.
10559 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10560
10561 * conform/Makefile: For now ignore errors from run-conformtest.
10562 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10563 POSIX to avoid namespace pollution. Don't prepend headers.
10564 * conform/data/aio.h-data: Fixes for POSIX testing.
10565 * conform/data/fcntl.h-data: Likewise.
10566 * conform/data/glob.h-data: Likewise.
10567 * conform/data/grp.h-data: Likewise.
10568 * conform/data/pthread.h-data: Likewise.
10569 * conform/data/pwd.h-data: Likewise.
10570 * conform/data/signal.h-data: Likewise.
10571 * conform/data/spawn.h-data: Likewise.
10572 * conform/data/stdio.h-data: Likewise.
10573 * conform/data/stdlib.h-data: Likewise.
10574 * conform/data/stropts.h-data: Likewise.
10575 * conform/data/sys/mman.h-data: Likewise.
10576 * conform/data/sys/stat.h-data: Likewise.
10577 * conform/data/sys/types.h-data: Likewise.
10578 * conform/data/sys/wait.h-data: Likewise.
10579 * conform/data/time.h-data: Likewise.
10580 * conform/data/unistd.h-data: Likewise.
10581 * conform/data/utime.h-data: Likewise.
10582
10583 * io/sys/stat.h: fchmod was always in POSIX.
10584 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10585 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10586 * rt/aio.h: Define __need_timespec before including <time.h>.
10587 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10588 struct. Add forward declaration of pthread_attr_t and use it in
10589 sigevent.
10590 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10591 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10592 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10593 always remove CLK_TCK definition.
10594
c20105c3
AS
105952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10596
10597 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10598
7a270350
UD
105992012-02-25 Ulrich Drepper <drepper@gmail.com>
10600
31341567
UD
10601 * conform/run-conformtest.sh: New file.
10602 * conform/Makefile: Run run-conformtest for tests.
10603 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10604 support.
10605
10606 * conform/data/uchar.h-data: New file.
10607 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10608 * conform/data/arpa/inet.h-data: Likewise.
10609 * conform/data/assert.h-data: Likewise.
10610 * conform/data/complex.h-data: Likewise.
10611 * conform/data/cpio.h-data: Likewise.
10612 * conform/data/ctype.h-data: Likewise.
10613 * conform/data/dirent.h-data: Likewise.
10614 * conform/data/dlfcn.h-data: Likewise.
10615 * conform/data/errno.h-data: Likewise.
10616 * conform/data/fcntl.h-data: Likewise.
10617 * conform/data/float.h-data: Likewise.
10618 * conform/data/fmtmsg.h-data: Likewise.
10619 * conform/data/fnmatch.h-data: Likewise.
10620 * conform/data/ftw.h-data: Likewise.
10621 * conform/data/glob.h-data: Likewise.
10622 * conform/data/grp.h-data: Likewise.
10623 * conform/data/iconv.h-data: Likewise.
10624 * conform/data/inttypes.h-data: Likewise.
10625 * conform/data/langinfo.h-data: Likewise.
10626 * conform/data/libgen.h-data: Likewise.
10627 * conform/data/limits.h-data: Likewise.
10628 * conform/data/locale.h-data: Likewise.
10629 * conform/data/math.h-data: Likewise.
10630 * conform/data/monetary.h-data: Likewise.
10631 * conform/data/mqueue.h-data: Likewise.
10632 * conform/data/ndbm.h-data: Likewise.
10633 * conform/data/net/if.h-data: Likewise.
10634 * conform/data/netdb.h-data: Likewise.
10635 * conform/data/netinet/in.h-data: Likewise.
10636 * conform/data/nl_types.h-data: Likewise.
10637 * conform/data/poll.h-data: Likewise.
10638 * conform/data/pthread.h-data: Likewise.
10639 * conform/data/pwd.h-data: Likewise.
10640 * conform/data/regex.h-data: Likewise.
10641 * conform/data/sched.h-data: Likewise.
10642 * conform/data/search.h-data: Likewise.
10643 * conform/data/semaphore.h-data: Likewise.
10644 * conform/data/setjmp.h-data: Likewise.
10645 * conform/data/signal.h-data: Likewise.
10646 * conform/data/spawn.h-data: Likewise.
10647 * conform/data/stdarg.h-data: Likewise.
10648 * conform/data/stdio.h-data: Likewise.
10649 * conform/data/stdlib.h-data: Likewise.
10650 * conform/data/string.h-data: Likewise.
10651 * conform/data/strings.h-data: Likewise.
10652 * conform/data/stropts.h-data: Likewise.
10653 * conform/data/sys/ipc.h-data: Likewise.
10654 * conform/data/sys/mman.h-data: Likewise.
10655 * conform/data/sys/msg.h-data: Likewise.
10656 * conform/data/sys/resource.h-data: Likewise.
10657 * conform/data/sys/select.h-data: Likewise.
10658 * conform/data/sys/sem.h-data: Likewise.
10659 * conform/data/sys/shm.h-data: Likewise.
10660 * conform/data/sys/socket.h-data: Likewise.
10661 * conform/data/sys/stat.h-data: Likewise.
10662 * conform/data/sys/statvfs.h-data: Likewise.
10663 * conform/data/sys/time.h-data: Likewise.
10664 * conform/data/sys/timeb.h-data: Likewise.
10665 * conform/data/sys/times.h-data: Likewise.
10666 * conform/data/sys/types.h-data: Likewise.
10667 * conform/data/sys/uio.h-data: Likewise.
10668 * conform/data/sys/un.h-data: Likewise.
10669 * conform/data/sys/utsname.h-data: Likewise.
10670 * conform/data/sys/wait.h-data: Likewise.
10671 * conform/data/syslog.h-data: Likewise.
10672 * conform/data/tar.h-data: Likewise.
10673 * conform/data/termios.h-data: Likewise.
10674 * conform/data/utime.h-data: Likewise.
10675 * conform/data/utmpx.h-data: Likewise.
10676 * conform/data/varargs.h-data: Likewise.
10677 * conform/data/wchar.h-data: Likewise.
10678 * conform/data/wctype.h-data: Likewise.
10679 * conform/data/wordexp.h-data: Likewise.
10680
10681 * include/stropts.h: New file.
10682 * include/uchar.h: New file.
10683 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10684 * include/assert.h: Likewise.
10685 * include/ctype.h: Likewise.
10686 * include/dirent.h: Likewise.
10687 * include/dlfcn.h: Likewise.
10688 * include/fcntl.h: Likewise.
10689 * include/fnmatch.h: Likewise.
10690 * include/glob.h: Likewise.
10691 * include/grp.h: Likewise.
10692 * include/libio.h: Likewise.
10693 * include/locale.h: Likewise.
10694 * include/math.h: Likewise.
10695 * include/net/if.h: Likewise.
10696 * include/netdb.h: Likewise.
10697 * include/netinet/in.h: Likewise.
10698 * include/pthread.h: Likewise.
10699 * include/pwd.h: Likewise.
10700 * include/regex.h: Likewise.
10701 * include/sched.h: Likewise.
10702 * include/search.h: Likewise.
10703 * include/setjmp.h: Likewise.
10704 * include/signal.h: Likewise.
10705 * include/stdio.h: Likewise.
10706 * include/stdlib.h: Likewise.
10707 * include/string.h: Likewise.
10708 * include/sys/cdefs.h: Likewise.
10709 * include/sys/mman.h: Likewise.
10710 * include/sys/msg.h: Likewise.
10711 * include/sys/resource.h: Likewise.
10712 * include/sys/select.h: Likewise.
10713 * include/sys/socket.h: Likewise.
10714 * include/sys/stat.h: Likewise.
10715 * include/sys/statvfs.h: Likewise.
10716 * include/sys/time.h: Likewise.
10717 * include/sys/times.h: Likewise.
10718 * include/sys/uio.h: Likewise.
10719 * include/sys/utsname.h: Likewise.
10720 * include/sys/wait.h: Likewise.
10721 * include/termios.h: Likewise.
10722 * include/time.h: Likewise.
10723 * include/ulimit.h: Likewise.
10724 * include/unistd.h: Likewise.
10725 * include/utime.h: Likewise.
10726 * include/wchar.h: Likewise.
10727 * include/wctype.h: Likewise.
10728 * include/wordexp.h: Likewise.
10729
10730 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10731
7a270350
UD
10732 * time/time.h: TIME_UTC must be a macro.
10733 Make timespec_get available for ISO C11 only as well.
10734
7724defc
UD
107352012-02-24 Ulrich Drepper <drepper@gmail.com>
10736
10737 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10738 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10739
6b1d1d46
JM
107402012-02-24 Joseph Myers <joseph@codesourcery.com>
10741
10742 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10743
0f8bbd69
JM
107442012-02-24 Joseph Myers <joseph@codesourcery.com>
10745
10746 * manual/texinfo.tex: Update to version 2012-01-19.16.
10747
66ab80bc
JM
107482012-02-24 Joseph Myers <joseph@codesourcery.com>
10749
10750 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10751
74981cc5
RM
107522012-02-24 Roland McGrath <roland@hack.frob.com>
10753
ee968201
RM
10754 [BZ #13738]
10755 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10756 * manual/fdl-1.3.texi: New file.
10757 * manual/fdl-1.1.texi: File removed.
10758
74981cc5
RM
10759 [BZ #13738]
10760 * manual/libc.texinfo (FDL_VERSION): New @set.
10761 Use it for mention of FDL in cover text.
10762 (Documentation License): Use it in @include file name.
10763
7bb764bc
JM
107642012-02-22 Joseph Myers <joseph@codesourcery.com>
10765 Roland McGrath <roland@hack.frob.com>
10766
10767 [BZ #5461]
10768 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10769 not LONG_LONG_MAX and LONG_LONG_MIN.
10770 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10771 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10772 name.
10773 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10774
6cbeae47
JM
107752012-02-22 Joseph Myers <joseph@codesourcery.com>
10776
10777 [BZ #2547]
10778 [BZ #11365]
10779 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10780 manipulate bits before adding and subtracting TWO23[sx].
10781 * math/libm-test.inc (nearbyint_test): Add more tests.
10782
fe45ce09
JM
107832012-02-22 Joseph Myers <joseph@codesourcery.com>
10784
10785 [BZ #2548]
10786 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10787 bits before adding and subtracting TWO23[sx].
10788 * math/libm-test.inc (rint_test): Add more tests.
10789 (rint_test_tonearest): Likewise.
10790 (rint_test_towardzero): Likewise.
10791 (rint_test_downward): Likewise.
10792 (rint_test_upward: Likewise.
10793
ff3b3d82
JM
107942012-02-22 Joseph Myers <joseph@codesourcery.com>
10795
10796 [BZ #10110]
10797 * include/stdc-predef.h: New file. Extracted from features.h.
10798 * include/features.h: Include stdc-predef.h.
10799 * Makefile (headers): Add stdc-predef.h.
10800 * CONFORMANCE (Compiler limitations): Update.
10801
ef0aab35
JM
108022012-02-22 Joseph Myers <joseph@codesourcery.com>
10803
10804 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10805
58639409
DM
108062012-02-21 David S. Miller <davem@davemloft.net>
10807
10808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10809 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10810
c0e70b25
DM
108112012-02-20 David S. Miller <davem@davemloft.net>
10812
10813 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10814 using a normal save/restore sequence, rather than allocating a
10815 dummy stack frame just to store a frame pointer and restore.
10816 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10817
fb06851d
JM
108182012-02-21 Joseph Myers <joseph@codesourcery.com>
10819
10820 * manual/install.texi: Fix stray word in line-wrapped comment.
10821
7a8b71c3
DM
108222012-02-20 David S. Miller <davem@davemloft.net>
10823
d510c123
DM
10824 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10825 both binutils and gcc support GOTDATA.
10826
0722d7c2
DM
10827 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10828 "rd %pc" in the PIC register setup sequences.
10829
3d2b3019
DM
10830 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10831 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10832 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10833 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10834 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10836 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10837 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10838 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10839 (SYSCALL_ERROR_HANDLER): Likewise.
10840 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10841 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10843 (SYSCALL_ERROR_HANDLER): Likewise.
10844
c80098a9
DM
10845 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10846 (HAVE_GCC_GOTDATA): New.
10847 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10848 relocation support in both binutils and gcc.
10849 * sysdeps/sparc/elf/configure: Regenerate.
10850
3a2545a0
DM
10851 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10852 * sysdeps/sparc/sparc32/elf/configure: Delete.
10853 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10854 * sysdeps/sparc/sparc64/elf/configure: Delete.
10855 * sysdeps/sparc/elf/configure.in: New file.
10856 * sysdeps/sparc/elf/configure: Generate.
10857
7a8b71c3
DM
10858 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10859 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10860 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10861 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10862 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10863
f1e86fca
JM
108642012-02-21 Joseph Myers <joseph@codesourcery.com>
10865
10866 * manual/install.texi: Do not mention specific glibc version
10867 numbers.
10868 * manual/libc.texinfo (VERSION, UPDATED): Update.
10869 (@copying): Use @copyright{} and range of years.
10870
0e7dfaef
JM
108712012-02-21 Joseph Myers <joseph@codesourcery.com>
10872
10873 [BZ #13695]
10874 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10875 [crti.S not in sysdirs] (generated): Do not append.
10876 [crti.S not in sysdirs] (omit-deps): Likewise.
10877 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10878 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10879 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10880 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10881 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10882 Likewise.
10883 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10884 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10885 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10886 * csu/defs.awk: Remove file.
10887 * sysdeps/generic/initfini.c: Likewise.
10888 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10889 variable.
10890 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10891 Likewise.
10892
599af3ca
JM
108932012-02-20 Joseph Myers <joseph@codesourcery.com>
10894
10895 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10896 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10897 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10900 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10901 <bits/epoll.h>.
10902 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10903 (__EPOLL_PACKED): Define to empty if not defined by
10904 <bits/epoll.h>.
10905 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10907 bits/epoll.h.
10908
0e499750
JM
109092012-02-20 Joseph Myers <joseph@codesourcery.com>
10910
10911 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10912 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10914 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10915 <bits/timerfd.h>.
10916 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10918 bits/timerfd.h.
10919
5ad91f6e
JM
109202012-02-20 Joseph Myers <joseph@codesourcery.com>
10921
10922 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10923 in C locale.
10924 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10925 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10926 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10928
06b99b02
AJ
109292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10930
10931 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10932 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10933
7638c0fd
AS
109342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10935
10936 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10937 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10938 defined.
10939 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10940 Likewise.
10941 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10942 entry for 2.16.
10943
92221550
AJ
109442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10945
10946 * math/w_acos.c: Use non-signaling floating-point comparisons.
10947 * math/w_acosf.c: Likewise.
10948 * math/w_acosh.c: Likewise.
10949 * math/w_acoshf.c: Likewise.
10950 * math/w_acoshl.c: Likewise.
10951 * math/w_acosl.c: Likewise.
10952 * math/w_asin.c: Likewise.
10953 * math/w_asinf.c: Likewise.
10954 * math/w_asinl.c: Likewise.
10955 * math/w_atanh.c: Likewise.
10956 * math/w_atanhf.c: Likewise.
10957 * math/w_atanhl.c: Likewise.
10958 * math/w_exp2.c: Likewise.
10959 * math/w_exp2f.c: Likewise.
10960 * math/w_exp2l.c: Likewise.
10961 * math/w_j0.c: Likewise.
10962 * math/w_j0f.c: Likewise.
10963 * math/w_j0l.c: Likewise.
10964 * math/w_j1.c: Likewise.
10965 * math/w_j1f.c: Likewise.
10966 * math/w_j1l.c: Likewise.
10967 * math/w_jn.c: Likewise.
10968 * math/w_jnf.c: Likewise.
10969 * math/w_log.c: Likewise.
10970 * math/w_log10.c: Likewise.
10971 * math/w_log10f.c: Likewise.
10972 * math/w_log10l.c: Likewise.
10973 * math/w_log2.c: Likewise.
10974 * math/w_log2f.c: Likewise.
10975 * math/w_log2l.c: Likewise.
10976 * math/w_logf.c: Likewise.
10977 * math/w_logl.c: Likewise.
10978 * math/w_sqrt.c: Likewise.
10979 * math/w_sqrtf.c: Likewise.
10980 * math/w_sqrtl.c: Likewise.
10981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10982 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10985 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10986
ebaf36eb
JM
109872012-02-19 Joseph Myers <joseph@codesourcery.com>
10988
10989 [BZ #9739]
10990 * manual/string.texi (strnlen): Use correct parameter name in
10991 equivalent expression.
10992
71c254a6
JM
109932012-02-19 Joseph Myers <joseph@codesourcery.com>
10994
10995 [BZ #11174]
10996 * manual/users.texi (seteuid): Consistently use neweuid for
10997 argument name.
10998
16d2c631
JM
109992012-02-19 Joseph Myers <joseph@codesourcery.com>
11000
11001 [BZ #13704]
11002 * manual/nss.texi (Services in the NSS configuration): Correct
11003 list of services in example configuration file.
11004
cd837b09
NB
110052012-02-19 Nick Bowler <nbowler@draconx.ca>
11006
11007 [BZ #11322]
11008 * manual/arith.texi: Remove statements about negative zero
11009 behaving identically to zero.
11010
02c4bbad
JM
110112012-02-18 Joseph Myers <joseph@codesourcery.com>
11012
11013 [BZ #5993]
11014 * manual/install.texi: Do not document upgrading from libc5.
11015
366842e7
JM
110162012-02-18 Joseph Myers <joseph@codesourcery.com>
11017
11018 [BZ #4596]
11019 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11020
dd54084d
DM
110212012-02-18 David S. Miller <davem@davemloft.net>
11022
11023 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11024 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11025 %o7 across the call.
11026 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11027 instead.
11028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11029 SETUP_PIC_REG_LEAF.
11030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11031 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11032 * sysdeps/sparc/crtn.S: Likewise.
11033
2bcc53a3
UD
110342012-02-17 Ulrich Drepper <drepper@gmail.com>
11035
11036 * aout/Makefile: Remove.
11037
09c093b5
RK
110382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11039
11040 [BZ #13058]
11041 * manual/examples/argp-ex1.c (main): Format definition in GNU
11042 style.
11043 * manual/examples/argp-ex2.c (main): Likewise.
11044 * manual/examples/argp-ex3.c (main): Likewise.
11045 * manual/examples/argp-ex4.c (main): Likewise.
11046 * manual/examples/longopt.c (main): Use new-style prototype
11047 definition.
11048 * manual/examples/strncat.c (main): Specify return type and use
11049 (void) for arguments.
11050 * manual/examples/subopt.c (main): Use char **argv argument.
11051
2ee633a2
JM
110522012-02-17 Joseph Myers <joseph@codesourcery.com>
11053
11054 [BZ #5077]
11055 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11056 rounding modes.
11057
0520adde
FB
110582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11059
11060 [BZ #6907]
11061 * manual/string.texi (strchr): Change when strchrnul is
11062 recommended.
11063
3f4081cd
DGM
110642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11065
11066 [BZ #174]
11067 * manual/locale.texi (setlocale): Document LOCPATH.
11068
d1b10e78
JM
110692012-02-17 Joseph Myers <joseph@codesourcery.com>
11070
11071 [BZ #10210]
11072 * manual/process.texi (execle): Move @dots{} before last argument.
11073
79c6869c
PB
110742012-02-17 Paul Bolle <pebolle@tiscali.nl>
11075
11076 [BZ #12047]
11077 * manual/charset.texi (Generic Charset Conversion): Fix typo
11078 (LC_TYPE -> LC_CTYPE).
11079
cc6e48bc
NB
110802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11081
11082 [BZ #5805]
11083 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11084 (scalbnf): Likewise.
11085 (scalbnl): Likewise.
11086 (scalbln): Likewise.
11087 (scalblnf): Likewise.
11088 (scalblnl): Likewise.
11089 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11090 (vwarnx): Likewise.
11091 (verr): Likewise.
11092 (verrx): Likewise.
11093 * manual/filesys.texi (telldir): Use braces around return type.
11094 * manual/llio.texi (mmap): Add space after comma.
11095 (mmap64): Likewise.
11096 * manual/math.texi (jn): Use @var{} on parameter names.
11097 (jnf): Likewise.
11098 (jnl): Likewise.
11099 (yn): Likewise.
11100 (ynf): Likewise.
11101 (ynl): Likewise.
11102 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11103 line.
11104 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11105 "...".
11106 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11107 (sched_get_priority_max): Likewise.
11108 * manual/signal.texi (sigvec): Add space after comma.
11109 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11110 names.
11111 (if_indextoname): Likewise.
11112 (if_freenameindex): Likewise.
11113 (sendto): Use ',' instead of '.' in prototype.
11114 * manual/startup.texi (syscall): Use @dots{} instead of literal
11115 "...".
11116 * manual/stdio.texi (__fpending): Separate initial words of
11117 paragraph from @deftypefun line.
11118 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11119 "...".
11120 (vsyslog): Use @var{} on parameter names.
11121 * manual/terminal.texi (stty): Use @var{} on parameter names.
11122 * manual/users.texi (getutmp): Use @var{} on parameter names.
11123 (getutmpx): Likewise.
11124
5b23062f
JM
111252012-02-17 Joseph Myers <joseph@codesourcery.com>
11126
11127 [BZ #6884]
11128 * manual/stdio.texi (fopen): Fix typos in description of
11129 ",ccs=STRING".
11130
8dee4833
AJ
111312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11132
11133 [BZ #4026]
11134 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11135 get clock_id definition.
11136
9078ce93
TS
111372012-02-17 Thomas Schwinge <thomas@schwinge.name>
11138
11139 [BZ #4822]
11140 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11141 (madvise): Cast every argument to void on its own.
11142
3835c55f
JM
111432012-02-17 Joseph Myers <joseph@codesourcery.com>
11144
11145 [BZ #9902]
11146 * manual/startup.texi (Exit Status): Fix typo.
11147
35c47e37
JM
111482012-02-17 Joseph Myers <joseph@codesourcery.com>
11149
11150 [BZ #10140]
11151 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11152 * manual/examples/argp-ex2.c: Likewise.
11153 * manual/examples/argp-ex3.c: Likewise.
11154
e3b69ca7
RH
111552012-02-16 Richard Henderson <rth@redhat.com>
11156
11157 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11158 * sysdeps/s390/s390-32/initfini.c: Remove.
11159 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11160 * sysdeps/s390/s390-64/initfini.c: Remove.
11161
df83af67
KK
111622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11163
11164 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11165 compiler output for sysdeps/generic/initfini.c.
11166 * sysdeps/sh/elf/initfini.c: Remove file.
11167
f63f3380
DM
111682012-02-16 David S. Miller <davem@davemloft.net>
11169
fb59b3a4
DM
11170 [BZ #11494]
11171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11172
f63f3380
DM
11173 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11174 * sysdeps/sparc/crti.S: New file.
11175 * sysdeps/sparc/crtn.S: New file.
11176 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11177 * sysdeps/sparc/sparc64/Makefile: Likewise.
11178
df6a4a4a
MF
111792012-02-15 Mike Frysinger <vapier@gentoo.org>
11180
6dd8f3dc 11181 [BZ #3335]
df6a4a4a
MF
11182 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11183
1cac7236
RM
111842012-02-15 Roland McGrath <roland@hack.frob.com>
11185
d2c736f8
RM
11186 [BZ #4822]
11187 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11188
1cac7236
RM
11189 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11190 (write, read, close): Likewise.
11191 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11192
8e475601
JM
111932012-02-15 Joseph Myers <joseph@codesourcery.com>
11194
11195 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11196 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11197 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11198 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11199 <bits/signalfd.h>.
11200 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11202 bits/signalfd.h.
11203
ed656b40
MP
112042012-02-14 Marek Polacek <polacek@redhat.com>
11205
11206 * sysdeps/x86_64/crti.S: New file.
11207 * sysdeps/x86_64/crtn.S: New file.
11208 * sysdeps/x86_64/elf/initfini.c: Remove file.
11209
2a979d3a
JM
112102012-02-13 Joseph Myers <joseph@codesourcery.com>
11211
11212 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11213 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11214 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11215 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11216 <bits/inotify.h>.
11217 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11219 bits/inotify.h.
11220
2a418ac3
JM
112212012-02-13 Joseph Myers <joseph@codesourcery.com>
11222
11223 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11224 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11225 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11226 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11227 <bits/eventfd.h>.
11228 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11230 bits/eventfd.h.
11231
fb779be7
TS
112322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11233
e19e83c5
RM
11234 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11235 __feraiseexcept instead of feraiseexcept.
7c35ffed 11236
fb779be7
TS
11237 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11238 nanosleep invocations.
11239 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11240 strings, and add error checking for a nanosleep invocations.
11241
59ba27a6
PE
112422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11243
11244 Replace FSF snail mail address with URLs, as per GNU coding standards.
11245 Most of the snail mail addresses were wrong anyway, and omitting
11246 them makes the source code easier to maintain. Almost all of the
11247 changes are to license notices and to locale LC_IDENTIFICATION
11248 addresses, except for this one:
11249 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11250 not its snail mail address.
11251
57b957eb
RH
112522012-02-09 Richard Henderson <rth@twiddle.net>
11253
af850b1c
RH
11254 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11255 of kernel-features.h.
11256
57b957eb
RH
11257 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11258
6b73181a
MP
112592012-02-08 Marek Polacek <polacek@redhat.com>
11260
11261 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11262 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11263 * sysdeps/gnu/_G_config.h: Likewise.
11264 * sysdeps/generic/_G_config.h: Likewise.
11265
26ecc33a
AS
112662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11267
6c6dbc63
AS
11268 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11269 tests.
11270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11271
e216c012
AS
11272 * sysdeps/powerpc/powerpc32/crti.S: New file.
11273 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11274 * sysdeps/powerpc/powerpc64/crti.S: New file.
11275 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11276
26ecc33a
AS
11277 * Makeconfig (have-initfini): Don't set.
11278 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11279 * configure.in (nopic_initfini): Don't substitute.
11280 * config.h.in (HAVE_INITFINI): Don't #undef.
11281 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11282 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11283
3add8e13
JM
112842012-02-08 Joseph Myers <joseph@codesourcery.com>
11285
11286 Support crti.S and crtn.S provided directly by architectures.
11287 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11288 [crti.S in sysdirs] (omit-deps): Likewise.
11289 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11290 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11291 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11292 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11293 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11294 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11295 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11296 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11297 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11298 compiler output for sysdeps/generic/initfini.c.
11299 * sysdeps/i386/elf/Makefile: Remove file.
11300 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11301
a22f12b4
MP
113022012-02-07 Marek Polacek <polacek@redhat.com>
11303
11304 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11305 * sysdeps/gnu/_G_config.h: Likewise.
11306 * sysdeps/mach/hurd/_G_config.h: Likewise.
11307
148cf100
MP
113082012-02-07 Marek Polacek <polacek@redhat.com>
11309
11310 * math/Makefile (tests): Add tst-CMPLX2.
11311 * math/tst-CMPLX2.c: New file.
11312
cfdc0dd7
AS
113132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11314
84ba42c4
AS
11315 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11316
cfdc0dd7
AS
11317 * math/libm-test.inc (jn_test): Add missing L suffix.
11318
622c86f4
MP
113192012-02-06 Marek Polacek <polacek@redhat.com>
11320
11321 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11322 * sysdeps/i386/fpu/e_powf.S: Likewise.
11323 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11324 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11325 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11326 * sysdeps/i386/fpu/e_pow.S: Likewise.
11327 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11328 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11329 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11330 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11331 * sysdeps/i386/fpu/e_log2.S: Likewise.
11332 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11333 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11334 * sysdeps/i386/fpu/e_powl.S: Likewise.
11335 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11336 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11337 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11338 * sysdeps/i386/fpu/e_logl.S: Likewise.
11339 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11340 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11341 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11342 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11343 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11344 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11345 * sysdeps/i386/fpu/e_log.S: Likewise.
11346 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11347 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11348 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11349 * sysdeps/i386/fpu/e_logf.S: Likewise.
11350 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11351 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11352 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11353 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11354 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11355 * sysdeps/i386/fpu/e_log10.S: Likewise.
11356 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11357 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11358 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11359 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11360 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11361 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11362 * sysdeps/i386/asm-syntax.h: Likewise.
11363 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11365 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11366 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11367 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11368 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11369 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11370 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11371 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11372 * sysdeps/powerpc/sysdep.h: Likewise.
11373 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11374 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11375
d4a54ac6
JM
113762012-02-06 Joseph Myers <joseph@codesourcery.com>
11377
11378 [BZ #411]
11379 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11380
314054ea
JM
113812012-02-06 Joseph Myers <joseph@codesourcery.com>
11382
11383 * sysdeps/i386/sysdep.h: Include <features.h>.
11384 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11385 version.
11386
d8e0ca50
JM
113872012-02-05 Joseph Myers <joseph@codesourcery.com>
11388
11389 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11390 Define.
11391 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11392 LOAD_PIC_REG_STR.
11393
b1da7dd9
JM
113942012-02-03 Joseph Myers <joseph@codesourcery.com>
11395
11396 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11397 (SETUP_PIC_REG): Use GET_PC_THUNK.
11398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11399 macro.
11400
9a1d9254
JM
114012012-02-03 Joseph Myers <joseph@codesourcery.com>
11402
11403 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11404 for non-PIC compilation.
11405 (SETUP_PIC_REG): Add .p2align directive.
11406 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11407 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11408 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11409 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11410 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11411 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11412 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11413 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11414 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11415 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11416 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11417 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11418 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11419 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11420 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11421 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11422 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11423 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11424 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11425 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11426 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11427 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11428 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11429 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11431 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11433 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11434 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11435 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11436 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11437 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11438 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11439 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11440 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11441 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11442 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11443 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11444 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11445 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11446 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11447
65dc3b75
JM
114482012-02-03 Joseph Myers <joseph@codesourcery.com>
11449
11450 * math/tst-CMPLX.c: Include <stdio.h>.
11451
d55bf177
JM
114522012-01-31 Joseph Myers <joseph@codesourcery.com>
11453
11454 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11455 float.
11456 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11457 * sysdeps/sparc/bits/mathdef.h: Likewise.
11458
69db4f8f
MP
114592012-01-31 Marek Polacek <polacek@redhat.com>
11460
11461 * libio/libio.h: Don't define _PARAMS.
11462 * locale/programs/config.h: Don't define PARAMS.
11463 * stdlib/strtol_l.c: Likewise.
11464 (__strtol_l): Remove PARAMS from the prototype.
11465
41b81892
UD
114662012-01-31 Ulrich Drepper <drepper@gmail.com>
11467
3b49edc0
UD
11468 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11469 names. Just use the correct names. Remove unnecessary wrapper
11470 functions.
11471 * malloc/arena.c: Likewise.
11472 * malloc/hooks.c: Likewise.
11473
41b81892
UD
11474 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11475 ARENA_TEST says not to. Simplify test for creation of a new arena.
11476 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11477
27a25b6e
UD
114782012-01-30 Ulrich Drepper <drepper@gmail.com>
11479
11480 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11481 into tail calls.
11482 (update_get_addr): New function.
11483 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11484 GET_ADDR_MODULE parameter.
11485
c8a89e7d
JM
114862012-01-30 Joseph Myers <joseph@codesourcery.com>
11487
11488 * crypt/cert.c: Remove __STDC__ conditionals.
11489 * crypt/crypt-entry.c: Likewise.
11490 * crypt/crypt_util.c: Likewise.
11491 * libio/filedoalloc.c: Likewise.
11492 * libio/fileops.c: Likewise.
11493 * libio/genops.c: Likewise.
11494 * libio/iofclose.c: Likewise.
11495 * libio/iofdopen.c: Likewise.
11496 * libio/iofopen.c: Likewise.
11497 * libio/iofopen64.c: Likewise.
11498 * libio/iogetdelim.c: Likewise.
11499 * libio/iopopen.c: Likewise.
11500 * libio/obprintf.c: Likewise.
11501 * libio/oldfileops.c: Likewise.
11502 * libio/oldiofclose.c: Likewise.
11503 * libio/oldiofdopen.c: Likewise.
11504 * libio/oldiofopen.c: Likewise.
11505 * libio/oldiopopen.c: Likewise.
11506 * libio/wfiledoalloc.c: Likewise.
11507 * libio/wgenops.c: Likewise.
11508 * locale/programs/xmalloc.c: Likewise.
11509 * misc/syslog.c: Likewise.
11510 * stdio-common/xbug.c: Likewise.
11511 * string/memchr.c: Likewise.
11512 * string/memcmp.c: Likewise.
11513 * string/memrchr.c: Likewise.
11514 * string/rawmemchr.c: Likewise.
11515 * sysdeps/posix/getcwd.c: Likewise.
11516 * time/strftime_l.c: Likewise.
11517
3b100462
JM
115182012-01-30 Joseph Myers <joseph@codesourcery.com>
11519
11520 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11521 * config.make.in (config-cflags-sse2avx): Define.
11522 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11523 Fix typo.
11524
607998af
CM
115252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11526
11527 * scripts/config.guess: Update from upstream config git repository.
11528 * scripts/config.sub: Likewise.
11529
3601428f
CM
115302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11531
3ac8b282
CM
11532 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11533 (EM_NUM): Update.
11534 (R_TILEPRO_*, R_TILEGX_*): New macros.
11535
e034841e
CM
11536 * scripts/firstversions.awk: Fix bug in version range handling.
11537
540d7568
CM
11538 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11539
3601428f
CM
11540 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11541
463de862
CM
11542 * include/sys/epoll.h: New file.
11543 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11544 libc_hidden_def.
11545
73139a76
UD
115462012-01-28 Ulrich Drepper <drepper@gmail.com>
11547
96bc5b45
UD
11548 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11549 Avoid unnecessary __WORDSIZE == 64 test.
11550 (fmaxf): Use VEX format if possible.
11551 (fmax): Likewise.
11552 (fminf): Likewise.
11553 (fmin): Likewise.
11554
56f6f6a2
UD
11555 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11556 * math/math_private.h: Remove libc_fegetround* and
11557 libc_fesetround*.
11558 * sysdeps/i386/configure.in: Check for -msse2avx.
11559 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11560 also if SSE2AVX is defined.
11561 Remove libc_fegetround* and libc_fesetround*.
11562 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11563 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11565 of HAS_YMM_USABLE.
11566 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11567 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11568 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11569 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11570 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11571
73139a76
UD
11572 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11573
d73f93a4
AZ
115742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11575
11576 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11577 size is not set.
11578 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11579
6ee65ed6
UD
115802012-01-27 Ulrich Drepper <drepper@gmail.com>
11581
11582 [BZ #13618]
11583 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11584 relocation.
11585 * Makeconfig (libm): Define.
11586 * elf/Makefile: Add rules to build and run tst-relsort1.
11587 * elf/tst-relsort1.c: New file.
11588 * elf/tst-relsort1mod1.c: New file.
11589 * elf/tst-relsort1mod2.c: New file.
11590
8db21882
JM
115912012-01-27 Joseph Myers <joseph@codesourcery.com>
11592
11593 * math/s_ldexp.c: Remove __STDC__ conditionals.
11594 * math/s_ldexpf.c: Likewise.
11595 * math/s_ldexpl.c: Likewise.
11596 * math/s_nextafter.c: Likewise.
11597 * math/s_nexttowardf.c: Likewise.
11598 * math/s_significand.c: Likewise.
11599 * math/s_significandf.c: Likewise.
11600 * math/s_significandl.c: Likewise.
11601 * math/w_jnl.c: Likewise.
11602 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11603 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11604 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11605 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11606 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11607 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11608 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11611 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11618 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11619 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11621 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11622 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11623 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11624 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11626 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11627 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11628 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11629 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11630 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11631 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11634 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11636 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11637 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11638 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11639 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11640 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11641 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11642 * sysdeps/ieee754/k_standard.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11704 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11717 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11718 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11722 * sysdeps/ieee754/s_matherr.c: Likewise.
11723 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11724 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11727
965a54a4
JM
117282012-01-26 Joseph Myers <joseph@codesourcery.com>
11729
11730 * crypt/md5.h: Remove __STDC__ conditionals.
11731 * libio/libioP.h: Likewise.
11732 * locale/programs/config.h: Likewise.
11733 * sysdeps/generic/sysdep.h: Likewise.
11734 * sysdeps/i386/asm-syntax.h: Likewise.
11735 * sysdeps/s390/asm-syntax.h: Likewise.
11736 * sysdeps/unix/sysdep.h: Likewise.
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11739
7071ad79
JM
117402012-01-26 Joseph Myers <joseph@codesourcery.com>
11741
11742 * libio/libio.h: Remove __STDC__ conditionals.
11743 * malloc/obstack.h: Likewise.
11744 * math/complex.h: Likewise.
11745 * math/math.h: Likewise.
11746 * sysdeps/generic/_G_config.h: Likewise.
11747 * sysdeps/gnu/_G_config.h: Likewise.
11748 * sysdeps/mach/hurd/_G_config.h: Likewise.
11749 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11750 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11751 * sysdeps/sparc/bits/mathdef.h: Likewise.
11752
afc5ed09
UD
117532012-01-26 Ulrich Drepper <drepper@gmail.com>
11754
11755 [BZ #13583]
11756 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11757 Clean up HAS_* macros.
afc5ed09 11758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11759 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11760 possible.
11761 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11762 HAS_AVX.
11763 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11764 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11765 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11766 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11767 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11768
bdb6de1d
JM
117692012-01-25 Joseph Myers <joseph@codesourcery.com>
11770
11771 * elf/tst-unique3.cc (gets): Remove declaration.
11772 * elf/tst-unique3lib.cc (gets): Likewise.
11773 * elf/tst-unique3lib2.cc (gets): Likewise.
11774 * elf/tst-unique4.cc (gets): Likewise.
11775
b15549e6
UD
117762012-01-24 Ulrich Drepper <drepper@gmail.com>
11777
11778 * include/stdio.h: Add C++ protection. Add gets declarations and
11779 definitions.
11780 * debug/tst-chk1.c: Don't declare gets here.
11781 * stdio-common/tst-gets.c: Likewise.
11782
a037381f
JM
117832012-01-24 Joseph Myers <joseph@codesourcery.com>
11784
11785 * posix/glob: Remove directory.
11786
f1d4aa75
JM
117872012-01-24 Joseph Myers <joseph@codesourcery.com>
11788
11789 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11790
81c0c964
PT
117912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11792
11793 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11794 of the non-standard EPFNOSUPPORT.
11795
0ea698ae
ST
117962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11797
11798 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11799 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11800 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11801
d220b117
UD
118022012-01-21 Ulrich Drepper <drepper@gmail.com>
11803
11804 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11805
3e1aa84e
UD
118062012-01-20 Ulrich Drepper <drepper@gmail.com>
11807
11808 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11809 transient errors.
11810 * nscd/grpcache.c (cache_addgr): Likewise.
11811 * nscd/hstcache.c (cache_addhst): Likewise.
11812 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11813 * nscd/pwdcache.c (cache_addpw): Likewise.
11814 * nscd/servicescache.c (cache_addserv): Likewise.
11815
400aa020
UD
118162012-01-16 Ulrich Drepper <drepper@gmail.com>
11817
d77e7869
UD
11818 * malloc/malloc.c: Various cleanups.
11819 * malloc/hooks.c: Likewise.
11820
400aa020
UD
11821 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11822 * stdlib/bug-fmtmsg1.c: New file.
11823
11824 * stdlib/fmtmsg.c (init): Add missing unlock.
11825 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11826
e0a309cf
MP
118272012-01-12 Marek Polacek <polacek@redhat.com>
11828
11829 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11830 and _GNU_SOURCE.
11831
929d11c7
WS
118322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11833
11834 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11835 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11836 macro to ensure uniqueness of label name.
11837 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11838 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11839
41d0e869
UD
118402012-01-11 Ulrich Drepper <drepper@gmail.com>
11841
0cc5ed3b
UD
11842 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11843
41d0e869
UD
11844 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11845 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11846 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11848
a47a831a
UD
118492012-01-10 Ulrich Drepper <drepper@gmail.com>
11850
daa891c0
UD
11851 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11852
11853 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11854 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11855 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11856
e58ef0f2
UD
11857 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11858
a47a831a 11859 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11860 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11861 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11863
11864 * math/bits/math-finite.h: Add ldexp support.
11865
a0bfc9c7
MP
118662012-01-10 Marek Polacek <polacek@redhat.com>
11867
11868 * locale/programs/localedef.h (show_archive_content): Add noreturn
11869 attribute.
11870
d6e97a1d
UD
118712012-01-09 Ulrich Drepper <drepper@gmail.com>
11872
11873 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11874
d5835c26
UD
118752012-01-08 Ulrich Drepper <drepper@gmail.com>
11876
e5f484c6
UD
11877 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11878
d5835c26
UD
11879 * io/Makefile (headers): Add bits/poll2.h.
11880
d1f741e9
WS
118812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11882
11883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11884 typo #include statement.
11885
ec09c1c4
UD
118862012-01-08 Ulrich Drepper <drepper@gmail.com>
11887
11888 * include/sys/cdefs.h: Define __attribute_alloc_size.
11889 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11890 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11891 * elf/pldd.c: Likewise.
11892 * iconv/iconv_charmap.c: Likewise.
11893 * iconv/iconvconfig.c: Likewise.
11894 * iconv/strtab.c: Likewise.
11895 * locale/programs/locale.c: Likewise.
11896 * locale/programs/localedef.h: Likewise.
11897 * locale/programs/simple-hash.c: Likewise.
11898 * nscd/nscd.h: Likewise.
11899 * nss/makedb.c: Likewise.
11900 * sysdeps/generic/ldconfig.h: Likewise.
11901 * locale/programs/localedef.c: Remove xmalloc prototype.
11902 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11903
20b38e03
PP
119042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11905
11906 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11907 appropriate.
11908
a0da5fe1
UD
119092012-01-08 Ulrich Drepper <drepper@gmail.com>
11910
1d5a644a 11911 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11912 * math/tst-CMPLX.c: New file.
1d5a644a 11913
8784a6db
UD
11914 * math/complex.h (CMPLXL): Fix typo.
11915
d9a216c0
UD
11916 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11917 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11918 GLIBC_2.16.
11919 * debug/tst-chk1.c: Add poll and ppoll tests.
11920 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11921 * include/sys/poll.h: Add hidden proto for ppoll.
11922 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11923 * sysdeps/mach/hurd/ppoll.c: Likewise.
11924 * io/ppoll.c: Likewise.
11925 * debug/poll_chk.c: New file.
11926 * debug/ppoll_chk.c: New file.
11927 * include/bits/poll2.h: New file.
11928 * io/bits/poll2.h: New file.
11929
ac097f5c
UD
11930 [BZ #1350]
11931 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11932
2119dcfa
UD
11933 * configure.in: static is always set to yes. Remove.
11934 * config.make.in: Don't set build-static.
11935 * Makeconfig: Remove use of build-static.
11936 * dlfcn/Makefile: Likewise.
11937 * elf/Makefile: Likewise.
11938 * math/Makefile: Likewise.
11939 * misc/Makefile: Likewise.
11940 * nptl/Makefile: Likewise.
11941 * sysdeps/mach/hurd/Makefile: Likewise.
11942
121766a9
UD
11943 * configure.in: PWD_P is not used anymore.
11944 * config.make.in: Remove PWD_P entry.
11945
51a1d39c 11946 * configure.in: Remove last remnants of RANLIB.
8720d066 11947 No need to check for signed size_t anymore.
215f4bdc
UD
11948 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11949 and IA-64.
3857022a 11950 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11951 * aclocal.m4: Likewise.
11952
d3ed7225
UD
11953 * wcsmbs/mbrtoc16.c: Implement using towc function.
11954 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11955 * wcsmbs/wcsmbsload.c: Likewise.
11956 * iconv/gconv_simple.c: Likewise.
11957 * iconv/gconv_int.h: Likewise.
11958 * iconv/gconv_builtin.h: Likewise.
11959 * iconv/iconv_prog.c: Remove CHAR16 handling.
11960
11961 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11962
11963 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11964
a0da5fe1
UD
11965 * configure.in: Remove --with-elf and --enable-bounded options.
11966 Dont set base_machine for ia64. More non-ELF conditions removed.
11967 Remove testing and setting of leading underscore information.
11968 * config.make.in (build-bounded): Set to no.
11969 * config.h.in: Remove NO_UNDERSCORES entry.
11970 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11971 them.
11972 * csu/start.c: Remove !NO_UNDERSCORE code.
11973 * locale/localeinfo.h: Likewise.
11974 * sysdeps/generic/machine-gmon.h: Likewise.
11975 * sysdeps/generic/sysdep.h: Likewise.
11976 * sysdeps/i386/sysdep.h: Likewise.
11977 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11978 * sysdeps/mach/sysdep.h: Likewise.
11979 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11980 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11981 * sysdeps/sh/sysdep.h: Likewise.
11982 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11983 * sysdeps/unix/i386/sysdep.S: Likewise.
11984 * sysdeps/unix/sparc/start.c: Likewise.
11985 * sysdeps/unix/sparc/sysdep.S: Likewise.
11986 * sysdeps/unix/sparc/sysdep.h: Likewise.
11987 * sysdeps/unix/start.c: Likewise.
11988 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11989 * sysdeps/x86_64/sysdep.h: Likewise.
11990
df78418a
UD
119912012-01-07 Ulrich Drepper <drepper@gmail.com>
11992
a784e502
UD
11993 [BZ #13553]
11994 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11995 for non-gcc.
11996 * argp/argp-fmtstream.h: Use const instead __const.
11997 * argp/argp.h: Likewise.
11998 * assert/assert.h: Likewise.
11999 * bits/fenv.h: Likewise.
12000 * bits/sched.h: Likewise.
12001 * bits/sigset.h: Likewise.
12002 * bits/sigthread.h: Likewise.
12003 * catgets/nl_types.h: Likewise.
12004 * conform/data/pthread.h-data: Likewise.
12005 * crypt/crypt-private.h: Likewise.
12006 * crypt/crypt.h: Likewise.
12007 * crypt/crypt_util.c: Likewise.
12008 * ctype/ctype.h: Likewise.
12009 * debug/execinfo.h: Likewise.
12010 * debug/mbsnrtowcs_chk.c: Likewise.
12011 * debug/mbsrtowcs_chk.c: Likewise.
12012 * debug/wcsnrtombs_chk.c: Likewise.
12013 * debug/wcsrtombs_chk.c: Likewise.
12014 * debug/wcstombs_chk.c: Likewise.
12015 * dirent/dirent.h: Likewise.
12016 * dlfcn/dlfcn.h: Likewise.
12017 * elf/neededtest4.c: Likewise.
12018 * grp/grp.h: Likewise.
12019 * gshadow/gshadow.h: Likewise.
12020 * iconv/gconv.h: Likewise.
12021 * iconv/gconv_int.h: Likewise.
12022 * iconv/gconv_simple.c: Likewise.
12023 * iconv/iconv.h: Likewise.
12024 * iconv/loop.c: Likewise.
12025 * iconv/skeleton.c: Likewise.
12026 * include/aio.h: Likewise.
12027 * include/aliases.h: Likewise.
12028 * include/argz.h: Likewise.
12029 * include/arpa/inet.h: Likewise.
12030 * include/assert.h: Likewise.
12031 * include/dirent.h: Likewise.
12032 * include/dlfcn.h: Likewise.
12033 * include/execinfo.h: Likewise.
12034 * include/fcntl.h: Likewise.
12035 * include/fenv.h: Likewise.
12036 * include/glob.h: Likewise.
12037 * include/grp.h: Likewise.
12038 * include/libintl.h: Likewise.
12039 * include/mntent.h: Likewise.
12040 * include/netdb.h: Likewise.
12041 * include/pwd.h: Likewise.
12042 * include/rpc/netdb.h: Likewise.
12043 * include/sched.h: Likewise.
12044 * include/search.h: Likewise.
12045 * include/shadow.h: Likewise.
12046 * include/signal.h: Likewise.
12047 * include/stdio.h: Likewise.
12048 * include/stdlib.h: Likewise.
12049 * include/string.h: Likewise.
12050 * include/sys/socket.h: Likewise.
12051 * include/sys/stat.h: Likewise.
12052 * include/sys/statfs.h: Likewise.
12053 * include/sys/statvfs.h: Likewise.
12054 * include/sys/syslog.h: Likewise.
12055 * include/sys/time.h: Likewise.
12056 * include/sys/uio.h: Likewise.
12057 * include/time.h: Likewise.
12058 * include/unistd.h: Likewise.
12059 * include/utmp.h: Likewise.
12060 * include/wchar.h: Likewise.
12061 * include/wctype.h: Likewise.
12062 * inet/aliases.h: Likewise.
12063 * inet/arpa/inet.h: Likewise.
12064 * inet/netinet/ether.h: Likewise.
12065 * inet/netinet/in.h: Likewise.
12066 * intl/libintl.h: Likewise.
12067 * io/bits/fcntl2.h: Likewise.
12068 * io/fcntl.h: Likewise.
12069 * io/ftw.h: Likewise.
12070 * io/sys/poll.h: Likewise.
12071 * io/sys/stat.h: Likewise.
12072 * io/sys/statfs.h: Likewise.
12073 * io/sys/statvfs.h: Likewise.
12074 * io/utime.h: Likewise.
12075 * libio/bits/stdio.h: Likewise.
12076 * libio/bits/stdio2.h: Likewise.
12077 * libio/libio.h: Likewise.
12078 * libio/libioP.h: Likewise.
12079 * libio/stdio.h: Likewise.
12080 * locale/lc-ctype.c: Likewise.
12081 * locale/locale.h: Likewise.
12082 * login/utmp.h: Likewise.
12083 * malloc/arena.c: Likewise.
12084 * malloc/malloc.c: Likewise.
12085 * malloc/malloc.h: Likewise.
12086 * malloc/mcheck.c: Likewise.
12087 * malloc/mtrace.c: Likewise.
12088 * math/bits/mathcalls.h: Likewise.
12089 * math/fenv.h: Likewise.
12090 * math/math_private.h: Likewise.
12091 * misc/bits/error.h: Likewise.
12092 * misc/bits/syslog.h: Likewise.
12093 * misc/err.h: Likewise.
12094 * misc/error.h: Likewise.
12095 * misc/fstab.h: Likewise.
12096 * misc/mntent.h: Likewise.
12097 * misc/regexp.h: Likewise.
12098 * misc/search.h: Likewise.
12099 * misc/sgtty.h: Likewise.
12100 * misc/sys/mman.h: Likewise.
12101 * misc/sys/syslog.h: Likewise.
12102 * misc/sys/uio.h: Likewise.
12103 * misc/sys/xattr.h: Likewise.
12104 * misc/ttyent.h: Likewise.
12105 * nis/rpcsvc/ypclnt.h: Likewise.
12106 * nss/nss.h: Likewise.
12107 * posix/bits/unistd.h: Likewise.
12108 * posix/fnmatch.h: Likewise.
12109 * posix/glob.h: Likewise.
12110 * posix/sched.h: Likewise.
12111 * posix/spawn.h: Likewise.
12112 * posix/sys/wait.h: Likewise.
12113 * posix/unistd.h: Likewise.
12114 * posix/wordexp.h: Likewise.
12115 * pwd/pwd.h: Likewise.
12116 * resolv/netdb.h: Likewise.
12117 * resource/sys/resource.h: Likewise.
12118 * rt/aio.h: Likewise.
12119 * rt/bits/mqueue2.h: Likewise.
12120 * rt/mqueue.h: Likewise.
12121 * shadow/shadow.h: Likewise.
12122 * signal/signal.h: Likewise.
12123 * socket/send.c: Likewise.
12124 * socket/sendto.c: Likewise.
12125 * socket/sys/socket.h: Likewise.
12126 * stdio-common/printf.h: Likewise.
12127 * stdlib/bits/stdlib.h: Likewise.
12128 * stdlib/fmtmsg.h: Likewise.
12129 * stdlib/monetary.h: Likewise.
12130 * stdlib/stdlib.h: Likewise.
12131 * stdlib/ucontext.h: Likewise.
12132 * streams/stropts.h: Likewise.
12133 * string/argz.h: Likewise.
12134 * string/bits/string2.h: Likewise.
12135 * string/string.h: Likewise.
12136 * string/strings.h: Likewise.
12137 * sunrpc/rpc/auth.h: Likewise.
12138 * sunrpc/rpc/auth_des.h: Likewise.
12139 * sunrpc/rpc/clnt.h: Likewise.
12140 * sunrpc/rpc/netdb.h: Likewise.
12141 * sunrpc/rpc/pmap_clnt.h: Likewise.
12142 * sunrpc/rpc/xdr.h: Likewise.
12143 * sysdeps/generic/inttypes.h: Likewise.
12144 * sysdeps/generic/net/if.h: Likewise.
12145 * sysdeps/generic/sys/swap.h: Likewise.
12146 * sysdeps/gnu/net/if.h: Likewise.
12147 * sysdeps/gnu/utmpx.h: Likewise.
12148 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12149 * sysdeps/i386/i486/bits/string.h: Likewise.
12150 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12151 * sysdeps/s390/bits/string.h: Likewise.
12152 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12153 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12154 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12155 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12156 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12157 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12158 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12159 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12160 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12161 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12162 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12163 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12164 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12165 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12166 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12167 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12168 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12170 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12173 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12174 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12175 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12176 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12177 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12178 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12179 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12180 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12181 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12182 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12183 * sysvipc/sys/ipc.h: Likewise.
12184 * sysvipc/sys/msg.h: Likewise.
12185 * sysvipc/sys/sem.h: Likewise.
12186 * sysvipc/sys/shm.h: Likewise.
12187 * termios/termios.h: Likewise.
12188 * time/sys/time.h: Likewise.
12189 * time/time.h: Likewise.
12190 * wcsmbs/bits/wchar2.h: Likewise.
12191 * wcsmbs/uchar.h: Likewise.
12192 * wcsmbs/wchar.h: Likewise.
12193 * wctype/wctype.h: Likewise.
12194
0269750c
UD
12195 [BZ #13551]
12196 * Makeconfig: Remove all but ELF support including AIX support.
12197 * Makerules: Likewise.
12198 * config.h.in: Likewise.
12199 * config.make.in: Likewise.
12200 * configure: Likewise.
12201 * configure.in: Likewise.
12202 * csu/Makefile: Likewise.
12203 * csu/version.c: Likewise.
12204 * debug/Makefile: Likewise.
12205 * dlfcn/Makefile: Likewise.
12206 * elf/Makefile: Likewise.
12207 * extra-lib.mk: Likewise.
12208 * iconv/Makefile: Likewise.
12209 * include/libc-symbols.h: Likewise.
12210 * include/shlib-compat.h: Likewise.
12211 * resolv/Makefile: Likewise.
12212 * resolv/res_libc.c: Likewise.
12213 * rt/Makefile: Likewise.
12214 * sysdeps/i386/asm-syntax.h: Likewise.
12215 * sysdeps/i386/sysdep.h: Likewise.
12216 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12217 * sysdeps/mach/sysdep.h: Likewise.
12218 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12219 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12220 * sysdeps/s390/asm-syntax.h: Likewise.
12221 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12222 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12223 * sysdeps/sh/sysdep.h: Likewise.
12224 * sysdeps/unix/sparc/sysdep.h: Likewise.
12225 * sysdeps/wordsize-32/divdi3.c: Likewise.
12226 * sysdeps/x86_64/sysdep.h: Likewise.
12227
00bbd29b
UD
12228 * argp/Versions: Remove _argp_unlock_xxx.
12229
12230 [BZ #13559]
12231 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12232 * abilist/libBrokenLocale.abilist: Likewise.
12233 * abilist/libanl.abilist: Likewise.
12234 * abilist/libc.abilist: Likewise.
12235 * abilist/libcrypt.abilist: Likewise.
12236 * abilist/libdl.abilist: Likewise.
12237 * abilist/libm.abilist: Likewise.
12238 * abilist/libnsl.abilist: Likewise.
12239 * abilist/libpthread.abilist: Likewise.
12240 * abilist/libresolv.abilist: Likewise.
12241 * abilist/librt.abilist: Likewise.
12242 * abilist/libthread_db.abilist: Likewise.
12243 * abilist/libutil.abilist: Likewise.
12244 * abilist/libnss_db.abilist: New file.
12245
12246 * scripts/abilist.awk: Add support for indirect functions.
12247
a2693a0e
UD
12248 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12249
3f05895f
UD
12250 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12251
ecb6fb48
UD
12252 * shlib-versions: Remove entries for ports architectures.
12253
664f8cb9
UD
12254 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12255 files in ports.
12256 * elf/stackguard-macros.h: Remove support for IA-64.
12257 * elf/tst-auditmod1.c: Likewise.
12258 * sysdeps/generic/ldsodefs.h: Likewise.
12259
7ae81d88
UD
12260 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12261 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12262 configure files.
12263
bdeba135
UD
12264 [BZ #13552]
12265 * configure.in: Remove --enable-omitfp support.
12266 * FAQ.in: Adjust.
12267 * config.make.in: Likewise.
12268 * Makeconfig: Likewise.
12269 * manual/install.texi: Likewise.
12270
d75a0a62
UD
12271 In case anyone cares, the IA-64 architecture could move to ports.
12272 * sysdeps/ia64/*: Removed.
12273 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12274 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12275
dcc9756b
UD
12276 [BZ #13555]
12277 * configure.in: Remove entries for unsupported architectures.
12278
d3761ebc 12279 [BZ #13533]
9954432e
UD
12280 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12281 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12282 routines.
12283 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12284 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12285 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12286 fall back to using wcrtomb.
12287 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12288 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12289 renaming.
12290 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12291 * wcsmbs/tst-c16c32-1.c: New file.
12292
12293 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12294 local variable.
12295
c3a87236
UD
12296 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12297
28926a1b
UD
12298 * elf/tst-unique3.cc: Add explicit declaration of gets.
12299 * elf/tst-unique3lib.cc: Likewise.
12300 * elf/tst-unique3lib2.cc: Likewise.
12301 * elf/tst-unique4.cc: Likewise.
12302
df78418a
UD
12303 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12304
8ecd6b2a
JM
123052012-01-06 Joseph Myers <joseph@codesourcery.com>
12306
12307 [BZ #13566]
12308 * assert/assert.h (static_assert): Don't define for C++.
12309 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12310 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12311
9f115170
UD
123122012-01-03 Ulrich Drepper <drepper@gmail.com>
12313
5e0d0300
UD
12314 * iconv/loop.c (single loop): Fix assertion in storing of
12315 remaining bytes.
12316
9f115170
UD
12317 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12318
81fb02b0
UD
123192012-01-01 Ulrich Drepper <drepper@gmail.com>
12320
12321 * posix/getconf.c: Update copyright year.
12322 * nss/getent.c: Likewise.
a316c1f6 12323 * nss/makedb.c: Likewise.
81fb02b0
UD
12324 * iconv/iconvconfig.c: Likewise.
12325 * iconv/iconv_prog.c: Likewise.
12326 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12327 * elf/pldd.c: Likewise.
12328 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12329 * catgets/gencat.c: Likewise.
12330 * csu/version.c: Likewise.
12331 * elf/ldd.bash.in: Likewise.
12332 * elf/sprof.c (print_version): Likewise.
12333 * locale/programs/locale.c: Likewise.
12334 * locale/programs/localedef.c: Likewise.
a316c1f6 12335 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12336 * nscd/nscd.c (print_version): Likewise.
12337 * debug/xtrace.sh: Likewise.
12338 * malloc/memusage.sh: Likewise.
12339 * malloc/mtrace.pl: Likewise.
12340 * debug/catchsegv.sh: Likewise.
12341
2ba92745
JJ
123422011-12-30 Jakub Jelinek <jakub@redhat.com>
12343
12344 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12345 pure attribute.
12346
dadebdae
UD
123472011-12-24 Ulrich Drepper <drepper@gmail.com>
12348
d3761ebc 12349 [BZ #13533]
db6af3eb
UD
12350 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12351 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12352 transformations.
12353 * iconv/gconv_int.h: Likewise.
12354 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12355 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12356 from libc for GLIBC_2.16.
12357 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12358 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12359 * wcsmbs/uchar.h: Really define mbstate_t.
12360 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12361 * wcsmbs/c16rtomb.c: New file.
12362 * wcsmbs/mbrtoc16.c: New file.
12363 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12364 for C/POSIX locale.
12365 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12366 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12367
dadebdae
UD
12368 * wcsmbs/wchar.h: Add missing __restrict.
12369
67371b56
UD
123702011-12-23 Ulrich Drepper <drepper@gmail.com>
12371
74033a25
UD
12372 [BZ #13532]
12373 * time/Makefile (routines): Add timespec_get.
12374 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12375 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12376 timespec for ISO C11.
12377 * time/timespec_get.c: New file.
12378 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12379 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12380
380d7e87
UD
12381 [BZ #13531]
12382 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12383 * stdlib/stdlib.h: Declare aligned_alloc.
12384 * Versions.def: Add GLIBC_2.16 for libc.
12385 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12386
4e9e7a35
UD
12387 [BZ 13527]
12388 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12389 ISO C11.
12390
380d7e87 12391 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12392 code.
12393
03a71829
UD
12394 [BZ #13528]
12395 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12396
839e283e
UD
12397 [BZ #13529]
12398 * assert/assert.h (static_assert): Define.
12399
ce5294e2 12400 * version.h: Update for 2.16 development version.
90fa7312 12401
8d44e150 12402 [BZ #13526]
d7809905
UD
12403 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12404 _ISOC11_SOURCE.
12405
c0da14cd
UD
12406 * version.h (RELEASE): Bump for 2.15 release.
12407 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12408
530a3249
MP
12409 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12410 Patch by Marek Polacek <mpolacek@redhat.com>.
12411
67371b56
UD
12412 * bits/byteswap.h: Protect long long constants with __extension__.
12413 * sysdeps/i386/bits/byteswap.h: Likewise.
12414 * sysdeps/ia64/bits/byteswap.h: Likewise.
12415 * sysdeps/s390/bits/byteswap.h: Likewise.
12416 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12417
15db4de1
LD
124182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12419
12420 [BZ #13540]
bbe315ea
LD
12421 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12422 destination buffer.
15db4de1
LD
12423 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12424
2b2596b1
MP
124252011-12-23 Marek Polacek <polacek@redhat.com>
12426
12427 * elf/dl-addr.c (determine_info): Add inline keyword.
12428 * elf/tst-auditmod4b.c (check_avx): Likewise.
12429 * elf/tst-auditmod6b.c (check_avx): Likewise.
12430 * elf/tst-auditmod6c.c (check_avx): Likewise.
12431 * elf/tst-auditmod7b.c (check_avx): Likewise.
12432
70c6c246
UD
124332011-12-23 Ulrich Drepper <drepper@gmail.com>
12434
12435 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12436 !__SSE_MATH__.
12437
c044cf14
LD
124382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12439
15db4de1 12440 [BZ #13540]
c044cf14
LD
12441 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12442 processing for last bytes.
12443
6b13d9d9
BH
124442011-08-06 Bruno Haible <bruno@clisp.org>
12445
d455f537
BH
12446 [BZ #13061]
12447 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12448 U+0385, not to U+1FEE.
12449
6b13d9d9
BH
12450 [BZ #13062]
12451 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12452 entry for U+00A5 U+0301.
12453
db910efd
UD
124542011-12-22 Ulrich Drepper <drepper@gmail.com>
12455
27deeafc
UD
12456 [BZ #13166]
12457 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12458 buffer for the output is too small.
12459
aed9d171
UD
12460 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12461 optimization.
12462
db910efd
UD
12463 [BZ #13185]
12464 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12465 SSE flags if possible.
12466
2bd779ae
LD
124672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12468
e7f9dac3 12469 [BZ #13540]
2bd779ae
LD
12470 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12471 processing for last bytes.
12472
154bfc16
JM
124732011-12-22 Joseph Myers <joseph@codesourcery.com>
12474
12475 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12476 (syscall-list-default-options, syscall-list-default-condition)
12477 (syscall-list-includes): Define.
12478 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12479 list of ABIs and options and #if conditions for each ABI. Do not
12480 handle common syscalls between ABIs specially.
12481 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12482 Remove.
12483 (syscall-list-variants, syscall-list-32bit-options)
12484 (syscall-list-32bit-condition, syscall-list-64bit-options)
12485 (syscall-list-64bit-condition): Define.
12486 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12487 (syscall-list-variants, syscall-list-32bit-options)
12488 (syscall-list-32bit-condition, syscall-list-64bit-options)
12489 (syscall-list-64bit-condition): Define.
12490 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12491 Remove.
12492 (syscall-list-variants, syscall-list-32bit-options)
12493 (syscall-list-32bit-condition, syscall-list-64bit-options)
12494 (syscall-list-64bit-condition): Define.
12495 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12496 Remove.
12497 (syscall-list-variants, syscall-list-32bit-options)
12498 (syscall-list-32bit-condition, syscall-list-64bit-options)
12499 (syscall-list-64bit-condition): Define.
12500
21eaf3a5
UD
125012011-12-22 Ulrich Drepper <drepper@gmail.com>
12502
16c6f992
UD
12503 * locale/iso-639.def: Add brx entry.
12504
41043168
UD
12505 [BZ #13328]
12506 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12507 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12508
21eaf3a5
UD
12509 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12510 __feraiseexcept_renamed.
12511
e3a851a2
UD
125122011-12-21 Ulrich Drepper <drepper@gmail.com>
12513
4920765e
UD
12514 [BZ #13538]
12515 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12516 EPOLLET with unsigned values.
12517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12518 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12519
e3a851a2
UD
12520 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12521 to large cancellation.
12522 * math/s_cacoshf.c: Likewise.
12523 * math/s_cacoshl.c: Likewise.
12524
b27e24b8
RK
125252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12526
12527 [BZ #13305]
aebefeee 12528 [BZ #12786]
b27e24b8
RK
12529 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12530 * math/s_cacoshf.c: Likewise.
12531 * math/s_cacoshl.c: Likewise.
12532
ee190f67
UD
125332011-12-21 Ulrich Drepper <drepper@gmail.com>
12534
12535 [BZ #13439]
12536 * iconv/gconv.h: Define __GCONV_SWAP.
12537 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12538 * iconvdata/utf-16.c: Likewise.
12539 * iconvdata/utf-32.c: Likewise.
12540
707f25df
AS
125412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12542
12543 [BZ #13524]
12544 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12545 numerator after shifting it by one limb.
12546
d2daaa1e
RÁE
125472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12548
12549 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12550 under [__USE_EXTERN_INLINES].
12551
a4647e72
UD
125522011-12-17 Ulrich Drepper <drepper@gmail.com>
12553
12554 [BZ #13446]
12555 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12556
f0b264f1
AZ
125572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12558
12559 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12560 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12561 optimized code.
12562 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12563 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12564 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12565 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12566 for strncasecmp/strncasecmp_l compilation.
12567 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12568 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12569
8ef4f244
MP
125702011-12-08 Marek Polacek <mpolacek@redhat.com>
12571
12572 [BZ #13484]
12573 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12574 of __asm__.
12575
97ac2654
UD
125762011-12-17 Ulrich Drepper <drepper@gmail.com>
12577
12578 [BZ #13506]
12579 * time/tzfile.c (__tzfile_read): Check values from file header.
12580
91d2a845
WS
125812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12582
12583 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12584 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12585 * powerpc/powerpc32/dl-start.S: Likewise.
12586 * powerpc/powerpc32/elf/start.S: Likewise.
12587 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12588 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12589 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12590 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12591 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12592 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12593 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12594 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12595 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12596 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12597 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12598 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12599 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12600 * powerpc/powerpc32/memset.S: Likewise.
12601 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12602 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12603 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12604 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12605 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12606 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12607 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12608 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12609 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12610 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12611 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12612 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12613 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12614
a1267ba1
AZ
126152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12616
12617 * math/libm-test.inc: Added more nearbyint tests.
12618 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12620 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12621 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12622
ad8ac1bd
RL
126232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12624
12625 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12626 FD_CLOEXEC.
12627
1d3e4b61
UD
126282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12629
12630 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12631 Add wcscpy-ssse3 wcscpy-c.
12632 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12633 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12634 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12635 * sysdeps/x86_64/wcschr.S: New file.
12636 * sysdeps/x86_64/wcsrchr.S: New file.
12637 * string/test-strcmp.c: Remove checking of wcscmp function for
12638 wrong alignments.
12639 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12640 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12641 wcsrchr-sse2 wcsrchr-c.
12642 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12643 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12644 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12645 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12646 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12647 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12648 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12649 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12650 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12651 * wcsmbc/wcschr.c (WCSCHR): New macro.
12652
5b330a2d
UD
126532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12654
12655 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12656 * wcsmbs/test-wcsrchr.c: New file.
12657 * string/test-strrchr.c: Add wcsrchr support.
12658 (WIDE): New macro.
12659 * wcsmbs/test-wcscpy.c: New file.
12660 * string/test-strcpy.c: Add wcscpy support.
12661 (WIDE): New macro.
26428b7c 12662
f039c043
UD
126632011-12-10 Ulrich Drepper <drepper@gmail.com>
12664
12665 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12666 the inner loop.
12667
850fb039
AS
126682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12669
12670 [BZ #13472]
12671 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12672
4efbd5cb
UD
126732011-12-04 Ulrich Drepper <drepper@gmail.com>
12674
52ff5dd0 12675 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12676 Minor optimizations.
52ff5dd0 12677
4efbd5cb
UD
12678 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12679 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12680 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12681
8a426e12
UD
126822011-12-03 Ulrich Drepper <drepper@gmail.com>
12683
aff2453d
UD
12684 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12685 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12686 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12687 for gcc to avoid warnings.
12688 * inet/Makefile (tests): Add tst-checks.
12689 * inet/tst-checks.c: New file.
12690
12691 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12692 warning.
12693
12694 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12695 __wmemcmp_sse2.
12696
12697 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12698 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12699
8a426e12
UD
12700 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12701
9bea3473
UD
127022011-12-02 Ulrich Drepper <drepper@gmail.com>
12703
3a965496
UD
12704 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12705 problem.
12706
9bea3473
UD
12707 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12708
f101631b
UD
127092011-11-29 Joseph Myers <joseph@codesourcery.com>
12710
12711 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12712 conditional on GCC version.
12713 (__arch_compare_and_exchange_val_8_acq)
12714 (__arch_compare_and_exchange_val_16_acq)
12715 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12716 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12717 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12718
a98275aa
UD
127192011-12-02 Joseph Myers <joseph@codesourcery.com>
12720
12721 * sysdeps/sh/backtrace.c: New file.
12722
d4cc29a2
AS
127232011-12-02 Andreas Schwab <schwab@redhat.com>
12724
12725 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12726 parenthesis.
12727
6257af2d
AS
127282011-12-01 Andreas Schwab <schwab@redhat.com>
12729
12730 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12731 falling back to utime.
12732
b5f44c1a
AS
127332011-11-30 Andreas Schwab <schwab@redhat.com>
12734
12735 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12736 expectations for float.
12737
f3a6cc0a
AS
127382011-11-29 Andreas Schwab <schwab@redhat.com>
12739
12740 * locale/weight.h (findidx): Add parameter len.
12741 * locale/weightwc.h (findidx): Likewise.
12742 * posix/fnmatch_loop.c (FCT): Adjust caller.
12743 * posix/regcomp.c (build_equiv_class): Likewise.
12744 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12745 * posix/regexec.c (check_node_accept_bytes): Likewise.
12746 * string/strcoll_l.c (STRCOLL): Likewise.
12747 * string/strxfrm_l.c (STRXFRM): Likewise.
12748
9d65ea3a
UD
127492011-11-17 Ulrich Drepper <drepper@gmail.com>
12750
12751 * Makefile.in: Remove CVSOPT handling.
12752 * configure.in: Remove use of AC_REVISION.
12753 * iconvdata/Makefile (distribute): No need to filter out CVS.
12754 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12755 handling.
12756
5583a086
AS
127572011-11-16 Andreas Schwab <schwab@redhat.com>
12758
12759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12760 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12761 [USE_AS_STRNCASECMP_L]: Likewise.
12762 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12763 NO_TLS_DIRECT_SEG_REFS.
12764 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12765 Fix argument offsets for non-PIC.
12766 [USE_AS_STRNCASECMP_L]: Likewise.
12767 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12768 NO_TLS_DIRECT_SEG_REFS.
12769
d62a8200
UD
127702011-11-15 Ulrich Drepper <drepper@gmail.com>
12771
9d65ea3a 12772 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12773 O_CLOEXEC.
12774 * locale/loadlocale.c (_nl_load_locale): Likewise.
12775
09f93bd3
AS
127762011-11-15 Andreas Schwab <schwab@redhat.com>
12777
446514f9
AS
12778 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12779 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12780 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12781 (SYSCALL_GETTIME): Set errno on error.
12782
09f93bd3
AS
12783 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12784 count references to noai6ai_cached.
12785
312be3f9
UD
127862011-11-15 Ulrich Drepper <drepper@gmail.com>
12787
12788 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12789
12790 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12791 FD_CLOEXEC for /proc/self/maps.
12792
12793 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12794 FD_CLOEXEC for /proc/meminfo.
12795
12796 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12797 gai.conf.
12798
12799 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12800 FD_CLOEXEC for given file.
12801
12802 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12803
12804 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12805 FD_CLOEXEC for /etc/hosts.
12806 (_gethtent): Likewise.
12807
12808 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12809
12810 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12811 cancellation and set FD_CLOEXEC for /etc/netgroup.
12812
12813 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12814 reading /etc/publickey.
12815
12816 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12817 allow cancellation when reading /etc/group.
12818
12819 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12820 cancellation.
12821 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12822
12823 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12824 when using data file.
12825
12826 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12827
12828 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12829 (write_nis_obj): Use "c" and "e" in fopen.
12830
12831 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12832
12833 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12834
12835 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12836
12837 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12838
12839 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12840 locale.alias.
12841
12842 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12843
12844 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12845
12846 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12847
12848 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12849 file parsing and set FD_CLOEXEC.
12850
82af0fa8
UD
128512011-11-14 Ulrich Drepper <drepper@gmail.com>
12852
12853 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12854
a5fb313c
AS
128552011-11-14 Andreas Schwab <schwab@redhat.com>
12856
12857 * malloc/arena.c (arena_get2): Don't call reused_arena when
12858 _int_new_arena failed.
12859
6abf3465
UD
128602011-11-14 Ulrich Drepper <drepper@gmail.com>
12861
12862 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12863 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12864 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12865 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12868 to compile strcasecmp and strncasecmp.
12869 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12870 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12871
12872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12873
76e3966e
UD
128742011-11-13 Ulrich Drepper <drepper@gmail.com>
12875
12876 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12877 locale-defines.sym to gen-as-const-headers.
12878 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12879 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12881 to compile strcasecmp and strncasecmp.
12882 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12883 strcasecmp_l and strncasecmp_l.
12884 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12885 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12886 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12887 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12888 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12889 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12890 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12891 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12892 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12893 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12894 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12895
ab26144e
UD
128962011-11-12 Ulrich Drepper <drepper@gmail.com>
12897
7edb22ef
UD
12898 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12899 result of SYSDEP_GETTIME_CPU to retval.
12900 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12901 parameter list to macro. Remove trailing semicolon. Adjust users.
12902
9694fc44
UD
12903 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12904 variable.
12905
8ad89ef8
UD
12906 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12907 mantissa words.
12908 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12909
0c822ef9
UD
12910 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12911 from unused variable.
12912
874e0564
UD
12913 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12914 DWARF definitions.
12915 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12916 for assembling.
12917
3a2edc79
UD
12918 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12919 over namespaces.
12920
f3c2577f
UD
12921 * sunrpc/rpc_prot.c (rejected): Fix case value.
12922
294ce126
UD
12923 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12924 unsigned long long int to avoid warnings in shift.
12925
5e2b63c6
UD
12926 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12927 of use of trans.
12928 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12929 variable tmp.
12930
e7f4b08e
UD
12931 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12932 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12933 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12934
ab26144e
UD
12935 * nis/nis_table.c (nis_list): Use variable of correct type for
12936 result of __follow_path call.
12937
8a6d5255
AZ
129382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12939
12940 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12941 of math functions ceil, trunc, floor, round, and sqrt, when
12942 avaliable on the platform.
12943 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12944 name clash.
12945 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12946 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12947 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12948
aaddc98c
MP
129492011-10-30 Marek Polacek <mpolacek@redhat.com>
12950
12951 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12952 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12953
95b7042b
RM
129542011-11-11 Roland McGrath <roland@hack.frob.com>
12955
12956 * include/unistd.h: Fix __readlink return type.
12957 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12958
57769839
UD
129592011-11-11 Ulrich Drepper <drepper@gmail.com>
12960
12961 * stdlib/ucontext.h: Undo last change for makecontext.
12962
edc5984d
AS
129632011-11-11 Andreas Schwab <schwab@redhat.com>
12964
98591e58
AS
12965 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12966
edc5984d
AS
12967 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12968 * setjmp/setjmp.h: Mark functions as non-leaf.
12969 * setjmp/bits/setjmp2.h: Likewise.
12970 * stdlib/ucontext.h: Likewise.
12971
77cdc054
AS
129722011-11-10 Andreas Schwab <schwab@redhat.com>
12973
12974 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12975 (reused_arena): Don't check arena limit.
12976 (arena_get2): Atomically check arena limit.
12977
fe72eebd
UD
129782011-11-08 Ulrich Drepper <drepper@gmail.com>
12979
5f078c32
UD
12980 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12981 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12982
fe72eebd
UD
12983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12984 instructions.
12985
ae1bc2fa
AS
129862011-11-07 Andreas Schwab <schwab@redhat.com>
12987
7583a88d
AS
12988 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12989 handler when locking.
12990
ae1bc2fa
AS
12991 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12992 Fix size of allocated buffer.
12993
10fb0bfa
AS
129942011-11-04 Andreas Schwab <schwab@redhat.com>
12995
998832a4
AS
12996 [BZ #10103]
12997 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12998 declarations for long double functions.
12999 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13000
10fb0bfa
AS
13001 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13002
3d7ba52b
AS
130032011-11-03 Andreas Schwab <schwab@redhat.com>
13004
a9ae54a1
AS
13005 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13006 installed.
13007
3d7ba52b
AS
13008 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13009 is disabled.
13010
bc8db248
ST
130112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13012
13013 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13014
45b96dd6
AS
130152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13016
647776f6
AS
13017 * include/alloca.h (stackinfo_alloca_round): Define.
13018 (extend_alloca): Use it.
13019 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13020 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13021 here.
13022
d91a8b93
AS
13023 * scripts/check-local-headers.sh: Ignore libaudit.h.
13024
45b96dd6
AS
13025 * nscd/Makefile (extra-objs): Make recursively expanded.
13026
432d41ce
UD
130272011-11-01 Ulrich Drepper <drepper@gmail.com>
13028
34372fc6
UD
13029 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13030 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13031
fadb59f8
UD
13032 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13033 * posix/tst-rfc3484-2.c: Likewise.
13034 * posix/tst-rfc3484-3.c: Likewise.
13035
78239589
UD
13036 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13037 process_vm_writev.
13038 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13039 process_vm_writev.
13040 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13041 process_vm_writev from libc using GLIBC_2.15 version.
13042
432d41ce
UD
13043 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13044
02f9c6cf
PP
130452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13046
13047 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13048 stack usage.
13049
3a2c0242
UD
130502011-10-31 Ulrich Drepper <drepper@gmail.com>
13051
f4ec4833
UD
13052 [BZ #13367]
13053 * nss/getent.c (initgroups_keys): Show error message in case no group
13054 names are given.
13055
3a2c0242
UD
13056 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13057 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13058 __bump_nl_timestamp.
13059 * nscd/connections (nscd_init): When host database is served open
13060 netlink socket and request notification about configuration changes.
13061 (main_loop_poll): Track netlink file descriptor and bump timestamp
13062 in case data becomes available.
13063 (main_loop_epoll): Likewise.
13064 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13065 (database_pers_head): Add extra_data fileds.
13066 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13067 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13068 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13069 Adjust caller.
13070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13071 in6ai data, call __free_in6ai.
13072 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13073 Add -DHAVE_NETLINK.
13074 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13075 interface information. Reuse previous data if netlink timestamp
13076 is not changed.
13077 (__bump_nl_timestamp): New function.
13078 (__free_in6ai): New function.
13079
636064eb
UD
130802011-10-30 Ulrich Drepper <drepper@gmail.com>
13081
13082 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13083 close_not_cancel_no_status here.
13084 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13085
9beb2334
UD
130862011-10-29 Ulrich Drepper <drepper@gmail.com>
13087
6ef76f3b
UD
13088 [BZ #13276]
13089 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13090 return value.
13091
0ffc4f3e 13092 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13093 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13094 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13095
cb95113e
UD
130962011-07-03 Andreas Jaeger <aj@suse.de>
13097
13098 [BZ #10709]
13099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13100 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13101 * math/libm-test.inc (sin_test): Add test case.
13102
a1b560ff
UD
131032011-10-29 Ulrich Drepper <drepper@gmail.com>
13104
c9aaface
UD
13105 [BZ #13337]
13106 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13107 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13108
d272e7f1
UD
13109 * elf/chroot_canon.c (chroot_canon): Cleanups.
13110
1bc33071
UD
13111 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13112
1760874d
TJ
13113 [BZ #13335]
13114 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13115 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13116
51d91b18
UD
13117 * string/test-strchr.c: Make usable for strchrnul testing.
13118 * string/test-strchrnul.c: New file.
13119 * string/Makefile (strop-tests): Add strchrnul.
13120
a1b560ff 13121 * po/it.po: Update from translation team.
b611fb81 13122 * po/es.po: Likewise.
a1b560ff 13123
a5b81e1f
UD
131242011-10-28 Ulrich Drepper <drepper@gmail.com>
13125
fd52bc6d
UD
13126 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13127 the three constants needed as parameters. Drop the others.
13128 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13129 __m128i_strloadu_tolower.
52e4b9eb
UD
13130 Create and initialize variable zero and use it in all the places
13131 where _mm_setzero_si128 was used.
fd52bc6d 13132
a5b81e1f
UD
13133 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13134 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13135 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13136 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13137 anymore.
13138 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13139 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13140 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13141 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13142 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13143 __mpranred, __mptan.
13144 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13145 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13146 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13147 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13148 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13149 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13150 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13151 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13152 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13153
b4343346
AS
131542011-10-28 Andreas Schwab <schwab@redhat.com>
13155
0c92d8a8
AS
13156 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13157 redefine if SHARED.
13158 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13159
b4343346
AS
13160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13161 wide char related routines to wcsmbs subdir.
13162
3871f58f
AS
131632011-10-27 Andreas Schwab <schwab@redhat.com>
13164
13165 [BZ #13344]
13166 * misc/sys/cdefs.h (__THROWNL): Define.
13167 * posix/unistd.h: Use __THREADNL instead of __THREAD
13168 for memory synchronization functions.
13169
94d44d9f
RM
131702011-10-26 Roland McGrath <roland@hack.frob.com>
13171
21b64b15 13172 [BZ #13349]
94d44d9f
RM
13173 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13174 doesn't exist.
13175 * manual/stdio.texi (Obstack Streams): Node removed.
13176
f6ce9294
AS
131772011-10-26 Andreas Schwab <schwab@redhat.com>
13178
80479147
AS
13179 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13180 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13181 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13182
f6ce9294
AS
13183 * math/math_private.h (math_force_eval): Allow non-addressable
13184 arguments.
13185 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13186
618280a1
UD
131872011-10-25 Ulrich Drepper <drepper@gmail.com>
13188
e0016b11
UD
13189 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13190 file is not needed.
13191
13192 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13193 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13194 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13195 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13196 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13197 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13198 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13199 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13200 Add AVX variants.
13201 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13202 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13203 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13204 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13205 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13206 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13207 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13208 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13209 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13210 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13211 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13212 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13213 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13214 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13217 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13218 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13219 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13220
13221 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13222 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13223
618280a1
UD
13224 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13225 place. Use VEX encoding when compiling for AVX.
13226
37822576
AS
132272011-10-25 Andreas Schwab <schwab@redhat.com>
13228
1f1e1947
AS
13229 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13230 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13231
37822576
AS
13232 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13233
31ea014d
UD
132342011-10-25 Ulrich Drepper <drepper@gmail.com>
13235
d7826aa1 13236 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13237 useless if() expression.
d7826aa1
UD
13238 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13248 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13249 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13250 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13251 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13252 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13253 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13254 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13255 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13256 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13257
31ea014d
UD
13258 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13259
16437fec
AS
132602011-10-25 Andreas Schwab <schwab@redhat.com>
13261
13262 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13263 condition.
13264 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13265
31d3cc00
UD
132662011-10-25 Ulrich Drepper <drepper@gmail.com>
13267
13268 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13269 .text section. Avoid duplicate constants.
13270 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13271 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13272 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13278 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13279 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13280 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13282 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13285 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13287 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13293 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13294 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13295 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13296 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13297 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13298 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13299 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13300 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13301 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13302 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13303 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13304 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13305 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13306 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13307 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13308 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13309 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13310 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13311 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13312 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13313 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13314 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13315
58985aa9
UD
133162011-10-24 Ulrich Drepper <drepper@gmail.com>
13317
202c9deb
UD
13318 * sysdeps/x86_64/dla.h: Move to ...
13319 * sysdeps/x86_64/fpu/dla.h: ...here.
13320 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13321 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13322
af968f62
UD
13323 * config.make.in: Add have-mfma4 entry.
13324 * configure.in: Substitute libc_cv_cc_fma4.
13325 * math/Makefile (dbl-only-routines): Add sincostab.
13326 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13327 Use __sincostab not sincos.
13328 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13329 name is a macro.
13330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13334 using __copysign.
13335 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13336 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13337 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13338 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13339 and __inv.
13340 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13341 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13342 __copysign.
13343 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13344 define aliases when function name is a macro.
13345 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13346 sysdeps/ieee754/dbl-64/sincos.tbl.
13347 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13348 fma4-enabled routines.
13349 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13350 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13351 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13352 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13353 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13354 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13355 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13358 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13359 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13360 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13361 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13362 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13363 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13364 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13365 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13366 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13367 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13368 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13369 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13370 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13371 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13372 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13373 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13374 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13375 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13376 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13377 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13378 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13379
58985aa9
UD
13380 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13381 rename.
13382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13390
a201fbcf
AS
133912011-10-24 Andreas Schwab <schwab@redhat.com>
13392
13393 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13394
fc2ee42a
LD
133952011-10-23 Ulrich Drepper <drepper@gmail.com>
13396
bb3129bd
UD
13397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13398
0275fff8
UD
13399 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13400 prediction.
13401 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13402
2fa2ae85
UD
13403 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13404 Remove unused variable magic_bits.
13405 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13406
fc2ee42a
LD
13407 * string/strnlen.c: Define and use STRNLEN macro.
13408 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13409 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13410 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13411 * wcsmbs/wcslen.c: Define and use WCSLEN.
13412 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13413 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13414 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13415 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13416 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13417 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13418 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13419
ce7dd29f
LD
134202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13421
13422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13423 strnlen-sse2-no-bsf.
13424 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13426 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13427 Add strnlen support.
13428 (USE_AS_STRNLEN): New macro.
13429 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13430 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13431 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13432 * sysdeps/x86_64/wcslen.S: New file.
13433
979c70a3
MZ
134342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13435
13436 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13437 XMM-moves are used for copying on small sizes.
13438
2d09f82f
LD
134392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13440
13441 * wcsmbs/Makefile (strop-tests): Add wcschr.
13442 * wcsmbs/test-wcschr.c: New file.
13443 * string/test-strchr.c: Update.
13444 Add wcschr support.
13445 (WIDE): New macro.
13446
619fccca
LD
134472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13448
2d09f82f 13449 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13450 * wcsmbs/test-wcslen.c: New file.
13451 * string/test-strlen.c: Update.
13452 Add wcslen support.
13453 (WIDE): New macro.
13454
09f699ea
UD
134552011-10-23 Ulrich Drepper <drepper@gmail.com>
13456
13457 * po/it.po: Update from translation team.
13458
95584d3b
LD
134592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13460
13461 * sysdeps/x86_64/wcscmp.S: Update.
13462 Fix wrong comparison semantics.
13463 wcscmp shall use signed comparison not unsigned.
13464 Don't use substraction to avoid overflow bug.
13465 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13466 * wcsmbc/wcscmp.c: Likewise.
13467 * string/test-strcmp.c: Likewise.
13468 Add new tests to check cases with negative values.
13469
c8b3296b
UD
134702011-10-23 Ulrich Drepper <drepper@gmail.com>
13471
13472 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13473 * sysdeps/x86_64/dla.h: ...here. New file.
13474 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13483
246ad57a
AS
134842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13485
13486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13487 __ynl_finite aliases.
13488
a1a87169
UD
134892011-10-22 Ulrich Drepper <drepper@gmail.com>
13490
0d355eb7
UD
13491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13492
a1a87169
UD
13493 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13494 define DLA_FMA.
13495 [DLA_FMA] (EMULV): Use DLA_FMA.
13496 [DLA_FMA] (MUL12): Use EMULV.
13497 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13498 that are not needed.
13499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13506
ee2aafe0
AS
135072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13508
13509 * math/s_nan.c: Undef __nan.
13510 * math/s_nanf.c: Undef __nanf.
13511 * math/s_nanl.c: Undef __nanl.
13512 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13513 "math_private.h".
13514
bc62c2fb
UD
135152011-10-22 Ulrich Drepper <drepper@gmail.com>
13516
77425c63
UD
13517 * math/s_catan.c: Add branch predictions.
13518 * math/s_catanf.c: Likewise.
13519 * math/s_catanh.c: Likewise.
13520 * math/s_catanhf.c: Likewise.
13521 * math/s_catanhl.c: Likewise.
13522 * math/s_catanl.c: Likewise.
13523 * math/s_cexp.c: Likewise.
13524 * math/s_cexpf.c: Likewise.
13525 * math/s_cexpl.c: Likewise.
13526 * math/s_clog.c: Likewise.
13527 * math/s_clog10.c: Likewise.
13528 * math/s_clog10f.c: Likewise.
13529 * math/s_clog10l.c: Likewise.
13530 * math/s_clogf.c: Likewise.
13531 * math/s_clogl.c: Likewise.
13532 * math/s_csqrt.c: Likewise.
13533 * math/s_csqrtf.c: Likewise.
13534 * math/s_csqrtl.c: Likewise.
13535 * math/s_ctanf.c: Likewise.
13536 * math/s_ctanh.c: Likewise.
13537 * math/s_ctanhf.c: Likewise.
13538 * math/s_ctanhl.c: Likewise.
13539 * math/s_ctanl.c: Likewise.
13540
bc62c2fb
UD
13541 * math/math_private.h: Define __nan, __nanf, __nanl.
13542 * math/s_cacosh.c: Include <math_private.h>.
13543 * math/s_cacoshl.c: Likewise.
13544 * math/s_casinh.c: Likewise.
13545 * math/s_casinhf.c: Likewise.
13546 * math/s_casinhl.c: Likewise.
13547 * math/s_ccos.c: Rely entire on ccosh.
13548 * math/s_ccosf.c: Rely entire on ccoshf.
13549 * math/s_ccosl.c: Rely entirely on ccoshl.
13550 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13551 Remove tests for FE_INVALID.
13552 * math/s_ccoshf.c: Likewise.
13553 * math/s_ccoshl.c: Likewise.
13554 * math/s_csin.c: Likewise.
13555 * math/s_csinf.c: Likewise.
13556 * math/s_csinh.c Likewise.
13557 * math/s_csinhf.c: Likewise.
13558 * math/s_csinhl.c: Likewise.
13559 * math/s_csinl.c: Likewise.
13560 * math/s_ctan.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13562 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13563 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13564
8ec250a4
UD
135652011-10-21 Ulrich Drepper <drepper@gmail.com>
13566
c196fed8
UD
13567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13568 compilation problems.
13569
8ec250a4
UD
13570 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13571 __builtin_expect.
13572
8d4f46c6
UD
135732011-10-20 Ulrich Drepper <drepper@gmail.com>
13574
ed72b654
UD
13575 * sysdeps/i386/configure.in: Test for -mfma4 option.
13576 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13577 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13578 COMMON_CPUID_INDEX_80000001.
13579 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13580 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13581 use it if FMA3 is not supported.
13582 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13583
8d4f46c6
UD
13584 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13585 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13586
d45c60c2
AS
135872011-10-20 Andreas Schwab <schwab@redhat.com>
13588
13589 [BZ #12892]
13590 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13591 it would create a cycle with a link time dependency.
13592
d9a4d2ab
UD
135932011-10-19 Ulrich Drepper <drepper@gmail.com>
13594
855d1560
UD
13595 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13596 instruction.
13597 * string/Makefile (strop-tests): Add rawmemchr.
13598 * string/test-rawmemchr.c: New file.
13599
d9a4d2ab
UD
13600 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13601 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13602 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13603 when compiling str{,n}casecmp and when AVX is available. Hook up
13604 new optimized code in initializers.
13605
8f3b1ffe
AS
136062011-10-19 Andreas Schwab <schwab@redhat.com>
13607
13608 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13609 __feraiseexcept instead of feraiseexcept.
13610
d38f1dba
UD
136112011-10-18 Ulrich Drepper <drepper@gmail.com>
13612
d9a8d0ab
UD
13613 * math/math_private.h: Define defaults for libc_fetestexcept and
13614 libc_feupdateenv.
13615 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13616 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13617 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13618 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13619 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13620 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13621 libc_fetestexcept and libc_feupdateenv.
13622
4855e3dd
UD
13623 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13624 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13625 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13626 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13627 libc_feholdexcept_setround.
13628
581d30e3
UD
13629 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13630 Add s_nearbyint-c and s_nearbyintf-c.
13631 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13632 nearbyintf inlines.
13633 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13634 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13635 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13636 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13637
d38f1dba
UD
13638 * math/math_private.h: Define defaults for libc_fegetround,
13639 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13640 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13641 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13642 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13643 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13644 standard functions.
13645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13646 Remove comments and hacks for old compiler versions.
13647 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13648 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13649 libc_feholdexceptl.
13650
caa6c9d8
AS
136512011-10-18 Andreas Schwab <schwab@redhat.com>
13652
13653 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13654 (__feraiseexcept_renamed): Add __NTH.
13655 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13656 namespace violations.
13657
97c066e6
UD
136582011-10-17 Ulrich Drepper <drepper@gmail.com>
13659
99ce7b04
UD
13660 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13661
1004d182
UD
13662 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13663
228a984d
UD
13664 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13665 recently added interfaces.
13666 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13667
c8553a6a
UD
13668 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13669 about macro parameter expansion.
13670
ed22dcf6
UD
13671 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13672 __NO_MATH_INLINES is defined. Cleanups.
13673
13674 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13675 and __floorf is target has SSE4.1.
13676 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13677 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13678 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13679 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13680
b171c137
UD
13681 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13682 name.
13683 (floorf): Likewise.
13684
97c066e6
UD
13685 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13686
629f62ef
AS
136872011-10-17 Andreas Schwab <schwab@redhat.com>
13688
49a43d80
AS
13689 * misc/sys/cdefs.h: Fix last change.
13690
629f62ef
AS
13691 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13692 database lookup.
13693
e453f6cd
UD
136942011-10-16 Ulrich Drepper <drepper@gmail.com>
13695
aa78043a
UD
13696 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13697
ad0f5cad
UD
13698 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13699 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13704 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13707 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13708 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13709 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13710 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13711 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13712 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13713 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13714 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13715 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13716 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13717 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13718 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13719 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13720
13721 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13722 ceil, ceilf, floor, floorf.
13723
13724 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13725 Perform IRELATIVE relocations last.
13726
e453f6cd
UD
13727 * elf/do-rel.h: Add another parameter nrelative, replacing the
13728 local variable with the same name. Change name of the function
13729 to end in Rel or Rela (uppercase).
13730 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13731 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13732 elf_dynamic_do_##reloc function.
13733
fd5bdc09
UD
137342011-10-15 Ulrich Drepper <drepper@gmail.com>
13735
79b195b5
UD
13736 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13737 is sufficient, at least on modern CPUs.
13738
d4a28569
UD
13739 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13740
b61099b5
UD
13741 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13742 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13743
bcf01e6d
UD
13744 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13745 __expl_finite.
13746 * math/bits/math-finite.h: Add entries for exp.
13747 * math/e_expl.c: Add __*_finite alias.
13748 * sysdeps/i386/fpu/e_exp.S: Likewise.
13749 * sysdeps/i386/fpu/e_expf.S: Likewise.
13750 * sysdeps/i386/fpu/e_expl.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13752 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13756 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13757 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13758
ba1a0d59
UD
13759 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13760 is sufficient, at least on modern CPUs.
13761
fd5bdc09
UD
13762 * ctype/ctype-info.c (__ctype_init): Define.
13763 * include/ctype.h (__ctype_init): Declare.
13764 (__ctype_b_loc): The variable is always initialized.
13765 (__ctype_toupper_loc): Likewise.
13766 (__ctype_tolower_loc): Likewise.
13767 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13768 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13769
7872cfb0
AS
137702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13771
b468825a
AS
13772 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13773
7872cfb0
AS
13774 * configure.in: Also look in $cxxmachine/include for C++ system
13775 headers.
13776
be13f7bf
LD
137772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13778
13779 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13780 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13781 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13782 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13783 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13784 (USE_AS_WMEMCMP): New macro.
13785 Fixing indents.
13786 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13787 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13788 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13789 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13791 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13792 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13793 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13794 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13795 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13796 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13797 (USE_AS_WMEMCMP): New macro.
13798 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13799 * sysdeps/string/test-memcmp.c: Update.
13800 Fix simple_wmemcmp.
13801 Add new tests.
13802 * wcsmbs/wmemcmp.c: Update.
13803 (WMEMCMP): New macro.
13804 Fix overflow bug.
13805
556a2007
AJ
138062011-10-12 Andreas Jaeger <aj@suse.de>
13807
13808 [BZ #13268]
13809 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13810
538faaa7
UD
138112011-10-15 Ulrich Drepper <drepper@gmail.com>
13812
ab6737ff
UD
13813 * libio/iofwide.c (do_length): Avoid warning.
13814
538faaa7
UD
13815 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13816
396a21b1
UD
138172011-10-14 Ulrich Drepper <drepper@gmail.com>
13818
cdf2901f
UD
13819 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13820
38ad40ce
UD
13821 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13822 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13823 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13824 * sysdeps/i386/i686/fpu/e_log.S: New file.
13825 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13826 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13827
396a21b1
UD
13828 * ctype/ctype.h: Add support for inlined isXXX functions when
13829 compiling C++ code.
13830
6b1f68c9
AS
138312011-10-14 Andreas Schwab <schwab@redhat.com>
13832
349290c0
AS
13833 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13834
6b1f68c9
AS
13835 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13836
f2282d42
RM
138372011-10-13 Roland McGrath <roland@hack.frob.com>
13838
13839 [BZ #13291]
13840 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13841
5298ffa8
AS
138422011-10-13 Andreas Schwab <schwab@redhat.com>
13843
714fad23
AS
13844 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13845 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13846 feraiseexcept.
13847
81dcc7fb
AS
13848 * sysdeps/x86_64/memrchr.S: Check for zero size.
13849
5298ffa8
AS
13850 * string/stratcliff.c: Add memrchr tests.
13851
951fbcec
LD
138522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13853
13854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13855 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13856 rawmemchr-sse2 rawmemchr-sse2-bsf.
13857 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13858 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13859 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13860 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13861 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13862 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13863 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13864 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13865 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13866 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13867 * string/memrchr.c (MEMRCHR): New macro.
13868
0ac5ae23
UD
138692011-10-12 Ulrich Drepper <drepper@gmail.com>
13870
13871 Add integration with gcc's -ffinite-math-only and optimize wrapper
13872 functions in libm.
13873 * Versions.def: Define GLIBC_2.15 version for libm.
13874 * math/Makefile (headers): Add bits/math-finite.h.
13875 * math/bits/math-finite.h: New file.
13876 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13877 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13878 * math/e_acoshl.c: Add __*_finite alias.
13879 * math/e_acosl.c: Likewise.
13880 * math/e_asinl.c: Likewise.
13881 * math/e_atan2l.c: Likewise.
13882 * math/e_atanhl.c: Likewise.
13883 * math/e_coshl.c: Likewise.
13884 * math/e_exp10.c: Likewise.
13885 * math/e_exp10f.c: Likewise.
13886 * math/e_exp10l.c: Likewise.
13887 * math/e_exp2l.c: Likewise.
13888 * math/e_fmodl.c: Likewise.
13889 * math/e_gammal_r.c: Likewise.
13890 * math/e_hypotl.c: Likewise.
13891 * math/e_j0l.c: Likewise.
13892 * math/e_j1l.c: Likewise.
13893 * math/e_jnl.c: Likewise.
13894 * math/e_lgammal_r.c: Likewise.
13895 * math/e_log10l.c: Likewise.
13896 * math/e_log2l.c: Likewise.
13897 * math/e_logl.c: Likewise.
13898 * math/e_powl.c: Likewise.
13899 * math/e_sinhl.c: Likewise.
13900 * math/e_sqrtl.c: Likewise.
13901 * math/e_scalb.c: Completely rewritten and optimized.
13902 * math/e_scalbf.c: Likewise.
13903 * math/e_scalbl.c: Likewise.
13904 * math/w_acos.c: Likewise.
13905 * math/w_acosf.c: Likewise.
13906 * math/w_acosl.c: Likewise.
13907 * math/w_acosh.c: Likewise.
13908 * math/w_acoshf.c: Likewise.
13909 * math/w_acoshl.c: Likewise.
13910 * math/w_asin.c: Likewise.
13911 * math/w_asinf.c: Likewise.
13912 * math/w_asinl.c: Likewise.
13913 * math/w_atan2.c: Likewise.
13914 * math/w_atan2f.c: Likewise.
13915 * math/w_atan2l.c: Likewise.
13916 * math/w_atanh.c: Likewise.
13917 * math/w_atanhf.c: Likewise.
13918 * math/w_atanhl.c: Likewise.
13919 * math/w_exp10.c: Likewise.
13920 * math/w_exp10f.c: Likewise.
13921 * math/w_exp10l.c: Likewise.
13922 * math/w_fmod.c: Likewise.
13923 * math/w_fmodf.c: Likewise.
13924 * math/w_fmodl.c: Likewise.
13925 * math/w_j0.c: Likewise.
13926 * math/w_j0f.c: Likewise.
13927 * math/w_j0l.c: Likewise.
13928 * math/w_j1.c: Likewise.
13929 * math/w_j1f.c: Likewise.
13930 * math/w_j1l.c: Likewise.
13931 * math/w_jn.c: Likewise.
13932 * math/w_jnf.c: Likewise.
13933 * math/w_log.c: Likewise.
13934 * math/w_logf.c: Likewise.
13935 * math/w_logl.c: Likewise.
13936 * math/w_log10.c: Likewise.
13937 * math/w_log10f.c: Likewise.
13938 * math/w_log10l.c: Likewise.
13939 * math/w_log2.c: Likewise.
13940 * math/w_log2f.c: Likewise.
13941 * math/w_log2l.c: Likewise.
13942 * math/w_pow.c: Likewise.
13943 * math/w_powf.c: Likewise.
13944 * math/w_powl.c: Likewise.
13945 * math/w_remainder.c: Likewise.
13946 * math/w_remainderf.c: Likewise.
13947 * math/w_remainderl.c: Likewise.
13948 * math/w_scalb.c: Likewise.
13949 * math/w_scalbf.c: Likewise.
13950 * math/w_scalbl.c: Likewise.
13951 * math/w_sqrt.c: Likewise.
13952 * math/w_sqrtf.c: Likewise.
13953 * math/w_sqrtl.c: Likewise.
13954 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13955 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13956 used.
13957 * math/math_private.h: Declare __kernel_standard_f.
13958 * math/w_cosh.c: Remove cruft and optimize a bit.
13959 * math/w_coshf.c: Likewise.
13960 * math/w_coshl.c: Likewise.
13961 * math/w_exp2.c: Likewise.
13962 * math/w_exp2f.c: Likewise.
13963 * math/w_exp2l.c: Likewise.
13964 * math/w_hypot.c: Likewise.
13965 * math/w_hypotf.c: Likewise.
13966 * math/w_hypotl.c: Likewise.
13967 * math/w_lgamma.c: Likewise.
13968 * math/w_lgamma_r.c: Likewise.
13969 * math/w_lgammaf.c: Likewise.
13970 * math/w_lgammaf_r.c: Likewise.
13971 * math/w_lgammal.c: Likewise.
13972 * math/w_lgammal_r.c: Likewise.
13973 * math/w_sinh.c: Likewise.
13974 * math/w_sinhf.c: Likewise.
13975 * math/w_sinhl.c: Likewise.
13976 * math/w_tgamma.c: Likewise.
13977 * math/w_tgammaf.c: Likewise.
13978 * math/w_tgammal.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13980 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13981 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13982 Minor optimizations. Pretty printing. Remove cruft.
13983 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13984 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13985 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13986 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13987 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13988 * sysdeps/i386/fpu/e_asin.S: Likewise.
13989 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13990 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13991 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13992 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13993 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13994 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13995 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13996 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13997 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13998 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13999 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14000 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14001 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14002 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14003 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14004 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14005 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14006 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14007 * sysdeps/i386/fpu/e_log.S: Likewise.
14008 * sysdeps/i386/fpu/e_log10.S: Likewise.
14009 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14011 * sysdeps/i386/fpu/e_log2.S: Likewise.
14012 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14013 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14014 * sysdeps/i386/fpu/e_logf.S: Likewise.
14015 * sysdeps/i386/fpu/e_logl.S: Likewise.
14016 * sysdeps/i386/fpu/e_pow.S: Likewise.
14017 * sysdeps/i386/fpu/e_powf.S: Likewise.
14018 * sysdeps/i386/fpu/e_powl.S: Likewise.
14019 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14020 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14021 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14022 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14023 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14024 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14025 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14026 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14027 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14049 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14050 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14051 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14052 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14053 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14054 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14055 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14056 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14057 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14058 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14059 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14060 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14061 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14062 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14063 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14064 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14065 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14066 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14067 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14068 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14069 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14074 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14075 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14076 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14077 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14078 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14080 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14082 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14083 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14084 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14085 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14087 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14092 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14093 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14098 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14099 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14100 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14102 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14104 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14106 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14107 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14108 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14109 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14110 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14111 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14112 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14113 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14114 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14115 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14116 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14117 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14118 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14119 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14120 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14121 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14122 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14123 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14124 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14125 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14126 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14127 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14128 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14129 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14130 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14131 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14132 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14133 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14134 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14135 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14136 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14137 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14138 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14139 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14140 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14141 (__isnanf): Likewise.
14142 (__isinf_ns): Likewise.
14143 (__isinf_nsf): Likewise.
14144 (__finite): Likewise.
14145 (__finitef): Likewise.
14146 (__ieee754_sqrt): Define as macro.
14147 (__ieee754_sqrtf): Define as macro.
14148 (__ieee754_sqrtl): Define as macro.
14149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14150 inlined copy.
14151 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14152 __FINITE_MATH_ONLY__ consistent.
14153 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14154
12cc2fcd
AS
141552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14156
a843a204
AS
14157 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14158 of rawmemchr.
14159
12cc2fcd
AS
14160 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14161
c853acd5
UD
141622011-10-09 Ulrich Drepper <drepper@gmail.com>
14163
14164 * po/ja.po: Update from translation team.
14165
c658d255
RM
141662011-10-08 Roland McGrath <roland@hack.frob.com>
14167
110946e4
RM
14168 * locale/programs/locarchive.c (prepare_address_space): New function.
14169 (create_archive, enlarge_archive, open_archive): Use it.
14170
50604220
RM
14171 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14172 inside [SHARED], where it is used.
14173
c658d255
RM
14174 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14175
14176 * nss/getent.c (netgroup_keys): Remove unused variable.
14177 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14178
6a621eb7
UD
141792011-10-08 Ulrich Drepper <drepper@gmail.com>
14180
7edb55ce
UD
14181 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14182 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14184 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14185 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14186 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14187 * math/Makefile (libm-calls): Add s_isinf_ns.
14188 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14189 * math/multc3.c: Likewise.
14190 * math/s_casin.c: Likewise.
14191 * math/s_casinf.c: Likewise.
14192 * math/s_casinl.c: Likewise.
14193 * math/s_ccos.c: Likewise.
14194 * math/s_ccosf.c: Likewise.
14195 * math/s_ccosl.c: Likewise.
14196 * math/s_ctan.c: Likewise.
14197 * math/s_ctanf.c: Likewise.
14198 * math/s_ctanh.c: Likewise.
14199 * math/s_ctanhf.c: Likewise.
14200 * math/s_ctanhl.c: Likewise.
14201 * math/s_ctanl.c: Likewise.
14202 * math/w_fmod.c: Likewise.
14203 * math/w_fmodf.c: Likewise.
14204 * math/w_fmodl.c: Likewise.
14205 * math/w_remainder.c: Likewise.
14206 * math/w_remainderf.c: Likewise.
14207 * math/w_remainderl.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14209 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14210 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14212 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14213 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14214 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14215 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14216
187da0ae
UD
14217 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14218 of the number.
14219 * stdio-common/printf_fphex.c: Likewise.
14220 * stdio-common/printf_size.c: Likewise.
14221
9277c064
UD
14222 * math/e_exp10.c: Include math_private.h using <...> not "...".
14223 * math/e_exp10f.c: Likewise.
14224 * math/e_exp10l.c: Likewise.
14225 * math/e_exp2l.c: Likewise.
14226 * math/e_j0l.c: Likewise.
14227 * math/e_j1l.c: Likewise.
14228 * math/e_jnl.c: Likewise.
14229 * math/e_lgammal_r.c: Likewise.
14230 * math/e_rem_pio2l.c: Likewise.
14231 * math/e_scalb.c: Likewise.
14232 * math/e_scalbf.c: Likewise.
14233 * math/e_scalbl.c: Likewise.
14234 * math/k_cosl.c: Likewise.
14235 * math/k_sinl.c: Likewise.
14236 * math/k_tanl.c: Likewise.
14237 * math/s_cacoshf.c: Likewise.
14238 * math/s_catan.c: Likewise.
14239 * math/s_catanf.c: Likewise.
14240 * math/s_catanh.c: Likewise.
14241 * math/s_catanhf.c: Likewise.
14242 * math/s_catanhl.c: Likewise.
14243 * math/s_catanl.c: Likewise.
14244 * math/s_ccosh.c: Likewise.
14245 * math/s_ccoshf.c: Likewise.
14246 * math/s_ccoshl.c: Likewise.
14247 * math/s_cexp.c: Likewise.
14248 * math/s_cexpf.c: Likewise.
14249 * math/s_cexpl.c: Likewise.
14250 * math/s_clog.c: Likewise.
14251 * math/s_clog10.c: Likewise.
14252 * math/s_clog10f.c: Likewise.
14253 * math/s_clog10l.c: Likewise.
14254 * math/s_clogf.c: Likewise.
14255 * math/s_clogl.c: Likewise.
14256 * math/s_csin.c: Likewise.
14257 * math/s_csinf.c: Likewise.
14258 * math/s_csinh.c: Likewise.
14259 * math/s_csinhf.c: Likewise.
14260 * math/s_csinhl.c: Likewise.
14261 * math/s_csinl.c: Likewise.
14262 * math/s_csqrt.c: Likewise.
14263 * math/s_csqrtf.c: Likewise.
14264 * math/s_csqrtl.c: Likewise.
14265 * math/s_ctan.c: Likewise.
14266 * math/s_ctanf.c: Likewise.
14267 * math/s_ctanh.c: Likewise.
14268 * math/s_ctanhf.c: Likewise.
14269 * math/s_ctanhl.c: Likewise.
14270 * math/s_ctanl.c: Likewise.
14271 * math/s_ldexp.c: Likewise.
14272 * math/s_ldexpf.c: Likewise.
14273 * math/s_ldexpl.c: Likewise.
14274 * math/s_significand.c: Likewise.
14275 * math/s_significandf.c: Likewise.
14276 * math/s_significandl.c: Likewise.
14277 * math/w_acos.c: Likewise.
14278 * math/w_acosf.c: Likewise.
14279 * math/w_acosh.c: Likewise.
14280 * math/w_acoshf.c: Likewise.
14281 * math/w_acoshl.c: Likewise.
14282 * math/w_acosl.c: Likewise.
14283 * math/w_asin.c: Likewise.
14284 * math/w_asinf.c: Likewise.
14285 * math/w_asinl.c: Likewise.
14286 * math/w_atan2.c: Likewise.
14287 * math/w_atan2f.c: Likewise.
14288 * math/w_atan2l.c: Likewise.
14289 * math/w_atanh.c: Likewise.
14290 * math/w_atanhf.c: Likewise.
14291 * math/w_atanhl.c: Likewise.
14292 * math/w_cosh.c: Likewise.
14293 * math/w_coshf.c: Likewise.
14294 * math/w_coshl.c: Likewise.
14295 * math/w_dremf.c: Likewise.
14296 * math/w_exp10.c: Likewise.
14297 * math/w_exp10f.c: Likewise.
14298 * math/w_exp10l.c: Likewise.
14299 * math/w_exp2.c: Likewise.
14300 * math/w_exp2f.c: Likewise.
14301 * math/w_fmod.c: Likewise.
14302 * math/w_fmodf.c: Likewise.
14303 * math/w_fmodl.c: Likewise.
14304 * math/w_hypot.c: Likewise.
14305 * math/w_hypotf.c: Likewise.
14306 * math/w_hypotl.c: Likewise.
14307 * math/w_j0.c: Likewise.
14308 * math/w_j0f.c: Likewise.
14309 * math/w_j0l.c: Likewise.
14310 * math/w_j1.c: Likewise.
14311 * math/w_j1f.c: Likewise.
14312 * math/w_j1l.c: Likewise.
14313 * math/w_jn.c: Likewise.
14314 * math/w_jnf.c: Likewise.
14315 * math/w_jnl.c: Likewise.
14316 * math/w_lgamma.c: Likewise.
14317 * math/w_lgamma_r.c: Likewise.
14318 * math/w_lgammaf.c: Likewise.
14319 * math/w_lgammaf_r.c: Likewise.
14320 * math/w_lgammal.c: Likewise.
14321 * math/w_lgammal_r.c: Likewise.
14322 * math/w_log.c: Likewise.
14323 * math/w_log10.c: Likewise.
14324 * math/w_log10f.c: Likewise.
14325 * math/w_log10l.c: Likewise.
14326 * math/w_log2.c: Likewise.
14327 * math/w_log2f.c: Likewise.
14328 * math/w_log2l.c: Likewise.
14329 * math/w_logf.c: Likewise.
14330 * math/w_logl.c: Likewise.
14331 * math/w_pow.c: Likewise.
14332 * math/w_powf.c: Likewise.
14333 * math/w_powl.c: Likewise.
14334 * math/w_remainder.c: Likewise.
14335 * math/w_remainderf.c: Likewise.
14336 * math/w_remainderl.c: Likewise.
14337 * math/w_scalb.c: Likewise.
14338 * math/w_scalbf.c: Likewise.
14339 * math/w_scalbl.c: Likewise.
14340 * math/w_sinh.c: Likewise.
14341 * math/w_sinhf.c: Likewise.
14342 * math/w_sinhl.c: Likewise.
14343 * math/w_sqrt.c: Likewise.
14344 * math/w_sqrtf.c: Likewise.
14345 * math/w_sqrtl.c: Likewise.
14346 * math/w_tgamma.c: Likewise.
14347 * math/w_tgammaf.c: Likewise.
14348 * math/w_tgammal.c: Likewise.
14349
6a621eb7
UD
14350 * po/ja.po: Update from translation team.
14351
bf582445
AJ
143522011-09-29 Andreas Jaeger <aj@suse.de>
14353
f9efbf3a
AJ
14354 [BZ #13179]
14355 * sunrpc/netname.c (netname2host): Fix logic.
14356
bf582445
AJ
14357 [BZ #6779]
14358 [BZ #6783]
14359 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14360 correctly.
14361 * math/w_remainder.c (__remainder): Likewise.
14362 * math/w_remainderf.c (__remainderf): Likewise.
14363 * math/libm-test.inc (remainder_test): Add test cases.
14364
48693bea
AK
143652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14366
14367 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14368 sdiv_qrnnd.
14369
42622229
LD
143702011-10-07 Ulrich Drepper <drepper@gmail.com>
14371
14372 * string/test-memcmp.c: Avoid unncessary #defines.
14373 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14374
093ecf92
LD
143752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14376
14377 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14378 Use new sse2 version for core i3 - i7 as it's faster
14379 than sse42 version.
14380 (bit_Prefer_PMINUB_for_stringop): New.
14381 * sysdeps/x86_64/rawmemchr.S: Update.
14382 Replace with faster SSE2 version.
14383 * sysdeps/x86_64/memrchr.S: New file.
14384 * sysdeps/x86_64/memchr.S: Update.
14385 Replace with faster SSE2 version.
14386
fde56e5c
MP
143872011-09-12 Marek Polacek <mpolacek@redhat.com>
14388
14389 * elf/dl-load.c (lose): Add cast to avoid warning.
14390
21fd49a9
UD
143912011-10-07 Ulrich Drepper <drepper@gmail.com>
14392
5a06e643
UD
14393 * po/ca.po: Update from translation team.
14394
684ae515
UD
14395 * inet/getnetgrent_r.c: Hook up nscd.
14396 * nscd/Makefile (routines): Add nscd_netgroup.
14397 (nscd-modules): Add netgroupcache.
14398 (CFLAGS-netgroupcache.c): Define.
14399 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14400 (cache_search): Add const to second parameter.
14401 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14402 INNETGR.
14403 (dbs): Add netgrdb entry.
14404 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14405 (verify_persistent_db): Handle netgrdb.
14406 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14407 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14408 GETFDNETGR.
14409 (netgroup_response_header): Define.
14410 (innetgroup_response_header): Define.
14411 (datahead): Add netgroup_response_header and innetgroup_response_header
14412 elements.
14413 * nscd/nscd.conf: Add entries for netgroup cache.
14414 * nscd/nscd.h (dbtype): Add netgrdb.
14415 (_PATH_NSCD_NETGROUP_DB): Define.
14416 (netgroup_iov_disabled): Declare.
14417 (xmalloc, xcalloc, xrealloc): Move declarations here.
14418 (cache_search): Adjust prototype.
14419 Add netgroup-related prototypes.
14420 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14421 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14422 (__nscd_innetgr): Declare.
14423 * nscd/selinux.c (perms): Use access_vector_t as element type and
14424 add netgroup-related initializers.
14425 * nscd/netgroupcache.c: New file.
14426 * nscd/nscd_netgroup.c: New file.
14427 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14428 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14429 For four parameters use innetgr.
14430 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14431 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14432 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14433 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14434
21fd49a9
UD
14435 * nscd/connections.c (register_traced_file): Don't register file
14436 for disabled databases.
14437
054c0457
UD
144382011-10-06 Ulrich Drepper <drepper@gmail.com>
14439
32b63198
UD
14440 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14441
054c0457
UD
14442 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14443 from tree and freeing node.
14444
64031225
JO
144452011-09-25 Jiri Olsa <jolsa@redhat.com>
14446
14447 * nss/nsswitch.c (__nss_database_lookup): Handle
14448 nss_parse_service_list out of memory case.
14449
0490345c
JO
144502011-09-15 Jiri Olsa <jolsa@redhat.com>
14451
14452 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14453 out of memory case.
14454
3a62d00d
AS
144552011-10-04 Andreas Schwab <schwab@redhat.com>
14456
14457 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14458 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14459 pass it down.
14460 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14461 elf_machine_rela, elf_machine_lazy_rel.
14462 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14463 (ELF_DYNAMIC_DO_REL): Likewise.
14464 (ELF_DYNAMIC_DO_RELA): Likewise.
14465 (ELF_DYNAMIC_RELOCATE): Likewise.
14466 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14467 to ELF_DYNAMIC_DO_REL.
14468 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14469 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14470 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14471 elf_machine_rela.
14472 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14473 skip_ifunc, don't call ifunc function if non-zero.
14474 (elf_machine_rela): Likewise.
14475 (elf_machine_lazy_rel): Likewise.
14476 (elf_machine_lazy_rela): Likewise.
14477 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14478 (elf_machine_lazy_rel): Likewise.
14479 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14480 Likewise.
14481 (elf_machine_lazy_rel): Likewise.
14482 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14483 Likewise.
14484 (elf_machine_lazy_rel): Likewise.
14485 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14486 (elf_machine_lazy_rel): Likewise.
14487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14488 (elf_machine_lazy_rel): Likewise.
14489 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14490 (elf_machine_lazy_rel): Likewise.
14491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14492 (elf_machine_lazy_rel): Likewise.
14493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14494 (elf_machine_lazy_rel): Likewise.
14495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14496 (elf_machine_lazy_rel): Likewise.
14497
68577918
UD
144982011-09-28 Ulrich Drepper <drepper@gmail.com>
14499
14500 * nss/nss_files/files-init.c (_nss_files_init): Use static
14501 initialization for all the *_traced_file variables.
14502
68822d74
AS
145032011-09-28 Andreas Schwab <schwab@redhat.com>
14504
14505 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14506
2056100b
RM
145072011-09-27 Roland McGrath <roland@hack.frob.com>
14508
14509 [BZ #13226]
14510 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14511
32c76b63
AS
145122011-09-27 Andreas Schwab <schwab@redhat.com>
14513
14514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14515 Reread the line before reparsing it.
14516
bf972c9d
AS
145172011-09-26 Andreas Schwab <schwab@redhat.com>
14518
14519 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14520
e057a1b5
JM
145212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14522 Maxim Kuvyrkov <maxim@codesourcery.com>
14523 Joseph Myers <joseph@codesourcery.com>
14524
14525 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14526 if needed for __stack_chk_guard.
14527
bc7e1c36
RM
145282011-09-19 Roland McGrath <roland@hack.frob.com>
14529
ecb1482f
RM
14530 * sysdeps/posix/spawni.c (script_execute): Always define it.
14531 It will be optimized away if unused.
14532 (maybe_script_execute): New function.
14533 (__spawni): Call it.
14534
bc7e1c36
RM
14535 * Makerules: Don't include tls.make.
14536 (config-tls): Always set to thread.
14537 * tls.make.c: File removed.
14538
1c3b002b
MF
145392011-09-19 Mike Frysinger <vapier@gentoo.org>
14540
14541 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14542 * config.make.in (CPPFLAGS-config): New substituted variable.
14543
2840865d
UD
145442011-09-15 Ulrich Drepper <drepper@gmail.com>
14545
88738eb6
UD
14546 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14547
cbf645a6 14548 [BZ #13192]
2840865d
UD
14549 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14550 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14551
b402e91a
RM
145522011-09-15 Roland McGrath <roland@hack.frob.com>
14553
14554 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14555 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14557 (CALL_FAIL): Likewise.
14558 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14559 (CALL_FAIL): Macro removed.
14560 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14561
4c1a1f71
UD
145622011-09-15 Ulrich Drepper <drepper@gmail.com>
14563
14564 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14565 for __FINITE_MATH_ONLY__ == 1.
14566
edc121be
AS
145672011-09-15 Andreas Schwab <schwab@redhat.com>
14568
14569 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14570 __ieee754_sqrt instead of sqrt.
14571 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14572 __ieee754_sqrtf instead of sqrtf.
14573 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14574 __floorf instead of floorf.
14575 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14576 __floorf, __truncf instead of floorf, truncf.
14577
cd205654
UD
145782011-09-14 Ulrich Drepper <drepper@gmail.com>
14579
ee4d0315
UD
14580 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14581
cd205654
UD
14582 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14583 __extern_always_inline.
14584 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14585 32-bit.
14586
48b67d71
AS
145872011-09-14 Andreas Schwab <schwab@redhat.com>
14588
14589 * elf/rtld.c (dl_main): Also relocate in dependency order when
14590 doing symbol dependency testing.
14591
1ae12c75
AS
145922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14593
14594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14595 Always define `refsym'.
14596
995a80df
AS
145972011-09-13 Andreas Schwab <schwab@redhat.com>
14598
e529793b
AS
14599 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14600 (__FD_ELT): Renamed from __FDELT.
14601 * misc/bits/select2.h (__FD_ELT): Likewise.
14602 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14603 __FD_MASK instead of __FDELT, __FDMASK.
14604 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14605 Likewise.
14606 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14607 Likewise.
14608
52d4fef8
AS
14609 * elf/Makefile (gen-ldd): Fix pattern.
14610
995a80df
AS
14611 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14612 (init_tls): Likewise.
14613
8682f8b0
UD
146142011-09-12 Ulrich Drepper <drepper@gmail.com>
14615
14616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14617
de82006d
AS
146182011-09-12 Andreas Schwab <schwab@redhat.com>
14619
a7c8e6a1
AS
14620 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14621 `struct cmsghdr *' instead of `void *'.
14622 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14623 Likewise.
14624
0f31fe77
AS
146252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14626
14627 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14628 if non-absolute.
14629 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14630 ldd_rewrite_script.
0f31fe77 14631
32b4c839
UD
146322011-09-11 Ulrich Drepper <drepper@gmail.com>
14633
83cd1420
UD
14634 * configure.in: Remove --with-tls option.
14635 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14636 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14637 out in case it is missing.
14638 * sysdeps/ia64/elf/configure.in: Likewise.
14639 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14640 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14641 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14642 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14643 * sysdeps/sh/elf/configure.in: Likewise.
14644 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14645 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14646 * sysdeps/x86_64/elf/configure.in: Likewise.
14647 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14648 * sysdeps/mach/hurd/tls.h: Likewise.
14649
633f745d
UD
14650 [BZ #13067]
14651 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14652
f318beb8
UD
14653 [BZ #13090]
14654 * configure.in: Fix use of AC_INIT.
14655
32b4c839
UD
14656 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14657
3ce1f295
UD
146582011-09-10 Ulrich Drepper <drepper@gmail.com>
14659
bb016596
UD
14660 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14661 __set_errno.
8e58439c
UD
14662 * malloc/hooks.c: Likewise.
14663
aebae053 14664 [BZ #11929]
02d46fc4
UD
14665 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14666 variables statically.
14667 (narenas): Initialize.
14668 (list_lock): Initialize.
bb016596
UD
14669 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14670 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14671 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14672 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14673 Add initializers to main_arena and mp_.
14674 (malloc_state): Remove pagesize member. Change all users to use
14675 GLRO(dl_pagesize).
14676
14677 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14678 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14679 is always initialized.
14680
22a89187
UD
14681 * malloc/malloc.c: Removed unused configurations and dead code.
14682 * malloc/arena.c: Likewise.
14683 * malloc/hooks.c: Likewise.
02d46fc4 14684 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14685
d063d164
UD
14686 * include/tls.h: Removed. USE___THREAD must always be defined.
14687 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14688 * elf/dl-libc.c: Likewise.
14689 * elf/dl-tsd.c: Likewise.
14690 * include/errno.h: Likewise.
14691 * include/netdb.h: Likewise.
14692 * include/resolv.h: Likewise.
14693 * inet/herrno-loc.c: Likewise.
14694 * inet/herrno.c: Likewise.
14695 * malloc/arena.c: Likewise.
14696 * malloc/hooks.c: Likewise.
14697 * malloc/malloc.c: Likewise.
14698 * resolv/res-state.c: Likewise.
14699 * resolv/res_libc.c: Likewise.
14700 * sysdeps/i386/dl-machine.h: Likewise.
14701 * sysdeps/ia64/dl-machine.h: Likewise.
14702 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14703 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14704 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14705 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14706 * sysdeps/sh/dl-machine.h: Likewise.
14707 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14708 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14709 * sysdeps/unix/i386/sysdep.S: Likewise.
14710 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14711 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14716 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14720 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14721 * sysdeps/x86_64/dl-machine.h: Likewise.
14722 * tls.make.c: Likewise.
14723
3ce1f295
UD
14724 * configure.in: Remove --with-__thread option. Make tests for
14725 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14726 tls_model attribute fail if no support is available. Remove
14727 USE_IN_LIBIO.
14728 * Makeconfig: Adjust for dropped configure option. All features are
14729 now mandatory.
14730 * Makerules: Likewise.
14731 * Versions.def: Likewise.
14732 * argp/argp-fmtstream.c: Likewise.
14733 * argp/argp-fmtstream.h: Likewise.
14734 * argp/argp-help.c: Likewise.
14735 * assert/assert.c: Likewise.
14736 * config.h.in: Likewise.
14737 * config.make.in: Likewise.
14738 * configure: Likewise.
14739 * configure.in: Likewise.
14740 * csu/Versions: Likewise.
14741 * csu/init.c: Likewise.
14742 * elf/tst-audit2.c: Likewise.
14743 * elf/tst-tls10.c: Likewise.
14744 * elf/tst-tls10.h: Likewise.
14745 * elf/tst-tls11.c: Likewise.
14746 * elf/tst-tls12.c: Likewise.
14747 * elf/tst-tls14.c: Likewise.
14748 * elf/tst-tlsmod11.c: Likewise.
14749 * elf/tst-tlsmod12.c: Likewise.
14750 * elf/tst-tlsmod13.c: Likewise.
14751 * elf/tst-tlsmod13a.c: Likewise.
14752 * elf/tst-tlsmod14a.c: Likewise.
14753 * elf/tst-tlsmod15b.c: Likewise.
14754 * elf/tst-tlsmod16a.c: Likewise.
14755 * elf/tst-tlsmod16b.c: Likewise.
14756 * elf/tst-tlsmod7.c: Likewise.
14757 * elf/tst-tlsmod8.c: Likewise.
14758 * elf/tst-tlsmod9.c: Likewise.
14759 * gmon/gmon.c: Likewise.
14760 * grp/fgetgrent_r.c: Likewise.
14761 * grp/putgrent.c: Likewise.
14762 * hurd/fopenport.c: Likewise.
14763 * include/libc-symbols.h: Likewise.
14764 * include/tls.h: Likewise.
14765 * intl/gettextP.h: Likewise.
14766 * intl/loadinfo.h: Likewise.
14767 * locale/global-locale.c: Likewise.
14768 * locale/localeinfo.h: Likewise.
14769 * mach/devstream.c: Likewise.
14770 * malloc/arena.c: Likewise.
14771 * malloc/set-freeres.c: Likewise.
14772 * misc/err.c: Likewise.
14773 * misc/getttyent.c: Likewise.
14774 * misc/mntent_r.c: Likewise.
14775 * posix/getopt.c: Likewise.
14776 * posix/wordexp.c: Likewise.
14777 * pwd/fgetpwent_r.c: Likewise.
14778 * resolv/Versions: Likewise.
14779 * resolv/res_hconf.c: Likewise.
14780 * shadow/fgetspent_r.c: Likewise.
14781 * shadow/putspent.c: Likewise.
14782 * stdio-common/printf_fphex.c: Likewise.
14783 * stdio-common/tmpfile.c: Likewise.
14784 * stdlib/abort.c: Likewise.
14785 * stdlib/fmtmsg.c: Likewise.
14786 * sunrpc/auth_unix.c: Likewise.
14787 * sunrpc/clnt_perr.c: Likewise.
14788 * sunrpc/clnt_tcp.c: Likewise.
14789 * sunrpc/clnt_udp.c: Likewise.
14790 * sunrpc/clnt_unix.c: Likewise.
14791 * sunrpc/openchild.c: Likewise.
14792 * sunrpc/svc_simple.c: Likewise.
14793 * sunrpc/svc_tcp.c: Likewise.
14794 * sunrpc/svc_udp.c: Likewise.
14795 * sunrpc/svc_unix.c: Likewise.
14796 * sunrpc/xdr.c: Likewise.
14797 * sunrpc/xdr_array.c: Likewise.
14798 * sunrpc/xdr_rec.c: Likewise.
14799 * sunrpc/xdr_ref.c: Likewise.
14800 * sunrpc/xdr_stdio.c: Likewise.
14801
1248c1c4
PB
148022011-09-09 Ulrich Drepper <drepper@gmail.com>
14803
14804 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14805
148062011-07-03 Andreas Jaeger <aj@suse.de>
14807
14808 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14809 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14810 regenerate with gen-libm-tests.pl.
14811
148122010-05-12 Petr Baudis <pasky@suse.cz>
14813
14814 [BZ #11589]
14815 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14816 around j0() zero points by switching to j1().
14817 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14820 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14821
f22e1074
UD
148222011-09-09 Ulrich Drepper <drepper@gmail.com>
14823
f19009c1
UD
14824 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14825 instead of 0.
14826 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14827 instead of 0. .
14828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14829 Patch in part by Pavel Roskin <proski@gnu.org>.
14830
3f8cc204
UD
14831 [BZ #13138]
14832 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14833 realloc.
14834 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14835 Free memory block if necessary.
14836
f22e1074
UD
14837 [BZ #12847]
14838 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14839 be NULL. Don't lock in this case.
14840
0a2349f9
RM
148412011-09-09 Roland McGrath <roland@hack.frob.com>
14842
14843 * elf/elf.h (ELFOSABI_GNU): New macro.
14844 (ELFOSABI_LINUX): Define to that.
14845
f3cdd467
DZ
148462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14847
14848 * string/strncat.c (strncat): Undef the symbol in case it has been
14849 defined in bits/string.h.
14850
74718d13
UD
148512011-09-09 Ulrich Drepper <drepper@gmail.com>
14852
633e9e0f
UD
14853 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14854
0a2349f9 14855 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14856 link map.
14857
f9924780
AJ
148582011-08-17 Andreas Jaeger <aj@suse.de>
14859
14860 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14861
7f5517aa
PP
148622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14863 Ian Lance Taylor <iant@google.com>
14864
14865 * math/libm-test.inc (lround_test): New testcase.
14866 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14867
762011fe
UD
148682011-09-08 Ulrich Drepper <drepper@gmail.com>
14869
92963737
UD
14870 * Makefile: Remove support for automatic cvs check-ins.
14871 * Makerules: Likewise.
14872 * config.make.in: Likewise.
14873 * configure.in: Likewise.
14874 * intl/Makefile: Likewise.
14875 * locale/Makefile: Likewise.
14876 * po/Makefile: Likewise.
14877 * posix/Makefile: Likewise.
14878 * sysdeps/gnu/Makefile: Likewise.
14879 * sysdeps/mach/hurd/Makefile: Likewise.
14880 * sysdeps/sparc/sparc32/Makefile: Likewise.
14881
b0727fd8
JS
14882 [BZ #13118]
14883 * posix/Makefile (bug-regex32-ENV): Define.
14884 Patch by John Stanley <jpsinthemix@verizon.net>.
14885
a0f33f99
UD
14886 * misc/Makefile (headers): Add bits/select2.h.
14887 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14888 * misc/bits/select2.h: New file.
14889 * include/bits/select2.h: New file.
14890 * debug/Makefile (routines): Add fdelt_chk.
14891 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14892 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14893 FD_ISSET.
14894 * debug/fdelt_chk.c: New file.
14895
762011fe
UD
14896 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14897 * wcsmbs/test-wmemcmp.c: Likewise.
14898 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14899 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14900
149012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14902
14903 * string/Makefile (strop-tests): Add memcmp.
14904 * string/test-wmemcmp.c: New file.
14905 * string/test-memcmp.c: Add wmemcmp support.
14906
7f513ec8
RM
149072011-09-08 Roland McGrath <roland@hack.frob.com>
14908
0442afb4
RM
14909 [BZ #13153]
14910 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14911 2011-07-19 change.
14912
7f513ec8
RM
14913 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14914 garbage value in a __mach_port_mod_refs call in the cases of the
14915 task-self and thread-self ports.
14916
a12b2239
ST
149172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14918
14919 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14920
610f9ab4
AS
149212011-09-08 Andreas Schwab <schwab@redhat.com>
14922
7f513ec8 14923 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14924
48882a1a
LD
149252011-09-07 Ulrich Drepper <drepper@gmail.com>
14926
b49865be
UD
14927 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14928
fdc86bc9
UD
14929 * elf/dl-libc.c (dlerror_run): Pass back error code from
14930 dl_catch_error.
14931
c966526a
UD
14932 [BZ #13123]
14933 * elf/dl-load.c (lose): Free l_origin if it is valid.
14934
48882a1a
LD
14935 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14936 names.
14937 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14938 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14940 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14941 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14942 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14943
77a2a8b4
AZ
149442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14945
14946 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14947 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14948 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14949 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14950 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14951 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14952 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14953 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14954 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14955 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14956
24f579d8
AM
149572011-08-15 Alan Modra <amodra@gmail.com>
14958
14959 [BZ #13092]
14960 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14961 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14962 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14963 ppc_mcount to static-only-routines.
14964 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14965 __mcount_internal.
14966 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14967 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14968
3d4837df
UD
149692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14970
14971 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14972 for finite and infinity parameters.
14973
22700377
WS
149742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14975
14976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14977 and add nop instructions for throughput optimization.
14978 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14979
5025581e
WS
149802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14981
14982 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14983 aligned copy for power7 with vector-scalar instructions.
14984 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14985
08a300c9
L
149862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14987
14988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14989 AVX check.
14990
59178ef9
AS
149912011-09-07 Andreas Schwab <schwab@redhat.com>
14992
14993 [BZ #13144]
14994 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14995 last change.
14996
e38ba7ab
UD
149972011-09-07 Ulrich Drepper <drepper@gmail.com>
14998
14999 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15000 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15001 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15002 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15003 clock_gettime.
15004
d53a73ac
UD
150052011-09-06 Ulrich Drepper <drepper@gmail.com>
15006
fc8bffcc
UD
15007 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15008 Forgot to demangle the pointer.
15009
ceaa0c5d
UD
15010 * sysdeps/i386/sysdep.h: Define atom_text_section.
15011 * sysdeps/x86_64/sysdep.h: Likewise.
15012 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15013 section with atom_text_section.
15014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15015 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15016 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15017 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15018 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15019
a77d3c17
UD
15020 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15021 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15022 already be defined. Change to take two parameters and don't assign
15023 result to variable. Adjust all users.
15024 Define INTERNAL_GETTIME if not already defined.
15025 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15026 call.
15027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15028 HAVE_CLOCK_GETTIME_VSYSCALL.
15029 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15030
d53a73ac
UD
15031 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15032 gettimeofday vsyscall, just use time.
15033
a8f84144
AS
150342011-09-06 Andreas Schwab <schwab@redhat.com>
15035
15036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15037 <errno.h>.
15038
ef606249
UD
150392011-09-06 Ulrich Drepper <drepper@gmail.com>
15040
15041 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15042 syscall on x86-64.
15043 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15044 syscall.
15045 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15047 syscall if possible.
15048
6585cb60
UD
150492011-09-05 Ulrich Drepper <drepper@gmail.com>
15050
15051 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15052 e_ident. Don't pass to find_mapsXX.
15053 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15054
a5f524e4
LD
150552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15056
15057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15058 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15059 * sysdeps/x86_64/multiarch/strchr.S: Update.
15060 Check bit_slow_BSF bit.
15061 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15062 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15063 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15064
554881ef
UD
150652011-09-05 Ulrich Drepper <drepper@gmail.com>
15066
d96de963
UD
15067 [BZ #13134]
15068 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15069 before glibc 2.15.
15070 (tryshell): Define.
15071 (__spawni): Change last parameter to be flag. Test
15072 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15073 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15074 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15075 * posix/spawni.c: Likewise.
15076 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15077 * posix/spawnp.c: Likewise. Change normal version to use
15078 SPAWN_XFLAGS_USE_PATH.
15079 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15080 SPAWN_XFLAGS_TRY_SHELL.
15081
d48e5868
UD
15082 [BZ #13150]
15083 * posix/glob.h: Remove gcc 1.x support.
15084
554881ef
UD
15085 [BZ #13068]
15086 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15087
693fb948
LD
150882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15089
15090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15091 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15092 strrchr-sse2-bsf
15093 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15094 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15095 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15096 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15097 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15098 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15099
1b48c537
UD
151002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15101
49d42c37
UD
15102 * sysdeps/x86_64/wcscmp.S: New file.
15103
1b48c537
UD
15104 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15105 wcscmp-c wcscmp-sse2
15106 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15107 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15108 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15109 * wcsmbs/wcscmp.c: Allow renaming.
15110
15c95c5d
DM
151112011-09-05 David S. Miller <davem@davemloft.net>
15112
15113 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15114 stack slot, rather than the struct return pointer slot.
15115 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15116 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15118 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15119
2f0ad8f3
UD
151202011-09-05 Ulrich Drepper <drepper@gmail.com>
15121
d88ae418
UD
15122 * po/ja.po: Update from translation team.
15123
2f0ad8f3
UD
15124 [BZ #13144]
15125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15126 kernel in 64-bit binaries.
15127
5f4318d1
DM
151282011-09-01 David S. Miller <davem@davemloft.net>
15129
15130 * elf/elf.h (HWCAP_SPARC_*): Move to..
15131 * sysdeps/sparc/sysdep.h: this new file and add new values.
15132 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15133 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15134 _DL_HWCAP_COUNT to 24.
15135 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15136 entries.
15137 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15138 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15139 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15141 instead of magic constants.
15142 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15143
3ba57516
DM
151442011-08-31 David S. Miller <davem@davemloft.net>
15145
15146 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15148 Reimplement to do errno handling inline.
15149 (SYSCALL_ERROR_HANDLER): New macro.
15150 (__SYSCALL_STRING): Do not do errno handling in asm.
15151 (__CLONE_SYSCALL_STRING): Delete.
15152 (__INTERNAL_SYSCALL_STRING): Delete.
15153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15154 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15155 (PSEUDO): Reimplement to do errno handling inline.
15156 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15157 (SYSCALL_ERROR_HANDLER): New macro.
15158 (__SYSCALL_STRING): Do not do errno handling in asm.
15159 (__CLONE_SYSCALL_STRING): Delete.
15160 (__INTERNAL_SYSCALL_STRING): Delete.
15161 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15162 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15163 i386.
15164 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15165 (inline_syscall*): Add 'err' argument.
15166 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15167 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15168 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15169 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15170
15171 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15172 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15173
2bc17433
AS
151742011-08-30 Andreas Schwab <schwab@redhat.com>
15175
15176 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15177
fbeb5f4d
JO
151782011-08-29 Jiri Olsa <jolsa@redhat.com>
15179
15180 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15181 directive.
15182
ad69cc26
DM
151832011-08-24 David S. Miller <davem@davemloft.net>
15184
15185 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15186
39dd69df
AS
151872011-08-24 Andreas Schwab <schwab@redhat.com>
15188
15189 * elf/Makefile: Add rules to build and run unload8 test.
15190 * elf/unload8.c: New file.
15191 * elf/unload8mod1.c: New file.
15192 * elf/unload8mod1x.c: New file.
15193 * elf/unload8mod2.c: New file.
15194 * elf/unload8mod3.c: New file.
15195
15196 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15197 it wasn't used.
15198
2c0b250a
DM
151992011-08-23 David S. Miller <davem@davemloft.net>
15200
15201 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15202 subtract stack bias.
15203 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15204 %sp not %fp in calculations.
15205 (_JMPBUF_UNWINDS_ADJ): Likewise.
15206
22044b48
DM
15207 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15208 (aio_suspend): Call it to force an exception region around the
15209 AIO_MISC_WAIT() invocation.
15210
2cae4995
AS
152112011-08-23 Andreas Schwab <schwab@redhat.com>
15212
15213 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15214 backslash.
15215
873a772e
AJ
152162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15217
15218 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15219 protection macro.
15220 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15221 and <dl-machine.h>.
15222 (Elf64_FuncDesc): Remove.
15223
25ad0df1
DM
152242011-08-22 David S. Miller <davem@davemloft.net>
15225
15226 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15227 sigaltstack check, add missing cfi directives.
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15229 missing cfi directives, and sigaltstack handling.
15230
e888bcbe
AS
152312011-08-16 Andreas Schwab <schwab@redhat.com>
15232
15233 [BZ #11724]
15234 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15235 object is seen twice.
15236 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15237
15238 * elf/Makefile (distribute): Add tst-initorder2.c.
15239 (tests): Add tst-initorder2.
15240 (modules-names): Add tst-initorder2a tst-initorder2b
15241 tst-initorder2c tst-initorder2d. Add rules to build them.
15242 ($(objpfx)tst-initorder2.out): New rule.
15243 * elf/tst-initorder2.c: New file.
15244 * elf/tst-initorder2.exp: New file.
15245
87162f46
AS
152462011-08-22 Andreas Schwab <schwab@redhat.com>
15247
70538b7f
AS
15248 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15249
f55ffe58
AS
15250 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15251 dependencies back to end of function.
15252
87162f46
AS
15253 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15254 $(elfobjdir)/ld.so.
15255
91b392a4
UD
152562011-08-21 Ulrich Drepper <drepper@gmail.com>
15257
15258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15259 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15261 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15262 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15263 of __vdso_gettimeofday.
15264 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15265 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15266 attribute_hidden.
15267 (_libc_vdso_platform_setup): Remove initialization of
15268 __vdso_gettimeofday and __vdso_time.
15269
5c43483f
UD
152702011-08-20 Ulrich Drepper <drepper@gmail.com>
15271
775a77e7
UD
15272 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15273 and fgetc_unlocked.
15274 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15275 getc_unlocked.
89f447ed 15276
49c74ba9
UD
15277 * elf/dl-open.c (add_to_global): Report additions to the global scope
15278 for LD_DEBUG=scopes.
15279 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15280 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15281
5c43483f
UD
15282 [BZ #13114]
15283 * stdio-common/Makefile (tests): Add bug24.
15284 * stdio-common/bug24.c: New file.
15285
a101b025
AJ
152862011-08-19 Andreas Jaeger <aj@suse.de>
15287
15288 [BZ #13114]
15289 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15290 non-existant file when using close-on-exec mode.
15291
c88f1766
UD
152922011-08-20 Ulrich Drepper <drepper@gmail.com>
15293
0276a718
UD
15294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15295 the very first instruction.
15296
c88f1766
UD
15297 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15298 the CFI state in the end.
15299 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15300 inclusion of dl-trampoline.h.
15301 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15302
51ccffa0
AS
153032011-08-19 Andreas Schwab <schwab@redhat.com>
15304
94d7165f
AS
15305 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15306 expectations for long double.
15307
51ccffa0
AS
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15309 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15310
fd708658 153112011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15312
15313 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15314 artificual limit depends upon the system page size.
15315
44f0a71e
UD
153162011-08-17 Ulrich Drepper <drepper@gmail.com>
15317
15318 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15319 * resolv/Makefile: Define CFLAGS-libresolv.
15320
8de79a24
AS
153212011-08-17 Andreas Schwab <schwab@redhat.com>
15322
15323 * nss/makedb.c (compute_tables): Make variables used in nested
15324 function static.
15325
27724598
UD
153262011-08-17 Ulrich Drepper <drepper@gmail.com>
15327
c5305d88
UD
15328 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15329 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15330 if buffer was too small.
15331
27724598
UD
15332 * elf/pldd.c (main): Attach to all threads in the process.
15333 Rewrite /proc handling to use *at functions.
15334
076fe015
UD
153352011-08-16 Ulrich Drepper <drepper@gmail.com>
15336
174baab3
UD
15337 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15338 specifies first scope to show.
15339 (dl_open_worker): Update callers. Move printing scope of new
15340 object to before the relocation.
44f0a71e 15341 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15342 * sysdeps/generic/ldsodefs.h: Update declaration.
15343
076fe015
UD
15344 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15345 string for the scope number.
15346
a60df2c3
UD
153472011-08-14 Ulrich Drepper <drepper@gmail.com>
15348
15349 * nscd/servicescache.c (cache_addserv): Make sure written is always
15350 initialized.
15351
5e4287d1
RM
153522011-08-14 Roland McGrath <roland@hack.frob.com>
15353
85ae0589
RM
15354 * sysdeps/i386/i486/bits/atomic.h
15355 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15356 statement expression, so as to suppress "set but not used" warning.
15357 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15358
69f63097
RM
15359 * string/strncat.c (STRNCAT): Use prototype definition.
15360
675456ef
RM
15361 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15362 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15363 -Iprograms here.
15364 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15365 (localedef-modules): Add localedef.
15366 (locale-modules): Add locale.
15367
5e4287d1
RM
15368 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15369 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15370 to avoid a warning.
15371
9c96ff23
DM
153722011-08-14 David S. Miller <davem@davemloft.net>
15373
15374 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15375 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15376
f9ddf089
UD
153772011-08-13 Ulrich Drepper <drepper@gmail.com>
15378
44f0a71e 15379 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15380 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15381 * elf/rtld.c (dl_main): Set l_name of vDSO.
15382 Call _dl_show_scope when DL_DEBUG_SCOPES.
15383 (process_dl_debug): Recognize scopes flag and also set it for all.
15384 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15385 Declare _dl_show_scope.
15386
1dc27704
UD
15387 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15388 (do_dlopen): Pass caller_dlopen to dl_open.
15389 (__libc_dlopen_mode): Initialize caller_dlopen.
15390
f9ddf089
UD
15391 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15392 of libc. Make tolower call locale-independent. Optimize a bit by
15393 using isdigit instead of isalnum.
15394 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15395
9ac533d3
UD
153962011-08-12 Ulrich Drepper <drepper@gmail.com>
15397
15398 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15399 was a dependency or dynamically loaded.
15400
89edf2e9
UD
154012011-08-11 Ulrich Drepper <drepper@gmail.com>
15402
8e999d29
UD
15403 * intl/l10nflist.c: Allow architecture-specific pop function.
15404 * sysdeps/x86_64/l10nflist.c: New file.
15405
89edf2e9
UD
15406 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15407 classification.
15408
14d96785
AS
154092011-08-10 Andreas Schwab <schwab@redhat.com>
15410
15411 * include/dirent.h: Add libc_hidden_proto for scandirat and
15412 scandirat64. Don't declare __scandirat64.
15413 * dirent/scandirat.c: Add libc_hidden_def.
15414 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15415 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15416
6761ac04
DM
154172011-08-10 David S. Miller <davem@davemloft.net>
15418
15419 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15420 enum.
15421 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15422 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15423 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15424
c55fbd1e
UD
154252011-08-09 Ulrich Drepper <drepper@gmail.com>
15426
15427 * Versions.def [libc]: Add GLIBC_2.15.
15428 * dirent/Makefile (routines): Add scandirat and scandirat64.
15429 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15430 GLIBC_2.15.
15431 * dirent/dirent.h: Declare scandirat and scandirat64.
15432 * dirent/scandirat.c: New file.
15433 * dirent/scandirat64.c: New file.
15434 * sysdeps/wordsize-64/scandirat.c: New file.
15435 * sysdeps/wordsize-64/scandirat64.c: New file.
15436 * dirent/opendir.c: Define opendirat.
15437 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15438 using scandirat.
15439 * dirent/scandir64.c: Adjust for scandir.c change.
15440 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15441 __scandirat64, and __scandir_cancel_handler.
15442 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15443 additional parameter and use openat instead of open (outside of ld.so).
15444 Add new __opendir as wrapper around __opendirat.
15445 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15446 here without requiring old scandirat implementation.
15447
879165f2
UD
154482011-08-08 Ulrich Drepper <drepper@gmail.com>
15449
15450 * dirent/scandir.c (cancel_handler): Renamed to
15451 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15452 defined. Adjust users.
15453 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15454 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15455
cb7e923b
UD
154562011-08-04 Ulrich Drepper <drepper@gmail.com>
15457
16292edd
UD
15458 * string/test-string.h (IMPL): Use __STRING to expand name and then
15459 stringify it.
15460
cb7e923b
UD
15461 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15462 of cleanups.
15463
cff82933
LD
154642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15465
15466 * string/Makefile: Update.
15467 (strop-tests): Append strncat.
15468 * string/test-wcscmp.c: New file.
15469 New comprehensive test for wcscmp.
15470 * string/test-strcmp.c: Update.
15471 (WIDE): New define.
15472
9be9bfcc
AS
154732011-07-22 Andreas Schwab <schwab@redhat.com>
15474
15475 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15476 line.
15477
2e96f1c7
AS
154782011-07-26 Andreas Schwab <schwab@redhat.com>
15479
15480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15481 encoding to ACE if AI_IDN.
15482
85188888
JJ
154832011-08-01 Jakub Jelinek <jakub@redhat.com>
15484
15485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15486 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15487
5fa16e9b
LD
154882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15489
15490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15491 Fix overflow bug in strncat.
15492 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15493
15494 * string/test-strncat.c: Update.
15495 Add new tests for checking overflow bugs.
15496
154972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15498
15499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15500 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15501 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15502 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15504 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15505 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15506 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15507 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15508
15509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15510 (USE_AS_STRCAT): Define.
15511 Add strcat and strncat support.
15512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15513
8c1a459f
AS
155142011-07-25 Andreas Schwab <schwab@redhat.com>
15515
15516 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15517 __n bigger than INT_MAX+1.
15518 (__strncmp_g): Likewise.
15519
bba33c28
UD
155202011-07-23 Ulrich Drepper <drepper@gmail.com>
15521
798be72d
UD
15522 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15523 * libio/stido.h: Likewise.
15524
8accd4dc
UD
15525 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15526 (AF_NFC): Define.
15527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15528 (AF_NFC): Define.
15529
cbff0d96
UD
15530 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15531 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15533 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15535
9191c04a
UD
15536 [BZ #13021]
15537 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15538 installed.
15539
bba33c28
UD
15540 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15541 typo.
15542 (_dl_x86_64_save_sse): Likewise.
15543
90f139dd
UD
155442011-07-22 Ulrich Drepper <drepper@gmail.com>
15545
1aae088a
UD
15546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15547 OSXSAVE.
15548 (_dl_x86_64_save_sse): Likewise.
15549
8e2045f5
UD
15550 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15551
90f139dd
UD
15552 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15553
1d002f25
AS
155542011-07-21 Andreas Schwab <schwab@redhat.com>
15555
15556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15557 change.
15558 (_dl_x86_64_save_sse): Use correct AVX check.
15559
21137f89
UD
155602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15561
15562 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15563 bug in strncpy/strncat.
15564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15565
a65c0b7a
UD
155662011-07-21 Ulrich Drepper <drepper@gmail.com>
15567
15568 * string/tester.c (test_strcat): Add tests for different alignments
15569 of source and destination.
15570 (test_strncat): Likewise.
15571
6986b98a
UD
155722011-07-20 Ulrich Drepper <drepper@gmail.com>
15573
90bb2039
UD
15574 [BZ #12852]
15575 * posix/glob.c (glob): Check passed in values before using them in
15576 expressions to avoid some overflows.
15577 (glob_in_dir): Likewise.
15578
5644ef54
UD
15579 [BZ #13007]
15580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15581 check for AVX enablement so that we don't crash with old kernels and
15582 new hardware.
15583 * elf/tst-audit4.c: Add same checks here.
15584 * elf/tst-audit6.c: Likewise.
15585
15586 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15587
bfc9dc9b
AS
155882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15589
15590 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15591
702e64bb
UD
155922011-07-20 Ulrich Drepper <drepper@gmail.com>
15593
15594 * po/cs.po: Update from translation team.
15595 * po/bg.po: Likewise.
15596
295e904f
MP
155972011-07-12 Marek Polacek <mpolacek@redhat.com>
15598
15599 * misc/sys/cdefs.h: Add support for const attribute.
15600 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15601 to gnu_dev_{major,minor,makedev} functions.
15602
3ff94596
MP
156032011-07-20 Marek Polacek <mpolacek@redhat.com>
15604
15605 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15606
28b59fca
AS
156072011-07-20 Andreas Schwab <schwab@redhat.com>
15608
15609 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15610 strlen results.
15611
19df733e
AK
156122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15613
15614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15615 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15616 register in order to avoid conflicts with the soft frame pointer
15617 being held in r11 when necessary.
15618 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15619 (INTERNAL_VSYSCALL_NCS): Likewise.
15620
c8835729
MP
156212011-07-14 Marek Polacek <mpolacek@redhat.com>
15622
15623 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15624 * elf/dl-fini.c (_dl_fini): Adjust caller.
15625 * elf/dl-close.c (_dl_close_worker): Likewise.
15626 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15627
b902330c
MP
156282011-07-15 Marek Polacek <mpolacek@redhat.com>
15629
8991e135
MP
15630 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15631 "aux_cache->nlibs < 0".
15632
b902330c
MP
15633 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15634 in the reload-count case.
15635
99710781
LD
156362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15637
15638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15639 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15640 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15641 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15642 * sysdeps/x86_64/multiarch/strcat.S: New file.
15643 * sysdeps/x86_64/multiarch/strncat.S: New file.
15644 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15645 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15646 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15647 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15649 (USE_AS_STRCAT): Define.
15650 Add strcat and strncat support.
15651 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15652 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15653 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15654 * string/strncat.c: Update.
15655 (USE_AS_STRNCAT): Define.
15656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15657 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15658 and i7.
15659 * sysdeps/x86_64/multiarch/init-arch.h
15660 (bit_Prefer_PMINUB_for_stringop): New.
15661 (index_Prefer_PMINUB_for_stringop): Likewise.
15662 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15663 bit_Prefer_PMINUB_for_stringop.
15664
7dc6bd90
UD
156652011-07-19 Ulrich Drepper <drepper@gmail.com>
15666
15667 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15668 buffer64.
15669 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15670 of casting of buffer.
15671 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15672 buffer32 and buffer64.
15673 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15674 writes instead of casting of buffer.
15675 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15676 buffer32.
15677 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15678 casting of buffer.
15679
e0e72284
AS
156802011-07-19 Andreas Schwab <schwab@redhat.com>
15681
15682 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15683
feb1eb0b
UD
156842011-07-19 Ulrich Drepper <drepper@gmail.com>
15685
15686 * nscd/nscd.c (termination_handler): Don't do anything for a database
15687 if it has not yet been initialized.
15688
298711ff
UD
156892011-07-18 Ulrich Drepper <drepper@gmail.com>
15690
15691 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15692
156932011-07-15 Marek Polacek <mpolacek@redhat.com>
15694
15695 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15696
f9d68389
UD
156972011-07-18 Ulrich Drepper <drepper@gmail.com>
15698
15699 * po/nl.po: Update from translation team.
15700 * po/sv.po: Likewise.
15701
db290cf5
RM
157022011-07-16 Roland McGrath <roland@hack.frob.com>
15703
15704 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15705 now disallowed by GCC.
5c550700 15706
fd5e21c7
RM
15707 * configure.in (use-default-link): Default to yes if a test -shared
15708 link meets our qualifications.
15709 * configure: Regenerated.
15710
5c550700
RM
15711 * config.make.in (output-format): New variable.
15712 * configure.in: Check for ld --print-output-format support.
15713 * configure: Regenerated.
15714 * Makerules ($(common-objpfx)format.lds)
15715 [$(output-format) != unknown]: Just use $(output-format),
15716 instead of the linker-script munging.
15717
9fa2c032
RM
157182011-07-14 Roland McGrath <roland@hack.frob.com>
15719
a6928d51
RM
15720 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15721 of $(common-objpfx)shlib.lds.
15722 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15723
661607b3
RM
15724 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15725 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15726
9fa2c032
RM
15727 * configure.in (-z relro check): Adjust test code to add a large
15728 writable data section after it.
15729 * configure: Regenerated.
15730
defe9061
RM
157312011-07-11 Roland McGrath <roland@hack.frob.com>
15732
15733 * configure.in (-z relro check): Fix test code to make the variable
15734 truly const.
15735 * configure: Regenerated.
15736
319b9ad4
UD
157372011-07-11 Ulrich Drepper <drepper@gmail.com>
15738
15739 * nscd/nscd.h (struct traced_file): Define.
15740 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15741 elements. Add traced_files.
15742 (inotify_fd): Declare.
15743 (register_traced_file): Declare.
15744 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15745 (inotify_fd): Export.
15746 (resolv_conf_descr): Remove.
15747 (nscd_init): Move inotify descriptor creation to main.
15748 Don't register files for notification here.
15749 (register_traced_file): New function.
15750 (invalidate_cache): Don't use reset_res to determine whether to call
15751 res_init, go through the list of registered files.
15752 (main_loop_poll): The inotify descriptors are now stored in the
15753 structures for the traced files.
15754 (main_loop_epoll): Likewise
15755 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15756 to __nss_disable_nscd.
15757 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15758 for a database anymore. Check the records for all the registered
15759 files instead.
15760 * nss/Makefile (libnss_files-routines): Add files-init.
15761 (libnss_db-routines): Add db-init.
15762 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15763 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15764 * nss/nss_db/db-init.c: New file.
15765 * nss/nss_files/files-init.c: New file.
15766 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15767 __nss_lookup_function.
15768 (__nss_lookup_function): Call nss_load_library.
15769 (nss_load_all_libraries): New function.
15770 (__nss_disable_nscd): Take parameter with callback function for files
15771 to register. Set is_nscd. Load all the DSOs for the NSS modules
15772 used for the cached services.
15773 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15774 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15775 options for features to all the files in nscd.
15776
15777 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15778
23bee3e8
RM
157792011-07-10 Roland McGrath <roland@hack.frob.com>
15780
15781 * csu/elf-init.c (__libc_csu_init): Comment typo.
15782
46a5b7f0
UD
157832011-07-09 Ulrich Drepper <drepper@gmail.com>
15784
15785 * po/pl.po: Update from translation team.
15786 * po/ja.po: Likewise.
15787 * po/ru.po: Likewise.
15788 * po/ko.po: Likewise.
15789 * po/fr.po: Likewise.
15790
d30cf5bb
RM
157912011-07-09 Roland McGrath <roland@hack.frob.com>
15792
113ddea4
RM
15793 * configure.in (.ctors/.dtors header and trailer check):
15794 Use an empirical test on a built program.
15795 * configure: Regenerated.
15796
574920b4
RM
15797 * configure.in (-z relro check): Use an empirical test on a built DSO.
15798 Detect, but do not require, on ia64.
15799 * configure: Regenerated.
15800
d30cf5bb
RM
15801 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15802 Update tests that use readelf to use $READELF instead.
15803 * configure: Regenerated.
15804
8538fdb3
UD
158052011-07-08 Ulrich Drepper <drepper@gmail.com>
15806
15807 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15808 if the result is not used.
15809
04d08991
AJ
158102011-07-05 Andreas Jaeger <aj@suse.de>
15811
15812 [BZ#9696]
15813 * stdlib/tst-strtod.c: Add testcase.
15814
de283087
AD
158152011-07-07 Ulrich Drepper <drepper@gmail.com>
15816
4e5f31c8 15817 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15818 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15819 The latter has a higher limit. Take additional parameter to pass to
15820 the new function.
15821 (__pathconf): Pass file to __statfs_link_max.
15822 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15823 __statfs_link_max.
15824 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15825 __statfs_link_max.
15826
de283087
AD
15827 [BZ #12868]
15828 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15829 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15830 Handle Lustre.
15831 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15832 (__statfs_filesize_max): Likewise.
15833 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15834
c75fa153
AJ
158352011-07-05 Andreas Jaeger <aj@suse.de>
15836
15837 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15838
1a544854
UD
158392011-07-06 Marek Polacek <mpolacek@redhat.com>
15840
15841 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15842 `status' variable.
15843 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15844 Likewise.
15845
6f0eec67
UD
158462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15847
15848 * Makefile (strop-tests): Add strncat.
15849 * string/test-strncat.c: New file.
15850
aae30307
UD
158512011-06-30 Marek Polacek <mpolacek@redhat.com>
15852
15853 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15854
c0cfb5eb
UD
158552011-06-21 Andreas Jaeger <aj@suse.de>
15856
15857 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15858 Copy rule from iconvdata/Makefile.
15859
01636b21
UD
158602011-07-06 Ulrich Drepper <drepper@gmail.com>
15861
15862 [BZ #12922]
15863 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15864 but no long options are defined, just return 'W'.
15865
9895c8bc
UD
158662011-06-22 Marek Polacek <mpolacek@redhat.com>
15867
15868 [BZ #9696]
15869 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15870
5d4cf042
UD
158712011-07-06 Ulrich Drepper <drepper@gmail.com>
15872
15873 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15874 netgroups to read.
960e5535 15875 (innetgr): Likewise.
5d4cf042 15876
751eb97e
RM
158772011-07-05 Roland McGrath <roland@hack.frob.com>
15878
15879 * config.make.in (install_root): Default to $(DESTDIR).
15880
f15f1e45
UD
158812011-07-05 Ulrich Drepper <drepper@gmail.com>
15882
15883 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15884
4e34ac6a
RM
158852011-07-02 Roland McGrath <roland@hack.frob.com>
15886
5e9b6af4
RM
15887 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15888
84f9ea0f
RM
15889 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15890 containing directory rather than embedding absolute directory names.
15891
ea5ee9f7
RM
15892 * scripts/check-local-headers.sh: Rewritten using awk.
15893 Match by word, not by line. Print error messages for matches.
15894 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15895
1b74661a
RM
15896 * Makerules [shlib-lds-flags empty]:
15897 ($(common-objpfx)libc_pic.opts): New target.
15898 ($(common-objpfx)libc_pic.os.clean): New target.
15899 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15900
15901 * config.make.in (OBJCOPY): New variable.
15902 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15903 * configure: Regenerated.
15904
f781ef40
RM
15905 * config.make.in (use-default-link): New variable.
15906 * configure.in (use_default_link): Grok --with-default-link to set it.
15907 * configure: Regenerated.
15908 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15909 (shlib-lds, shlib-lds-flags): Define to empty.
15910
2d4fa81e
RM
15911 * Makerules (shlib-lds): New variable.
15912 (shlib-lds-flags): New variable.
15913 (build-shlib, build-moduile, build-module-asneeded): Use it.
15914 ($(common-objpfx)libc.so): Use $(shlib-lds).
15915 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15916 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15917
31fffa6b
RM
15918 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15919 DT_FLAGS/DT_FLAGS_1 with zero flags.
15920
4e34ac6a
RM
15921 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15922 linker script munging.
15923
fcfc776b
UD
159242011-07-02 Ulrich Drepper <drepper@gmail.com>
15925
15926 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15927 as 128-bit value.
15928 * crypt/sha512.c (sha512_process_block): Perform total addition using
15929 128-bit if possible.
15930 (__sha512_finish_ctx): Likewise.
15931 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15932 as 64-bit value.
15933 * crypt/sha256.c (SWAP64): Define.
15934 (sha256_process_block): Perform total addition using 64-bit if
15935 possible.
15936 (__sha256_finish_ctx): Likewise.
15937
99231d9a
UD
159382011-07-01 Ulrich Drepper <drepper@gmail.com>
15939
15940 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15942 * nscd/hstcache.c (cache_addhst): Likewise.
15943 * nscd/grpcache.c (cache_addgr): Likewise.
15944 * nscd/aicache.c (addhstaiX): Likewise
15945 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15946
445b4a53
TK
159472011-07-01 Thorsten Kukuk <kukuk@suse.de>
15948
15949 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15950 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15951 * nscd/hstcache.c (cache_addhst): Likewise.
15952 * nscd/grpcache.c (cache_addgr): Likewise.
15953 * nscd/aicache.c (addhstaiX): Likewise
15954
6d4d8e8e
AS
159552011-07-01 Andreas Schwab <schwab@redhat.com>
15956
15957 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15958 domain only when needed.
15959
89f654c5
AS
159602011-06-30 Andreas Schwab <schwab@redhat.com>
15961
15962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15963 is always restored.
15964
cf3b23ff
UD
159652011-06-29 Ulrich Drepper <drepper@gmail.com>
15966
15967 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15968 are re-adding the entry.
15969 * nscd/servicescache.c (cache_addserv): Likewise.
15970
751626f9
AJ
159712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15972
15973 * sysdeps/generic/dl-irel.h: fix protection against multiple
15974 inclusions.
15975 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15976
9113ea1f
UD
159772011-06-28 Ulrich Drepper <drepper@gmail.com>
15978
5c0b8d90
UD
15979 [BZ #12935]
15980 * malloc/memusage.sh: Fix quoting in message.
15981 * debug/xtrace.sh: Likewise.
15982
9113ea1f
UD
15983 * configure.in: Remove support for --experimental-malloc option, make
15984 it the default.
15985 * config.make.in: Likewise.
15986 * malloc/Makefile: Likewise.
15987
a4172181
AS
159882011-06-27 Andreas Schwab <schwab@redhat.com>
15989
15990 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15991 two-byte characters.
15992
78a7eee7
RM
159932011-06-27 Roland McGrath <roland@hack.frob.com>
15994
62bede13
RM
15995 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15996 AC_CACHE_CHECK invocation.
15997 * configure: Regenerated.
15998
78a7eee7
RM
15999 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16000
5ce33a62
UD
160012011-06-27 Ulrich Drepper <drepper@gmail.com>
16002
034807a9
UD
16003 [BZ #12350]
16004 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16005 bit from old_res_options.
16006
4902da17
UD
16007 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16008
5ce33a62
UD
16009 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16010 value type for setfct.
16011
c2344f56
L
160122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16013
16014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16015 __gettimeofday instead of gettimeofday.
16016
68468076
UD
160172011-06-26 Ulrich Drepper <drepper@gmail.com>
16018
16019 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16020
acb0d739
L
160212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16022
16023 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16024
16025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16026 info.
16027
8912479f
L
160282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16029
16030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16031 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16032 strcpy-sse2-unaligned strncpy-sse2-unaligned
16033 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16034 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16035 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16036 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16037 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16040 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16041 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16042 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16043 (STRCPY): Support SSE2 and SSSE3 versions.
16044
d5495a11
UD
160452011-06-24 Ulrich Drepper <drepper@gmail.com>
16046
16047 [BZ #12874]
16048 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16049 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16050 kernels which artificially limit size of requests.
16051
0b1cbaae
L
160522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16053
16054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16055 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16056 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16057 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16058 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16059 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16060 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16061 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16063 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16064 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16065 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16066 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16067 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16068 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16070 Enable unaligned load optimization for Intel Core i3, i5 and i7
16071 processors.
16072 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16073 Define.
16074 (index_Fast_Unaligned_Load): Define.
16075 (HAS_FAST_UNALIGNED_LOAD): Define.
16076
07f494a0
MP
160772011-06-23 Marek Polacek <mpolacek@redhat.com>
16078
16079 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16080
fa3fc0fe
UD
160812011-06-22 Ulrich Drepper <drepper@gmail.com>
16082
16083 [BZ #12907]
16084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16085 until it is clear that the information is realy needed.
16086 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16087
e12df166
AS
160882011-06-22 Andreas Schwab <schwab@redhat.com>
16089
16090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16091
852eb34d
UD
160922011-06-22 Ulrich Drepper <drepper@gmail.com>
16093
84e2a551
UD
16094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16095 /sys/devices/system/cpu/online if it is usable.
16096
852eb34d
UD
16097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16098 reading the information from the /proc filesystem to once a second.
16099
6e502e19
UD
161002011-06-21 Andreas Jaeger <aj@suse.de>
16101
16102 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16103 NULL after inclusion of kernel headers.
16104
75d39ff2
UD
161052011-06-21 Ulrich Drepper <drepper@gmail.com>
16106
51f9aa6a
UD
16107 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16108 calls to internal_setent.
16109
c0244a9d
UD
16110 [BZ #12885]
16111 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16112 addresses using gethostbyname4_r ignore IPv4 addresses.
16113
c5e3c2ae
UD
16114 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16115 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16116
75d39ff2
UD
16117 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16118
42675c6f
DM
161192011-06-20 David S. Miller <davem@davemloft.net>
16120
16121 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16122 inclusions.
16123 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16124
16125 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16126 (elf_irel): Use it.
16127 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16128 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16129 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16130 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16131 * sysdeps/x86_64/dl-irel.h: Likewise.
16132
16133 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16134 * elf/dl-sym.c: Likewise.
16135
57912a71
UD
161362011-06-15 Ulrich Drepper <drepper@gmail.com>
16137
16138 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16139 need to dereference resplen2.
16140
ee22793d
AS
161412011-06-14 Andreas Schwab <schwab@redhat.com>
16142
16143 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16144
a9e836b0
UD
161452011-06-15 Ulrich Drepper <drepper@gmail.com>
16146
77fb9117
UD
16147 * Makeconfig: Define vardbdir and inst_vardbdir.
16148 * nss/Makefile: Add rules to install db-Makefile.
16149
40c1b22c
UD
16150 * nss/nss_db/db-XXX.c: Cleanup.
16151
9f2da732
UD
16152 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16153 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16154 GLIBC_PRIVATE.
16155 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16156 * nss/makedb.c: Implement -g option to specify that value strings
16157 are generated and should not be added to table iterated over for
16158 get*ent calls.
16159 * nss/nss_db/db-initgroups.c: New file.
16160
82e9a1f7
UD
16161 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16162 interface.
16163
c41af17e
UD
16164 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16165 (internal_getgrouplist): Adjust to name change.
16166 Update use_initgroups_entry if this is not the first call.
16167 * nss/databases.def: Add initgroups entry.
16168
a9e836b0
UD
16169 * nss/makedb.c (compute_tables): Check result of multiple hash table
16170 sizes to minimize maximum chain length.
16171
2666d441
UD
161722011-06-14 Ulrich Drepper <drepper@gmail.com>
16173
16174 * Versions.def: Add entry for libnss_db.
16175 * shlib-versions: Likewise.
16176 * nss/Makefile: Add rules to build libnss_db.
16177 * nss/Versions: Add libnss_db information. Organize libnss_files
16178 entries better.
16179 * nss/db-Makefile: Add gshadow support. Change rules for the new
16180 makedb progra. Some minor improvements to generate smaller files.
16181 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16182 here from...
16183 * nss/makedb.c: ...here.
16184 Improve database format to be smaller and require less memory at
16185 runtime.
16186 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16187 db anymore.
16188 * nss/nss_db/db-netgrp.c: Likewise.
16189 * nss/nss_db/db-open.c: Likewise.
16190 * nss/nss_files/flies-XXX.x: Adjust comments.
16191 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16192 * nss/nss_files/files-grp.c: Likewise.
16193 * nss/nss_files/files-hosts.c: Likewise.
16194 * nss/nss_files/files-network.c: Likewise.
16195 * nss/nss_files/files-proto.c: Likewise.
16196 * nss/nss_files/files-pwd.c: Likewise.
16197 * nss/nss_files/files-rpc.c: Likewise.
16198 * nss/nss_files/files-service.c: Likewise.
16199 * nss/nss_files/files-sgrp.c: Likewise.
16200 * nss/nss_files/files-spwd.c: Likewise.
16201 * nss/nss_db/db-alias.c: Removed.
16202 * nss/nss_db/dummy-db.h: Removed.
16203
9ee76b5a
UD
162042011-06-02 Ulrich Drepper <drepper@gmail.com>
16205
16206 * nss/makedb.c: Rewritten to not use database library.
16207 * nss/Makefile: Update to build new makedb program.
16208
c71ca1f8
AJ
162092011-06-14 Andreas Jaeger <aj@suse.de>
16210
16211 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16212 memset declaration.
16213
3154bfb8
UD
162142011-06-10 Andreas Schwab <schwab@redhat.com>
16215
16216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16217 tmpbuf.
16218
b350afab
RM
162192011-06-10 Roland McGrath <roland@hack.frob.com>
16220
decd4e50
RM
16221 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16222 * elf/Makefile ($(objpfx)ld.so): Likewise.
16223
5615eaf2
RM
16224 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16225 Don't list ld.so twice in dependencies.
16226
16227 * posix/bug-regex31.c: Include <stdlib.h>.
16228
16229 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16230
16231 * nis/nss_compat/compat-spwd.c
16232 (getspent_next_nss_netgr): Remove unused variable.
16233 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16234
16235 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16236 nonmembers" output to use the right array.
16237
16238 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16239
16240 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16241
16242 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16243 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16244 * catgets/gencat.c (read_input_file): Likewise.
16245 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16246
16247 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16248 variable definition inside #if's controlling its use.
16249
16250 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16251
16252 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16253
16254 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16255
16256 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16257 unreachable code.
16258
16259 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16260
b68e08db
RM
16261 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16262 * configure: Regenerated.
16263
b350afab
RM
16264 * Makerules: Revert last change.
16265 * elf/Makefile: Likewise.
16266
28368601
RM
162672011-06-09 Roland McGrath <roland@hack.frob.com>
16268
16269 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16270 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16271 (reloc-link): Likewise.
16272
11988f8f
UD
162732011-06-09 Ulrich Drepper <drepper@gmail.com>
16274
16275 * elf/Makefile: Add rules to build pldd.
16276 * elf/pldd.c: New file.
16277 * elf/pldd-xx.c: New file.
16278
e80fab37
UD
162792011-06-07 Ulrich Drepper <drepper@gmail.com>
16280
16281 * version.h: Update for 2.15 development version.
16282
9b849836
DM
162832011-06-07 David S. Miller <davem@davemloft.net>
16284
16285 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16286 ifuncs.
16287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16288 elf_machine_lazy_rel): Likewise.
16289 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16291 elf_machine_lazy_rel): Likewise.
16292 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16293 dl_hwcap via passed in argument.
16294 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16295 Likewise.
16296
5a31b283
AK
162972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16298
16299 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16300
069e52f8
RM
163012011-06-06 Roland McGrath <roland@hack.frob.com>
16302
16303 [BZ #12849]
16304 * manual/fdl-1.1.texi: New file, verbatim from:
16305 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16306 * manual/lgpl-2.1.texi: New file, verbatim from:
16307 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16308 * manual/Makefile (licenses): New variable, list those new file names.
16309 (texis): Use it.
16310 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16311
16312 * manual/fdl.texi: File removed.
16313 * manual/lesser.texi: File removed.
16314 * manual/libc.texinfo (Copying, Documentation License):
16315 Use new @include file names, put @appendix directive before @include.
16316
f16846a5
JJ
163172011-06-04 Jakub Jelinek <jakub@redhat.com>
16318
16319 [BZ #12841]
16320 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16321 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16322 (mq_open): Add __NTH.
16323
3d29045b
L
163242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16325
16326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16327 Assume Intel Core i3/i5/i7 processor if AVX is available.
16328
8c297311
UD
163292011-05-31 Ulrich Drepper <drepper@gmail.com>
16330
16331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16332 typo.
16333
c8fc0c91
UD
163342011-05-31 Andreas Schwab <schwab@redhat.com>
16335
16336 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16337 memory. Use alloca_account. Fix memory leak when retrying.
16338
5b27a807
UD
163392011-05-31 Ulrich Drepper <drepper@gmail.com>
16340
356f8bc6
UD
16341 * version.h (RELEASE): Bump for 2.14 release.
16342 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16343
5b27a807
UD
16344 * config.make.in (RANLIB): Remove entry.
16345
01f16ab0
UD
163462011-05-30 Ulrich Drepper <drepper@gmail.com>
16347
41fce8bd
UD
16348 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16349 (libc.pot): Work around missing support for .ksh extension in xgettext.
16350
4769ae77
UD
16351 [BZ #12684]
16352 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16353 if both request failed.
16354 (send_dg): In case of server errors clear resplen or *resplen2.
16355
6b1e7d19
UD
16356 [BZ #12454]
16357 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16358 when there are multiple maps.
16359 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16360 (_dl_fini): Remove test here.
16361
01f16ab0
UD
16362 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16363
b1ebd700
UD
163642011-05-29 Ulrich Drepper <drepper@gmail.com>
16365
7ae22829
UD
16366 [BZ #12350]
16367 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16368 bit from old_res_options.
16369 (gaih_inet): Likewise.
16370
553149f6 16371 [BZ #11099]
18a84741 16372 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16373 as signed.
16374
652ffab1
UD
16375 * resolv/res_init.c (res_setoptions): Make the code more compact.
16376
16985fd0
UD
16377 [BZ #11558]
16378 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16379 set RES_USEVC.
16380
0464f746
UD
16381 [BZ #11634]
16382 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16383
7d17596c
UD
16384 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16385
cf6bbbd7
UD
16386 [BZ #11781]
16387 * malloc/malloc.h: Declare malloc hook variables as volatile.
16388
13f1ab36
UD
16389 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16390 in last patch.
16391
b1ebd700
UD
16392 [BZ #11799]
16393 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16394 raise in the comment.
80e2212d
UD
16395 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16397 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16398
ce67228d
UD
163992011-05-28 Ulrich Drepper <drepper@gmail.com>
16400
8887a920
UD
16401 [BZ #12811]
16402 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16403 grow the buffers more if it already has to be sufficient.
16404 (build_wcs_upper_buffer): Likewise.
16405 * posix/regexec.c (check_matching): Likewise.
16406 (clean_state_log_if_needed): Likewise.
16407 (extend_buffers): Don't enlarge buffers beyond size of the input
16408 buffer.
16409 Patches mostly by Emil Wojak <emil@wojak.eu>.
16410 * posix/bug-regex32.c: New file.
16411 * posix/Makefile (tests): Add bug-regex32.
16412
4f031072
UD
16413 * locale/findlocale.c (_nl_find_locale): Return right away if
16414 _nl_explode_name failed.
16415 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16416
d0478f0c
UD
16417 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16418
de81b246
UD
16419 * debug/xtrace.sh: Unify messages.
16420 * malloc/memusage.sh: Likewise.
16421
c738465a
UD
16422 [BZ #12813]
16423 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16424 time symbol from vDSO. Substitute with vsyscall if not available.
16425 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16426 __vdso_time.
16427
f1f929d7
UD
16428 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16429 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16430 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16431 Add sendmmsg and internal_sendmmsg.
16432 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16433 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16434 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16435
ce67228d
UD
16436 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16437 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16438 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16439
e57420c6
UD
164402011-05-27 Ulrich Drepper <drepper@gmail.com>
16441
a8509ca5
UD
16442 [BZ #12813]
16443 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16444 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16445 available.
16446 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16447 __vdso_getcpu.
16448
e57420c6
UD
16449 [BZ #12814]
16450 * iconvdata/Makefile (tests): Add bug-iconv9.
16451 * iconvdata/bug-iconv9.c: New file.
16452
4d07db15
AS
164532011-05-27 Andreas Schwab <schwab@redhat.com>
16454
16455 [BZ #12814]
16456 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16457
ea486f69
JJ
164582011-05-25 Jakub Jelinek <jakub@redhat.com>
16459
16460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16461 (struct user_regs_struct): Change intcs field back to cs.
16462
6f038433
UD
164632011-05-25 Ulrich Drepper <drepper@gmail.com>
16464
16465 * po/ja.po: Update from translation team.
16466
67f86a25
UD
164672011-05-23 Ulrich Drepper <drepper@gmail.com>
16468
16469 [BZ #12795]
16470 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16471 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16472
def7fbd6
AS
164732011-05-20 Andreas Schwab <schwab@redhat.com>
16474
16475 * stdlib/longlong.h: Update from GCC.
16476
f50ef8f1
AS
164772011-05-23 Andreas Schwab <schwab@redhat.com>
16478
16479 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16480 parameter name.
16481 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16482 Add parameter name.
16483 (__sysconf): Pass it down.
16484
de7ce8f1
UD
164852011-05-22 Ulrich Drepper <drepper@gmail.com>
16486
f2962a71
UD
16487 [BZ #12671]
16488 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16489 some situations.
16490 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16491 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16492 add in in __libc_use_alloca calls. Adjust callers.
16493 (glob): Use malloc in some situations.
16494
de7ce8f1
UD
16495 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16496 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16497 pltexit.
16498
aec84f53
UD
164992011-05-21 Ulrich Drepper <drepper@gmail.com>
16500
05bb4a68
UD
16501 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16502 and CLOCK_BOOTTIME_ALARM.
16503
7ea72f99
UD
16504 [BZ #12782]
16505 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16506 is returned.
16507
7e4afad5
UD
16508 * string/_strerror.c (__strerror_r): Print negative errors as signed
16509 numbers.
16510
8e211fec
UD
16511 [BZ #12777]
16512 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16513 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16514 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16515
f7d82dc9
UD
16516 * configure.in: Fix typo in redirection and correct removal of test
16517 files in two cases.
16518
cc9e536d
UD
16519 [BZ #12788]
16520 * locale/setlocale.c (new_composite_name): Fix test to check for
16521 identical name of all categories.
16522
aec84f53
UD
16523 [BZ #12792]
16524 * libio/filedoalloc.c (local_isatty): New function.
16525 (_IO_file_doallocate): Use local_isatty.
16526 * stdio-common/perror.c (perror): In case a new stream is used
16527 forward the stream error.
16528 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16529 error flag.
16530
78e64fdc
RT
165312011-05-20 Ulrich Drepper <drepper@gmail.com>
16532
34a9094f
UD
16533 [BZ #11869]
16534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16535 alloca.
16536 * include/alloca.h (extend_alloca_account): Define.
16537
78e64fdc
RT
16538 [BZ #11857]
16539 * posix/regex.h: Fix comments with documentation of user-accessible
16540 fields after compilation and describe correct free'ing of pattern
16541 after re_compile_pattern.
16542 Patch by Reuben Thomas <rrt@sc3d.org>.
16543
457bddfc
RA
165442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16545
16546 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16547 and -mno-altivec to prevent the compiler from using Altivec and/or
16548 VSX instructions when the corresponding registers are not available.
16549
a4527b51
AS
165502011-05-19 Andreas Schwab <schwab@redhat.com>
16551
16552 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16553
ed690b2f
UD
165542011-05-19 Ulrich Drepper <drepper@gmail.com>
16555
16556 * libio/freopen.c (freopen): Use __dup2, not dup2.
16557 * libio/freopen64.c (freopen64): Likewise.
16558
8db73634
L
165592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16560
16561 [BZ #12775]
16562 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16563 * math/Makefile (tests): Add test-powl.
16564 (CFLAGS-test-powl.c): Define.
16565 * math/test-powl.c: New file.
16566
0a197a9d
L
165672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16568
16569 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16570
ee30c380
UD
165712011-05-17 Ulrich Drepper <drepper@gmail.com>
16572
16573 [BZ #11837]
16574 * iconvdata/gb18030.c: Update to GB18020-2005.
16575
6ce75379
UD
165762011-05-16 Ulrich Drepper <drepper@gmail.com>
16577
a4b89fd8
AR
16578 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16579 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16580 Patch by Aharon Robbins <arnold@skeeve.com>.
16581
ea389b12
UD
16582 [BZ #11892]
16583 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16584 on the stack.
16585
68a3f91f
UD
16586 [BZ #11895]
16587 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16588 through underflows.
16589
15cc7dd1
UD
16590 [BZ #12766]
16591 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16592 point to strings before performing equality test for error_one_per_line
16593 mode.
16594
f3799213
UD
16595 [BZ #11697]
16596 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16597
d79a9c94
UD
16598 [BZ #11820]
16599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16600 (struct user_fpregs_struct): Avoid __uint*_t types.
16601
56e5eb46
UD
16602 [BZ #6420]
16603 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16604 symbol info. Use it instead of calling _dl_addr locally.
16605 (lock_and_info): New function.
16606 (tr_freehook): Call lock_and_info and pass symbol info as additional
16607 parameter to tr_where.
16608 (tr_mallochook): Likewise.
16609 (tr_reallochook): Likewise.
16610 (tr_memalignhook): Likewise.
16611
6ce75379
UD
16612 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16613 used and couldn't be at all thread-safe.
16614
f8a3b5bf
UD
166152011-05-15 Ulrich Drepper <drepper@gmail.com>
16616
94b7cc37
UD
16617 * libio/freopen.c (freopen): Don't close old file descriptor
16618 before the new one is opened. Instead dup the new file descriptor
16619 to the old one after the new stream is created.
16620 * libio/freopen64.c (freopen64): Likewise.
16621 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16622 * libio/fileops.c (_IO_new_file_close_it): Handle new
16623 _IO_FLAGS2_NOCLOSE flag.
16624 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16625 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16626 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16627 _IO_FLAGS2_NOCLOSE flag.
16628 * include/unistd.h: Add hidden_proto for dup3.
16629 Define __have_dup3.
16630 * io/dup3.c: Define hidden symbol.
16631 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16632
bd25564e
UD
16633 [BZ #7101]
16634 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16635 when an incomplete long option is used.
16636 * posix/tst-getopt_long1.c: New file.
16637 * posix/Makefile (tests): Add tst-getopt_long1.
16638
c84cfef4
UD
16639 [BZ #10138]
16640 * scripts/config.guess: Update from autoconf-2.68.
16641 * scripts/config.sub: Likewise.
16642
3b85df27
UD
16643 [BZ #10157]
16644 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16645 tests into ...
16646 (has_cpuclock): ...this. New function.
16647 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16648 macro here based on has_cpuclock code.
16649
15a856b1
UD
16650 [BZ #10149]
16651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16652 First byte (not low byte) is now always NUL.
16653 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16654
05f399e6
UD
16655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16656 Use non-cancelable interfaces.
16657
10a52685 16658 [BZ #9809]
94ecc67d
UD
16659 * locale/iso-639.def: Add entry for Sorani.
16660
f8a3b5bf
UD
16661 [BZ #11901]
16662 * include/stdlib.h: Move include protection to the right place.
16663 Define abort_msg_s. Declare __abort_msg with it.
16664 * stdlib/abort.c (__abort_msg): Adjust type.
16665 * assert/assert.c (__assert_fail_base): New function. Majority
16666 of code from __assert_fail. Allocate memory for __abort_msg with
16667 mmap.
16668 (__assert_fail): Now call __assert_fail_base.
16669 * assert/assert-perr.c: Remove bulk of implementation. Use
16670 __assert_fail_base.
16671 * include/assert.hL Declare __assert_fail_base.
16672 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16673 mmap.
16674 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16675
1af4e298
UD
166762011-05-14 Ulrich Drepper <drepper@gmail.com>
16677
f8a3b5bf 16678 [BZ #11952]
d26dfc60
MG
16679 [BZ #12453]
16680 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16681 until all modules are registered in the DTV.
16682 * elf/Makefile: Add rules to build and run tst-tls19.
16683 * elf/tst-tls19.c: New file.
16684 * elf/tst-tls19mod1.c: New file.
16685 * elf/tst-tls19mod2.c: New file.
16686 * elf/tst-tls19mod3.c: New file.
16687 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16688
2fc54d6f
UD
16689 [BZ #12083]
16690 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16691 correctly.
16692
98d76b46
UD
16693 [BZ #12601]
16694 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16695 two-byte sequence errors.
16696 * iconvdata/Makefile (tests): Add bug-iconv8.
16697 * iconvdata/bug-iconv8.c: New file.
16698
da3c19ef
UD
16699 [BZ #12626]
16700 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16701 buf2 definition.
16702
ca408c15
UD
16703 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16704
d6f67f7d
UD
16705 [BZ #12432]
16706 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16707 (dummy_getcfa): New function.
16708 (init): Get _Unwind_GetCFA address, use dummy if not found.
16709 (backtrace_helper): In recursion check, also check whether CFA changes.
16710 (__backtrace): Completely initialize arg.
16711
1af4e298 16712 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16713 storing incomplete byte sequence in state object. Avoid testing for
16714 guaranteed too small input if we know there is enough data available.
1af4e298 16715
da62f81b
AS
167162011-05-11 Andreas Schwab <schwab@redhat.com>
16717
16718 * Makeconfig (+link-pie): Indent.
16719 * Rules (binaries-pie): Define if $(have-fpie) and
16720 $(build-shared).
16721 (binaries-shared): Also filter out $(binaries-pie).
16722 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16723 * nscd/Makefile (others-pie): Add nscd.
16724 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16725 ($(objpfx)nscd): Remove command override.
16726 * login/Makefile (others-pie): Add pt_chown.
16727 ($(objpfx)pt_chown): Remove command override.
16728 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16729 remove command overrides.
16730
fcabc0f8
UD
167312011-05-13 Ulrich Drepper <drepper@gmail.com>
16732
20030ae6
UD
16733 * libio/tst_putwc.c: Fix error messages.
16734
fcabc0f8
UD
16735 [BZ #12724]
16736 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16737 currently writing and seek to current position when not.
16738 * libio/Makefile (tests): Add bug-fclose1.
16739 * libio/bug-fclose1.c: New file.
16740
320a5dc0
PB
167412011-05-12 Ulrich Drepper <drepper@gmail.com>
16742
16743 [BZ #12511]
16744 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16745 don't set DF_1_NODELETE here.
16746 (do_lookup_x): When entering new entry test for copy relocation
16747 and if necessary set DF_1_NODELETE flag.
16748 * elf/tst-unique4.cc: New file.
16749 * elf/tst-unique4.h: New file.
16750 * elf/tst-unique4lib.cc: New file.
16751 * elf/Makefile: Add rules to build and run tst-unique4.
16752 Patch by Piotr Bury <pbury@goahead.com>.
16753
22836f52
UD
167542011-05-11 Ulrich Drepper <drepper@gmail.com>
16755
f574184a
UD
16756 [BZ #12052]
16757 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16758
e1fb097f
UD
16759 [BZ #12625]
16760 * misc/mntent_r.c (addmntent): Flush the stream after the output
16761
22836f52
UD
16762 [BZ #12393]
16763 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16764 (is_trusted_path_normalize): Skip initial colon. Append slash
16765 to empty buffer. Duplicate is_trusted_path code but allow
16766 constructed patch to be prefix.
16767 (is_dst): Allow $ORIGIN followed by /.
16768 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16769 Correct testing of result of is_trusted_path_normalize
16770 (decompose_rpath): Fix warning.
16771
7b3b0b2a
UD
167722011-05-10 Ulrich Drepper <drepper@gmail.com>
16773
16774 [BZ #11257]
16775 * grp/initgroups.c (internal_getgrouplist): When we found the service
16776 list through the initgroups entry in nsswitch.conf do not always
16777 continue on a successful lookup. Don't always use the
eac80ce2 16778 __nss_group_database value if it is set.
7b3b0b2a
UD
16779 * nss/nsswitch.conf (initgroups): Change action for successful db
16780 lookup to continue for compatibility.
16781
2a81eaa5
UD
167822011-05-09 Ulrich Drepper <drepper@gmail.com>
16783
be97a69e
UD
16784 [BZ #11532]
16785 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16786 and CP774 modules.
16787 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16788 and CP774 modules.
16789 * iconvdata/tst-tables.sh: Likewise.
16790 * iconvdata/cp770.c: New file.
16791 * iconvdata/cp771.c: New file.
16792 * iconvdata/cp772.c: New file.
16793 * iconvdata/cp773.c: New file.
16794 * iconvdata/cp774.c: New file.
16795 * iconvdata/testdata/CP770: New file.
16796 * iconvdata/testdata/CP770..UTF8: New file.
16797 * iconvdata/testdata/CP771: New file.
16798 * iconvdata/testdata/CP771..UTF8: New file.
16799 * iconvdata/testdata/CP772: New file.
16800 * iconvdata/testdata/CP772..UTF8: New file.
16801 * iconvdata/testdata/CP773: New file.
16802 * iconvdata/testdata/CP773..UTF8: New file.
16803 * iconvdata/testdata/CP774: New file.
16804 * iconvdata/testdata/CP774..UTF8: New file.
16805
16806 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16807 END CHARMAP line.
16808 * iconvdata/gen-8bit-gap.sh: Likewise.
16809 * iconvdata/gen-8bit.sh: Likewise.
16810
c1e9e399
UD
16811 * locale/iso-639.def: Add ary entry.
16812
24c55fb3 16813 [BZ #11258]
96b4b1b0
UD
16814 * locale/C-translit.h.in: Add U20A1 transliteration.
16815
bdc2f971
KB
16816 [BZ #12178]
16817 * locale/iso-639.def: Add wae entry.
16818 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16819
2952b117
UD
16820 [BZ #12545]
16821 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16822 for n.
16823
2a81eaa5
UD
16824 [BZ #12711]
16825 * locale/C-translit.h.in: Add entry for U20B9.
16826 Patch by pravin.d.s@gmail.com.
16827
28377d1b
UD
168282011-05-08 Ulrich Drepper <drepper@gmail.com>
16829
7fb90fb8
UD
16830 [BZ #12713]
16831 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16832 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16833 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16834 in rtld. Use *stat64.
7fb90fb8 16835 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16836 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16837 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16838 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16839 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16840 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16841 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16842 __fstatat64 macros.
7fb90fb8
UD
16843 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16844 * dirent/rewinddir.c: Add libc_hidden_def.
16845 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16846 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16847
28377d1b
UD
16848 * include/dirent.h (__alloc_dir): Add flags parameter.
16849 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16850 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16851 __alloc_dir.
16852 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16853 from fdopendir if O_CLOEXEC is already set.
16854
66bdbaa4
AM
168552011-03-15 Alan Modra <amodra@gmail.com>
16856
16857 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16858 l_tls_firstbyte_offset non-zero. Save padding offset in
16859 l_tls_firstbyte_offset for later use.
16860 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16861 freeing static tls block.
16862
95721191
JN
168632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16864
16865 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16866 where #ifdef was intended. The intent is to prevent ARG_MAX from
16867 being defined by the kernel headers.
16868
f87dfb1f
UD
168692011-05-07 Ulrich Drepper <drepper@gmail.com>
16870
16871 [BZ #12734]
16872 * resolv/resolv.h: Define RES_NOTLDQUERY.
16873 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16874 no-tld-query and set RES_NOTLDQUERY.
16875 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16876 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16877 modern BIND to search name as TLD unless forbidden.
16878
47c3cd7a
UD
168792011-05-07 Petr Baudis <pasky@suse.cz>
16880 Ulrich Drepper <drepper@gmail.com>
16881
16882 [BZ #12393]
16883 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16884 (is_trusted_path): ...to here.
c1e9ea35 16885 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16886 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16887 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16888
8a35c912
PP
168892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16890
16891 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16892 __BEGIN/__END_DECLS.
16893
acd41f47
UD
168942011-05-06 Ulrich Drepper <drepper@gmail.com>
16895
16896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16897 NSS_STATUS_NOTFOUND if no record was found.
16898
597df647
AS
168992011-05-05 Andreas Schwab <schwab@redhat.com>
16900
16901 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16902 (headers-not-in-tirpc): Remove rpc/netdb.h
16903 * resolv/netdb.h: Revert last change.
16904
b9af1301
PP
169052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16906
16907 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16908 circular dependency between libgcc.a and libc.a.
16909
4e34d5f5
AS
169102011-05-05 Andreas Schwab <schwab@redhat.com>
16911
16912 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16913 * nis/Makefile: Don't install rpcsvc/*.
16914 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16915 instead of <rpc/types.h>.
16916 (MAXHOSTNAMELEN): Define.
16917
00ee369c
AS
169182011-05-03 Andreas Schwab <schwab@redhat.com>
16919
16920 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16921
0b592a30
MB
169222011-04-28 Maciej Babinski <mbabinski@google.com>
16923
16924 [BZ #12714]
16925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16926 gethostbyname4_r when IPv6 results are possible.
16927
6e04cbbe
UD
169282011-05-02 Ulrich Drepper <drepper@gmail.com>
16929
16930 [BZ #12723]
16931 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16932 _PC_PIPE_BUF handling.
16933
e4ecafe0
BH
169342011-04-30 Bruno Haible <bruno@clisp.org>
16935
16936 [BZ #12717]
16937 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16938 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16939 to 'int'.
16940 * inet/getnameinfo.c (getnameinfo): Likewise.
16941
125ee683
UD
169422011-04-29 Ulrich Drepper <drepper@gmail.com>
16943
16944 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16945 to groups setting in database lookup.
16946 * nss/nsswitch.conf: Add initgroups entry.
16947
b722481a
EB
169482011-04-22 Ulrich Drepper <drepper@gmail.com>
16949
16950 [BZ #12685]
16951 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16952 mode string.
16953 Patch by Eric Blake <eblake@redhat.com>.
16954
4df46dbd
L
169552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16956
16957 * sunrpc/Makefile (need-export-routines): Add svc_run.
16958 (routines): Remove svc_run.
16959 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16960 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16961 * sunrpc/svc_run.c (svc_run): Likewise.
16962 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16963
e84142d2
UD
169642011-04-21 Ulrich Drepper <drepper@gmail.com>
16965
16966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16967 problem in reallocation in last patch.
16968
877175d8
UD
169692011-04-20 Ulrich Drepper <drepper@gmail.com>
16970
16971 * sunrpc/Makefile: Move inclusion of Rules.
16972
ab8eed78
UD
169732011-04-19 Ulrich Drepper <drepper@gmail.com>
16974
16975 * nss/nss_files/files-initgroups.c: New file.
16976 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16977 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16978 _nss_files_initgroups_dyn.
16979
e3d8f584
RS
169802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16981
16982 * elf/elf.h (R_ARM_IRELATIVE): Define.
16983
af190f45
UD
169842011-04-19 Ulrich Drepper <drepper@gmail.com>
16985
16986 * po/ru.po: Update from translation team.
16987
53cf59ef
UD
169882011-04-17 Ulrich Drepper <drepper@gmail.com>
16989
16990 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16991 dependencies.
16992
4c559bcd
MF
169932011-02-06 Mike Frysinger <vapier@gentoo.org>
16994
16995 [BZ #12653]
16996 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16997 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17001
4420675c
AS
170022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17003
17004 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17005 differing bytes.
17006 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17007 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17009
75ea32ab
UD
170102011-04-17 Ulrich Drepper <drepper@gmail.com>
17011
17012 [BZ #12420]
17013 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17014 storing it.
17015 * stdlib/bug-getcontext.c: New file.
17016 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17017
27390476
AK
170182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17019
17020 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17021 instructions into .machine "z9-109".
17022 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17023 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17024
10442705
AK
170252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17026
17027 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17028 between environment variables and auxiliary vector.
17029
7b57bfe5
UD
170302011-04-16 Ulrich Drepper <drepper@gmail.com>
17031
17032 * Makefile: Add rules to build linkobj/libc.so.
17033 * include/libc-symbols.h: Define libc_hidden_nolink.
17034 * include/rpc/auth.h: Mark functions which are to be hidden.
17035 * include/rpc/auth_des.h: Likewise.
17036 * include/rpc/auth_unix.h: Likewise.
17037 * include/rpc/clnt.h: Likewise.
17038 * include/rpc/des_crypt.h: Likewise.
17039 * include/rpc/key_prot.h: Likewise.
17040 * include/rpc/pmap_clnt.h: Likewise.
17041 * include/rpc/pmap_prot.h: Likewise.
17042 * include/rpc/pmap_rmt.h: Likewise.
17043 * include/rpc/rpc_msg.h: Likewise.
17044 * include/rpc/svc.h: Likewise.
17045 * include/rpc/svc_auth.h: Likewise.
17046 * include/rpc/xdr.h: Likewise.
17047 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17048 * nss/Makefile: Likewise.
17049 * sunrpc/Makefile: Don't install headers. Build library with normal
17050 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17051 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17052 for the compat linking library. Remove use of INTDEF/INTUSE.
17053 * sunrpc/auth_none.c: Likewise.
17054 * sunrpc/auth_unix.c: Likewise.
17055 * sunrpc/authdes_prot.c: Likewise.
17056 * sunrpc/authuxprot.c: Likewise.
17057 * sunrpc/clnt_gen.c: Likewise.
17058 * sunrpc/clnt_perr.c: Likewise.
17059 * sunrpc/clnt_raw.c: Likewise.
17060 * sunrpc/clnt_simp.c: Likewise.
17061 * sunrpc/clnt_tcp.c: Likewise.
17062 * sunrpc/clnt_udp.c: Likewise.
17063 * sunrpc/clnt_unix.c: Likewise.
17064 * sunrpc/des_crypt.c: Likewise.
17065 * sunrpc/des_soft.c: Likewise.
17066 * sunrpc/get_myaddr.c: Likewise.
17067 * sunrpc/key_call.c: Likewise.
17068 * sunrpc/key_prot.c: Likewise.
17069 * sunrpc/netname.c: Likewise.
17070 * sunrpc/pm_getmaps.c: Likewise.
17071 * sunrpc/pm_getport.c: Likewise.
17072 * sunrpc/pmap_clnt.c: Likewise.
17073 * sunrpc/pmap_prot.c: Likewise.
17074 * sunrpc/pmap_prot2.c: Likewise.
17075 * sunrpc/pmap_rmt.c: Likewise.
17076 * sunrpc/publickey.c: Likewise.
17077 * sunrpc/rpc_cmsg.c: Likewise.
17078 * sunrpc/rpc_common.c: Likewise.
17079 * sunrpc/rpc_dtable.c: Likewise.
17080 * sunrpc/rpc_prot.c: Likewise.
17081 * sunrpc/rpc_thread.c: Likewise.
17082 * sunrpc/rtime.c: Likewise.
17083 * sunrpc/svc.c: Likewise.
17084 * sunrpc/svc_auth.c: Likewise.
17085 * sunrpc/svc_authux.c: Likewise.
17086 * sunrpc/svc_raw.c: Likewise.
17087 * sunrpc/svc_run.c: Likewise.
17088 * sunrpc/svc_simple.c: Likewise.
17089 * sunrpc/svc_tcp.c: Likewise.
17090 * sunrpc/svc_udp.c: Likewise.
17091 * sunrpc/svc_unix.c: Likewise.
17092 * sunrpc/svcauth_des.c: Likewise.
17093 * sunrpc/xcrypt.c: Likewise.
17094 * sunrpc/xdr.c: Likewise.
17095 * sunrpc/xdr_array.c: Likewise.
17096 * sunrpc/xdr_float.c: Likewise.
17097 * sunrpc/xdr_intXX_t.c: Likewise.
17098 * sunrpc/xdr_mem.c: Likewise.
17099 * sunrpc/xdr_rec.c: Likewise.
17100 * sunrpc/xdr_ref.c: Likewise.
17101 * sunrpc/xdr_sizeof.c: Likewise.
17102 * sunrpc/xdr_stdio.c: Likewise.
17103
e6c61494
UD
171042011-04-10 Ulrich Drepper <drepper@gmail.com>
17105
17106 [BZ #12650]
17107 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17108 * sysdeps/ia64/dl-tls.h: Likewise.
17109 * sysdeps/powerpc/dl-tls.h: Likewise.
17110 * sysdeps/s390/dl-tls.h: Likewise.
17111 * sysdeps/sh/dl-tls.h: Likewise.
17112 * sysdeps/sparc/dl-tls.h: Likewise.
17113 * sysdeps/x86_64/dl-tls.h: Likewise.
17114 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17115
34fe483e
AS
171162011-03-14 Andreas Schwab <schwab@redhat.com>
17117
17118 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17119 rpath element also skip the following colon.
17120 (expand_dynamic_string_token): Add is_path parameter and pass
17121 down to DL_DST_REQUIRED and _dl_dst_substitute.
17122 (decompose_rpath): Call expand_dynamic_string_token with
17123 non-zero is_path. Ignore empty rpaths.
17124 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17125 with zero is_path.
17126
f12a32e6
AS
171272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17128
17129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17130 Make cancelable.
17131
38a7d692
UD
171322011-04-09 Ulrich Drepper <drepper@gmail.com>
17133
17134 [BZ #12655]
17135 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17136 Patch by Filipe David Manana <fdmanana@apache.org>.
17137
e451d22b
AS
171382011-04-07 Andreas Schwab <schwab@redhat.com>
17139
17140 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17141 Maintain aligned stack.
17142 (CHECK_RSP): Remove unused macro.
17143
dedc7c7b
UD
171442011-04-03 Ulrich Drepper <drepper@gmail.com>
17145
17146 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17147 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17148
94521213
UD
171492011-04-02 Ulrich Drepper <drepper@gmail.com>
17150
17151 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17152
8cb700c0 17153 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17154
0354e355
L
171552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17156
17157 [BZ #12518]
17158 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17159 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17160 * sysdeps/x86_64/memmove.c: New file.
17161 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17162 (memcpy): Renamed to ...
17163 (__new_memcpy): This.
17164 (memcpy): Provide GLIBC_2_14 memcpy.
17165 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17166 (memcpy): Provide GLIBC_2_2_5 memcpy.
17167
8593482f
UD
171682011-04-01 Ulrich Drepper <drepper@gmail.com>
17169
17170 [BZ #12631]
17171 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17172
81a5726b
AS
171732011-03-30 Andreas Schwab <schwab@redhat.com>
17174
17175 * misc/syncfs.c: New file.
17176 * misc/Makefile (routines): Add syncfs.
17177 * posix/unistd.h: Declare syncfs.
17178 * sysdeps/unix/syscalls.list: Add syncfs.
17179
00e5419f
AS
171802011-04-01 Andreas Schwab <schwab@redhat.com>
17181
17182 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17183 open_by_handle_at.
17184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17185 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17187 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17189 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17191
748876bf
UD
171922011-04-01 Ulrich Drepper <drepper@gmail.com>
17193
658e451d
UD
17194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17195 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17196 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17198 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17201
748876bf
UD
17202 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17203 sync_file_range.c with -fexceptions.
17204 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17205 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17206 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17207 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17208 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17209 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17211 sync_file_range as cancellation point
17212 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17213 now a wrapper around __call_sync_file_range with cancellation handling.
17214 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17215 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17216 function name to __call_sync_file_range.
17217 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17218 Add call_sync_file_range.
748876bf 17219
6e63d5e1
AS
172202011-04-01 Andreas Schwab <schwab@redhat.com>
17221
17222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17223 bits/timex.h.
6e63d5e1 17224
46998f74
UD
172252011-04-01 Ulrich Drepper <drepper@gmail.com>
17226
4c1423ed
UD
17227 * iconv/iconv.h: Fix typo in comment.
17228 * io/fcntl.h: Likewise.
17229 * libio/stdio.h: Likewise.
17230 * posix/spawn.h: Likewise.
17231 * posix/unistd.h: Likewise.
17232 * stdlib/stdlib.h: Likewise.
17233 * time/time.h: Likewise.
17234 * wcsmbs/wchar.h: Likewise.
17235
158648c0
UD
17236 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17237 open_by_handle): Add.
17238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17239 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17240 Augment a few comments.
17241 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17243 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17245 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17246 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17247 open_by_handle.
17248
46998f74
UD
17249 * io/fcntl.h (AT_EMPTY_PATH): Define.
17250
83fe108b
UD
172512011-03-30 Ulrich Drepper <drepper@gmail.com>
17252
17253 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17254 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17255 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17256 to...
17257 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17258 * Versions.def: Add GLIBC_2.14.
17259 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17260 Export.
83fe108b 17261
bb242059
UD
172622011-03-22 Ulrich Drepper <drepper@gmail.com>
17263
17264 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17265 round counter.
17266 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17267
c97a1282
L
172682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17269
17270 [BZ #12597]
17271 * string/test-strncmp.c (do_page_test): New function.
17272 (check2): Likewise.
17273 (test_main): Call check2.
17274 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17275
2a115601
UD
172762011-03-20 Ulrich Drepper <drepper@gmail.com>
17277
17278 [BZ #12587]
17279 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17280 Handle cache information in CPU leaf 4.
17281 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17282
8126d904
UD
172832011-03-18 Ulrich Drepper <drepper@gmail.com>
17284
042c49c6 17285 [BZ #12583]
8126d904
UD
17286 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17287 character representation.
17288 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17289
ccfe366e
RA
172902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17291
17292 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17293 END(__isnan) to END(__isnanf) to match function entry point/label
17294 EALIGN(__isnanf,...).
17295
c6e13027
JJ
172962011-03-10 Jakub Jelinek <jakub@redhat.com>
17297
17298 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17299
33f85a3f
UD
173002011-03-10 Ulrich Drepper <drepper@gmail.com>
17301
028478fa
UD
17302 [BZ #12510]
17303 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17304 copy from the symbol referenced in the relocation to initialize the
17305 used variable.
17306 Patch by Piotr Bury <pbury@goahead.com>.
17307 * elf/Makefile: Add rules to build and tst-unique3.
17308 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17309 * elf/tst-unique3.cc: New file.
17310 * elf/tst-unique3.h: New file.
17311 * elf/tst-unique3lib.cc: New file.
17312 * elf/tst-unique3lib2.cc: New file.
17313
33f85a3f
UD
17314 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17315
03592fc7
MF
173162011-03-10 Mike Frysinger <vapier@gentoo.org>
17317
17318 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17319 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17320 to _start.
03592fc7 17321
6a5ee102
UD
173222011-03-06 Ulrich Drepper <drepper@gmail.com>
17323
17324 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17325 to-be-loaded object along a path to loader is ld.so.
17326
7e4ba49c
HJ
173272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17328 Ulrich Drepper <drepper@gmail.com>
17329
17330 * sysdeps/x86_64/memset.S: After aligning destination, code
17331 branches to different locations depending on the value of
17332 misalignment, when multiarch is enabled. Fix this.
17333
173342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17335
17336 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17337 Set _x86_64_preferred_memory_instruction for AMD processsors.
17338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17339 Set bit_Prefer_SSE_for_memop for AMD processors.
17340
13a804de
UD
173412011-03-04 Ulrich Drepper <drepper@gmail.com>
17342
17343 * libio/fmemopen.c (fmemopen): Optimize a bit.
17344
9d25c392
AS
173452011-03-03 Andreas Schwab <schwab@redhat.com>
17346
17347 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17348
a5543c6a
RM
173492011-03-03 Roland McGrath <roland@redhat.com>
17350
17351 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17352
012d35f7
DM
173532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17354
7e4ba49c 17355 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17356 __bzero_ultra1 instead of __memset_ultra1.
17357
4bff6e01
AS
173582011-02-23 Andreas Schwab <schwab@redhat.com>
17359 Ulrich Drepper <drepper@gmail.com>
17360
17361 [BZ #12509]
17362 * include/link.h (struct link_map): Add l_orig_initfini.
17363 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17364 returning unsuccessfully.
17365 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17366 close of a file loaded at startup, restore the original l_initfini
17367 list.
17368 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17369 list, store the pointer.
17370 * elf/Makefile ($(objpfx)noload-mem): New rule.
17371 (noload-ENV): Define.
17372 (tests): Add $(objpfx)noload-mem.
17373 * elf/noload.c: Include <memcheck.h>.
17374 (main): Call mtrace. Close all opened handles.
17375
f2092faf
AS
173762011-02-17 Andreas Schwab <schwab@redhat.com>
17377
17378 [BZ #12454]
17379 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17380 dependencies are missing.
17381
6c8a2e88
ST
173822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17383
f2092faf 17384 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17385 Hurd needs munmap.
17386 * sysdeps/mach/hurd/ifreq.h: New file.
17387
84a42118
PB
173882011-01-27 Petr Baudis <pasky@suse.cz>
17389 Ulrich Drepper <drepper@gmail.com>
17390
071f805e 17391 [BZ 12445]#
84a42118
PB
17392 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17393 to extend_alloca().
17394 * stdio-common/bug23.c: New file.
17395 * stdio-common/Makefile (tests): Add bug23.
17396
e23fe25b
AS
173972010-09-28 Andreas Schwab <schwab@redhat.com>
17398 Ulrich Drepper <drepper@gmail.com>
17399
17400 [BZ #12489]
17401 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17402 before performing relro protection. At old place add assertion
17403 to make sure nothing changed.
17404
d3f02e10
NS
174052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17406 Glauber de Oliveira Costa <glommer@gmail.com>
17407
17408 * elf/elf.h: Add new ARM TLS relocs.
17409
d55fd7a5
RA
174102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17411
17412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17413 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17414 cast from r3.
17415 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17416 'tests' variable.
17417 * sysdeps/wordsize-64/tst-writev.c: New file.
17418
2206397e
RA
174192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17420
17421 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17422 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17423 insns in _dl_start to prevent a TOC reference before relocs are
17424 resolved.
17425
e9433893
UD
174262011-02-15 Ulrich Drepper <drepper@gmail.com>
17427
17428 [BZ #12469]
17429 * Makeconfig: Remove RANLIB definition.
17430 * Makerules: Don't use RANLIB.
17431 * aclocal.m4: Remove ranlib test.
17432 * configure.in: No need to check for ranlib.
17433 * elf/rtld-Rules: Don't use RANLIB.
17434
f75286c6
ST
174352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17436
8e31c82d
ST
17437 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17438 protection macro.
17439 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17440 inclusion protection macro.
17441
f75286c6
ST
17442 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17443 SIGRTMIN and SIGRTMAX and print information in that case only when
17444 SIGRTMIN is defined.
17445
c1d0e639
JJ
174462011-02-11 Jakub Jelinek <jakub@redhat.com>
17447
17448 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17449 arginfo fn returning -1.
17450
17451 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17452 and thousands string is zero terminated.
17453
edf9294e
AS
174542011-02-03 Andreas Schwab <schwab@redhat.com>
17455
17456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17457 sysdeps/unix/sysv/linux/bits/socket.h.
17458
2b7e92df
ST
174592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17460
edf9294e
AS
17461 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17462 (__CPU_COUNT): Remove old macros.
17463 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17464 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17465 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17466 (__sched_cpualloc, __sched_cpufree): Add declarations.
17467
a4c7ea7b
UD
174682011-02-05 Ulrich Drepper <drepper@gmail.com>
17469
17470 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17471 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17472 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17473 (readdhstai): Return value of addhstaiX call.
17474 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17475 (addgrbyX): Return value returned by cache_addgr.
17476 (readdgrbyname): Return value returned by addgrbyX.
17477 (readdgrbygid): Likewise.
17478 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17479 (addpwbyX): Return value returned by cache_addpw.
17480 (readdpwbyname): Return value returned by addhstbyX.
17481 (readdpwbyuid): Likewise.
17482 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17483 (addservbyX): Return value returned by cache_addserv.
17484 (readdservbyname): Return value returned by addservbyX:
17485 (readdservbyport): Likewise.
17486 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17487 (addhstbyX): Return value returned by cache_addhst.
17488 (readdhstbyname): Return value returned by addhstbyX.
17489 (readdhstbyaddr): Likewise.
17490 (readdhstbynamev6): Likewise.
17491 (readdhstbyaddrv6): Likewise.
17492 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17493 (readdinitgroups): Return value returned by addinitgroupsX.
17494 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17495 (prune_cache): Keep track of timeout value of re-added entries.
17496 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17497 * nscd/nscd.h: Adjust prototypes of readd* functions.
17498
a0bf67cc
RM
174992011-02-04 Roland McGrath <roland@redhat.com>
17500
17501 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17502 (nis_stats): Likewise.
17503 * nis/nis_modify.c (nis_modify): Likewise.
17504 * nis/nis_remove.c (nis_remove): Likewise.
17505 * nis/nis_add.c (nis_add): Likewise.
17506
17507 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17508
17509 * posix/fnmatch_loop.c: Add some consts.
17510
17511 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17512
435b95eb
L
175132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17514
17515 [BZ #12460]
17516 * config.make.in (config-cflags-novzeroupper): Define.
17517 * configure.in: Substitute libc_cv_cc_novzeroupper.
17518 * elf/Makefile (AVX-CFLAGS): Define.
17519 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17520 (CFLAGS-tst-auditmod4a.c): Likewise.
17521 (CFLAGS-tst-auditmod4b.c): Likewise.
17522 (CFLAGS-tst-auditmod6b.c): Likewise.
17523 (CFLAGS-tst-auditmod6c.c): Likewise.
17524 (CFLAGS-tst-auditmod7b.c): Likewise.
17525 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17526
8517b15e
UD
175272011-02-02 Ulrich Drepper <drepper@gmail.com>
17528
17529 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17530 function to the callback.
17531 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17532
10a656fe
AS
175332011-02-02 Andreas Schwab <schwab@redhat.com>
17534
17535 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17536 of errno.
17537
968dad0a
UD
175382011-01-19 Ulrich Drepper <drepper@gmail.com>
17539
9f94d2ea 17540 [BZ #11724]
968dad0a
UD
17541 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17542 of constructors.
17543 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17544 of destructors.
17545 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17546
17547 [BZ #11724]
17548 * elf/Makefile: Add rules to build and run new test.
17549 * elf/tst-initorder.c: New file.
17550 * elf/tst-initorder.exp: New file.
17551 * elf/tst-initordera1.c: New file.
17552 * elf/tst-initordera2.c: New file.
17553 * elf/tst-initordera3.c: New file.
17554 * elf/tst-initordera4.c: New file.
17555 * elf/tst-initorderb1.c: New file.
17556 * elf/tst-initorderb2.c: New file.
17557 * elf/tst-order-a1.c: New file.
17558 * elf/tst-order-a2.c: New file.
17559 * elf/tst-order-a3.c: New file.
17560 * elf/tst-order-a4.c: New file.
17561 * elf/tst-order-b1.c: New file.
17562 * elf/tst-order-b2.c: New file.
17563 * elf/tst-order-main.c: New file.
17564 New test case by George Gensure <werkt0@gmail.com>.
17565
86e92359
UD
175662010-10-01 Andreas Schwab <schwab@redhat.com>
17567
17568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17569 decoding ACE if AI_CANONIDN.
17570
5d5732b0
UD
175712011-01-18 Ulrich Drepper <drepper@gmail.com>
17572
17573 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17574
a77e8cbc
UD
175752011-01-17 Ulrich Drepper <drepper@gmail.com>
17576
6392473f
UD
17577 * version.h (RELEASE): Bump for 2.13 release.
17578 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17579
620a0529
UD
17580 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17581
18ba70a5
UD
17582 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17583 MADV_NOHUGEPAGE.
32465c3e
UD
17584 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17585 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17586 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17587 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17588 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17589 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17590
c0dafcf1
UD
17591 * posix/getconf.c: Update copyright year.
17592 * catgets/gencat.c: Likewise.
17593 * csu/version.c: Likewise.
17594 * debug/catchsegv.sh: Likewise.
17595 * debug/xtrace.sh: Likewise.
17596 * elf/ldconfig.c: Likewise.
17597 * elf/ldd.bash.in: Likewise.
17598 * elf/sprof.c (print_version): Likewise.
17599 * iconv/iconv_prog.c: Likewise.
17600 * iconv/iconvconfig.c: Likewise.
17601 * locale/programs/locale.c: Likewise.
17602 * locale/programs/localedef.c: Likewise.
17603 * malloc/memusage.sh: Likewise.
17604 * malloc/mtrace.pl: Likewise.
17605 * nscd/nscd.c (print_version): Likewise.
17606 * nss/getent.c: Likewise.
17607
a77e8cbc
UD
17608 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17609 PF_CAIF, and PF_ALG.
17610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17611
77e8bddf
AS
176122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17613
1f20b93a
AS
17614 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17615 (modules-names): Use them.
17616 (ifunc-test-modules, ifunc-pie-tests): Define.
17617 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17618 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17619 (test-extras): Likewise.
17620 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17621 $(compile-command.c).
17622 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17623 (all-built-dso): Define.
17624 (check-textrel.out, check-execstack.out): Depend on it.
17625
77e8bddf
AS
17626 * configure.in: Don't override --enable-multi-arch.
17627
bc425b33
UD
176282011-01-15 Ulrich Drepper <drepper@gmail.com>
17629
17630 [BZ #6812]
17631 * nscd/hstcache.c (tryagain): Define.
17632 (cache_addhst): Return tryagain not notfound for temporary errors.
17633 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17634 failed.
17635
794c3ad3
UD
176362011-01-14 Ulrich Drepper <drepper@gmail.com>
17637
70181fdd
UD
17638 [BZ #10563]
17639 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17640 to make the syscall.
17641 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17642
794c3ad3
UD
17643 [BZ #12378]
17644 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17645 and fall back to matching as normal character if the string ends before
17646 the matching ']' is found. This is what POSIX requires.
17647 * posix/testfnm.c: Adjust test result.
17648 * posix/globtest.sh: Adjust test result. Add new test.
17649 * posix/tst-fnmatch.input: Likewise.
17650 * posix/tst-fnmatch2.c: Add new test.
17651
68dc9497
AS
176522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17653
17654 * elf/Makefile (check-execstack): Revert last change. Depend on
17655 check-execstack.h.
17656 (check-execstack.h): New target.
17657 (generated): Add check-execstack.h.
17658 * elf/check-execstack.c: Include "check-execstack.h".
17659 (main): Revert last change.
17660 (handle_file): Return zero if GNU_STACK is absent and
17661 DEFAULT_STACK_PERMS doesn't include PF_X.
17662
451f001b
UD
176632011-01-13 Ulrich Drepper <drepper@gmail.com>
17664
cfa28e56
UD
17665 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17666 in child fails because the descriptor is already closed.
8cf8ce17
UD
17667 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17668 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17669 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17670
1086d70d
UD
17671 [BZ #12397]
17672 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17673 syscall.
17674
451f001b
UD
17675 [BZ #10484]
17676 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17677 temporary buffer used to handle multi lookups locally.
a85b5cb4 17678 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17679
08769175
UD
176802011-01-12 Ulrich Drepper <drepper@gmail.com>
17681
17682 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17683 loader is ld.so.
17684
5e49c52e
UD
176852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17686
17687 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17688 alignment for SSE2.
17689
60522a5f
UD
176902011-01-12 Ulrich Drepper <drepper@gmail.com>
17691
17692 [BZ #12394]
17693 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17694 characters. When rounding increased number of integer digits recompute
17695 number of groups.
17696 * stdio-common/tst-grouping.c: New file.
17697 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17698
f257bbd7
UD
176992011-01-09 Ulrich Drepper <drepper@gmail.com>
17700
17701 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17702 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17703
17704 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17705 void.
17706 * bits/select.h: Likewise.
17707
fa9c15cb
UD
177082011-01-08 Ulrich Drepper <drepper@gmail.com>
17709
17710 * po/ja.po: Update from translation team.
17711
16c2895f
DM
177122011-01-04 David S. Miller <davem@sunset.davemloft.net>
17713
17714 [BZ #11155]
17715 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17716 implementation just like for lxstat, fxstatat, et al.
17717
2543fef2
JM
177182010-12-27 Jim Meyering <meyering@redhat.com>
17719
17720 [BZ #12348]
17721 * posix/regexec.c (build_trtable): Return failure indication upon
17722 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17723
98727dbe
UD
177242010-12-25 Ulrich Drepper <drepper@gmail.com>
17725
5bd6dc5c
UD
17726 [BZ #12201]
17727 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17728 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17729 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17730 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17731
97983464
UD
17732 [BZ #12207]
17733 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17734
98727dbe
UD
17735 [BZ #12204]
17736 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17737 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17738
4a531bb0
L
177392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17740
17741 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17742 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17743 script has SORT_BY_INIT_PRIORITY.
17744 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17745 NO_CTORS_DTORS_SECTIONS is defined.
17746 * elf/soinit.c: Likewise.
17747 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17748 NO_CTORS_DTORS_SECTIONS is defined.
17749 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17750 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17751 * sysdeps/sh/init-first.c: Likewise.
17752 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17753
07eb4b71
UD
177542010-12-24 Ulrich Drepper <drepper@gmail.com>
17755
17756 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17757 always use the slow path.
17758
30950a5f
RA
177592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17760
17761 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17762 similar rule which adds the sysdep directories to the header search in
17763 order to pick up the correct platform stackinfo.h.
17764 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17765 perform test if it is, otherwise return successfully without testing.
17766 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17767 DEFAULT_STACK_PERMS define in stackinfo.h.
17768 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17769 defined in stackinfo.h.
17770 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17771 DEFAULT_STACK_PERMS defined in stackinfo.h.
17772 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17773 * sysdeps/ia64/stackinfo.h: Likewise.
17774 * sysdeps/s390/stackinfo.h: Likewise.
17775 * sysdeps/sh/stackinfo.h: Likewise.
17776 * sysdeps/sparc/stackinfo.h: Likewise.
17777 * sysdeps/x86_64/stackinfo.h: Likewise.
17778 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17779 PF_X for powerpc64. Retain PF_X for powerpc32.
17780
db753e2c
UD
177812010-12-19 Ulrich Drepper <drepper@gmail.com>
17782
14b697f7
UD
17783 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17784 accurately.
db753e2c
UD
17785 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17786 GETDENTS_64BIT_ALIGNED.
17787
28300719
UD
177882010-12-14 Ulrich Drepper <dreper@gmail.com>
17789
14b697f7 17790 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17791
4f197237
AS
177922010-12-10 Andreas Schwab <schwab@redhat.com>
17793
dbb0472f
AS
17794 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17795 _GNU_SOURCE.
17796
4f197237
AS
17797 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17798 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17799 Remove __restrict.
17800 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17801 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17802
fb88ac72
UD
178032010-12-09 Ulrich Drepper <drepper@gmail.com>
17804
17805 [BZ #11655]
17806 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17807 are initialized.
17808
42acbb92
JJ
178092010-12-09 Jakub Jelinek <jakub@redhat.com>
17810
17811 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17812
c038d98d
UD
178132010-12-03 Ulrich Drepper <drepper@gmail.com>
17814
17815 * po/it.po: Update from translation team.
17816
3a4a2499
L
178172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17818
17819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17820 unused codes.
17821
1e24cf6e
UD
178222010-11-30 Ulrich Drepper <drepper@gmail.com>
17823
17824 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17825
a7690819
AS
178262010-11-24 Andreas Schwab <schwab@redhat.com>
17827
17828 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17829 specially.
17830 (gaih_getanswer_slice): Likewise.
17831
3bf8d1b1
JJ
178322010-10-20 Jakub Jelinek <jakub@redhat.com>
17833
17834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17835
6db52fbb
PB
178362010-05-31 Petr Baudis <pasky@suse.cz>
17837
17838 [BZ #11149]
17839 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17840 silently even in the chroot mode.
17841
eaca7569
UD
178422010-11-22 Ulrich Drepper <drepper@gmail.com>
17843
17844 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17845 last patch a bit. Pretty printing
17846
3056dcdb
UD
178472010-05-31 Petr Baudis <pasky@suse.cz>
17848
17849 [BZ #10085]
17850 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17851 initialization of skip_initgroups_dyn.
17852
cf7c9078
UD
178532010-11-19 Ulrich Drepper <drepper@gmail.com>
17854
17855 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17856 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17857
a1fb5e3e
UD
178582010-11-16 Ulrich Drepper <drepper@gmail.com>
17859
17860 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17861
3540d66b
AS
178622010-11-11 Andreas Schwab <schwab@redhat.com>
17863
17864 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17865 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17866 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17867 ($(objpfx)tst-fnmatch-mem): New rule.
17868 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17869 * posix/tst-fnmatch.c (main): Call mtrace.
17870
13b69574
L
178712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17872
17873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17874 Support Intel processor model 6 and model 0x2c.
17875
da93d214
LM
178762010-11-10 Luis Machado <luisgpm@br.ibm.com>
17877
17878 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17879 signed comparison.
17880
8ca52c6e
L
178812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17882
17883 [BZ #12205]
17884 * string/test-strncasecmp.c (check_result): New function.
17885 (do_one_test): Use it.
17886 (check1): New function.
17887 (test_main): Use it.
17888 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17889 Support strcasecmp and strncasecmp.
17890
69da074d
UD
178912010-11-08 Ulrich Drepper <drepper@gmail.com>
17892
17893 [BZ #12194]
17894 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17895 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17896
ff02d528
L
178972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17900 IFUNC support.
17901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17902 memset-x86-64.
17903 * sysdeps/x86_64/multiarch/bzero.S: New file.
17904 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17905 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17906 * sysdeps/x86_64/multiarch/memset.S: New file.
17907 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17909 Set bit_Prefer_SSE_for_memop for Intel processors.
17910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17911 Define.
17912 (index_Prefer_SSE_for_memop): Define.
17913 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17914
344d0b54
LM
179152010-11-04 Luis Machado <luisgpm@br.ibm.com>
17916
17917 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17918 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17919
c0dde15b
UD
179202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17921
17922 [BZ #12191]
17923 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17924 (__x86_64_raw_data_cache_size_half): Likewise.
17925 (__x86_64_raw_shared_cache_size): Likewise.
17926 (__x86_64_raw_shared_cache_size_half): Likewise.
17927
17928 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17929 (__x86_64_raw_data_cache_size_half): Likewise.
17930 (__x86_64_raw_shared_cache_size): Likewise.
17931 (__x86_64_raw_shared_cache_size_half): Likewise.
17932 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17933 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17934 and __x86_64_raw_shared_cache_size_half. Round
17935 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17936 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17937 to multiple of 256 bytes.
17938
0e516e0e
MS
179392010-11-03 Ulrich Drepper <drepper@gmail.com>
17940
17941 [BZ #12167]
17942 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17943 of inacessible symlinks. Verify result of symlink before returning it.
17944 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17945 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17946
0e012e87
ER
179472010-10-28 Erich Ritz <erichritz@gmail.com>
17948
17949 * math/math.h (isinf): Fix typo in comment.
17950
de0ff7bc
UD
179512010-11-01 Ulrich Drepper <drepper@gmail.com>
17952
17953 * po/da.po: Update from translation team.
17954
fa41c84d
UD
179552010-10-26 Ulrich Drepper <drepper@gmail.com>
17956
17957 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17958 is added to the list.
17959
f0967738
AK
179602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17961 Ulrich Drepper <drepper@gmail.com>
17962
17963 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17964 the global list here. Move code to...
17965 (_dl_add_to_namespace_list): ...here. New function.
17966 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17967 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17968 * elf/dl-load.c (lose): Don't remove the element from the list.
17969 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17970 (_dl_map_object): Likewise.
17971
179722010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17973
17974 [BZ #12159]
17975 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17976 into all bytes of SSE register.
17977 Patch by Richard Li <richardpku@gmail.com>.
17978
f0967738 179792010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17980
17981 [BZ #12140]
17982 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17983 perturbing.
17984
d0b9e94f
MB
179852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17986
17987 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17988 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17989 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17990 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17992 submachine.
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17994
8e9f92e9
AS
179952010-10-22 Andreas Schwab <schwab@redhat.com>
17996
17997 * include/dlfcn.h (__RTLD_SECURE): Define.
17998 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17999 mode & __RTLD_SECURE instead.
18000 (open_path): Rename preloaded parameter to secure.
18001 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18002 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18003 * elf/dl-deps.c (openaux): Likewise.
18004 * elf/rtld.c (struct map_args): Remove is_preloaded.
18005 (map_doit): Don't use it.
18006 (dl_main): Likewise.
18007 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18008 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18009
bc96fbda
AS
180102010-09-09 Andreas Schwab <schwab@redhat.com>
18011
18012 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18013 (sysd-rules-targets): Remove duplicates.
18014 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18015 rtld-%.$o dependency.
18016
22cd1c9b
AS
180172010-10-18 Andreas Schwab <schwab@redhat.com>
18018
18019 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18020 _dl_map_object do it.
18021
18edac48
UD
180222010-10-19 Ulrich Drepper <drepper@gmail.com>
18023
18024 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18025 fast fma builtins, define the macros in the C99 standard.
18026 (FP_FAST_FMAF): Likewise.
18027 (FP_FAST_FMAL): Likewise.
18028 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18029
18030 * bits/mathdef.h: Update copyright year.
18031 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18032
d2050124
MM
180332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18034
18035 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18036 builtins, define the macros in the C99 standard.
18037 (FP_FAST_FMAF): Likewise.
18038 (FP_FAST_FMAL): Likewise.
18039 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18040 multiply/add.
18041 (FP_FAST_FMAF): Likewise.
18042
475facd1
JJ
180432010-10-15 Jakub Jelinek <jakub@redhat.com>
18044
18045 [BZ #3268]
18046 * math/libm-test.inc (fma_test): Some new testcases.
18047 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18048 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18049 y and infinite z. Do multiplication by C already in long double.
18050 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18052 y and infinite z. Do bitwise or of inexact bit into u.d.
18053 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18054 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18055 * sysdeps/i386/fpu/s_fma.S: Removed.
18056 * sysdeps/i386/fpu/s_fmal.S: Removed.
18057
7c08a05c
JJ
180582010-10-16 Jakub Jelinek <jakub@redhat.com>
18059
18060 [BZ #3268]
18061 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18062 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18063 computation is not scheduled after fetestexcept. Fix value
18064 of minimum denormal long double.
18065
f3f7372d
JJ
180662010-10-14 Jakub Jelinek <jakub@redhat.com>
18067
18068 [BZ #3268]
18069 * math/libm-test.inc (fma_test): Add some more tests.
18070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18071 correctly.
18072
14d43591
AS
180732010-10-15 Andreas Schwab <schwab@redhat.com>
18074
18075 * scripts/data/localplt-s390-linux-gnu.data: New file.
18076 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18077
5e908464
JJ
180782010-10-13 Jakub Jelinek <jakub@redhat.com>
18079
18080 [BZ #3268]
18081 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18082 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18083 instead of dbl-64.
18084 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18085 inlines.
18086 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18088 if one of x and y is very large and the other is subnormal.
18089 * sysdeps/s390/fpu/s_fmaf.c: New file.
18090 * sysdeps/s390/fpu/s_fma.c: New file.
18091 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18092 * sysdeps/powerpc/fpu/s_fma.S: New file.
18093 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18094 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18095 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18096
180972010-10-12 Jakub Jelinek <jakub@redhat.com>
18098
18099 [BZ #3268]
18100 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18101 fma tests.
18102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18103 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18104 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18105 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18106 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18107 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18109
b833d51f
UD
181102010-10-12 Ulrich Drepper <drepper@redhat.com>
18111
18112 [BZ #12078]
18113 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18114 * posix/bug-regex31.input: Add test case.
18115
1751705d
UD
181162010-10-11 Ulrich Drepper <drepper@gmail.com>
18117
e9b9cbf5
UD
18118 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18119 * posix/bug-regex31.input: New file.
18120
18121 [BZ #12078]
18122 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18123 (parse_sub_exp): Fix last change, use postorder.
18124
ef06edbe
UD
18125 * posix/bug-regex31.c: New file.
18126 * posix/Makefile: Add rules to build and run bug-regex31.
18127
a129c80d
UD
18128 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18129
18130 [BZ #12078]
18131 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18132
b76b818e
UD
18133 [BZ #12108]
18134 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18135 to have entries in sys_siglist.
18136
1751705d
UD
18137 [BZ #12093]
18138 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18139 be NULL.
18140
9ff8d36f
JJ
181412010-10-07 Jakub Jelinek <jakub@redhat.com>
18142
18143 [BZ #3268]
18144 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18145 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18146 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18147 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18148 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18149 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18150 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18151 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18152 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18153 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18154 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18155 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18156 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18157 * math/ftestexcept.c (fetestexcept): Likewise.
18158 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18159 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18160 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18161 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18162 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18163 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18164 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18165
af325969
UD
181662010-10-11 Ulrich Drepper <drepper@gmail.com>
18167
c579b202 18168 [BZ #12107]
af325969
UD
18169 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18170 newline.
18171
67a67b95
UD
181722010-10-06 Ulrich Drepper <drepper@gmail.com>
18173
18174 * string/bug-strstr1.c: New file.
18175 * string/Makefile: Add rules to build and run bug-strstr1.
18176
5fb308bc
EB
181772010-10-05 Eric Blake <eblake@redhat.com>
18178
18179 [BZ #12092]
18180 * string/str-two-way.h (two_way_long_needle): Always clear memory
18181 when skipping input due to the shift table.
18182
45db99c7
UD
181832010-10-03 Ulrich Drepper <drepper@gmail.com>
18184
3b111893
UD
18185 [BZ #12005]
18186 * malloc/mcheck.c: Handle large requests.
18187
45db99c7
UD
18188 [BZ #12077]
18189 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18190 for strncmp and strncasecmp.
18191 * string/stratcliff.c: Add tests for strcmp and strncmp.
18192 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18193
cf7a1eb8
NI
181942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18195
18196 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18197 __set_fpscr.
18198
6484ba5e
AJ
181992010-09-30 Andreas Jaeger <aj@suse.de>
18200
18201 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18202 (CGROUP_SUPER_MAGIC): Define.
18203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18204 Handle btrfs and cgroup file systems.
18205 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18206 Likewise.
18207
91c42559
LM
182082010-09-27 Luis Machado <luisgpm@br.ibm.com>
18209
18210 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18211 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18212
87a97932
AK
182132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18214
18215 [BZ #12067]
18216 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18217 trying to locate the ELF header.
18218
c21cc9bc
AS
182192010-09-27 Andreas Schwab <schwab@redhat.com>
18220
18221 [BZ #11611]
18222 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18223 Mask out sign-bit copies when constructing f_fsid.
18224
315970f6
PB
182252010-09-24 Petr Baudis <pasky@suse.cz>
18226
18227 * debug/stack_chk_fail_local.c: Add missing licence exception.
18228 * debug/warning-nop.c: Likewise.
18229
1ac7a2c7
JM
182302010-09-15 Joseph Myers <joseph@codesourcery.com>
18231
18232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18233 implementing getdents64 using getdents syscall, set d_type if
18234 __ASSUME_GETDENTS32_D_TYPE.
18235
56801c50
AS
182362010-09-16 Andreas Schwab <schwab@redhat.com>
18237
18238 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18239 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18240
dda51327
UD
182412010-09-21 Ulrich Drepper <drepper@redhat.com>
18242
18243 [BZ #12037]
18244 * posix/unistd.h: Undo change of feature selection for ftruncate from
18245 2010-01-11.
18246
8ffcee4a
UD
182472010-09-20 Ulrich Drepper <drepper@redhat.com>
18248
a545ecd9 18249 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18250 detection.
18251
e24f0a8b
AS
182522010-09-20 Andreas Schwab <schwab@redhat.com>
18253
18254 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18255 fanotify_mark.
18256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18257
7291c56f
AS
182582010-09-14 Andreas Schwab <schwab@redhat.com>
18259
18260 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18261 variables after CHECK_SP call.
18262 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18263
bc5fb037
AS
182642010-09-13 Andreas Schwab <schwab@redhat.com>
18265 Ulrich Drepper <drepper@redhat.com>
18266
18267 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18268 re-relocationg ld.so.
18269 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18270 _dl_init_paths call.
18271 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18272 here anymore.
18273
e66e7419
UD
182742010-09-14 Ulrich Drepper <drepper@redhat.com>
18275
18276 * resolv/res_init.c (__res_vinit): Count the default server we added.
18277
c044aa75
CLT
182782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18279 Ulrich Drepper <drepper@redhat.com>
18280
18281 [BZ #11968]
18282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18283 (____longjmp_chk): Use %ebx for saving value across system call.
18284 Add unwind info.
18285
32cf4069
AS
182862010-09-06 Andreas Schwab <schwab@redhat.com>
18287
18288 * manual/Makefile: Don't mix pattern rules with normal rules.
18289
817328ee
AS
182902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18291
18292 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18293 operation.
18294 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18295 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18296 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18297 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18298 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18299 Likewise.
18300
29fddf61
UD
183012010-09-04 Ulrich Drepper <drepper@redhat.com>
18302
18303 [BZ #11979]
18304 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18305 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18306
0959ffc9
UD
183072010-09-02 Ulrich Drepper <drepper@redhat.com>
18308
18309 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18310 * sysdeps/x86_64/addmul_1.S: Likewise.
18311 * sysdeps/x86_64/lshift.S: Likewise.
18312 * sysdeps/x86_64/mul_1.S: Likewise.
18313 * sysdeps/x86_64/rshift.S: Likewise.
18314 * sysdeps/x86_64/sub_n.S: Likewise.
18315 * sysdeps/x86_64/submul_1.S: Likewise.
18316
ece29840
ST
183172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18318
0959ffc9
UD
18319 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18320 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18321 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18322 * bits/sched.h [__need_schedparam]
ece29840 18323 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18324 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18325 (__defined_schedparam): Define to 1.
ece29840
ST
18326 (__sched_param): New structure, identical to sched_param.
18327 (__need_schedparam): Undefine.
18328
e53a31fe
MF
183292010-08-31 Mike Frysinger <vapier@gentoo.org>
18330
fdc0c10d
MF
18331 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18332 (epoll_create1): Declare.
18333
e53a31fe
MF
18334 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18335
a726d796
AS
183362010-08-31 Andreas Schwab <schwab@redhat.com>
18337
18338 [BZ #7066]
18339 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18340 shifting retval into place.
18341
2f3e3dc7
UD
183422010-09-01 Ulrich Drepper <drepper@redhat.com>
18343
f2933da9
UD
18344 * nis/rpcsvc/nis.h: Update copyright notice.
18345 * nis/rpcsvc/nis.x: Likewise.
18346 * nis/rpcsvc/nis_callback.h: Likewise.
18347 * nis/rpcsvc/nis_callback.x: Likewise.
18348 * nis/rpcsvc/nis_object.x: Likewise.
18349 * nis/rpcsvc/nis_tags.h: Likewise.
18350 * nis/rpcsvc/yp.h: Likewise.
18351 * nis/rpcsvc/yp.x: Likewise.
18352 * nis/rpcsvc/ypupd.h: Likewise.
18353 * nis/yp_xdr.c: Likewise.
18354 * nis/ypupdate_xdr.c: Likewise.
18355
2f3e3dc7
UD
18356 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18357 mainly the body of pmap_getport. Add parameters to specify timeouts.
18358 (pmap_getport): Use __libc_rpc_getport.
18359 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18360 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18361 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18362
f3dcc2f9
AS
183632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18364
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18366 fanotify_mark.
18367
6d34eb5b
RM
183682010-08-27 Roland McGrath <roland@redhat.com>
18369
18370 * sysdeps/i386/i686/multiarch/Makefile
18371 (CFLAGS-varshift.c): New variable.
18372
9ea3de11
UD
183732010-08-27 Ulrich Drepper <drepper@redhat.com>
18374
c96d23fc
UD
18375 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18376 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18377
9ea3de11
UD
18378 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18379
18380 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18381
623aac7f
L
183822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18383
18384 * sysdeps/x86_64/strlen.S: Unroll the loop.
18385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18386 strlen-sse2 strlen-sse2-bsf.
18387 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18388 __strlen_no_bsf if bit_Slow_BSF is set.
18389 (__strlen_sse42): Removed.
18390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18391 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18392
8b2b7715
RM
183932010-08-25 Roland McGrath <roland@redhat.com>
18394
18395 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18396 * sysdeps/x86_64/multiarch/varshift.c: New file.
18397 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18398 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18399 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18400 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18401
e73015f2
L
184022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18403
18404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18405 strlen-sse2 strlen-sse2-bsf.
18406 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18407 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18408 (__strlen_sse2): Removed.
18409 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18410 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18412 bit_Slow_BSF for Atom.
18413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18414 (index_Slow_BSF): Define.
18415 (HAS_SLOW_BSF): Define.
18416
df24a73e
UD
184172010-08-25 Ulrich Drepper <drepper@redhat.com>
18418
18419 [BZ #10851]
18420 * resolv/res_init.c (__res_vinit): When no server address at all
18421 is given default to loopback.
18422
f2ac4868
RM
184232010-08-24 Roland McGrath <roland@redhat.com>
18424
09055553
RM
18425 * configure.in: Remove config-name.h generation.
18426 * configure: Regenerated.
18427 * config-name.in: File removed.
18428 * scripts/config-uname.sh: New file.
18429 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18430 ($(objdir)config-name.h): New target.
18431
f2ac4868
RM
18432 * sunrpc/rpc_parse.h: Avoid nested comment.
18433
73f27d5e
RH
184342010-08-24 Richard Henderson <rth@redhat.com>
18435 Ulrich Drepper <drepper@redhat.com>
18436 H.J. Lu <hongjiu.lu@intel.com>
18437
18438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18440 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18441 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18442 _mm_alignr_epi8 with _mm_loadu_si128.
18443 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18444 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18445 (__m128i_shift_right): Removed.
18446 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18447 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18448 * sysdeps/x86_64/multiarch/varshift.h: New file.
18449 * sysdeps/x86_64/multiarch/varshift.S: New file.
18450
84b9230c
MF
184512010-08-21 Mike Frysinger <vapier@gentoo.org>
18452
18453 * configure.in: Move assembler checks to before sysdep dir checking.
18454
9bbd0ddc
PB
184552010-08-20 Petr Baudis <pasky@suse.cz>
18456
18457 * LICENSES: Sync the sunrpc license.
18458
9da4bb31
UD
184592010-08-19 Ulrich Drepper <drepper@redhat.com>
18460
a7ab6ec8
UD
18461 * sunrpc/auth_des.c: Update copyright notice once again.
18462 * sunrpc/auth_none.c: Likewise.
18463 * sunrpc/auth_unix.c: Likewise.
18464 * sunrpc/authdes_prot.c: Likewise.
18465 * sunrpc/authuxprot.c: Likewise.
18466 * sunrpc/bindrsvprt.c: Likewise.
18467 * sunrpc/clnt_gen.c: Likewise.
18468 * sunrpc/clnt_perr.c: Likewise.
18469 * sunrpc/clnt_raw.c: Likewise.
18470 * sunrpc/clnt_simp.c: Likewise.
18471 * sunrpc/clnt_tcp.c: Likewise.
18472 * sunrpc/clnt_udp.c: Likewise.
18473 * sunrpc/clnt_unix.c: Likewise.
18474 * sunrpc/des_crypt.c: Likewise.
18475 * sunrpc/des_soft.c: Likewise.
18476 * sunrpc/get_myaddr.c: Likewise.
18477 * sunrpc/getrpcport.c: Likewise.
18478 * sunrpc/key_call.c: Likewise.
18479 * sunrpc/key_prot.c: Likewise.
18480 * sunrpc/openchild.c: Likewise.
18481 * sunrpc/pm_getmaps.c: Likewise.
18482 * sunrpc/pm_getport.c: Likewise.
18483 * sunrpc/pmap_clnt.c: Likewise.
18484 * sunrpc/pmap_prot.c: Likewise.
18485 * sunrpc/pmap_prot2.c: Likewise.
18486 * sunrpc/pmap_rmt.c: Likewise.
18487 * sunrpc/rpc/auth.h: Likewise.
18488 * sunrpc/rpc/auth_unix.h: Likewise.
18489 * sunrpc/rpc/clnt.h: Likewise.
18490 * sunrpc/rpc/des_crypt.h: Likewise.
18491 * sunrpc/rpc/key_prot.h: Likewise.
18492 * sunrpc/rpc/netdb.h: Likewise.
18493 * sunrpc/rpc/pmap_clnt.h: Likewise.
18494 * sunrpc/rpc/pmap_prot.h: Likewise.
18495 * sunrpc/rpc/pmap_rmt.h: Likewise.
18496 * sunrpc/rpc/rpc.h: Likewise.
18497 * sunrpc/rpc/rpc_des.h: Likewise.
18498 * sunrpc/rpc/rpc_msg.h: Likewise.
18499 * sunrpc/rpc/svc.h: Likewise.
18500 * sunrpc/rpc/svc_auth.h: Likewise.
18501 * sunrpc/rpc/types.h: Likewise.
18502 * sunrpc/rpc/xdr.h: Likewise.
18503 * sunrpc/rpc_clntout.c: Likewise.
18504 * sunrpc/rpc_cmsg.c: Likewise.
18505 * sunrpc/rpc_common.c: Likewise.
18506 * sunrpc/rpc_cout.c: Likewise.
18507 * sunrpc/rpc_dtable.c: Likewise.
18508 * sunrpc/rpc_hout.c: Likewise.
18509 * sunrpc/rpc_main.c: Likewise.
18510 * sunrpc/rpc_parse.c: Likewise.
18511 * sunrpc/rpc_parse.h: Likewise.
18512 * sunrpc/rpc_prot.c: Likewise.
18513 * sunrpc/rpc_sample.c: Likewise.
18514 * sunrpc/rpc_scan.c: Likewise.
18515 * sunrpc/rpc_scan.h: Likewise.
18516 * sunrpc/rpc_svcout.c: Likewise.
18517 * sunrpc/rpc_tblout.c: Likewise.
18518 * sunrpc/rpc_util.c: Likewise.
18519 * sunrpc/rpc_util.h: Likewise.
18520 * sunrpc/rpcinfo.c: Likewise.
18521 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18522 * sunrpc/rpcsvc/key_prot.x: Likewise.
18523 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18524 * sunrpc/rpcsvc/mount.x: Likewise.
18525 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18526 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18527 * sunrpc/rpcsvc/rex.x: Likewise.
18528 * sunrpc/rpcsvc/rstat.x: Likewise.
18529 * sunrpc/rpcsvc/rusers.x: Likewise.
18530 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18531 * sunrpc/rpcsvc/spray.x: Likewise.
18532 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18533 * sunrpc/rtime.c: Likewise.
18534 * sunrpc/svc.c: Likewise.
18535 * sunrpc/svc_auth.c: Likewise.
18536 * sunrpc/svc_authux.c: Likewise.
18537 * sunrpc/svc_raw.c: Likewise.
18538 * sunrpc/svc_run.c: Likewise.
18539 * sunrpc/svc_simple.c: Likewise.
18540 * sunrpc/svc_tcp.c: Likewise.
18541 * sunrpc/svc_udp.c: Likewise.
18542 * sunrpc/svc_unix.c: Likewise.
18543 * sunrpc/svcauth_des.c: Likewise.
18544 * sunrpc/xcrypt.c: Likewise.
18545 * sunrpc/xdr.c: Likewise.
18546 * sunrpc/xdr_array.c: Likewise.
18547 * sunrpc/xdr_float.c: Likewise.
18548 * sunrpc/xdr_mem.c: Likewise.
18549 * sunrpc/xdr_rec.c: Likewise.
18550 * sunrpc/xdr_ref.c: Likewise.
18551 * sunrpc/xdr_sizeof.c: Likewise.
18552 * sunrpc/xdr_stdio.c: Likewise.
18553
9da4bb31
UD
18554 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18555 handling.
18556
bdaa77bc
AS
185572010-08-19 Andreas Schwab <schwab@redhat.com>
18558
18559 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18560
fe2f79db
LM
185612010-08-19 Luis Machado <luisgpm@br.ibm.com>
18562
18563 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18564 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18565 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18566 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18567 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18568 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18569 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18570 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18571 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18572 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18573 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18574 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18575 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18576 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18577
b9b42ee0
AB
185782010-07-26 Anton Blanchard <anton@samba.org>
18579
18580 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18581 * malloc/arena.c (heap_trim): Likewise.
18582
1c06ba31
UD
185832010-08-16 Ulrich Drepper <drepper@redhat.com>
18584
18585 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18586 here. Not...
18587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18588 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18589
f8392f40
L
185902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18591
18592 * sysdeps/i386/elf/Makefile: New file.
18593
3162f12e
AS
185942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18595
18596 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18597 from fanotify_init.
18598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18600
28c90b2c
UD
186012010-08-15 Ulrich Drepper <drepper@redhat.com>
18602
18603 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18604 of strncasecmp_l.
1feccb6c 18605 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18606
ca6bb004
UD
186072010-08-14 Ulrich Drepper <drepper@redhat.com>
18608
e9f82e0d
UD
18609 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18610 strncase_l-nonascii.
18611 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18612 Add strncase_l-ssse3.
18613 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18614 * sysdeps/x86_64/strcmp.S: Likewise.
18615 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18616 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18617 * sysdeps/x86_64/strncase.S: New file.
18618 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18619 * sysdeps/x86_64/strncase_l.S: New file.
18620 * string/Makefile (strop-tests): Add strncasecmp.
18621 * string/test-strncasecmp.c: New file.
18622
18623 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18624 warning.
18625
ca6bb004
UD
18626 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18627 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18628
052fa7b3
AS
186292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18630
18631 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18632
962dba78
UD
186332010-08-12 Ulrich Drepper <drepper@redhat.com>
18634
18635 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18636 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18637 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18638
bebff237
AM
186392010-05-01 Alan Modra <amodra@gmail.com>
18640
18641 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18642 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18643 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18644 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18645 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18646 tidying. Don't tail-call __sigjmp_save for static lib.
18647 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18648 save location.
18649 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18650 (CALL_MCOUNT): Add eh info, and nop after bl.
18651 (TAIL_CALL_SYSCALL_ERROR): New macro.
18652 (PSEUDO_RET): Use it.
18653 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18654 Correct save location of integer regs and cr.
18655 (_dl_profile_resolve): Correct cr save location. Delete nops
18656 after bl when SHARED. Reduce cfi size a little by better
18657 placement of cfi directives.
18658 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18659 make a stack frame. Instead use parm save area as a temp.
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18661 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18663 Don't make a stack frame for parent, use parm save area.
18664 Increase child stack frame to 112 bytes. Don't save unused reg,
18665 and adjust reg usage. Set up cfi on error recovery and
18666 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18668 (__makecontext): Add dummy nop after jump to exit.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18670 Use correct parm save area and cr save, reduce stack frame.
18671 Correct cfi for possible PSEUDO_RET frame setup.
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18673 Branch to local label emitted by PSEUDO_RET rather than
18674 __syscall_error.
18675
02637374
AS
186762010-08-12 Andreas Schwab <schwab@redhat.com>
18677
18678 [BZ #11904]
18679 * locale/programs/locale.c (print_assignment): New function.
18680 (show_locale_vars): Use it.
18681
c3e2f19b
UD
186822010-08-11 Ulrich Drepper <drepper@redhat.com>
18683
3cdaa6ad
UD
18684 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18685 field.
18686 (struct statfs64): Likewise.
18687 (_STATFS_F_FLAGS): Define.
18688 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18690 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18691 (ST_VALID): Define locally.
18692 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18693 __statvfs_getflags, use the provided value.
18694 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18695 __ASSUME_STATFS_F_FLAGS.
18696
754f7da3
UD
18697 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18698
10b3bedc
UD
18699 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18700 Add sys/fanotify.h.
18701 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18702 fanotify_mask for GLIBC_2.13.
18703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18704 fanotify_init and fanotify_mark.
18705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18706 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18707
c08fb0d7
UD
18708 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18709 Add prlimit.
18710 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18711 prlimit64 for GLIBC_2.13.
18712 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18713 prlimit64.
18714 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18715 syscall.
18716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18717 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18718 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18719 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18720 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18721 add prlimit alias.
18722 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18723
15bac72b
UD
18724 [BZ #11903]
18725 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18726 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18727
c3e2f19b
UD
18728 * nss/Makefile: Add rules to build and run tst-nss-test1.
18729 * shlib-versions: Add entry for libnss_test1.
18730 * nss/nss_test1.c: New file.
18731 * nss/tst-nss-test1.c: New file.
18732
18733 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18734 (__nss_configure_lookup): Set appropriate entry in
18735 __nss_configure_lookup to true.
18736 * nss/nsswitch.h: Define enum with indeces of databases in
18737 databases and __nss_database_custom arrays. Declare
18738 __nss_database_custom.
18739 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18740 to avoid using nscd when custom rules are installed.
18741 * nss/getXXbyYY_r.c: Likewise.
18742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18743
18744 * nss/nss_files/files-parse.c: Whitespace fixes.
18745
f15ce4d8
UD
187462010-08-09 Ulrich Drepper <drepper@redhat.com>
18747
18748 [BZ #11883]
18749 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18750 * posix/fnmatch_loop.c: Likewise.
18751
d22e4cc9
AK
187522010-07-17 Andi Kleen <ak@linux.intel.com>
18753
18754 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18755 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18756 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18757 * Versions.def [GLIBC_2.13]: Add.
18758
805bc17d
UD
187592010-08-06 Ulrich Drepper <drepper@redhat.com>
18760
18761 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18762 Also fail if tpwd after pwuid call is NULL.
18763
5a42321d
ST
187642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18765
18766 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18767 when converting to ms.
18768
fd3ebeda
ST
187692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18770
18771 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18772 EOPNOTSUPP errors with ENOTTY.
18773 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18774 EOPNOTSUPP errors with ENOTTY.
18775
73507d3a
UD
187762010-07-31 Ulrich Drepper <drepper@redhat.com>
18777
18778 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18779 Add strcasecmp_l-ssse3.
18780 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18781 strcasecmp.
18782 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18783 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18784 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18785
fe36dd02
UD
187862010-07-30 Ulrich Drepper <drepper@redhat.com>
18787
66f6765a
UD
18788 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18789
42e08a54
UD
18790 * string/Makefile (strop-tests): Add strcasecmp.
18791 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18792 strcasecmp_l-nonascii.
18793 (gen-as-const-headers): Add locale-defines.sym.
18794 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18795 * sysdeps/x86_64/strcasecmp.S: New file.
18796 * sysdeps/x86_64/strcasecmp_l.S: New file.
18797 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18798 * sysdeps/x86_64/locale-defines.sym: New file.
18799 * string/test-strcasecmp.c: New file.
18800
fe36dd02
UD
18801 * string/test-strcasestr.c: Test both ends of the range of characters.
18802 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18803
48cbc0d6
RM
188042010-07-29 Roland McGrath <roland@redhat.com>
18805
76e6d6bc 18806 [BZ #11856]
48cbc0d6
RM
18807 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18808
880113d9
UD
188092010-07-27 Ulrich Drepper <drepper@redhat.com>
18810
18811 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18812 for ld.so.
18813
deb9cabb
AS
188142010-07-27 Andreas Schwab <schwab@redhat.com>
18815
18816 * manual/memory.texi (Malloc Tunable Parameters): Document
18817 M_PERTURB.
18818
1c7570ff
RM
188192010-07-26 Roland McGrath <roland@redhat.com>
18820
18821 [BZ #11840]
18822 * configure.in (-fgnu89-inline check): Set and substitute
18823 gnu89_inline, not libc_cv_gnu89_inline.
18824 * configure: Regenerated.
18825 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18826
24fb0f88
UD
188272010-07-26 Ulrich Drepper <drepper@redhat.com>
18828
18829 * string/test-strnlen.c: New file.
18830 * string/Makefile (strop-tests): Add strnlen.
18831 * string/tester.c (test_strnlen): Add a few more test cases.
18832 * string/tst-strlen.c: Better error reporting.
18833
18834 * sysdeps/x86_64/strnlen.S: New file.
18835
8e96b93a
UD
188362010-07-24 Ulrich Drepper <drepper@redhat.com>
18837
18838 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18839 lower-latency instructions.
18840
dbc676d4
UD
188412010-07-23 Ulrich Drepper <drepper@redhat.com>
18842
18843 * string/test-strcasestr.c: New file.
18844 * string/test-strstr.c: New file.
18845 * string/Makefile (strop-tests): Add strstr and strcasestr.
18846 * string/str-two-way.h: Don't undefine MAX.
18847 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18848
f6a31e0e
AS
188492010-07-21 Andreas Schwab <schwab@redhat.com>
18850
18851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18852 strcasestr-nonascii.
18853 (CFLAGS-strcasestr-nonascii.c): Define.
18854 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18855 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18856 Remove unused attribute.
18857
5dbc3b6c
RM
188582010-07-20 Roland McGrath <roland@redhat.com>
18859
18860 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18861 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18862 ld.so.cache was broken. With it, there is no way to disable dsocaps
18863 like LD_HWCAP_MASK can disable hwcaps.
18864
23d101d8
EPM
188652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18866
18867 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18868
cc9f2e47
UD
188692010-07-16 Ulrich Drepper <drepper@redhat.com>
18870
18871 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18872 call in strcasestr.
18873 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18874 __strcasestr_sse42_nonascii.
18875 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18876 strcasestr-nonascii.c.
18877 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18878
77c1b069
LM
188792010-06-15 Luis Machado <luisgpm@br.ibm.com>
18880
18881 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18882 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18883 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18884 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18885
440566c3
UD
188862010-07-09 Ulrich Drepper <drepper@redhat.com>
18887
18888 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18889 fcntl.
18890
5be9d05d
AS
188912010-07-06 Andreas Schwab <schwab@redhat.com>
18892
c30b7ee2 18893 [BZ #11577]
5be9d05d
AS
18894 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18895 dl_signal_cerror.
18896
8a492a67
UD
188972010-07-06 Ulrich Drepper <drepper@redhat.com>
18898
18899 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18900 _PC_PIPE_BUF using F_GETPIPE_SZ.
18901
713df3d5
RM
189022010-07-05 Roland McGrath <roland@redhat.com>
18903
18904 * manual/arith.texi (Rounding Functions): Fix rint description
18905 implicit in round description.
18906
702e8f14
UD
189072010-07-02 Ulrich Drepper <drepper@redhat.com>
18908
18909 * elf/Makefile: Fix linking for a few tests to make recent linker
18910 happy.
18911
52ed8be9
AS
189122010-06-30 Andreas Schwab <schwab@redhat.com>
18913
18914 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18915 $(common-objpfx)libc_nonshared.a.
18916
f47c9a11
LM
189172010-06-21 Luis Machado <luisgpm@br.ibm.com>
18918
18919 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18920 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18921 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18922 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18923 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18924 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18925 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18926 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18941 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18942 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18943 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18944 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18945 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18946 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18947 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18948 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18949 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18950 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18951 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18952 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18967
6fb8cbcb
L
189682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18969
18970 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18971 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18972 * string/memmove.c (memmove): Renamed to ...
18973 (MEMMOVE): ...this. Default to memmove.
18974 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18975 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18976 (END_CHK): Define.
18977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18978 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18979 mempcpy-ssse3-back memmove-ssse3-back.
18980 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18982 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18983 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18984 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18985 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18986 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18987 * sysdeps/x86_64/multiarch/memmove.c: New file.
18988 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18989 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18990 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18991 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18992 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18993 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18994 Define.
18995 (index_Fast_Copy_Backward): Define.
18996 (HAS_ARCH_FEATURE): Define.
18997 (HAS_FAST_REP_STRING): Define.
18998 (HAS_FAST_COPY_BACKWARD): Define.
18999
4e733bac 190002010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19001
19002 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19003 Restore proper fallback handling.
19004
63c4ed22
UD
190052010-06-19 Ulrich Drepper <drepper@redhat.com>
19006
ac2b484c
UD
19007 [BZ #11701]
19008 * posix/group_member.c (__group_member): Correct checking loop.
19009
63c4ed22
UD
19010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19011 OOM in getpwuid_r correctly. Return error number when the caller
19012 should return, otherwise -1.
19013 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19014 call returning > 0 value.
19015 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19016
765ade4b
AS
190172010-06-07 Andreas Schwab <schwab@redhat.com>
19018
19019 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19020 libc_nonshared.a from targets in modules-names.
19021
80da2e09
KS
190222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19023
19024 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19025 requires it.
19026
158db122
LM
190272010-06-10 Luis Machado <luisgpm@br.ibm.com>
19028
19029 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19030 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19031 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19033
caa78cf8
AS
190342010-06-02 Andreas Schwab <schwab@redhat.com>
19035
19036 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19037
b2ef2c01
UD
190382010-06-14 Ulrich Drepper <drepper@redhat.com>
19039
19040 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19041 and F_GETPIPE_SZ.
19042 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19043 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19046 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19047 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19048
fbd643b6
RM
190492010-06-14 Roland McGrath <roland@redhat.com>
19050
19051 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19052
f32f2869
JJ
190532010-06-07 Jakub Jelinek <jakub@redhat.com>
19054
19055 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19056 __REDIRECT followed by __THROW.
19057 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19058 * posix/getopt.h (getopt): Likewise.
19059
2a50c078
EPM
190602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19061
19062 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19063 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19064 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19065 in AT_FLAGS.
19066 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19067 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19068
eb5ad2eb
LM
190692010-05-28 Luis Machado <luisgpm@br.ibm.com>
19070
19071 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19072
3c88fe1e
L
190732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19074
19075 [BZ #11640]
19076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19077 Properly check family and model.
19078
d2f73151
TY
190792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19080
19081 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19082
ebd2e13d
LM
190832010-05-24 Luis Machado <luisgpm@br.ibm.com>
19084
19085 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19086
b32b8b45
UD
190872010-05-21 Ulrich Drepper <drepper@redhat.com>
19088
19089 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19090 symbol reference.
19091
9acbe24d
AS
190922010-05-19 Andreas Schwab <schwab@redhat.com>
19093
19094 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19095 symbol reference.
19096
f0ccf6ea
AS
190972010-05-21 Andreas Schwab <schwab@redhat.com>
19098
3d04ff3a
AS
19099 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19100 and internal_recvmmsg.
19101 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19102 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19103 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19104 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19105
f0ccf6ea
AS
19106 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19107 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19108 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19109
5b08ac57
AS
191102010-05-20 Andreas Schwab <schwab@redhat.com>
19111
19112 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19113
4828935d
LM
191142010-05-17 Luis Machado <luisgpm@br.ibm.com>
19115
19116 POWER7 optimizations.
19117 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19118 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19119
373d545e
UD
191202010-05-19 Ulrich Drepper <drepper@redhat.com>
19121
19122 * version.h: Update for 2.13 development version.
19123
21a2b1ae
AS
191242010-05-12 Andrew Stubbs <ams@codesourcery.com>
19125
19126 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19127 exceptions. Return 0.
19128
3f7dcb2b
RM
191292010-05-07 Roland McGrath <roland@redhat.com>
19130
19131 * elf/ldconfig.c (main): Add a const.
19132
5f24d53a 191332010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19134
a160f8d8
UD
19135 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19136 (args_options): Add no-idn option.
19137 (ahosts_keys_int): Add idn_flags to ai_flags.
19138 (parse_option): Handle 'i' option to clear idn_flags.
19139
5f24d53a
UD
19140 * malloc/malloc.c (_int_free): Possible race in the most recently
19141 added check. Only act on the data if no current modification
19142 happened.
265bb1ce
UD
19143
19144See ChangeLog.17 for earlier changes.
This page took 2.836791 seconds and 5 git commands to generate.