]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove _dl_initial_dtv
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b80af2f4
L
12012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 * csu/libc-tls.c (static_dtv): Renamed to ...
4 (_dl_static_dtv): This. Make it global.
5 (_dl_initial_dtv): Removed.
6 (__libc_setup_tls): Updated.
7 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9 DL_INITIAL_DTV.
10
2abe9f15
PM
112012-09-06 Petr Machata <pmachata@redhat.com>
12
13 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17
0948c3af
L
182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19
20 [BZ #14545]
21 * csu/libc-tls.c (_dl_initial_dtv): New variable.
22 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23 freeing dtv[-1].
24
a5055ad1
L
252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26
27 [BZ #14544]
28 * Makeconfig (link-static-before-libc): Replace $(+prector)
29 with $(+prectorT).
30 (link-static-after-libc): Replace $(+postctor) with
31 $(+postctorT).
32 (link-bounded): Replace $(+prector)/$(+postctor) with
33 $(+prectorT)/$(+postctorT).
34 (+prectorT): New macro.
35 (+postctorT): Likewise.
36
ed8c2ecd
JM
372012-09-06 Joseph Myers <joseph@codesourcery.com>
38
39 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40 (round_str): Handle values above the maximum for IBM long double
41 as inexact.
42 * stdlib/tst-strtod-round.c (tests): Regenerated.
43
14c996c8
AK
442012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45
46 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47 assembler flag.
48 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
49 zarch_nohighgprs around the zarch optimized routines.
50 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
53 for zarch.
54
430d6ce6
DM
552012-09-05 David S. Miller <davem@davemloft.net>
56
57 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58
ff04dda4
DM
59 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
60 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63 entries.
64
24d4e01b
AO
652012-09-05 Alexandre Oliva <aoliva@redhat.com>
66
67 * malloc/arena.c: Fold copyright years.
68 * malloc/mcheck.c, malloc/memusage.c: Likewise.
69
61d58174
AO
702012-09-05 Alexandre Oliva <aoliva@redhat.com>
71
72 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
73
20196a5e
AO
742012-09-05 Alexandre Oliva <aoliva@redhat.com>
75
76 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
77
5c447383
AO
782012-09-05 Alexandre Oliva <aoliva@redhat.com>
79
80 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
81 change internal state upon failure.
82
fad64255
AO
832012-09-05 Alexandre Oliva <aoliva@redhat.com>
84
85 * malloc/mcheck.c (mcheck_check_all): Fix typo.
86 * malloc/memusage.c (mmap): Likewise.
87 (mmap64, mremap): Likewise. Adjust name in comment.
88
1ffb8c90
SP
892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
90
91 * libio/fileops.c: Fix typos in comments.
92 * libio/oldfileops.c: Likewise.
93 * libio/wfileops.c: Likewise.
94
6ef9cc37
SP
952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
96
97 [BZ #1349]
98 * malloc/Makefile (tests): Add tst-malloc-usable test case.
99 (tst-malloc-usable-ENV): Set environment for test case.
100 * malloc/hooks.c (malloc_check_get_size): New function to get
101 requested size.
102 * malloc/malloc.c (musable): Use malloc_check_get_size.
103 * malloc/tst-malloc-usable.c: New test case.
104
4d038ae3
AS
1052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
106
107 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
108
c4e85184
AM
1092012-09-05 Allan McRae <allan@archlinux.org>
110
b9dafc56 111 [BZ #13966]
c4e85184
AM
112 * configure.in (CXX_SYSINCLUDES): Use compiler output to
113 determine header location.
114 * configure: Regenerated.
115
e1343020
AS
1162012-09-05 Andreas Schwab <schwab@linux-m68k.org>
117
118 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
119 float format.
120 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
121 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
122 format.
e1343020
AS
123 (test): Regenerate.
124
0a9f1987
DM
1252012-09-04 David S. Miller <davem@davemloft.net>
126
127 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
128 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
129 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
130
29237804
FW
1312012-09-04 Florian Weimer <fweimer@redhat.com>
132
133 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
134 failures.
135
edb3cb88
FW
136 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
137
60160d83
JM
1382012-09-04 Joseph Myers <joseph@codesourcery.com>
139
140 [BZ #9914]
141 * libio/iogetdelim.c: Include <limits.h>.
142 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
143 + len + 1 would overflow.
144
bcd6c8dc
AJ
1452012-09-03 Andreas Jaeger <aj@suse.de>
146
147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
148 * sysdeps/i386/fpu/libm-test-ulps: Update.
149
4ffffbd2
LD
1502012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
151
152 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
153 Add s_sinf-sse2, s_conf-sse2.
154
155 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
156 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
157 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
158 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
159
160 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
161 for using routine as __sinf_ia32.
162 Use macro for function declaration and weak_alias.
163 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
164 for using routine as __cosf_ia32.
165 Use macro for function declaration and weak_alias.
166
167 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
168 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
169
170 * sysdeps/x86_64/fpu/s_sinf.S: New file.
171 * sysdeps/x86_64/fpu/s_cosf.S: New file.
172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
173
174 * math/libm-test.inc (cos_test): Add more test cases.
175 (sin_test): Likewise.
176 (sincos_test): Likewise.
177
511fa286
AK
1782012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
179
180 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
181 (IFUNC_RESOLVE): Make pointers to the specialized implementations
182 hidden.
183 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
184
5f30cfec
L
1852012-09-02 H.J. Lu <hongjiu.lu@intel.com>
186
187 [BZ #14538]
188 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
189 first element of the GOT.
190 (elf_machine_load_address): Return the difference between
191 the runtime address of _DYNAMIC and elf_machine_dynamic ().
192
0786794f
AM
1932012-09-01 Allan McRae <allan@archlinux.org>
194
5f30cfec
L
195 [BZ #13412]
196 * configure.in (AWK): Require gawk version 3.0 or later.
197 * configure: Regenerated.
0786794f 198
26889eac
JM
1992012-09-01 Joseph Myers <joseph@codesourcery.com>
200
201 * sysdeps/unix/sysv/linux/kernel-features.h
202 (__ASSUME_POSIX_CPU_TIMERS): Remove.
203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
204 [__NR_clock_getres]: Make code unconditional.
205 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
206 (clock_getcpuclockid): Remove code left unreachable by removal of
207 conditionals.
208 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
209 code unconditional.
210 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
211 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
212 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
213 Make code unconditional.
214 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
215 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
216 * sysdeps/unix/sysv/linux/clock_settime.c
217 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
218 conditional code.
219 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
220 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
221
d22e28b0
L
2222012-08-29 H.J. Lu <hongjiu.lu@intel.com>
223
224 [BZ #14476]
225 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
226 scripts/test-installation.pl.
227
228 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
229 and $ld_so_version if it is set.
230
050af9c4
SP
2312012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
232
233 [BZ #14516]
234 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
235 failure if reading from procfs failed.
236 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
237
ad845c0b
JM
2382012-08-27 Joseph Myers <joseph@codesourcery.com>
239
240 * sysdeps/unix/sysv/linux/kernel-features.h
241 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
242 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
243 Remove conditional code.
244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
245 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
246 Remove conditional code.
247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
248 * sysdeps/unix/sysv/linux/i386/fxstat.c
249 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
251 * sysdeps/unix/sysv/linux/i386/fxstatat.c
252 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
254 * sysdeps/unix/sysv/linux/i386/lxstat.c
255 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
257 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
258 Remove conditional code.
259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
260 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
261 Remove conditional code.
262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
263 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
264 <kernel-features.h>.
265 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
266 Remove.
267 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
268 Remove conditional code.
269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
270 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
271 Remove conditional.
272
5dbf56af
MF
2732012-08-27 Mike Frysinger <vapier@gentoo.org>
274
275 [BZ #5400]
276 * NEWS: Add fixed bug number.
277
d6e70f43
JM
2782012-08-27 Joseph Myers <joseph@codesourcery.com>
279
7efb4737
JM
280 [BZ #14519]
281 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
282 underflowing exponent in case of negative sign.
283 * stdlib/tst-strtod-round-data: Add more tests.
284 * stdlib/tst-strtod-round.c (tests): Regenerated.
285
af92131a
JM
286 [BZ #3479]
287 * stdlib/strtod_l.c (NDIG): Remove.
288 (HEXNDIG): Likewise.
289 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
290 smallest representable value.
291 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
292 lie within an exact representation of 1/2 ulp of the result.
293 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
294 unconditionally.
295 (TENS_P9_IDX): Define unconditionally.
296 (TENS_P9_SIZE): Likewise.
297 (TENS_P10_IDX): Likewise.
298 (TENS_P10_SIZE): Likewise.
299 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
300 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
301 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
302 entries for 10^2^13 and 10^2^14.
303 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
304 (TENS_P13_IDX): Define.
305 (TENS_P13_SIZE): Likewise.
306 (TENS_P14_IDX): Likewise.
307 (TENS_P14_SIZE): Likewise.
308 (_fpioconst_pow10): Change array size to
309 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
310 unconditional.
311 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
312 1024]: Add entries for 10^2^13 and 10^2^14.
313 [LAST_POW10 > _LAST_POW10]: Remove #error.
314 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
315 (_fpioconst_pow10): Change array size to
316 FPIOCONST_POW10_ARRAY_SIZE.
317 * stdlib/gen-fpioconst.c: New file.
318 * stdlib/gen-tst-strtod-round.c: Likewise.
319 * stdlib/tst-strtod-round-data: Likewise.
320 * stdlib/tst-strtod-round.c: Likewise.
321 * stdlib/Makefile (tests): Add tst-strtod-round.
322
d6e70f43
JM
323 [BZ #14459]
324 * stdlib/strtod_l.c: Include <stdint.h>.
325 (NDEBUG): Do not define.
326 (round_and_return): Change EXPONENT parameter to type intmax_t.
327 Rearrange calculations to avoid internal overflow possibilities.
328 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
329 Rearrange calculations to avoid internal overflow possibilities.
330 Assert that number fits inside MPNSIZE limbs.
331 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
332 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
333 calculations and add assertions to avoid internal overflow
334 possibilities. Add casts to avoid signed/unsigned operations.
335 * stdlib/tst-strtod-overflow.c: New file.
336 * stdlib/Makefile (tests): Add tst-strtod-overflow.
337
1f529f7d
MP
3382012-08-25 Marek Polacek <polacek@redhat.com>
339
340 * time/time.h: Fix some typos in comments.
341
59a629f1
RM
3422012-08-23 Roland McGrath <roland@hack.frob.com>
343
344 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
345 * posix/tst-rfc3484-2.c: Likewise.
346 * posix/tst-rfc3484-3.c: Likewise.
347
d3bafbc9
SM
3482012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
349
350 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
351 (EF_ARM_ABI_FLOAT_HARD): Likewise.
352
4efcc022
JM
3532012-08-23 Joseph Myers <joseph@codesourcery.com>
354
355 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
356 #include of fxstatat64.c.
357
3cc3ef96
RM
3582012-08-22 Roland McGrath <roland@hack.frob.com>
359
f04e2132
RM
360 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
361 * shadow/getspent_r.c: Likewise.
362 * shadow/getspnam.c: Likewise.
363 * shadow/getspnam_r.c: Likewise.
364 * gshadow/getsgent.c: Likewise.
365 * gshadow/getsgent_r.c: Likewise.
366 * gshadow/getsgnam.c: Likewise.
367 * gshadow/getsgnam_r.c: Likewise.
368 * inet/getnetbyad.c: Likewise.
369 * inet/getnetbyad_r.c: Likewise.
370 * inet/getnetbynm.c: Likewise.
371 * inet/getnetbynm_r.c: Likewise.
372 * inet/getnetent.c: Likewise.
373 * inet/getnetent_r.c: Likewise.
374 * inet/getproto.c: Likewise.
375 * inet/getproto_r.c: Likewise.
376 * inet/getprtent.c: Likewise.
377 * inet/getprtent_r.c: Likewise.
378 * inet/getprtname.c: Likewise.
379 * inet/getprtname_r.c: Likewise.
380 * inet/getrpcbyname.c: Likewise.
381 * inet/getrpcbyname_r.c: Likewise.
382 * inet/getrpcbynumber.c: Likewise.
383 * inet/getrpcbynumber_r.c: Likewise.
384 * inet/getrpcent.c: Likewise.
385 * inet/getrpcent_r.c: Likewise.
386 * inet/getaliasent.c: Likewise.
387 * inet/getaliasent_r.c: Likewise.
388 * inet/getaliasname.c: Likewise.
389 * inet/getaliasname_r.c: Likewise.
390 * nscd/getgrgid_r.c: Likewise.
391 * nscd/getgrnam_r.c: Likewise.
392 * nscd/gethstbyad_r.c: Likewise.
393 * nscd/gethstbynm3_r.c: Likewise.
394 * nscd/getpwnam_r.c: Likewise.
395 * nscd/getpwuid_r.c: Likewise.
396 * nscd/getsrvbynm_r.c: Likewise.
397 * nscd/getsrvbypt_r.c: Likewise.
398 * nscd/gai.c: Likewise.
399
c53d909c
RM
400 * configure.in (build_nscd): New substituted variable, set
401 by --disable-build-nscd and defaults to $use_nscd.
402 * configure: Regenerated.
403 * config.make.in (build-nscd): New substituted variable.
404 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
405 Change conditional to require [$(build-nscd) = yes] as well.
406 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
407
3cc3ef96
RM
408 [BZ# 13696]
409 * configure.in (use_nscd): New substituted variable, set by
410 --disable-nscd. If enabled, define USE_NSCD.
411 * configure: Regenerated.
412 * config.h.in: Add USE_NSCD.
413 * config.make.in (use-nscd): New substituted variable.
414 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
415 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
416 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
417 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
418 (CFLAGS-getgrnam_r.c): Likewise.
419 (CFLAGS-initgroups.c): Likewise.
420 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
421 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
422 Variables removed.
423 * inet/getnetgrent_r.c
424 (nscd_setnetgrent): New function, broken out of ...
425 (setnetgrent): ... here. Call it.
426 (innetgr): Conditionalize nscd bits on [USE_NSCD].
427 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
428 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
429 * nscd/Makefile (routines, aux): Move definitions after include of
430 Makeconfig. Conditionalize on [$(use-nscd) != no].
431 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
432 Conditionalize on [USE_NSCD].
433 (is_nscd, nscd_init_cb): Likewise.
434 (nss_load_library): Conditionalize init callback on [USE_NSCD].
435 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
436 * nss/nss_db/db-init.c: Likewise.
437 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
438 [USE_NSCD].
439 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
440 (make_request): Use it.
441 (cache_valid_p): New function.
442 (__check_pf): Use it.
443 * NEWS: Add item for --disable-nscd.
444
07e51550
DL
4452012-08-22 Dmitry V. Levin <ldv@altlinux.org>
446
447 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
448 to support sed >= 4.2.1-20-ga9bf076.
449 * configure: Regenerated.
450
35a5b08b
RM
4512012-08-22 Roland McGrath <roland@hack.frob.com>
452
453 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
454 Conditionalize whole body on [IREL].
455
8479f23a
JL
4562012-08-22 Jeff Law <law@redhat.com>
457
458 [BZ #14505]
459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
460 if the family is PF_UNSPEC.
461
48da0b21
MF
4622012-08-22 Mike Frysinger <vapier@gentoo.org>
463
464 * Makerules (lib-version): Rename from V.
465 (install-lib-nosubdir): Change V to lib-version.
466
15d0da8c
WS
4672012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
468
469 [BZ #14252]
470 * powerpc32/power6/wcschr.c: New file.
471 * powerpc32/power6/wcscpy.c: New file.
472 * powerpc32/power6/wcsrchr.c: New file.
473 * powerpc64/power6/wcschr.c: New file.
474 * powerpc64/power6/wcscpy.c: New file.
475 * powerpc64/power6/wcsrchr.c: New file.
476
bcca0895
MK
4772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
478
479 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
480 (two_way_short_needle): Use it.
5a4aaa33
RM
481 * string/strstr.c (AVAILABLE1_USES_J): Define.
482 * string/strcasestr.c: Likewise.
99677e57
MK
483
484 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
485 array references.
486 * string/strcasestr.c (TOLOWER): Make side-effect safe.
487
400726de
MK
488 [BZ #11607]
489 * NEWS: Add an entry.
490 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
491 define their defaults.
492 (two_way_short_needle): Detect end-of-string on-the-fly.
493 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
494 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
495 * string/bug-strcasestr1.c: New test.
496 * string/Makefile: Run it.
497
20a71f2c
MK
4982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
499
500 [BZ #11607]
501 * string/str-two-way.h (two_way_short_needle): Optimize matching of
502 the first character.
503
21ad0558
RM
5042012-08-21 Roland McGrath <roland@hack.frob.com>
505
506 * csu/elf-init.c (__libc_csu_irel): Function removed.
507 * csu/libc-start.c (apply_irel): New function.
508 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
509
0e1d9911
JM
5102012-08-21 Joseph Myers <joseph@codesourcery.com>
511
512 * sysdeps/unix/sysv/linux/kernel-features.h
513 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
514 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
515 <kernel-features.h>.
516 [__NR_fadvise64_64]: Make code unconditional.
517 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
518 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
519 !__NR_fadvise64_64)]: Likewise.
520 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
521 !__NR_fadvise64_64))]: Likewise.
522 [__NR_fadvise64]: Make code unconditional.
523 [!__NR_fadvise64]: Remove conditional code.
524 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
525 <kernel-features.h>.
526 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
527 unconditional.
528 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
529 conditional code.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
531 not include <kernel-features.h>.
532 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
533 unconditional.
534 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
535 conditional code.
536 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
537 include <kernel-features.h>.
538 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
539 unconditional.
540 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
541 conditional code.
542
14a50c9d
WS
5432012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
544
545 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
546 slight instruction rearrangements per scrollpipe analysis.
547 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
548
c0f4faf0
RM
5492012-08-20 Roland McGrath <roland@hack.frob.com>
550
696da859
RM
551 * manual/syslog.texi (syslog; vsyslog, closelog):
552 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
553 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
554
c0f4faf0
RM
555 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
556 DSOCAPS to match condition on defining it.
557
348363b2
JM
5582012-08-20 Joseph Myers <joseph@codesourcery.com>
559
a35cbf28
JM
560 * sysdeps/unix/sysv/linux/kernel-features.h
561 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
563 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
564 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
566 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
567 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
569 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
570 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
571
445f7ecd
JM
572 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
573 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
574
348363b2
JM
575 * sysdeps/unix/sysv/linux/kernel-features.h
576 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
577 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
578 unconditional.
579 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
580 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
581 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
582 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
583 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
584 Make code unconditional.
585 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
586 (__mmap64) [!__NR_mmap2]: Likewise.
587 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
588 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
589 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
590 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
591 [__NR_mmap2]: Make code unconditional.
592 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
593 (__mmap64) [!__NR_mmap2]: Likewise.
594
bc5bc0e5
AK
5952012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
596
597 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
598
88d506de
AJ
5992012-08-18 Andreas Jaeger <aj@suse.de>
600
601 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
602
493387d2
MF
6032012-08-18 Mike Frysinger <vapier@gentoo.org>
604
605 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
606 * include/unistd.h (__have_sock_cloexec): Likewise.
607 (__have_pipe2): Likewise.
608 (__have_dup3): Likewise.
609
a277af22
MF
6102012-08-18 Mike Frysinger <vapier@gentoo.org>
611
612 [BZ #9685]
613 * include/unistd.h (__have_pipe2): Change define into an extern int.
614 (__have_dup3): Likewise.
615 * socket/have_sock_cloexec.c: Include fcntl.h.
616 (__have_pipe2): New variable.
617 (__have_dup3): Likewise.
618
fdab8fd3
MF
6192012-08-17 Mike Frysinger <vapier@gentoo.org>
620
621 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
622
31035e80
MP
6232012-08-17 Marek Polacek <polacek@redhat.com>
624
625 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
626 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
627
3bd9e993
RM
6282012-08-17 Roland McGrath <roland@hack.frob.com>
629
c91c505f
RM
630 * configure.in: Add AC_SUBST for sysheaders.
631 * configure: Regenerated.
632 * config.make.in (sysheaders): New substituted variable.
633
7c6f9d53
RM
634 * sysdeps/unix/mkfifo.c: Moved ...
635 * sysdeps/posix/mkfifo.c: ... here.
636 * sysdeps/unix/mkfifoat.c: Moved ...
637 * sysdeps/posix/mkfifoat.c: ... here.
638
639 * sysdeps/unix/utime.c: Moved ...
640 * sysdeps/posix/utime.c: ... here.
641
642 * sysdeps/unix/time.c: Moved ...
643 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
644 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
645 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
646
647 * sysdeps/unix/nice.c: Moved ...
648 * sysdeps/posix/nice.c: ... here.
649
650 * sysdeps/unix/alarm.c: Moved ...
651 * sysdeps/posix/alarm.c: ... here.
652
3bd9e993
RM
653 * intl/Makefile ($(codeset_mo)): Depend on the input file.
654
d1f09384
JL
6552012-08-17 Jeff Law <law@redhat.com>
656
657 * intl/Makefile (codeset_mo): New variable.
658 ($(codeset_mo)): New target.
659 (tst-codeset.out): Depend on that. Remove explicit rule.
660 (tst-gettext3.out, tst-gettext5.out): Likewise.
661 (LOCPATH-ENV, tst-codeset-ENV): New variables.
662 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
663 * intl/tst-codeset.sh: Remove.
664 * intl/tst-gettext3.sh: Likewise.
665 * intl/tst-gettext5.sh: Likewise.
666
2ae1ae5c
RM
6672012-08-17 Roland McGrath <roland@hack.frob.com>
668
c31fdb83
RM
669 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
670 * sysdeps/unix/syscalls.list: ... here.
671
a0844057
RM
672 * sysdeps/posix/getaddrinfo.c
673 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
674 (gaiconf_init, gaiconf_reload): Use them.
675 [!_STATBUF_ST_NSEC]
676 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
677 Define using time_t rather than struct timespec.
678
750c1f2a
RM
679 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
680 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
681 Macros removed.
682 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
683 [!NO_THREADS].
684 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
685 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
686 Likewise.
687
2ae1ae5c
RM
688 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
689 __libc_cleanup_push argument.
690
e66a42f5
RM
691 * bits/param.h: New file.
692 * misc/sys/param.h: New file.
693 * include/sys/param.h: New file.
694 * misc/Makefile (headers): Add bits/param.h.
695 * sysdeps/generic/sys/param.h: File removed.
696 * sysdeps/unix/sysv/linux/bits/param.h: New file.
697 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
698 * sysdeps/mach/hurd/bits/param.h: New file.
699 * sysdeps/mach/hurd/sys/param.h: New file.
700
b7c08a66
RM
701 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
702 last change.
703
b2e1c562
RM
704 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
705 [_IO_MTSAFE_IO].
706 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
707 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
708 New macros.
709
c75ccd4c
RM
710 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
711 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
712 rather than -D_IO_MTSAFE_IO conditionally.
713 * stdio-common/Makefile (CPPFLAGS): Likewise.
714 * wcsmbs/Makefile (CPPFLAGS): Likewise.
715 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
716 Use $(libio-mtsafe).
717 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
718 of -D_IO_MTSAFE_IO.
719 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
720 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
721 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
722 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
723 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
724 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
725 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
726 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
727 (CFLAGS-fread_u_chk.c): Likewise.
728 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
729 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
730 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
731 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
732 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
733 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
734 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
735 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
736 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
737
738 * libio/Makefile: Test [$(libc-reentrant) = yes]
739 instead of [$(filter %REENTRANT, $(defines)) nonempty].
740
741 * Makeconfig
742 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
743 * sysdeps/pthread/configure: File removed.
744 * sysdeps/pthread/Makeconfig: New file.
745 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
746 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
747
d9195db8
GB
7482012-08-16 Gary Benson <gbenson@redhat.com>
749
750 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
751 unmapping the first object in a namespace.
752
86466cd9
RM
7532012-08-16 Roland McGrath <roland@hack.frob.com>
754
755 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
756 (__internal_setnetgrent): ... this. Add internal_function to
757 definition. Add libc_hidden_def.
758 (setnetgrent): Update caller.
759 (internal_endnetgrent): Renamed to ...
760 (__internal_endnetgrent): ... this. Add internal_function to
761 definition. Add libc_hidden_def.
762 (endnetgrent): Update caller.
763 (internal_getnetgrent_r): Renamed to ...
764 (__internal_getnetgrent_r): ... this. Add internal_function to
765 definition. Add libc_hidden_def.
766 (__getnetgrent_r): Update caller.
767 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
768
c3c8283c
JM
7692012-08-16 Joseph Myers <joseph@codesourcery.com>
770
771 * stdlib/longlong.h: Update from GCC.
772
db1ee0a8
RM
7732012-08-16 Roland McGrath <roland@hack.frob.com>
774
775 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
776 on _QL, which is set by umul_ppmm but never used.
777 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
778 variables, which are set by GMP macros but never used.
779 * stdio-common/_itowa.c (_itowa): Likewise.
780 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
781 * stdlib/mod_1.c (mpn_mod_1): Likewise.
782
30f69637
CD
7832012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
784
785 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
786 struct La_sh_regs is not constant.
787 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
788 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
789 and struct La_sparc64_regs are not constant.
790
93a78ac4
JM
7912012-08-16 Joseph Myers <joseph@codesourcery.com>
792
793 * sysdeps/unix/sysv/linux/kernel-features.h
794 (__ASSUME_POSIX_TIMERS): Remove.
795 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
796 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
797 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
798 Make code unconditional.
799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
800 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
801 Make code unconditional.
802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
803 * sysdeps/unix/sysv/linux/clock_nanosleep.c
804 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
806 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
807 Make code unconditional.
808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
809 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
810 (__libc_missing_posix_timers): Remove.
811
dd924cd7
RM
8122012-08-15 Roland McGrath <roland@hack.frob.com>
813
4b4f2771
RM
814 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
815 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
816
601c888b
RM
817 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
818
176790a7
RM
819 * elf/dl-sym.c: Include <stdlib.h>.
820
329bc018
RM
821 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
822 constants, which avoids warnings in 32-bit builds.
823
e04e272d
RM
824 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
825 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
826
952bf94a
RM
827 * misc/lseek.c: File moved to ...
828 * io/lseek.c: ... here.
829
7c99b50a
RM
830 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
831
dd924cd7
RM
832 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
833 shifting LEN more than 31 bits at once.
834
b3f479a8
LD
8352012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
836
837 [BZ #14195]
8c4ae0d4
RM
838 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
839 segmentation fault for a case of two empty input strings.
b3f479a8
LD
840 * string/test-strncasecmp.c (check1): Renamed to...
841 (bz12205): ...this.
842 (bz14195): Add new testcase for two empty input strings and N > 0.
843 (test_main): Call new testcase, adapt for renamed function.
844
9c55864e
AJ
8452012-08-15 Andreas Jaeger <aj@suse.de>
846
847 [BZ #14090]
848 * crypt/md5test2.c: New test, based on test supplied by Serge
849 Belyshev <belyshev@depni.sinp.msu.ru>.
850 * crypt/Makefile (xtests): Add md5test-giant..
851 * crypt/Makefile ($(objpfx)md5test-giant): Add.
852
02dcb6c5
PE
8532012-08-15 Paul Eggert <eggert@cs.ucla.edu>
854
855 [BZ #14090]
856 * crypt/md5.c (md5_process_block): Don't assume the buffer
857 length is less than 2**32.
858 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
859 length is less than 2**64.
860
a3f95dcc
RM
8612012-08-15 Roland McGrath <roland@hack.frob.com>
862
be75d758
RM
863 * string/str-two-way.h: Include <sys/param.h>.
864 (MAX): Macro removed.
865
7312ca90
RM
866 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
867 Move #define and #undef of memmove to just before and after
868 including <string.h>.
869
9a0a5486
RM
870 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
871 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
872 and after including <string.h>. Move declarations of
873 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
874 to before #include "string/memmove.c".
875
67cc348d
RM
876 * include/dirent.h: Declare __getdirentries.
877
a3f95dcc
RM
878 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
879 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
880
ca98e171
MF
8812012-08-14 Mike Frysinger <vapier@gentoo.org>
882
883 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
884 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
885 * sysdeps/i386/configure: Regenerated.
886 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
887 STABS_CURRENT_FILE, and STABS_FUN.
888 (END): Remove call to STABS_FUN_END.
889 (STABS_CURRENT_FILE1): Delete.
890 (STABS_CURRENT_FILE): Likewise.
891 (STABS_FUN): Likewise.
892 (STABS_FUN_END): Likewise.
893 (STABS_FUN2): Likewise.
894 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
895 * sysdeps/x86_64/configure: Regenerated.
896
5908bf46
RM
8972012-08-14 Roland McGrath <roland@hack.frob.com>
898
899 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 900 * elf/dl-lookup.c: Likewise.
5908bf46 901
f2c05b9e
JM
9022012-08-14 Joseph Myers <joseph@codesourcery.com>
903
904 * sysdeps/unix/sysv/linux/kernel-features.h
905 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
906 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
907 unconditionally.
908 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
909 unconditionally.
910 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
911 condition on __ASSUME_CLONE_THREAD_FLAGS.
912
e11f5155
AJ
9132012-08-14 Andreas Jaeger <aj@suse.de>
914
915 * sysdeps/i386/fpu/libm-test-ulps: Update.
916
51a9ba86
MK
9172012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
918
2fdd4f78
AJ
919 * include/atomic.h (atomic_exchange_and_add): Split into ...
920 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
921 New atomic macros.
51a9ba86 922
ba6cba9e
MT
9232012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
924
925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
926
42443a47
JL
9272012-08-13 Jeff Law <law@redhat.com>
928
929 * manual/stdio.texi (snprintf): Clarify handling of the trailing
930 null byte in the output string.
931
121dce05
JM
9322012-08-10 Joseph Myers <joseph@codesourcery.com>
933
934 * sysdeps/unix/sysv/linux/kernel-features.h
935 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
936 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
937 (__ASSUME_ARG_MAX_STACK_BASED): Define.
938 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
939 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
940 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
941 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
942
bf51f568
JL
9432012-08-09 Jeff Law <law@redhat.com>
944
945 [BZ #13939]
946 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
947 When avoid_arena is set, don't retry in the that arena. Pick the
948 next one, whatever it might be.
949 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
950 (arena_lock): Pass in new parameter to arena_get2.
951 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
952 arena_get2.
953 (__libc_malloc): Unify retrying after main arena failure with
954 __libc_memalign version.
955 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
956
f85fa270
L
9572012-08-09 H.J. Lu <hongjiu.lu@intel.com>
958
959 [BZ #14166]
960 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
961 to __redirect_strstr.
962 (__strstr_sse42): Use typeof __redirect_strstr.
963 (__strstr_ia32): Likewise.
964 (__libc_strstr): New prototype.
965 (strstr): Renamed to ...
966 (__libc_strstr): This.
967 (strstr): New strong alias of __libc_strstr.
968 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
969 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
970 __redirect_time.
971 Include <time.h>.
972 (__libc_time): New prototype.
973 (time_ifunc): Replace time with __libc_time.
974 (time): New strong alias and hidden definition of __libc_time.
975 (__GI_time): Remove strong alias.
976 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
977 Include <stddef.h>.
978 (memmove): Redefined to __redirect_memmove.
979 (__memmove_sse2): Use typeof __redirect_memmove.
980 (__memmove_ssse3): Likewise.
981 (__memmove_ssse3_back): Likewise.
982 (__libc_memmove): New prototype.
983 (memmove): Renamed to ...
984 (__libc_memmove): This.
985 (memmove): New strong alias of __libc_memmove.
986
33b4a91e
MS
9872012-08-08 Mark Salter <msalter@redhat.com>
988
989 * elf/elf.h
990 (R_MN10300_TLS_GD): Define.
991 (R_MN10300_TLS_LD): Likewise.
992 (R_MN10300_TLS_LDO): Likewise.
993 (R_MN10300_TLS_GOTIE): Likewise.
994 (R_MN10300_TLS_IE): Likewise.
995 (R_MN10300_TLS_LE): Likewise.
996 (R_MN10300_TLS_DTPMOD): Likewise.
997 (R_MN10300_TLS_DTPOFF): Likewise.
998 (R_MN10300_TLS_TPOFF): Likewise.
999 (R_MN10300_SYM_DIFF): Likewise.
1000 (R_MN10300_ALIGN): Likewise.
1001 (R_MN10300_NUM): Update.
1002
b36137f1
JM
10032012-08-08 Joseph Myers <joseph@codesourcery.com>
1004
1005 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1006 Remove.
1007
cdd915fd
RM
10082012-08-08 Roland McGrath <roland@hack.frob.com>
1009
a2433aac
RM
1010 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1011
cdd915fd
RM
1012 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1013 sysdeps/unix -> sysdeps/posix move.
1014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1015
bf9b740a
AM
10162012-08-07 Allan McRae <allan@archlinux.org>
1017
1018 [BZ #14303]
1019 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1020 (SUNOS_CPP): Likewise.
1021 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1022 not found.
1023 (open_input): Call CPP using execvp.
1024
93df14ee
JM
10252012-08-07 Joseph Myers <joseph@codesourcery.com>
1026
1027 * sysdeps/unix/sysv/linux/kernel-features.h
1028 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1029 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1030 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1031 (__ASSUME_WAITID_SYSCALL): Likewise.
1032 * sysdeps/unix/sysv/linux/dl-execstack.c
1033 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1034 code unconditional.
1035 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1036 conditional code.
1037 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1038 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1039 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1040 code.
1041 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1042 unconditional.
1043 [__ASSUME_WAITID_SYSCALL]: Likewise.
1044 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1045
d34689de
RM
10462012-08-07 Roland McGrath <roland@hack.frob.com>
1047
a281decc
RM
1048 * sysdeps/unix/closedir.c: Renamed to ...
1049 * sysdeps/posix/closedir.c: ... here.
1050 * sysdeps/unix/dirfd.c: Renamed to ...
1051 * sysdeps/posix/dirfd.c: ... here.
1052 * sysdeps/unix/dirstream.h: Renamed to ...
1053 * sysdeps/posix/dirstream.h: ... here.
1054 * sysdeps/unix/fdopendir.c: Renamed to ...
1055 * sysdeps/posix/fdopendir.c: ... here.
1056 * sysdeps/unix/opendir.c: Renamed to ...
1057 * sysdeps/posix/opendir.c: ... here.
1058 * sysdeps/unix/readdir.c: Renamed to ...
1059 * sysdeps/posix/readdir.c: ... here.
1060 * sysdeps/unix/readdir_r.c: Renamed to ...
1061 * sysdeps/posix/readdir_r.c: ... here.
1062 * sysdeps/unix/rewinddir.c: Renamed to ...
1063 * sysdeps/posix/rewinddir.c: ... here.
1064 * sysdeps/unix/seekdir.c: Renamed to ...
1065 * sysdeps/posix/seekdir.c: ... here.
1066 * sysdeps/unix/telldir.c: Renamed to ...
1067 * sysdeps/posix/telldir.c: ... here.
1068 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1069 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1070 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1071 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1072
22895b47
RM
1073 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1074 * bits/fcntl.h: ... here.
1075
707a53b6
RM
1076 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1077 not 0.
1078 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1079 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1080 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1081 (struct flock): Move l_start, l_len to the beginning.
1082 Use __pid_t for l_pid.
1083 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1084 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1085 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1086 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1087 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1088 [__USE_LARGEFILE64] (struct flock64): New type.
1089 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1090
f0bd3e25
RM
1091 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1092 * bits/dirent.h: ... here.
1093
d34689de
RM
1094 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1095 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1096
6dad2c06
JM
10972012-08-07 Joseph Myers <joseph@codesourcery.com>
1098
1099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1100 Change from 2.6.0 to 2.6.16.
1101 * sysdeps/unix/sysv/linux/configure: Regenerated.
1102 * sysdeps/unix/sysv/linux/kernel-features.h
1103 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1104 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1105 version.
1106 (__ASSUME_UTIMES): Likewise.
1107 (__ASSUME_CLONE_STOPPED): Remove.
1108 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1109 architectures, not kernel version.
1110 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1111 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1112 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1113 (__ASSUME_WAITID_SYSCALL): Likewise.
1114 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1115 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1116 * README: State 2.6.16 as minimum Linux kernel version. Do not
1117 refer to older versions.
1118
03af9520
RM
11192012-08-06 Roland McGrath <roland@hack.frob.com>
1120
8e49df1d
RM
1121 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1122 Define alphasort64 as an alias.
1123 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1124 Define versionsort64 as an alias.
1125 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1126 Define scandir64 as an alias.
1127 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1128 Define scandirat64 as an alias.
1129 * dirent/alphasort64.c (alphasort64):
1130 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1131 * dirent/versionsort64.c: Likewise.
1132 * dirent/scandir64.c: Likewise.
1133 * dirent/scandirat64.c: Likewise.
1134 * sysdeps/wordsize-64/alphasort.c: File removed.
1135 * sysdeps/wordsize-64/alphasort64.c: File removed.
1136 * sysdeps/wordsize-64/scandir.c: File removed.
1137 * sysdeps/wordsize-64/scandir64.c: File removed.
1138 * sysdeps/wordsize-64/scandirat.c: File removed.
1139 * sysdeps/wordsize-64/scandirat64.c: File removed.
1140 * sysdeps/wordsize-64/versionsort.c: File removed.
1141 * sysdeps/wordsize-64/versionsort64.c: File removed.
1142 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1143 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1144 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1145 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1146 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1147 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1148 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1149 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1150
1151 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1153 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1155 [defined __arch64__ || defined __sparcv9]
1156 (__INO_T_MATCHES_INO64_T): New macro.
1157 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1158 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1159 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1160 * sysdeps/unix/sysv/linux/bits/dirent.h
1161 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1162 (_DIRENT_MATCHES_DIRENT64): New macro.
1163
03af9520
RM
1164 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1165 Define lockf64 as an alias.
1166 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1167 Define fseeko64 as an alias.
1168 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1169 Define ftello64 as an alias.
1170 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1171 Define _IO_fgetpos64 and fgetpos64 as aliases.
1172 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1173 Define _IO_fsetpos64 and fsetpos64 as aliases.
1174 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1175 Conditionalize body on this.
1176 * libio/fseeko64.c: Likewise.
1177 * libio/ftello64.c: Likewise.
1178 * libio/iofgetpos64.c: Likewise.
1179 * libio/iofsetpos64.c: Likewise.
1180 * sysdeps/wordsize-64/lockf.c: File removed.
1181 * sysdeps/wordsize-64/lockf64.c: File removed.
1182 * sysdeps/wordsize-64/fseeko.c: File removed.
1183 * sysdeps/wordsize-64/fseeko64.c: File removed.
1184 * sysdeps/wordsize-64/ftello.c: File removed.
1185 * sysdeps/wordsize-64/ftello64.c: File removed.
1186 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1187 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1188 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1189 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1190 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1192 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1193 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1194 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1195 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1196 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1197 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1198 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1200
1201 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1203 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1205 [defined __arch64__ || defined __sparcv9]
1206 (__OFF_T_MATCHES_OFF64_T): New macro.
1207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1208 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1209 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1210 (__OFF_T_MATCHES_OFF64_T): New macro.
1211
c5757acd
L
12122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 * stdlib/secure-getenv.c (__secure_getenv): Replace
1215 GLIBC_2_16 with GLIBC_2_17.
1216
3a31811e
L
12172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1218
1219 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1220 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1221
faa2bccb
DM
12222012-08-03 David S. Miller <davem@davemloft.net>
1223
1224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1225
85fe1997
JM
12262012-08-03 Joseph Myers <joseph@codesourcery.com>
1227
1228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1229 Remove.
1230 (__ASSUME_CORRECT_SI_PID): Likewise.
1231 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1232 (__ASSUME_TMPFS_NAME): Likewise.
1233 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1234 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1235 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1236 (HAVE_AUX_SECURE): Make definition unconditional.
1237 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1238 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1239
4f75b7a0
RM
12402012-08-03 Roland McGrath <roland@hack.frob.com>
1241
1242 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1243 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1244 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1245 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1246 __eloop_threshold instead of SYMLOOP_MAX.
1247
1248 * sysdeps/generic/eloop-threshold.h: New file.
1249 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1250 of MAXSYMLINKS.
1251 * elf/chroot_canon.c (chroot_canon): Likewise.
1252
7aab07e4
JM
12532012-08-03 Joseph Myers <joseph@codesourcery.com>
1254
1255 [BZ #13717]
1256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1257 Change to 2.6.0 everywhere.
1258 * sysdeps/unix/sysv/linux/configure: Regenerated.
1259 * sysdeps/unix/sysv/linux/kernel-features.h
1260 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1261 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1262 kernel versions.
1263 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1264 (__ASSUME_FUTEX_REQUEUE): Remove.
1265 (__ASSUME_STATFS64): Define unconditionally.
1266 (__ASSUME_AT_SECURE): Likewise.
1267 (__ASSUME_CORRECT_SI_PID): Likewise.
1268 (__ASSUME_TGKILL): Define without depending on kernel version for
1269 i386.
1270 (__ASSUME_UTIMES): Likewise.
1271 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1272 kernel version.
1273 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1274 (__ASSUME_TMPFS_NAME): Likewise.
1275 * README: Update reference to Linux kernel versions.
1276
b67e9372
MP
12772012-08-02 Marek Polacek <polacek@redhat.com>
1278
1f529f7d 1279 [BZ# 14150]
b67e9372
MP
1280 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1281 libc_cv_asm_type_prefix with %.
1282 * configure: Regenerated.
d2441631
RM
1283 * include/libc-symbols.h: Remove comment about
1284 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1285 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1286 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1287 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1288 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1289 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1290 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1291 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1292 * elf/tst-unique2mod1.c: Likewise.
1293 * elf/tst-unique1mod2.c: Likewise.
1294 * elf/tst-unique1mod1.c: Likewise.
1295 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1296 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1297 Replace ASM_TYPE_DIRECTIVE with .type.
1298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1299 * sysdeps/i386/sysdep.h: Likewise.
1300 * sysdeps/x86_64/sysdep.h: Likewise.
1301 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1303 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1304 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1305 * sysdeps/powerpc/powerpc32/sysdep.h:
1306 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1307 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1309 * sysdeps/i386/fpu/e_powf.S: Likewise.
1310 * sysdeps/i386/fpu/e_expl.S: Likewise.
1311 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1312 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1313 * sysdeps/i386/fpu/e_pow.S: Likewise.
1314 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1315 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1316 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1317 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1318 * sysdeps/i386/fpu/e_log2.S: Likewise.
1319 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1321 * sysdeps/i386/fpu/e_powl.S: Likewise.
1322 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1323 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1324 * sysdeps/i386/fpu/e_logl.S: Likewise.
1325 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1326 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1327 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1328 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1329 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1330 * sysdeps/i386/fpu/e_log.S: Likewise.
1331 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1332 * sysdeps/i386/fpu/e_logf.S: Likewise.
1333 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1334 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1335 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1336 * sysdeps/i386/fpu/e_log10.S: Likewise.
1337 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1338 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1339 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1340 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1341 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1342 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1343 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1344 * sysdeps/i386/i686/strtok.S: Likewise.
1345 * sysdeps/i386/i386-mcount.S: Likewise.
1346 * sysdeps/i386/strtok.S: Likewise.
1347 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1349 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1350 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1351 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1352 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1353 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1354 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1355 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1356 * sysdeps/x86_64/_mcount.S: Likewise.
1357 * sysdeps/x86_64/strtok.S: Likewise.
1358 * sysdeps/sh/_mcount.S: Likewise.
1359
2747bf9a
RM
13602012-08-01 Roland McGrath <roland@hack.frob.com>
1361
1362 * libio/iofopen.c: Include <fcntl.h>.
1363 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1364 (_IO_fopen64, fopen64): Define as aliases.
1365 * libio/iofopen64.c: Include <fcntl.h>.
1366 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1367 Conditionalize body on this.
1368 * sysdeps/wordsize-64/iofopen.c: File removed.
1369 * sysdeps/wordsize-64/iofopen64.c: File removed.
1370
3fb791b8
MP
13712012-08-01 Marek Polacek <polacek@redhat.com>
1372
1373 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1374 Use dlfcn directly instead of a variable.
1375 (binfmt-subdir): Do not define.
1376 (dlfcn): Likewise.
1377
a9f1039f
JM
13782012-08-01 Joseph Myers <joseph@codesourcery.com>
1379
23bddc06
JM
1380 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1381 Remove all definitions.
1382 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1383 <kernel-features.h>.
1384 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1385 (miss_F_GETOWN_EX): Remove all definitions.
1386 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1387 macro definition.
1388 [!__ASSUME_FCNTL64]: Remove conditional code.
1389 [__ASSUME_FCNTL64]: Make code unconditional.
1390 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1391 <kernel-features.h>.
1392 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1393 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1394 (lockf64) [__NR_fcntl64]: Make code unconditional.
1395 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1396
a9f1039f
JM
1397 * sysdeps/unix/sysv/linux/kernel-features.h
1398 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1399 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1400 Make code unconditional.
1401 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1402 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1404 [__NR_vfork]: Make code unconditional.
1405 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1406 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1408 [__NR_vfork]: Make code unconditional.
1409 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1410 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1411
09c0ee5f
RM
14122012-08-01 Roland McGrath <roland@hack.frob.com>
1413
48aec5b9
RM
1414 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1415 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1416
cd97c966
RM
1417 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1418 Define mkstemp64 as an alias.
3f55550c
RM
1419 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1420 Define mkstemps64 as an alias.
cd97c966
RM
1421 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1422 Define mkostemp64 as an alias.
b8625cfc
RM
1423 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1424 Define mkostemps64 as an alias.
cd97c966
RM
1425 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1426 Conditionalize body on this.
1427 * misc/mkostemp64.c: Likewise.
b8625cfc 1428 * misc/mkostemps64.c: Likewise.
3f55550c 1429 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1430 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1431 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1432 * sysdeps/wordsize-64/mkostemp.c: File removed.
1433 * sysdeps/wordsize-64/mkstemp.c: File removed.
1434 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1435 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1437 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1438
09c0ee5f
RM
1439 [BZ #14138]
1440 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1441 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1442 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1443 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1444
1445 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1446 compat_symbol macros from <shlib-compat.h> rather than the underlying
1447 default_symbol_version and symbol_version macros, so that DEFAULT
1448 lines in shlib-versions are respected.
1449 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1450
7e66ee51
FW
14512012-08-01 Florian Weimer <fweimer@redhat.com>
1452
1453 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1454 Declare with warn_unused_result.
1455 (setgid, setregid, setegid, setresgid): Likewise.
1456 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1457 Likewise.
1458 * WUR-REPORT: Remove set*id functions.
1459
d2a54255
PT
14602012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1461
1462 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1463
7ecdb005
RM
14642012-07-31 Roland McGrath <roland@hack.frob.com>
1465
789bd351
RM
1466 * include/sys/socket.h (__libc_accept, __libc_accept4):
1467 Add attribute_hidden.
1468 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1469
40ce302d
RM
1470 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1471 use of PTR_MANGLE.
1472 * inet/getnetgrent_r.c (setup): Likewise.
1473
7ecdb005
RM
1474 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1475
e2eabb2c
DM
14762012-07-31 David S. Miller <davem@davemloft.net>
1477
1478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1479
d0419dbf
JM
14802012-07-31 Joseph Myers <joseph@codesourcery.com>
1481
1482 [BZ #13629]
1483 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1484 value between 1.0 and 2.0 and smaller part has absolute value less
1485 than 1.0.
1486 * math/s_clog10.c (__clog10): Likewise.
1487 * math/s_clog10f.c (__clog10f): Likewise.
1488 * math/s_clog10l.c (__clog10l): Likewise.
1489 * math/s_clogf.c (__clogf): Likewise.
1490 * math/s_clogl.c (__clogl): Likewise.
1491 * math/libm-test.inc (clog_test): Add more tests.
1492 (clog10_test): Likewise.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1495
2bc13872
FW
14962012-07-31 Florian Weimer <fweimer@redhat.com>
1497
1498 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1499 Exit with zero in case no suitable GID is found, and write a
1500 message to standard error.
1501
bea9b193
RM
15022012-07-30 Roland McGrath <roland@hack.frob.com>
1503
1504 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1505 rather than to 1.
1506 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1507 (MAXPATHLEN): Removed.
1508 (NOGROUP, NODEV): New macros.
1509 (setbit, clrbit, isset, isclr): New macros.
1510 (howmany, roundup, powerof2): New macros.
1511 (DEV_BSIZE): New macro.
1512
1513 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1514 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1515
1516 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1517 definition on [!__NO_LONG_DOUBLE_MATH].
1518
1519 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1520 PTR_MANGLE and PTR_DEMANGLE.
1521
1522 * socket/accept4.c (accept4): Rename to __libc_accept4.
1523 Define accept4 as a weak alias.
1524
1525 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1526 on [_DIRENT_HAVE_D_TYPE].
1527 * io/ftw.c (ftw_dir): Likewise.
1528
1529 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1530
1531 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1532
1533 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1534 Use the BSD numbers rather than the arbitrary ones we had.
1535 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1536 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1537 (SIGXCPU, SIGXFSZ): New macros.
1538 (_NSIG): Now 32.
1539
1540 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1541 initializer on [_LIBC_REENTRANT].
1542
1543 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1544 definitions inside [_POSIX_MAPPED_FILES].
1545
1546 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1547
1548 * dirent/opendir.c: Include <fcntl.h>.
1549
1550 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1551 (__libc_getspecific): Likewise.
1552 (__libc_key_create): Likewise.
1553
1554 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1555 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1556 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1557 (tmpfile64): Define as alias.
1558 * sysdeps/wordsize-64/tmpfile.c: File removed.
1559 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1560 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1561 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1562
1563 * stdio-common/vfscanf.c: Include <stdbool.h>.
1564 * nss/makedb.c: Likewise.
1565 * stdio-common/_i18n_number.h: Likewise.
1566 * argp/argp-help.c: Likewise.
1567 * posix/wordexp.c: Likewise.
1568 * sysdeps/posix/spawni.c: Likewise.
1569 * nss/nss_files/files-initgroups.c: Likewise.
1570 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1571 * nss/nss_files/files-initgroups.c: Likewise.
1572 * nss/nss_db/db-netgrp.c: Likewise.
1573 * nss/nss_db/db-initgroups.c: Likewise.
1574 * io/fchmodat.c: Include <sys/stat.h>.
1575
1576 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1577 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1578
1579 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1580 [HAVE_MMAP].
1581
1582 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1583 Add multiple inclusion protection.
1584
e5abc686
DM
15852012-07-27 David S. Miller <davem@davemloft.net>
1586
1587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1588
815e6fa3
GB
15892012-07-27 Gary Benson <gbenson@redhat.com>
1590
1591 [BZ #14298]
1592 * elf/rtld.c: Include <stap-probe.h>.
1593 (dl_main): Added static probes "init_start" and "init_complete".
1594 * elf/dl-load.c: Include <stap-probe.h>.
1595 (lose): Take new parameter "nsid".
1596 Added static probe "map_failed".
1597 (_dl_map_object_from_fd): Pass namespace id to lose.
1598 Added static probe "map_start".
1599 (open_verify): Pass namespace id to lose.
1600 * elf/dl-open.c: Include <stap-probe.h>.
1601 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1602 and "reloc_complete".
1603 * elf/dl-close.c: Include <stap-probe.h>.
1604 (_dl_close_worker): Added static probes "unmap_start" and
1605 "unmap_complete".
1606 * elf/rtld-debugger-interface.txt: New file documenting the above.
1607
9f98c16c
RM
16082012-07-26 Roland McGrath <roland@hack.frob.com>
1609
1610 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1611 rather than a string variable.
1612 * sunrpc/rpc_main.c (h_output): Likewise.
1613 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1614
f3c22df3
PT
16152012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1616
1617 * inet/check_native.c: New file.
1618
3129cfc6
JM
16192012-07-26 Joseph Myers <joseph@codesourcery.com>
1620
da865e95
JM
1621 [BZ #13629]
1622 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1623 if larger part has absolute value 1.0.
1624 * math/s_clog10.c (__clog10): Likewise.
1625 * math/s_clog10f.c (__clog10f): Likewise.
1626 * math/s_clog10l.c (__clog10l): Likewise.
1627 * math/s_clogf.c (__clogf): Likewise.
1628 * math/s_clogl.c (__clogl): Likewise.
1629 * math/libm-test.inc (clog_test): Add more tests.
1630 (clog10_test): Likewise.
1631 * sysdeps/i386/fpu/libm-test-ulps: Update.
1632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1633
3129cfc6
JM
1634 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1635 (pltexit): Likewise.
1636 (La_regs): Likewise.
1637 (La_retval): Likewise.
1638 (int_retval): Likewise.
1639 Update #error for removed macros to refer only to definitions in
1640 tst-audit.h.
1641 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1642 macro.
1643 (pltexit): Likewise.
1644 (La_regs): Likewise.
1645 (La_retval): Likewise.
1646 (int_retval): Likewise.
1647 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1648 macro.
1649 (pltexit): Likewise.
1650 (La_regs): Likewise.
1651 (La_retval): Likewise.
1652 (int_retval): Likewise.
1653 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1654 macro.
1655 (pltexit): Likewise.
1656 (La_regs): Likewise.
1657 (La_retval): Likewise.
1658 (int_retval): Likewise.
1659 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1660 macro.
1661 (pltexit): Likewise.
1662 (La_regs): Likewise.
1663 (La_retval): Likewise.
1664 (int_retval): Likewise.
1665 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1666 macro.
1667 (pltexit): Likewise.
1668 (La_regs): Likewise.
1669 (La_retval): Likewise.
1670 (int_retval): Likewise.
1671 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1672 macro.
1673 (pltexit): Likewise.
1674 (La_regs): Likewise.
1675 (La_retval): Likewise.
1676 (int_retval): Likewise.
1677 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1678 macro definitions in tst-audit.h.
1679 * sysdeps/i386/tst-audit.h: New file.
1680 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1681 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1682 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1683 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1684 * sysdeps/sh/tst-audit.h: Likewise.
1685 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1686 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1687 * sysdeps/x86_64/tst-audit.h: Likewise.
1688
bfc07087
AJ
16892012-07-26 Andreas Jaeger <aj@suse.de>
1690
b1b2aaf8
AJ
1691 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1692 ptrace.
1693
1694 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1695 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1696 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1697 PTRACE_O_MASK.
1698 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1699 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1700 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1701
bfc07087
AJ
1702 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1703 value.
1704
1705 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1706 _sigsys.
1707 (si_call_addr, si_syscall, si_arch): Define new macro.
1708 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1709 _sigsys.
1710 (si_call_addr, si_syscall, si_arch): Define new marcro.
1711 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1712 _sigsys.
1713 (si_call_addr, si_syscall, si_arch): Define new macro.
1714 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1715 _sigsys.
1716 (si_call_addr, si_syscall, si_arch): Define new macro.
1717
89b4b02f
JM
17182012-07-25 Joseph Myers <joseph@codesourcery.com>
1719
1720 [BZ #13717]
1721 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1722 Change to 2.4.21 where previously 2.4.1.
1723 * sysdeps/unix/sysv/linux/configure: Regenerated.
1724 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1725 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1726 Linux kernel version.
1727 (__ASSUME_STD_AUXV): Remove.
1728 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1729 kernel version.
1730 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1731 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1732 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1733 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1734 (__ASSUME_NETLINK_SUPPORT): Likewise.
1735 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1736 (__no_netlink_support): Remove conditional definition.
1737 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1738 Remove.
1739 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1740 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1741 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1742 (if_nameindex_ioctl): Remove.
1743 (if_nameindex_netlink): Do not handle __no_netlink_support.
1744 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1745 code.
1746 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1747 Remove conditional code.
1748 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1749 code.
1750 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1751 unconditional.
1752 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1753 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1754 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1755 Remove.
1756 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1757 [!__ASSUME_STD_AUXV]: Remove conditional code.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1759 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1760 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1762 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1763 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1764 code.
1765 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1767 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1768 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1769 conditional code.
1770 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1772 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1773 code.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1775 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1776 conditional code.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1778 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1779 code unconditional.
1780 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1781 conditional code.
1782 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1783 unconditional.
1784 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1785 conditional code.
1786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1787 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1788 unconditional.
1789 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1790 conditional code.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1792 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1793 code unconditional.
1794 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1795 conditional code.
1796 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1797 unconditional.
1798 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1799 conditional code.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1801 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1802 code unconditional.
1803 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1804 conditional code.
1805 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1806 unconditional.
1807 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1808 conditional code.
1809
842a39cd
AS
18102012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1811
1812 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1813 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1814 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1815 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1816 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1817 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1818 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1819 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1820 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1821 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1822 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1823 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1824 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1825 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1826 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1827 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1828 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1829 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1832 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1833 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1835
84b3fd84
FW
18362012-07-25 Florian Weimer <fweimer@redhat.com>
1837
1838 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1839 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1840 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1841 Introduce __libc_secure_getenv.
0c7936d5
FW
1842 * stdlib/Versions (2.17): Add secure_getenv
1843 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1844 * stdlib/secure-getenv.c: Rename __secure_getenv to
1845 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1846 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1847 * stdlib/tst-secure-getenv.c: New.
1848 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1849 * manual/startup.texi (Environment Access): Document
1850 secure_getenv.
84b3fd84
FW
1851 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1852 __libc_secure_getenv.
1853 * inet/ruserpass.c (ruserpass): Likewise.
1854 * malloc/mtrace.c (mtrace): Likewise.
1855 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1856 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1857 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1858 * sysdeps/posix/tempname.c: Likewise. Evaluate
1859 HAVE_SECURE_GETENV.
1860 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1861 __secure_getenv to __libc_secure_getenv.
84b3fd84 1862 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1864 Likewise.
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1866 Likewise.
1867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1869 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1874
56e49b71
JM
18752012-07-25 Joseph Myers <joseph@codesourcery.com>
1876
1877 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1878 (struct La_i86_retval): Likewise.
1879 (struct La_x86_64_regs): Likewise.
1880 (struct La_x86_64_retval): Likewise.
1881 (struct La_x32_regs): Likewise.
1882 (struct La_x32_retval): Likewise.
1883 (struct La_ppc32_regs): Likewise.
1884 (struct La_ppc32_retval): Likewise.
1885 (struct La_ppc64_regs): Likewise.
1886 (struct La_ppc64_retval): Likewise.
1887 (struct La_sh_regs): Likewise.
1888 (struct La_sh_retval): Likewise.
1889 (struct La_s390_32_regs): Likewise.
1890 (struct La_s390_32_retval): Likewise.
1891 (struct La_s390_64_regs): Likewise.
1892 (struct La_s390_64_retval): Likewise.
1893 (struct La_sparc32_regs): Likewise.
1894 (struct La_sparc32_retval): Likewise.
1895 (struct La_sparc64_regs): Likewise.
1896 (struct La_sparc64_retval): Likewise.
1897 (struct audit_ifaces): Remove architecture-specific pltenter and
1898 pltexit members.
1899 * sysdeps/i386/ldsodefs.h: New file.
1900 * sysdeps/powerpc/ldsodefs.h: Likewise.
1901 * sysdeps/s390/ldsodefs.h: Likewise.
1902 * sysdeps/sh/ldsodefs.h: Likewise.
1903 * sysdeps/sparc/ldsodefs.h: Likewise.
1904 * sysdeps/x86_64/ldsodefs.h: Likewise.
1905
354691b7
MP
19062012-07-25 Marek Polacek <polacek@redhat.com>
1907
1908 [BZ #6808]
1909 * math/libm-test.inc (yn_test): Add another test.
1910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1911 to ERANGE when the result is +-Inf.
1912 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1913 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1914 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1915 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1916
bf9e2071
JM
19172012-07-24 Joseph Myers <joseph@codesourcery.com>
1918
1919 * conform/data/time.h-data (NULL): Use macro-constant. Require
1920 equal to 0.
1921 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1922 clock_t.
1923 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1924
57633811
TS
19252012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1926
1927 * configure.in <sysdeps resolving>: Correct printing
1928 Implies_before.
1929 * configure: Regenerate.
1930
c23c33b0
TS
19312012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1932
1933 * math/w_ilogb.c: Include <limits.h>.
1934 * math/w_ilogbl.c: Likewise.
1935
b5982523
JM
19362012-07-20 Joseph Myers <joseph@codesourcery.com>
1937
1938 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1939 va_copy. Document allowing for unavailable va_copy only as
1940 pre-C99 compatibility.
1941 * manual/string.texi (Copying and Concatenation): Use va_copy
1942 instead of __va_copy in concat example.
1943
ac4ea442
PT
19442012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1945
1946 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1947 (__sendto): Use create_address_port. Initialize APORT and deallocate
1948 it if not null.
1949
f98eafbd
PT
1950 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1951 with O_NOLINK passed to __file_name_lookup.
1952
898c7aab
PT
1953 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1954 with O_NOLINK passed to __file_name_lookup.
1955
0ced335a
PT
1956 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1957 negative N or less than NGIDS.
1958
b3404dbd
PT
1959 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1960 type to string_t. Set ERANGE as errno and return it if NAME is not big
1961 enough. Use memcpy instead of strncpy.
1962
0f48659e
JM
19632012-07-20 Joseph Myers <joseph@codesourcery.com>
1964
1965 * elf/Makefile (check-data): Remove.
1966 (localplt.data): New vpath directive.
1967 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1968 instead of $(check-data).
1969 * scripts/data/localplt-generic.data: Move to ...
1970 * sysdeps/generic/localplt.data: ... here.
1971 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1972 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1973 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1975 ... here.
1976 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1978 ... here.
1979 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1981 ... here.
1982 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1984 ... here.
1985 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1987 ... here.
1988 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1990 ... here.
1991
d37cbdaa
AZ
19922012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1993
1994 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1995 PPC32 and PPC64 files.
1996 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1997 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1998
46f85fc2
AK
19992012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2000
2001 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2002 __makecontext_ret to ...
2003 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2004 ... here and call exit if uc_link is NULL. New file.
2005 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2006 __makecontext_ret.S.
2007 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2008 __makecontext_ret to ...
2009 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2010 ... here and call exit if uc_link is NULL. New file.
2011 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2012 __makecontext_ret.S.
2013
08f43f9b
AK
20142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2015
2016 * elf/elf.h (R_390_IRELATIVE): New definition.
2017 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2018 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2019 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2020 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2021 (elf_machine_lazy_rel): Likewise.
2022 * sysdeps/s390/dl-irel.h: New file.
2023 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2024 * sysdeps/s390/s390-64/memset.S: New asm code.
2025 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2026 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2027 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2028 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2029 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2030 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2031 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2032 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2033 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2034 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2035 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2036 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2037 * sysdeps/s390/s390-32/memset.S: New asm code.
2038 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2039
3b05db33
MP
20402012-07-17 Marek Polacek <polacek@redhat.com>
2041
2042 [BZ #14349]
2043 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2044 * sysdeps/s390/s390-64/configure.in: Likewise.
2045 * sysdeps/sparc/configure.in: Likewise.
2046 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2047 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2048 * sysdeps/i386/configure.in: Likewise.
2049 * sysdeps/x86_64/configure.in: Likewise.
2050 * sysdeps/sh/configure.in: Likewise.
2051 * sysdeps/s390/s390-32/configure: Regenerated.
2052 * sysdeps/s390/s390-64/configure: Likewise.
2053 * sysdeps/x86_64/configure: Likewise.
2054 * sysdeps/sh/configure: Likewise.
2055 * sysdeps/powerpc/powerpc64/configure: Likewise.
2056 * sysdeps/powerpc/powerpc32/configure: Likewise.
2057 * sysdeps/sparc/configure: Likwise.
2058 * sysdeps/i386/configure: Likewise.
2059
a66877c6
MP
2060 * elf/dl-open.c: Comment fixes.
2061
cfc82fd8
JM
20622012-07-17 Joseph Myers <joseph@codesourcery.com>
2063
bd29910a
JM
2064 * Makefile [CXX] (check-data): Remove.
2065 [CXX] (c++-types.data): New vpath directive.
2066 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2067 vpath. Do not allow for C++ type data being missing.
2068 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2069 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2070 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2071 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2072 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2073 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2074 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2076 ... here.
2077 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2079 ... here.
2080 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2082 ... here.
2083 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2085 ... here.
2086 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2088 ... here.
2089 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2091 ... here.
2092 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2094 ... here.
2095 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2097
cfc82fd8
JM
2098 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2099 definitions to architecture-specific files.
2100 (TLS_IE): Likewise.
2101 (TLS_LD): Likewise.
2102 (TLS_GD): Likewise.
2103 * sysdeps/i386/tls-macros.h: New file.
2104 * sysdeps/powerpc/tls-macros.h: Likewise.
2105 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2106 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2107 * sysdeps/sh/tls-macros.h: Likewise.
2108 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2109 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2110 * sysdeps/x86_64/tls-macros.h: Likewise.
2111
f7db3170
TS
21122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2113
07cbfc23
TS
2114 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2115 zero value for regular exit case.
2116
f7db3170
TS
2117 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2118 (__start_context): Preserve zero value for regular exit case.
2119
dc97c227
TS
21202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2121 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2122
2123 * manual/setjmp.texi (setcontext): Clarify normal process
2124 termination when uc_link is the null pointer.
2125 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2126 exit call.
2127
d0cd7d02
AS
21282012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2129
2130 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2131 preprocessor. Test for each exception mask separately.
2132
dd318934
AJ
21332012-07-16 Andreas Jaeger <aj@suse.de>
2134
2135 * po/ru.po: Update from translation team.
2136
8048311a
JM
21372012-07-15 Joseph Myers <joseph@codesourcery.com>
2138
2139 * conform/data/string.h-data (NULL): Use macro-constant. Require
2140 equal to 0.
2141 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2142 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2143 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2144 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2146
b637d46e
AJ
21472012-07-13 Andreas Jaeger <aj@suse.de>
2148
2149 * po/fr.po: Update from translation team.
2150
541428fe
MP
21512012-07-12 Marek Polacek <polacek@redhat.com>
2152
2153 [BZ #14173]
2154 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2155 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2156 loop condition.
2157
ec332e94
JM
21582012-07-12 Joseph Myers <joseph@codesourcery.com>
2159
2160 [BZ #13717]
2161 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2162 Change to 2.4.1 where previously 2.4.0.
2163 * sysdeps/unix/sysv/linux/configure: Regenerated.
2164 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2165 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2166 version.
2167 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2168 (__ASSUME_AT_CLKTCK): Remove.
2169 (__ASSUME_AT_PAGESIZE): Likewise.
2170 (__ASSUME_AT_XID): Likewise.
2171 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2172 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2173 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2174 unconditionally.
2175 (HAVE_AUX_PAGESIZE): Likewise.
2176 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2177 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2178 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2179
7b6e99be
JB
21802012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2181
2182 [BZ #14307]
2183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2184 the temporary buffer used to invoke __gethostbyname2_r,
2185 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2186 host_data / struct gaih_addrtuple.
2187 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2188 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2189 header file nss/nsswitch.h.
2190 * nss/nsswitch.h (global scope): Add definition of implementation
2191 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2192 resolv/nss_dns/dns-host.c).
2193
608404eb
AJ
21942012-07-11 Andreas Jaeger <aj@suse.de>
2195
2196 * po/fr.po: Update from translation team.
2197
71220aca
AJ
2198 * po/sv.po: Update from translation team
2199 * po/fr.po: Another update from translation team.
2200
28cfe843
AZ
22012012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2204 for subnormals or multiply small sinh result by itself.
2205 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2207
6b90f981
DM
22082012-07-11 David S. Miller <davem@davemloft.net>
2209
2210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2211
c6825772
AS
22122012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2213
2214 [BZ #14347]
2215 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2216 (INTERNAL_MARK): Shift it here.
2217
7b8e0d49
MP
22182012-07-10 Marek Polacek <polacek@redhat.com>
2219
2220 [BZ #14151]
2221 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2222 libc_cv_asm_global_directive with .globl.
2223 * configure: Regenerated.
2224 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2225 with .globl.
2226 * sysdeps/i386/configure: Regenerated.
2227 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2228 with .globl.
2229 * sysdeps/x86_64/configure: Regenerated.
2230 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2231 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2232 * elf/tst-unique2mod2.c: Likewise.
2233 * elf/tst-unique2mod1.c: Likewise.
2234 * elf/tst-unique1mod2.c: Likewise.
2235 * elf/tst-unique1mod1.c: Likewise.
2236 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2237 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2239 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2240 * sysdeps/mach/sysdep.h: Likewise.
2241 * sysdeps/i386/sysdep.h: Likewise.
2242 * sysdeps/i386/i386-mcount.S: Likewise.
2243 * sysdeps/x86_64/_mcount.S: Likewise.
2244 * sysdeps/x86_64/sysdep.h: Likewise.
2245 * sysdeps/sh/_mcount.S: Likewise.
2246 * sysdeps/sh/sysdep.h: Likewise.
2247 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2248 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2249 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2250 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2251 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2252 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2253 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2254 * locale/localeinfo.h: Likewise.
2255 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2256 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2257
6c55cda3
RM
22582012-07-09 Roland McGrath <roland@hack.frob.com>
2259
2260 [BZ #14336]
2261 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2262 system".
2263 * manual/message.texi (The Uniforum approach): Likewise.
2264 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2265 (glibc iconv Implementation): Likewise.
2266
638a572e
JM
22672012-07-09 Joseph Myers <joseph@codesourcery.com>
2268
2269 [BZ #14337]
2270 * math/s_clog.c (__clog): Avoid scaling a value down where that
2271 could result in underflow.
2272 * math/s_clog10.c (__clog10): Likewise.
2273 * math/s_clog10f.c (__clog10f): Likewise.
2274 * math/s_clog10l.c (__clog10l): Likewise.
2275 * math/s_clogf.c (__clogf): Likewise.
2276 * math/s_clogl.c (__clogl): Likewise.
2277 * math/libm-test.inc (clog_test): Add more tests.
2278 (clog10_test): Likewise.
2279 * sysdeps/i386/fpu/libm-test-ulps: Update.
2280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2281
261f4859
AS
22822012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2283
0abaf3e4
AS
2284 [BZ #14283]
2285 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2286 by 7 not 8 to examine high bit of fractional part.
2287
261f4859
AS
2288 [BZ #14042]
2289 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2290 for call to __mcount_internal.
2291 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2292 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2293 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2294
f17ac40d
JM
22952012-07-06 Joseph Myers <joseph@codesourcery.com>
2296
9ad63c23
JM
2297 [BZ #14154]
2298 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2299 approximation for values within 0x1p-13f of an odd multiple of
2300 pi/4.
2301 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2302 exception. Add more tests.
2303 * sysdeps/i386/fpu/libm-test-ulps: Update.
2304
f17ac40d
JM
2305 [BZ #6778]
2306 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2307 inputs and return -1 for them. Do not check for +Inf in case not
2308 reachable for +Inf.
2309 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2310 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2311 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2312 and return -1 for them. Do not check for +Inf in case not
2313 reachable for +Inf.
2314 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2315 define.
2316 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2317 and return -1 for them. Do not check for +Inf in case not
2318 reachable for +Inf.
2319 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2320 spurious underflow.
2321 * sysdeps/i386/fpu/libm-test-ulps: Update.
2322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2323
fb21f89b
MF
23242012-07-06 Mike Frysinger <vapier@gentoo.org>
2325
2326 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2327
cdfe2c5e
JM
23282012-07-05 Joseph Myers <joseph@codesourcery.com>
2329
2330 [BZ #14157]
2331 [BZ #14331]
2332 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2333 could result in spurious underflow. Scale down values above
2334 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2335 * math/s_csqrtf.c (__csqrtf): Likewise.
2336 * math/s_csqrtl.c (__csqrtl): Likewise.
2337 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2338 spurious underflow.
2339 * sysdeps/i386/fpu/libm-test-ulps: Update.
2340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2341
70d35b67
AS
23422012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2343
704bc459
AS
2344 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2345 xopen-msg.sed.
2346 * catgets/xopen-msg.awk: New file.
2347 * catgets/xopen-msg.sed: Removed.
2348
70d35b67
AS
2349 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2350 po2text.sed.
2351 * intl/po2test.awk: New file.
2352 * intl/po2test.sed: Removed.
2353
ca61cf32
JM
23542012-07-04 Joseph Myers <joseph@codesourcery.com>
2355
2356 [BZ #14328]
2357 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2358 or multiply small sinh result by itself.
2359 * math/s_ctanf.c (__ctanf): Likewise.
2360 * math/s_ctanh.c (__ctanh): Likewise.
2361 * math/s_ctanhf.c (__ctanhf): Likewise.
2362 * math/s_ctanhl.c (__ctanhl): Likewise.
2363 * math/s_ctanl.c (__ctanl): Likewise.
2364 * math/libm-test.inc (ctan_test_tonearest): New function.
2365 (ctan_test_towardzero): Likewise.
2366 (ctan_test_downward): Likewise.
2367 (ctan_test_upward): Likewise.
2368 (ctanh_test_tonearest): Likewise.
2369 (ctanh_test_towardzero): Likewise.
2370 (ctanh_test_downward): Likewise.
2371 (ctanh_test_upward): Likewise.
2372 (main): Call these new functions.
2373 * sysdeps/i386/fpu/libm-test-ulps: Update.
2374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2375
ca48a46a
MF
23762012-07-03 Mike Frysinger <vapier@gentoo.org>
2377
2378 * .gitignore: Delete /ports entry.
2379
9d63d37d
AJ
23802012-07-03 Andreas Jaeger <aj@suse.de>
2381
2382 * po/bg.po: Update from translation team.
2383 * po/cs.po: Likewise.
2384 * po/de.po: Likewise.
2385 * po/hr.po: Likewise.
2386 * po/nl.pl: Likewise.
2387 * po/pl.po: Likewise.
2388 * po/vi.po: Likewise.
2389
370ca3d2
JM
23902012-07-03 Joseph Myers <joseph@codesourcery.com>
2391
95f5a9a8
JM
2392 * Makeconfig [!+link] (+link-before-libc): New variable.
2393 [!+link] (+link-after-libc): Likewise.
2394 [!+link] (+link-tests): Likewise.
2395 [!+link] (+link): Define in terms of $(+link-before-libc) and
2396 $(+link-after-libc).
2397 [!+link-static] (+link-static-before-libc): New variable.
2398 [!+link-static] (+link-static-after-libc): Likewise.
2399 [!+link-static] (+link-static-tests): Likewise.
2400 [!+link-static] (+link-static): Define in terms of
2401 $(+link-static-before-libc) and $(+link-static-after-libc).
2402 [build-shared] (link-libc-before-gnulib): New variable.
2403 [build-shared] (link-libc-tests): Likewise.
2404 [build-shared] (link-libc): Define in terms of
2405 $(link-libc-before-gnulib).
2406 [!build-shared] (link-libc-tests): New variable.
2407 (link-libc-static-tests): New variable.
2408 [!gnulib] (gnulib-arch): New variable.
2409 [!gnulib] (gnulib-tests): Likewise.
2410 [!gnulib] (static-gnulib-arch): Likewise.
2411 [!gnulib] (static-gnulib-tests): Likewise.
2412 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2413 Define with "=" instead of ":=".
2414 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2415 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2416 * Rules (binaries-all-notests): New variable.
2417 (binaries-all-tests): Likewise.
2418 (binaries-static-notests): Likewise.
2419 (binaries-static-tests): Likewise.
2420 (binaries-all): Define using $(binaries-all-notests) and
2421 $(binaries-all-tests).
2422 (binaries-static): Define using $(binaries-static-notests) and
2423 $(binaries-static-tests).
2424 (binaries-shared-tests): New variable.
2425 (binaries-shared-notests): Likewise.
2426 (binaries-shared): Remove variable.
2427 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2428 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2429 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2430 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2431 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2432 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2433 * elf/Makefile (sln-modules): New variable.
2434 (extra-objs): Add $(sln-modules:=.o).
2435 (ldconfig-modules): Add static-stubs.
2436 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2437 * elf/static-stubs.c: New file.
2438
7a845b2c
JM
2439 [BZ #14283]
2440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2441 by 7 not 8 to examine high bit of fractional part. Use volatile
2442 variables when splitting into final array of floats if
2443 __FLT_EVAL_METHOD__ != 0.
2444 * math/libm-test.inc (cos_test): Add another test.
2445 (sin_test): Likewise.
2446 * sysdeps/i386/fpu/libm-test-ulps: Update.
2447
e2283f38
JM
2448 [BZ #14273]
2449 * math/libm-test.inc (cosh_test): Add more tests.
2450
370ca3d2
JM
2451 * version.h (RELEASE): Set to "development".
2452 (VERSION): Set to "2.16.90".
2453
ee9247c3
CD
24542012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2455
2456 * NEWS: Update copyright. Remove last-updated date.
2457 Mention math library bug fixes and timezone data changes.
2458 * README: Mention GNU/Hurd, x32, and HPPA support status.
2459
4648c381
TS
24602012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2461
2462 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2463
aac78a43
AJ
24642012-06-27 Andreas Jaeger <aj@suse.de>
2465
2466 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2467
ed3dbfad
AJ
24682012-06-25 Andreas Jaeger <aj@suse.de>
2469
2470 * sysdeps/s390/fpu/libm-test-ulps: Update.
2471
4d0ee855
AS
24722012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2473 Thomas Schwinge <thomas@codesourcery.com>
2474
2475 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2476 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2477 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2478 fanotify_mark.
2479
af1bce34
TS
24802012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2481
a9fa33ba
TS
2482 * sysdeps/mach/start.c: Remove file.
2483 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2484 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2485 * sysdeps/sh/init-first.c: Likewise.
2486
58f902b8
TS
2487 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2488 registers for frame unwinding purposes, add CFI directives.
2489 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2490 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2491 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2492 Likewise.
2493
1518f58b
TS
2494 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2495 __fortify_fail returning.
2496 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2497
db9b5059
TS
2498 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2499 sysdeps/sh/____longjmp_chk.S.
2500 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2501 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2502 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2503 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2504
967705fe
TS
2505 * sysdeps/sh/abort-instr.h: New file.
2506 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2507 process in case exit returns.
2508
a9def8c4
TS
2509 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2510 initialize the GOT register before use.
2511
2a649725
TS
2512 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2513 calculation of ARGC > 4.
2514
af1bce34
TS
2515 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2516 meaningful names to some local labels.
2517
d230f50a
KK
25182012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2519 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2520
2521 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2522 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2523 (__arch_compare_and_exchange_val_16_acq): Likewise.
2524 (__arch_compare_and_exchange_val_32_acq): Likewise.
2525 (atomic_exchange_and_add): Fix gUSA sequence.
2526 (atomic_add): Likewise.
2527 (atomic_add_negative): Likewise.
2528 (atomic_add_zero): Likewise.
2529 (atomic_bit_test_set): Likewise.
2530
0479b305
AS
25312012-06-22 Andreas Schwab <schwab@redhat.com>
2532
2533 [BZ #13579]
2534 * include/link.h (struct link_map): Add l_free_initfini.
2535 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2536 l_initfini.
2537 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2538 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2539 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2540 set.
2541
0e3933b9
CD
25422012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2543
2544 * configure.in: Use AC_LANG_SOURCE.
2545 * configure: Regenerate.
2546
4248b1b1
RM
25472012-06-22 Roland McGrath <roland@hack.frob.com>
2548
2549 * configure.in (libc_cv_localstatedir): New substituted variable.
2550 * configure: Regenerated.
2551 * config.make.in (localstatedir): New variable, substituted from
2552 libc_cv_localstatedir.
2553 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2554 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2555 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2556 * sysdeps/gnu/configure: Regenerated.
2557
006dd861
JL
25582012-06-21 Jeff Law <law@redhat.com>
2559
2560 [BZ #14277]
2561 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2562 free. Simplify list management for _LIBC case.
2563
79662d42
JM
25642012-06-21 Joseph Myers <joseph@codesourcery.com>
2565
b7abb4bf
JM
2566 [BZ #14273]
2567 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2568 Clear sign bit of 64-bit integer value before comparing against
2569 overflow value.
2570
79662d42
JM
2571 * sysdeps/mach/configure: Regenerated.
2572
1f150908
L
25732012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 [BZ #14278]
2576 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2577
28363bbf
JL
25782012-06-21 Jeff Law <law@redhat.com>
2579
2580 [BZ #13882]
2581 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2582 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2583 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2584 * elf/dl-open.c (dl_open_worker): Likewise.
2585
09615db4
CD
25862012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2587
2588 * scripts/list-sources.sh: Scan PORTS for translations.
2589 * po/libc.pot: Regenerated.
2590
2174c6dd
AJ
25912012-06-21 Andreas Jaeger <aj@suse.de>
2592
2593 [BZ #12194]
2594 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2595 warning.
2596 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2597 * bits/byteswap-16.h (__bswap_16): Likewise.
2598 * bits/byteswap.h (__bswap_constant_16): Likewise.
2599
3ee947b1
L
26002012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2601
2602 [BZ #14117]
a2f34833
L
2603 * sysdeps/i386/fpu_control.h: Removed.
2604 * sysdeps/x86_64/fpu_control.h: Moved to ...
2605 * sysdeps/x86/fpu_control.h: Here.
2606
3ee947b1
L
2607 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2608 (_FPU_SETCW): Likewise.
2609
ed1825f8
L
26102012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2611
25f1282a
L
2612 [BZ #14117]
2613 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2614 * sysdeps/x86/fpu/bits/mathinline.h: This.
2615 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2616
ed1825f8
L
2617 [BZ #14050]
2618 [BZ #14117]
2619 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2620 functions if __x86_64__ is defined.
2621
36d54b74
CLT
26222012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2623
2624 * string/endian.h: Add !__ASSEMBLER__ condition for including
2625 conversion interfaces.
2626
10285c21
JM
26272012-06-15 Joseph Myers <joseph@codesourcery.com>
2628
2629 [BZ #14241]
2630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2631 of ABS(x) in calculating zero to negative powers other than odd
2632 integers.
2633 * math/libm-test.inc (pow_test): Add more tests.
2634
06c5abbd
AJ
26352012-06-15 Andreas Jaeger <aj@suse.de>
2636
2637 * manual/contrib.texi (Contributors): Update entry of Liubov
2638 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2639 Machado Filho.
2640
a3aeac40
CH
26412012-06-15 Cyril Hrubis <metan@ucw.cz>
2642
2643 * string/string.h: Add __wur to GNU version of strerror_r.
2644
49bdf4c1
L
26452012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 [BZ #14229]
2648 * string/Makefile (tests): Add tst-strtok_r.
2649 * string/tst-strtok_r.c: New file.
2650 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2651 RAX_LP/RDX_LP on SAVE_PTR.
2652
834f9b8d
RM
26532012-06-14 Roland McGrath <roland@hack.frob.com>
2654
2655 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2656
75fa1921
JM
26572012-06-14 Joseph Myers <joseph@codesourcery.com>
2658
2659 * libm_test.inc (csqrt_test): Allow more spurious underflow
2660 exceptions.
2661 (j0_test): Likewise.
2662 (j1_test): Likewise.
2663 (y0_test): Likewise.
2664 (y1_test): Likewise.
2665
771766df
CD
26662012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2667
2668 * po/Makefile (libc.pot): Use UTF-8 charset.
2669
ceb9e56b
PP
26702012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2671
2672 [BZ #14210]
2673 Suppress sign-conversion warning from FD_SET.
2674 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2675 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2676 not unsigned long int.
2677 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2678
ddb28975
L
26792012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2680
2681 [BZ #14050]
2682 [BZ #14117]
2683 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2684 __extern_always_inline instead of __extern_inline.
2685 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2686 (__signbit): Likewise.
2687 (__signbitl): Support C++ namespace.
2688 (lrintf): New inline function.
2689 (lrint): Likewise.
2690 (llrintf): Likewise.
2691 (llrint): Likewise.
2692 (fmaxf): Likewise.
2693 (fmax): Likewise.
2694 (fminf): Likewise.
2695 (fmin): Likewise.
2696 (rint): Likewise.
2697 (rintf): Likewise.
2698 (ceil): Likewise.
2699 (ceilf): Likewise.
2700 (floor): Likewise.
2701 (floorf): Likewise.
2702 (nearbyint): Likewise.
2703 (nearbyintf): Likewise.
2704
d7b4fb26
TS
27052012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2706
2707 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2708 non-default versions.
2709
eb55f5c2
RM
27102012-06-11 Roland McGrath <roland@hack.frob.com>
2711
2712 [BZ #14218]
2713 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2714
366af02c
TS
27152012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2716
99ff6e5c
TS
2717 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2718 (FE_UPWARD, FE_DOWNWARD): Don't define.
2719 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2720 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2721
366af02c
TS
2722 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2723 reading it.
2724 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2725 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2726
793ea851
KK
27272012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2728
2729 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2731 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2732 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2733
a728a38f
L
27342012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2735
2736 [BZ #14117]
c08010c7
L
2737 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2738 * sysdeps/i386/fpu/Implies: New file.
2739 * sysdeps/x86_64/fpu/Implies: Likewise.
2740 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2741 * sysdeps/x86/fpu/bits/fenv.h: This.
2742
a728a38f
L
2743 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2744 __SSE_MATH__.
2745
6e230d11
SP
27462012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2747
2748 [BZ #14134]
2749 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2750 character 0xffff that matches the last element of the
2751 conversion table.
2752
1b671feb
AZ
27532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2754
2755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2756 fmodl commit.
2757
6043738b
AZ
27582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2759
2760 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2761 values higher than 25.6283.
2762
34ae0b32
AZ
27632012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
2765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2766 subnormal exponent extraction and add some __builtin_expect.
2767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2768 Fix for subnormal mantissa calculation.
2769
1214ec8f
MF
27702012-06-04 Mike Frysinger <vapier@gentoo.org>
2771
2772 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2773 cpu2 is -1 and errno is not ENOSYS.
2774
f3d1f93c
L
27752012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 [BZ #14117]
0e4a3cd7
L
2778 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2779 * sysdeps/x86/bits/string.h: This.
2780 * sysdeps/x86_64/bits/string.h: Removed.
2781
6704c645
L
2782 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2783 if not compiling for x86-64, but compiling for >= i486.
2784
48495318
L
2785 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2786 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2787
14adcbfc
L
2788 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2789 New macro from Linux kernel 3.4.0.
2790 (FP_XSTATE_MAGIC2): Likewise.
2791 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2792 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2793 (struct _fpx_sw_bytes): New struct.
2794 (struct _xsave_hdr): Likewise.
2795 (struct _ymmh_state): Likewise.
2796 (struct _xstate): Likewise.
2797
68e408ab
L
2798 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2799 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2800 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2801 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2802 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2803 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2804
f3d1f93c
L
2805 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2806 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2807 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2808 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2809 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2810 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2811
d9dc34cd
TMQMF
28122012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2813
2814 [BZ #13743]
2815 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2816 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2817 (sysdep_headers): Include sys/platform/ppc.h.
2818 * sysdeps/powerpc/test-gettimebase.c: Test for
2819 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2820 * manual/Makefile (appendices): Include platform.texi.
2821 * manual/contrib.texi (Contributors): Update @node pointers.
2822 * manual/maint.texi (Maintenance): Likewise.
2823 (Platform): New node.
2824 * manual/platform.texi: New file. Document the new features.
2825
4af3879c
SP
28262012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2827 Jakub Jelinek <jakub@redhat.com>
2828
2829 [BZ #14188]
2830 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2831 where __builtin_expect is unavailable.
2832
2fd6ff13
DM
28332012-06-03 David S. Miller <davem@davemloft.net>
2834
2835 * stdlib/longlong.h: Updated from GCC.
2836
173f7220
AS
28372012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2838
2839 [BZ #14042]
2840 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2841 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2842 __mcount_internal.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2844 (GLIBC_2.16): Likewise.
2845
f34a1c6f
L
28462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2849
88a4576f
JM
28502012-06-01 Joseph Myers <joseph@codesourcery.com>
2851
ea32bcdd
JM
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2853 (default-abi): New variable.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2855 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2856 variable.
2857 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2858 Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2860 Likewise.
2861 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2862 Likewise.
2863
88a4576f
JM
2864 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2865 definition. Document in comment.
2866
402fe938
DM
28672012-06-01 David S. Miller <davem@davemloft.net>
2868
2869 * stdlib/longlong.h: Updated from GCC.
2870
3553723f
L
28712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2872
2873 [BZ #14117]
3bd872c4
L
2874 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2875 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2876 sys/debugreg.h sys/io.h here.
2877 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2878 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2879 sys/io.h.
2880 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2881 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2882 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2883 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2884 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2885 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2886
3553723f
L
2887 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2888 Define only if __x86_64__ is defined.
2889
4842e4fe
JM
28902012-06-01 Joseph Myers <joseph@codesourcery.com>
2891
c5bfe3d5
JM
2892 [BZ #14048]
2893 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2894 Use int64_t for variable i.
2895 * math/libm-test.inc (fmod_test): Add more tests.
2896
4842e4fe
JM
2897 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2898 z computation is not scheduled after fetestexcept.
2899 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2900 Use math_force_eval instead of asm to ensure calculation scheduled
2901 before exception test.
2902 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2903 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2904
efb73488
AJ
29052012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2906
2907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2908 computation is not scheduled after fetestexcept.
2909
29bcce7c
L
29102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2911
2912 [BZ #14117]
2913 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2914 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2915
73a68f94
AZ
29162012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917
2918 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2919 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2920
67b6df78
L
29212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2922
edf2933a 2923 [BZ #14117]
ebc64a18
L
2924 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2925 <bits/wordsize.h>.
2926 (__WCHAR_MIN): Support __WORDSIZE == 64.
2927 (__WCHAR_MAX): Likewise.
2928
edf2933a
L
2929 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2930 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2931
57c6cf40
L
2932 [BZ #14183]
2933 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2934 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2935
67b6df78 2936 [BZ #14117]
8eb6281e
L
2937 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2938 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2939
aac639f4
L
2940 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2941 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2942
67b6df78
L
2943 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2944 Defined to 1 if __x86_64__ isn't defined.
2945 (_STAT_VER_LINUX_OLD): New.
2946 (st_atime): Remove duplicate.
2947 (st_mtime): Likewise.
2948 (st_ctime): Likewise.
2949
1c2cfe81
DM
29502012-05-31 David S. Miller <davem@davemloft.net>
2951
2952 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2953 entries.
2954
5be8418c
AS
29552012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2956
e7725326
AS
2957 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2958 gen-libm-test.pl.
2959
5be8418c
AS
2960 [BZ #14132]
2961 * elf/dl-reloc.c: Include <_itoa.h>.
2962 (_dl_reloc_bad_type): Remove use of INTUSE.
2963 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2964 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2965 * stdio-common/psiginfo.c (psiginfo): Likewise.
2966 * stdio-common/psignal.c (psignal): Likewise.
2967 * string/strsignal.c (strsignal): Likewise.
2968 * include/signal.h (_sys_siglist): Declare hidden proto.
2969 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2970 INTVARDEF with libc_hidden_data_def.
2971 * stdio-common/itoa-udigits.c: Likewise.
2972 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2973 (_itoa_lower_digits_internal): Remove declaration.
2974 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2975 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2976 (_sys_sigabbrev_internal): Remove aliases.
2977 (_sys_siglist): Define hidden alias.
2978
507352f1
MT
29792012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2980
2981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2982 bits/sysctl.h.
2983
42bbb1c3
L
29842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2985
2986 [BZ #14117]
6bd784b6
L
2987 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2988 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2989
8bca20f0
L
2990 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2991 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2992 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2993 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2995 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2996
f9e890a9
L
2997 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2998 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2999 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3000
471101a1
L
3001 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3002 with __addr.
3003 (insw): Likewise.
3004 (insl): Likewise.
3005 (outsb): Likewise.
3006 (outsw): Likewise.
3007 (outsl): Likewise.
3008
6451c862
L
3009 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3010 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3011 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3012
a254b8c9
L
3013 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3014 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3015 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3016 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3017 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3018 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3019
b8dfdd92
L
3020 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3021 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3022
578cd270
L
3023 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3024 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3025
de662f5f
L
3026 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3027 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3028 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3029
25653439
L
3030 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3031 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3032 to ...
3033 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3034
6bad24a0
L
3035 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3036 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3037 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3038
42bbb1c3
L
3039 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3040 for x86-64.
3041 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3042
2d10d547
JM
30432012-05-31 Joseph Myers <joseph@codesourcery.com>
3044
3045 * math/math.h (M_El): Use two more decimal places.
3046 (M_LOG2El): Likewise.
3047 (M_LOG10El): Likewise.
3048 (M_LN2l): Likewise.
3049 (M_LN10l): Likewise.
3050 (M_PIl): Likewise.
3051 (M_PI_2l): Likewise.
3052 (M_PI_4l): Likewise.
3053 (M_1_PIl): Likewise.
3054 (M_2_PIl): Likewise.
3055 (M_2_SQRTPIl): Likewise.
3056 (M_SQRT2l): Likewise.
3057 (M_SQRT1_2l): Likewise.
3058
f230c29b
DM
30592012-05-31 David S. Miller <davem@davemloft.net>
3060
3061 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3062 values between float registers.
3063 * sysdeps/sparc/sparc64/memset.S: Likewise.
3064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3065
fed806c3
MF
30662012-05-31 Mike Frysinger <vapier@gentoo.org>
3067
3068 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3069 -D_FORTIFY_SOURCE=1.
3070 (CPPFLAGS-tst-longjmp_chk.c): Define.
3071 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3072 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3073 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3074 CFLAGS-tst-wchar-h.c.
3075
30917259
MP
30762012-05-31 Marek Polacek <polacek@redhat.com>
3077
3078 [BZ #14132]
3079 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3080 __endmntent_internal): Remove declaration.
3081 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3082 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3083 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3084
1c58d5dc
DM
30852012-05-30 David S. Miller <davem@davemloft.net>
3086
3087 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3088 (___Q_simulate_exceptions): Use real FP ops rather than writing
3089 into the %fsr.
3090 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3091 Likewise.
3092
7dc00e0d
L
30932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3094
3095 [BZ #14117]
0bd53985
L
3096 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3097 * sysdeps/x86/bits/xtitypes.h: This.
3098
3a257e66
L
3099 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3100 * sysdeps/x86/bits/wordsize.h: This.
3101
62f62904
L
3102 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3103 * sysdeps/x86/bits/huge_vall.h: This.
3104
404fe9d9
L
3105 * sysdeps/i386/bits/select.h: Removed.
3106 * sysdeps/x86_64/bits/select.h: Renamed to ...
3107 * sysdeps/x86/bits/select.h: This.
3108
d48d0446
L
3109 * sysdeps/i386/bits/setjmp.h: Removed.
3110 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3111 * sysdeps/x86/bits/setjmp.h: This.
3112
7dc00e0d
L
3113 * sysdeps/i386/bits/mathdef.h: Removed.
3114 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3115 * sysdeps/x86/bits/mathdef.h: This.
3116
03277f8f
AS
31172012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3118
3119 [BZ #14132]
3120 * include/sys/socket.h (__connect_internal)
3121 (__libc_sa_len_internal): Remove declaration.
3122 (__connect, __libc_sa_len): Declare hidden_proto.
3123 (SA_LEN): Remove use of INTUSE.
3124 * socket/connect.c: Add libc_hidden_def.
3125 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3126 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3127 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3128 alias.
3129 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3130 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3131 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3132 of adding _internal alias.
3133
13764867
L
31342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3135
3136 [BZ #14117]
6bd97696
L
3137 * sysdeps/i386/bits/link.h: Removed.
3138 * sysdeps/i386/bits/linkmap.h: Likewise.
3139 * sysdeps/x86_64/bits/link.h: Renamed to ...
3140 * sysdeps/x86/bits/link.h: This.
3141 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3142 * sysdeps/x86/bits/linkmap.h: This.
3143
f726f0bb
L
3144 * sysdeps/i386/bits/endian.h: Removed.
3145 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3146 * sysdeps/x86/bits/endian.h: This.
3147
13764867
L
3148 * sysdeps/i386/bits/byteswap.h: Removed.
3149 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3150 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3151 * sysdeps/x86/bits/byteswap.h: This.
3152 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3153 * sysdeps/x86/bits/byteswap-16.h: This.
3154 * sysdeps/i386/Implies: Add x86.
3155 * sysdeps/x86_64/Implies: Likewise.
3156
ae251b0b
DM
31572012-05-30 David S. Miller <davem@davemloft.net>
3158
3159 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3160 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3161 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3162 (FP_TRAPPING_EXCEPTIONS): Define.
3163 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3164 (FP_TRAPPING_EXCEPTIONS): Define.
3165 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3166 subnormals only when inexact has been signalled or underflow
3167 exceptions are enabled.
3168 (_FP_PACK_CANONICAL): Likewise.
3169
d5c90867
L
31702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3171
3172 [BZ #14183]
3173 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3174 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3175
63f1549e
RH
31762012-05-30 Richard Henderson <rth@twiddle.net>
3177
8d8f2279
RH
3178 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3179 with #ifndef NOT_IN_libc.
3180
63f1549e
RH
3181 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3182 marked to avoid plt entry.
3183
0ab0291b
L
31842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 [BZ #14112]
3187 * Makeconfig (default-abi): New macro.
3188 (abi-includes): Likewise.
3189 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3190 $(abi-$(default-abi)-lib-soname) for soname if defined.
3191 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3192 abi-variants.
3193 * Makefile (installed-stubs): Likewise.
3194 * include/stubs-biarch.h: Removed.
3195 * scripts/lib-names.awk: Only handle one library at a time.
3196 * scripts/soversions.awk: Remove WORDSIZE support.
3197 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3198 entries.
3199 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3200 Removed.
3201 (syscall-list-default-condition): Likewise.
3202 (syscall-list-default-condition): Likewise.
3203 (syscall-list-includes): Likewise.
3204 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3205 syscall-list-* with abi-*. Handle undefined abi-variants.
3206 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3207 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3208 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3209 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3210 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3211 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3212 Removed.
3213 (syscall-list-32-options): Likewise.
3214 (syscall-list-32-condition): Likewise.
3215 (syscall-list-64-options): Likewise.
3216 (syscall-list-64-condition): Likewise.
3217 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3218 macro.
3219 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3220 Renamed to ...
3221 (abi-*): This.
3222 (abi-64-ld-soname): New macro.
3223 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3224 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3225 Renamed to ...
3226 (abi-*): This.
3227 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3228 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3229
4da0431d
JM
32302012-05-30 Joseph Myers <joseph@codesourcery.com>
3231
3a85279c
JM
3232 * sysdeps/unix/sysv/linux/kernel-features.h
3233 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3234 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3235 include <kernel-features.h>.
3236 [!__NR_ftruncate64]: Remove conditional code.
3237 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3238 [__NR_ftruncate64]: Make code unconditional.
3239 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3240 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3241 include <kernel-features.h>.
3242 [!__NR_ftruncate64]: Remove conditional code.
3243 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3244 [__NR_ftruncate64]: Make code unconditional.
3245 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3247 include <kernel-features.h>.
3248 [!__NR_ftruncate64]: Remove conditional code.
3249 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3250 [__NR_ftruncate64]: Make code unconditional.
3251 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3253 include <kernel-features.h>.
3254 [!__NR_ftruncate64]: Remove conditional code.
3255 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3256 [__NR_ftruncate64]: Make code unconditional.
3257 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3258
4da0431d
JM
3259 * configure.in (libc_cv_fpie): Weaken to a compile test using
3260 LIBC_TRY_CC_OPTION.
3261 * configure: Regenerated.
3262
11ef492c
AK
32632012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3264
3265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3269 Refreshed.
3270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3276 Refreshed.
3277
d66ef399
DM
32782012-05-27 David S. Miller <davem@davemloft.net>
3279
3280 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3281 (___Q_zero): New.
3282 (__Q_simulate_exceptions): Return void. Change to simulate
3283 exceptions by writing into the %fsr.
3284 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3285 (__Qp_handle_exceptions): Likewise.
3286 (numbers): Delete.
3287 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3288 __Qp_handle_exceptions.
3289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3290 __Qp_handle_exceptions.
3291 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3292 as unused and give dummy FP_RND_NEAREST initializer.
3293 (FP_INHIBIT_RESULTS): Define.
3294 (___Q_simulate_exceptions): Update declaration.
3295 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3296 formatting.
3297 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3298 as unused and give dummy FP_RND_NEAREST initializer.
3299 (__Qp_handle_exceptions): Update declaration.
3300 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3301 formatting.
3302
04fb54b5
TS
33032012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3304
3305 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3306 the temporary FPU control word.
3307 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3308 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3309 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3310 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3311 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3312 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3313 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3314 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3315 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3316 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3317 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3318
3f99608f
KK
33192012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3320
3321 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3322 fields.
3323
65a4de4e
CLT
33242012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3325
3326 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3327 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3328 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3329 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3330 Likewise.
3331 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3332 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3333 Likewise.
3334
15749d40
UD
33352012-05-27 Ulrich Drepper <drepper@gmail.com>
3336
3337 * po/h.po: Update from translation team.
3338
25dbcb27
AS
33392012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3340
3d3f8e55
AS
3341 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3342
25dbcb27
AS
3343 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3344 handling of denormals.
3345 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3346 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3347 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3348 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3352 Likewise.
3353
7ad47a80 33542012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3355
3356 [BZ #14152]
3357 * math/libm-test.inc (fma_test): Don't always expect underflow
3358 exception.
3359
9c6ea9fa
SP
33602012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3361
3362 [BZ #12416]
3363 * elf/tst-execstack.c: Include stackinfo.h.
3364 (do_test): Adjust test case to ensure that pthread_getattr_np
3365 behaviour remains the same after marking stack executable.
3366
a8239222
JM
33672012-05-25 Joseph Myers <joseph@codesourcery.com>
3368
3369 * sysdeps/unix/sysv/linux/kernel-features.h
3370 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3371 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3372 kernel-features.h.
3373 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3374 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3375 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3376 kernel-features.h.
3377 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3378 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3379
918b5606
L
33802012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3381
3382 * configure.in: Define the default includes to being none.
3383 * configure: Regenerated.
3384
3a097cc7
RM
33852012-05-25 Roland McGrath <roland@hack.frob.com>
3386
8422c9a5
RM
3387 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3388 * sysdeps/x86_64/setjmp.S: Likewise.
3389 * sysdeps/i386/bsd-setjmp.S: Likewise.
3390 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3391 * sysdeps/i386/setjmp.S: Likewise.
3392 * sysdeps/i386/__longjmp.S: Likewise.
3393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3394 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3395
3a097cc7
RM
3396 * include/stap-probe.h: New file.
3397 * configure.in: Handle --enable-systemtap.
3398 * configure: Regenerated.
3399 * config.h.in (USE_STAP_PROBE): New #undef.
3400 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3401 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3402 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3403
21708942
JM
34042012-05-25 Joseph Myers <joseph@codesourcery.com>
3405
3406 [BZ #13717]
3407 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3408 to 2.4.0 where earlier.
3409 * sysdeps/unix/sysv/linux/configure: Regenerated.
3410 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3411 <kernel-features.h>.
3412 [__ASSUME_32BITUIDS]: Make code unconditional.
3413 [!__ASSUME_32BITUIDS]: Remove conditional code.
3414 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3415 <kernel-features.h>.
3416 [__ASSUME_32BITUIDS]: Make code unconditional.
3417 [!__ASSUME_32BITUIDS]: Remove conditional code.
3418 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3419 [__ASSUME_32BITUIDS]: Make code unconditional.
3420 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3421 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3422 <kernel-features.h>.
3423 [__ASSUME_32BITUIDS]: Make code unconditional.
3424 [!__ASSUME_32BITUIDS]: Remove conditional code.
3425 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3426 <kernel-features.h>.
3427 [__ASSUME_32BITUIDS]: Make code unconditional.
3428 [!__ASSUME_32BITUIDS]: Remove conditional code.
3429 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3430 <kernel-features.h>.
3431 [__ASSUME_32BITUIDS]: Make code unconditional.
3432 [!__ASSUME_32BITUIDS]: Remove conditional code.
3433 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3434 <kernel-features.h>.
3435 [__ASSUME_32BITUIDS]: Make code unconditional.
3436 [!__ASSUME_32BITUIDS]: Remove conditional code.
3437 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3438 <kernel-features.h>.
3439 [__ASSUME_32BITUIDS]: Make code unconditional.
3440 [!__ASSUME_32BITUIDS]: Remove conditional code.
3441 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3442 <kernel-features.h>.
3443 [__ASSUME_32BITUIDS]: Make code unconditional.
3444 [!__ASSUME_32BITUIDS]: Remove conditional code.
3445 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3446 <kernel-features.h>.
3447 [__ASSUME_32BITUIDS]: Make code unconditional.
3448 [!__ASSUME_32BITUIDS]: Remove conditional code.
3449 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3450 <kernel-features.h>.
3451 [__ASSUME_32BITUIDS]: Make code unconditional.
3452 [!__ASSUME_32BITUIDS]: Remove conditional code.
3453 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3454 <kernel-features.h>.
3455 [__ASSUME_32BITUIDS]: Make code unconditional.
3456 [!__ASSUME_32BITUIDS]: Remove conditional code.
3457 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3458 <kernel-features.h>.
3459 [__ASSUME_32BITUIDS]: Make code unconditional.
3460 [!__ASSUME_32BITUIDS]: Remove conditional code.
3461 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3462 <kernel-features.h>.
3463 [__NR_setresgid] (__setresgid): Do not declare.
3464 [__ASSUME_32BITUIDS]: Make code unconditional.
3465 [!__ASSUME_32BITUIDS]: Remove conditional code.
3466 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3467 <kernel-features.h>.
3468 [__NR_setresuid] (__setresuid): Do not declare.
3469 [__ASSUME_32BITUIDS]: Make code unconditional.
3470 [!__ASSUME_32BITUIDS]: Remove conditional code.
3471 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3472 <kernel-features.h>.
3473 [__ASSUME_32BITUIDS]: Make code unconditional.
3474 [!__ASSUME_32BITUIDS]: Remove conditional code.
3475 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3476 <kernel-features.h>.
3477 [__ASSUME_32BITUIDS]: Make code unconditional.
3478 [!__ASSUME_32BITUIDS]: Remove conditional code.
3479 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3480 <kernel-features.h>.
3481 [__ASSUME_32BITUIDS]: Make code unconditional.
3482 [!__ASSUME_32BITUIDS]: Remove conditional code.
3483 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3484 <kernel-features.h>.
3485 [__ASSUME_32BITUIDS]: Make code unconditional.
3486 [!__ASSUME_32BITUIDS]: Remove conditional code.
3487 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3488 <kernel-features.h>.
3489 [__ASSUME_32BITUIDS]: Make code unconditional.
3490 [!__ASSUME_32BITUIDS]: Remove conditional code.
3491 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3492 <kernel-features.h>.
3493 [__ASSUME_32BITUIDS]: Make code unconditional.
3494 [!__ASSUME_32BITUIDS]: Remove conditional code.
3495 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3496 <kernel-features.h>.
3497 [__ASSUME_32BITUIDS]: Make code unconditional.
3498 [!__ASSUME_32BITUIDS]: Remove conditional code.
3499 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3500 <kernel-features.h>.
3501 [__ASSUME_32BITUIDS]: Make code unconditional.
3502 [!__ASSUME_32BITUIDS]: Remove conditional code.
3503 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3504 <kernel-features.h>.
3505 [__ASSUME_32BITUIDS]: Make code unconditional.
3506 [!__ASSUME_32BITUIDS]: Remove conditional code.
3507 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3508 <kernel-features.h>.
3509 [__ASSUME_32BITUIDS]: Make code unconditional.
3510 [!__ASSUME_32BITUIDS]: Remove conditional code.
3511 * sysdeps/unix/sysv/linux/kernel-features.h
3512 (__ASSUME_SETRESUID_SYSCALL): Remove.
3513 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3514 (__ASSUME_32BITUIDS): Likewise.
3515 (__ASSUME_LDT_WORKS): Likewise.
3516 (__ASSUME_O_DIRECTORY): Likewise.
3517 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3518 architecture but not kernel version.
3519 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3520 (__ASSUME_MMAP2_SYSCALL): Likewise.
3521 (__ASSUME_STAT64_SYSCALL): Likewise.
3522 (__ASSUME_IPC64): Likewise.
3523 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3524 <kernel-features.h>.
3525 [__ASSUME_32BITUIDS]: Make code unconditional.
3526 [!__ASSUME_32BITUIDS]: Remove conditional code.
3527 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3528 <kernel-features.h>.
3529 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3530 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3531 132096]: Remove conditional code.
3532 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3533 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3534 <kernel-features.h>.
3535 [__ASSUME_32BITUIDS]: Make code unconditional.
3536 [!__ASSUME_32BITUIDS]: Remove conditional code.
3537 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3538 <kernel-features.h>.
3539 [__ASSUME_32BITUIDS]: Make code unconditional.
3540 [!__ASSUME_32BITUIDS]: Remove conditional code.
3541 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3542 <kernel-features.h>.
3543 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3544 unconditional.
3545 (__setresgid): Do not declare.
3546 [__ASSUME_32BITUIDS]: Make code unconditional.
3547 [!__ASSUME_32BITUIDS]: Remove conditional code.
3548 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3549 <kernel-features.h>.
3550 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3551 unconditional.
3552 (__setresuid): Do not declare.
3553 [__ASSUME_32BITUIDS]: Make code unconditional.
3554 [!__ASSUME_32BITUIDS]: Remove conditional code.
3555 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3556 <kernel-features.h>.
3557 [__ASSUME_32BITUIDS]: Make code unconditional.
3558 [!__ASSUME_32BITUIDS]: Remove conditional code.
3559 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3560 <kernel-features.h>.
3561 [__ASSUME_32BITUIDS]: Make code unconditional.
3562 [!__ASSUME_32BITUIDS]: Remove conditional code.
3563
a386f1cc
RH
35642012-05-25 Richard Henderson <rth@twiddle.net>
3565
3566 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3567 dl_hwcap to ifunc resolver.
3568 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3569 elf_ifunc_invoke.
3570 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3571 dl_hwcap to ifunc resolver.
3572 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3573
b6550497
JM
35742012-05-24 Joseph Myers <joseph@codesourcery.com>
3575
3576 [BZ #14153]
3577 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3578 for |x| <= 2**-26, not 2**-57.
3579 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3580 exception.
3581
b0bc23a1
JL
35822012-05-24 Jeff Law <law@redhat.com>
3583
3584 * stdio-common/Makefile (tests): Add bug25.
3585 * stdio-common/bug25.c: New test.
3586
347c92e9
L
35872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3588
3589 [BZ #13576]
3590 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3591 multiple of MALLOC_ALIGNMENT in size.
3592 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3593
6bcc8b3f
JM
35942012-05-24 Joseph Myers <joseph@codesourcery.com>
3595
3596 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3597 Require >= 256.
3598 (FILENAME_MAX): Use macro-int-constant.
3599 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3600 (_IOFBF): Use macro-int-constant.
3601 (_IOLBF): Likewise.
3602 (_IONBF): Likewise.
3603 (SEEK_CUR): Likewise.
3604 (SEEK_END): Likewise.
3605 (SEEK_SET): Likewise.
3606 (TMP_MAX): Likewise.
3607 (EOF): Use macro-int-constant. Require < 0.
3608 (NULL): Use macro-constant. Require == 0.
3609 (stdin): Require type to be FILE *.
3610 (stdout): Likewise.
3611 (stderr): Likewise.
3612 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3613 macro-int-constant.
3614 (EXIT_SUCCESS): Likewise.
3615 (NULL): Use macro-constant. Require == 0.
3616 (RAND_MAX): Use macro-int-constant.
3617 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3618 [C99-based standards] (strtof): Require function.
3619 [C99-based standards] (strtold): Likewise.
3620 [C99-based standards] (strtoll): Likewise.
3621 [C99-based standards] (strtoull): Likewise.
3622 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3623 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3624 [ISO || ISO99 || ISO11] (math.h): Likewise.
3625 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3626 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3627 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3628
d18ea0c5
AS
36292012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3630
3631 [BZ #14132]
56d25bb8
AS
3632 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3633 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3634 * intl/dgettext.c (DCGETTEXT): Likewise.
3635 * intl/gettext.c (DCGETTEXT): Likewise.
3636 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3637 * posix/regex_internal.h (gettext): Likewise.
3638 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3639 Remove declaration.
3640 * include/argz.h (__argz_count_internal)
3641 (__argz_stringify_internal): Remove declaration.
3642 (__argz_count, __argz_stringify): Declare hidden proto.
3643 * intl/dcgettext.c: Remove use of INTDEF.
3644 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3645 * string/argz-stringify.c: Likewise.
3646 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3647 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3648 Declare hidden proto.
d18ea0c5
AS
3649 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3650 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3651 Declare hidden proto.
3652 * include/stdio.h (__asprintf_internal): Don't declare.
3653 (__asprintf): Don't define as macro. Declare hidden proto.
3654 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3655 (__fsetlocking): Declare hidden proto.
3656 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3657 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3658 hidden proto.
3659 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3660 (_IO_setlinebuf): Remove use of INTUSE.
3661 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3662 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3663 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3664 Remove declaration.
3665 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3666 (_IO_do_flush): Remove use of INTUSE.
3667 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3668 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3669 (_IO_adjust_column, _IO_least_wmarker)
3670 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3671 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3672 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3673 (_IO_default_doallocate, _IO_wdefault_doallocate)
3674 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3675 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3676 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3677 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3678 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3679 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3680 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3681 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3682 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3683 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3684 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3685 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3686 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3687 proto.
3688 (_IO_flush_all_internal, _IO_adjust_column_internal)
3689 (_IO_default_uflow_internal, _IO_default_finish_internal)
3690 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3691 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3692 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3693 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3694 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3695 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3696 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3697 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3698 (_IO_file_close_internal, _IO_file_close_it_internal)
3699 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3700 (_IO_file_init_internal, _IO_file_attach_internal)
3701 (_IO_file_fopen_internal, _IO_file_read_internal)
3702 (_IO_file_sync_internal, _IO_file_seek_internal)
3703 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3704 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3705 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3706 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3707 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3708 (_IO_list_all_internal, _IO_link_in_internal)
3709 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3710 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3711 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3712 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3713 (_IO_do_write_internal, _IO_padn_internal)
3714 (_IO_getline_info_internal, _IO_getline_internal)
3715 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3716 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3717 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3718 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3719 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3720 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3721 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3722 with libc_hidden_ver, remove use of INTUSE.
3723 * libio/genops.c: Likewise.
3724 * libio/freopen.c: Likewise.
3725 * libio/freopen64.c: Likewise.
3726 * libio/iofclose.c: Likewise.
3727 * libio/iofdopen.c: Likewise.
3728 * libio/iofflush.c: Likewise.
3729 * libio/iofflush_u.c: Likewise.
3730 * libio/iofgets.c: Likewise.
3731 * libio/iofgets_u.c: Likewise.
3732 * libio/iofopen.c: Likewise.
3733 * libio/iofopncook.c: Likewise.
3734 * libio/iofread.c: Likewise.
3735 * libio/iofread_u.c: Likewise.
3736 * libio/ioftell.c: Likewise.
3737 * libio/iofwrite.c: Likewise.
3738 * libio/iogetline.c: Likewise.
3739 * libio/iogets.c: Likewise.
3740 * libio/iogetwline.c: Likewise.
3741 * libio/iopadn.c: Likewise.
3742 * libio/iopopen.c: Likewise.
3743 * libio/ioseekoff.c: Likewise.
3744 * libio/ioseekpos.c: Likewise.
3745 * libio/iosetbuffer.c: Likewise.
3746 * libio/iosetvbuf.c: Likewise.
3747 * libio/ioungetc.c: Likewise.
3748 * libio/ioungetwc.c: Likewise.
3749 * libio/iovdprintf.c: Likewise.
3750 * libio/iovsprintf.c: Likewise.
3751 * libio/iovsscanf.c: Likewise.
3752 * libio/memstream.c: Likewise.
3753 * libio/obprintf.c: Likewise.
3754 * libio/oldfileops.c: Likewise.
3755 * libio/oldiofclose.c: Likewise.
3756 * libio/oldiofdopen.c: Likewise.
3757 * libio/oldiofopen.c: Likewise.
3758 * libio/oldiopopen.c: Likewise.
3759 * libio/oldstdfiles.c: Likewise.
3760 * libio/putc.c: Likewise.
3761 * libio/setbuf.c: Likewise.
3762 * libio/setlinebuf.c: Likewise.
3763 * libio/stdfiles.c: Likewise.
3764 * libio/strops.c: Likewise.
3765 * libio/vasprintf.c: Likewise.
3766 * libio/vscanf.c: Likewise.
3767 * libio/vsnprintf.c: Likewise.
3768 * libio/vswprintf.c: Likewise.
3769 * libio/wfiledoalloc.c: Likewise.
3770 * libio/wfileops.c: Likewise.
3771 * libio/wgenops.c: Likewise.
3772 * libio/wmemstream.c: Likewise.
3773 * libio/wstrops.c: Likewise.
3774 * libio/__fpurge.c: Likewise.
3775 * libio/__fsetlocking.c: Likewise.
3776 * assert/assert.c: Likewise.
3777 * debug/fgets_chk.c: Likewise.
3778 * debug/fgets_u_chk.c: Likewise.
3779 * debug/fread_chk.c: Likewise.
3780 * debug/fread_u_chk.c: Likewise.
3781 * debug/gets_chk.c: Likewise.
3782 * debug/obprintf_chk.c: Likewise.
3783 * debug/vasprintf_chk.c: Likewise.
3784 * debug/vdprintf_chk.c: Likewise.
3785 * debug/vsnprintf_chk.c: Likewise.
3786 * debug/vsprintf_chk.c: Likewise.
3787 * malloc/mtrace.c: Likewise.
3788 * misc/error.c: Likewise.
3789 * misc/syslog.c: Likewise.
3790 * stdio-common/asprintf.c: Likewise.
3791 * stdio-common/fxprintf.c: Likewise.
3792 * stdio-common/getw.c: Likewise.
3793 * stdio-common/isoc99_fscanf.c: Likewise.
3794 * stdio-common/isoc99_scanf.c: Likewise.
3795 * stdio-common/isoc99_vfscanf.c: Likewise.
3796 * stdio-common/isoc99_vscanf.c: Likewise.
3797 * stdio-common/isoc99_vsscanf.c: Likewise.
3798 * stdio-common/printf-prs.c: Likewise.
3799 * stdio-common/printf_fp.c: Likewise.
3800 * stdio-common/printf_fphex.c: Likewise.
3801 * stdio-common/printf_size.c: Likewise.
3802 * stdio-common/putw.c: Likewise.
3803 * stdio-common/scanf.c: Likewise.
3804 * stdio-common/sprintf.c: Likewise.
3805 * stdio-common/tmpfile.c: Likewise.
3806 * stdio-common/vfprintf.c: Likewise.
3807 * stdio-common/vfscanf.c: Likewise.
3808 * stdlib/strfmon_l.c: Likewise.
3809 * sunrpc/openchild.c: Likewise.
3810 * sunrpc/xdr_stdio.c: Likewise.
3811 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3812 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3813
d6c33fda
RM
38142012-05-24 Roland McGrath <roland@hack.frob.com>
3815
c1487492
RM
3816 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3817
3818 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3819 in the third column, to generate for the shared library an IFUNC
3820 that uses _dl_vdso_vsym.
3821 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3822 * Makeconfig (object-suffixes-noshared): New variable.
3823
3824 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3825 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3826 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3827 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3828
d6c33fda
RM
3829 [BZ #14132]
3830 * include/sys/time.h (__gettimeofday): Remove macro.
3831 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3832 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3833 Remove INTDEF.
3834 (__gettimeofday): Add libc_hidden_def.
3835 (gettimeofday): Add libc_hidden_weak.
3836 * sysdeps/mach/gettimeofday.c: Likewise.
3837 * sysdeps/posix/gettimeofday.c: Likewise.
3838 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3839 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3840 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3841 (__gettimeofday_internal): Remove strong_alias.
3842 (__gettimeofday): Add libc_hidden_def.
3843 (gettimeofday): Add libc_hidden_weak.
3844 * sysdeps/unix/syscalls.list (gettimeofday):
3845 Remove __gettimeofday_internal alias.
3846
b5a2bbe6
L
38472012-05-24 Daniel Jacobowitz <drow@false.org>
3848 H.J. Lu <hongjiu.lu@intel.com>
3849
3850 [BZ #12495]
3851 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3852 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3853 (largebin_index_32_big): New.
3854 (largebin_index): Use it for 16-byte alignment.
3855 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3856 correction with front_misalign.
3857
cfba4fda
L
38582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3859
7f907421
L
3860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3862 Likewise.
3863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3864 Likewise.
3865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3866 Likewise.
3867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3868 Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3870 Likewise.
3871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3872 Likewise.
3873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3874 Likewise.
3875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3876 Likewise.
3877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3878 Likewise.
3879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3880 Likewise.
3881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3882 Likewise.
3883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3884 Likewise.
3885
cfba4fda
L
3886 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3887 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3888
80bad0cc
JM
38892012-05-24 Joseph Myers <joseph@codesourcery.com>
3890
7a25eb06
JM
3891 [BZ #10846]
3892 [BZ #14036]
3893 * math/libm-test.inc (exp_test): Add test from bug 14036.
3894 (pow_test): Add test from bug 10846.
3895
795405f9
JM
3896 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3897 and other flags.
3898 (special_function): Do not include flags in test name.
3899 (parse_args): Likewise.
3900 * sysdeps/i386/fpu/libm-test-ulps: Update.
3901 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3902 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3903 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3905
80bad0cc
JM
3906 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3907 exceptions.
3908 * math/libm-test.inc ("Philosophy"): Update comment about
3909 exception testing.
3910 (UNDERFLOW_EXCEPTION): New macro.
3911 (UNDERFLOW_EXCEPTION_OK): Likewise.
3912 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3913 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3914 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3915 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3916 (INVALID_EXCEPTION_OK): Update value.
3917 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3918 (OVERFLOW_EXCEPTION_OK): Likewise.
3919 (IGNORE_ZERO_INF_SIGN): Likewise.
3920 (test_exceptions): Handle underflow exceptions.
3921 (acos_test): Update for underflow exception expectations.
3922 (cexp_test): Likewise.
3923 (clog_test): Likewise.
3924 (clog10_test): Likewise.
3925 (csqrt_test): Likewise.
3926 (ctan_test): Likewise.
3927 (ctanh_test): Likewise.
3928 (exp_test): Likewise.
3929 (exp10_test): Likewise.
3930 (exp2_test): Likewise.
3931 (expm1_test): Likewise.
3932 (fma_test): Likewise.
3933 (j0_test): Likewise.
3934 (jn_test): Likewise.
3935 (nexttoward_test): Likewise.
3936 (pow_test): Likewise.
3937 (scalbn_test): Likewise.
3938 (scalbln_test): Likewise.
3939 (tan_test): Likewise.
3940 (y1_test): Likewise.
3941 * sysdeps/i386/fpu/libm-test-ulps: Update.
3942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3943
9e0e3d0b
DM
39442012-05-23 David S. Miller <davem@davemloft.net>
3945
3946 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3947 (__libc_sigaction): Remove unused local variables.
3948
ccd0a08f
L
39492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3950
3951 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3952
62bdf9a6
PE
39532012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3954
f8591f80
PE
3955 mktime: avoid signed integer overflow
3956 * time/mktime.c (__mktime_internal): Do not mishandle the case
3957 where diff == INT_MIN.
3958
94c7d826
PE
3959 mktime: simplify computation of average
3960 * time/mktime.c (ranged_convert): Use new time_t_avg function
3961 instead of rolling our own (probably-slower) code.
3962
ce73d683
PE
3963 mktime: do not assume signed right shift propagates sign bit
3964 * time/mktime.c (isdst_differ): New static function.
3965 (__mktime_internal): No need to normalize tm_isdst now.
3966 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3967 tm_isdst values.
3968
72a22e59
PE
3969 mktime: merge another wrapv change from gnulib
3970 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3971 from some compilers.
3972
68605433
PE
3973 mktime: remove incorrect attempt at unusual arithmetics
3974 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3975 The code didn't really work on such machines anyway.
3976 (TYPE_MINIMUM): Assume two's complement.
3977 (twos_complement_arithmetic): Verify that long_int and time_t
3978 are two's complement (or unsigned, in the latter case).
3979
03cf7fe3
PE
3980 mktime: check signed shifts on long_int and time_t, too
3981 * time/mktime.c (SHR): Check that shifts work as desired
3982 on the types long_int and time_t too, as SHR is used on
3983 such types.
3984
f04dfbc2
PE
3985 mktime: do not assume 'long' is wide enough
3986 * time/mktime.c (verify): Move decl up.
3987 (long_int): New type.
3988 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3989 to remove assumption in the code that 'long' is wide enough to
3990 store year values. This assumption is not true on x32 and on
3991 some non-glibc platforms.
3992
62bdf9a6
PE
3993 mktime: merge wrapv change from gnulib
3994 * time/mktime.c (WRAPV): New macro.
3995 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3996 (guess_time_tm, __mktime_internal): Do not assume that signed
3997 integer overflow wraps around; modern compilers generate code
3998 where this assumption is no longer valid.
3999
5e292e4f
L
40002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4001
4002 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4003 Replace "jmp L(pseudo_end)" with "ret".
4004 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4005 Likewise.
4006
8caf8c87
AJ
40072012-05-23 Andreas Jaeger <aj@suse.de>
4008
4009 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4010 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4011
1a09dc56
AJ
40122012-05-23 Andreas Jaeger <aj@suse.de>
4013 Maximilian Attems <max@stro.at>
4014
4015 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4016 New macros.
4017
1c87aba0
L
40182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4019
4020 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4021 code so that pseudo_end is just ret and the stack pointer is
4022 correct also for static library in error case.
4023
40e45bd5
JM
40242012-05-23 Joseph Myers <joseph@codesourcery.com>
4025
c2670533
JM
4026 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4027 move to syscalls.list.
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4032
40e45bd5
JM
4033 * manual/install.texi (Running make install): Do not mention Linux
4034 kernel version for which pt_chown is not needed.
4035 (Linux): Do not mention problems with nscd with 2.0 kernels.
4036 * INSTALL: Regenerated.
4037
be08eda5
AJ
40382012-05-23 Andreas Jaeger <aj@suse.de>
4039
4040 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4041 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4042 macro.
4043 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4044 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4045 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4046 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4047 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4048 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4049 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4050 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4052 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4053 * sysdeps/unix/sysv/linux/bits/in.h
4054 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4055
a6a056bb
RM
40562012-05-22 Roland McGrath <roland@hack.frob.com>
4057
4058 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4059 (PREPARE_VERSION): Just use assert instead, it will be elided
4060 under [NDEBUG] anyway.
4061
c9009328
L
40622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 * sysdeps/unix/sysv/linux/Makefile: Include
4065 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4066 (sysdep_routines): Remove sysctl.
c9009328
L
4067 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4068 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4069 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4070 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4071 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4072
73338355
AJ
40732012-05-22 Andreas Jaeger <aj@suse.de>
4074
4075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4076 that pseudo_end is just ret and the stack pointer is correct also
4077 for static library in error case.
4078
d44638b0
PP
40792012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4080
4081 [BZ #14122]
4082 * nss/nsswitch.c (defconfig_entries): New variable.
4083 (__nss_database_lookup): Don't leak defconfig entries.
4084 (nss_parse_service_list): Don't leak on error paths.
4085 (free_database_entries): New function.
4086 (free_defconfig): New function.
4087 (free_mem): Move common code to free_database_entries.
4088
31a39bd8
L
40892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4090
da0331a8
L
4091 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4092 Add arch_prctl.
4093 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4094
31a39bd8
L
4095 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4096 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4098 New macro.
4099 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4100 (INTERNAL_SYSCALL_TYPES): Likewise.
4101 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4102 (LOAD_REGS_TYPES_[1-6]): Likewise.
4103 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4104 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4105
45470df3
AZ
41062012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4107
4108 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4109 copysignl for GLIBC_2_0.
4110 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4111 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4113 logbl for GLIBC_2_0.
4114 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4115 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4116
98a61bcb
L
41172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4118
a4f6e481
L
4119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4120 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4121
f63d5db6
L
4122 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4123 Use "neg %eax".
4124
98a61bcb
L
4125 * time/mktime.c: Update copyright years.
4126
95770f14
PE
41272012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4128
6226efbd
PE
4129 mktime: merge comment-quoting-style change from gnulib
4130 * time/mktime.c: Quote 'like this' in comments.
4131 The GNU coding standards suggest that we no longer quote `like this',
4132 as "`" and "'" are typically rendered asymmetrically nowadays.
4133 The typical gnulib style is to quote 'like this' when quoting
4134 code, and "like this" when quoting English.
4135
b99e4f78
PE
4136 * time/mktime.c (compile-command): Add "-I.".
4137
643e01e6
PE
4138 mktime: merge mktime-internal.h change from gnulib
4139 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4140
2554247d
PE
4141 mktime: merge time_r change from gnulib
4142 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4143
826dd0ab
PE
4144 mktime: merge DEBUG change from gnulib
4145 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4146 case system <time.h> has a #define.
4147
bd83aabe
PE
4148 mktime: merge <sys/types.h> change from gnulib
4149 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4150 since <time.t> is now guaranteed to define time_t.
4151
95770f14
PE
4152 mktime: merge HAVE_CONFIG_H change from gnulib
4153 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4154
5e1a27a9
L
41552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4156
0e44a77e
L
4157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4158 Use "neg %eax".
4159
5e1a27a9
L
4160 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4161 __rlim_t cast.
4162 (struct rusage): Use anonymous union to pad each field to
4163 __syscall_slong_t.
4164
46259bec
DM
41652012-05-21 David S. Miller <davem@davemloft.net>
4166
4167 * Makefules (o-iterator): Remove .s cases.
4168 (compile-command.s): Delete.
4169 (COMPILE.s): Delete.
4170 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4171
59f0c22e
JM
41722012-05-21 Joseph Myers <joseph@codesourcery.com>
4173
4174 * configure.in (libc_cv_predef_stack_protector): Only consider
4175 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4176 * configure: Regenerated.
4177
20c07380
L
41782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4179
bbb3154b
L
4180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4181 New macro. Use R*LP on int and pointer.
4182 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4183 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4184 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4185 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4186
20c07380
L
4187 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4188 [__WORDSIZE_TIME64_COMPAT32] instead of
4189 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4190 (struct utmp): Likewise.
4191 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4192 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4193 Renamed to ...
4194 (__WORDSIZE_TIME64_COMPAT32): This.
4195 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4196 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4197 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4198 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4199 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4200 (__WORDSIZE_TIME64_COMPAT32): New macro.
4201
d8d1017e
AJ
42022012-05-21 Andreas Jaeger <aj@suse.de>
4203
4204 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4205 only if [SHARED]. Add prototype for __wcschr_ia32.
4206
6c7fb145
RM
42072012-05-21 Roland McGrath <roland@hack.frob.com>
4208
4209 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4210 of %rbp unmolested in the jmp_buf while mangling the low bits.
4211 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4212 unmolested high bits of %rbp while demangling the low bits.
4213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4214
66274218
AJ
42152012-05-21 Andreas Jaeger <aj@suse.de>
4216
07c58f8f
AJ
4217 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4218 * sunrpc/svc_simple.c: Use it for registerrpc.
4219 * sunrpc/xcrypt.c: Use it for passwd2des.
4220
66274218
AJ
4221 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4222
61f65140
L
42232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4226 Don't define if [__SYSCALL_WORDSIZE != 32].
4227 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4228 New macro.
4229
5fefb436
AJ
42302012-05-21 Bruno Haible <bruno@clisp.org>
4231 Andreas Jaeger <aj@suse.de>
4232
4233 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4234 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4235 inptr and inend for must_buffer_ch.
4236 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4237 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4238 * stdio-common/Makefile (tests): Remove bug15.
4239 (bug15-ENV): Remove macro.
4240 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4241 anymore.
4242
d8e272ab
AJ
42432012-05-19 Andreas Jaeger <aj@suse.de>
4244 Roland McGrath <roland@hack.frob.com>
4245
4246 * manual/contrib.texi: Completely rewritten. It contains now an
4247 alphabetical list of contributors and their contributions.
4248
4a56a162
RH
42492012-05-21 Richard Henderson <rth@twiddle.net>
4250
4251 * misc/getauxval.c (__getauxval): Use unsigned long int.
4252 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4253 (getauxval): Use unsigned long int.
4254
d024d23c
L
42552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4256
4257 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4258
cbc00a03
RM
42592012-05-21 Roland McGrath <roland@hack.frob.com>
4260
4261 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4262 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4263 __alignof__ (long double).
4264
478143fa
AZ
42652012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4266
4267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4268
c7683a6d
RH
42692012-05-20 Richard Henderson <rth@twiddle.net>
4270
4271 * misc/getauxval.c: New file.
4272 * misc/sys/auxv.h: New file.
4273 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4274 (routines): Add getauxval.
4275 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4276 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4277 * elf/dl-sysdep.c (_dl_auxv): Remove.
4278 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4279 * elf/dl-support.c (_dl_auxv): New variable.
4280 (_dl_aux_init): Initialize it.
4281 * manual/startup.texi (Auxiliary Vector): New node.
4282 * sysdeps/generic/bits/hwcap.h: New file.
4283 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4284 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4285 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4286 * sysdeps/sparc/sysdep.h: ... here. Include it.
4287 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4288 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4290 Update.
c7683a6d
RH
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4299
a6f1845d
AZ
43002012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4301
4302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4303
cbcbe830
DM
43042012-05-19 David S. Miller <davem@davemloft.net>
4305
4306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4307
e0b16cc2
JM
43082012-05-19 Joseph Myers <joseph@codesourcery.com>
4309
4310 [BZ #14123]
4311 * math/s_ccosh.c: Include <float.h>
4312 (__ccosh): Avoid internal overflow calculating sinh and cosh
4313 values before multiplying by sin and cos values.
4314 * math/s_ccoshf.c: Likewise.
4315 * math/s_ccoshl.c: Likewise.
4316 * math/s_csin.c: Likewise.
4317 * math/s_csinf.c: Likewise.
4318 * math/s_csinl.c: Likewise.
4319 * math/s_csinh.c: Likewise.
4320 * math/s_csinhf.c: Likewise.
4321 * math/s_csinhl.c: Likewise.
4322 * math/libm-test.inc (ccos_test): Add more tests.
4323 (ccosh_test): Likewise.
4324 (csin_test): Likewise.
4325 (csinh_test): Likewise.
4326 * sysdeps/i386/fpu/libm-test-ulps: Update.
4327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4328
6ad13e08
L
43292012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4330
f66f0ce8
L
4331 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4332 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4333
6ad13e08
L
4334 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4335
b1d072a7
JM
43362012-05-19 Joseph Myers <joseph@codesourcery.com>
4337
4338 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4339 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4340 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4341 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4342 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4343 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4344 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4345 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4346 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4347 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4348 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4349 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4350 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4351 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4352 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4353 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4354 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4355 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4356 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4357 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4358 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4359 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4360 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4361 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4362 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4363 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4364 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4365 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4366 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4367 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4368 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4369
9eae47cb
AJ
43702012-05-18 Andreas Jaeger <aj@suse.de>
4371
4372 * csu/.gitignore: Delete.
4373
bb07f69f
L
43742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4375
4376 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4377 (timex): Use __syscall_slong_t.
4378
e6bdb741
AJ
43792012-05-18 Andreas Jaeger <aj@suse.de>
4380 Carlos O'Donell <carlos_odonell@mentor.com>
4381
4382 * manual/install.texi (Configuring and compiling): Update
4383 description about files modified in the source directory.
d6c33fda 4384 * INSTALL: Regenerated.
e6bdb741 4385
1b74487e
L
43862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4387
4388 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4389 value. Use "or" to set return value to -1.
4390 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4391 negate return value.
4392
a88b64b9
TMQMF
43932012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4394
4395 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4396 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4397 failure if the compiler has Graphite support disabled.
4398 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4399 Likewise.
4400 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4401 CFLAGS-memmove.c): Likewise.
4402 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4403 Likewise.
4404
3707636e
L
44052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4406
610b8622
L
4407 * sysdeps/x86_64/x32/_itoa.h: New file.
4408
7cd195df
L
4409 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4410 getdents system call only if kernel and user dirents have the
4411 same d_ino and d_off.
4412
94b07d20
L
4413 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4414 LLONG_MAX != LONG_MAX.
4415 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4416 (_fitoa_word): Likewise.
4417
18298070
L
4418 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4419 years.
4420 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4421 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4422 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4423
553c7ea4
L
4424 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4425 include <bits/wordsize.h>. Check __x86_64__ instead of
4426 __WORDSIZE.
4427 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4428 if __x86_64__ is defined. Use anonymous union on fpstate.
4429
3707636e
L
4430 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4431 anonymous union.
4432
b53ef01a
AS
44332012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4434
37fb1dc0
AS
4435 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4436 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4437 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4438 Refer to _rtld_local_ro instead of _rtld_global_ro.
4439 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4440 Likewise.
4441 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4442 Likewise.
4443 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4444 Likewise.
4445 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4446 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4447 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4448
b53ef01a
AS
4449 * sysdeps/powerpc/powerpc32/dl-machine.c
4450 (__elf_machine_runtime_setup) [PROF]: Don't reference
4451 _dl_prof_resolve.
4452
7a185db2
AJ
44532012-05-18 Andreas Jaeger <aj@suse.de>
4454
4455 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4456 function only available for GCCs before 3.4 since GCC 3.4
4457 introduced a builtin.
4458 (lrint): Likewise.
4459 (llrintf): Likewise.
4460 (llrint): Likewise.
4461 (fmaxf): Likewise.
4462 (fmax): Likewise.
4463 (fminf): Likewise.
4464 (fmin): Likewise.
4465 (rint): Likewise.
4466 (rintf): Likewise.
4467 (nearbyint): Likewise.
4468 (nearbyintf): Likewise.
4469 (ceil): Likewise.
4470 (ceilf): Likewise.
4471 (floor): Likewise.
4472 (floorf): Likewise.
4473
3e5aef87
L
44742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4475
428bd707
L
4476 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4477 on both fields and cast pointer to __syscall_ulong_t.
4478
3e5aef87
L
4479 * bits/types.h (__fsword_t): New type.
4480 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4481 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4483 (__FSWORD_T_TYPE): Likewise.
4484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4485 (__FSWORD_T_TYPE): Likewise.
4486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4487 (__FSWORD_T_TYPE): Likewise.
4488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4489 (__FSWORD_T_TYPE): Likewise.
4490 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4491 __SWORD_TYPE with __fsword_t.
4492 (statfs64): Likewise.
4493
1ba7c3dc
DM
44942012-05-17 David S. Miller <davem@davemloft.net>
4495
4496 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4497
59910343
AJ
44982012-05-17 Andreas Jaeger <aj@suse.de>
4499
4500 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4501 warning.
4502
2e4c1e9e
L
45032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4504
4505 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4506
de7f5ce7
AJ
45072012-05-17 Andreas Jaeger <aj@suse.de>
4508
4509 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4510 when it is used.
4511
286abc3d
CM
45122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4513
4514 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4515
477cc68e
L
45162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4517
4518 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4519 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4520
1a0994f5
CD
45212012-05-17 Andreas Jaeger <aj@suse.de>
4522 Carlos O'Donell <carlos_odonell@mentor.com>
4523
4524 [BZ #14059]
4525 * sysdeps/x86_64/multiarch/init-arch.h
4526 (bit_YMM_Usable): Rename to...
4527 (bit_AVX_Usable): ... this.
4528 (bit_FMA4_Usable): New macro.
4529 (bit_XMM_state): New macro.
4530 (bit_YMM_state): New macro.
4531 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4532 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4533 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4534 (CPUID_OSXSAVE): New macro.
4535 (CPUID_AVX): New macro.
4536 (CPUID_FMA4): New macro.
4537 (index_YMM_Usable): Rename to...
4538 (index_AVX_Usable): ... this.
4539 (HAS_AVX): Use HAS_ARCH_FEATURE.
4540 (HAS_FMA4): Likewise.
4541 (HAS_YMM_USABLE): Remove.
4542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4543 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4544 are present.
4545 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4546 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4547 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4548 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4549 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4550
0af797de
CM
45512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4552
4553 * math/libm-test.c: Support platforms without multiple rounding modes.
4554 * math/bug-nextafter.c: Support platforms without FP exceptions.
4555 * math/bug-nexttoward.c: Likewise.
4556 * math/test-fenv.c: Likewise.
4557 * math/test-misc.c: Likewise.
4558 * stdlib/bug-getcontext.c: Likewise.
4559
e39745ff
AJ
45602012-05-17 Andreas Jaeger <aj@suse.de>
4561
4562 * manual/examples/search.c (critter_cmp): Change signature to
4563 avoid warnings.
4564 * manual/string.texi (Collation Functions): Likewise.
4565
48970aba
L
45662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4567
4568 * bits/types.h: Fold copyright years.
4569 * bits/typesizes.h: Likewise.
4570 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4574 * time/time.h: Likewise.
4575
bedee953
PP
45762012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4577
4578 [BZ #208]
4579 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4580 in instead of returning them. Return void.
4581 (__libc_mallinfo): Accumulate over all arenas.
4582 (__malloc_stats): Adjust for change in int_mallinfo interface.
4583
61653dfb
RM
45842012-05-16 Roland McGrath <roland@hack.frob.com>
4585
30b99d79
RM
4586 [BZ #10375]
4587 * configure.in (NM): Add AC_CHECK_TOOL for it.
4588 (libc_extra_cflags): New substituted variable.
4589 Check for -fstack-protector being used implicitly.
4590 * configure: Regenerated.
4591 * config.make.in (config-extra-cflags): New variable,
4592 gets @libc_extra_cflags@.
4593 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4594
61653dfb
RM
4595 [BZ #10375]
4596 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4597 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4598 * configure: Regenerated.
4599 * config.make.in (CPPUNDEFS): New substituted variable.
4600 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4601 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4602 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4603
661768bb
L
46042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4605
4606 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4607 (mq_attr): Use __syscall_slong_t.
4608
d4261567
L
46092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4610
4611 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4612 Check __x86_64__ instead of __WORDSIZE.
4613 (_STAT_VER_LINUX): Likewise.
4614 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4615 __syscall_ulong_t and __syscall_slong_t.
4616 (stat64): Likewise.
4617
cf3ff365
L
46182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4621
76cf3e4d
L
46222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4623
4624 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4625
a637753a
L
46262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4627
4628 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4629 __syscall_ulong_t.
4630
d5e05119
L
4631 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4632 include <bits/wordsize.h>. Check __x86_64__ instead of
4633 __WORDSIZE.
4634 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4635 defined.
4636 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4637
f62ee380
L
4638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4639 include <bits/wordsize.h>. Check __x86_64__ instead of
4640 __WORDSIZE.
4641 (user_regs_struct): Use "__extension__ unsigned long long"
4642 instead of "unsigned long" if __x86_64__ is defined.
4643 (user): Likewise. Pad after pointer field if __ILP32__ is
4644 defined.
4645
4e124ced
JM
46462012-05-16 Joseph Myers <joseph@codesourcery.com>
4647
6a3951a0
JM
4648 * configure.in (makeinfo): Require version 4.5 or later. Allow
4649 versions 5 to 9.
4650 * configure: Regenerated.
4651 * manual/install.texi (texinfo): Increase version requirement to
4652 4.5 or later.
4653 * INSTALL: Regenerated.
4654
4e124ced
JM
4655 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4656
953ca31a
L
46572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4658
4659 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4660
617aca05
L
4661 * sysdeps/x86_64/x32/ffs.c: New file.
4662
5762f7ae
L
4663 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4664 __syscall_ulong_t.
4665 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4666 defined. Use __syscall_ulong_t.
4667 (shminfo): Use __syscall_ulong_t.
4668 (shm_info): Likewise.
4669
a26b6856
L
4670 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4671 __syscall_ulong_t.
4672
cb2b9ef7
L
4673 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4674 <bits/wordsize.h>.
4675 (msgqnum_t): Use __syscall_ulong_t.
4676 (msglen_t): Likewise.
4677 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4678 __syscall_ulong_t.
4679
34683bb0
L
4680 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4681 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4682
84a68786
L
4683 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4684
48baa5f1
L
4685 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4686 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4687
180be88b
L
4688 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4689 __syscall_slong_t.
4690
5e90c8ad
L
4691 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4692 include <bits/wordsize.h>. Check __x86_64__ instead of
4693 __WORDSIZE.
4694
23dfb58b
L
4695 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4696 "unsigned long long int" if __x86_64__ is defined.
4697 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4698
ce5d54b0
L
4699 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4700 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4701 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4702
13dc9eac
L
4703 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4704 <stdint.h>.
4705 (GET_PC): Cast to uintptr_t first.
4706 (GET_FRAME): Likewise.
4707 (GET_STACK): Likewise.
4708
a7895d15
L
4709 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4710 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4711 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4713 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4715 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4716 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4717 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4720 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4722 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4723 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4724 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4725 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4726 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4727 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4728 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4729 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4730 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4731 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4732 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4733 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4734 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4737 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4738
656416c9
AS
47392012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4740
5bd66283
AS
4741 * Makerules (+depfiles): Also collect depfiles from .oS in
4742 $(extra-objs).
4743 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4744 .oS, $(libnldbl-routines)).
4745
656416c9
AS
4746 * Makerules (native-compile-mkdep-flags): Define.
4747 * sunrpc/Makefile (extra-objs): Add $(addprefix
4748 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4749 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4750 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4751 calling $(make-target-directory).
4752
a46f2169
L
47532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4754
4755 * bits/types.h (__snseconds_t): Removed.
4756 * time/time.h (struct timespec): Replace __snseconds_t with
4757 __syscall_slong_t.
4758 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4759 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4760 Likewise.
4761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4762 (__SNSECONDS_T_TYPE): Likewise.
4763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4764 (__SNSECONDS_T_TYPE): Likewise.
4765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4766 (__SNSECONDS_T_TYPE): Likewise.
4767
6af6528b
L
47682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 * sysdeps/mach/hurd/bits/typesizes.h
4771 (__SYSCALL_SLONG_TYPE): New macro.
4772 (__SYSCALL_ULONG_TYPE): Likewise.
4773
de986b56
L
47742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4775
4776 * bits/types.h (__syscall_slong_t): New type.
4777 (__syscall_ulong_t): Likewise.
4778
4779 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4780 (__SYSCALL_ULONG_TYPE): Likewise.
4781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4782 (__SYSCALL_SLONG_TYPE): Likewise.
4783 (__SYSCALL_ULONG_TYPE): Likewise.
4784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4785 (__SYSCALL_SLONG_TYPE): Likewise.
4786 (__SYSCALL_ULONG_TYPE): Likewise.
4787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4788 (__SYSCALL_SLONG_TYPE): Likewise.
4789 (__SYSCALL_ULONG_TYPE): Likewise.
4790
85736dc7
L
47912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4792
4793 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4794 Add sigaltstack-offsets.sym.
4795 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4796 <sigaltstack-offsets.h>.
4797 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4798 longjmp_msg pointer.
4799 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4800 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4801 signal stack.
4802 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4803
cc03b296
JM
48042012-05-15 Joseph Myers <joseph@codesourcery.com>
4805
a9538892
JM
4806 * elf/stackguard-macros.h: Remove file.
4807 * sysdeps/generic/stackguard-macros.h: New file.
4808 * sysdeps/i386/stackguard-macros.h: Likewise.
4809 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4810 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4811 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4812 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4813 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4814 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4815 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4816 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4817 <elf/stackguard-macros.h>.
4818
cc03b296
JM
4819 [BZ #14109]
4820 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4821 __aligned__ in attribute.
4822 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4823 (gregset_t): Likewise.
4824
93171016
L
48252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4826
4827 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4828 * sysdeps/x86_64/64/Implies-after: Here. New file.
4829 * sysdeps/x86_64/x32/Implies-after: New file.
4830
d86813a0
L
48312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4832
4833 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4834 and access return value for _dl_profile_fixup. Use R10_LP to
4835 load frame size.
4836
2953ec75
L
48372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4840
3b550e9e
L
48412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4842
4843 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4844 * sysdeps/x86_64/x32/sysdep.h: New file.
4845
eda41706
L
48462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4847
4848 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4849 * sysdeps/x86_64/setjmp.S: Likewise.
4850
9ea01d93
AZ
48512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4852
4853 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4854 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4855 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4856 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4857 remove unused global constant.
4858
02a91938
CM
48592012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4860
4861 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4862 include of <not-cancel.h>.
4863
6540185f
RM
48642012-05-15 Roland McGrath <roland@hack.frob.com>
4865
4866 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4867
509072a0
AJ
48682012-05-15 Jeff Law <law@redhat.com>
4869 Andreas Jaeger <aj@suse.de>
4870
4871 [BZ #13594]
4872 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4873 out from...
4874 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4875 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4876 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4877 code changing __hst_map_handle.map.
4878
ba75122d
RM
48792012-05-15 Roland McGrath <roland@hack.frob.com>
4880
4881 * configure.in (sysnames): Look for Implies-before and Implies-after
4882 files.
4883 * configure: Regenerated.
4884
890d8bd8
L
48852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4888 8-byte data alignment with LP_SIZE alignment.
4889
f6ee6623
L
48902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4891
4892 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4893 into R10_LP.
4894
ea2626f6
L
48952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4896
4897 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4898
085f715e
L
48992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4900
4901 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4902 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4904 Likewise.
4905 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4906
be8498fc
L
49072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4908
4909 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4910 (stackinfo_sub_sp): Likewise.
4911
70bc83b9
L
49122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4913
4914 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4915 RAX_LP.
4916
9bc0b730
L
49172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4918
4919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4920 into R*_LP.
4921
6d2850e7
L
49222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4923
4924 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4925 sizes into R*_LP.
4926
3cb84561
L
49272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4928
4929 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4930
54e2ed81
L
49312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4932
4933 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4934 into R11_LP and load __x86_64_shared_cache_size_half into
4935 R8_LP.
4936
8a17f349
L
49372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4938
4939 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4940 R8_LP.
4941
777b1eea
AZ
49422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943
4944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4945 logb for POWER7.
4946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4947 logbf for POWER7.
4948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4949 logbl for POWER7.
4950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4951 powerpc32/power7/fpu/s_logb.c via #include.
4952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4953 powerpc32/power7/fpu/s_logbf.c via #include.
4954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4955 powerpc32/power7/fpu/s_logbl.c via #include.
4956
d20d4ac2
JM
49572012-05-15 Joseph Myers <joseph@codesourcery.com>
4958
4959 * README.libm: Remove file.
4960
6cdef1ab
L
49612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4962
4963 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4964 count for x32. Use R*_LP and omit operand-size suffix.
4965
0b254d8f
L
49662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4967
4968 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4969 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4970 * sysdeps/x86_64/x32/shlib-versions: New file.
4971
ceb809dc
RM
49722012-05-14 Roland McGrath <roland@hack.frob.com>
4973
4974 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4975 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4976 Use _dl_fatal_printf instead.
4977
37f1abd4
JM
49782012-05-14 Joseph Myers <joseph@codesourcery.com>
4979
4980 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4981 set if not set by the user. Do not allow for being unset.
4982 * sysdeps/unix/sysv/linux/configure: Regenerated.
4983
11de3a33
L
49842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4985
4986 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4987 the `q' suffix from lea and replace .quad with ASM_ADDR.
4988
e02f153a
L
49892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4990
4991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4992 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4993 instead of $17.
4994 (PTR_DEMANGLE): Likewise.
4995
520ae0fd
L
49962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4997
4998 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4999 (LP_OP): Likewise.
5000 (ASM_ADDR): Likewise.
5001 (RAX_LP): Likewise.
5002 (RBP_LP): Likewise.
5003 (RBX_LP): Likewise.
5004 (RCX_LP): Likewise.
5005 (RDI_LP): Likewise.
5006 (RSI_LP): Likewise.
5007 (RSP_LP): Likewise.
5008 (R8_LP): Likewise.
5009 (R9_LP): Likewise.
5010 (R10_LP): Likewise.
5011 (R10_LP): Likewise.
5012 (R11_LP): Likewise.
5013 (R12_LP): Likewise.
5014 (R13_LP): Likewise.
5015 (R14_LP): Likewise.
5016 (R15_LP): Likewise.
5017
b985be81
L
50182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5019
5020 * sysdeps/x86_64/x32/dl-machine.h: New file.
5021
6a4888ff
AJ
50222012-05-14 Andreas Jaeger <aj@suse.de>
5023
5024 * manual/Makefile (subdir): Remove export of subdir.
5025 (all): Remove target.
5026 (.PHONY): Remove all from list.
5027 (mkinstalldirs): Remove.
5028 (.PHONY): Remove installdirs from list.
5029 ($(inst_infodir)/libc.info): Use make-target-directory.
5030 (installdirs): Remove.
5031 (subdir_%): Remove.
5032 (glibc-targets): Remove.
5033 (lib): Remove.
5034 (stubs): Remove.
5035 ($(objpfx)stubs ../po/manual.pot): Remove.
5036 ($(objpfx)stamp%): Remove.
5037 (make-target-directory): Remove.
5038 (subdir_install): Remove.
5039 (routines): Remove.
5040 (aux): Remove.
5041 (sources): Remove.
5042 (objects): Remove.
5043 (headers): Remove.
5044
5045 [BZ #13750]
5046 * manual/.gitignore: Remove, it's not needed anymore.
5047 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5048 all files in it.
5049 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5050 directory.
5051 (texis): Renamed to $(objpfx)texis.
5052 (texis-path): New, contains path to generated files.
5053 (chapters.%): Use texis-path for complete path, add extra argument
5054 libc-texinfo.sh.
5055 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5056 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5057 (summary,texi, stamp-summary): Use complete path of
5058 files. Generate files in build dir.
5059 (dir-add.texi): Build in build dir.
5060 (libm-err.texi,stamp-libm-err): Likewise.
5061 (version.texi, stamp-version): Likewise.
5062 (.%c.texi): Likewise.
5063 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5064 (mostlyclean): Remove target.
5065 (realclean): Remove target.
5066 (generated): Add new variable with contents from mostlyclean and
5067 realclean, remove entries duplicated in common-mostlyclean, add
5068 stamp-libm-err and stamp-version.
5069 (generated-dirs): Add libc directory.
5070 ($(inst_infodir)/libc.info): Install files from build dir.
5071
5072 * manual/install.texi (Configuring and compiling): Adjust since
5073 the info files are not part of the tar ball anymore.
5074
7ac77294
AJ
50752012-05-14 Andreas Jaeger <aj@suse.de>
5076
5077 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5078 variable.
5079
ffb7875d
JM
50802012-05-14 Joseph Myers <joseph@codesourcery.com>
5081
5082 [BZ #13717]
5083 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5084 to 2.2.0 where earlier.
5085 * sysdeps/unix/sysv/linux/configure: Regenerated.
5086 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5087 Remove conditional code.
5088 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5089 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5090 Remove conditional code.
5091 [!__NR_lchown]: Likewise.
5092 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5093 [__NR_lchown]: Likewise.
5094 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5095 comment referencing __ASSUME_LCHOWN_SYSCALL.
5096 * sysdeps/unix/sysv/linux/i386/sigaction.c
5097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5099 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5100 Remove conditional code.
5101 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5102 (__protocol_available): Remove #if 0 code.
5103 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5104 conditional code.
5105 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5106 * sysdeps/unix/sysv/linux/kernel-features.h
5107 (__ASSUME_GETCWD_SYSCALL): Don't define.
5108 (__ASSUME_REALTIME_SIGNALS): Likewise.
5109 (__ASSUME_PREAD_SYSCALL): Likewise.
5110 (__ASSUME_PWRITE_SYSCALL): Likewise.
5111 (__ASSUME_POLL_SYSCALL): Likewise.
5112 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5113 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5114 non-SPARC.
5115 (__ASSUME_SIOCGIFNAME): Don't define.
5116 (__ASSUME_MSG_NOSIGNAL): Likewise.
5117 (__ASSUME_SENDFILE): Define unconditionally.
5118 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5119 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5120 conditional code.
5121 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5122 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5123 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5124 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5125 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5126 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5127 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5129 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5132 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5135 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5138 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5141 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5144 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5150 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5152 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5153 Remove conditional code.
5154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5155 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5156 Remove conditional code.
5157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5158 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5159 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5160 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5161 Remove conditional code.
5162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5163 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5164 Remove conditional code.
5165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5166 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5167 Remove conditional code.
5168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5169 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5170 Remove conditional code.
5171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5172 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5173 Remove conditional code.
5174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5175 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5176 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5178 * sysdeps/unix/sysv/linux/sigaction.c
5179 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5180 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5181 * sysdeps/unix/sysv/linux/sigpending.c
5182 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5183 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5184 * sysdeps/unix/sysv/linux/sigprocmask.c
5185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5187 * sysdeps/unix/sysv/linux/sigsuspend.c
5188 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5189 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5190 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5191 (__libc_missing_rt_sigs): Remove.
5192 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5193 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5194 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5195 Remove conditional code.
5196 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5197 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5198 return 1.
5199 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5200 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5201 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5202 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5203
1bfb7291
AJ
52042012-05-14 Andreas Jaeger <aj@suse.de>
5205
caae5a81
AJ
5206 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5207 it's not used in glibc.
5208 (__coshm1): Likewise.
5209 (__acosh1p): Likewise.
5210 (__sgn): Likewise.
5211
1bfb7291
AJ
5212 * manual/string.texi (Copying and Concatenation): Add missing
5213 variable in concat example.
5214 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5215
c044d724
L
52162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5217
144c5467 5218 [BZ #14103]
c044d724
L
5219 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5220 __builtin_clzl with __builtin_clzll.
5221
2523c62b
L
52222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5223
5224 [BZ #14104]
5225 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5226 libc_freeres_ptr.
5227
d7bb4c42
LD
52282012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5229
5230 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5231 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5232 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5233 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5234
9dc4e1fb
MF
52352012-05-14 Mike Frysinger <vapier@gentoo.org>
5236
5237 * NEWS: Update ia64 info.
5238
c7df0112
AS
52392012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5240
5241 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5242 used as bcopy.
5243
dc70356c
TS
52442012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5245
5246 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5247 * sysdeps/unix/syscalls.list (dup3): Likewise.
5248 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5249 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5250
9fb1a21f
L
52512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5252
5253 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5254 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5255
4822a2a5
L
52562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5257
5258 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5259 thread pointer.
5260 (TLS_IE): Use mov/add instead of movq/addq to load thread
5261 pointer.
5262 (TLS_GD_PREFIX): New.
5263 (TLS_GD): Use it.
5264
842b81d6
DM
52652012-05-11 David S. Miller <davem@davemloft.net>
5266
5267 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5268 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5269 (_FPU_SETCW): Likewise.
5270
1cf463cd
L
52712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5272
5273 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5274 is 32-byte aligned.
5275
60cc4a18
AS
52762012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5277
5278 [BZ #11837]
5279 * iconvdata/gb18030.c: Update tables.
5280 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5281 characters specially.
5282 (BODY for TO_LOOP): Add encoding of missing ranges.
5283
febb44a4
TS
52842012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5285
5286 [BZ #13673]
5287 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5288 * sysdeps/mach/hurd/dup3.c: Likewise.
5289 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5290 * sysdeps/powerpc/memmove.c:: Likewise.
5291
0a10fb9e
L
52922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5293
5294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5295 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5296
df8a552f
L
52972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5298
5299 * elf/elf.h (R_X86_64_RELATIVE64): New.
5300 (R_X86_64_NUM): Updated.
5301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5302 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5303 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5304 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5305 tst-quad1pie tst-quad2pie
5306 (modules-names): Add tst-quadmod1 tst-quadmod2.
5307 ($(objpfx)tst-quad1): New dependency.
5308 ($(objpfx)tst-quad2): Likewise.
5309 ($(objpfx)tst-quad1pie): Likewise.
5310 ($(objpfx)tst-quad2pie): Likewise.
5311 * sysdeps/x86_64/tst-quad1.c: New file.
5312 * sysdeps/x86_64/tst-quad1pie.c: New file.
5313 * sysdeps/x86_64/tst-quad2.c: Likewise.
5314 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5315 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5316 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5317 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5318 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5319
f34d6f84
ST
53202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5321
f42d41d1
ST
5322 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5323 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5324 * streams/stropts.h (t_scalar_t): Define type.
5325
3c3571fc
ST
5326 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5327 (_PATH_PRESERVE): Set to "/var/lib".
5328 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5329
61f06bd3
ST
5330 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5331 instead of int.
5332
918d4d71
ST
5333 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5334 if __dir_mkfile succeeded.
5335
f34d6f84
ST
5336 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5337 checking for _hurd_dtablesize. Unlock it right after having
5338 finished _hurd_dtable allocation.
5339
10589b4a
TS
53402012-05-10 Thomas Schwinge <thomas@schwinge.name>
5341
674cdbc7
TS
5342 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5343 * sysdeps/mach/hurd/configure: Regenerated.
5344 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5345 special-casing to...
5346 * sysdeps/gnu/configure.in: ... this new file.
5347 * sysdeps/unix/sysv/linux/configure: Regenerated.
5348 * sysdeps/gnu/configure: New generated file.
5349
8e41b99f
TS
5350 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5351 for Linux: use nsec instead of usec, as well as:
5352 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5353 members of type struct timespec.
5354 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5355 New macros.
5356 (struct stat64): Likewise.
5357 (_STATBUF_ST_NSEC): New macro.
5358 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5359
10589b4a
TS
5360 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5361 __strtoul_internal rather than strtoul.
5362
63643c85
PT
53632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5364
5365 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5366 and reject them.
5367
3faebe6a
ST
53682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5369
5370 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5371 which preserves existing values.
5372 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5373
c6474b07
PT
53742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5375
5376 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5377 TIMEOUT values. Return EINVAL for NFDS values either negative or
5378 greater than FD_SETSIZE.
5379
1043890b
ST
53802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5381
5382 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5383 allocated, call __vm_protect to finish enabling the existing space, and
5384 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5385 allocate the remainder.
5386
37ed8b9b
PT
53872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5388
5389 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5390 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5391
db653660
ST
53922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5393
37ed8b9b
PT
5394 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5395 sysdeps/mach/hurd/readlink.c.
b29d4053 5396
db653660
ST
5397 * posix/tst-sysconf.c (posix_options): Only use
5398 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5399 _POSIX_SYNCHRONIZED_IO when they are defined
5400 * sysdeps/mach/hurd/bits/posix_opt.h:
5401 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5402 (_XOPEN_REALTIME): Undefine macro.
5403 (_XOPEN_REALTIME_THREADS): Undefine macro.
5404 (_XOPEN_SHM): Undefine macro.
5405 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5406 macro to -1.
5407 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5408 macro to -1.
5409 (_POSIX_ASYNC_IO): Undefine macro.
5410 (_POSIX_PRIORITIZED_IO): Undefine macro.
5411 (_POSIX_SPIN_LOCKS): Define macro to -1.
5412
ee16e894
ST
5413 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5414 SA_NODEFER, SA_RESETHAND.
5415 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5416 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5417 F_DUPFD_CLOEXEC.
5418
6103ae3b
TS
54192012-05-10 Thomas Schwinge <thomas@schwinge.name>
5420
5421 * elf/Makefile (pldd-modules): Define unconditionally.
5422
80b4e5f3
TS
54232012-05-10 Thomas Schwinge <thomas@schwinge.name>
5424
5425 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5426
edadcbd6
ST
54272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5428
5429 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5430 Return ENOENT when name is empty.
5431 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5432
80694780
TS
54332012-05-10 Thomas Schwinge <thomas@schwinge.name>
5434
1792c087
TS
5435 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5436
80694780
TS
5437 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5438
6b645f0d
ST
54392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5440
80694780
TS
5441 Fix mlock in all cases except non-readable pages.
5442 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5443 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5444
6b645f0d
ST
5445 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5446 (__mkdir): When path is `/', just fail with EEXIST.
5447 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5448
e468f8a3
TS
54492012-05-10 Thomas Schwinge <thomas@schwinge.name>
5450
5451 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5452 <sys/uio.h> (for writev).
5453 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5454 and <sys/param.h> (for MIN).
5455
a4186cff
PT
54562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5457
5458 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5459 REQUESTED_TIME. Properly set the remaining time and return EINTR
5460 if interrupted.
5461
510bbf14
TS
54622012-05-10 Thomas Schwinge <thomas@schwinge.name>
5463
5464 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5465 Depend on against $(link-rpcuserlibs).
5466
5d5722e8
ST
54672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5468
a4186cff
PT
5469 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5470 (__libc_stack_end): Do not use attribute_relro.
5471 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5472 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5473 to libthread-provided value.
a4186cff
PT
5474 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5475 attribute_relro.
5d5722e8 5476
37233df9
TS
54772012-05-10 Thomas Schwinge <thomas@schwinge.name>
5478
be971a2b
TS
5479 [BZ #3748]
5480 * bits/libc-lock.h (__libc_once_get): New macro.
5481 * sysdeps/mach/bits/libc-lock.h: Likewise.
5482 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5483 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5484 instead of using implementation details.
5485
37233df9
TS
5486 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5487 * libio/freopen.c: Likewise.
5488 * libio/freopen64.c: Likewise.
5489 * misc/syslog.c: Likewise.
5490 * nscd/connections.c: Likewise.
5491 * nscd/netgroupcache.c: Likewise.
5492 * sysdeps/posix/getcwd.c: Likewise.
5493
38de94a5
RM
54942012-05-10 Roland McGrath <roland@hack.frob.com>
5495
5496 * math/w_ilogbf.c: Add #include <limits.h>.
5497
67530489
ST
54982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5499
a4186cff 5500 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5501 path instead of returning without unlocking.
5502
67530489
ST
5503 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5504 immediate-write ioctls.
5505 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5506
5aa3a74a
TS
55072012-05-10 Thomas Schwinge <thomas@schwinge.name>
5508
18bad2ae
TS
5509 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5510 __builtin_frame_address instead of making assumptions about the
5511 location of the return address relative to DATA. Force early load of
5512 the return address.
5513 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5514 __builtin_frame_address.
5515
5aa3a74a
TS
5516 dup3 for GNU Hurd.
5517 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5518 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5519 implement dup3 and do some further code clean-ups.
5520 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5521 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5522
ecd0de9a
ST
55232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5524
cd9fa985
ST
5525 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5526
a4186cff
PT
5527 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5528 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5529 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5530 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5531 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5532 d->port.lock.
802ca5a5 5533
a4186cff
PT
5534 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5535 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5536 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5537
bcf55240
TS
55382012-05-10 Thomas Schwinge <thomas@schwinge.name>
5539
6960eb42
TS
5540 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5541 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5542 definitions.
5543
eb43375f
TS
5544 accept4 for GNU Hurd.
5545 * include/sys/socket.h (__libc_accept4): New prototype.
5546 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5547 to implement __libc_accept4.
5548 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5549 __libc_accept4.
5550 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5551
bcf55240
TS
5552 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5553 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5554 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5555 signal-defines.sym.
5556
6178c55b
ST
55572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5558
a4186cff 5559 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5560
6f080c2f
TS
55612012-05-10 Thomas Schwinge <thomas@schwinge.name>
5562
5563 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5564 assertion on O_CLOEXEC flag.
5565 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5566 * hurd/intern-fd.c: Likewise.
5567 * hurd/port2fd.c: Likewise.
5568
bcfe3a54
ST
55692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5570
5571 [BZ #3906]
5572 * bits/in.h (IPV6_PKTINFO): Define new macro.
5573 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5574
89c9aa49
AZ
55752012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5576
5577 [BZ #13954]
5578 [BZ #13955]
5579 [BZ #13956]
5580 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5581 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5582 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5583 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5585 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5586 * math/libm-test.inc (logb_test) : Additional logb tests.
5587
021db4be
AJ
55882012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5589 Andreas Jaeger <aj@suse.de>
5590
5591 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5592 * configure: Regenerated.
5593 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5594 * config.make.in (link-obsolete-rpc): New substituted variable.
5595 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5596 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5597 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5598 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5599 so that libc.a contains the symbols.
5600 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5601 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5602 * sunrpc/auth_none.c: Likewise.
5603 * sunrpc/auth_unix.c: Likewise.
5604 * sunrpc/authdes_prot.c: Likewise.
5605 * sunrpc/authuxprot.c: Likewise.
5606 * sunrpc/clnt_gen.c: Likewise.
5607 * sunrpc/clnt_perr.c: Likewise.
5608 * sunrpc/clnt_raw.c: Likewise.
5609 * sunrpc/clnt_simp.c: Likewise.
5610 * sunrpc/clnt_tcp.c: Likewise.
5611 * sunrpc/clnt_udp.c: Likewise.
5612 * sunrpc/clnt_unix.c: Likewise.
5613 * sunrpc/des_crypt.c: Likewise.
5614 * sunrpc/des_soft.c: Likewise.
5615 * sunrpc/get_myaddr.c: Likewise.
5616 * sunrpc/key_call.c: Likewise.
5617 * sunrpc/key_prot.c: Likewise.
5618 * sunrpc/netname.c: Likewise.
5619 * sunrpc/pm_getmaps.c: Likewise.
5620 * sunrpc/pm_getport.c: Likewise.
5621 * sunrpc/pmap_clnt.c: Likewise.
5622 * sunrpc/pmap_prot.c: Likewise.
5623 * sunrpc/pmap_prot2.c: Likewise.
5624 * sunrpc/pmap_rmt.c: Likewise.
5625 * sunrpc/publickey.c: Likewise.
5626 * sunrpc/rpc_cmsg.c: Likewise.
5627 * sunrpc/rpc_common.c: Likewise.
5628 * sunrpc/rpc_dtable.c: Likewise.
5629 * sunrpc/rpc_prot.c: Likewise.
5630 * sunrpc/rpc_thread.c: Likewise.
5631 * sunrpc/rtime.c: Likewise.
5632 * sunrpc/svc.c: Likewise.
5633 * sunrpc/svc_auth.c: Likewise.
5634 * sunrpc/svc_raw.c: Likewise.
5635 * sunrpc/svc_run.c: Likewise.
5636 * sunrpc/svc_tcp.c: Likewise.
5637 * sunrpc/svc_udp.c: Likewise.
5638 * sunrpc/svc_unix.c: Likewise.
5639 * sunrpc/svcauth_des.c: Likewise.
5640 * sunrpc/xcrypt.c: Likewise.
5641 * sunrpc/xdr.c: Likewise.
5642 * sunrpc/xdr_array.c: Likewise.
5643 * sunrpc/xdr_float.c: Likewise.
5644 * sunrpc/xdr_intXX_t.c: Likewise.
5645 * sunrpc/xdr_mem.c: Likewise.
5646 * sunrpc/xdr_rec.c: Likewise.
5647 * sunrpc/xdr_ref.c: Likewise.
5648 * sunrpc/xdr_sizeof.c: Likewise.
5649 * sunrpc/xdr_stdio.c: Likewise.
5650
b5c086a2
RM
56512012-05-10 Roland McGrath <roland@hack.frob.com>
5652
5653 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5654 change. Update copyright years.
5655
6d74dd09
JM
56562012-05-10 Joseph Myers <joseph@codesourcery.com>
5657
5658 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5659
28e72501
MK
56602012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5661 Joseph Myers <joseph@codesourcery.com>
5662 Paul Pluzhnikov <ppluzhnikov@google.com>
5663
5664 [BZ #14012]
5665 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5666 requiring rpcgen.
5667 [cross-compiling] (extra-libs): Likewise.
5668 [cross-compiling] (extra-libs-others): Likewise.
5669 [cross-compiling] (librpcsvc-routines): Likewise.
5670 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5671 [cross-compiling] (omit-deps): Likewise.
5672 (sunrpc-CPPFLAGS): New variable.
5673 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5674 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5675 (cross-rpcgen-objs): New variable.
5676 (extra-objs): Append $(cross-rpcgen-objs).
5677 ($(cross-rpcgen-objs)): New rule.
5678 ($(objpfx)cross-rpcgen): Likewise.
5679 (rpcgen-cmd): Define to use $(built-program-file). Expand
5680 comment.
5681 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5682 ($(objpfx)x%.stmp): Likewise.
5683 * sunrpc/proto.h [IS_IN_build] (_): Define.
5684 [IS_IN_build] (_libc_intl_domainname): Likewise.
5685
c8c59454
L
56862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5687
5688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5689 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5690 and R_X86_64_TPOFF64.
5691
6f27cd16
JM
56922012-05-10 Joseph Myers <joseph@codesourcery.com>
5693
5694 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5695 sysdeps/unix/sysv/syscalls.list.
5696 (stime): Likewise.
5697 (utime): Likewise.
5698 * sysdeps/unix/sysv/syscalls.list: Remove file.
5699
02467e1c
PE
57002012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5701
5702 [BZ #3440]
5703 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5704 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5705 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5706 (__LC_IDENTIFICATION): Make these macros useful in #if
5707 expressions, as required by C99.
5708
da392631
AS
57092012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5710
5711 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5712 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5713 after this.
5714
8115f29b
L
57152012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5716
5717 * stdlib/longlong.h: Updated from GCC.
5718
bdd74070
AJ
57192012-05-09 Andreas Jaeger <aj@suse.de>
5720
edfe0dbe
AJ
5721 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5722 default is first entry.
5723 (run_mode): Set type.
5724 (main): Remove informal message about syslog.
5725 (options): Fix typo.
5726
bcfe3a54
ST
5727 [BZ #14053]
5728 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5729 to asm.
bcfe3a54
ST
5730 (lrint): Likewise.
5731 (llrintf): Likewise.
5732 (llrint): Likewise.
5733 (rint): Likewise.
5734 (rintf): Likewise.
5735 (nearbyint): Likewise.
5736 (nearbyintf): Likewise.
bdd74070 5737
91d8d69e
AJ
57382012-05-09 Andreas Jaeger <aj@suse.de>
5739 Pedro Alves <palves@redhat.com>
5740
5741 * nscd/nscd.c (run_mode): Use enum.
5742 (main): Cleanup coding style issue.
5743
bb90b80b
AJ
57442012-05-09 Alexandre Oliva <aoliva@redhat.com>
5745 Andreas Jaeger <aj@suse.de>
5746
bcfe3a54
ST
5747 * nscd/nscd.c (go_background): Replaced with...
5748 (run_mode): ... this.
bb90b80b 5749 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5750 (options): Add -F --foreground.
5751 (main): Implement it.
5752 (parse_opt): Parse it.
bb90b80b 5753
1a4b75a1
AJ
57542012-05-09 Andreas Jaeger <aj@suse.de>
5755
5756 [BZ #14083]
5757 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5758 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5759 -Wconversion warning.
5760 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5761 Likewise.
5762
b1cc2472
JM
57632012-05-09 Joseph Myers <joseph@codesourcery.com>
5764
5765 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5766 == 0.
5767 (LC_ALL): Use macro-int-constant.
5768 (LC_COLLATE): Likewise.
5769 (LC_CTYPE): Likewise.
5770 (LC_MESSAGES): Likewise.
5771 (LC_MONETARY): Likewise.
5772 (LC_NUMERIC): Likewise.
5773 (LC_TIME): Likewise.
5774 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5775 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5776 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5777 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5778 Specify type.
5779 [C99-based standards] (float_t): Expect type.
5780 [C99-based standards] (double_t): Expect type.
5781 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5782 type.
5783 [C99-based standards] (HUGE_VALL): Likewise.
5784 [C99-based standards] (INFINITY): Likewise.
5785 [C99-based standards] (NAN): Likewise.
5786 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5787 [C99-based standards] (FP_NAN): Likewise.
5788 [C99-based standards] (FP_NORMAL): Likewise.
5789 [C99-based standards] (FP_SUBNORMAL): Likewise.
5790 [C99-based standards] (FP_ZERO): Likewise.
5791 [C99-based standards] (FP_FAST_FMA): Use
5792 optional-macro-int-constant. Specify type. Require == 1.
5793 [C99-based standards] (FP_FAST_FMAF): Likewise.
5794 [C99-based standards] (FP_FAST_FMAL): Likewise.
5795 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5796 [C99-based standards] (FP_ILOGBNAN): Likewise.
5797 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5798 Specify type.
5799 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5800 [C99-based standards] (math_errhandling): Specify type.
5801 [ISO99 || ISO11] (signgam): Do not allow.
5802 [non-C99-based standards] (copysignf): Do not allow.
5803 [non-C99-based standards] (exp2f): Likewise.
5804 [non-C99-based standards] (log2f): Likewise.
5805 [non-C99-based standards] (modff): Allow.
5806 [non-C99-based standards] (erff): Do not allow.
5807 [non-C99-based standards] (erfcf): Likewise.
5808 [non-C99-based standards] (gammaf): Likewise.
5809 [non-C99-based standards] (hypotf): Likewise.
5810 [non-C99-based standards] (j0f): Likewise.
5811 [non-C99-based standards] (j1f): Likewise.
5812 [non-C99-based standards] (jnf): Likewise.
5813 [non-C99-based standards] (lgammaf): Likewise.
5814 [non-C99-based standards] (tgammaf): Likewise.
5815 [non-C99-based standards] (y0f): Likewise.
5816 [non-C99-based standards] (y1f): Likewise.
5817 [non-C99-based standards] (ynf): Likewise.
5818 [non-C99-based standards] (isnanf): Likewise.
5819 [non-C99-based standards] (acoshf): Likewise.
5820 [non-C99-based standards] (asinhf): Likewise.
5821 [non-C99-based standards] (atanhf): Likewise.
5822 [non-C99-based standards] (cbrtf): Likewise.
5823 [non-C99-based standards] (expm1f): Likewise.
5824 [non-C99-based standards] (ilogbf): Likewise.
5825 [non-C99-based standards] (log1pf): Likewise.
5826 [non-C99-based standards] (logbf): Likewise.
5827 [non-C99-based standards] (nextafterf): Likewise.
5828 [non-C99-based standards] (remainderf): Likewise.
5829 [non-C99-based standards] (rintf): Likewise.
5830 [non-C99-based standards] (scalbf): Likewise.
5831 [non-C99-based standards] (copysignl): Likewise.
5832 [non-C99-based standards] (exp2l): Likewise.
5833 [non-C99-based standards] (log2l): Likewise.
5834 [non-C99-based standards] (modfl): Allow.
5835 [non-C99-based standards] (erfl): Do not allow.
5836 [non-C99-based standards] (erfcl): Likewise.
5837 [non-C99-based standards] (gammal): Likewise.
5838 [non-C99-based standards] (hypotl): Likewise.
5839 [non-C99-based standards] (j0l): Likewise.
5840 [non-C99-based standards] (j1l): Likewise.
5841 [non-C99-based standards] (jnl): Likewise.
5842 [non-C99-based standards] (lgammal): Likewise.
5843 [non-C99-based standards] (tgammal): Likewise.
5844 [non-C99-based standards] (y0l): Likewise.
5845 [non-C99-based standards] (y1l): Likewise.
5846 [non-C99-based standards] (ynl): Likewise.
5847 [non-C99-based standards] (isnanl): Likewise.
5848 [non-C99-based standards] (acoshl): Likewise.
5849 [non-C99-based standards] (asinhl): Likewise.
5850 [non-C99-based standards] (atanhl): Likewise.
5851 [non-C99-based standards] (cbrtl): Likewise.
5852 [non-C99-based standards] (expm1l): Likewise.
5853 [non-C99-based standards] (ilogbl): Likewise.
5854 [non-C99-based standards] (log1pl): Likewise.
5855 [non-C99-based standards] (logbl): Likewise.
5856 [non-C99-based standards] (nextafterl): Likewise.
5857 [non-C99-based standards] (remainderl): Likewise.
5858 [non-C99-based standards] (rintl): Likewise.
5859 [non-C99-based standards] (scalbl): Likewise.
5860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5861 [non-C99-based standards] (FP_*): Do not allow.
5862 [C99-based standards] (FP_*): Change to
5863 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5864 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5865 allow.
5866 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5867 (SIG_ERR): Likewise.
5868 [X/Open-based standards] (SIG_HOLD): Likewise.
5869 (SIG_IGN): Likewise.
5870 (SIGABRT): Use macro-int-constant. Specify type. Require
5871 positive value.
5872 (SIGFPE): Likewise.
5873 (SIGILL): Likewise.
5874 (SIGINT): Likewise.
5875 (SIGSEGV): Likewise.
5876 (SIGTER): Likewise.
5877 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5878 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5880 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5881 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5882 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5883 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5884 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5885 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5886 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5887 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5888 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5889 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5890 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5891 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5892 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5893 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5894 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5895 [X/Open-based standards] (SIGTRAP): Likewise.
5896 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5897 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5898 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5899 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5900 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5901 allow.
5902
b9f1922d
IW
59032012-05-08 Ian Wienand <ianw@vmware.com>
5904
5905 [BZ #14080]
5906 * time/tzset.c (__tzset_parse_tz): Update default rules for
5907 daylight time changes in the Energy Policy Act of 2005.
5908
1db86e88
AJ
59092012-05-09 Andreas Jaeger <aj@suse.de>
5910
5911 [BZ #13983]
5912 * elf/ldconfig.c (parse_conf): Change string to make clear that
5913 ldconfig only issued a warning if ld.so.conf does not exist.
5914
dee4a4e3
DM
59152012-05-08 David S. Miller <davem@davemloft.net>
5916
ee0db190
DM
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5918 movxtod instead of popping the value on the stack.
5919
dee4a4e3
DM
5920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5921
6a43ec98
CD
59222012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5923
5924 * config.h.in: Add HAVE_ARM_PCS_VFP.
5925
05c2c961
RMG
59262012-05-08 Roland Mc Grath <roland@hack.frob.com>
5927
bcfe3a54
ST
5928 [BZ #13979]
5929 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5930 checking but the checks are disabled for any reason.
05c2c961 5931
4b30f61a
L
59322012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5933
5934 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5935 and ELF64_R_TYPE with ELFW(R_TYPE).
5936
eee2bc67
JM
59372012-05-08 Joseph Myers <joseph@codesourcery.com>
5938
7ea5391a
JM
5939 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5940 (ulimit): Likewise.
5941
eee2bc67
JM
5942 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5943 (settimeofday): Likewise.
5944
abb66a67
MF
59452012-05-08 Mike Frysinger <vapier@gentoo.org>
5946
5947 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5948 a struct th_u2 inside the union, and move tu_block/tu_code into
5949 a new th_u3 union of tu_block/tu_code inside of that. Move
5950 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5951 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5952 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5953 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5954 (th_stuff): Change to th_u1.tu_stuff.
5955 (th_data): Define.
5956 (th_msg): Change to th_u1.th_u2.tu_data.
5957
7f18b530
DM
59582012-05-07 David S. Miller <davem@davemloft.net>
5959
05760585
DM
5960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5961
7f18b530
DM
5962 [BZ #14074]
5963 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5964 (SETUP_PIC_REG): Use it.
5965 (SETUP_PIC_REG_LEAF): Use it.
5966
495fd99f
JM
59672012-05-07 Joseph Myers <joseph@codesourcery.com>
5968
5969 [BZ #13885]
5970 [BZ #13923]
5971 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5972 USE_AS_EXPM1L.
5973 (EXPL_FINITE): Likewise.
5974 (FLDLOG): Likewise.
5975 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5976 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5977 e_expl.S.
5978 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5979 USE_AS_EXPM1L.
5980 (EXPL_FINITE): Likewise.
5981 (FLDLOG): Likewise.
5982 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5983 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5984 e_expl.S.
5985 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5986 test of -max_value argument for long double.
5987 * sysdeps/i386/fpu/libm-test-ulps: Update.
5988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989
6693d694
DM
59902012-05-06 David S. Miller <davem@davemloft.net>
5991
5992 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5993 quad soft-float symbols whose references which are compiler
5994 generated.
5995 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5996
6c23e11c
JM
59972012-05-06 Joseph Myers <joseph@codesourcery.com>
5998
d8b82cad
JM
5999 [BZ #13884]
6000 [BZ #13914]
6001 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6002 USE_AS_EXP10L.
6003 (EXPL_FINITE): Likewise.
6004 (FLDLOG): Likewise.
6005 (c0): Likewise.
6006 (c1): Likewise.
6007 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6008 Adjust comments for base varying.
6009 (__expl_finite): Change alias to EXPL_FINITE.
6010 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6011 e_expl.S.
6012 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6013 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6015 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6016 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6017 USE_AS_EXP10L.
6018 (EXPL_FINITE): Likewise.
6019 (FLDLOG): Likewise.
6020 (c0): Likewise.
6021 (c1): Likewise.
6022 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6023 Adjust comments for base varying.
6024 (__expl_finite): Change alias to EXPL_FINITE.
6025 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6026 tests for bugs.
6027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6028
6c23e11c
JM
6029 [BZ #14064]
6030 * math/libm-test.inc (check_float_internal): Correct ulp
6031 calculation for subnormal expected results.
6032
29ba805c
AJ
60332012-05-06 Andreas Jaeger <aj@suse.de>
6034
6035 * Makeconfig (+math-flags): New, set to -frounding-math.
6036 (+cflags): Add +math-flags so that all of glibc gets compiled with
6037 it.
6038
6039 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6040
7b17aeda
JM
60412012-05-05 Joseph Myers <joseph@codesourcery.com>
6042
5779f134
JM
6043 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6044 Disable one test.
6045
41498f4d
JM
6046 [BZ #13787]
6047 [BZ #13922]
6048 [BZ #14036]
6049 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6050 (__ieee754_expl): Allow for and saturate large arguments.
6051 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6052 (u_threshold): Likewise.
6053 (__exp): Call __ieee754_exp before checking for overflow and
6054 underflow.
6055 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6056 (u_threshold): Likewise.
6057 (__expf): Call __ieee754_expf before checking for overflow and
6058 underflow.
6059 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6060 (u_threshold): Likewise.
6061 (__expl): Call __ieee754_expl before checking for overflow and
6062 underflow.
6063 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6064 (__ieee754_expl): Allow for and saturate large arguments.
6065 * math/libm-test.inc (exp_test): Add another test. Do not allow
6066 missing overflow exception on overflow.
6067 (expm1_test): Do not allow missing overflow exception on overflow.
6068
6698b8bf
JM
6069 * sysdeps/i386/fpu/e_expl.c: Move to ...
6070 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6071 rather than using inline asm.
6072 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6073 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6074 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6075
7b17aeda
JM
6076 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6077 (nice): Likewise.
6078 (poll): Likewise.
6079 (signal): Likewise.
6080 (time): Likewise.
6081 (times): Likewise.
6082
f7c85819
JM
60832012-05-04 Joseph Myers <joseph@codesourcery.com>
6084
6085 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6086 sysdeps/unix/common/syscalls.list.
6087 (fchmod): Likewise.
6088 (fchown): Likewise.
6089 (ftruncate): Likewise.
6090 (getrusage): Likewise.
6091 (gettimeofday): Likewise.
6092 (setpgid): Likewise.
6093 (setregid): Likewise.
6094 (setreuid): Likewise.
6095 (sigaction): Likewise.
6096 (truncate): Likewise.
6097 (vhangup): Likewise.
6098 * sysdeps/unix/common/syscalls.list: Remove file.
6099 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6100 * sysdeps/unix/sysv/linux/Implies: Likewise.
6101
336270d0
L
61022012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6103
6104 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6106 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6107 Moved to ...
6108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6109 Here.
6110 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6111 to ...
6112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6113 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6114 to ...
6115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6116 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6117 to ...
6118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6119 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6120 to ...
6121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6122 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6123 to ...
6124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6125 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6126 to ...
6127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6128 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6129 to ...
6130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6131 Here.
6132 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6133 to ...
6134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6135 Here.
6136 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6137 to ...
6138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6139 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6140 Moved to ...
6141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6142 Here.
6143 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6144 to ...
6145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6146
d128e450
JM
61472012-05-04 Joseph Myers <joseph@codesourcery.com>
6148
fa8ee516
JM
6149 * sysdeps/unix/common/bits/dirent.h: Remove file.
6150 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6151
d128e450
JM
6152 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6153 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6154 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6155 * sysdeps/unix/bsd/isatty.c: Likewise.
6156 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6157 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6158 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6159
ff8faaf0 61602012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6161
62881be4 6162 [BZ #13563]
31dc8730
AZ
6163 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6164 long double comparison inaccuracies.
6165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6167
6fef930c
AS
61682012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6169
6170 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6171 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6172
8f203e6c
JM
61732012-05-04 Joseph Myers <joseph@codesourcery.com>
6174
6175 [BZ #14049]
6176 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6177 nonzero digits before rounding a hex value.
6178 * stdlib/tst-strtod.c (tests): Add another test.
6179
5197d9c2
AK
61802012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6181
6182 * sysdeps/s390/fpu/libm-test-ulps: Update.
6183
f0c1dedf
AJ
61842012-05-03 Andreas Jaeger <aj@suse.de>
6185
6186 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6187 does not get optimized out.
6188 (malloc_opt_barrier): New.
6189
a65ef2ae 61902012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6191 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6192
2b942cb7 6193 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6194 intermediate file deletion.
2b942cb7 6195 (generated): Add .symlist files.
a65ef2ae 6196
54b71e02
JM
61972012-05-03 Joseph Myers <joseph@codesourcery.com>
6198
6199 [BZ #13775]
6200 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6201 Redirect under this condition.
6202 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6203 [__USE_GNU] (__dprintf_chk): Not under this condition.
6204 [__USE_GNU] (__vdprintf_chk): Likewise.
6205 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6206 under this condition.
6207 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6208 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6209 [__USE_XOPEN2K8] (vdprintf): Likewise.
6210 [__USE_GNU] (__dprintf_chk): Not under this condition.
6211 [__USE_GNU] (__vdprintf_chk): Likewise.
6212 [__USE_GNU] (dprintf): Likewise.
6213 [__USE_GNU] (vdprintf): Likewise.
6214
d3dfcc41
RM
62152012-05-03 Roland McGrath <roland@hack.frob.com>
6216
6217 * elf/Makefile (common-generated): Set this instead of generated for
6218 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6219 $(all-built-dso)-derived lists.
6220
7ac30cc5
AJ
62212012-05-03 Andreas Jaeger <aj@suse.de>
6222
0c51e550
AJ
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224
7ac30cc5
AJ
6225 * FAQ: Removed.
6226 * FAQ.in: Likewise.
6227 * scripts/gen-FAQ.pl: Likewise.
6228 * manual/install.texi (Installation): Point to online location of
6229 FAQ.
6230 * Makefile (files-for-dist): Remove FAQ.
6231 (FAQ): Remove.
6232
d4c2917f
AM
62332012-05-02 Allan McRae <allan@archlinux.org>
6234
6235 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6236 (LDFLAGS-reldepmod5.so): Likewise.
6237 (LDFLAGS-reldep6mod1.so): Likewise.
6238 (LDFLAGS-reldep6mod4.so): Likewise.
6239 (LDFLAGS-reldep8mod3.so): Likewise.
6240 (LDFLAGS-unload4mod1.so): Likewise.
6241 (LDFLAGS-unload4mod2.so): Likewise.
6242 (LDFLAGS-tst-initorder): Likewise.
6243 (LDFLAGS-tst-initordera2.so): Likewise.
6244 (LDFLAGS-tst-initordera3.so): Likewise.
6245 (LDFLAGS-tst-initordera4.so): Likewise.
6246 (LDFLAGS-tst-initorderb2.so): Likewise.
6247 (LDFLAGS-noload): Likewise.
6248 (LDFLAGS-next): Likewise.
6249 (LDFLAGS-order2mod1.so): Likewise.
6250 (LDFLAGS-order2mod2.so): Likewise.
6251 (LDFLAGS-tst-initorder2): Likewise.
6252 (LDFLAGS-tst-initorder2a.so): Likewise.
6253 (LDFLAGS-tst-initorder2b.so): Likewise.
6254 (LDFLAGS-tst-initorder2c.so): Likewise.
6255 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6256
d77f993f
DM
62572012-05-02 David S. Miller <davem@davemloft.net>
6258
6259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6260
171a70b4
PP
62612012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6262
6263 [BZ #14055]
6264 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6265
0be196ad
AJ
62662012-05-02 Andreas Jaeger <aj@suse.de>
6267
6268 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6269 since we manipulate rounding mode.
6270 (CPPFLAGS-test-idouble.c): Likewise.
6271 (CPPFLAGS-test-ifloat.c): Likewise.
6272 (CFLAGS-test-ldouble.c): Likewise.
6273 (CFLAGS-test-double.c): Likewise.
6274 (CFLAGS-test-float.c): Likewise.
6275 (CFLAGS-test-misc.c): Likewise.
6276 (CFLAGS-test-test-fenv.c): Likewise.
6277
4f9d04aa
AZ
62782012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6279
2b942cb7
RM
6280 [BZ #2550]
6281 [BZ #2570]
6282 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6283 comparisons to determine direction to adjust input.
4f9d04aa 6284
82a79e7d
RM
62852012-05-01 Roland McGrath <roland@hack.frob.com>
6286
f5a01ca9
RM
6287 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6288 output to the target.
6289
90fe4186
RM
6290 * scripts/localplt.awk: New file.
6291 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6292 (check-localplt-CFLAGS): Variable removed.
6293 ($(all-built-dso:=.jmprel)): New static pattern rule.
6294 (generated): Add those targets.
6295 (localplt-built-dso): New variable.
6296 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6297
6298 * elf/check-localplt.c: File removed.
6299
82397ed6
RM
6300 * scripts/check-execstack.awk: New file.
6301 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6302 (check-execstack-CFLAGS): Variable removed.
6303 ($(objpfx)check-execstack.h): Target removed.
6304 ($(objpfx)execstack-default): New target.
6305 (generated): Add that instead of check-execstack.h.
6306 ($(all-built-dso:=.phdr)): New static pattern rule.
6307 (generated): Add those targets.
6308 * elf/check-execstack.c: File removed.
6309
82a79e7d
RM
6310 * scripts/check-textrel.awk: New file.
6311 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6312 (check-textrel-CFLAGS): Variable removed.
6313 (all-built-dso): Use := to define.o
6314 ($(all-built-dso:=.dyn)): New static pattern rule.
6315 (generated): Add those targets.
6316 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6317 * config.make.in (READELF): New substituted variable.
6318 * elf/check-textrel.c: File removed.
6319
62fde54f 63202012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6321
615605c9
JM
6322 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6323 allow.
6324 * conform/data/ctype.h-data [C99-based standards] (isblank):
6325 Expect function.
6326 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6327 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6329 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6330 Specify type. Require positive value.
6331 (EILSEQ): Likewise.
6332 (ERANGE): Likewise.
6333 [ISO || POSIX] (EILSEQ): Do not expect.
6334 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6335 Specify type. Require positive value.
6336 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6337 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6338 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6339 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6340 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6341 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6342 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6343 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6344 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6345 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6346 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6347 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6348 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6349 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6350 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6351 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6352 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6353 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6354 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6355 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6356 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6357 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6358 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6359 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6360 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6361 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6362 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6363 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6364 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6365 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6366 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6367 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6368 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6369 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6370 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6371 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6372 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6373 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6374 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6375 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6376 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6377 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6378 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6379 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6380 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6381 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6382 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6383 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6384 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6385 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6386 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6387 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6388 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6389 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6390 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6391 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6392 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6393 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6394 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6395 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6396 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6397 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6398 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6399 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6400 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6401 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6402 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6403 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6404 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6405 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6406 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6407 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6408 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6409 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6410 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6411 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6412 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6413 Require >= 2.
6414 (FLT_ROUNDS): Expect as macro, not constant.
6415 (FLT_MANT_DIG): Use macro-int-constant.
6416 (DBL_MANT_DIG): Likewise.
6417 (LDBL_MANT_DIG): Likewise.
6418 (FLT_DIG): Likewise.
6419 (DBL_DIG): Likewise.
6420 (LDBL_DIG): Likewise.
6421 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6422 (DBL_MIN_EXP): Likewise.
6423 (LDBL_MIN_EXP): Likewise.
6424 (FLT_MAX_EXP): Use macro-int-constant.
6425 (DBL_MAX_EXP): Likewise.
6426 (LDBL_MAX_EXP): Likewise.
6427 (FLT_MAX_10_EXP): Likewise.
6428 (DBL_MAX_10_EXP): Likewise.
6429 (LDBL_MAX_10_EXP): Likewise.
6430 (FLT_MAX): Use macro-constant.
6431 (DBL_MAX): Likewise.
6432 (LDBL_MAX): Likewise.
6433 (FLT_EPSILON): Use macro-constant. Give upper bound.
6434 (DBL_EPSILON): Likewise.
6435 (LDBL_EPSILON): Likewise.
6436 (FLT_MIN): Likewise.
6437 (DBL_MIN): Likewise.
6438 (LDBL_MIN): Likewise.
6439 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6440 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6441 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6442 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6443 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6444 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6445 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6446 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6447 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6448 [ISO11] (FLT_TRUE_MIN): Likewise.
6449 [ISO11] (LDBL_TRUE_MIN): Likewise.
6450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6451 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6452 (SCHAR_MIN): Use macro-int-constant. Specify type.
6453 (SCHAR_MAX): Likewise.
6454 (UCHAR_MAX): Likewise.
6455 (CHAR_MIN): Likewise.
6456 (CHAR_MAX): Likewise.
6457 (MB_LEN_MAX): Use macro-int-constant.
6458 (SHRT_MIN): Use macro-int-constant. Specify type.
6459 (SHRT_MAX): Likewise.
6460 (USHRT_MAX): Likewise.
6461 (INT_MAX): Likewise.
6462 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6463 bound negative.
6464 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6465 bound with "U".
6466 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6467 bound with "L".
6468 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6469 bound negative. Suffix upper bound with "L".
6470 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6471 bound with "UL".
6472 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6473 Specify type.
6474 [C99-based standards] (LLONG_MAX): Likewise.
6475 [C99-based standards] (ULLONG_MAX): Likewise.
6476 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6477 == 0.
6478 [ISO11] (max_align_t): Require type.
6479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6480
c9140a62
JM
6481 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6482 from $CFLAGS, without defining away __attribute__ calls.
6483 (checknamespace): Use $CFLAGS_namespace.
6484
9af0bf29
JM
6485 * conform/conformtest.pl (@keywords): Only include C99 keywords
6486 for standards based on C99 or C11.
6487
343222a2
JM
6488 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6489 Disable tests.
6490 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6491 UNIX98]: Likewise.
6492
661f8cf0
JM
6493 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6494 usability of symbols in #if.
6495
ee74b9cb
JM
6496 * conform/conformtest.pl: If macro or constant types start
6497 "promoted:", expect the symbol to be of the following type
6498 promoted by the integer promotions.
62fde54f 6499
aafc49b3
JM
6500 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6501 in one place. Also handle "macro-constant".
6502
fefdf574
JM
6503 * conform/conformtest.pl: Only accept expected macro values with
6504 "==". Parse all "macro" lines in one place.
6505 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6506
f2d922fe
JM
6507 * conform/conformtest.pl: Handle braced types on "constant" lines
6508 instead of handling "typed-constant".
6509 * conform/data/signal.h-data: Use "constant" instead of
6510 "typed-constant".
6511
d22956c9
JM
6512 * conform/conformtest.pl: Handle "optional-" at start of lines in
6513 one place rather than duplicating several cases. Handle each
6514 format of "macro" line with initial "optional-".
6515
028e2e38
JM
6516 * conform/conformtest.pl: Only accept expected constant or
6517 optional-constant values with "==". Parse all "constant" lines in
6518 one place. Parse all "optional-constant" lines in one place.
6519 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6520 * conform/data/fmtmsg.h-data: Likewise.
6521 * conform/data/netinet/in.h-data: Likewise.
6522 * conform/data/tar.h-data: Likewise.
6523 * conform/data/limits.h-data: Use "==" form on "constant" and
6524 "optional-constant" lines.
6525
1b8f2850
JM
6526 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6527 Use -std=c99 for XOPEN2K.
6528 (@knownproblems): Remove.
6529 (newtoken): Don't check %isknown.
6530
a05a144b
JM
6531 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6532 Do not expect macro.
6533 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6545 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6546 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6547 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6550 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6551 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6563 [XPG3] (acosh): Likewise.
6564 [XPG3] (asinh): Likewise.
6565 [XPG3] (atanh): Likewise.
6566 [XPG3] (cbrt): Likewise.
6567 [XPG3] (expm1): Likewise.
6568 [XPG3] (ilogb): Likewise.
6569 [XPG3] (log1p): Likewise.
6570 [XPG3] (logb): Likewise.
6571 [XPG3] (nextafter): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6574 [XPG3] (remainder): Likewise.
6575 [XPG3] (rint): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6577 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6583 [UNIX98 || XOPEN2K] (scalb): Expect.
6584 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6585 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6589 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6590 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6591 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6592 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6593 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6605 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6606 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6607 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6608 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6610 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6611 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6612 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6613 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6618 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6619 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6623 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6624 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6626 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6627 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6628 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6629 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6630 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6631 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6632 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6633 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6634 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6635 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6643 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6644 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6645 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6646 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6647 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6651 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6661 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6662 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6663 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6664 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6665 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6666 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6667 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6668 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6669 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6670 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6671 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6672 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6673 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6674 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6675 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6676 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6677 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6678 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6679 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6680 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6684 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6685 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6686 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6688 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6689 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6690 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6695 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6696 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6697 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6698 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6699 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6700 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6701 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6702 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6703 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6704 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6705 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6706 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6707 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6708 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6709 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6710 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6711 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6712 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6713 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6714 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6715 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6716 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6717 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6718 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6719 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6720 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6721
73c5ebe3
JM
6722 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6723 _XOPEN_SOURCE_EXTENDED for XPG4.
6724
39c33b6c
JM
6725 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6726
62fde54f
JM
6727 * Makeconfig (localtime): Remove variable.
6728 (inst_localtime-file): Likewise.
6729
0741d64c
AS
67302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6731
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6733 Update.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6735 Update.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6737 Update.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6739 Update.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6741 Update.
6742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6743 Update.
6744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6745 Update.
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6747 Update.
6748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6749 Update.
6750
7cb029ee
JM
67512012-05-01 Joseph Myers <joseph@codesourcery.com>
6752
6753 [BZ #2550]
6754 [BZ #2570]
6755 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6756 comparisons to determine direction to adjust input.
6757 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6758 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6759 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6760 Likewise.
6761 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6762 Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6764 Likewise.
6765 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6766 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6767 Likewise.
6768 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6769 Likewise.
6770 * math/libm-test.inc (nexttoward_test): Add more tests.
6771
412bd966
AS
67722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6773
6774 [BZ #14040]
6775 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6776 in version GLIBC_2.1, not GLIBC_2.0.
6777 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6778 Likewise.
6779
9568c0c2
JM
67802012-04-30 Joseph Myers <joseph@codesourcery.com>
6781
adfbc8ac
JM
6782 [BZ #13942]
6783 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6784 (1 - x) * (1 + x).
6785 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6786 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6787 * math/libm-test.inc (acos_test): Add more tests.
6788 (asin_test): Likewise.
6789 * sysdeps/i386/fpu/libm-test-ulps: Update.
6790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6791
5ba3cc69
JM
6792 [BZ #14034]
6793 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6794 of square root.
6795 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6796 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6797 * math/libm-test.inc (acos_test_tonearest): New function.
6798 (acos_test_towardzero): Likewise.
6799 (acos_test_downward): Likewise.
6800 (acos_test_upward): Likewise.
6801 (asin_test_tonearest): Likewise.
6802 (asin_test_towardzero): Likewise.
6803 (asin_test_downward): Likewise.
6804 (asin_test_upward): Likewise.
6805 (main): Call the new functions.
6806 * sysdeps/i386/fpu/libm-test-ulps: Update.
6807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6808
9568c0c2
JM
6809 [BZ #13884]
6810 [BZ #13924]
6811 * math/e_exp10.c: Include <float.h>.
6812 (__ieee754_exp10): Handle underflow here rather than multiplying
6813 large negative argument by M_LN10.
6814 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6815 of __ieee754_expf.
6816 * math/e_exp10l.c: Include <float.h>.
6817 (__ieee754_exp10l): Handle underflow here rather than multiplying
6818 large negative argument by M_LN10l.
6819 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6820 spurious overflow exception on underflow.
6821
5ac3ea17
MP
68222012-04-29 Marek Polacek <polacek@redhat.com>
6823
6824 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6825 (__fortify_function): New macro.
6826 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6827 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6828 __extern_always_inline.
6829 * libio/bits/stdio2.h: Likewise.
6830 * libio/bits/stdio.h: Likewise.
6831 * string/string.h: Likewise.
6832 * string/bits/string3.h: Likewise.
6833 * include/stdio.h: Likewise.
6834 * stdlib/bits/stdlib.h: Likewise.
6835 * stdlib/stdlib.h: Likewise.
6836 * rt/bits/mqueue2.h: Likewise.
6837 * rt/mqueue.h: Likewise.
6838 * posix/bits/unistd.h: Likewise.
6839 * posix/unistd.h: Likewise.
6840 * io/bits/poll2.h: Likewise.
6841 * io/bits/fcntl2.h: Likewise.
6842 * io/fcntl.h: Likewise.
6843 * io/sys/poll.h: Likewise.
6844 * misc/bits/syslog.h: Likewise.
6845 * misc/bits/syslog-ldbl.h: Likewise.
6846 * misc/sys/syslog.h: Likewise.
6847 * socket/bits/socket2.h: Likewise.
6848 * socket/sys/socket.h: Likewise.
6849 * debug/tst-chk1.c: Likewise.
6850 * wcsmbs/bits/wchar2.h: Likewise.
6851 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6852 * wcsmbs/wchar.h: Likewise.
6853
ecf0ebfb
AJ
68542012-04-29 Andreas Jaeger <aj@suse.de>
6855
6856 * Makerules (tests): Remove enable-check-abi protection.
6857 (check-abi-warn): Remove.
6858 (check-abi-%): Remove check-abi-warn usage.
6859
6860 * configure.in: Remove check-abi configure option.
6861 * configure: Regenerated.
6862 * config.make.in (enable-check-abi): Remove.
6863
6d5c57fa
AS
68642012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6865
24c5d07e 6866 [BZ #14033]
ded5180a
AS
6867 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6868 double functions to double *_finite functions.
6869
7e0d315d
AS
6870 [BZ #13941]
6871 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6872 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6873 LDBL_MIN_EXP.
6874 * stdio-common/Makefile (tests): Add tst-sprintf3.
6875 * stdio-common/tst-sprintf3.c: New file.
6876
6d5c57fa
AS
6877 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6878 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6879
0749ff8b
JM
68802012-04-28 Joseph Myers <joseph@codesourcery.com>
6881
6882 * conform/conformtest.pl: Remove duplicate typed-constant
6883 handling.
6884
8dbd5d7b
DM
68852012-04-28 David S. Miller <davem@davemloft.net>
6886
6887 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6888 (check-abi-%): Remove AWK script prerequisite and explicit
6889 abilist directory.
6890 (check-abi): Rewrite to just diff the symlist with the abilist.
6891 (config-tls, config-abi-config): Delete, no longer used.
6892 (update-abi-%): Remove AWK script and explicit abilist directory.
6893 (update-abi): Rewrite to simply compare and conditionally copy the
6894 symlist and the sysdep abilist file. Remove update-abi-config
6895 checks.
6896 * abilist/ld.abilist: Remove.
6897 * abilist/libBrokenLocale.abilist: Remove.
6898 * abilist/libanl.abilist: Remove.
6899 * abilist/libcrypt.abilist: Remove.
6900 * abilist/libdl.abilist: Remove.
6901 * abilist/librt.abilist: Remove.
6902 * abilist/libthread_db.abilist: Remove.
6903 * abilist/libutil.abilist: Remove.
6904 * scripts/extract-abilist.awk: Remove.
6905 * scripts/merge-abilist.awk: Remove.
6906 * sysdeps/generic/libcidn.abilist: New file.
6907 * sysdeps/generic/libnss_compat.abilist: New file.
6908 * sysdeps/generic/libnss_db.abilist: New file.
6909 * sysdeps/generic/libnss_dns.abilist: New file.
6910 * sysdeps/generic/libnss_files.abilist: New file.
6911 * sysdeps/generic/libnss_hesiod.abilist: New file.
6912 * sysdeps/generic/libnss_nis.abilist: New file.
6913 * sysdeps/generic/libnss_nisplus.abilist: New file.
6914 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6915 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6916 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6917 file.
6918 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6919 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6920 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6921 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6922 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6923 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6924 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6925 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6926 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6927 file.
6928 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6929 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6930 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6931 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6932 file.
6933 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6934 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6935 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6936 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6937 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6938 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6939 file.
6940 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6941 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6942 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6943 file.
6944 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6946 New file.
6947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6948 New file.
6949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6950 New file.
6951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6952 New file.
6953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6954 New file.
6955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6956 New file.
6957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6958 New file.
6959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6960 New file.
6961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6962 New file.
6963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6964 New file.
6965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6966 New file.
6967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6968 New file.
6969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6970 New file.
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6972 file.
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6974 New file.
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6976 New file.
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6978 file.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6980 New file.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6982 New file.
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6984 file.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6986 New file.
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6988 New file.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6990 New file.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6992 New file.
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6994 New file.
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6996 New file.
6997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6999 file.
7000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7001 New file.
7002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7003 file.
7004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7005 file.
7006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7007 file.
7008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7009 file.
7010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7011 file.
7012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7013 New file.
7014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7015 file.
7016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7017 file.
7018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7019 New file.
7020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7021 file.
7022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7024 file.
7025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7026 New file.
7027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7028 file.
7029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7030 file.
7031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7032 file.
7033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7034 file.
7035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7036 file.
7037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7038 New file.
7039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7040 file.
7041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7042 file.
7043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7044 New file.
7045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7046 file.
7047 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7048 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7049 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7050 file.
7051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7052 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7053 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7054 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7055 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7056 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7057 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7058 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7059 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7060 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7063 file.
7064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7065 New file.
7066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7067 file.
7068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7069 file.
7070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7071 file.
7072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7073 file.
7074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7075 file.
7076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7077 New file.
7078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7079 New file.
7080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7081 file.
7082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7083 New file.
7084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7085 file.
7086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7088 file.
7089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7090 New file.
7091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7092 file.
7093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7094 file.
7095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7096 file.
7097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7098 file.
7099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7100 file.
7101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7102 New file.
7103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7104 New file.
7105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7106 file.
7107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7108 New file.
7109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7110 file.
7111
41d73a1b
JM
71122012-04-28 Joseph Myers <joseph@codesourcery.com>
7113
7114 * conform/conformtest.pl: Fix typo in handling typed-constant from
7115 allow-header.
7116
28aeeda4
JM
71172012-04-27 Joseph Myers <joseph@codesourcery.com>
7118
adae8f5e
JM
7119 * README: Cut down references to pre-2.6 Linux kernels and
7120 Linuxthreads. Update lists of configurations in libc and ports
7121 and sort alphabetically. Say "or newer" with Linux kernel version
7122 requirements.
7123
28aeeda4
JM
7124 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7125
a462cb63
RA
71262012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7127
7128 [BZ #887]
7129 * math/libm-test.inc (logb_test_downward): New test to expose
7130 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7131 rounding mode.
7132
6ad3493e
JM
71332012-04-27 Joseph Myers <joseph@codesourcery.com>
7134
7135 [BZ #14027]
7136 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7137 to be done.
7138 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7139 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7140
2ce4f015
JM
71412012-04-26 Joseph Myers <joseph@codesourcery.com>
7142
5aeb141a
JM
7143 * sysdeps/unix/i386/brk.S: Remove file.
7144 * sysdeps/unix/i386/dl-brk.S: Likewise.
7145 * sysdeps/unix/i386/pipe.S: Likewise.
7146 * sysdeps/unix/i386/sigreturn.S: Likewise.
7147 * sysdeps/unix/i386/syscall.S: Likewise.
7148 * sysdeps/unix/i386/vfork.S: Likewise.
7149 * sysdeps/unix/i386/wait.S: Likewise.
7150
7143acae
JM
7151 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7152 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7153
2ce4f015
JM
7154 * configure.in (arm*-none*): Do not allow without
7155 --enable-hacker-mode.
7156 (netbsd*): Remove case setting base_os.
7157 (386bsd*): Likewise.
7158 (freebsd*): Likewise.
7159 (bsdi*): Likewise.
7160 (osf*): Likewise.
7161 (sunos*): Likewise.
7162 (ultrix*): Likewise.
7163 (newsos*): Likewise.
7164 (dynix*): Likewise.
7165 (*bsd*): Likewise.
7166 (sysv*): Likewise.
7167 (isc*): Likewise.
7168 (esix*): Likewise.
7169 (sco*): Likewise.
7170 (minix*): Likewise.
7171 (irix4*): Likewise.
7172 (irix6*): Likewise.
7173 (solaris[2-9]*): Likewise.
7174 (none): Likewise.
7175 * configure: Regenerated.
7176
0ac229c8
AZ
71772012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7178
7179 [BZ #11521]
7180 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7181 overflow or cancellation in calculating denominator.
7182 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7184 down expression to avoid unexpected rounding in newer GCCs.
7185 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7186
33f244f4
DM
71872012-04-26 David S. Miller <davem@davemloft.net>
7188
7189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7190 long-double compat symbols.
7191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7204
cfa1f3e8
DM
72052012-04-25 David S. Miller <davem@davemloft.net>
7206
7207 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7208 HWCAP_* values only after the memory barriers have been defined.
7209 (atomic_full_barrier): Define.
7210 (atomic_read_barrier): Define.
7211 (atomic_write_barrier): Define.
7212
6e236b92
SP
72132012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7214
7215 * shlib-versions: Add libgcc_s version information.
7216 * sysdeps/generic/libgcc_s.h: Remove.
7217 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7218 libgcc_s.h.
7219 * sysdeps/gnu/unwind-resume.c: Likewise.
7220 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7221
aab39a09
DM
72222012-04-25 David S. Miller <davem@davemloft.net>
7223
7224 * sysdeps/unix/sparc/brk.S: Delete.
7225 * sysdeps/unix/sparc/dl-brk.S: Delete.
7226 * sysdeps/unix/sparc/pipe.S: Delete.
7227 * sysdeps/unix/sparc/sysdep.S: Delete.
7228 * sysdeps/unix/sparc/sysdep.h: Delete.
7229 * sysdeps/unix/sparc/vfork.S: Delete.
7230 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7231 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7232 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7233 ret_ERRVAL, r0, r1, MOVE): Define.
7234 (JUMPTARGET): Remove.
7235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7236 sysdeps/unix/sparc/sysdep.h
7237 (ENTRY, END): Remove.
7238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7239
a3cc4f48
JM
72402012-04-25 Joseph Myers <joseph@codesourcery.com>
7241
2ed8cda2
JM
7242 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7243 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7244 -DIS_IN_build.
7245
35d76d59
JM
7246 * timezone/README: Update upstream location and email address for
7247 tzcode and tzdata.
7248 * timezone/zdump.c: Update from tzcode 2012b.
7249 * timezone/zic.c: Likewise.
7250
a3cc4f48
JM
7251 * configure.in (libc_cv_as_needed): Remove test.
7252 * configure: Regenerated.
7253 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7254 conditional definition.
7255 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7256 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7257 * config.make.in (have-as-needed): Remove variable.
7258
ceab42c3
SP
72592012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7260 Paul Pluzhnikov <ppluzhnikov@google.com>
7261
7262 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7263 strings correctly.
7264
3ce2865f
CLT
72652012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7266
7267 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7268 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7269 * sysdeps/sh/strlen.S: Likewise.
7270
f37e0d68
JM
72712012-04-24 Joseph Myers <joseph@codesourcery.com>
7272
ae186e9a
JM
7273 * sysdeps/unix/fork.S: Remove file.
7274 * sysdeps/unix/i386/fork.S: Likewise.
7275 * sysdeps/unix/sparc/fork.S: Likewise.
7276
b96914af
JM
7277 * sysdeps/unix/system.c: Remove file.
7278 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7279
f37e0d68
JM
7280 * sysdeps/unix/getegid.S: Remove file.
7281 * sysdeps/unix/geteuid.S: Likewise.
7282
87ef29ca
RM
72832012-04-24 Roland McGrath <roland@hack.frob.com>
7284
83bcd236
RM
7285 * scripts/check-localplt.awk: New file.
7286 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7287 of diff.
7288 * scripts/data/localplt-generic.data: Add a comment.
7289
87ef29ca
RM
7290 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7291 NODE when __dir_mkfile failed.
7292 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7293 Reported by Ludovic Courtès <ludo@gnu.org>.
7294
e5a6e567
AJ
72952012-04-24 Andreas Jaeger <aj@suse.de>
7296
7297 * Makerules (common-clean): Also remove gen-as-const-headers
7298 files.
7299
c1820385
JM
73002012-04-24 Joseph Myers <joseph@codesourcery.com>
7301
7302 * Makerules (native-compile): Do not change working directory for
7303 build. Use $(OUTPUT_OPTION) in command.
7304 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7305
94e02fc4
AZ
73062012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7307
7308 [BZ #13886]
7309 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7310 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7311 * math/libm-test.inc (floor_test): Add more tests.
7312 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7313
3a533ca3
JM
73142012-04-24 Joseph Myers <joseph@codesourcery.com>
7315
940ab4b3
JM
7316 * sysdeps/unix/getdents.c: Remove file.
7317 * sysdeps/unix/sysv/getdents.c: Likewise.
7318 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7319
90e037bd
JM
7320 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7321 sysdeps/unix/mman/syscalls.list.
7322 (mmap): Likewise.
7323 (mprotect): Likewise.
7324 (msync): Likewise.
7325 (munmap): Likewise.
7326 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7327 * sysdeps/unix/mman/syscalls.list: Remove.
7328 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7329
3a533ca3
JM
7330 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7331 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7332 * configure: Regenerated.
7333 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7334 $(libgcc_s_suffix).
7335 * config.make.in (libgcc_s_suffix): Remove variable.
7336
1ad743de
JM
73372012-04-23 Joseph Myers <joseph@codesourcery.com>
7338
4ad451e2
JM
7339 * sysdeps/unix/sysv/gethostname.c: Move to ...
7340 * sysdeps/posix/gethostname.c: ... here.
7341
5e37ce39
JM
7342 * sysdeps/unix/execve.S: Remove file.
7343
1ad743de
JM
7344 * sysdeps/unix/_exit.S: Remove file.
7345
4e681b5b
AJ
73462012-04-23 Andreas Jaeger <aj@suse.de>
7347
7348 [BZ #13739]
7349 * manual/Makefile: Remove make dist support, there's no
7350 need for a stand-alone documentation tar ball.
7351 (TEXI2DVI): Define always, it's not in Makeconfig.
7352 (dist): Removed.
7353 (tar-it): Removed.
7354 (edition): Removed.
7355 (glibc-doc-$(edition).tar): Removed
7356 (%.Z): Removed.
7357 (%.gz): Removed.
7358 (%.uu): Removed.
7359 (ETAGS): Remove, it's in Makeconfig.
7360 (move-if-change): Remove, it's in Makeconfig.
7361
c0baea34
PE
73622013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7363
7364 [BZ #13970]
7365 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7366 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7367 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7368 (strtod_l, strtof_l, strtold_l): Remove __wur.
7369 It is not necessarily an error to ignore strtol's return value.
7370 One can reliably look at the stored endptr to decide whether
7371 the number had valid syntax.
7372
7c0616fa
AJ
73732012-04-21 Andreas Jaeger <aj@suse.de>
7374
803cb6b7 7375 [BZ #13739]
7c0616fa
AJ
7376 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7377
b0fe253f
JM
73782012-04-21 Joseph Myers <joseph@codesourcery.com>
7379
7380 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7381 * sysdeps/unix/sysv/Versions: Remove file.
7382
8280f22d
MT
73832012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7384
7385 [BZ #13927]
7386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7387
75ce411f 73882012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7389
7390 [BZ #7064]
7391 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7392 version from __vm86.
7393
097d59fa
JM
73942012-04-20 Joseph Myers <joseph@codesourcery.com>
7395
a90f3bcb
JM
7396 * sysdeps/unix/common/lxstat.c: Remove file.
7397 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7398
edc7ea78
JM
7399 * sysdeps/unix/sysv/Makefile: Remove file.
7400
cb78c221
JM
7401 * sysdeps/unix/sysv/direct.h: Remove file.
7402
efa6a45f
JM
7403 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7404 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7405 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7406 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7407 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7408 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7409 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7410
9c9f2d0c
JM
7411 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7412
4541c83b
JM
7413 * sysdeps/unix/xmknod.c: Remove file.
7414 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7415
f5d153a0
JM
7416 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7417
aa746595
JM
7418 * sysdeps/unix/sysv/i386/time.S: Remove file.
7419
cce5905e
JM
7420 * sysdeps/unix/fxstat.c: Remove file.
7421 * sysdeps/unix/xstat.c: Likewise.
7422 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7423
37fa3841
JM
7424 * sysdeps/unix/sysv/sigaction.c: Remove file.
7425
ff1962a3
JM
7426 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7427 (sysdep_headers): Remove variable.
7428 [termio.h not in sysdep_headers] (generated): Likewise.
7429 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7430 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7431 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7432 * sysdeps/unix/sysv/tcflow.c: Likewise.
7433 * sysdeps/unix/sysv/tcflush.c: Likewise.
7434 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7435 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7436 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7437 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7438 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7439
e7740d31
JM
7440 * sysdeps/unix/siglist.c: Remove file.
7441
ee06f18b
JM
7442 * sysdeps/unix/getppid.S: Remove file.
7443
097d59fa
JM
7444 * sysdeps/unix/mkdir.c: Remove file.
7445 * sysdeps/unix/rmdir.c: Likewise.
7446
ff3d51ec
AS
74472012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7448
7449 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7450 ERR_MAX value.
7451 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7452 errlist-compat value.
7453
50f81fd7
DM
74542012-04-18 David S. Miller <davem@davemloft.net>
7455
7456 * sysdeps/generic/memcopy.h (reg_char): Delete.
7457 * debug/strcat_chk.c: Use char, not reg_char.
7458 * debug/strcpy_chk.c: Likewise.
7459 * debug/strncat_chk.c: Likewise.
7460 * debug/strncpy_chk.c: Likewise.
7461 * string/memchr.c: Likewise.
7462 * string/memrchr.c: Likewise.
7463 * string/rawmemchr.c: Likewise.
7464 * string/strcat.c: Likewise.
7465 * string/strchr.c: Likewise.
7466 * string/strchrnul.c: Likewise.
7467 * string/strcmp.c: Likewise.
7468 * string/strcpy.c: Likewise.
7469 * string/strncat.c: Likewise.
7470 * string/strncmp.c: Likewise.
7471 * string/strncpy.c: Likewise.
7472
8ff41c46
WS
74732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7474
7475 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7476 __builtin_memcopy is called when src and dest ranges are known to not
7477 overlap.
7478
6b652f46
WS
74792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7480
7481 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7482 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7483 fwd_align_merge macro call.
7484 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7485 bwd_align_merge macro call.
7486 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7487
b282631e
WS
74882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7489
7490 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7491 bwd_align_merge macros.
7492 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7493 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7494 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7495
95aa737c
DM
74962012-04-18 David S. Miller <davem@davemloft.net>
7497
7498 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7499
7a99a614
AJ
75002012-04-18 Andreas Jaeger <aj@suse.de>
7501
7502 [BZ# 6794]
7503 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7504 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7505 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7506
7507 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7508 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7509 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7510
7511 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7512 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7513 Adjust for changed ldbl-128 files.
7514
7515 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7516 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7517 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7518
e5270c23
DM
75192012-04-17 David S. Miller <davem@davemloft.net>
7520
7521 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7522
fb5e92c9
AS
75232012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7524
7525 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7526 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7527 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7528 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7529 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7530 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7531
76da7265
AZ
75322012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7533
7534 [BZ #6794]
7535 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7536 * math/libm-test.inc: Add ilogb errno and exception tests.
7537 * math/w_ilogb.c: New file: ilogb wrapper.
7538 * math/w_ilogbf.c: New file: ilogbf wrapper.
7539 * math/w_ilogbl.c: New file: ilogbl wrapper.
7540 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7541 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7542 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7543 exception being thrown with 0.0 as argument.
7544 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7545 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7546 exception being thrown with 0.0 as argument.
7547 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7548 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7549 exception being thrown with 0.0 as argument.
7550 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7551 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7552 exception being thrown with 0.0 as argument.
7553 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7554 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7555 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7556 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7557 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7558 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7559 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7560 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7561 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7562
0396e69d
PB
75632012-04-17 Petr Baudis <pasky@ucw.cz>
7564
7565 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7566 with altivec.
7567
750b5926
MP
75682012-04-16 Marek Polacek <polacek@redhat.com>
7569
7570 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7571
751728a1
MP
75722012-04-16 Marek Polacek <polacek@redhat.com>
7573
7574 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7575 operands of fdivp instruction.
7576
34a27407
L
75772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7578
7579 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7580 * elf/tst-auditmod3b.c: Likewise.
7581 * elf/tst-auditmod4b.c: Likewise.
7582 * elf/tst-auditmod5b.c: Likewise.
7583 * elf/tst-auditmod6b.c: Likewise.
7584 * elf/tst-auditmod6c.c: Likewise.
7585 * elf/tst-auditmod7b.c: Likewise.
7586 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7587 * sysdeps/x86_64/preconfigure.in: Likewise.
7588 * sysdeps/x86_64/preconfigure: Regenerated.
7589
7e73e17d
L
75902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7591
7592 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7593 __ILP32__.
7594
c7a6ab72
AB
75952012-04-13 Antoine Balestrat <merkil33@gmail.com>
7596
7597 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7598 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7599
a9e8e0e0
CL
76002012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7601
7602 [BZ #13973]
7603 * locale/iso-639.def: Fix gl language name. Spotted by
7604 Yaron Shahrabani.
7605
ec98af7d
RM
76062012-04-12 Roland McGrath <roland@hack.frob.com>
7607
7608 [BZ #2074]
7609 * libio/libio.h (__io_write_fn): Update comment.
7610
247c3ede
PB
76112012-04-12 Petr Baudis <pasky@ucw.cz>
7612
7613 [BZ #2074]
7614 * stdio.texi (Hook Functions): The user provided writer function
7615 is not allowed to return -1.
7616
55939d6d
DM
76172012-04-11 David S. Miller <davem@davemloft.net>
7618
7619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7620
90020f5a
MF
76212012-04-11 Mike Frysinger <vapier@gentoo.org>
7622
7623 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7624 Add a leading slash to rtkaio.
7625
288f9098
JM
76262012-04-11 Jim Meyering <meyering@redhat.com>
7627
90020f5a
MF
7628 [BZ #11959]
7629 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7630 It is not necessarily an error to ignore fwrite's return
7631 value. One can reliably use ferror to test for errors after
7632 the fact.
288f9098 7633
4be2b570
L
76342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7635
7636 * bits/types.h (__snseconds_t): New type.
7637 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7638
7639 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7641 (__SNSECONDS_T_TYPE): Likewise.
7642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7643 (__SNSECONDS_T_TYPE): Likewise.
7644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7645 (__SNSECONDS_T_TYPE): Likewise.
7646
288f9098 76472012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7648
7649 [BZ #2636]
7650 * manual/time.texi (Processor Time): Return type of times is
7651 elapsed real time since an arbitrary point in the past.
7652 (CPU Time): Move CLK_TCK from here...
7653 (Processor Time): ...to here. Correct description.
7654 * manual/conf.texi (Constants for Sysconf): Correct description of
7655 _SC_CLK_TCK.
7656
d7dd4413
DM
76572012-04-10 David S. Miller <davem@davemloft.net>
7658
7659 [BZ #13967]
7660 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7661 where the is a gap between DT_REL(A) and DT_JMPREL.
7662
b46068fc
L
76632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7664
7665 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7666 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7667 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7668
73d65cc3
SP
76692012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7670
7671 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7672 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7673 (dl_main): Handle --inhibit-cache.
7674 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7675 _dl_inhibit_cache.
7676 * elf/dl-load.c (_dl_map_object): Use it.
7677 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7678
bcc8d661
JM
76792012-04-09 Joseph Myers <joseph@codesourcery.com>
7680
8f9a2fae
JM
7681 [BZ #13872]
7682 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7683 (__ieee754_powl): Saturate large exponents rather than testing for
7684 overflow of y*log2(x).
7685 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7686 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7687 exceptions.
7688
bcc8d661
JM
7689 [BZ #11521]
7690 * math/s_ctan.c: Include <float.h>.
7691 (__ctan): Avoid internal overflow or cancellation in calculating
7692 denominator.
7693 * math/s_ctanf.c: Likewise.
7694 * math/s_ctanl.c: Likewise.
7695 * math/s_ctanh.c: Likewise.
7696 * math/s_ctanhf.c: Likewise.
7697 * math/s_ctanhl.c: Likewise.
7698 * math/libm-test.inc (ctan_test): Add more tests.
7699 (ctanh_test): Likewise.
7700 * sysdeps/i386/fpu/libm-test-ulps: Update.
7701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7702
823fbbb4
AJ
77032012-04-09 Andreas Jaeger <aj@suse.de>
7704
03879793
AJ
7705 [BZ #6894]
7706 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7707 is an optional BSD extension.
7708
823fbbb4
AJ
7709 [BZ #10254]
7710 * manual/stdio.texi (Opening Streams): Document additional fopen
7711 parameters.
7712
8de131cb
RM
77132012-04-09 Roland McGrath <roland@hack.frob.com>
7714
7715 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7716 %eax without telling the compiler.
7717
c0ed9d7d
CD
77182012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7719
7720 [BZ # 13963]
7721 * manual/install.texi: Use sourceware.org.
7722
c483f6b4
JM
77232012-04-09 Joseph Myers <joseph@codesourcery.com>
7724
d7dd9453
JM
7725 [BZ #13873]
7726 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7727 (__ieee754_pow): Generate overflow and underflow using huge*huge
7728 and tiny*tiny rather than just returning constant infinity or zero
7729 for large exponents.
7730 * math/libm-test.inc (pow_test): Require overflow exceptions for
7731 applicable cases of large exponents.
7732
c483f6b4
JM
7733 [BZ #706]
7734 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7735 (__ieee754_pow): Use iterative multiplication algorithm only for
7736 integer exponents with absolute value below 1024. Check for odd
7737 integer exponents when using algorithm for real exponents.
7738 * math/libm-test.inc (pow_test): Add more tests.
7739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7740
d2de7579
JM
77412012-04-08 Joseph Myers <joseph@codesourcery.com>
7742
7743 [BZ #13705]
7744 * math/libm-test.inc (exp_test): Do not allow overflow exception
7745 on underflow test.
7746
f77f1232
AJ
77472012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7748
7749 [BZ #13705]
7750 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7751 instead of __kernel_standard_f.
7752
3884932b
MF
77532012-04-08 Mike Frysinger <vapier@gentoo.org>
7754
7755 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7756 * sysdeps/x86_64/memset_chk.S: Likewise.
7757
54472e9c
AJ
77582012-04-08 Andreas Jaeger <aj@suse.de>
7759
6ab0fbfc
AJ
7760 [BZ #10153]
7761 * manual/startup.texi (Environment Access): Describe return value
7762 for putenv and setenv.
7763
61efba8c
AJ
7764 [BZ #6895]
7765 * manual/filesys.texi (Directory Entries): Add description for
7766 DT_LNK.
7767
95c3f29a
AJ
7768 [BZ #6890]
7769 * manual/filesys.texi (Directory Entries): Clarify that it's file
7770 system not operating system in the description of DT_UNKNOWN.
7771
54472e9c
AJ
7772 [BZ #6578]
7773 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7774
624254b1
SC
77752012-04-08 Stephen Compall <s11@member.fsf.org>
7776
7777 [BZ #6649]
7778 * manual/llio.texi (Opening and Closing Files): Add cross
7779 reference to explain mode argument.
7780
1e4920e0
MF
77812012-04-07 Mike Frysinger <vapier@gentoo.org>
7782
7783 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7784 * sysdeps/x86_64/memset_chk.S: Likewise.
7785
5ed848f3
DM
77862012-04-07 David S. Miller <davem@davemloft.net>
7787
7788 * elf/elf.h (R_SPARC_WDISP10): Define.
7789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7790 R_SPARC_SIZE32.
7791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7792 R_SPARC_SIZE64 and R_SPARC_H34.
7793
96154cd8
CD
77942012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7795
7796 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7797 conditions and remove no longer applicable assertion.
7798
9904dc47
L
77992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7800
7801 * bits/byteswap.h: Include <features.h>.
7802 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7803 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7804
f8887d0a
L
78052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7806
7807 * bits/byteswap.h (__bswap_16): Removed.
7808 Include <bits/byteswap-16.h> to get __bswap_16.
7809 * sysdeps/i386/bits/byteswap.h: Likewise.
7810 * sysdeps/s390/bits/byteswap.h: Likewise.
7811 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7812 * bits/byteswap-16.h: New file.
7813 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7814 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7815 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7816 * string/Makefile (headers): Add bits/byteswap-16.h.
7817
62470f60
PP
78182012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7819
7820 [BZ #13895]
7821 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7822 extra indirection.
7823 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7824 * nss/tst-nss-static.c: New.
7825
4dad7bab
RM
78262012-04-06 Robert Millan <rmh@gnu.org>
7827
7828 [BZ #6486]
7829 * manual/llio.texi (File Position Primitive): lseek
7830 refers to WHENCE when it really means OFFSET.
7831
e9142a17
AJ
78322012-04-06 Andreas Jaeger <aj@suse.de>
7833
2c040eff
AJ
7834 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7835 strncmp declarations.
7836
e9142a17
AJ
7837 * abilist/libc.abilist: Add __poll and __ppoll.
7838
ff9f1c5f
DM
78392012-04-05 David S. Miller <davem@davemloft.net>
7840
dcd2ae90
DM
7841 * scripts/check-local-headers.sh: Accept a host triplet in the
7842 path matched by the exclude regexp.
7843
993eb054
DM
7844 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7845 definition.
7846 * sysdeps/powerpc/powerpc32/dl-machine.h
7847 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7848 * sysdeps/s390/s390-32/dl-machine.h
7849 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7850 * sysdeps/sparc/sparc32/dl-machine.h
7851 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7852 * sysdeps/sparc/sparc64/dl-machine.h
7853 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7854
ff9f1c5f
DM
7855 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7856 lazy binding.
48e2e132 7857 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7858 undefined symbol errors.
7859
48e2e132 7860 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7861 DT_NEEDED entries.
7862
e80d6f94
MM
78632012-04-05 Michael Matz <matz@suse.de>
7864
7865 [BZ #13592]
7866 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7867
349fa79f
AJ
78682012-04-05 Andreas Jaeger <aj@suse.de>
7869
7870 [BZ #13908]
7871 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7872 comment.
7873
f402708f
KK
78742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7875
7876 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7877 which ROUND is no valid rounding mode.
7878
2ecccfc9
KK
78792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7880
7881 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7882 read again.
7883 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7884
8a53f50f
KK
78852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7886
7887 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7888 an exception using FPU order intentionally.
7889
78902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7891
7892 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7893 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7894 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7895 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7896
d653abb7
SJ
78972012-04-05 Simon Josefsson <simon@josefsson.org>
7898
7899 [BZ #12340]
7900 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7901 EINVAL when BUFLEN is too smal.
7902
c3b1bf7d
TS
79032012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7904
7905 [BZ #13553]
7906 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7907 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7908
b1aa60f3
AJ
79092012-04-03 Andreas Jaeger <aj@suse.de>
7910
c3b1bf7d 7911 [BZ #13938]
67f60a26
AJ
7912 * manual/setjmp.texi (System V contexts): Fix sentence.
7913
b1aa60f3
AJ
7914 [BZ #13926]
7915 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7916 New macro for this case.
7917 [!__GNUC__] (__bswap_64): New inline function for this case.
7918 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7919 * bits/byteswap.h: Likewise.
7920 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7921 ull, guard with __GLIBC_HAVE_LONG_LONG.
7922
7923 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7924 __GLIBC_HAVE_LONG_LONG.
7925
7926 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7927 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7928
39c59c35
TMQMF
79292012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7930
7931 [BZ #13691]
7932 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7933 inptr and inend, rather than using last_ch.
7934
135ffda8
DM
79352012-04-02 David S. Miller <davem@davemloft.net>
7936
7937 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7938 * stdio-common/printf-parse.h (read_int): Change return type to
7939 'int', return -1 on INT_MAX overflow.
7940 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7941 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7942 overflows INT_MAX. Check for overflow of in-format-string precision
7943 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7944 SIZE_MAX not INT_MAX for integer overflow test.
7945 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7946 skip the construct in the format string but do not record anything.
7947 * stdio-common/bug22.c: Adjust to test both width/prevision
7948 INT_MAX overflow as well as total length INT_MAX overflow. Check
7949 explicitly for proper errno values.
7950
228c019e
TS
79512012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7952
302cadd3
TS
7953 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7954 CHAR_MAX.
7955 * string/test-strcmp.c [! WIDE]: Likewise.
7956 * time/tst-mktime2.c: Likewise for INT_MAX.
7957 * string/test-string.h: #include <sys/param.h> for MIN.
7958
228c019e
TS
7959 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7960 * sysdeps/i386/init-first.c (init): Likewise.
7961 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7962 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7963 * sysdeps/sh/init-first.c (init): Likewise.
7964
cfa633f5
UD
79652012-04-01 Ulrich Drepper <drepper@gmail.com>
7966
7967 * po/ru.po: Update from translation team.
d1635ef8 7968 * po/vi.po: Likewise.
cfa633f5 7969
6cd0a5ea
SP
79702012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7971
7972 * resolv/nss_dns/dns-host.c: Merge copyright years.
7973
4b43400f
LD
79742012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7975
7976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7977 Optimize memcpy with prefetch if
7978 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7979 src, dst pointers have unequal 16 byte alignments.
7980
48c41d04
SP
79812012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7982
7983 [BZ #13928]
7984 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7985 from a CNAME entry and return the minimum ttl for the query.
7986 (gaih_getanswer_slice): Likewise.
7987
b8dc394d
JL
79882012-03-30 Jeff Law <law@redhat.com>
7989
7990 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7991 due to long keys.
7992 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7993 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7994
2f5a5ed0
JL
7995 * resolv/nss_dns/dns-host.c: Update copyright year.
7996
1d39e359
UD
79972012-03-30 Ulrich Drepper <drepper@gmail.com>
7998
c030f70c 7999 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8000 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8001
1d39e359
UD
8002 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8003 comments for sendmmsg.
8004
80052012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8006
8007 [BZ #13691]
8008 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8009 with only 1 character between 0x0041 and 0x01b0.
8010 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8011 * wcsmbs/tst-mbsnrtowcs.c: New file.
8012
20fde227
DM
80132012-03-29 David S. Miller <davem@davemloft.net>
8014
8015 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8016 small copies by hand.
8017
984a4237
JL
80182012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8019
8020 [BZ #13761]
8021 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8022 _nss_compat_initgroups_dyn): Fall back to malloc/free
8023 for large group memberships.
8024
18c9d62b
DM
80252012-03-28 David S. Miller <davem@davemloft.net>
8026
88d85d4f
DM
8027 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8028 that branches into memcpy.
8029 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8030 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8032 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8033 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8034 bits.
8035 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8036 implementation too.
8037 * sysdeps/sparc/mempcpy.S: New file.
8038
e5aa83e1
DM
8039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8040 the IFUNC routine in the libc case.
8041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8042
88570753
DM
8043 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8044 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8045 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8046 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8047 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8048 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8049 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8050 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8051
249d7567
DM
8052 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8053 loop to 256 bytes instead of 64 bytes and fix test signedness.
8054
18c9d62b
DM
8055 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8056 * sysdeps/sparc/sparc32/Makefile: rather than here...
8057 * sysdeps/sparc/sparc64/Makefile: and here.
8058
05f3d1f6
UD
80592012-03-28 Ulrich Drepper <drepper@gmail.com>
8060
8061 * malloc/mallocbug.c: Avoid warnings about unused variables.
8062
86ae07a8
JL
80632012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8064
8065 [BZ #13760]
8066 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8067 in the right place. Discard and retry query if response is
8068 larger than input buffer size.
8069
41bf21a1
JM
80702012-03-28 Joseph Myers <joseph@codesourcery.com>
8071
d6270972
JM
8072 [BZ #369]
8073 [BZ #2678]
8074 [BZ #3866]
8075 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8076 x for large integer exponent.
8077 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8078 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8079 sign of result as needed afterwards.
8080 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8081 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8082 result for underflowing pow the same as for overflow.
8083 (__kernel_standard_l): Handle powl overflow and underflow here
8084 rather than calling __kernel_standard.
8085 * math/libm-test.inc (pow_test): Add more tests.
8086
414fca03 8087 [BZ #3868]
41bf21a1
JM
8088 [BZ #13879]
8089 [BZ #13910]
8090 [BZ #13911]
8091 [BZ #13912]
8092 [BZ #13913]
8093 [BZ #13915]
8094 [BZ #13916]
8095 [BZ #13917]
8096 [BZ #13918]
8097 [BZ #13919]
8098 [BZ #13920]
8099 [BZ #13921]
8100 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8101 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8102 (__kernel_standard_l): New function.
8103 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8104 __kernel_standard.
8105 * math/w_acosl.c (__acosl): Likewise.
8106 * math/w_asinl.c (__asinl): Likewise.
8107 * math/w_atan2l.c (__atan2l): Likewise.
8108 * math/w_atanhl.c (__atanhl): Likewise.
8109 * math/w_coshl.c (__coshl): Likewise.
8110 * math/w_exp10l.c (__exp10l): Likewise.
8111 * math/w_exp2l.c (__exp2l): Likewise.
8112 * math/w_fmodl.c (__fmodl): Likewise.
8113 * math/w_hypotl.c (__hypotl): Likewise.
8114 * math/w_j0l.c (__j0l, __y0l): Likewise.
8115 * math/w_j1l.c (__j1l, __y1l): Likewise.
8116 * math/w_jnl.c (__jnl, __ynl): Likewise.
8117 * math/w_lgammal.c (__lgammal): Likewise.
8118 * math/w_log10l.c (__log10l): Likewise.
8119 * math/w_log2l.c (__log2l): Likewise.
8120 * math/w_logl.c (__logl): Likewise.
8121 * math/w_powl.c (__powl): Likewise.
8122 * math/w_remainderl.c (__remainderl): Likewise.
8123 * math/w_scalbl.c (sysv_scalbl): Likewise.
8124 * math/w_sinhl.c (__sinhl): Likewise.
8125 * math/w_sqrtl.c (__sqrtl): Likewise.
8126 * math/w_tgammal.c (__tgammal): Likewise.
8127 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8128 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8129 * math/libm-test.inc (acos_test): Add more tests.
8130 (acosh_test): Likewise.
8131 (asin_test): Likewise.
8132 (atanh_test): Likewise.
8133 (exp_test): Likewise.
8134 (exp10_test): Likewise.
8135 (exp2_test): Likewise.
8136 (expm1_test): Likewise.
8137 (lgamma_test): Likewise.
8138 (log_test): Likewise.
8139 (log10_test): Likewise.
8140 (log1p_test): Likewise.
8141 (log2_test): Likewise.
8142 (pow_test): Do not allow some spurious overflow exceptions.
8143 (sqrt_test): Add more tests.
8144 (tgamma_test): Likewise.
8145 (y0_test): Likewise.
8146 (y1_test): Likewise.
8147 (yn_test): Likewise.
8148
dd62fda6
AB
81492012-03-27 Anton Blanchard <anton@samba.org>
8150
8151 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8152 MAP_HUGETLB.
8153 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8154 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8156
1e3cdfda
AJ
81572012-03-27 David S. Miller <davem@davemloft.net>
8158
b855ab85
DM
8159 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8160
1e3cdfda
AJ
8161 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8162 have-as-vis3 check.
8163
81642012-03-27 Andreas Jaeger <aj@suse.de>
8165
8166 * sysdeps/x86_64/elf/configure.in: Moved to ...
8167 * sysdeps/x86_64/configure.in: ... here.
8168 * sysdeps/x86_64/elf/start.S: Moved to ...
8169 * sysdeps/x86_64/start.S: ... here.
8170 * sysdeps/x86_64/elf/configure: Delete.
8171
8172 * sysdeps/x86_64/configure.in: Merge contents from
8173 sysdeps/i386/configure.in (without i686 check).
8174
8175 * sysdeps/i386/elf/Versions: Merge into ...
8176 * sysdeps/i386/Versions: ... this.
8177 * sysdeps/i386/elf/Versions: Delete file.
8178 * sysdeps/i386/elf/start.S: Moved to ...
8179 * sysdeps/i386/start.S: ...here.
8180 * sysdeps/i386/elf/configure.in: Merge into...
8181 * sysdeps/i386/configure.in: ...here.
8182 * sysdeps/i386/elf/configure.in: Delete file.
8183 * sysdeps/i386/elf/configure: Delete file.
8184
8185 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8186 * debug/backtracesyms.c: ... here.
8187 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8188 * debug/backtracesymsfd.c: ... here.
8189 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8190 * sysdeps/generic/ifunc-sel.h: ... here.
8191
8192 * sysdeps/unix/i386/start.c: Delete file.
8193 * sysdeps/unix/sparc/start.c: Delete file.
8194 * sysdeps/unix/start.c: Delete file.
8195
8196 * sysdeps/sh/elf/configure.in: Moved to ...
8197 * sysdeps/sh/configure.in: ... here.
8198 * sysdeps/sh/elf/start.S: Moved to ...
8199 * sysdeps/sh/start.S: ... here.
8200 * sysdeps/sh/elf/configure: Delete file.
8201
8202 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8203 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8204 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8205 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8206 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8207 * sysdeps/powerpc/powerpc64/start.S: here.
8208 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8209 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8210 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8211 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8212 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8213
8214 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8215 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8216 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8217 * sysdeps/powerpc/powerpc32/start.S: ... here.
8218 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8219 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8220 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8221
8222 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8223 * sysdeps/powerpc/ifunc-sel.h: ... here.
8224 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8225 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8226
8227 * sysdeps/sparc/elf/configure.in: Moved to ...
8228 * sysdeps/sparc/configure.in: ... here.
8229 * sysdeps/sparc/elf/configure: Delete file.
8230 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8231 * sysdeps/sparc/sparc32/start.S: ... here.
8232 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8233 * sysdeps/sparc/sparc64/start.S: ... here.
8234 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8235 * sysdeps/sparc/sparc32/Makefile: ... this.
8236 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8237 * sysdeps/sparc/sparc64/Makefile: ... this.
8238
8239 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8240 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8241 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8242 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8243 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8244 * sysdeps/s390/s390-32/setjmp.S: ... here.
8245 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8246 * sysdeps/s390/s390-32/configure.in: ... here.
8247 * sysdeps/s390/s390-32/elf/configure: Delete file.
8248 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8249 * sysdeps/s390/s390-32/start.S: ... here.
8250
8251 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8252 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8253 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8254 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8255 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8256 * sysdeps/s390/s390-64/setjmp.S: ... here.
8257 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8258 * sysdeps/s390/s390-64/configure.in: ... here
8259 * sysdeps/s390/s390-64/elf/configure: Delete file.
8260 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8261 * sysdeps/s390/s390-64/start.S: ... here.
8262 * sysdeps/s390/s390-64/elf/configure: Delete.
8263
8264 * configure.in: Remove support for elf directories in sysdeps.
8265
8266 * configure: Regenerated.
8267 * sysdeps/i386/configure: Regenerated.
8268 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8269 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8270 * sysdeps/s390/s390-32/configure: Regenerated.
8271 * sysdeps/s390/s390-64/configure: Regenerated.
8272 * sysdeps/sh/configure: Regenerated.
8273 * sysdeps/sparc/configure: Regenerated.
8274 * sysdeps/x86_64/configure: Regenerated.
8275
a3f61311
AS
82762012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8277
c876e002
AS
8278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8279
a3f61311
AS
8280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8281 denormal result into account.
8282
ac4c54f0
RM
82832012-03-25 Roland McGrath <roland@hack.frob.com>
8284
8285 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8286 Reported by Allan McRae <allan@archlinux.org>.
8287
6a9b9c02
JL
82882012-03-23 Jeff Law <law@redhat.com>
8289
8290 * nss/getnssent.c (__nss_getent): Fix typo.
8291
4c42a0c1
DM
82922012-03-23 David S. Miller <davem@davemloft.net>
8293
8294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8295
1532c7ac
L
82962012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8297
8298 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8299 to pad to uint64_t for each field.
8300 (dl_tls_index): Replace unsigned long with uint64_t.
8301
3ff42526
PP
83022012-03-23 Daniel Jacobowitz <dmj@google.com>
8303 Paul Pluzhnikov <ppluzhnikov@google.com>
8304
8305 [BZ #6528]
8306 * grp/Makefile (otherlibs): Don't set it.
8307 * inet/Makefile (otherlibs): Likewise.
8308 * login/Makefile (otherlibs): Likewise.
8309 * nscd/Makefile (otherlibs): Likewise.
8310 * posix/Makefile (otherlibs): Likewise.
8311 * pwd/Makefile (otherlibs): Likewise.
8312 * rt/Makefile (otherlibs): Likewise.
8313 * sunrpc/Makefile (otherlibs): Likewise.
8314 * nss/Makefile (otherlibs): Likewise.
8315 Add libnss_files to routines and static-only-routines.
8316 ($(objpfx)getent): Remove rule.
8317 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8318 static-only-routines.
8319
7c69cd14
JM
83202012-03-22 Joseph Myers <joseph@codesourcery.com>
8321
8322 [BZ #13892]
8323 * math/s_cexp.c: Include <float.h>.
8324 (__cexp): Handle exp result overflowing not necessarily
8325 overflowing both real and imaginary parts of result.
8326 * math/s_cexpf.c: Likewise.
8327 * math/s_cexpl.c: Likewise.
8328 * math/libm-test.inc (cexp_test): Add more tests.
8329 * sysdeps/i386/fpu/libm-test-ulps: Update.
8330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8331
81b035fe
L
83322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8333
8334 * include/link.h (ELFW): New macro.
8335 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8336 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8337
1da7940c
L
83382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8339
8340 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8341 with uint64_t.
8342
b749dbb9
L
83432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8344
8345 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8346 declaration.
8347 (struct La_x32_retval): Likewise.
8348
2ff87f3f
L
83492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8350
8351 * sysdeps/x86_64/preconfigure.in: New file.
8352 * sysdeps/x86_64/preconfigure: New generated file.
8353
c0df8e69
JM
83542012-03-22 Joseph Myers <joseph@codesourcery.com>
8355
48e44791
JM
8356 [BZ #13824]
8357 * math/e_exp2l.c: Include <float.h>.
8358 (__ieee754_exp2l): Handle overflow and underflow cases
8359 separately. Only pass fractional part of argument to
8360 __ieee754_expl.
8361 * math/libm-test.inc (exp2_test): Add more tests.
8362
c0df8e69
JM
8363 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8364 negating x to take absolute value.
8365 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8366 Likewise.
8367 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8368 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8369 Likewise.
8370 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8371 computing low part if x was negated.
8372 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8373
c8e43ba7
L
83742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8375
8376 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8377 la_x32_gnu_pltexit.
8378 (pltexit): Cast int_retval to ptrdiff_t.
8379 * elf/tst-auditmod3b.c: Likewise.
8380 * elf/tst-auditmod4b.c: Likewise.
8381 * elf/tst-auditmod5b.c: Likewise.
8382 * elf/tst-auditmod6b.c: Likewise.
8383 * elf/tst-auditmod6c.c: Likewise.
8384 * elf/tst-auditmod7b.c: Likewise.
8385
8386 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8387 and x32_gnu_pltexit.
8388
8389 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8390 __ELF_NATIVE_CLASS.
8391 (La_x32_regs): New macro.
8392 (La_x32_retval): Likewise.
8393 (la_x32_gnu_pltenter): New function prototype.
8394 (la_x32_gnu_pltexit): Likewise.
8395
7998fa78
AS
83962012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8397
dcb33988
AS
8398 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8399 exponent.
8400
233fc563
AS
8401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8402
7998fa78
AS
8403 * configure.in (libc_cv_cc_nofma): Check for option to disable
8404 generation of FMA instructions.
8405 * configure: Regenerate.
8406 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8407 * sysdeps/ieee754/dbl-64/Makefile: New file.
8408 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8409 Remove brandred-fma4.
8410 (CFLAGS-brandred-fma4.c): Remove.
8411 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8412 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8413 define.
8414 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8415 define.
8416
8e95c99a
L
84172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8418
8419 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8420 LLONG_MAX != LONG_MAX.
8421 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8422 (_fitoa_word): Likewise.
8423 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8424 LLONG_MAX != LONG_MAX.
8425 * stdio-common/_itowa.h: Include <_itoa.h>.
8426 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8427 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8428 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8429 only if not defined.
8430 (_ITOA_WORD_TYPE): Likewise.
8431 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8432 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8433
6f4db457
DM
84342012-03-21 David S. Miller <davem@davemloft.net>
8435
8436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8437
7785fe5a
L
84382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8439
8440 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8441 of x86_64 when setting libc_cv_slibdir, libdir and
8442 libc_cv_localedir.
8443 * sysdeps/unix/sysv/linux/configure: Regenerated.
8444
4535cd55
JM
84452012-03-21 Joseph Myers <joseph@codesourcery.com>
8446
8447 * manual/lang.texi (Old Varargs): Remove section.
8448 (How Variadic): Update menu.
8449 (va_start): Do not mention varargs.h.
8450
17228132
TS
84512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8452 Joseph Myers <joseph@codesourcery.com>
8453
8454 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8455 link test.
8456 * configure: Regenerated.
8457
8149f976
TS
84582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8459
05f3d1f6
UD
8460 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8461 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8462 conformtest.pl
8149f976 8463
1a4ac776
JM
84642012-03-21 Joseph Myers <joseph@codesourcery.com>
8465
be22ce65
JM
8466 * NOTES: Remove.
8467 * Makefile (files-for-dist): Remove NOTES.
8468 (NOTES): Remove rule.
8469 * README: Don't refer to NOTES.
8470 * manual/creature.texi: Don't include macros.texi.
8471 * manual/intro.texi (creature.texi): Remove comment referring to
8472 NOTES.
8473
40b601fb
JM
8474 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8475 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8476 * configure: Regenerated.
8477 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8478 LIBC_TRY_CC_OPTION.
8479 (libc_cv_as_i686): Likewise.
8480 (libc_cv_cc_avx): Likewise.
8481 (libc_cv_cc_sse2avx): Likewise.
8482 (libc_cv_cc_fma4): Likewise.
8483 (libc_cv_cc_novzeroupper): Likewise.
8484 * sysdeps/i386/configure: Regenerated.
8485
1a4ac776
JM
8486 [BZ #13883]
8487 * sysdeps/i386/fpu/s_cexp.S: Remove.
8488 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8489 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8490 * math/libm-test.inc (cexp_test): Add more tests.
8491 * sysdeps/i386/fpu/libm-test-ulps: Update.
8492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8493
a458e7fe
AM
84942012-03-21 Allan McRae <allan@archlinux.org>
8495
8496 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8497
0cb7efc5
JM
84982012-03-21 Joseph Myers <joseph@codesourcery.com>
8499
8500 [BZ #13871]
8501 * math/w_exp2.c: Do not include <float.h>.
8502 (o_threshold, u_threshold): Remove.
8503 (__exp2): Calculate result before checking finiteness and calling
8504 __kernel_standard.
8505 * math/w_exp2f.c: Likewise.
8506 * math/w_exp2l.c: Likewise.
8507 * math/libm-test.inc (exp2_test): Require overflow exception for
8508 1e6 input.
2460d3aa
JM
8509
8510 [BZ #3866]
8511 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8512 range of signed 64-bit integers before using fistpll. Remove
8513 checks for whether integers fit in mantissa bits.
8514 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8515 the range of signed 32-bit integers before using fistpl. Remove
8516 checks for whether integers fit in mantissa bits.
8517 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8518 (__ieee754_powl): Test for y outside the range of signed 64-bit
8519 integers before using fistpll. Reduce 64-bit values to 63-bit
8520 ones as needed.
8521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8522 divide-by-zero is raised for zero to large negative powers.
8523 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8524 (__ieee754_powl): Test for y outside the range of signed 64-bit
8525 integers before using fistpll. Reduce 64-bit values to 63-bit
8526 ones as needed.
8527 * math/libm-test.inc (pow_test): Add more tests.
8528
eb96ffb0
L
85292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8532 <stdio-common/_itoa.h>.
8533 * debug/segfault.c: Likewise.
8534 * elf/dl-cache.c: Likewise.
8535 * elf/dl-minimal.c: Likewise.
8536 * elf/dl-misc.c: Likewise.
8537 * elf/dl-sysdep.c: Likewise.
8538 * elf/dl-version.c: Likewise.
8539 * elf/rtld.c: Likewise.
8540 * hurd/hurdsock.c: Likewise.
8541 * hurd/lookup-retry.c: Likewise.
8542 * malloc/malloc.c: Likewise.
8543 * malloc/mtrace.c: Likewise.
8544 * nscd/nscd_getgr_r.c: Likewise.
8545 * nscd/nscd_getpw_r.c: Likewise.
8546 * nscd/nscd_getserv_r.c: Likewise.
8547 * posix/getopt_init.c: Likewise.
8548 * posix/wordexp.c: Likewise.
8549 * stdio-common/_itoa.c: Likewise.
8550 * stdio-common/printf_fphex.c: Likewise.
8551 * stdio-common/vfprintf.c: Likewise.
8552 * string/_strerror.c: Likewise.
8553 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8554 * sysdeps/i386/i686/hp-timing.h: Likewise.
8555 * sysdeps/mach/_strerror.c: Likewise.
8556 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8557 * sysdeps/mach/hurd/sethostid.c: Likewise.
8558 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8559 * sysdeps/mach/xpg-strerror.c: Likewise.
8560 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8561 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8562 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8563 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8564 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8565 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8566 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8567 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8568 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8569 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8570 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8571 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8572 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8573 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8574 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8575 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8576 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8577 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8578 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8579 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8580 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8581
8582 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8583
8584 * stdio-common/_itoa.h: Moved to ...
8585 * sysdeps/generic/_itoa.h: Here.
8586
8587 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8588
8589 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8590 instead of "_itoa.h" and "_itowa.h".
8591 * stdio-common/vfprintf.: Likewise.
8592
d1af992d
L
85932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8594
8595 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8596 <bits/wordsize.h>.
8597 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8598 (__signbit): Likwise.
8599 (llrintf): Likwise.
8600 (llrint): Likwise.
8601
114883e0
L
86022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8603
8604 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8605 __WORDSIZE != 64.
8606
c135cc1b
JM
86072012-03-20 Joseph Myers <joseph@codesourcery.com>
8608
8609 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8610 OVERFLOW_EXCEPTION_OK.
8611 * math/libm-test.inc ("Philosophy"): Update comment about
8612 exception testing.
8613 (OVERFLOW_EXCEPTION): Define.
8614 (OVERFLOW_EXCEPTION_OK): Likewise.
8615 (INVALID_EXCEPTION_OK): Renumber.
8616 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8617 (IGNORE_ZERO_INF_SIGN): Likewise.
8618 (test_exceptions): Handle FE_OVERFLOW.
8619 (exp10_test): Expect overflow exceptions.
8620 (exp2_test): Likewise.
8621 (expm1_test): Likewise.
8622 (nextafter_test): Likewise.
8623 (pow_test): Likewise.
8624 (scalbn_test): Likewise.
8625 (scalbln_test): Likewise.
8626
95443d88
L
86272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8628
8629 * sysdeps/x86_64/bits/atomic.h
8630 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8631 64bit integer.
8632 (atomic_exchange_acq): Likewise.
8633 (__arch_exchange_and_add_body): Likewise.
8634 (__arch_add_body): Likewise.
8635 (atomic_add_negative): Likewise.
8636 (atomic_add_zero): Likewise.
8637
490df6c4
L
86382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8639
c2722551 8640 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8641 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8642
5e52b189
L
86432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8644
8645 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8646 Check __x86_64__ instead of __WORDSIZE.
8647
a9879d4c
L
86482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8649
8650 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8651
5df98260
DM
86522012-03-19 David S. Miller <davem@davemloft.net>
8653
e1497744
DM
8654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8655
5df98260
DM
8656 * sysdeps/sparc/fpu/fenv_private.h: New file.
8657 * sysdeps/sparc/fpu/math_private.h: Use it.
8658 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8659 Remove.
8660 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8661 (libc_feholdexcept_setroundl): Remove.
8662 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8663 Remove.
8664 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8665 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8666
b4c35121
L
86672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8668
8669 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8670 int64_t instead of long int.
8671 (INSERT_WORDS64): Likwise.
8672
56965fd7
L
86732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8674
8675 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8676 _Unwind_GetCFA return to _Unwind_Ptr first.
8677
83d1aec8
JM
86782012-03-19 Joseph Myers <joseph@codesourcery.com>
8679
1897ad44
JM
8680 [BZ #13629]
8681 * math/s_clog.c: Include <float.h>.
8682 (__clog): Scale large or subnormal inputs.
8683 * math/s_clogf.c: Likewise.
8684 * math/s_clogl.c: Likewise.
8685 * math/s_clog10.c: Include <float.h>.
8686 (M_LOG10_2): Define.
8687 (__clog10): Scale large or subnormal inputs.
8688 * math/s_clog10f.c: Likewise.
8689 * math/s_clog10l.c: Likewise.
8690 * math/libm-test.inc (clog_test): Add more tests.
8691 (clog10_test): Likewise.
8692 * sysdeps/i386/fpu/libm-test-ulps: Update.
8693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8694
7726d6a9
JM
8695 [BZ #11451]
8696 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8697 x and y.
8698 * math/libm-test.inc (atan2_test): Add another test.
8699
83d1aec8
JM
8700 * Makerules (common-objdir-compile): Remove.
8701 * sysdeps/unix/Makefile (config-generated): Do not add
8702 $(unix-generated) to variable.
8703 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8704 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8705 Remove rule.
8706 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8707 Likewise.
8708 [generic bits/local_lim.h] (before-compile): Do not append to
8709 variable.
8710 [generic bits/local_lim.h] (common-generated): Likewise.
8711 [generic sys/param.h] (before-compile): Do not append to variable.
8712 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8713 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8714 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8715 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8716 include.
8717 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8718 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8719 [generic sys/param.h] ($(addprefix
8720 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8721 [generic sys/param.h] (common-generated): Do not append to
8722 variable.
8723 [generic sys/param.h] (sysdep_headers): Likewise.
8724 [generic bits/errno.h] (before-compile): Do not append to
8725 variable.
8726 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8727 rule.
8728 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8729 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8730 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8731 [generic bits/errno.h] (common-generated): Do not append to
8732 variable.
8733 [generic bits/ioctls.h] (before-compile): Do not append to
8734 variable.
8735 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8736 rule.
8737 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8738 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8739 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8740 rule.
8741 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8742 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8743 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8744 [generic bits/ioctls.h] (common-generated): Do not append to
8745 variable.
8746 [generic sys/syscall.h] (syscall.h): Remove variable.
8747 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8748 rule.
8749 [generic sys/syscall.h] (before-compile): Do not append to
8750 variable.
8751 [generic sys/syscall.h] (common-generated): Likewise.
8752 * sysdeps/unix/errnos-tmpl.c: Remove file.
8753 * sysdeps/unix/errnos.awk: Likewise.
8754 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8755 * sysdeps/unix/ioctls.awk: Likewise.
8756 * sysdeps/unix/mk-local_lim.c: Likewise.
8757 * sysdeps/unix/snarf-ioctls: Likewise.
8758
4851a949
RH
87592012-03-19 Richard Henderson <rth@twiddle.net>
8760
bd37f2ee
RH
8761 * sysdeps/i386/fpu/fenv_private.h: New file.
8762 * sysdeps/i386/fpu/math_private.h: Use it.
8763 (math_opt_barrier, math_force_eval): Remove.
8764 (libc_feholdexcept_setround_53bit): Remove.
8765 (libc_feupdateenv_53bit): Remove.
8766 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8767 (math_opt_barrier, math_force_eval): Remove.
8768 (libc_feholdexcept): Remove.
8769 (libc_feholdexcept_setround): Remove.
8770 (libc_fetestexcept, libc_fesetenv): Remove.
8771 (libc_feupdateenv_test): Remove.
8772 (libc_feupdateenv, libc_feholdsetround): Remove.
8773 (libc_feresetround): Remove.
8774
d0adc922
RH
8775 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8776 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8777
0fe0f1f8
RH
8778 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8779 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8780 (libc_feupdateenv_testl): New.
8781 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8782 (libc_feupdateenv_testf): New.
8783 (libc_feupdateenv): Use libc_feupdateenv_test.
8784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8785 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8786
eb92c487
RH
8787 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8788 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8789 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8790 (libc_feresetround_noex): New.
8791 (libc_feresetround_noexf): New.
8792 (libc_feresetround_noexl): New.
8793 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8794 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8795 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8796 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8797 SET_RESTORE_ROUND.
8798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8799 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8800 (__cos): Likewise.
8801 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8802 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8803 SET_RESTORE_ROUND_NOEX.
8804 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8805 SET_RESTORE_ROUND_NOEXF.
8806 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8807 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8808 (libc_feholdsetroundf): New.
8809 (libc_feresetround, libc_feresetroundf): New.
8810
7d2e8012
RH
8811 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8812 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8813 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8814
b4dabbb4
RH
8815 * sysdeps/generic/math_private.h: Include <fenv.h>.
8816 (default_libc_feholdexcept): New.
8817 (default_libc_feholdexcept_setround): New.
8818 (default_libc_fesetenv, default_libc_feupdateenv): New.
8819 (libc_feholdexcept): Only define if undefined.
8820 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8821 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8822 (libc_feholdexcept_setroundl): Likewise.
8823 (libc_feholdexcept_setround_53bit): Likewise.
8824 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8825 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8826 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8827 (libc_feupdateenv_53bit): Likewise.
8828 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8829 (libc_feholdexcept): Convert from macro to inline function.
8830 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8831 (libc_fesetenv, libc_feupdateenv): Likewise.
8832
4851a949
RH
8833 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8834 not previously defined.
8835 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8836 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8837 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8838 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8839 * sysdeps/ieee754/flt-32/math_private.h: New file.
8840 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8841 math_private.h below SET_FLOAT_WORD.
8842 (__isnan, __isinf_ns, __finite): Remove.
8843 (__isnanf, __isinf_nsf, __finitef): Remove.
8844
e79d442e
AS
88452012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8846
8847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8848
90b80344
DM
88492012-03-17 David S. Miller <davem@davemloft.net>
8850
8851 [BZ #6471]
8852 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8853 for 2.16.
8854
edc21804
DM
88552012-03-16 David S. Miller <davem@davemloft.net>
8856
77e927af
DM
8857 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8858 warnings.
8859
374976dd
DM
8860 [BZ #6471]
8861 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8862 properly.
8863 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8864 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8865 sysdep_routines when subdir is sysvipc.
8866 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8867 __getshmlba helper.
8868
edc21804
DM
8869 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8870
473c3ef3
L
88712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8872
8873 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8874 [__LP64__].
8875
eb0f39b6
L
88762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8877
8878 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8879 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8880 (__lround): Renamed to ...
8881 (__llround): This. Replace long int with long long int.
8882 Define lround functions as aliases of llround functions.
8883 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8884
6b6cd74b
L
88852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8886
8887 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8888 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8889 adresses to uintptr_t. Replace "long int" and "unsigned long
8890 int" with "greg_t" on va_arg.
8891
f1a77b01
L
88922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8893
8894 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8895 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8896
8897 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8898 Move e_machine check before EI_CLASS check. Handle x32
8899 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8900 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8901 SKIP_EM_IA_64 and include
8902 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8903
8904 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8905 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8906 (add_system_dir): New macro.
8907
8908 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8909 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8910
11b90b9f
JM
89112012-03-16 Joseph Myers <joseph@codesourcery.com>
8912
c36e1d23
JM
8913 [BZ #2551]
8914 [BZ #2552]
8915 [BZ #2553]
8916 [BZ #2554]
8917 [BZ #2562]
8918 [BZ #2563]
8919 [BZ #2565]
8920 [BZ #2566]
8921 [BZ #2576]
8922 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8923 (y0): Likewise.
8924 * math/w_j0f.c (j0f): Likewise.
8925 (y0f): Likewise.
8926 * math/w_j0l.c (__j0l): Likewise.
8927 (__y0l): Likewise.
8928 * math/w_j1.c (j1): Likewise.
8929 (y1): Likewise.
8930 * math/w_j1f.c (j1f): Likewise.
8931 (y1f): Likewise.
8932 * math/w_j1l.c (__j1l): Likewise.
8933 (__y1l): Likewise.
8934 * math/w_jn.c (jn): Likewise.
8935 (yn): Likewise.
8936 * math/w_jnf.c (jnf): Likewise.
8937 (ynf): Likewise.
8938 * math/w_jnl.c (__jnl): Likewise.
8939 (__ynl): Likewise.
8940 * math/libm-test.inc (j0_test): Add more tests.
8941 (j1_test): Likewise.
8942 (jn_test): Likewise. Add trailing semicolon to existing test.
8943 (y0_test): Likewise.
8944 (y1_test): Likewise.
8945 * sysdeps/i386/fpu/libm-test-ulps: Update.
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8947
11b90b9f
JM
8948 [BZ #13851]
8949 [BZ #13854]
8950 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8951 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8952 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8953 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8954 (__tanl): Set errno for infinite argument.
8955 * sysdeps/i386/fpu/mptan.c: Remove.
8956 * sysdeps/i386/fpu/s_tan.S: Likewise.
8957 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8958 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8959 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8960 * math/libm-test.inc (tan_test): Add more tests and enable more
8961 tests for double and long double.
8962 * sysdeps/i386/fpu/libm-test-ulps: Update.
8963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8964
6a1bd2a1
JK
89652012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8966
8967 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8968 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8969
10a803e0
RM
89702012-03-16 Roland McGrath <roland@hack.frob.com>
8971
8972 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8973 * configure.in: Use it for both main tree and add-ons.
8974 * configure: Regenerated.
8975
f196c7f7
L
89762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8977
8978 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8979
8848d99d
JM
89802012-03-16 Joseph Myers <joseph@codesourcery.com>
8981
96cbe7f4
JM
8982 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8983 in comment.
8984
8848d99d
JM
8985 [BZ #13851]
8986 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8987 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8991 infinite argument.
8992 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8994 != 0 for prec == 2.
8995 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8996 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8997 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8998 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8999 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9000 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9001 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9002 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9003 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9004 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9005 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9006 * math/libm-test.inc (cos_test): Add more tests and enable more
9007 tests for long double.
9008 (sin_test): Likewise.
9009 (sincos_test): Likewise.
9010 * sysdeps/i386/fpu/libm-test-ulps: Update.
9011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9012
dd7f4703
DM
90132012-03-16 David S. Miller <davem@davemloft.net>
9014
9015 * sysdeps/sparc/fpu/math_private.h: New file.
9016
006f1daa
DM
90172012-03-15 David S. Miller <davem@davemloft.net>
9018
c0c83bc8
DM
9019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9020 file.
e6a62e18 9021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9023 file.
e6a62e18
DM
9024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9029 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9030 sysdep routines.
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9032
88cb87d9
DM
9033 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9034 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9035
006f1daa 9036 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9038 sparc-ifunc.h
006f1daa 9039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9041 Likewise.
9042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9043 Likewise.
006f1daa
DM
9044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9048 Likewise.
006f1daa
DM
9049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9054 Likewise.
9055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9056 Likewise.
006f1daa
DM
9057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9079 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9081
11e0098e
AS
90822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9083
9084 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9085 scaling.
9086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9087
e85b09d0
AJ
90882012-03-15 Andreas Jaeger <aj@suse.de>
9089
9090 [BZ #13852]
9091 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9092 ieee754/flt-32 implementation for sin, cos and sincos.
9093 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9094 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9095 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9096 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9097 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9098 ieee754/flt-32 implementation for tan.
9099
9100 * math/libm-test.inc (cos_test): Enable some large input tests for
9101 float as well
9102 (sin_test): Likewise.
9103 (sincos_test): Likewise.
9104 (tan_test): Add tests for large input.
9105
9106 * sysdeps/i386/fpu/libm-test-ulps: Update.
9107
81c64153
AJ
91082012-03-15 Andreas Jaeger <aj@suse.de>
9109
9110 [BZ #13658]
9111 * math/libm-test.inc (cos_test): Add more test cases.
9112 (sin_test): Likewise.
9113 (sincos_test): Likewise.
9114
7bbfa5c6
AJ
91152012-03-15 Andreas Jaeger <aj@suse.de>
9116
9117 [BZ #13837]
9118 * math/libm-test.inc (cos_test): Add a test case for large input
9119 value.
9120 (sin_test): Likewise.
9121 (sincos_test): Likewise.
9122
91232012-03-15 Andreas Jaeger <aj@suse.de>,
9124 Joseph Myers <joseph@codesourcery.com>
9125
9126 [BZ #13658]
0671f479 9127 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9128 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9129 * sysdeps/i386/fpu/branred.c: Likewise.
9130 * sysdeps/i386/fpu/dosincos.c: Likewise.
9131 * sysdeps/i386/fpu/mpa.c: Likewise.
9132 * sysdeps/i386/fpu/s_cos.S: Likewise.
9133 * sysdeps/i386/fpu/s_sin.S: Likewise.
9134 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9135 * sysdeps/i386/fpu/sincos32.c: Likewise.
9136
9137 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9138 Define.
9139 (libc_feupdateenv_53bit): Define.
9140 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9141 Define.
9142 (libc_feupdateenv_53bit): Define.
9143
9144 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9145 53 bit (without extend i386 double precision).
9146
9147 * math/libm-test.inc (sincos_test): Add tests for large input.
9148 (sin): Likewise.
9149 (cos): Likewise.
9150
9151 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9152
9cad04ea
AS
91532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9154
9155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9156
f7062b9a
DM
91572012-03-15 David S. Miller <davem@davemloft.net>
9158
9159 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9160 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9161 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9162 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9175 file.
f7062b9a 9176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9178 file.
f7062b9a 9179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9181 file.
f7062b9a 9182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9184 file.
f7062b9a
DM
9185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9187 fmin/fmax sysdep routines.
9188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9189
7bd951ff
DM
91902012-03-14 David S. Miller <davem@davemloft.net>
9191
559398ab
DM
9192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9220 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9221 routines.
9222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9223 file.
559398ab 9224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9226 file.
559398ab 9227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9229 file.
559398ab 9230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9232 file.
559398ab 9233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9235 file.
559398ab 9236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9238 file.
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9240 file.
9241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9242 file.
9243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9244 file.
9245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9246 New file.
9247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9248 file.
9249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9250 file.
559398ab 9251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9253 file.
559398ab 9254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9256 file.
559398ab 9257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9259 file.
559398ab 9260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9262 VIS3 routines.
559398ab
DM
9263
9264 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9265 New file.
9266
5a1c1e32
DM
9267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9268
eae47a36
DM
9269 * sysdeps/sparc/configure.in: New file.
9270 * sysdeps/sparc/configure: Generate.
9271 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9272 * configure: Regenerate.
9273 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9274 * config.make.in (have-as-vis3): New.
9275 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9276 available use -Av9d instead of -Av9a.
9277 * sysdeps/sparc/sparc64/Makefile: Likewise.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9280 New file.
9281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9282 file.
9283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9284 New file.
9285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9286 file.
eae47a36
DM
9287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9288 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9292
c0c83bc8
DM
9293 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9294 fzeros/fnegs to load 0x80000000 into a float register instead of
9295 using the stack.
7bd951ff
DM
9296 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9297
bd951ccb
JM
92982012-03-14 Joseph Myers <joseph@codesourcery.com>
9299
9300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9301 bits/syscall.h.
9302 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9303 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9304 ($(inst_includedir)/bits/syscall.h): Remove rule.
9305 ($(objpfx)bits/syscall.d): Include instead of
9306 $(objpfx)syscall-list.d.
9307 (generated): Change syscall-list.h and syscall-list.d to
9308 bits/syscall.h and bits/syscall.d.
9309
bb4e6db2
RM
93102012-03-14 Roland McGrath <roland@hack.frob.com>
9311
9312 [BZ #13846]
9313 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9314
aa4a2ae1
JM
93152012-03-14 Joseph Myers <joseph@codesourcery.com>
9316
e456826d
JM
9317 [BZ #13841]
9318 * math/s_csqrt.c: Include <float.h>.
9319 (__csqrt): Scale large or subnormal inputs.
9320 * math/s_csqrtf.c: Likewise.
9321 * math/s_csqrtl.c: Likewise.
9322 * math/libm-test.inc (csqrt_test): Add more tests.
9323 * sysdeps/i386/fpu/libm-test-ulps: Update.
9324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9325
aa4a2ae1
JM
9326 [BZ #13840]
9327 * math/libm-test.inc (hypot_test): Add more tests.
9328
7c10fd35
DM
93292012-03-13 David S. Miller <davem@davemloft.net>
9330
9331 [BZ #13840]
9332 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9333 double-precision for the calculation instead of scaling.
9334
f453b98b
JM
93352012-03-13 Joseph Myers <joseph@codesourcery.com>
9336
9337 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9338 manipulate bits before adding and subtracting TWO52[sx].
9339 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9340 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9341 Likewise.
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9343
09a3453f
DM
93442012-03-13 David S. Miller <davem@davemloft.net>
9345
8e59da90
DM
9346 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9347 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9349 rtld-global-offsets.h
9350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9351
2a8ab7f2
DM
9352 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9353 large parameters.
9354
10f62770
DM
9355 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9356
5f0bdb18
DM
9357 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9358 'err' in the ifdef scope in which it is actually used.
9359
09a3453f
DM
9360 * nss/nss_db/db-init.c: Include string.h
9361
b4b2eb5e
DM
93622012-03-12 David S. Miller <davem@davemloft.net>
9363
98bb2f1c
DM
9364 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9365 masking out of the most significant byte of random value used.
9366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9367 Fix coding style in previous change.
9368
b4b2eb5e
DM
9369 * sysdeps/unix/sysv/linux/kernel-features.h
9370 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9371 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9372 expression.
9373 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9374 later.
9375
6e226b09
DM
93762012-03-11 David S. Miller <davem@davemloft.net>
9377
a1bcbd40
DM
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9379 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9380 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9381 for 'resultvar' otherwise things get truncated on 64-bit.
9382
cb9d6174
DM
9383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9384 Fix masking out of the most significant byte of random value used.
9385
6e226b09
DM
9386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9387
058c132d
AS
93882012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9389
9390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9391
2d2cd515
DM
93922012-03-09 David S. Miller <davem@davemloft.net>
9393
9394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9395 variables with appropriate CPP guards.
9396 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9397 frame pointer, not the stack pointer. Correct layout comments. Fix test
9398 on resulting framesize and the management of the outregs buffer for pltexit.
9399 Preserve floating point return values across _dl_call_pltexit call.
9400 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9401 framesize and the management of the outregs buffer for pltexit.
9402 Preserve floating point return values across _dl_call_pltexit
9403 call.
9404 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9405 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9406 (print_exit): Fix format string for return register value.
9407
9a07f9d0
JM
94082012-03-10 Joseph Myers <joseph@codesourcery.com>
9409
9410 * sunrpc/Makefile (others): Add rpcgen.
9411 ($(objpfx)rpcgen): Remove special build rule and dependency on
9412 libc.
9413 * sunrpc/rpcgen.c: New file.
9414
547b5e30
PE
94152012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9416
c524201a
PE
9417 [BZ #13673]
9418 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9419 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9420 * sysdeps/i386/crti.S: Likewise.
9421 * sysdeps/i386/crtn.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9423 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9424 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9425 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9426 * sysdeps/sh/crti.S: Likewise.
9427 * sysdeps/sh/crtn.S: Likewise.
9428 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9429
7b6235f2
PE
9430 [BZ #13673]
9431 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9432 with URL.
9433 * locale/programs/locfile-kw.gperf: Likewise.
9434 * locale/programs/charmap-kw.h: Regenerated.
9435 * locale/programs/locfile-kw.h: Likewise.
9436
547b5e30
PE
9437 [BZ #13673]
9438 * intl/plural.y: Replace FSF snail mail address with URL.
9439 * intl/plural.c: Regenerated.
9440
5f0a5dae
RH
94412012-03-09 Richard Henderson <rth@twiddle.net>
9442
9443 * include/math_private.h: Remove file.
9444 * math/math_private.h: Move file ...
9445 * sysdeps/generic/math_private.h: ... here.
9446
b8c03620
RH
9447 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9448 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9449 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9450
4e234f5d 9451 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9452 and <math_private.h>.
9453 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9454 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9455 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9456 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9457 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9505 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9507 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9508 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9509 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9541 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9542 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9543 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9544 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9546 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9547 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9548 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9549 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9550 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9551 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9552 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9553 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9554 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9555 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9556 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9557 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9558 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9559 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9560 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9561 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9562 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9563 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9564 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9565 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9566 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9567 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9568 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9569 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9570 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9571 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9572 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9573 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9574 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9575 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9576 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9577 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9578 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9579 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9580 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9581 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9582 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9583 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9584 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9585 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9586 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9587 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9588 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9589 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9590 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9591 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9592 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9593 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9594 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9595 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9596 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9597 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9598 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9599 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9600 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9601 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9602 * sysdeps/ieee754/k_standard.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9722 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9723 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9725 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9735 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9751 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9752 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9753 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9763 * sysdeps/ieee754/s_lib_version.c: Likewise.
9764 * sysdeps/ieee754/s_matherr.c: Likewise.
9765 * sysdeps/ieee754/s_signgam.c: Likewise.
9766 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9767 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9768 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9769 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9770 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9771 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9772 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9773 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9774 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9775 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9776 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9777 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9778 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9779 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9780 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9781 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9782 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9783 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9784 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9787
1991fa03
JM
97882012-03-09 Joseph Myers <joseph@codesourcery.com>
9789
9790 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9791 * sunrpc/rpc_main.c: Likewise.
9792 * sunrpc/rpc_svcout.c: Likewise.
9793
60d6f5a6
DM
97942012-03-09 David S. Miller <davem@davemloft.net>
9795
9796 * include/math_private.h: New file.
9797
4962050e
JM
97982012-03-09 Joseph Myers <joseph@codesourcery.com>
9799
02a6f887
JM
9800 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9801 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9802 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9803 from <bits/socket_type.h>.
9804 (enum __socket_type): Don't define here.
9805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9807 bits/socket_type.h.
9808
c6e013c1
JM
9809 [BZ #13566]
9810 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9811 checking __USE_GNU.
9812
4962050e
JM
9813 * Makerules ($(inst_includedir)/%.h): New rule.
9814 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9815 (install-others): Remove variable setting.
9816 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9817
38842f45
RH
98182012-03-08 Richard Henderson <rth@twiddle.net>
9819
67bb6da6
RH
9820 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9821 from macro to inline function; merge with the
9822 !__LIBC_INTERNAL_MATH_INLINES version.
9823 (__ieee754_sqrtf): Likewise.
9824
15194b4b
RH
9825 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9826 to inline function.
9827 (__rintf, __floor, __floorf): Likewise.
9828
64e21ede
RH
9829 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9830 macro to inline function.
9831 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9832
38842f45
RH
9833 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9834 not <math/math_private.h>.
9835
c64bf5fe
DM
98362012-03-08 David S. Miller <davem@davemloft.net>
9837
9838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9839 copyright year.
9840 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9841
82d86f28
TS
98422012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9843
9844 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9845 normalization.
9846 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9847 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9848
aea5d727
UD
98492012-03-08 Ulrich Drepper <drepper@gmail.com>
9850
9851 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9852 be defined individually, they must be defined as a block. Define
9853 S for printing a string instead of hidint the different by using a
9854 macro for adding the 'l'.
9855 * stdio-common/tst-fphex-wide.c: Adjust.
9856
70bca0a3
MP
98572012-03-07 Marek Polacek <polacek@redhat.com>
9858
9859 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9860
65b81130
MP
98612012-03-08 Marek Polacek <polacek@redhat.com>
9862
9863 [BZ #13806]
9864 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9865 * stdio-common/tst-fphex.c: Define a few macros to make the
9866 test reusable. Use them.
9867 * stdio-common/tst-fphex-wide.c: New file.
9868
07037eeb
JM
98692012-03-08 Joseph Myers <joseph@codesourcery.com>
9870
a7a93d50
JM
9871 [BZ #6911]
9872 * manual/macros.texi (gnusystems): New macro.
9873 (nongnusystems): Likewise.
9874 (gnulinuxhurdsystems): Likewise.
9875 (gnuhurdsystems): Likewise..
9876 (gnulinuxsystems): Likewise.
9877 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9878 variants of the GNU system, not "GNU system".
9879 * manual/conf.texi: Likewise.
9880 * manual/errno.texi: Likewise. Update example of errno macro
9881 expansion.
9882 * manual/filesys.texi: Likewise.
9883 (getumask): Document as specific to GNU/Hurd.
9884 * manual/install.texi: Likewise. Reword some references to
9885 GNU/Linux.
9886 * manual/intro.texi: Likewise.
9887 * manual/io.texi: Likewise.
9888 (File Name Portability): Detail which constraints are inapplicable
9889 to all GNU systems and which are only inapplicable to GNU/Hurd.
9890 * manual/job.texi: Likewise.
9891 * manual/llio.texi: Likewise.
9892 (O_NOCTTY): Document as present on GNU/Linux.
9893 * manual/maint.texi: Likewise.
9894 * manual/memory.texi: Likewise.
9895 * manual/pattern.texi: Likewise.
9896 * manual/pipe.texi: Likewise.
9897 * manual/process.texi: Likewise.
9898 * manual/resource.texi: Likewise.
9899 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9900 child on GNU/Hurd.
9901 * manual/setjmp.texi: Likewise.
9902 * manual/signal.texi: Likewise.
9903 * manual/startup.texi: Likewise.
9904 * manual/stdio.texi: Likewise.
9905 * manual/terminal.texi: Likewise.
9906 (ONLCR): Document as POSIX.
9907 (OXTABS): Document availability on GNU/Linux as XTABS.
9908 (ONOEOT): Document availability separately from other bits.
9909 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9910 * manual/time.texi: Likewise.
9911 * manual/users.texi: Likewise.
9912 * INSTALL: Regenerated.
9913 * sysdeps/gnu/errlist.c: Regenerated.
9914
07037eeb
JM
9915 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9916 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9917 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9918 puts.
9919 * configure: Regenerated.
9920
d1d3431a
JM
99212012-03-07 Joseph Myers <joseph@codesourcery.com>
9922
af6a1e37
JM
9923 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9924 default includes instead of AC_HEADER_CHECK.
9925 * sysdeps/i386/configure: Regenerated.
9926
d1d3431a
JM
9927 [BZ #10716]
9928 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9929 * math/s_cacoshf.c (__cacoshf): Likewise.
9930 * math/s_cacoshl.c (__cacoshl): Likewise.
9931 * math/s_casinh.c (__casinh): Set signs of result from argument.
9932 * math/s_casinhf.c (__casinhf): Likewise.
9933 * math/s_casinhl.c (__casinhl): Likewise.
9934 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9935 (casinh_test): Add more tests.
9936 * sysdeps/i386/fpu/libm-test-ulps: Update.
9937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9938
482ff4da
UD
99392012-03-07 Ulrich Drepper <drepper@gmail.com>
9940
872fda05
UD
9941 * po/zh_TW.po: Update from translation team.
9942
a4300c7a
UD
9943 * login/Makefile (distribute): Remove variable.
9944 * catgets/Makefile: Likewise.
9945 * mach/Makefile: Likewise.
9946 * malloc/Makefile: Likewise.
9947 * misc/Makefile: Likewise.
9948 * iconv/Makefile: Likewise.
9949 * nscd/Makefile: Likewise.
9950 * hurd/Makefile: Likewise.
9951 * manual/Makefile: Likewise.
9952 * locale/Makefile: Likewise.
9953 * intl/Makefile: Likewise.
9954 * conform/Makefile: Likewise.
9955 * nss/Makefile: Likewise.
9956 * time/Makefile: Likewise.
9957 * soft-fp/Makefile: Likewise.
9958 * dirent/Makefile: Likewise.
9959 * gmon/Makefile: Likewise.
9960 * po/Makefile: Likewise.
9961 * rt/Makefile: Likewise.
9962 * socket/Makefile: Likewise.
9963 * math/Makefile: Likewise.
9964 * signal/Makefile: Likewise.
9965 * debug/Makefile: Likewise.
9966 * elf/Makefile: Likewise.
9967 * timezone/Makefile: Likewise.
9968 * stdlib/Makefile: Likewise.
9969 * iconvdata/Makefile: Likewise.
9970 * sunrpc/Makefile: Likewise.
9971 * io/Makefile: Likewise.
9972 * argp/Makefile: Likewise.
9973 * inet/Makefile: Likewise.
9974 * hesiod/Makefile: Likewise.
9975 * grp/Makefile: Likewise.
9976 * csu/Makefile: Likewise.
9977 * wctype/Makefile: Likewise.
9978 * crypt/Makefile: Likewise.
9979 * libio/Makefile: Likewise.
9980 * string/Makefile: Likewise.
9981 * nis/Makefile: Likewise.
9982 * resolv/Makefile: Likewise.
9983 * stdio-common/Makefile: Likewise.
9984 * wcsmbs/Makefile: Likewise.
9985 * dlfcn/Makefile: Likewise.
9986 * posix/Makefile: Likewise.
9987
3b7c4e74 9988 [BZ #6959]
482ff4da
UD
9989 * timezone/Makefile: Don't install timezone files, just the programs
9990 and scripts.
9991
f72ed77d
UD
99922012-03-06 Ulrich Drepper <drepper@gmail.com>
9993
a000466f
UD
9994 * nss/databases.def: Add missing gshadow entry.
9995
f72ed77d
UD
9996 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9997
a53b7a4e
MP
99982012-03-06 Marek Polacek <polacek@redhat.com>
9999
10000 [BZ #13726]
10001 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10002 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10003 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10004 * stdio-common/tst-long-dbl-fphex.c: New file.
10005
e9258400
DM
100062012-03-06 David S. Miller <davem@davemloft.net>
10007
10008 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10009 (set_obp_int): New function.
10010 (get_obp_int): New function.
10011 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10012 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10013 Avoid unused variable warnings on 'val' and use builtin_expect.
10014 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10015 __builtin_expect.
e9258400
DM
10016 (INLINE_CLONE_SYSCALL): Likewise.
10017
3bd2c723
DM
100182012-03-05 David S. Miller <davem@davemloft.net>
10019
10020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10021
bbb78d03
AS
100222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10023
884c5db4
AS
10024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10025
bbb78d03
AS
10026 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10027 only for |x| >= 40.
10028 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10029
1c9f702a 100302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10031
10032 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10033 Replace gettimeofday with __vdso_gettimeofday.
10034
7be16f82
RM
10035 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10036 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10037 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10038
10039 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10040 time with __vdso_time.
10041
ed58a00f
JM
100422012-03-05 Joseph Myers <joseph@codesourcery.com>
10043
10044 * manual/lang.texi (size_t): Note types to which size_t may be
10045 equivalent with the GNU C Library, but do not describe when
10046 differences between them are significant.
10047
30ee4ced
AJ
100482012-03-05 Andreas Jaeger <aj@suse.de>
10049
10050 * sysdeps/i386/fpu/libm-test-ulps: Update.
10051
b7cd39e8
JM
100522012-03-05 Joseph Myers <joseph@codesourcery.com>
10053
10054 [BZ #3976]
10055 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10056 (__ieee754_pow): Save and restore rounding mode and use
10057 round-to-nearest for main computations.
10058 * math/libm-test.inc (pow_test_tonearest): New function.
10059 (pow_test_towardzero): Likewise.
10060 (pow_test_downward): Likewise.
10061 (pow_test_upward): Likewise.
10062 (main): Call the new functions.
10063 * sysdeps/i386/fpu/libm-test-ulps: Update.
10064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10065
10066 [BZ #3976]
10067 * math/libm-test.inc (cosh_test_tonearest): New function.
10068 (cosh_test_towardzero): Likewise.
10069 (cosh_test_downward): Likewise.
10070 (cosh_test_upward): Likewise.
10071 (sinh_test_tonearest): Likewise.
10072 (sinh_test_towardzero): Likewise.
10073 (sinh_test_downward): Likewise.
10074 (sinh_test_upward): Likewise.
10075 (main): Call the new functions.
10076 * sysdeps/i386/fpu/libm-test-ulps: Update.
10077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10078
6c6a98c9
TV
100792012-03-05 Tom de Vries <tom@codesourcery.com>
10080
10081 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10082 default stack guard is set in last bytes.
10083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10084
21bb2d2e 100852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10086
21bb2d2e 10087 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10088
21bb2d2e
AJ
10089 [BZ #13656]
10090 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10091 possibly allocate from heap instead of stack.
10092 * stdio-common/bug-vfprintf-nargs.c: New file.
10093 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10094
c6922934
AS
100952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10096
10097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10098
bc957d53
MP
100992012-03-03 Marek Polacek <polacek@redhat.com>
10100
10101 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10102 * math/math_private.h: Likewise.
10103 * stdlib/tst-strtod.c: Likewise.
10104 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10105 * sysdeps/x86_64/bits/atomic.h: Likewise.
10106
6358490d
DM
101072012-03-02 David S. Miller <davem@davemloft.net>
10108
10109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10113 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10114 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10115 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10116 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10117
01ae168d
RM
101182012-03-02 Roland McGrath <roland@hack.frob.com>
10119
d9a17c07
RM
10120 [BZ #13792]
10121 * manual/examples/README: New file, says the example source files
10122 can be used under GPL>=2.
10123 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10124 line containing just "*/".
10125 * manual/examples/add.c: Add copyright header (GPL>=2).
10126 * manual/examples/argp-ex1.c: Likewise.
10127 * manual/examples/argp-ex2.c: Likewise.
10128 * manual/examples/argp-ex3.c: Likewise.
10129 * manual/examples/argp-ex4.c: Likewise.
10130 * manual/examples/atexit.c: Likewise.
10131 * manual/examples/db.c: Likewise.
10132 * manual/examples/dir.c: Likewise.
10133 * manual/examples/dir2.c: Likewise.
10134 * manual/examples/execinfo.c: Likewise.
10135 * manual/examples/filecli.c: Likewise.
10136 * manual/examples/filesrv.c: Likewise.
10137 * manual/examples/fmtmsgexpl.c: Likewise.
10138 * manual/examples/genpass.c: Likewise.
10139 * manual/examples/inetcli.c: Likewise.
10140 * manual/examples/inetsrv.c: Likewise.
10141 * manual/examples/isockad.c: Likewise.
10142 * manual/examples/longopt.c: Likewise.
10143 * manual/examples/memopen.c: Likewise.
10144 * manual/examples/memstrm.c: Likewise.
10145 * manual/examples/mkfsock.c: Likewise.
10146 * manual/examples/mkisock.c: Likewise.
10147 * manual/examples/mygetpass.c: Likewise.
10148 * manual/examples/pipe.c: Likewise.
10149 * manual/examples/popen.c: Likewise.
10150 * manual/examples/rprintf.c: Likewise.
10151 * manual/examples/search.c: Likewise.
10152 * manual/examples/select.c: Likewise.
10153 * manual/examples/setjmp.c: Likewise.
10154 * manual/examples/sigh1.c: Likewise.
10155 * manual/examples/sigusr.c: Likewise.
10156 * manual/examples/stpcpy.c: Likewise.
10157 * manual/examples/strdupa.c: Likewise.
10158 * manual/examples/strftim.c: Likewise.
10159 * manual/examples/strncat.c: Likewise.
10160 * manual/examples/subopt.c: Likewise.
10161 * manual/examples/swapcontext.c: Likewise.
10162 * manual/examples/termios.c: Likewise.
10163 * manual/examples/testopt.c: Likewise.
10164 * manual/examples/testpass.c: Likewise.
10165 * manual/examples/timeval_subtract.c: Likewise.
10166
01ae168d
RM
10167 [BZ #13792]
10168 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10169 function to ...
10170 * manual/timeval_subtract.c.texi: ... here, new file.
10171
49efa33d
DM
101722012-03-02 David S. Miller <davem@davemloft.net>
10173
10174 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10175
28afd92d
JM
101762012-03-02 Joseph Myers <joseph@codesourcery.com>
10177
804360ed
JM
10178 [BZ #3976]
10179 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10180 (__sin): Save and restore rounding mode and use round-to-nearest
10181 for all computations.
10182 (__cos): Save and restore rounding mode and use round-to-nearest
10183 for all computations.
10184 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10185 <fenv.h>.
10186 (tan): Save and restore rounding mode and use round-to-nearest for
10187 all computations.
10188 * math/libm-test.inc (cos_test_tonearest): New function.
10189 (cos_test_towardzero): Likewise.
10190 (cos_test_downward): Likewise.
10191 (cos_test_upward): Likewise.
10192 (sin_test_tonearest): Likewise.
10193 (sin_test_towardzero): Likewise.
10194 (sin_test_downward): Likewise.
10195 (sin_test_upward): Likewise.
10196 (tan_test_tonearest): Likewise.
10197 (tan_test_towardzero): Likewise.
10198 (tan_test_downward): Likewise.
10199 (tan_test_upward): Likewise.
10200 (main): Call the new functions.
10201 * sysdeps/i386/fpu/libm-test-ulps: Update.
10202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10203
a6d06d7b
JM
10204 [BZ #10135]
10205 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10206 small n, then large n, before computing and testing k+n.
10207 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10208 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10209 Likewise.
10210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10211 Likewise.
10212 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10213 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10215 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10216 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10217 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10218 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10220 * math/libm-test.inc (scalbn_test): Add more tests.
10221 (scalbln_test): Likewise.
10222
07e12bb3
JM
10223 * manual/filesys.texi (mode_t): Describe constraints on size and
10224 signedness, not exact equivalence to a particular type.
10225 (ino_t): Likewise.
10226 (ino64_t): Likewise.
10227 (dev_t): Likewise.
10228 (nlink_t): Likewise.
10229 (blkcnt_t): Likewise.
10230 (blkcnt64_t): Likewise.
10231 * manual/llio.texi (off_t): Likewise.
10232
28afd92d
JM
10233 [BZ #3976]
10234 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10235 (__ieee754_exp): Save and restore rounding mode and use
10236 round-to-nearest for all computations.
10237 * math/libm-test.inc (exp_test_tonearest): New function.
10238 (exp_test_towardzero): Likewise.
10239 (exp_test_downward): Likewise.
10240 (exp_test_upward): Likewise.
10241 (main): Call the new functions.
10242 * sysdeps/i386/fpu/libm-test-ulps: Update.
10243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10244
b1eeb65d
CD
102452012-03-01 Chris Demetriou <cgd@google.com>
10246
10247 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10248 have predictable order.
10249
53362a4b
DM
102502012-03-01 David S. Miller <davem@davemloft.net>
10251
3c969083
DM
10252 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10253
759707de
DM
10254 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10255 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10256 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10257 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10258
dfdb8ff2
DM
10259 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10260 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10261 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10263 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10264 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10265 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10266 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10267 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10268
ead89f96
DM
10269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10270
7f66bd07
DM
10271 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10272 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10273 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10274
53362a4b
DM
10275 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10276 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10277 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10278 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10279 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10280 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10282 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10283 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10284 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10285 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10286 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10288 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10289 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10291 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10292 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10293 * sysdeps/sparc/elf/configure: Regenerated.
10294
7b1902cb
JM
102952012-03-01 Joseph Myers <joseph@codesourcery.com>
10296
bec039bc
JM
10297 * configure.in (AS, LD): Require binutils 2.20 or later.
10298 * configure: Regenerated.
10299 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10300 as required minimum version.
10301 * INSTALL: Regenerated.
10302
7b1902cb
JM
10303 [BZ #2541]
10304 [BZ #4108]
10305 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10306 before squaring exponent.
10307 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10308 bottom long double and 27 bits of top long double before squaring
10309 exponent.
10310 * math/libm-test.inc (erfc_test): Add more tests.
10311 * sysdeps/i386/fpu/libm-test-ulps: Update.
10312 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10314
f775c276
KT
103152012-03-01 Kai Tietz <ktietz@redhat.com>
10316
10317 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10318 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10319 containing bit-fields.
10320 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10321 * soft-fp/single.h (_FP_UNION_S): Likewise.
10322 * soft-fp/double.h (_FP_UNION_D): Likewise.
10323
5b8a4d4a
JM
103242012-02-29 Joseph Myers <joseph@codesourcery.com>
10325
0bab47b6
JM
10326 [BZ #13786]
10327 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10328 not include ../strcmp.S.
10329 [USE_AS_STRNCASECMP_L]: Likewise.
10330 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10331 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10332 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10333 (__strncasecmp_l_ia32): Define as alias to
10334 __strncasecmp_l_nonascii.
10335
0fcad3e2
JM
10336 [BZ #5794]
10337 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10338 * sysdeps/i386/fpu/libm-test-ulps: Update.
10339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10340
5b8a4d4a
JM
10341 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10343
8fdceb2e
JL
103442012-02-29 Jeff Law <law@redhat.com>
10345
10346 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10347 out of bounds read.
10348
1f393a11
MP
103492012-02-29 Marek Polacek <polacek@redhat.com>
10350
10351 [BZ #13706]
10352 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10353 * elf/Makefile: Add rules to run tst-unused-dep.out.
10354
8847f037
DM
103552012-02-28 David S. Miller <davem@davemloft.net>
10356
10357 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10358 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10361 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10362 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10363
169d7f11
JM
103642012-02-29 Joseph Myers <joseph@codesourcery.com>
10365
10366 * math/libm-test.inc (llround_test): Move one test from
10367 lround_test. Use TEST_f_L in moved test.
10368 (lround_test): Move misplaced test to llround_test. Add testcase
10369 from bug 2561.
10370
39adf059
UD
103712012-02-28 Ulrich Drepper <drepper@gmail.com>
10372
10373 * sysdeps/x86_64/fpu/e_expf.S: New file.
10374 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10375
71b5d1c5
SB
103762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10377
10378 [BZ #13637]
10379 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10380 of remain_len that may cause incomplete multi-byte character and
10381 false match.
10382 * posix/bug-regex33.c: New file.
10383 * posix/Makefile (tests): Add bug-regex33.
10384
1f77f049
JM
103852012-02-28 Joseph Myers <joseph@codesourcery.com>
10386
10387 * manual/macros.texi: New file.
10388 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10389 * manual/libc.texinfo: Include macros.texi.
10390 * manual/creatute.texi: Likewise.
10391 * manual/install.texi: Likewise.
10392 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10393 @glibcadj{} in references to the GNU C Library.
10394 * manual/charset.texi: Likewise.
10395 * manual/conf.texi: Likewise.
10396 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10397 when not using those macros.
10398 * manual/creature.texi: Likewise.
10399 * manual/crypt.texi: Likewise.
10400 * manual/errno.texi: Likewise.
10401 * manual/filesys.texi: Likewise.
10402 * manual/header.texi: Likewise.
10403 * manual/install.texi: Likewise.
10404 * manual/intro.texi: Likewise.
10405 * manual/io.texi: Likewise.
10406 * manual/job.texi: Likewise.
10407 * manual/lang.texi: Likewise.
10408 * manual/libc.texiinfo: Likewise.
10409 * manual/llio.texi: Likewise.
10410 * manual/locale.texi: Likewise.
10411 * manual/maint.texi: Likewise.
10412 * manual/math.texi: Likewise.
10413 * manual/memory.texi: Likewise.
10414 * manual/message.texi: Likewise.
10415 * manual/nss.texi: Likewise.
10416 * manual/pattern.texi: Likewise.
10417 * manual/process.texi: Likewise.
10418 * manual/resource.texi: Likewise.
10419 * manual/search.texi: Likewise.
10420 * manual/setjmp.texi: Likewise.
10421 * manual/signal.texi: Likewise.
10422 * manual/socket.texi: Likewise.
10423 * manual/startup.texi: Likewise.
10424 * manual/stdio.texi: Likewise.
10425 * manual/string.texi: Likewise.
10426 * manual/sysinfo.texi: Likewise.
10427 * manual/syslog.texi: Likewise.
10428 * manual/terminal.texi: Likewise.
10429 * manual/time.texi: Likewise.
10430 * manual/users.texi: Likewise.
10431 * INSTALL: Regenerated.
10432 * NOTES: Regenerated.
d40c5d54 10433 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10434
450bf206
AS
104352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10436
10437 * include/dirent.h: Include <dirstream.h> before
10438 <dirent/dirent.h>.
10439
741a235b
DM
104402012-02-28 David S. Miller <davem@davemloft.net>
10441
10442 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10443 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10444 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10445 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10446
d6b5aa58
DM
104472012-02-27 David S. Miller <davem@davemloft.net>
10448
1aff59a3
DM
10449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10451 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10452 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10453
d6b5aa58
DM
10454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10455 frame pointer instead of stack pointer relative arg slot.
10456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10457 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10458 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10459
433f48bf
CD
104602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10461
10462 [BZ #3992]
10463 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10464
d674b76d
DM
104652012-02-27 David S. Miller <davem@davemloft.net>
10466
10467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10471 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10472 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10473 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10474 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10475
0e7727f7
JM
104762012-02-27 Joseph Myers <joseph@codesourcery.com>
10477
10478 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10479 later. Allow versions 5-9.
43be4ca2 10480 * configure: Regenerated.
0e7727f7
JM
10481 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10482 required minimum version and 4.6 as recommended version. Do not
10483 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10484 * INSTALL: Regenerated.
0e7727f7 10485
a78bc654
DM
104862012-02-27 David S. Miller <davem@davemloft.net>
10487
428d5830
DM
10488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10492 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10493 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10494 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10495 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10496
a78bc654
DM
10497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10498 manipulate bits before adding and subtracting TWO112[sx].
10499 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10500
4579f81c
RM
105012012-02-27 Roland McGrath <roland@hack.frob.com>
10502
36c8acb4
RM
10503 [BZ #13775]
10504 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10505 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10506 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10507 being in POSIX, because they are in 1003.1-2008.
10508
84ad622b
RM
10509 * rt/tst-aio.c: Include <fcntl.h>.
10510 * rt/tst-aio7.c: Likewise.
10511 * rt/tst-aio64.c: Likewise.
10512
4579f81c
RM
10513 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10514
abd923db
JM
105152012-02-27 Joseph Myers <joseph@codesourcery.com>
10516
10517 * manual/install.texi (--with-headers): Describe headers as
10518 interface headers, not private headers.
10519 (Specific advice for GNU/Linux systems): Describe use of headers
10520 from "make headers_install", not private headers from older
10521 kernels.
43be4ca2 10522 * INSTALL: Regenerated.
abd923db
JM
10523 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10524 Change to 2.6.19.
10525 * sysdeps/unix/sysv/linux/configure: Regenerated.
10526
6664049b
JM
10527 * manual/llio.texi (fclean): Remove documentation.
10528
bb8b6697
JM
10529 * manual/Makefile (libc-texi-generated): New variable. Include
10530 version.texi.
10531 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10532 $(libc-texi-generated), not duplicated list of files.
10533 (version.texi, stamp-version): New rules.
10534 (realclean): Remove $(libc-texi-generated), not individual files
10535 from that list. Do not remove dir-add.texinfo.
10536 * manual/libc.texinfo: Comment out uses of edition numbers and
10537 references to printed manual. Remove last-updated dates.
10538 (EDITION): Comment out.
10539 (ISBN): Likewise.
10540 (VERSION, UPDATED): Remove.
10541 (version.texi): Include.
10542
12e5c3b9
AS
105432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10544
10545 * sysdeps/posix/spawni.c: Include <signal.h>.
10546 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10547 * sysdeps/pthread/aio_fsync.c: Likewise.
10548
4efeffc1 105492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10550
ba63ba08
UD
10551 * conform/Makefile (tests): Run only when not cross-compiling and
10552 when fast-check is not defined.
10553
d94a4670
UD
10554 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10555 * conform/data/limits.h-data: Fixes for POSIX2008.
10556 * conform/run-conformtest.sh: Run all tests.
10557 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10558 headers.
10559 * include/bits/dlfcn.h: Likewise.
10560 * include/langinfo.h: Likewise.
10561 * include/monetary.h: Likewise.
10562 * include/sys/poll.h: Likewise.
10563
10564 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10565 for __USE_GNU.
10566 * posix/spawn.h: Define __need_sigset_t.
10567 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10568 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10569 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10570 to get sigevent_t only.
10571 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10572 only for __USE_GNU.
10573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10574 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10575 process_vm_writev only for __USE_GNU.
10576 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10577
10578 * conform/Makefile: For now ignore errors from run-conformtest.
10579 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10580 POSIX to avoid namespace pollution. Don't prepend headers.
10581 * conform/data/aio.h-data: Fixes for POSIX testing.
10582 * conform/data/fcntl.h-data: Likewise.
10583 * conform/data/glob.h-data: Likewise.
10584 * conform/data/grp.h-data: Likewise.
10585 * conform/data/pthread.h-data: Likewise.
10586 * conform/data/pwd.h-data: Likewise.
10587 * conform/data/signal.h-data: Likewise.
10588 * conform/data/spawn.h-data: Likewise.
10589 * conform/data/stdio.h-data: Likewise.
10590 * conform/data/stdlib.h-data: Likewise.
10591 * conform/data/stropts.h-data: Likewise.
10592 * conform/data/sys/mman.h-data: Likewise.
10593 * conform/data/sys/stat.h-data: Likewise.
10594 * conform/data/sys/types.h-data: Likewise.
10595 * conform/data/sys/wait.h-data: Likewise.
10596 * conform/data/time.h-data: Likewise.
10597 * conform/data/unistd.h-data: Likewise.
10598 * conform/data/utime.h-data: Likewise.
10599
10600 * io/sys/stat.h: fchmod was always in POSIX.
10601 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10602 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10603 * rt/aio.h: Define __need_timespec before including <time.h>.
10604 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10605 struct. Add forward declaration of pthread_attr_t and use it in
10606 sigevent.
10607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10609 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10610 always remove CLK_TCK definition.
10611
c20105c3
AS
106122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10613
10614 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10615
7a270350
UD
106162012-02-25 Ulrich Drepper <drepper@gmail.com>
10617
31341567
UD
10618 * conform/run-conformtest.sh: New file.
10619 * conform/Makefile: Run run-conformtest for tests.
10620 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10621 support.
10622
10623 * conform/data/uchar.h-data: New file.
10624 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10625 * conform/data/arpa/inet.h-data: Likewise.
10626 * conform/data/assert.h-data: Likewise.
10627 * conform/data/complex.h-data: Likewise.
10628 * conform/data/cpio.h-data: Likewise.
10629 * conform/data/ctype.h-data: Likewise.
10630 * conform/data/dirent.h-data: Likewise.
10631 * conform/data/dlfcn.h-data: Likewise.
10632 * conform/data/errno.h-data: Likewise.
10633 * conform/data/fcntl.h-data: Likewise.
10634 * conform/data/float.h-data: Likewise.
10635 * conform/data/fmtmsg.h-data: Likewise.
10636 * conform/data/fnmatch.h-data: Likewise.
10637 * conform/data/ftw.h-data: Likewise.
10638 * conform/data/glob.h-data: Likewise.
10639 * conform/data/grp.h-data: Likewise.
10640 * conform/data/iconv.h-data: Likewise.
10641 * conform/data/inttypes.h-data: Likewise.
10642 * conform/data/langinfo.h-data: Likewise.
10643 * conform/data/libgen.h-data: Likewise.
10644 * conform/data/limits.h-data: Likewise.
10645 * conform/data/locale.h-data: Likewise.
10646 * conform/data/math.h-data: Likewise.
10647 * conform/data/monetary.h-data: Likewise.
10648 * conform/data/mqueue.h-data: Likewise.
10649 * conform/data/ndbm.h-data: Likewise.
10650 * conform/data/net/if.h-data: Likewise.
10651 * conform/data/netdb.h-data: Likewise.
10652 * conform/data/netinet/in.h-data: Likewise.
10653 * conform/data/nl_types.h-data: Likewise.
10654 * conform/data/poll.h-data: Likewise.
10655 * conform/data/pthread.h-data: Likewise.
10656 * conform/data/pwd.h-data: Likewise.
10657 * conform/data/regex.h-data: Likewise.
10658 * conform/data/sched.h-data: Likewise.
10659 * conform/data/search.h-data: Likewise.
10660 * conform/data/semaphore.h-data: Likewise.
10661 * conform/data/setjmp.h-data: Likewise.
10662 * conform/data/signal.h-data: Likewise.
10663 * conform/data/spawn.h-data: Likewise.
10664 * conform/data/stdarg.h-data: Likewise.
10665 * conform/data/stdio.h-data: Likewise.
10666 * conform/data/stdlib.h-data: Likewise.
10667 * conform/data/string.h-data: Likewise.
10668 * conform/data/strings.h-data: Likewise.
10669 * conform/data/stropts.h-data: Likewise.
10670 * conform/data/sys/ipc.h-data: Likewise.
10671 * conform/data/sys/mman.h-data: Likewise.
10672 * conform/data/sys/msg.h-data: Likewise.
10673 * conform/data/sys/resource.h-data: Likewise.
10674 * conform/data/sys/select.h-data: Likewise.
10675 * conform/data/sys/sem.h-data: Likewise.
10676 * conform/data/sys/shm.h-data: Likewise.
10677 * conform/data/sys/socket.h-data: Likewise.
10678 * conform/data/sys/stat.h-data: Likewise.
10679 * conform/data/sys/statvfs.h-data: Likewise.
10680 * conform/data/sys/time.h-data: Likewise.
10681 * conform/data/sys/timeb.h-data: Likewise.
10682 * conform/data/sys/times.h-data: Likewise.
10683 * conform/data/sys/types.h-data: Likewise.
10684 * conform/data/sys/uio.h-data: Likewise.
10685 * conform/data/sys/un.h-data: Likewise.
10686 * conform/data/sys/utsname.h-data: Likewise.
10687 * conform/data/sys/wait.h-data: Likewise.
10688 * conform/data/syslog.h-data: Likewise.
10689 * conform/data/tar.h-data: Likewise.
10690 * conform/data/termios.h-data: Likewise.
10691 * conform/data/utime.h-data: Likewise.
10692 * conform/data/utmpx.h-data: Likewise.
10693 * conform/data/varargs.h-data: Likewise.
10694 * conform/data/wchar.h-data: Likewise.
10695 * conform/data/wctype.h-data: Likewise.
10696 * conform/data/wordexp.h-data: Likewise.
10697
10698 * include/stropts.h: New file.
10699 * include/uchar.h: New file.
10700 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10701 * include/assert.h: Likewise.
10702 * include/ctype.h: Likewise.
10703 * include/dirent.h: Likewise.
10704 * include/dlfcn.h: Likewise.
10705 * include/fcntl.h: Likewise.
10706 * include/fnmatch.h: Likewise.
10707 * include/glob.h: Likewise.
10708 * include/grp.h: Likewise.
10709 * include/libio.h: Likewise.
10710 * include/locale.h: Likewise.
10711 * include/math.h: Likewise.
10712 * include/net/if.h: Likewise.
10713 * include/netdb.h: Likewise.
10714 * include/netinet/in.h: Likewise.
10715 * include/pthread.h: Likewise.
10716 * include/pwd.h: Likewise.
10717 * include/regex.h: Likewise.
10718 * include/sched.h: Likewise.
10719 * include/search.h: Likewise.
10720 * include/setjmp.h: Likewise.
10721 * include/signal.h: Likewise.
10722 * include/stdio.h: Likewise.
10723 * include/stdlib.h: Likewise.
10724 * include/string.h: Likewise.
10725 * include/sys/cdefs.h: Likewise.
10726 * include/sys/mman.h: Likewise.
10727 * include/sys/msg.h: Likewise.
10728 * include/sys/resource.h: Likewise.
10729 * include/sys/select.h: Likewise.
10730 * include/sys/socket.h: Likewise.
10731 * include/sys/stat.h: Likewise.
10732 * include/sys/statvfs.h: Likewise.
10733 * include/sys/time.h: Likewise.
10734 * include/sys/times.h: Likewise.
10735 * include/sys/uio.h: Likewise.
10736 * include/sys/utsname.h: Likewise.
10737 * include/sys/wait.h: Likewise.
10738 * include/termios.h: Likewise.
10739 * include/time.h: Likewise.
10740 * include/ulimit.h: Likewise.
10741 * include/unistd.h: Likewise.
10742 * include/utime.h: Likewise.
10743 * include/wchar.h: Likewise.
10744 * include/wctype.h: Likewise.
10745 * include/wordexp.h: Likewise.
10746
10747 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10748
7a270350
UD
10749 * time/time.h: TIME_UTC must be a macro.
10750 Make timespec_get available for ISO C11 only as well.
10751
7724defc
UD
107522012-02-24 Ulrich Drepper <drepper@gmail.com>
10753
10754 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10755 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10756
6b1d1d46
JM
107572012-02-24 Joseph Myers <joseph@codesourcery.com>
10758
10759 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10760
0f8bbd69
JM
107612012-02-24 Joseph Myers <joseph@codesourcery.com>
10762
10763 * manual/texinfo.tex: Update to version 2012-01-19.16.
10764
66ab80bc
JM
107652012-02-24 Joseph Myers <joseph@codesourcery.com>
10766
10767 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10768
74981cc5
RM
107692012-02-24 Roland McGrath <roland@hack.frob.com>
10770
ee968201
RM
10771 [BZ #13738]
10772 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10773 * manual/fdl-1.3.texi: New file.
10774 * manual/fdl-1.1.texi: File removed.
10775
74981cc5
RM
10776 [BZ #13738]
10777 * manual/libc.texinfo (FDL_VERSION): New @set.
10778 Use it for mention of FDL in cover text.
10779 (Documentation License): Use it in @include file name.
10780
7bb764bc
JM
107812012-02-22 Joseph Myers <joseph@codesourcery.com>
10782 Roland McGrath <roland@hack.frob.com>
10783
10784 [BZ #5461]
10785 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10786 not LONG_LONG_MAX and LONG_LONG_MIN.
10787 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10788 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10789 name.
10790 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10791
6cbeae47
JM
107922012-02-22 Joseph Myers <joseph@codesourcery.com>
10793
10794 [BZ #2547]
10795 [BZ #11365]
10796 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10797 manipulate bits before adding and subtracting TWO23[sx].
10798 * math/libm-test.inc (nearbyint_test): Add more tests.
10799
fe45ce09
JM
108002012-02-22 Joseph Myers <joseph@codesourcery.com>
10801
10802 [BZ #2548]
10803 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10804 bits before adding and subtracting TWO23[sx].
10805 * math/libm-test.inc (rint_test): Add more tests.
10806 (rint_test_tonearest): Likewise.
10807 (rint_test_towardzero): Likewise.
10808 (rint_test_downward): Likewise.
10809 (rint_test_upward: Likewise.
10810
ff3b3d82
JM
108112012-02-22 Joseph Myers <joseph@codesourcery.com>
10812
10813 [BZ #10110]
10814 * include/stdc-predef.h: New file. Extracted from features.h.
10815 * include/features.h: Include stdc-predef.h.
10816 * Makefile (headers): Add stdc-predef.h.
10817 * CONFORMANCE (Compiler limitations): Update.
10818
ef0aab35
JM
108192012-02-22 Joseph Myers <joseph@codesourcery.com>
10820
10821 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10822
58639409
DM
108232012-02-21 David S. Miller <davem@davemloft.net>
10824
10825 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10826 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10827
c0e70b25
DM
108282012-02-20 David S. Miller <davem@davemloft.net>
10829
10830 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10831 using a normal save/restore sequence, rather than allocating a
10832 dummy stack frame just to store a frame pointer and restore.
10833 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10834
fb06851d
JM
108352012-02-21 Joseph Myers <joseph@codesourcery.com>
10836
10837 * manual/install.texi: Fix stray word in line-wrapped comment.
10838
7a8b71c3
DM
108392012-02-20 David S. Miller <davem@davemloft.net>
10840
d510c123
DM
10841 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10842 both binutils and gcc support GOTDATA.
10843
0722d7c2
DM
10844 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10845 "rd %pc" in the PIC register setup sequences.
10846
3d2b3019
DM
10847 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10848 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10849 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10850 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10851 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10854 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10856 (SYSCALL_ERROR_HANDLER): Likewise.
10857 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10858 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10859 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10860 (SYSCALL_ERROR_HANDLER): Likewise.
10861
c80098a9
DM
10862 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10863 (HAVE_GCC_GOTDATA): New.
10864 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10865 relocation support in both binutils and gcc.
10866 * sysdeps/sparc/elf/configure: Regenerate.
10867
3a2545a0
DM
10868 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10869 * sysdeps/sparc/sparc32/elf/configure: Delete.
10870 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10871 * sysdeps/sparc/sparc64/elf/configure: Delete.
10872 * sysdeps/sparc/elf/configure.in: New file.
10873 * sysdeps/sparc/elf/configure: Generate.
10874
7a8b71c3
DM
10875 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10876 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10877 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10878 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10879 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10880
f1e86fca
JM
108812012-02-21 Joseph Myers <joseph@codesourcery.com>
10882
10883 * manual/install.texi: Do not mention specific glibc version
10884 numbers.
10885 * manual/libc.texinfo (VERSION, UPDATED): Update.
10886 (@copying): Use @copyright{} and range of years.
10887
0e7dfaef
JM
108882012-02-21 Joseph Myers <joseph@codesourcery.com>
10889
10890 [BZ #13695]
10891 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10892 [crti.S not in sysdirs] (generated): Do not append.
10893 [crti.S not in sysdirs] (omit-deps): Likewise.
10894 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10895 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10896 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10897 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10898 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10899 Likewise.
10900 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10901 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10902 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10903 * csu/defs.awk: Remove file.
10904 * sysdeps/generic/initfini.c: Likewise.
10905 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10906 variable.
10907 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10908 Likewise.
10909
599af3ca
JM
109102012-02-20 Joseph Myers <joseph@codesourcery.com>
10911
10912 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10913 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10914 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10915 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10916 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10917 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10918 <bits/epoll.h>.
10919 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10920 (__EPOLL_PACKED): Define to empty if not defined by
10921 <bits/epoll.h>.
10922 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10924 bits/epoll.h.
10925
0e499750
JM
109262012-02-20 Joseph Myers <joseph@codesourcery.com>
10927
10928 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10929 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10930 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10931 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10932 <bits/timerfd.h>.
10933 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10935 bits/timerfd.h.
10936
5ad91f6e
JM
109372012-02-20 Joseph Myers <joseph@codesourcery.com>
10938
10939 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10940 in C locale.
10941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10943 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945
06b99b02
AJ
109462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10947
10948 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10949 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10950
7638c0fd
AS
109512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10952
10953 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10954 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10955 defined.
10956 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10957 Likewise.
10958 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10959 entry for 2.16.
10960
92221550
AJ
109612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10962
10963 * math/w_acos.c: Use non-signaling floating-point comparisons.
10964 * math/w_acosf.c: Likewise.
10965 * math/w_acosh.c: Likewise.
10966 * math/w_acoshf.c: Likewise.
10967 * math/w_acoshl.c: Likewise.
10968 * math/w_acosl.c: Likewise.
10969 * math/w_asin.c: Likewise.
10970 * math/w_asinf.c: Likewise.
10971 * math/w_asinl.c: Likewise.
10972 * math/w_atanh.c: Likewise.
10973 * math/w_atanhf.c: Likewise.
10974 * math/w_atanhl.c: Likewise.
10975 * math/w_exp2.c: Likewise.
10976 * math/w_exp2f.c: Likewise.
10977 * math/w_exp2l.c: Likewise.
10978 * math/w_j0.c: Likewise.
10979 * math/w_j0f.c: Likewise.
10980 * math/w_j0l.c: Likewise.
10981 * math/w_j1.c: Likewise.
10982 * math/w_j1f.c: Likewise.
10983 * math/w_j1l.c: Likewise.
10984 * math/w_jn.c: Likewise.
10985 * math/w_jnf.c: Likewise.
10986 * math/w_log.c: Likewise.
10987 * math/w_log10.c: Likewise.
10988 * math/w_log10f.c: Likewise.
10989 * math/w_log10l.c: Likewise.
10990 * math/w_log2.c: Likewise.
10991 * math/w_log2f.c: Likewise.
10992 * math/w_log2l.c: Likewise.
10993 * math/w_logf.c: Likewise.
10994 * math/w_logl.c: Likewise.
10995 * math/w_sqrt.c: Likewise.
10996 * math/w_sqrtf.c: Likewise.
10997 * math/w_sqrtl.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11000 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11001 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11002 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11003
ebaf36eb
JM
110042012-02-19 Joseph Myers <joseph@codesourcery.com>
11005
11006 [BZ #9739]
11007 * manual/string.texi (strnlen): Use correct parameter name in
11008 equivalent expression.
11009
71c254a6
JM
110102012-02-19 Joseph Myers <joseph@codesourcery.com>
11011
11012 [BZ #11174]
11013 * manual/users.texi (seteuid): Consistently use neweuid for
11014 argument name.
11015
16d2c631
JM
110162012-02-19 Joseph Myers <joseph@codesourcery.com>
11017
11018 [BZ #13704]
11019 * manual/nss.texi (Services in the NSS configuration): Correct
11020 list of services in example configuration file.
11021
cd837b09
NB
110222012-02-19 Nick Bowler <nbowler@draconx.ca>
11023
11024 [BZ #11322]
11025 * manual/arith.texi: Remove statements about negative zero
11026 behaving identically to zero.
11027
02c4bbad
JM
110282012-02-18 Joseph Myers <joseph@codesourcery.com>
11029
11030 [BZ #5993]
11031 * manual/install.texi: Do not document upgrading from libc5.
11032
366842e7
JM
110332012-02-18 Joseph Myers <joseph@codesourcery.com>
11034
11035 [BZ #4596]
11036 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11037
dd54084d
DM
110382012-02-18 David S. Miller <davem@davemloft.net>
11039
11040 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11041 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11042 %o7 across the call.
11043 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11044 instead.
11045 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11046 SETUP_PIC_REG_LEAF.
11047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11048 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11049 * sysdeps/sparc/crtn.S: Likewise.
11050
2bcc53a3
UD
110512012-02-17 Ulrich Drepper <drepper@gmail.com>
11052
11053 * aout/Makefile: Remove.
11054
09c093b5
RK
110552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11056
11057 [BZ #13058]
11058 * manual/examples/argp-ex1.c (main): Format definition in GNU
11059 style.
11060 * manual/examples/argp-ex2.c (main): Likewise.
11061 * manual/examples/argp-ex3.c (main): Likewise.
11062 * manual/examples/argp-ex4.c (main): Likewise.
11063 * manual/examples/longopt.c (main): Use new-style prototype
11064 definition.
11065 * manual/examples/strncat.c (main): Specify return type and use
11066 (void) for arguments.
11067 * manual/examples/subopt.c (main): Use char **argv argument.
11068
2ee633a2
JM
110692012-02-17 Joseph Myers <joseph@codesourcery.com>
11070
11071 [BZ #5077]
11072 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11073 rounding modes.
11074
0520adde
FB
110752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11076
11077 [BZ #6907]
11078 * manual/string.texi (strchr): Change when strchrnul is
11079 recommended.
11080
3f4081cd
DGM
110812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11082
11083 [BZ #174]
11084 * manual/locale.texi (setlocale): Document LOCPATH.
11085
d1b10e78
JM
110862012-02-17 Joseph Myers <joseph@codesourcery.com>
11087
11088 [BZ #10210]
11089 * manual/process.texi (execle): Move @dots{} before last argument.
11090
79c6869c
PB
110912012-02-17 Paul Bolle <pebolle@tiscali.nl>
11092
11093 [BZ #12047]
11094 * manual/charset.texi (Generic Charset Conversion): Fix typo
11095 (LC_TYPE -> LC_CTYPE).
11096
cc6e48bc
NB
110972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11098
11099 [BZ #5805]
11100 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11101 (scalbnf): Likewise.
11102 (scalbnl): Likewise.
11103 (scalbln): Likewise.
11104 (scalblnf): Likewise.
11105 (scalblnl): Likewise.
11106 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11107 (vwarnx): Likewise.
11108 (verr): Likewise.
11109 (verrx): Likewise.
11110 * manual/filesys.texi (telldir): Use braces around return type.
11111 * manual/llio.texi (mmap): Add space after comma.
11112 (mmap64): Likewise.
11113 * manual/math.texi (jn): Use @var{} on parameter names.
11114 (jnf): Likewise.
11115 (jnl): Likewise.
11116 (yn): Likewise.
11117 (ynf): Likewise.
11118 (ynl): Likewise.
11119 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11120 line.
11121 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11122 "...".
11123 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11124 (sched_get_priority_max): Likewise.
11125 * manual/signal.texi (sigvec): Add space after comma.
11126 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11127 names.
11128 (if_indextoname): Likewise.
11129 (if_freenameindex): Likewise.
11130 (sendto): Use ',' instead of '.' in prototype.
11131 * manual/startup.texi (syscall): Use @dots{} instead of literal
11132 "...".
11133 * manual/stdio.texi (__fpending): Separate initial words of
11134 paragraph from @deftypefun line.
11135 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11136 "...".
11137 (vsyslog): Use @var{} on parameter names.
11138 * manual/terminal.texi (stty): Use @var{} on parameter names.
11139 * manual/users.texi (getutmp): Use @var{} on parameter names.
11140 (getutmpx): Likewise.
11141
5b23062f
JM
111422012-02-17 Joseph Myers <joseph@codesourcery.com>
11143
11144 [BZ #6884]
11145 * manual/stdio.texi (fopen): Fix typos in description of
11146 ",ccs=STRING".
11147
8dee4833
AJ
111482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11149
11150 [BZ #4026]
11151 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11152 get clock_id definition.
11153
9078ce93
TS
111542012-02-17 Thomas Schwinge <thomas@schwinge.name>
11155
11156 [BZ #4822]
11157 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11158 (madvise): Cast every argument to void on its own.
11159
3835c55f
JM
111602012-02-17 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #9902]
11163 * manual/startup.texi (Exit Status): Fix typo.
11164
35c47e37
JM
111652012-02-17 Joseph Myers <joseph@codesourcery.com>
11166
11167 [BZ #10140]
11168 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11169 * manual/examples/argp-ex2.c: Likewise.
11170 * manual/examples/argp-ex3.c: Likewise.
11171
e3b69ca7
RH
111722012-02-16 Richard Henderson <rth@redhat.com>
11173
11174 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11175 * sysdeps/s390/s390-32/initfini.c: Remove.
11176 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11177 * sysdeps/s390/s390-64/initfini.c: Remove.
11178
df83af67
KK
111792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11180
11181 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11182 compiler output for sysdeps/generic/initfini.c.
11183 * sysdeps/sh/elf/initfini.c: Remove file.
11184
f63f3380
DM
111852012-02-16 David S. Miller <davem@davemloft.net>
11186
fb59b3a4
DM
11187 [BZ #11494]
11188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11189
f63f3380
DM
11190 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11191 * sysdeps/sparc/crti.S: New file.
11192 * sysdeps/sparc/crtn.S: New file.
11193 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11194 * sysdeps/sparc/sparc64/Makefile: Likewise.
11195
df6a4a4a
MF
111962012-02-15 Mike Frysinger <vapier@gentoo.org>
11197
6dd8f3dc 11198 [BZ #3335]
df6a4a4a
MF
11199 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11200
1cac7236
RM
112012012-02-15 Roland McGrath <roland@hack.frob.com>
11202
d2c736f8
RM
11203 [BZ #4822]
11204 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11205
1cac7236
RM
11206 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11207 (write, read, close): Likewise.
11208 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11209
8e475601
JM
112102012-02-15 Joseph Myers <joseph@codesourcery.com>
11211
11212 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11213 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11214 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11215 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11216 <bits/signalfd.h>.
11217 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11219 bits/signalfd.h.
11220
ed656b40
MP
112212012-02-14 Marek Polacek <polacek@redhat.com>
11222
11223 * sysdeps/x86_64/crti.S: New file.
11224 * sysdeps/x86_64/crtn.S: New file.
11225 * sysdeps/x86_64/elf/initfini.c: Remove file.
11226
2a979d3a
JM
112272012-02-13 Joseph Myers <joseph@codesourcery.com>
11228
11229 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11230 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11231 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11232 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11233 <bits/inotify.h>.
11234 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11236 bits/inotify.h.
11237
2a418ac3
JM
112382012-02-13 Joseph Myers <joseph@codesourcery.com>
11239
11240 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11241 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11242 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11243 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11244 <bits/eventfd.h>.
11245 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11247 bits/eventfd.h.
11248
fb779be7
TS
112492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11250
e19e83c5
RM
11251 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11252 __feraiseexcept instead of feraiseexcept.
7c35ffed 11253
fb779be7
TS
11254 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11255 nanosleep invocations.
11256 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11257 strings, and add error checking for a nanosleep invocations.
11258
59ba27a6
PE
112592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11260
11261 Replace FSF snail mail address with URLs, as per GNU coding standards.
11262 Most of the snail mail addresses were wrong anyway, and omitting
11263 them makes the source code easier to maintain. Almost all of the
11264 changes are to license notices and to locale LC_IDENTIFICATION
11265 addresses, except for this one:
11266 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11267 not its snail mail address.
11268
57b957eb
RH
112692012-02-09 Richard Henderson <rth@twiddle.net>
11270
af850b1c
RH
11271 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11272 of kernel-features.h.
11273
57b957eb
RH
11274 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11275
6b73181a
MP
112762012-02-08 Marek Polacek <polacek@redhat.com>
11277
11278 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11279 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11280 * sysdeps/gnu/_G_config.h: Likewise.
11281 * sysdeps/generic/_G_config.h: Likewise.
11282
26ecc33a
AS
112832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11284
6c6dbc63
AS
11285 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11286 tests.
11287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11288
e216c012
AS
11289 * sysdeps/powerpc/powerpc32/crti.S: New file.
11290 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11291 * sysdeps/powerpc/powerpc64/crti.S: New file.
11292 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11293
26ecc33a
AS
11294 * Makeconfig (have-initfini): Don't set.
11295 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11296 * configure.in (nopic_initfini): Don't substitute.
11297 * config.h.in (HAVE_INITFINI): Don't #undef.
11298 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11299 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11300
3add8e13
JM
113012012-02-08 Joseph Myers <joseph@codesourcery.com>
11302
11303 Support crti.S and crtn.S provided directly by architectures.
11304 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11305 [crti.S in sysdirs] (omit-deps): Likewise.
11306 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11307 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11308 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11309 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11310 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11311 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11312 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11313 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11314 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11315 compiler output for sysdeps/generic/initfini.c.
11316 * sysdeps/i386/elf/Makefile: Remove file.
11317 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11318
a22f12b4
MP
113192012-02-07 Marek Polacek <polacek@redhat.com>
11320
11321 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11322 * sysdeps/gnu/_G_config.h: Likewise.
11323 * sysdeps/mach/hurd/_G_config.h: Likewise.
11324
148cf100
MP
113252012-02-07 Marek Polacek <polacek@redhat.com>
11326
11327 * math/Makefile (tests): Add tst-CMPLX2.
11328 * math/tst-CMPLX2.c: New file.
11329
cfdc0dd7
AS
113302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11331
84ba42c4
AS
11332 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11333
cfdc0dd7
AS
11334 * math/libm-test.inc (jn_test): Add missing L suffix.
11335
622c86f4
MP
113362012-02-06 Marek Polacek <polacek@redhat.com>
11337
11338 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11339 * sysdeps/i386/fpu/e_powf.S: Likewise.
11340 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11341 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11342 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11343 * sysdeps/i386/fpu/e_pow.S: Likewise.
11344 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11345 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11346 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11347 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11348 * sysdeps/i386/fpu/e_log2.S: Likewise.
11349 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11350 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11351 * sysdeps/i386/fpu/e_powl.S: Likewise.
11352 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11353 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11354 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11355 * sysdeps/i386/fpu/e_logl.S: Likewise.
11356 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11357 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11358 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11359 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11361 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11362 * sysdeps/i386/fpu/e_log.S: Likewise.
11363 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11364 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11365 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11366 * sysdeps/i386/fpu/e_logf.S: Likewise.
11367 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11368 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11369 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11370 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11371 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11372 * sysdeps/i386/fpu/e_log10.S: Likewise.
11373 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11375 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11376 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11377 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11378 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11379 * sysdeps/i386/asm-syntax.h: Likewise.
11380 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11381 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11382 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11383 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11384 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11385 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11386 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11387 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11388 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11389 * sysdeps/powerpc/sysdep.h: Likewise.
11390 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11391 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11392
d4a54ac6
JM
113932012-02-06 Joseph Myers <joseph@codesourcery.com>
11394
11395 [BZ #411]
11396 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11397
314054ea
JM
113982012-02-06 Joseph Myers <joseph@codesourcery.com>
11399
11400 * sysdeps/i386/sysdep.h: Include <features.h>.
11401 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11402 version.
11403
d8e0ca50
JM
114042012-02-05 Joseph Myers <joseph@codesourcery.com>
11405
11406 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11407 Define.
11408 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11409 LOAD_PIC_REG_STR.
11410
b1da7dd9
JM
114112012-02-03 Joseph Myers <joseph@codesourcery.com>
11412
11413 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11414 (SETUP_PIC_REG): Use GET_PC_THUNK.
11415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11416 macro.
11417
9a1d9254
JM
114182012-02-03 Joseph Myers <joseph@codesourcery.com>
11419
11420 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11421 for non-PIC compilation.
11422 (SETUP_PIC_REG): Add .p2align directive.
11423 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11424 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11425 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11426 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11427 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11428 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11429 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11430 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11431 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11432 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11433 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11434 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11435 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11436 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11437 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11438 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11439 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11440 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11441 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11442 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11443 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11444 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11445 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11446 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11447 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11449 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11450 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11451 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11452 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11453 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11454 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11455 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11456 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11457 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11458 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11459 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11460 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11461 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11462 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11463 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11464
65dc3b75
JM
114652012-02-03 Joseph Myers <joseph@codesourcery.com>
11466
11467 * math/tst-CMPLX.c: Include <stdio.h>.
11468
d55bf177
JM
114692012-01-31 Joseph Myers <joseph@codesourcery.com>
11470
11471 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11472 float.
11473 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11474 * sysdeps/sparc/bits/mathdef.h: Likewise.
11475
69db4f8f
MP
114762012-01-31 Marek Polacek <polacek@redhat.com>
11477
11478 * libio/libio.h: Don't define _PARAMS.
11479 * locale/programs/config.h: Don't define PARAMS.
11480 * stdlib/strtol_l.c: Likewise.
11481 (__strtol_l): Remove PARAMS from the prototype.
11482
41b81892
UD
114832012-01-31 Ulrich Drepper <drepper@gmail.com>
11484
3b49edc0
UD
11485 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11486 names. Just use the correct names. Remove unnecessary wrapper
11487 functions.
11488 * malloc/arena.c: Likewise.
11489 * malloc/hooks.c: Likewise.
11490
41b81892
UD
11491 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11492 ARENA_TEST says not to. Simplify test for creation of a new arena.
11493 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11494
27a25b6e
UD
114952012-01-30 Ulrich Drepper <drepper@gmail.com>
11496
11497 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11498 into tail calls.
11499 (update_get_addr): New function.
11500 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11501 GET_ADDR_MODULE parameter.
11502
c8a89e7d
JM
115032012-01-30 Joseph Myers <joseph@codesourcery.com>
11504
11505 * crypt/cert.c: Remove __STDC__ conditionals.
11506 * crypt/crypt-entry.c: Likewise.
11507 * crypt/crypt_util.c: Likewise.
11508 * libio/filedoalloc.c: Likewise.
11509 * libio/fileops.c: Likewise.
11510 * libio/genops.c: Likewise.
11511 * libio/iofclose.c: Likewise.
11512 * libio/iofdopen.c: Likewise.
11513 * libio/iofopen.c: Likewise.
11514 * libio/iofopen64.c: Likewise.
11515 * libio/iogetdelim.c: Likewise.
11516 * libio/iopopen.c: Likewise.
11517 * libio/obprintf.c: Likewise.
11518 * libio/oldfileops.c: Likewise.
11519 * libio/oldiofclose.c: Likewise.
11520 * libio/oldiofdopen.c: Likewise.
11521 * libio/oldiofopen.c: Likewise.
11522 * libio/oldiopopen.c: Likewise.
11523 * libio/wfiledoalloc.c: Likewise.
11524 * libio/wgenops.c: Likewise.
11525 * locale/programs/xmalloc.c: Likewise.
11526 * misc/syslog.c: Likewise.
11527 * stdio-common/xbug.c: Likewise.
11528 * string/memchr.c: Likewise.
11529 * string/memcmp.c: Likewise.
11530 * string/memrchr.c: Likewise.
11531 * string/rawmemchr.c: Likewise.
11532 * sysdeps/posix/getcwd.c: Likewise.
11533 * time/strftime_l.c: Likewise.
11534
3b100462
JM
115352012-01-30 Joseph Myers <joseph@codesourcery.com>
11536
11537 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11538 * config.make.in (config-cflags-sse2avx): Define.
11539 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11540 Fix typo.
11541
607998af
CM
115422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11543
11544 * scripts/config.guess: Update from upstream config git repository.
11545 * scripts/config.sub: Likewise.
11546
3601428f
CM
115472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11548
3ac8b282
CM
11549 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11550 (EM_NUM): Update.
11551 (R_TILEPRO_*, R_TILEGX_*): New macros.
11552
e034841e
CM
11553 * scripts/firstversions.awk: Fix bug in version range handling.
11554
540d7568
CM
11555 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11556
3601428f
CM
11557 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11558
463de862
CM
11559 * include/sys/epoll.h: New file.
11560 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11561 libc_hidden_def.
11562
73139a76
UD
115632012-01-28 Ulrich Drepper <drepper@gmail.com>
11564
96bc5b45
UD
11565 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11566 Avoid unnecessary __WORDSIZE == 64 test.
11567 (fmaxf): Use VEX format if possible.
11568 (fmax): Likewise.
11569 (fminf): Likewise.
11570 (fmin): Likewise.
11571
56f6f6a2
UD
11572 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11573 * math/math_private.h: Remove libc_fegetround* and
11574 libc_fesetround*.
11575 * sysdeps/i386/configure.in: Check for -msse2avx.
11576 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11577 also if SSE2AVX is defined.
11578 Remove libc_fegetround* and libc_fesetround*.
11579 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11580 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11581 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11582 of HAS_YMM_USABLE.
11583 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11584 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11585 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11586 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11588
73139a76
UD
11589 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11590
d73f93a4
AZ
115912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11592
11593 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11594 size is not set.
11595 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11596
6ee65ed6
UD
115972012-01-27 Ulrich Drepper <drepper@gmail.com>
11598
11599 [BZ #13618]
11600 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11601 relocation.
11602 * Makeconfig (libm): Define.
11603 * elf/Makefile: Add rules to build and run tst-relsort1.
11604 * elf/tst-relsort1.c: New file.
11605 * elf/tst-relsort1mod1.c: New file.
11606 * elf/tst-relsort1mod2.c: New file.
11607
8db21882
JM
116082012-01-27 Joseph Myers <joseph@codesourcery.com>
11609
11610 * math/s_ldexp.c: Remove __STDC__ conditionals.
11611 * math/s_ldexpf.c: Likewise.
11612 * math/s_ldexpl.c: Likewise.
11613 * math/s_nextafter.c: Likewise.
11614 * math/s_nexttowardf.c: Likewise.
11615 * math/s_significand.c: Likewise.
11616 * math/s_significandf.c: Likewise.
11617 * math/s_significandl.c: Likewise.
11618 * math/w_jnl.c: Likewise.
11619 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11620 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11621 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11622 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11623 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11625 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11626 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11627 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11628 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11629 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11631 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11632 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11633 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11634 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11635 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11636 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11638 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11639 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11640 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11641 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11643 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11644 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11645 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11646 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11647 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11648 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11649 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11650 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11651 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11652 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11653 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11654 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11655 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11656 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11657 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11658 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11659 * sysdeps/ieee754/k_standard.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11721 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11726 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11727 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11734 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11735 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11739 * sysdeps/ieee754/s_matherr.c: Likewise.
11740 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11741 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11742 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11744
965a54a4
JM
117452012-01-26 Joseph Myers <joseph@codesourcery.com>
11746
11747 * crypt/md5.h: Remove __STDC__ conditionals.
11748 * libio/libioP.h: Likewise.
11749 * locale/programs/config.h: Likewise.
11750 * sysdeps/generic/sysdep.h: Likewise.
11751 * sysdeps/i386/asm-syntax.h: Likewise.
11752 * sysdeps/s390/asm-syntax.h: Likewise.
11753 * sysdeps/unix/sysdep.h: Likewise.
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11756
7071ad79
JM
117572012-01-26 Joseph Myers <joseph@codesourcery.com>
11758
11759 * libio/libio.h: Remove __STDC__ conditionals.
11760 * malloc/obstack.h: Likewise.
11761 * math/complex.h: Likewise.
11762 * math/math.h: Likewise.
11763 * sysdeps/generic/_G_config.h: Likewise.
11764 * sysdeps/gnu/_G_config.h: Likewise.
11765 * sysdeps/mach/hurd/_G_config.h: Likewise.
11766 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11767 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11768 * sysdeps/sparc/bits/mathdef.h: Likewise.
11769
afc5ed09
UD
117702012-01-26 Ulrich Drepper <drepper@gmail.com>
11771
11772 [BZ #13583]
11773 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11774 Clean up HAS_* macros.
afc5ed09 11775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11776 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11777 possible.
11778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11779 HAS_AVX.
11780 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11781 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11782 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11783 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11784 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11785
bdb6de1d
JM
117862012-01-25 Joseph Myers <joseph@codesourcery.com>
11787
11788 * elf/tst-unique3.cc (gets): Remove declaration.
11789 * elf/tst-unique3lib.cc (gets): Likewise.
11790 * elf/tst-unique3lib2.cc (gets): Likewise.
11791 * elf/tst-unique4.cc (gets): Likewise.
11792
b15549e6
UD
117932012-01-24 Ulrich Drepper <drepper@gmail.com>
11794
11795 * include/stdio.h: Add C++ protection. Add gets declarations and
11796 definitions.
11797 * debug/tst-chk1.c: Don't declare gets here.
11798 * stdio-common/tst-gets.c: Likewise.
11799
a037381f
JM
118002012-01-24 Joseph Myers <joseph@codesourcery.com>
11801
11802 * posix/glob: Remove directory.
11803
f1d4aa75
JM
118042012-01-24 Joseph Myers <joseph@codesourcery.com>
11805
11806 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11807
81c0c964
PT
118082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11809
11810 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11811 of the non-standard EPFNOSUPPORT.
11812
0ea698ae
ST
118132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11814
11815 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11816 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11817 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11818
d220b117
UD
118192012-01-21 Ulrich Drepper <drepper@gmail.com>
11820
11821 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11822
3e1aa84e
UD
118232012-01-20 Ulrich Drepper <drepper@gmail.com>
11824
11825 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11826 transient errors.
11827 * nscd/grpcache.c (cache_addgr): Likewise.
11828 * nscd/hstcache.c (cache_addhst): Likewise.
11829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11830 * nscd/pwdcache.c (cache_addpw): Likewise.
11831 * nscd/servicescache.c (cache_addserv): Likewise.
11832
400aa020
UD
118332012-01-16 Ulrich Drepper <drepper@gmail.com>
11834
d77e7869
UD
11835 * malloc/malloc.c: Various cleanups.
11836 * malloc/hooks.c: Likewise.
11837
400aa020
UD
11838 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11839 * stdlib/bug-fmtmsg1.c: New file.
11840
11841 * stdlib/fmtmsg.c (init): Add missing unlock.
11842 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11843
e0a309cf
MP
118442012-01-12 Marek Polacek <polacek@redhat.com>
11845
11846 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11847 and _GNU_SOURCE.
11848
929d11c7
WS
118492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11850
11851 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11852 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11853 macro to ensure uniqueness of label name.
11854 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11855 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11856
41d0e869
UD
118572012-01-11 Ulrich Drepper <drepper@gmail.com>
11858
0cc5ed3b
UD
11859 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11860
41d0e869
UD
11861 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11862 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11863 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11865
a47a831a
UD
118662012-01-10 Ulrich Drepper <drepper@gmail.com>
11867
daa891c0
UD
11868 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11869
11870 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11871 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11872 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11873
e58ef0f2
UD
11874 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11875
a47a831a 11876 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11877 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11880
11881 * math/bits/math-finite.h: Add ldexp support.
11882
a0bfc9c7
MP
118832012-01-10 Marek Polacek <polacek@redhat.com>
11884
11885 * locale/programs/localedef.h (show_archive_content): Add noreturn
11886 attribute.
11887
d6e97a1d
UD
118882012-01-09 Ulrich Drepper <drepper@gmail.com>
11889
11890 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11891
d5835c26
UD
118922012-01-08 Ulrich Drepper <drepper@gmail.com>
11893
e5f484c6
UD
11894 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11895
d5835c26
UD
11896 * io/Makefile (headers): Add bits/poll2.h.
11897
d1f741e9
WS
118982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11899
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11901 typo #include statement.
11902
ec09c1c4
UD
119032012-01-08 Ulrich Drepper <drepper@gmail.com>
11904
11905 * include/sys/cdefs.h: Define __attribute_alloc_size.
11906 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11907 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11908 * elf/pldd.c: Likewise.
11909 * iconv/iconv_charmap.c: Likewise.
11910 * iconv/iconvconfig.c: Likewise.
11911 * iconv/strtab.c: Likewise.
11912 * locale/programs/locale.c: Likewise.
11913 * locale/programs/localedef.h: Likewise.
11914 * locale/programs/simple-hash.c: Likewise.
11915 * nscd/nscd.h: Likewise.
11916 * nss/makedb.c: Likewise.
11917 * sysdeps/generic/ldconfig.h: Likewise.
11918 * locale/programs/localedef.c: Remove xmalloc prototype.
11919 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11920
20b38e03
PP
119212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11922
11923 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11924 appropriate.
11925
a0da5fe1
UD
119262012-01-08 Ulrich Drepper <drepper@gmail.com>
11927
1d5a644a 11928 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11929 * math/tst-CMPLX.c: New file.
1d5a644a 11930
8784a6db
UD
11931 * math/complex.h (CMPLXL): Fix typo.
11932
d9a216c0
UD
11933 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11934 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11935 GLIBC_2.16.
11936 * debug/tst-chk1.c: Add poll and ppoll tests.
11937 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11938 * include/sys/poll.h: Add hidden proto for ppoll.
11939 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11940 * sysdeps/mach/hurd/ppoll.c: Likewise.
11941 * io/ppoll.c: Likewise.
11942 * debug/poll_chk.c: New file.
11943 * debug/ppoll_chk.c: New file.
11944 * include/bits/poll2.h: New file.
11945 * io/bits/poll2.h: New file.
11946
ac097f5c
UD
11947 [BZ #1350]
11948 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11949
2119dcfa
UD
11950 * configure.in: static is always set to yes. Remove.
11951 * config.make.in: Don't set build-static.
11952 * Makeconfig: Remove use of build-static.
11953 * dlfcn/Makefile: Likewise.
11954 * elf/Makefile: Likewise.
11955 * math/Makefile: Likewise.
11956 * misc/Makefile: Likewise.
11957 * nptl/Makefile: Likewise.
11958 * sysdeps/mach/hurd/Makefile: Likewise.
11959
121766a9
UD
11960 * configure.in: PWD_P is not used anymore.
11961 * config.make.in: Remove PWD_P entry.
11962
51a1d39c 11963 * configure.in: Remove last remnants of RANLIB.
8720d066 11964 No need to check for signed size_t anymore.
215f4bdc
UD
11965 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11966 and IA-64.
3857022a 11967 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11968 * aclocal.m4: Likewise.
11969
d3ed7225
UD
11970 * wcsmbs/mbrtoc16.c: Implement using towc function.
11971 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11972 * wcsmbs/wcsmbsload.c: Likewise.
11973 * iconv/gconv_simple.c: Likewise.
11974 * iconv/gconv_int.h: Likewise.
11975 * iconv/gconv_builtin.h: Likewise.
11976 * iconv/iconv_prog.c: Remove CHAR16 handling.
11977
11978 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11979
11980 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11981
a0da5fe1
UD
11982 * configure.in: Remove --with-elf and --enable-bounded options.
11983 Dont set base_machine for ia64. More non-ELF conditions removed.
11984 Remove testing and setting of leading underscore information.
11985 * config.make.in (build-bounded): Set to no.
11986 * config.h.in: Remove NO_UNDERSCORES entry.
11987 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11988 them.
11989 * csu/start.c: Remove !NO_UNDERSCORE code.
11990 * locale/localeinfo.h: Likewise.
11991 * sysdeps/generic/machine-gmon.h: Likewise.
11992 * sysdeps/generic/sysdep.h: Likewise.
11993 * sysdeps/i386/sysdep.h: Likewise.
11994 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11995 * sysdeps/mach/sysdep.h: Likewise.
11996 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11997 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11998 * sysdeps/sh/sysdep.h: Likewise.
11999 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12000 * sysdeps/unix/i386/sysdep.S: Likewise.
12001 * sysdeps/unix/sparc/start.c: Likewise.
12002 * sysdeps/unix/sparc/sysdep.S: Likewise.
12003 * sysdeps/unix/sparc/sysdep.h: Likewise.
12004 * sysdeps/unix/start.c: Likewise.
12005 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12006 * sysdeps/x86_64/sysdep.h: Likewise.
12007
df78418a
UD
120082012-01-07 Ulrich Drepper <drepper@gmail.com>
12009
a784e502
UD
12010 [BZ #13553]
12011 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12012 for non-gcc.
12013 * argp/argp-fmtstream.h: Use const instead __const.
12014 * argp/argp.h: Likewise.
12015 * assert/assert.h: Likewise.
12016 * bits/fenv.h: Likewise.
12017 * bits/sched.h: Likewise.
12018 * bits/sigset.h: Likewise.
12019 * bits/sigthread.h: Likewise.
12020 * catgets/nl_types.h: Likewise.
12021 * conform/data/pthread.h-data: Likewise.
12022 * crypt/crypt-private.h: Likewise.
12023 * crypt/crypt.h: Likewise.
12024 * crypt/crypt_util.c: Likewise.
12025 * ctype/ctype.h: Likewise.
12026 * debug/execinfo.h: Likewise.
12027 * debug/mbsnrtowcs_chk.c: Likewise.
12028 * debug/mbsrtowcs_chk.c: Likewise.
12029 * debug/wcsnrtombs_chk.c: Likewise.
12030 * debug/wcsrtombs_chk.c: Likewise.
12031 * debug/wcstombs_chk.c: Likewise.
12032 * dirent/dirent.h: Likewise.
12033 * dlfcn/dlfcn.h: Likewise.
12034 * elf/neededtest4.c: Likewise.
12035 * grp/grp.h: Likewise.
12036 * gshadow/gshadow.h: Likewise.
12037 * iconv/gconv.h: Likewise.
12038 * iconv/gconv_int.h: Likewise.
12039 * iconv/gconv_simple.c: Likewise.
12040 * iconv/iconv.h: Likewise.
12041 * iconv/loop.c: Likewise.
12042 * iconv/skeleton.c: Likewise.
12043 * include/aio.h: Likewise.
12044 * include/aliases.h: Likewise.
12045 * include/argz.h: Likewise.
12046 * include/arpa/inet.h: Likewise.
12047 * include/assert.h: Likewise.
12048 * include/dirent.h: Likewise.
12049 * include/dlfcn.h: Likewise.
12050 * include/execinfo.h: Likewise.
12051 * include/fcntl.h: Likewise.
12052 * include/fenv.h: Likewise.
12053 * include/glob.h: Likewise.
12054 * include/grp.h: Likewise.
12055 * include/libintl.h: Likewise.
12056 * include/mntent.h: Likewise.
12057 * include/netdb.h: Likewise.
12058 * include/pwd.h: Likewise.
12059 * include/rpc/netdb.h: Likewise.
12060 * include/sched.h: Likewise.
12061 * include/search.h: Likewise.
12062 * include/shadow.h: Likewise.
12063 * include/signal.h: Likewise.
12064 * include/stdio.h: Likewise.
12065 * include/stdlib.h: Likewise.
12066 * include/string.h: Likewise.
12067 * include/sys/socket.h: Likewise.
12068 * include/sys/stat.h: Likewise.
12069 * include/sys/statfs.h: Likewise.
12070 * include/sys/statvfs.h: Likewise.
12071 * include/sys/syslog.h: Likewise.
12072 * include/sys/time.h: Likewise.
12073 * include/sys/uio.h: Likewise.
12074 * include/time.h: Likewise.
12075 * include/unistd.h: Likewise.
12076 * include/utmp.h: Likewise.
12077 * include/wchar.h: Likewise.
12078 * include/wctype.h: Likewise.
12079 * inet/aliases.h: Likewise.
12080 * inet/arpa/inet.h: Likewise.
12081 * inet/netinet/ether.h: Likewise.
12082 * inet/netinet/in.h: Likewise.
12083 * intl/libintl.h: Likewise.
12084 * io/bits/fcntl2.h: Likewise.
12085 * io/fcntl.h: Likewise.
12086 * io/ftw.h: Likewise.
12087 * io/sys/poll.h: Likewise.
12088 * io/sys/stat.h: Likewise.
12089 * io/sys/statfs.h: Likewise.
12090 * io/sys/statvfs.h: Likewise.
12091 * io/utime.h: Likewise.
12092 * libio/bits/stdio.h: Likewise.
12093 * libio/bits/stdio2.h: Likewise.
12094 * libio/libio.h: Likewise.
12095 * libio/libioP.h: Likewise.
12096 * libio/stdio.h: Likewise.
12097 * locale/lc-ctype.c: Likewise.
12098 * locale/locale.h: Likewise.
12099 * login/utmp.h: Likewise.
12100 * malloc/arena.c: Likewise.
12101 * malloc/malloc.c: Likewise.
12102 * malloc/malloc.h: Likewise.
12103 * malloc/mcheck.c: Likewise.
12104 * malloc/mtrace.c: Likewise.
12105 * math/bits/mathcalls.h: Likewise.
12106 * math/fenv.h: Likewise.
12107 * math/math_private.h: Likewise.
12108 * misc/bits/error.h: Likewise.
12109 * misc/bits/syslog.h: Likewise.
12110 * misc/err.h: Likewise.
12111 * misc/error.h: Likewise.
12112 * misc/fstab.h: Likewise.
12113 * misc/mntent.h: Likewise.
12114 * misc/regexp.h: Likewise.
12115 * misc/search.h: Likewise.
12116 * misc/sgtty.h: Likewise.
12117 * misc/sys/mman.h: Likewise.
12118 * misc/sys/syslog.h: Likewise.
12119 * misc/sys/uio.h: Likewise.
12120 * misc/sys/xattr.h: Likewise.
12121 * misc/ttyent.h: Likewise.
12122 * nis/rpcsvc/ypclnt.h: Likewise.
12123 * nss/nss.h: Likewise.
12124 * posix/bits/unistd.h: Likewise.
12125 * posix/fnmatch.h: Likewise.
12126 * posix/glob.h: Likewise.
12127 * posix/sched.h: Likewise.
12128 * posix/spawn.h: Likewise.
12129 * posix/sys/wait.h: Likewise.
12130 * posix/unistd.h: Likewise.
12131 * posix/wordexp.h: Likewise.
12132 * pwd/pwd.h: Likewise.
12133 * resolv/netdb.h: Likewise.
12134 * resource/sys/resource.h: Likewise.
12135 * rt/aio.h: Likewise.
12136 * rt/bits/mqueue2.h: Likewise.
12137 * rt/mqueue.h: Likewise.
12138 * shadow/shadow.h: Likewise.
12139 * signal/signal.h: Likewise.
12140 * socket/send.c: Likewise.
12141 * socket/sendto.c: Likewise.
12142 * socket/sys/socket.h: Likewise.
12143 * stdio-common/printf.h: Likewise.
12144 * stdlib/bits/stdlib.h: Likewise.
12145 * stdlib/fmtmsg.h: Likewise.
12146 * stdlib/monetary.h: Likewise.
12147 * stdlib/stdlib.h: Likewise.
12148 * stdlib/ucontext.h: Likewise.
12149 * streams/stropts.h: Likewise.
12150 * string/argz.h: Likewise.
12151 * string/bits/string2.h: Likewise.
12152 * string/string.h: Likewise.
12153 * string/strings.h: Likewise.
12154 * sunrpc/rpc/auth.h: Likewise.
12155 * sunrpc/rpc/auth_des.h: Likewise.
12156 * sunrpc/rpc/clnt.h: Likewise.
12157 * sunrpc/rpc/netdb.h: Likewise.
12158 * sunrpc/rpc/pmap_clnt.h: Likewise.
12159 * sunrpc/rpc/xdr.h: Likewise.
12160 * sysdeps/generic/inttypes.h: Likewise.
12161 * sysdeps/generic/net/if.h: Likewise.
12162 * sysdeps/generic/sys/swap.h: Likewise.
12163 * sysdeps/gnu/net/if.h: Likewise.
12164 * sysdeps/gnu/utmpx.h: Likewise.
12165 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12166 * sysdeps/i386/i486/bits/string.h: Likewise.
12167 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12168 * sysdeps/s390/bits/string.h: Likewise.
12169 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12170 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12171 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12172 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12173 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12174 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12175 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12176 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12177 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12178 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12179 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12180 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12181 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12182 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12183 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12184 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12185 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12187 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12188 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12189 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12190 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12191 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12192 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12193 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12194 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12195 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12197 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12198 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12199 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12200 * sysvipc/sys/ipc.h: Likewise.
12201 * sysvipc/sys/msg.h: Likewise.
12202 * sysvipc/sys/sem.h: Likewise.
12203 * sysvipc/sys/shm.h: Likewise.
12204 * termios/termios.h: Likewise.
12205 * time/sys/time.h: Likewise.
12206 * time/time.h: Likewise.
12207 * wcsmbs/bits/wchar2.h: Likewise.
12208 * wcsmbs/uchar.h: Likewise.
12209 * wcsmbs/wchar.h: Likewise.
12210 * wctype/wctype.h: Likewise.
12211
0269750c
UD
12212 [BZ #13551]
12213 * Makeconfig: Remove all but ELF support including AIX support.
12214 * Makerules: Likewise.
12215 * config.h.in: Likewise.
12216 * config.make.in: Likewise.
12217 * configure: Likewise.
12218 * configure.in: Likewise.
12219 * csu/Makefile: Likewise.
12220 * csu/version.c: Likewise.
12221 * debug/Makefile: Likewise.
12222 * dlfcn/Makefile: Likewise.
12223 * elf/Makefile: Likewise.
12224 * extra-lib.mk: Likewise.
12225 * iconv/Makefile: Likewise.
12226 * include/libc-symbols.h: Likewise.
12227 * include/shlib-compat.h: Likewise.
12228 * resolv/Makefile: Likewise.
12229 * resolv/res_libc.c: Likewise.
12230 * rt/Makefile: Likewise.
12231 * sysdeps/i386/asm-syntax.h: Likewise.
12232 * sysdeps/i386/sysdep.h: Likewise.
12233 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12234 * sysdeps/mach/sysdep.h: Likewise.
12235 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12236 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12237 * sysdeps/s390/asm-syntax.h: Likewise.
12238 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12239 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12240 * sysdeps/sh/sysdep.h: Likewise.
12241 * sysdeps/unix/sparc/sysdep.h: Likewise.
12242 * sysdeps/wordsize-32/divdi3.c: Likewise.
12243 * sysdeps/x86_64/sysdep.h: Likewise.
12244
00bbd29b
UD
12245 * argp/Versions: Remove _argp_unlock_xxx.
12246
12247 [BZ #13559]
12248 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12249 * abilist/libBrokenLocale.abilist: Likewise.
12250 * abilist/libanl.abilist: Likewise.
12251 * abilist/libc.abilist: Likewise.
12252 * abilist/libcrypt.abilist: Likewise.
12253 * abilist/libdl.abilist: Likewise.
12254 * abilist/libm.abilist: Likewise.
12255 * abilist/libnsl.abilist: Likewise.
12256 * abilist/libpthread.abilist: Likewise.
12257 * abilist/libresolv.abilist: Likewise.
12258 * abilist/librt.abilist: Likewise.
12259 * abilist/libthread_db.abilist: Likewise.
12260 * abilist/libutil.abilist: Likewise.
12261 * abilist/libnss_db.abilist: New file.
12262
12263 * scripts/abilist.awk: Add support for indirect functions.
12264
a2693a0e
UD
12265 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12266
3f05895f
UD
12267 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12268
ecb6fb48
UD
12269 * shlib-versions: Remove entries for ports architectures.
12270
664f8cb9
UD
12271 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12272 files in ports.
12273 * elf/stackguard-macros.h: Remove support for IA-64.
12274 * elf/tst-auditmod1.c: Likewise.
12275 * sysdeps/generic/ldsodefs.h: Likewise.
12276
7ae81d88
UD
12277 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12278 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12279 configure files.
12280
bdeba135
UD
12281 [BZ #13552]
12282 * configure.in: Remove --enable-omitfp support.
12283 * FAQ.in: Adjust.
12284 * config.make.in: Likewise.
12285 * Makeconfig: Likewise.
12286 * manual/install.texi: Likewise.
12287
d75a0a62
UD
12288 In case anyone cares, the IA-64 architecture could move to ports.
12289 * sysdeps/ia64/*: Removed.
12290 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12291 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12292
dcc9756b
UD
12293 [BZ #13555]
12294 * configure.in: Remove entries for unsupported architectures.
12295
d3761ebc 12296 [BZ #13533]
9954432e
UD
12297 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12298 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12299 routines.
12300 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12301 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12302 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12303 fall back to using wcrtomb.
12304 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12305 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12306 renaming.
12307 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12308 * wcsmbs/tst-c16c32-1.c: New file.
12309
12310 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12311 local variable.
12312
c3a87236
UD
12313 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12314
28926a1b
UD
12315 * elf/tst-unique3.cc: Add explicit declaration of gets.
12316 * elf/tst-unique3lib.cc: Likewise.
12317 * elf/tst-unique3lib2.cc: Likewise.
12318 * elf/tst-unique4.cc: Likewise.
12319
df78418a
UD
12320 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12321
8ecd6b2a
JM
123222012-01-06 Joseph Myers <joseph@codesourcery.com>
12323
12324 [BZ #13566]
12325 * assert/assert.h (static_assert): Don't define for C++.
12326 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12327 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12328
9f115170
UD
123292012-01-03 Ulrich Drepper <drepper@gmail.com>
12330
5e0d0300
UD
12331 * iconv/loop.c (single loop): Fix assertion in storing of
12332 remaining bytes.
12333
9f115170
UD
12334 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12335
81fb02b0
UD
123362012-01-01 Ulrich Drepper <drepper@gmail.com>
12337
12338 * posix/getconf.c: Update copyright year.
12339 * nss/getent.c: Likewise.
a316c1f6 12340 * nss/makedb.c: Likewise.
81fb02b0
UD
12341 * iconv/iconvconfig.c: Likewise.
12342 * iconv/iconv_prog.c: Likewise.
12343 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12344 * elf/pldd.c: Likewise.
12345 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12346 * catgets/gencat.c: Likewise.
12347 * csu/version.c: Likewise.
12348 * elf/ldd.bash.in: Likewise.
12349 * elf/sprof.c (print_version): Likewise.
12350 * locale/programs/locale.c: Likewise.
12351 * locale/programs/localedef.c: Likewise.
a316c1f6 12352 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12353 * nscd/nscd.c (print_version): Likewise.
12354 * debug/xtrace.sh: Likewise.
12355 * malloc/memusage.sh: Likewise.
12356 * malloc/mtrace.pl: Likewise.
12357 * debug/catchsegv.sh: Likewise.
12358
2ba92745
JJ
123592011-12-30 Jakub Jelinek <jakub@redhat.com>
12360
12361 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12362 pure attribute.
12363
dadebdae
UD
123642011-12-24 Ulrich Drepper <drepper@gmail.com>
12365
d3761ebc 12366 [BZ #13533]
db6af3eb
UD
12367 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12368 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12369 transformations.
12370 * iconv/gconv_int.h: Likewise.
12371 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12372 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12373 from libc for GLIBC_2.16.
12374 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12375 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12376 * wcsmbs/uchar.h: Really define mbstate_t.
12377 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12378 * wcsmbs/c16rtomb.c: New file.
12379 * wcsmbs/mbrtoc16.c: New file.
12380 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12381 for C/POSIX locale.
12382 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12383 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12384
dadebdae
UD
12385 * wcsmbs/wchar.h: Add missing __restrict.
12386
67371b56
UD
123872011-12-23 Ulrich Drepper <drepper@gmail.com>
12388
74033a25
UD
12389 [BZ #13532]
12390 * time/Makefile (routines): Add timespec_get.
12391 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12392 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12393 timespec for ISO C11.
12394 * time/timespec_get.c: New file.
12395 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12396 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12397
380d7e87
UD
12398 [BZ #13531]
12399 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12400 * stdlib/stdlib.h: Declare aligned_alloc.
12401 * Versions.def: Add GLIBC_2.16 for libc.
12402 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12403
4e9e7a35
UD
12404 [BZ 13527]
12405 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12406 ISO C11.
12407
380d7e87 12408 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12409 code.
12410
03a71829
UD
12411 [BZ #13528]
12412 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12413
839e283e
UD
12414 [BZ #13529]
12415 * assert/assert.h (static_assert): Define.
12416
ce5294e2 12417 * version.h: Update for 2.16 development version.
90fa7312 12418
8d44e150 12419 [BZ #13526]
d7809905
UD
12420 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12421 _ISOC11_SOURCE.
12422
c0da14cd
UD
12423 * version.h (RELEASE): Bump for 2.15 release.
12424 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12425
530a3249
MP
12426 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12427 Patch by Marek Polacek <mpolacek@redhat.com>.
12428
67371b56
UD
12429 * bits/byteswap.h: Protect long long constants with __extension__.
12430 * sysdeps/i386/bits/byteswap.h: Likewise.
12431 * sysdeps/ia64/bits/byteswap.h: Likewise.
12432 * sysdeps/s390/bits/byteswap.h: Likewise.
12433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12434
15db4de1
LD
124352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12436
12437 [BZ #13540]
bbe315ea
LD
12438 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12439 destination buffer.
15db4de1
LD
12440 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12441
2b2596b1
MP
124422011-12-23 Marek Polacek <polacek@redhat.com>
12443
12444 * elf/dl-addr.c (determine_info): Add inline keyword.
12445 * elf/tst-auditmod4b.c (check_avx): Likewise.
12446 * elf/tst-auditmod6b.c (check_avx): Likewise.
12447 * elf/tst-auditmod6c.c (check_avx): Likewise.
12448 * elf/tst-auditmod7b.c (check_avx): Likewise.
12449
70c6c246
UD
124502011-12-23 Ulrich Drepper <drepper@gmail.com>
12451
12452 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12453 !__SSE_MATH__.
12454
c044cf14
LD
124552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12456
15db4de1 12457 [BZ #13540]
c044cf14
LD
12458 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12459 processing for last bytes.
12460
6b13d9d9
BH
124612011-08-06 Bruno Haible <bruno@clisp.org>
12462
d455f537
BH
12463 [BZ #13061]
12464 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12465 U+0385, not to U+1FEE.
12466
6b13d9d9
BH
12467 [BZ #13062]
12468 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12469 entry for U+00A5 U+0301.
12470
db910efd
UD
124712011-12-22 Ulrich Drepper <drepper@gmail.com>
12472
27deeafc
UD
12473 [BZ #13166]
12474 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12475 buffer for the output is too small.
12476
aed9d171
UD
12477 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12478 optimization.
12479
db910efd
UD
12480 [BZ #13185]
12481 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12482 SSE flags if possible.
12483
2bd779ae
LD
124842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12485
e7f9dac3 12486 [BZ #13540]
2bd779ae
LD
12487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12488 processing for last bytes.
12489
154bfc16
JM
124902011-12-22 Joseph Myers <joseph@codesourcery.com>
12491
12492 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12493 (syscall-list-default-options, syscall-list-default-condition)
12494 (syscall-list-includes): Define.
12495 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12496 list of ABIs and options and #if conditions for each ABI. Do not
12497 handle common syscalls between ABIs specially.
12498 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12499 Remove.
12500 (syscall-list-variants, syscall-list-32bit-options)
12501 (syscall-list-32bit-condition, syscall-list-64bit-options)
12502 (syscall-list-64bit-condition): Define.
12503 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12504 (syscall-list-variants, syscall-list-32bit-options)
12505 (syscall-list-32bit-condition, syscall-list-64bit-options)
12506 (syscall-list-64bit-condition): Define.
12507 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12508 Remove.
12509 (syscall-list-variants, syscall-list-32bit-options)
12510 (syscall-list-32bit-condition, syscall-list-64bit-options)
12511 (syscall-list-64bit-condition): Define.
12512 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12513 Remove.
12514 (syscall-list-variants, syscall-list-32bit-options)
12515 (syscall-list-32bit-condition, syscall-list-64bit-options)
12516 (syscall-list-64bit-condition): Define.
12517
21eaf3a5
UD
125182011-12-22 Ulrich Drepper <drepper@gmail.com>
12519
16c6f992
UD
12520 * locale/iso-639.def: Add brx entry.
12521
41043168
UD
12522 [BZ #13328]
12523 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12524 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12525
21eaf3a5
UD
12526 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12527 __feraiseexcept_renamed.
12528
e3a851a2
UD
125292011-12-21 Ulrich Drepper <drepper@gmail.com>
12530
4920765e
UD
12531 [BZ #13538]
12532 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12533 EPOLLET with unsigned values.
12534 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12536
e3a851a2
UD
12537 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12538 to large cancellation.
12539 * math/s_cacoshf.c: Likewise.
12540 * math/s_cacoshl.c: Likewise.
12541
b27e24b8
RK
125422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12543
12544 [BZ #13305]
aebefeee 12545 [BZ #12786]
b27e24b8
RK
12546 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12547 * math/s_cacoshf.c: Likewise.
12548 * math/s_cacoshl.c: Likewise.
12549
ee190f67
UD
125502011-12-21 Ulrich Drepper <drepper@gmail.com>
12551
12552 [BZ #13439]
12553 * iconv/gconv.h: Define __GCONV_SWAP.
12554 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12555 * iconvdata/utf-16.c: Likewise.
12556 * iconvdata/utf-32.c: Likewise.
12557
707f25df
AS
125582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12559
12560 [BZ #13524]
12561 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12562 numerator after shifting it by one limb.
12563
d2daaa1e
RÁE
125642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12565
12566 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12567 under [__USE_EXTERN_INLINES].
12568
a4647e72
UD
125692011-12-17 Ulrich Drepper <drepper@gmail.com>
12570
12571 [BZ #13446]
12572 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12573
f0b264f1
AZ
125742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12575
12576 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12577 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12578 optimized code.
12579 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12580 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12581 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12582 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12583 for strncasecmp/strncasecmp_l compilation.
12584 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12585 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12586
8ef4f244
MP
125872011-12-08 Marek Polacek <mpolacek@redhat.com>
12588
12589 [BZ #13484]
12590 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12591 of __asm__.
12592
97ac2654
UD
125932011-12-17 Ulrich Drepper <drepper@gmail.com>
12594
12595 [BZ #13506]
12596 * time/tzfile.c (__tzfile_read): Check values from file header.
12597
91d2a845
WS
125982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12599
12600 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12601 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12602 * powerpc/powerpc32/dl-start.S: Likewise.
12603 * powerpc/powerpc32/elf/start.S: Likewise.
12604 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12605 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12606 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12607 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12608 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12609 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12610 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12611 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12612 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12613 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12614 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12615 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12616 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12617 * powerpc/powerpc32/memset.S: Likewise.
12618 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12619 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12620 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12621 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12622 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12623 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12624 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12625 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12626 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12627 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12628 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12629 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12630 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12631
a1267ba1
AZ
126322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12633
12634 * math/libm-test.inc: Added more nearbyint tests.
12635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12636 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12639
ad8ac1bd
RL
126402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12641
12642 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12643 FD_CLOEXEC.
12644
1d3e4b61
UD
126452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12646
12647 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12648 Add wcscpy-ssse3 wcscpy-c.
12649 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12650 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12651 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12652 * sysdeps/x86_64/wcschr.S: New file.
12653 * sysdeps/x86_64/wcsrchr.S: New file.
12654 * string/test-strcmp.c: Remove checking of wcscmp function for
12655 wrong alignments.
12656 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12657 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12658 wcsrchr-sse2 wcsrchr-c.
12659 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12660 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12661 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12662 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12663 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12664 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12665 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12666 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12667 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12668 * wcsmbc/wcschr.c (WCSCHR): New macro.
12669
5b330a2d
UD
126702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12671
12672 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12673 * wcsmbs/test-wcsrchr.c: New file.
12674 * string/test-strrchr.c: Add wcsrchr support.
12675 (WIDE): New macro.
12676 * wcsmbs/test-wcscpy.c: New file.
12677 * string/test-strcpy.c: Add wcscpy support.
12678 (WIDE): New macro.
26428b7c 12679
f039c043
UD
126802011-12-10 Ulrich Drepper <drepper@gmail.com>
12681
12682 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12683 the inner loop.
12684
850fb039
AS
126852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12686
12687 [BZ #13472]
12688 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12689
4efbd5cb
UD
126902011-12-04 Ulrich Drepper <drepper@gmail.com>
12691
52ff5dd0 12692 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12693 Minor optimizations.
52ff5dd0 12694
4efbd5cb
UD
12695 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12696 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12697 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12698
8a426e12
UD
126992011-12-03 Ulrich Drepper <drepper@gmail.com>
12700
aff2453d
UD
12701 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12702 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12703 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12704 for gcc to avoid warnings.
12705 * inet/Makefile (tests): Add tst-checks.
12706 * inet/tst-checks.c: New file.
12707
12708 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12709 warning.
12710
12711 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12712 __wmemcmp_sse2.
12713
12714 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12715 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12716
8a426e12
UD
12717 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12718
9bea3473
UD
127192011-12-02 Ulrich Drepper <drepper@gmail.com>
12720
3a965496
UD
12721 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12722 problem.
12723
9bea3473
UD
12724 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12725
f101631b
UD
127262011-11-29 Joseph Myers <joseph@codesourcery.com>
12727
12728 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12729 conditional on GCC version.
12730 (__arch_compare_and_exchange_val_8_acq)
12731 (__arch_compare_and_exchange_val_16_acq)
12732 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12733 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12734 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12735
a98275aa
UD
127362011-12-02 Joseph Myers <joseph@codesourcery.com>
12737
12738 * sysdeps/sh/backtrace.c: New file.
12739
d4cc29a2
AS
127402011-12-02 Andreas Schwab <schwab@redhat.com>
12741
12742 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12743 parenthesis.
12744
6257af2d
AS
127452011-12-01 Andreas Schwab <schwab@redhat.com>
12746
12747 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12748 falling back to utime.
12749
b5f44c1a
AS
127502011-11-30 Andreas Schwab <schwab@redhat.com>
12751
12752 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12753 expectations for float.
12754
f3a6cc0a
AS
127552011-11-29 Andreas Schwab <schwab@redhat.com>
12756
12757 * locale/weight.h (findidx): Add parameter len.
12758 * locale/weightwc.h (findidx): Likewise.
12759 * posix/fnmatch_loop.c (FCT): Adjust caller.
12760 * posix/regcomp.c (build_equiv_class): Likewise.
12761 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12762 * posix/regexec.c (check_node_accept_bytes): Likewise.
12763 * string/strcoll_l.c (STRCOLL): Likewise.
12764 * string/strxfrm_l.c (STRXFRM): Likewise.
12765
9d65ea3a
UD
127662011-11-17 Ulrich Drepper <drepper@gmail.com>
12767
12768 * Makefile.in: Remove CVSOPT handling.
12769 * configure.in: Remove use of AC_REVISION.
12770 * iconvdata/Makefile (distribute): No need to filter out CVS.
12771 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12772 handling.
12773
5583a086
AS
127742011-11-16 Andreas Schwab <schwab@redhat.com>
12775
12776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12777 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12778 [USE_AS_STRNCASECMP_L]: Likewise.
12779 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12780 NO_TLS_DIRECT_SEG_REFS.
12781 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12782 Fix argument offsets for non-PIC.
12783 [USE_AS_STRNCASECMP_L]: Likewise.
12784 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12785 NO_TLS_DIRECT_SEG_REFS.
12786
d62a8200
UD
127872011-11-15 Ulrich Drepper <drepper@gmail.com>
12788
9d65ea3a 12789 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12790 O_CLOEXEC.
12791 * locale/loadlocale.c (_nl_load_locale): Likewise.
12792
09f93bd3
AS
127932011-11-15 Andreas Schwab <schwab@redhat.com>
12794
446514f9
AS
12795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12796 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12797 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12798 (SYSCALL_GETTIME): Set errno on error.
12799
09f93bd3
AS
12800 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12801 count references to noai6ai_cached.
12802
312be3f9
UD
128032011-11-15 Ulrich Drepper <drepper@gmail.com>
12804
12805 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12806
12807 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12808 FD_CLOEXEC for /proc/self/maps.
12809
12810 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12811 FD_CLOEXEC for /proc/meminfo.
12812
12813 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12814 gai.conf.
12815
12816 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12817 FD_CLOEXEC for given file.
12818
12819 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12820
12821 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12822 FD_CLOEXEC for /etc/hosts.
12823 (_gethtent): Likewise.
12824
12825 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12826
12827 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12828 cancellation and set FD_CLOEXEC for /etc/netgroup.
12829
12830 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12831 reading /etc/publickey.
12832
12833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12834 allow cancellation when reading /etc/group.
12835
12836 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12837 cancellation.
12838 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12839
12840 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12841 when using data file.
12842
12843 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12844
12845 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12846 (write_nis_obj): Use "c" and "e" in fopen.
12847
12848 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12849
12850 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12851
12852 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12853
12854 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12855
12856 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12857 locale.alias.
12858
12859 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12860
12861 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12862
12863 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12864
12865 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12866 file parsing and set FD_CLOEXEC.
12867
82af0fa8
UD
128682011-11-14 Ulrich Drepper <drepper@gmail.com>
12869
12870 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12871
a5fb313c
AS
128722011-11-14 Andreas Schwab <schwab@redhat.com>
12873
12874 * malloc/arena.c (arena_get2): Don't call reused_arena when
12875 _int_new_arena failed.
12876
6abf3465
UD
128772011-11-14 Ulrich Drepper <drepper@gmail.com>
12878
12879 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12880 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12881 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12882 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12885 to compile strcasecmp and strncasecmp.
12886 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12887 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12888
12889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12890
76e3966e
UD
128912011-11-13 Ulrich Drepper <drepper@gmail.com>
12892
12893 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12894 locale-defines.sym to gen-as-const-headers.
12895 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12896 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12898 to compile strcasecmp and strncasecmp.
12899 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12900 strcasecmp_l and strncasecmp_l.
12901 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12902 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12903 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12904 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12905 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12906 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12907 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12908 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12909 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12910 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12911 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12912
ab26144e
UD
129132011-11-12 Ulrich Drepper <drepper@gmail.com>
12914
7edb22ef
UD
12915 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12916 result of SYSDEP_GETTIME_CPU to retval.
12917 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12918 parameter list to macro. Remove trailing semicolon. Adjust users.
12919
9694fc44
UD
12920 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12921 variable.
12922
8ad89ef8
UD
12923 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12924 mantissa words.
12925 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12926
0c822ef9
UD
12927 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12928 from unused variable.
12929
874e0564
UD
12930 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12931 DWARF definitions.
12932 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12933 for assembling.
12934
3a2edc79
UD
12935 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12936 over namespaces.
12937
f3c2577f
UD
12938 * sunrpc/rpc_prot.c (rejected): Fix case value.
12939
294ce126
UD
12940 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12941 unsigned long long int to avoid warnings in shift.
12942
5e2b63c6
UD
12943 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12944 of use of trans.
12945 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12946 variable tmp.
12947
e7f4b08e
UD
12948 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12949 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12950 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12951
ab26144e
UD
12952 * nis/nis_table.c (nis_list): Use variable of correct type for
12953 result of __follow_path call.
12954
8a6d5255
AZ
129552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12956
12957 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12958 of math functions ceil, trunc, floor, round, and sqrt, when
12959 avaliable on the platform.
12960 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12961 name clash.
12962 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12963 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12964 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12965
aaddc98c
MP
129662011-10-30 Marek Polacek <mpolacek@redhat.com>
12967
12968 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12969 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12970
95b7042b
RM
129712011-11-11 Roland McGrath <roland@hack.frob.com>
12972
12973 * include/unistd.h: Fix __readlink return type.
12974 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12975
57769839
UD
129762011-11-11 Ulrich Drepper <drepper@gmail.com>
12977
12978 * stdlib/ucontext.h: Undo last change for makecontext.
12979
edc5984d
AS
129802011-11-11 Andreas Schwab <schwab@redhat.com>
12981
98591e58
AS
12982 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12983
edc5984d
AS
12984 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12985 * setjmp/setjmp.h: Mark functions as non-leaf.
12986 * setjmp/bits/setjmp2.h: Likewise.
12987 * stdlib/ucontext.h: Likewise.
12988
77cdc054
AS
129892011-11-10 Andreas Schwab <schwab@redhat.com>
12990
12991 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12992 (reused_arena): Don't check arena limit.
12993 (arena_get2): Atomically check arena limit.
12994
fe72eebd
UD
129952011-11-08 Ulrich Drepper <drepper@gmail.com>
12996
5f078c32
UD
12997 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12998 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12999
fe72eebd
UD
13000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13001 instructions.
13002
ae1bc2fa
AS
130032011-11-07 Andreas Schwab <schwab@redhat.com>
13004
7583a88d
AS
13005 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13006 handler when locking.
13007
ae1bc2fa
AS
13008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13009 Fix size of allocated buffer.
13010
10fb0bfa
AS
130112011-11-04 Andreas Schwab <schwab@redhat.com>
13012
998832a4
AS
13013 [BZ #10103]
13014 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13015 declarations for long double functions.
13016 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13017
10fb0bfa
AS
13018 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13019
3d7ba52b
AS
130202011-11-03 Andreas Schwab <schwab@redhat.com>
13021
a9ae54a1
AS
13022 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13023 installed.
13024
3d7ba52b
AS
13025 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13026 is disabled.
13027
bc8db248
ST
130282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13029
13030 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13031
45b96dd6
AS
130322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13033
647776f6
AS
13034 * include/alloca.h (stackinfo_alloca_round): Define.
13035 (extend_alloca): Use it.
13036 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13037 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13038 here.
13039
d91a8b93
AS
13040 * scripts/check-local-headers.sh: Ignore libaudit.h.
13041
45b96dd6
AS
13042 * nscd/Makefile (extra-objs): Make recursively expanded.
13043
432d41ce
UD
130442011-11-01 Ulrich Drepper <drepper@gmail.com>
13045
34372fc6
UD
13046 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13047 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13048
fadb59f8
UD
13049 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13050 * posix/tst-rfc3484-2.c: Likewise.
13051 * posix/tst-rfc3484-3.c: Likewise.
13052
78239589
UD
13053 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13054 process_vm_writev.
13055 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13056 process_vm_writev.
13057 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13058 process_vm_writev from libc using GLIBC_2.15 version.
13059
432d41ce
UD
13060 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13061
02f9c6cf
PP
130622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13063
13064 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13065 stack usage.
13066
3a2c0242
UD
130672011-10-31 Ulrich Drepper <drepper@gmail.com>
13068
f4ec4833
UD
13069 [BZ #13367]
13070 * nss/getent.c (initgroups_keys): Show error message in case no group
13071 names are given.
13072
3a2c0242
UD
13073 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13074 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13075 __bump_nl_timestamp.
13076 * nscd/connections (nscd_init): When host database is served open
13077 netlink socket and request notification about configuration changes.
13078 (main_loop_poll): Track netlink file descriptor and bump timestamp
13079 in case data becomes available.
13080 (main_loop_epoll): Likewise.
13081 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13082 (database_pers_head): Add extra_data fileds.
13083 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13084 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13085 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13086 Adjust caller.
13087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13088 in6ai data, call __free_in6ai.
13089 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13090 Add -DHAVE_NETLINK.
13091 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13092 interface information. Reuse previous data if netlink timestamp
13093 is not changed.
13094 (__bump_nl_timestamp): New function.
13095 (__free_in6ai): New function.
13096
636064eb
UD
130972011-10-30 Ulrich Drepper <drepper@gmail.com>
13098
13099 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13100 close_not_cancel_no_status here.
13101 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13102
9beb2334
UD
131032011-10-29 Ulrich Drepper <drepper@gmail.com>
13104
6ef76f3b
UD
13105 [BZ #13276]
13106 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13107 return value.
13108
0ffc4f3e 13109 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13110 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13111 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13112
cb95113e
UD
131132011-07-03 Andreas Jaeger <aj@suse.de>
13114
13115 [BZ #10709]
13116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13117 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13118 * math/libm-test.inc (sin_test): Add test case.
13119
a1b560ff
UD
131202011-10-29 Ulrich Drepper <drepper@gmail.com>
13121
c9aaface
UD
13122 [BZ #13337]
13123 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13124 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13125
d272e7f1
UD
13126 * elf/chroot_canon.c (chroot_canon): Cleanups.
13127
1bc33071
UD
13128 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13129
1760874d
TJ
13130 [BZ #13335]
13131 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13132 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13133
51d91b18
UD
13134 * string/test-strchr.c: Make usable for strchrnul testing.
13135 * string/test-strchrnul.c: New file.
13136 * string/Makefile (strop-tests): Add strchrnul.
13137
a1b560ff 13138 * po/it.po: Update from translation team.
b611fb81 13139 * po/es.po: Likewise.
a1b560ff 13140
a5b81e1f
UD
131412011-10-28 Ulrich Drepper <drepper@gmail.com>
13142
fd52bc6d
UD
13143 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13144 the three constants needed as parameters. Drop the others.
13145 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13146 __m128i_strloadu_tolower.
52e4b9eb
UD
13147 Create and initialize variable zero and use it in all the places
13148 where _mm_setzero_si128 was used.
fd52bc6d 13149
a5b81e1f
UD
13150 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13151 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13152 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13153 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13154 anymore.
13155 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13156 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13157 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13158 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13159 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13160 __mpranred, __mptan.
13161 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13162 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13163 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13164 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13165 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13166 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13167 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13168 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13169 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13170
b4343346
AS
131712011-10-28 Andreas Schwab <schwab@redhat.com>
13172
0c92d8a8
AS
13173 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13174 redefine if SHARED.
13175 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13176
b4343346
AS
13177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13178 wide char related routines to wcsmbs subdir.
13179
3871f58f
AS
131802011-10-27 Andreas Schwab <schwab@redhat.com>
13181
13182 [BZ #13344]
13183 * misc/sys/cdefs.h (__THROWNL): Define.
13184 * posix/unistd.h: Use __THREADNL instead of __THREAD
13185 for memory synchronization functions.
13186
94d44d9f
RM
131872011-10-26 Roland McGrath <roland@hack.frob.com>
13188
21b64b15 13189 [BZ #13349]
94d44d9f
RM
13190 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13191 doesn't exist.
13192 * manual/stdio.texi (Obstack Streams): Node removed.
13193
f6ce9294
AS
131942011-10-26 Andreas Schwab <schwab@redhat.com>
13195
80479147
AS
13196 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13197 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13198 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13199
f6ce9294
AS
13200 * math/math_private.h (math_force_eval): Allow non-addressable
13201 arguments.
13202 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13203
618280a1
UD
132042011-10-25 Ulrich Drepper <drepper@gmail.com>
13205
e0016b11
UD
13206 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13207 file is not needed.
13208
13209 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13211 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13212 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13214 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13216 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13217 Add AVX variants.
13218 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13219 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13220 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13221 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13222 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13223 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13224 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13225 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13226 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13227 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13228 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13229 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13230 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13231 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13232 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13233 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13234 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13235 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13236 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13237
13238 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13239 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13240
618280a1
UD
13241 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13242 place. Use VEX encoding when compiling for AVX.
13243
37822576
AS
132442011-10-25 Andreas Schwab <schwab@redhat.com>
13245
1f1e1947
AS
13246 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13247 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13248
37822576
AS
13249 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13250
31ea014d
UD
132512011-10-25 Ulrich Drepper <drepper@gmail.com>
13252
d7826aa1 13253 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13254 useless if() expression.
d7826aa1
UD
13255 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13260 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13263 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13264 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13265 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13266 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13267 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13268 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13269 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13270 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13272 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13273 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13274
31ea014d
UD
13275 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13276
16437fec
AS
132772011-10-25 Andreas Schwab <schwab@redhat.com>
13278
13279 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13280 condition.
13281 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13282
31d3cc00
UD
132832011-10-25 Ulrich Drepper <drepper@gmail.com>
13284
13285 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13286 .text section. Avoid duplicate constants.
13287 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13297 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13299 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13302 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13304 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13310 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13311 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13312 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13313 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13314 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13315 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13316 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13317 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13318 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13319 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13320 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13321 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13322 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13323 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13324 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13325 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13326 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13327 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13328 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13329 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13330 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13331 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13332
58985aa9
UD
133332011-10-24 Ulrich Drepper <drepper@gmail.com>
13334
202c9deb
UD
13335 * sysdeps/x86_64/dla.h: Move to ...
13336 * sysdeps/x86_64/fpu/dla.h: ...here.
13337 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13338 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13339
af968f62
UD
13340 * config.make.in: Add have-mfma4 entry.
13341 * configure.in: Substitute libc_cv_cc_fma4.
13342 * math/Makefile (dbl-only-routines): Add sincostab.
13343 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13344 Use __sincostab not sincos.
13345 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13346 name is a macro.
13347 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13351 using __copysign.
13352 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13353 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13354 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13355 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13356 and __inv.
13357 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13358 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13359 __copysign.
13360 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13361 define aliases when function name is a macro.
13362 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13363 sysdeps/ieee754/dbl-64/sincos.tbl.
13364 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13365 fma4-enabled routines.
13366 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13367 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13368 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13369 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13370 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13371 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13372 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13373 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13374 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13376 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13377 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13378 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13379 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13381 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13382 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13383 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13384 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13385 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13386 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13387 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13388 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13389 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13390 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13391 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13392 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13393 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13394 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13395 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13396
58985aa9
UD
13397 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13398 rename.
13399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13407
a201fbcf
AS
134082011-10-24 Andreas Schwab <schwab@redhat.com>
13409
13410 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13411
fc2ee42a
LD
134122011-10-23 Ulrich Drepper <drepper@gmail.com>
13413
bb3129bd
UD
13414 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13415
0275fff8
UD
13416 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13417 prediction.
13418 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13419
2fa2ae85
UD
13420 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13421 Remove unused variable magic_bits.
13422 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13423
fc2ee42a
LD
13424 * string/strnlen.c: Define and use STRNLEN macro.
13425 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13426 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13428 * wcsmbs/wcslen.c: Define and use WCSLEN.
13429 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13430 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13431 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13432 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13433 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13434 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13435 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13436
ce7dd29f
LD
134372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13438
13439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13440 strnlen-sse2-no-bsf.
13441 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13443 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13444 Add strnlen support.
13445 (USE_AS_STRNLEN): New macro.
13446 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13447 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13448 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13449 * sysdeps/x86_64/wcslen.S: New file.
13450
979c70a3
MZ
134512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13452
13453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13454 XMM-moves are used for copying on small sizes.
13455
2d09f82f
LD
134562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13457
13458 * wcsmbs/Makefile (strop-tests): Add wcschr.
13459 * wcsmbs/test-wcschr.c: New file.
13460 * string/test-strchr.c: Update.
13461 Add wcschr support.
13462 (WIDE): New macro.
13463
619fccca
LD
134642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13465
2d09f82f 13466 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13467 * wcsmbs/test-wcslen.c: New file.
13468 * string/test-strlen.c: Update.
13469 Add wcslen support.
13470 (WIDE): New macro.
13471
09f699ea
UD
134722011-10-23 Ulrich Drepper <drepper@gmail.com>
13473
13474 * po/it.po: Update from translation team.
13475
95584d3b
LD
134762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13477
13478 * sysdeps/x86_64/wcscmp.S: Update.
13479 Fix wrong comparison semantics.
13480 wcscmp shall use signed comparison not unsigned.
13481 Don't use substraction to avoid overflow bug.
13482 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13483 * wcsmbc/wcscmp.c: Likewise.
13484 * string/test-strcmp.c: Likewise.
13485 Add new tests to check cases with negative values.
13486
c8b3296b
UD
134872011-10-23 Ulrich Drepper <drepper@gmail.com>
13488
13489 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13490 * sysdeps/x86_64/dla.h: ...here. New file.
13491 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13500
246ad57a
AS
135012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13502
13503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13504 __ynl_finite aliases.
13505
a1a87169
UD
135062011-10-22 Ulrich Drepper <drepper@gmail.com>
13507
0d355eb7
UD
13508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13509
a1a87169
UD
13510 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13511 define DLA_FMA.
13512 [DLA_FMA] (EMULV): Use DLA_FMA.
13513 [DLA_FMA] (MUL12): Use EMULV.
13514 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13515 that are not needed.
13516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13523
ee2aafe0
AS
135242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13525
13526 * math/s_nan.c: Undef __nan.
13527 * math/s_nanf.c: Undef __nanf.
13528 * math/s_nanl.c: Undef __nanl.
13529 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13530 "math_private.h".
13531
bc62c2fb
UD
135322011-10-22 Ulrich Drepper <drepper@gmail.com>
13533
77425c63
UD
13534 * math/s_catan.c: Add branch predictions.
13535 * math/s_catanf.c: Likewise.
13536 * math/s_catanh.c: Likewise.
13537 * math/s_catanhf.c: Likewise.
13538 * math/s_catanhl.c: Likewise.
13539 * math/s_catanl.c: Likewise.
13540 * math/s_cexp.c: Likewise.
13541 * math/s_cexpf.c: Likewise.
13542 * math/s_cexpl.c: Likewise.
13543 * math/s_clog.c: Likewise.
13544 * math/s_clog10.c: Likewise.
13545 * math/s_clog10f.c: Likewise.
13546 * math/s_clog10l.c: Likewise.
13547 * math/s_clogf.c: Likewise.
13548 * math/s_clogl.c: Likewise.
13549 * math/s_csqrt.c: Likewise.
13550 * math/s_csqrtf.c: Likewise.
13551 * math/s_csqrtl.c: Likewise.
13552 * math/s_ctanf.c: Likewise.
13553 * math/s_ctanh.c: Likewise.
13554 * math/s_ctanhf.c: Likewise.
13555 * math/s_ctanhl.c: Likewise.
13556 * math/s_ctanl.c: Likewise.
13557
bc62c2fb
UD
13558 * math/math_private.h: Define __nan, __nanf, __nanl.
13559 * math/s_cacosh.c: Include <math_private.h>.
13560 * math/s_cacoshl.c: Likewise.
13561 * math/s_casinh.c: Likewise.
13562 * math/s_casinhf.c: Likewise.
13563 * math/s_casinhl.c: Likewise.
13564 * math/s_ccos.c: Rely entire on ccosh.
13565 * math/s_ccosf.c: Rely entire on ccoshf.
13566 * math/s_ccosl.c: Rely entirely on ccoshl.
13567 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13568 Remove tests for FE_INVALID.
13569 * math/s_ccoshf.c: Likewise.
13570 * math/s_ccoshl.c: Likewise.
13571 * math/s_csin.c: Likewise.
13572 * math/s_csinf.c: Likewise.
13573 * math/s_csinh.c Likewise.
13574 * math/s_csinhf.c: Likewise.
13575 * math/s_csinhl.c: Likewise.
13576 * math/s_csinl.c: Likewise.
13577 * math/s_ctan.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13579 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13580 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13581
8ec250a4
UD
135822011-10-21 Ulrich Drepper <drepper@gmail.com>
13583
c196fed8
UD
13584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13585 compilation problems.
13586
8ec250a4
UD
13587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13588 __builtin_expect.
13589
8d4f46c6
UD
135902011-10-20 Ulrich Drepper <drepper@gmail.com>
13591
ed72b654
UD
13592 * sysdeps/i386/configure.in: Test for -mfma4 option.
13593 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13594 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13595 COMMON_CPUID_INDEX_80000001.
13596 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13597 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13598 use it if FMA3 is not supported.
13599 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13600
8d4f46c6
UD
13601 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13602 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13603
d45c60c2
AS
136042011-10-20 Andreas Schwab <schwab@redhat.com>
13605
13606 [BZ #12892]
13607 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13608 it would create a cycle with a link time dependency.
13609
d9a4d2ab
UD
136102011-10-19 Ulrich Drepper <drepper@gmail.com>
13611
855d1560
UD
13612 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13613 instruction.
13614 * string/Makefile (strop-tests): Add rawmemchr.
13615 * string/test-rawmemchr.c: New file.
13616
d9a4d2ab
UD
13617 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13618 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13619 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13620 when compiling str{,n}casecmp and when AVX is available. Hook up
13621 new optimized code in initializers.
13622
8f3b1ffe
AS
136232011-10-19 Andreas Schwab <schwab@redhat.com>
13624
13625 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13626 __feraiseexcept instead of feraiseexcept.
13627
d38f1dba
UD
136282011-10-18 Ulrich Drepper <drepper@gmail.com>
13629
d9a8d0ab
UD
13630 * math/math_private.h: Define defaults for libc_fetestexcept and
13631 libc_feupdateenv.
13632 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13633 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13634 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13635 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13636 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13637 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13638 libc_fetestexcept and libc_feupdateenv.
13639
4855e3dd
UD
13640 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13641 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13642 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13643 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13644 libc_feholdexcept_setround.
13645
581d30e3
UD
13646 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13647 Add s_nearbyint-c and s_nearbyintf-c.
13648 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13649 nearbyintf inlines.
13650 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13651 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13652 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13653 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13654
d38f1dba
UD
13655 * math/math_private.h: Define defaults for libc_fegetround,
13656 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13657 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13658 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13659 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13660 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13661 standard functions.
13662 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13663 Remove comments and hacks for old compiler versions.
13664 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13665 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13666 libc_feholdexceptl.
13667
caa6c9d8
AS
136682011-10-18 Andreas Schwab <schwab@redhat.com>
13669
13670 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13671 (__feraiseexcept_renamed): Add __NTH.
13672 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13673 namespace violations.
13674
97c066e6
UD
136752011-10-17 Ulrich Drepper <drepper@gmail.com>
13676
99ce7b04
UD
13677 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13678
1004d182
UD
13679 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13680
228a984d
UD
13681 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13682 recently added interfaces.
13683 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13684
c8553a6a
UD
13685 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13686 about macro parameter expansion.
13687
ed22dcf6
UD
13688 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13689 __NO_MATH_INLINES is defined. Cleanups.
13690
13691 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13692 and __floorf is target has SSE4.1.
13693 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13694 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13695 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13696 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13697
b171c137
UD
13698 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13699 name.
13700 (floorf): Likewise.
13701
97c066e6
UD
13702 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13703
629f62ef
AS
137042011-10-17 Andreas Schwab <schwab@redhat.com>
13705
49a43d80
AS
13706 * misc/sys/cdefs.h: Fix last change.
13707
629f62ef
AS
13708 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13709 database lookup.
13710
e453f6cd
UD
137112011-10-16 Ulrich Drepper <drepper@gmail.com>
13712
aa78043a
UD
13713 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13714
ad0f5cad
UD
13715 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13721 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13722 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13723 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13724 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13725 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13726 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13727 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13728 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13729 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13730 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13731 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13732 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13733 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13734 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13735 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13736 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13737
13738 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13739 ceil, ceilf, floor, floorf.
13740
13741 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13742 Perform IRELATIVE relocations last.
13743
e453f6cd
UD
13744 * elf/do-rel.h: Add another parameter nrelative, replacing the
13745 local variable with the same name. Change name of the function
13746 to end in Rel or Rela (uppercase).
13747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13748 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13749 elf_dynamic_do_##reloc function.
13750
fd5bdc09
UD
137512011-10-15 Ulrich Drepper <drepper@gmail.com>
13752
79b195b5
UD
13753 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13754 is sufficient, at least on modern CPUs.
13755
d4a28569
UD
13756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13757
b61099b5
UD
13758 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13759 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13760
bcf01e6d
UD
13761 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13762 __expl_finite.
13763 * math/bits/math-finite.h: Add entries for exp.
13764 * math/e_expl.c: Add __*_finite alias.
13765 * sysdeps/i386/fpu/e_exp.S: Likewise.
13766 * sysdeps/i386/fpu/e_expf.S: Likewise.
13767 * sysdeps/i386/fpu/e_expl.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13769 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13773 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13774 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13775
ba1a0d59
UD
13776 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13777 is sufficient, at least on modern CPUs.
13778
fd5bdc09
UD
13779 * ctype/ctype-info.c (__ctype_init): Define.
13780 * include/ctype.h (__ctype_init): Declare.
13781 (__ctype_b_loc): The variable is always initialized.
13782 (__ctype_toupper_loc): Likewise.
13783 (__ctype_tolower_loc): Likewise.
13784 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13785 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13786
7872cfb0
AS
137872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13788
b468825a
AS
13789 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13790
7872cfb0
AS
13791 * configure.in: Also look in $cxxmachine/include for C++ system
13792 headers.
13793
be13f7bf
LD
137942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13795
13796 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13797 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13798 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13799 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13801 (USE_AS_WMEMCMP): New macro.
13802 Fixing indents.
13803 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13804 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13805 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13806 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13808 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13809 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13810 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13811 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13812 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13814 (USE_AS_WMEMCMP): New macro.
13815 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13816 * sysdeps/string/test-memcmp.c: Update.
13817 Fix simple_wmemcmp.
13818 Add new tests.
13819 * wcsmbs/wmemcmp.c: Update.
13820 (WMEMCMP): New macro.
13821 Fix overflow bug.
13822
556a2007
AJ
138232011-10-12 Andreas Jaeger <aj@suse.de>
13824
13825 [BZ #13268]
13826 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13827
538faaa7
UD
138282011-10-15 Ulrich Drepper <drepper@gmail.com>
13829
ab6737ff
UD
13830 * libio/iofwide.c (do_length): Avoid warning.
13831
538faaa7
UD
13832 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13833
396a21b1
UD
138342011-10-14 Ulrich Drepper <drepper@gmail.com>
13835
cdf2901f
UD
13836 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13837
38ad40ce
UD
13838 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13839 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13840 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13841 * sysdeps/i386/i686/fpu/e_log.S: New file.
13842 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13843 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13844
396a21b1
UD
13845 * ctype/ctype.h: Add support for inlined isXXX functions when
13846 compiling C++ code.
13847
6b1f68c9
AS
138482011-10-14 Andreas Schwab <schwab@redhat.com>
13849
349290c0
AS
13850 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13851
6b1f68c9
AS
13852 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13853
f2282d42
RM
138542011-10-13 Roland McGrath <roland@hack.frob.com>
13855
13856 [BZ #13291]
13857 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13858
5298ffa8
AS
138592011-10-13 Andreas Schwab <schwab@redhat.com>
13860
714fad23
AS
13861 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13862 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13863 feraiseexcept.
13864
81dcc7fb
AS
13865 * sysdeps/x86_64/memrchr.S: Check for zero size.
13866
5298ffa8
AS
13867 * string/stratcliff.c: Add memrchr tests.
13868
951fbcec
LD
138692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13870
13871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13872 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13873 rawmemchr-sse2 rawmemchr-sse2-bsf.
13874 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13875 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13876 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13877 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13878 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13879 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13880 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13881 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13882 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13883 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13884 * string/memrchr.c (MEMRCHR): New macro.
13885
0ac5ae23
UD
138862011-10-12 Ulrich Drepper <drepper@gmail.com>
13887
13888 Add integration with gcc's -ffinite-math-only and optimize wrapper
13889 functions in libm.
13890 * Versions.def: Define GLIBC_2.15 version for libm.
13891 * math/Makefile (headers): Add bits/math-finite.h.
13892 * math/bits/math-finite.h: New file.
13893 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13894 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13895 * math/e_acoshl.c: Add __*_finite alias.
13896 * math/e_acosl.c: Likewise.
13897 * math/e_asinl.c: Likewise.
13898 * math/e_atan2l.c: Likewise.
13899 * math/e_atanhl.c: Likewise.
13900 * math/e_coshl.c: Likewise.
13901 * math/e_exp10.c: Likewise.
13902 * math/e_exp10f.c: Likewise.
13903 * math/e_exp10l.c: Likewise.
13904 * math/e_exp2l.c: Likewise.
13905 * math/e_fmodl.c: Likewise.
13906 * math/e_gammal_r.c: Likewise.
13907 * math/e_hypotl.c: Likewise.
13908 * math/e_j0l.c: Likewise.
13909 * math/e_j1l.c: Likewise.
13910 * math/e_jnl.c: Likewise.
13911 * math/e_lgammal_r.c: Likewise.
13912 * math/e_log10l.c: Likewise.
13913 * math/e_log2l.c: Likewise.
13914 * math/e_logl.c: Likewise.
13915 * math/e_powl.c: Likewise.
13916 * math/e_sinhl.c: Likewise.
13917 * math/e_sqrtl.c: Likewise.
13918 * math/e_scalb.c: Completely rewritten and optimized.
13919 * math/e_scalbf.c: Likewise.
13920 * math/e_scalbl.c: Likewise.
13921 * math/w_acos.c: Likewise.
13922 * math/w_acosf.c: Likewise.
13923 * math/w_acosl.c: Likewise.
13924 * math/w_acosh.c: Likewise.
13925 * math/w_acoshf.c: Likewise.
13926 * math/w_acoshl.c: Likewise.
13927 * math/w_asin.c: Likewise.
13928 * math/w_asinf.c: Likewise.
13929 * math/w_asinl.c: Likewise.
13930 * math/w_atan2.c: Likewise.
13931 * math/w_atan2f.c: Likewise.
13932 * math/w_atan2l.c: Likewise.
13933 * math/w_atanh.c: Likewise.
13934 * math/w_atanhf.c: Likewise.
13935 * math/w_atanhl.c: Likewise.
13936 * math/w_exp10.c: Likewise.
13937 * math/w_exp10f.c: Likewise.
13938 * math/w_exp10l.c: Likewise.
13939 * math/w_fmod.c: Likewise.
13940 * math/w_fmodf.c: Likewise.
13941 * math/w_fmodl.c: Likewise.
13942 * math/w_j0.c: Likewise.
13943 * math/w_j0f.c: Likewise.
13944 * math/w_j0l.c: Likewise.
13945 * math/w_j1.c: Likewise.
13946 * math/w_j1f.c: Likewise.
13947 * math/w_j1l.c: Likewise.
13948 * math/w_jn.c: Likewise.
13949 * math/w_jnf.c: Likewise.
13950 * math/w_log.c: Likewise.
13951 * math/w_logf.c: Likewise.
13952 * math/w_logl.c: Likewise.
13953 * math/w_log10.c: Likewise.
13954 * math/w_log10f.c: Likewise.
13955 * math/w_log10l.c: Likewise.
13956 * math/w_log2.c: Likewise.
13957 * math/w_log2f.c: Likewise.
13958 * math/w_log2l.c: Likewise.
13959 * math/w_pow.c: Likewise.
13960 * math/w_powf.c: Likewise.
13961 * math/w_powl.c: Likewise.
13962 * math/w_remainder.c: Likewise.
13963 * math/w_remainderf.c: Likewise.
13964 * math/w_remainderl.c: Likewise.
13965 * math/w_scalb.c: Likewise.
13966 * math/w_scalbf.c: Likewise.
13967 * math/w_scalbl.c: Likewise.
13968 * math/w_sqrt.c: Likewise.
13969 * math/w_sqrtf.c: Likewise.
13970 * math/w_sqrtl.c: Likewise.
13971 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13972 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13973 used.
13974 * math/math_private.h: Declare __kernel_standard_f.
13975 * math/w_cosh.c: Remove cruft and optimize a bit.
13976 * math/w_coshf.c: Likewise.
13977 * math/w_coshl.c: Likewise.
13978 * math/w_exp2.c: Likewise.
13979 * math/w_exp2f.c: Likewise.
13980 * math/w_exp2l.c: Likewise.
13981 * math/w_hypot.c: Likewise.
13982 * math/w_hypotf.c: Likewise.
13983 * math/w_hypotl.c: Likewise.
13984 * math/w_lgamma.c: Likewise.
13985 * math/w_lgamma_r.c: Likewise.
13986 * math/w_lgammaf.c: Likewise.
13987 * math/w_lgammaf_r.c: Likewise.
13988 * math/w_lgammal.c: Likewise.
13989 * math/w_lgammal_r.c: Likewise.
13990 * math/w_sinh.c: Likewise.
13991 * math/w_sinhf.c: Likewise.
13992 * math/w_sinhl.c: Likewise.
13993 * math/w_tgamma.c: Likewise.
13994 * math/w_tgammaf.c: Likewise.
13995 * math/w_tgammal.c: Likewise.
13996 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13998 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13999 Minor optimizations. Pretty printing. Remove cruft.
14000 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14001 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14002 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14003 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14004 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14005 * sysdeps/i386/fpu/e_asin.S: Likewise.
14006 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14007 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14008 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14009 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14010 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14011 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14012 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14013 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14014 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14015 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14016 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14017 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14018 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14019 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14020 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14021 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14022 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14023 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14024 * sysdeps/i386/fpu/e_log.S: Likewise.
14025 * sysdeps/i386/fpu/e_log10.S: Likewise.
14026 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14027 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14028 * sysdeps/i386/fpu/e_log2.S: Likewise.
14029 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14030 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14031 * sysdeps/i386/fpu/e_logf.S: Likewise.
14032 * sysdeps/i386/fpu/e_logl.S: Likewise.
14033 * sysdeps/i386/fpu/e_pow.S: Likewise.
14034 * sysdeps/i386/fpu/e_powf.S: Likewise.
14035 * sysdeps/i386/fpu/e_powl.S: Likewise.
14036 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14037 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14038 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14039 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14040 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14041 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14042 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14043 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14044 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14063 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14065 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14066 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14067 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14068 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14069 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14070 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14071 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14072 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14073 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14074 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14075 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14076 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14077 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14078 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14079 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14080 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14081 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14082 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14083 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14084 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14085 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14086 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14087 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14092 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14093 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14097 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14098 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14099 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14100 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14101 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14102 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14103 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14104 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14106 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14108 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14109 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14110 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14111 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14113 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14114 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14115 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14116 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14117 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14118 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14119 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14120 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14121 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14122 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14123 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14124 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14125 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14126 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14127 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14128 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14129 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14130 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14131 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14133 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14134 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14135 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14136 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14137 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14138 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14139 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14140 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14141 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14142 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14143 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14144 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14145 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14146 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14147 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14148 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14149 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14150 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14151 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14152 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14153 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14154 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14155 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14156 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14157 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14158 (__isnanf): Likewise.
14159 (__isinf_ns): Likewise.
14160 (__isinf_nsf): Likewise.
14161 (__finite): Likewise.
14162 (__finitef): Likewise.
14163 (__ieee754_sqrt): Define as macro.
14164 (__ieee754_sqrtf): Define as macro.
14165 (__ieee754_sqrtl): Define as macro.
14166 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14167 inlined copy.
14168 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14169 __FINITE_MATH_ONLY__ consistent.
14170 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14171
12cc2fcd
AS
141722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14173
a843a204
AS
14174 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14175 of rawmemchr.
14176
12cc2fcd
AS
14177 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14178
c853acd5
UD
141792011-10-09 Ulrich Drepper <drepper@gmail.com>
14180
14181 * po/ja.po: Update from translation team.
14182
c658d255
RM
141832011-10-08 Roland McGrath <roland@hack.frob.com>
14184
110946e4
RM
14185 * locale/programs/locarchive.c (prepare_address_space): New function.
14186 (create_archive, enlarge_archive, open_archive): Use it.
14187
50604220
RM
14188 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14189 inside [SHARED], where it is used.
14190
c658d255
RM
14191 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14192
14193 * nss/getent.c (netgroup_keys): Remove unused variable.
14194 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14195
6a621eb7
UD
141962011-10-08 Ulrich Drepper <drepper@gmail.com>
14197
7edb55ce
UD
14198 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14199 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14201 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14202 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14203 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14204 * math/Makefile (libm-calls): Add s_isinf_ns.
14205 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14206 * math/multc3.c: Likewise.
14207 * math/s_casin.c: Likewise.
14208 * math/s_casinf.c: Likewise.
14209 * math/s_casinl.c: Likewise.
14210 * math/s_ccos.c: Likewise.
14211 * math/s_ccosf.c: Likewise.
14212 * math/s_ccosl.c: Likewise.
14213 * math/s_ctan.c: Likewise.
14214 * math/s_ctanf.c: Likewise.
14215 * math/s_ctanh.c: Likewise.
14216 * math/s_ctanhf.c: Likewise.
14217 * math/s_ctanhl.c: Likewise.
14218 * math/s_ctanl.c: Likewise.
14219 * math/w_fmod.c: Likewise.
14220 * math/w_fmodf.c: Likewise.
14221 * math/w_fmodl.c: Likewise.
14222 * math/w_remainder.c: Likewise.
14223 * math/w_remainderf.c: Likewise.
14224 * math/w_remainderl.c: Likewise.
14225 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14226 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14227 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14229 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14230 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14231 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14232 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14233
187da0ae
UD
14234 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14235 of the number.
14236 * stdio-common/printf_fphex.c: Likewise.
14237 * stdio-common/printf_size.c: Likewise.
14238
9277c064
UD
14239 * math/e_exp10.c: Include math_private.h using <...> not "...".
14240 * math/e_exp10f.c: Likewise.
14241 * math/e_exp10l.c: Likewise.
14242 * math/e_exp2l.c: Likewise.
14243 * math/e_j0l.c: Likewise.
14244 * math/e_j1l.c: Likewise.
14245 * math/e_jnl.c: Likewise.
14246 * math/e_lgammal_r.c: Likewise.
14247 * math/e_rem_pio2l.c: Likewise.
14248 * math/e_scalb.c: Likewise.
14249 * math/e_scalbf.c: Likewise.
14250 * math/e_scalbl.c: Likewise.
14251 * math/k_cosl.c: Likewise.
14252 * math/k_sinl.c: Likewise.
14253 * math/k_tanl.c: Likewise.
14254 * math/s_cacoshf.c: Likewise.
14255 * math/s_catan.c: Likewise.
14256 * math/s_catanf.c: Likewise.
14257 * math/s_catanh.c: Likewise.
14258 * math/s_catanhf.c: Likewise.
14259 * math/s_catanhl.c: Likewise.
14260 * math/s_catanl.c: Likewise.
14261 * math/s_ccosh.c: Likewise.
14262 * math/s_ccoshf.c: Likewise.
14263 * math/s_ccoshl.c: Likewise.
14264 * math/s_cexp.c: Likewise.
14265 * math/s_cexpf.c: Likewise.
14266 * math/s_cexpl.c: Likewise.
14267 * math/s_clog.c: Likewise.
14268 * math/s_clog10.c: Likewise.
14269 * math/s_clog10f.c: Likewise.
14270 * math/s_clog10l.c: Likewise.
14271 * math/s_clogf.c: Likewise.
14272 * math/s_clogl.c: Likewise.
14273 * math/s_csin.c: Likewise.
14274 * math/s_csinf.c: Likewise.
14275 * math/s_csinh.c: Likewise.
14276 * math/s_csinhf.c: Likewise.
14277 * math/s_csinhl.c: Likewise.
14278 * math/s_csinl.c: Likewise.
14279 * math/s_csqrt.c: Likewise.
14280 * math/s_csqrtf.c: Likewise.
14281 * math/s_csqrtl.c: Likewise.
14282 * math/s_ctan.c: Likewise.
14283 * math/s_ctanf.c: Likewise.
14284 * math/s_ctanh.c: Likewise.
14285 * math/s_ctanhf.c: Likewise.
14286 * math/s_ctanhl.c: Likewise.
14287 * math/s_ctanl.c: Likewise.
14288 * math/s_ldexp.c: Likewise.
14289 * math/s_ldexpf.c: Likewise.
14290 * math/s_ldexpl.c: Likewise.
14291 * math/s_significand.c: Likewise.
14292 * math/s_significandf.c: Likewise.
14293 * math/s_significandl.c: Likewise.
14294 * math/w_acos.c: Likewise.
14295 * math/w_acosf.c: Likewise.
14296 * math/w_acosh.c: Likewise.
14297 * math/w_acoshf.c: Likewise.
14298 * math/w_acoshl.c: Likewise.
14299 * math/w_acosl.c: Likewise.
14300 * math/w_asin.c: Likewise.
14301 * math/w_asinf.c: Likewise.
14302 * math/w_asinl.c: Likewise.
14303 * math/w_atan2.c: Likewise.
14304 * math/w_atan2f.c: Likewise.
14305 * math/w_atan2l.c: Likewise.
14306 * math/w_atanh.c: Likewise.
14307 * math/w_atanhf.c: Likewise.
14308 * math/w_atanhl.c: Likewise.
14309 * math/w_cosh.c: Likewise.
14310 * math/w_coshf.c: Likewise.
14311 * math/w_coshl.c: Likewise.
14312 * math/w_dremf.c: Likewise.
14313 * math/w_exp10.c: Likewise.
14314 * math/w_exp10f.c: Likewise.
14315 * math/w_exp10l.c: Likewise.
14316 * math/w_exp2.c: Likewise.
14317 * math/w_exp2f.c: Likewise.
14318 * math/w_fmod.c: Likewise.
14319 * math/w_fmodf.c: Likewise.
14320 * math/w_fmodl.c: Likewise.
14321 * math/w_hypot.c: Likewise.
14322 * math/w_hypotf.c: Likewise.
14323 * math/w_hypotl.c: Likewise.
14324 * math/w_j0.c: Likewise.
14325 * math/w_j0f.c: Likewise.
14326 * math/w_j0l.c: Likewise.
14327 * math/w_j1.c: Likewise.
14328 * math/w_j1f.c: Likewise.
14329 * math/w_j1l.c: Likewise.
14330 * math/w_jn.c: Likewise.
14331 * math/w_jnf.c: Likewise.
14332 * math/w_jnl.c: Likewise.
14333 * math/w_lgamma.c: Likewise.
14334 * math/w_lgamma_r.c: Likewise.
14335 * math/w_lgammaf.c: Likewise.
14336 * math/w_lgammaf_r.c: Likewise.
14337 * math/w_lgammal.c: Likewise.
14338 * math/w_lgammal_r.c: Likewise.
14339 * math/w_log.c: Likewise.
14340 * math/w_log10.c: Likewise.
14341 * math/w_log10f.c: Likewise.
14342 * math/w_log10l.c: Likewise.
14343 * math/w_log2.c: Likewise.
14344 * math/w_log2f.c: Likewise.
14345 * math/w_log2l.c: Likewise.
14346 * math/w_logf.c: Likewise.
14347 * math/w_logl.c: Likewise.
14348 * math/w_pow.c: Likewise.
14349 * math/w_powf.c: Likewise.
14350 * math/w_powl.c: Likewise.
14351 * math/w_remainder.c: Likewise.
14352 * math/w_remainderf.c: Likewise.
14353 * math/w_remainderl.c: Likewise.
14354 * math/w_scalb.c: Likewise.
14355 * math/w_scalbf.c: Likewise.
14356 * math/w_scalbl.c: Likewise.
14357 * math/w_sinh.c: Likewise.
14358 * math/w_sinhf.c: Likewise.
14359 * math/w_sinhl.c: Likewise.
14360 * math/w_sqrt.c: Likewise.
14361 * math/w_sqrtf.c: Likewise.
14362 * math/w_sqrtl.c: Likewise.
14363 * math/w_tgamma.c: Likewise.
14364 * math/w_tgammaf.c: Likewise.
14365 * math/w_tgammal.c: Likewise.
14366
6a621eb7
UD
14367 * po/ja.po: Update from translation team.
14368
bf582445
AJ
143692011-09-29 Andreas Jaeger <aj@suse.de>
14370
f9efbf3a
AJ
14371 [BZ #13179]
14372 * sunrpc/netname.c (netname2host): Fix logic.
14373
bf582445
AJ
14374 [BZ #6779]
14375 [BZ #6783]
14376 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14377 correctly.
14378 * math/w_remainder.c (__remainder): Likewise.
14379 * math/w_remainderf.c (__remainderf): Likewise.
14380 * math/libm-test.inc (remainder_test): Add test cases.
14381
48693bea
AK
143822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14383
14384 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14385 sdiv_qrnnd.
14386
42622229
LD
143872011-10-07 Ulrich Drepper <drepper@gmail.com>
14388
14389 * string/test-memcmp.c: Avoid unncessary #defines.
14390 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14391
093ecf92
LD
143922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14393
14394 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14395 Use new sse2 version for core i3 - i7 as it's faster
14396 than sse42 version.
14397 (bit_Prefer_PMINUB_for_stringop): New.
14398 * sysdeps/x86_64/rawmemchr.S: Update.
14399 Replace with faster SSE2 version.
14400 * sysdeps/x86_64/memrchr.S: New file.
14401 * sysdeps/x86_64/memchr.S: Update.
14402 Replace with faster SSE2 version.
14403
fde56e5c
MP
144042011-09-12 Marek Polacek <mpolacek@redhat.com>
14405
14406 * elf/dl-load.c (lose): Add cast to avoid warning.
14407
21fd49a9
UD
144082011-10-07 Ulrich Drepper <drepper@gmail.com>
14409
5a06e643
UD
14410 * po/ca.po: Update from translation team.
14411
684ae515
UD
14412 * inet/getnetgrent_r.c: Hook up nscd.
14413 * nscd/Makefile (routines): Add nscd_netgroup.
14414 (nscd-modules): Add netgroupcache.
14415 (CFLAGS-netgroupcache.c): Define.
14416 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14417 (cache_search): Add const to second parameter.
14418 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14419 INNETGR.
14420 (dbs): Add netgrdb entry.
14421 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14422 (verify_persistent_db): Handle netgrdb.
14423 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14424 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14425 GETFDNETGR.
14426 (netgroup_response_header): Define.
14427 (innetgroup_response_header): Define.
14428 (datahead): Add netgroup_response_header and innetgroup_response_header
14429 elements.
14430 * nscd/nscd.conf: Add entries for netgroup cache.
14431 * nscd/nscd.h (dbtype): Add netgrdb.
14432 (_PATH_NSCD_NETGROUP_DB): Define.
14433 (netgroup_iov_disabled): Declare.
14434 (xmalloc, xcalloc, xrealloc): Move declarations here.
14435 (cache_search): Adjust prototype.
14436 Add netgroup-related prototypes.
14437 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14438 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14439 (__nscd_innetgr): Declare.
14440 * nscd/selinux.c (perms): Use access_vector_t as element type and
14441 add netgroup-related initializers.
14442 * nscd/netgroupcache.c: New file.
14443 * nscd/nscd_netgroup.c: New file.
14444 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14445 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14446 For four parameters use innetgr.
14447 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14448 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14449 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14450 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14451
21fd49a9
UD
14452 * nscd/connections.c (register_traced_file): Don't register file
14453 for disabled databases.
14454
054c0457
UD
144552011-10-06 Ulrich Drepper <drepper@gmail.com>
14456
32b63198
UD
14457 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14458
054c0457
UD
14459 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14460 from tree and freeing node.
14461
64031225
JO
144622011-09-25 Jiri Olsa <jolsa@redhat.com>
14463
14464 * nss/nsswitch.c (__nss_database_lookup): Handle
14465 nss_parse_service_list out of memory case.
14466
0490345c
JO
144672011-09-15 Jiri Olsa <jolsa@redhat.com>
14468
14469 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14470 out of memory case.
14471
3a62d00d
AS
144722011-10-04 Andreas Schwab <schwab@redhat.com>
14473
14474 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14475 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14476 pass it down.
14477 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14478 elf_machine_rela, elf_machine_lazy_rel.
14479 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14480 (ELF_DYNAMIC_DO_REL): Likewise.
14481 (ELF_DYNAMIC_DO_RELA): Likewise.
14482 (ELF_DYNAMIC_RELOCATE): Likewise.
14483 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14484 to ELF_DYNAMIC_DO_REL.
14485 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14486 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14487 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14488 elf_machine_rela.
14489 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14490 skip_ifunc, don't call ifunc function if non-zero.
14491 (elf_machine_rela): Likewise.
14492 (elf_machine_lazy_rel): Likewise.
14493 (elf_machine_lazy_rela): Likewise.
14494 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14495 (elf_machine_lazy_rel): Likewise.
14496 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14497 Likewise.
14498 (elf_machine_lazy_rel): Likewise.
14499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14500 Likewise.
14501 (elf_machine_lazy_rel): Likewise.
14502 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14503 (elf_machine_lazy_rel): Likewise.
14504 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14505 (elf_machine_lazy_rel): Likewise.
14506 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14507 (elf_machine_lazy_rel): Likewise.
14508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14509 (elf_machine_lazy_rel): Likewise.
14510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14511 (elf_machine_lazy_rel): Likewise.
14512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14513 (elf_machine_lazy_rel): Likewise.
14514
68577918
UD
145152011-09-28 Ulrich Drepper <drepper@gmail.com>
14516
14517 * nss/nss_files/files-init.c (_nss_files_init): Use static
14518 initialization for all the *_traced_file variables.
14519
68822d74
AS
145202011-09-28 Andreas Schwab <schwab@redhat.com>
14521
14522 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14523
2056100b
RM
145242011-09-27 Roland McGrath <roland@hack.frob.com>
14525
14526 [BZ #13226]
14527 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14528
32c76b63
AS
145292011-09-27 Andreas Schwab <schwab@redhat.com>
14530
14531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14532 Reread the line before reparsing it.
14533
bf972c9d
AS
145342011-09-26 Andreas Schwab <schwab@redhat.com>
14535
14536 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14537
e057a1b5
JM
145382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14539 Maxim Kuvyrkov <maxim@codesourcery.com>
14540 Joseph Myers <joseph@codesourcery.com>
14541
14542 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14543 if needed for __stack_chk_guard.
14544
bc7e1c36
RM
145452011-09-19 Roland McGrath <roland@hack.frob.com>
14546
ecb1482f
RM
14547 * sysdeps/posix/spawni.c (script_execute): Always define it.
14548 It will be optimized away if unused.
14549 (maybe_script_execute): New function.
14550 (__spawni): Call it.
14551
bc7e1c36
RM
14552 * Makerules: Don't include tls.make.
14553 (config-tls): Always set to thread.
14554 * tls.make.c: File removed.
14555
1c3b002b
MF
145562011-09-19 Mike Frysinger <vapier@gentoo.org>
14557
14558 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14559 * config.make.in (CPPFLAGS-config): New substituted variable.
14560
2840865d
UD
145612011-09-15 Ulrich Drepper <drepper@gmail.com>
14562
88738eb6
UD
14563 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14564
cbf645a6 14565 [BZ #13192]
2840865d
UD
14566 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14567 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14568
b402e91a
RM
145692011-09-15 Roland McGrath <roland@hack.frob.com>
14570
14571 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14572 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14574 (CALL_FAIL): Likewise.
14575 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14576 (CALL_FAIL): Macro removed.
14577 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14578
4c1a1f71
UD
145792011-09-15 Ulrich Drepper <drepper@gmail.com>
14580
14581 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14582 for __FINITE_MATH_ONLY__ == 1.
14583
edc121be
AS
145842011-09-15 Andreas Schwab <schwab@redhat.com>
14585
14586 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14587 __ieee754_sqrt instead of sqrt.
14588 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14589 __ieee754_sqrtf instead of sqrtf.
14590 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14591 __floorf instead of floorf.
14592 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14593 __floorf, __truncf instead of floorf, truncf.
14594
cd205654
UD
145952011-09-14 Ulrich Drepper <drepper@gmail.com>
14596
ee4d0315
UD
14597 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14598
cd205654
UD
14599 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14600 __extern_always_inline.
14601 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14602 32-bit.
14603
48b67d71
AS
146042011-09-14 Andreas Schwab <schwab@redhat.com>
14605
14606 * elf/rtld.c (dl_main): Also relocate in dependency order when
14607 doing symbol dependency testing.
14608
1ae12c75
AS
146092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14610
14611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14612 Always define `refsym'.
14613
995a80df
AS
146142011-09-13 Andreas Schwab <schwab@redhat.com>
14615
e529793b
AS
14616 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14617 (__FD_ELT): Renamed from __FDELT.
14618 * misc/bits/select2.h (__FD_ELT): Likewise.
14619 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14620 __FD_MASK instead of __FDELT, __FDMASK.
14621 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14622 Likewise.
14623 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14624 Likewise.
14625
52d4fef8
AS
14626 * elf/Makefile (gen-ldd): Fix pattern.
14627
995a80df
AS
14628 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14629 (init_tls): Likewise.
14630
8682f8b0
UD
146312011-09-12 Ulrich Drepper <drepper@gmail.com>
14632
14633 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14634
de82006d
AS
146352011-09-12 Andreas Schwab <schwab@redhat.com>
14636
a7c8e6a1
AS
14637 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14638 `struct cmsghdr *' instead of `void *'.
14639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14640 Likewise.
14641
0f31fe77
AS
146422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14643
14644 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14645 if non-absolute.
14646 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14647 ldd_rewrite_script.
0f31fe77 14648
32b4c839
UD
146492011-09-11 Ulrich Drepper <drepper@gmail.com>
14650
83cd1420
UD
14651 * configure.in: Remove --with-tls option.
14652 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14653 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14654 out in case it is missing.
14655 * sysdeps/ia64/elf/configure.in: Likewise.
14656 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14657 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14658 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14659 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14660 * sysdeps/sh/elf/configure.in: Likewise.
14661 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14662 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14663 * sysdeps/x86_64/elf/configure.in: Likewise.
14664 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14665 * sysdeps/mach/hurd/tls.h: Likewise.
14666
633f745d
UD
14667 [BZ #13067]
14668 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14669
f318beb8
UD
14670 [BZ #13090]
14671 * configure.in: Fix use of AC_INIT.
14672
32b4c839
UD
14673 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14674
3ce1f295
UD
146752011-09-10 Ulrich Drepper <drepper@gmail.com>
14676
bb016596
UD
14677 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14678 __set_errno.
8e58439c
UD
14679 * malloc/hooks.c: Likewise.
14680
aebae053 14681 [BZ #11929]
02d46fc4
UD
14682 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14683 variables statically.
14684 (narenas): Initialize.
14685 (list_lock): Initialize.
bb016596
UD
14686 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14687 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14688 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14689 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14690 Add initializers to main_arena and mp_.
14691 (malloc_state): Remove pagesize member. Change all users to use
14692 GLRO(dl_pagesize).
14693
14694 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14695 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14696 is always initialized.
14697
22a89187
UD
14698 * malloc/malloc.c: Removed unused configurations and dead code.
14699 * malloc/arena.c: Likewise.
14700 * malloc/hooks.c: Likewise.
02d46fc4 14701 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14702
d063d164
UD
14703 * include/tls.h: Removed. USE___THREAD must always be defined.
14704 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14705 * elf/dl-libc.c: Likewise.
14706 * elf/dl-tsd.c: Likewise.
14707 * include/errno.h: Likewise.
14708 * include/netdb.h: Likewise.
14709 * include/resolv.h: Likewise.
14710 * inet/herrno-loc.c: Likewise.
14711 * inet/herrno.c: Likewise.
14712 * malloc/arena.c: Likewise.
14713 * malloc/hooks.c: Likewise.
14714 * malloc/malloc.c: Likewise.
14715 * resolv/res-state.c: Likewise.
14716 * resolv/res_libc.c: Likewise.
14717 * sysdeps/i386/dl-machine.h: Likewise.
14718 * sysdeps/ia64/dl-machine.h: Likewise.
14719 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14720 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14721 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14722 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14723 * sysdeps/sh/dl-machine.h: Likewise.
14724 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14725 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14726 * sysdeps/unix/i386/sysdep.S: Likewise.
14727 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14728 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14729 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14733 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14737 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14738 * sysdeps/x86_64/dl-machine.h: Likewise.
14739 * tls.make.c: Likewise.
14740
3ce1f295
UD
14741 * configure.in: Remove --with-__thread option. Make tests for
14742 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14743 tls_model attribute fail if no support is available. Remove
14744 USE_IN_LIBIO.
14745 * Makeconfig: Adjust for dropped configure option. All features are
14746 now mandatory.
14747 * Makerules: Likewise.
14748 * Versions.def: Likewise.
14749 * argp/argp-fmtstream.c: Likewise.
14750 * argp/argp-fmtstream.h: Likewise.
14751 * argp/argp-help.c: Likewise.
14752 * assert/assert.c: Likewise.
14753 * config.h.in: Likewise.
14754 * config.make.in: Likewise.
14755 * configure: Likewise.
14756 * configure.in: Likewise.
14757 * csu/Versions: Likewise.
14758 * csu/init.c: Likewise.
14759 * elf/tst-audit2.c: Likewise.
14760 * elf/tst-tls10.c: Likewise.
14761 * elf/tst-tls10.h: Likewise.
14762 * elf/tst-tls11.c: Likewise.
14763 * elf/tst-tls12.c: Likewise.
14764 * elf/tst-tls14.c: Likewise.
14765 * elf/tst-tlsmod11.c: Likewise.
14766 * elf/tst-tlsmod12.c: Likewise.
14767 * elf/tst-tlsmod13.c: Likewise.
14768 * elf/tst-tlsmod13a.c: Likewise.
14769 * elf/tst-tlsmod14a.c: Likewise.
14770 * elf/tst-tlsmod15b.c: Likewise.
14771 * elf/tst-tlsmod16a.c: Likewise.
14772 * elf/tst-tlsmod16b.c: Likewise.
14773 * elf/tst-tlsmod7.c: Likewise.
14774 * elf/tst-tlsmod8.c: Likewise.
14775 * elf/tst-tlsmod9.c: Likewise.
14776 * gmon/gmon.c: Likewise.
14777 * grp/fgetgrent_r.c: Likewise.
14778 * grp/putgrent.c: Likewise.
14779 * hurd/fopenport.c: Likewise.
14780 * include/libc-symbols.h: Likewise.
14781 * include/tls.h: Likewise.
14782 * intl/gettextP.h: Likewise.
14783 * intl/loadinfo.h: Likewise.
14784 * locale/global-locale.c: Likewise.
14785 * locale/localeinfo.h: Likewise.
14786 * mach/devstream.c: Likewise.
14787 * malloc/arena.c: Likewise.
14788 * malloc/set-freeres.c: Likewise.
14789 * misc/err.c: Likewise.
14790 * misc/getttyent.c: Likewise.
14791 * misc/mntent_r.c: Likewise.
14792 * posix/getopt.c: Likewise.
14793 * posix/wordexp.c: Likewise.
14794 * pwd/fgetpwent_r.c: Likewise.
14795 * resolv/Versions: Likewise.
14796 * resolv/res_hconf.c: Likewise.
14797 * shadow/fgetspent_r.c: Likewise.
14798 * shadow/putspent.c: Likewise.
14799 * stdio-common/printf_fphex.c: Likewise.
14800 * stdio-common/tmpfile.c: Likewise.
14801 * stdlib/abort.c: Likewise.
14802 * stdlib/fmtmsg.c: Likewise.
14803 * sunrpc/auth_unix.c: Likewise.
14804 * sunrpc/clnt_perr.c: Likewise.
14805 * sunrpc/clnt_tcp.c: Likewise.
14806 * sunrpc/clnt_udp.c: Likewise.
14807 * sunrpc/clnt_unix.c: Likewise.
14808 * sunrpc/openchild.c: Likewise.
14809 * sunrpc/svc_simple.c: Likewise.
14810 * sunrpc/svc_tcp.c: Likewise.
14811 * sunrpc/svc_udp.c: Likewise.
14812 * sunrpc/svc_unix.c: Likewise.
14813 * sunrpc/xdr.c: Likewise.
14814 * sunrpc/xdr_array.c: Likewise.
14815 * sunrpc/xdr_rec.c: Likewise.
14816 * sunrpc/xdr_ref.c: Likewise.
14817 * sunrpc/xdr_stdio.c: Likewise.
14818
1248c1c4
PB
148192011-09-09 Ulrich Drepper <drepper@gmail.com>
14820
14821 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14822
148232011-07-03 Andreas Jaeger <aj@suse.de>
14824
14825 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14826 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14827 regenerate with gen-libm-tests.pl.
14828
148292010-05-12 Petr Baudis <pasky@suse.cz>
14830
14831 [BZ #11589]
14832 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14833 around j0() zero points by switching to j1().
14834 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14835 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14837 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14838
f22e1074
UD
148392011-09-09 Ulrich Drepper <drepper@gmail.com>
14840
f19009c1
UD
14841 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14842 instead of 0.
14843 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14844 instead of 0. .
14845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14846 Patch in part by Pavel Roskin <proski@gnu.org>.
14847
3f8cc204
UD
14848 [BZ #13138]
14849 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14850 realloc.
14851 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14852 Free memory block if necessary.
14853
f22e1074
UD
14854 [BZ #12847]
14855 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14856 be NULL. Don't lock in this case.
14857
0a2349f9
RM
148582011-09-09 Roland McGrath <roland@hack.frob.com>
14859
14860 * elf/elf.h (ELFOSABI_GNU): New macro.
14861 (ELFOSABI_LINUX): Define to that.
14862
f3cdd467
DZ
148632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14864
14865 * string/strncat.c (strncat): Undef the symbol in case it has been
14866 defined in bits/string.h.
14867
74718d13
UD
148682011-09-09 Ulrich Drepper <drepper@gmail.com>
14869
633e9e0f
UD
14870 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14871
0a2349f9 14872 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14873 link map.
14874
f9924780
AJ
148752011-08-17 Andreas Jaeger <aj@suse.de>
14876
14877 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14878
7f5517aa
PP
148792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14880 Ian Lance Taylor <iant@google.com>
14881
14882 * math/libm-test.inc (lround_test): New testcase.
14883 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14884
762011fe
UD
148852011-09-08 Ulrich Drepper <drepper@gmail.com>
14886
92963737
UD
14887 * Makefile: Remove support for automatic cvs check-ins.
14888 * Makerules: Likewise.
14889 * config.make.in: Likewise.
14890 * configure.in: Likewise.
14891 * intl/Makefile: Likewise.
14892 * locale/Makefile: Likewise.
14893 * po/Makefile: Likewise.
14894 * posix/Makefile: Likewise.
14895 * sysdeps/gnu/Makefile: Likewise.
14896 * sysdeps/mach/hurd/Makefile: Likewise.
14897 * sysdeps/sparc/sparc32/Makefile: Likewise.
14898
b0727fd8
JS
14899 [BZ #13118]
14900 * posix/Makefile (bug-regex32-ENV): Define.
14901 Patch by John Stanley <jpsinthemix@verizon.net>.
14902
a0f33f99
UD
14903 * misc/Makefile (headers): Add bits/select2.h.
14904 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14905 * misc/bits/select2.h: New file.
14906 * include/bits/select2.h: New file.
14907 * debug/Makefile (routines): Add fdelt_chk.
14908 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14909 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14910 FD_ISSET.
14911 * debug/fdelt_chk.c: New file.
14912
762011fe
UD
14913 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14914 * wcsmbs/test-wmemcmp.c: Likewise.
14915 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14916 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14917
149182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14919
14920 * string/Makefile (strop-tests): Add memcmp.
14921 * string/test-wmemcmp.c: New file.
14922 * string/test-memcmp.c: Add wmemcmp support.
14923
7f513ec8
RM
149242011-09-08 Roland McGrath <roland@hack.frob.com>
14925
0442afb4
RM
14926 [BZ #13153]
14927 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14928 2011-07-19 change.
14929
7f513ec8
RM
14930 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14931 garbage value in a __mach_port_mod_refs call in the cases of the
14932 task-self and thread-self ports.
14933
a12b2239
ST
149342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14935
14936 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14937
610f9ab4
AS
149382011-09-08 Andreas Schwab <schwab@redhat.com>
14939
7f513ec8 14940 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14941
48882a1a
LD
149422011-09-07 Ulrich Drepper <drepper@gmail.com>
14943
b49865be
UD
14944 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14945
fdc86bc9
UD
14946 * elf/dl-libc.c (dlerror_run): Pass back error code from
14947 dl_catch_error.
14948
c966526a
UD
14949 [BZ #13123]
14950 * elf/dl-load.c (lose): Free l_origin if it is valid.
14951
48882a1a
LD
14952 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14953 names.
14954 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14955 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14956 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14957 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14958 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14959 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14960
77a2a8b4
AZ
149612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14962
14963 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14964 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14965 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14966 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14967 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14968 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14969 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14970 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14971 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14972 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14973
24f579d8
AM
149742011-08-15 Alan Modra <amodra@gmail.com>
14975
14976 [BZ #13092]
14977 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14978 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14979 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14980 ppc_mcount to static-only-routines.
14981 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14982 __mcount_internal.
14983 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14984 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14985
3d4837df
UD
149862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14987
14988 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14989 for finite and infinity parameters.
14990
22700377
WS
149912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14992
14993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14994 and add nop instructions for throughput optimization.
14995 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14996
5025581e
WS
149972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14998
14999 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15000 aligned copy for power7 with vector-scalar instructions.
15001 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15002
08a300c9
L
150032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15004
15005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15006 AVX check.
15007
59178ef9
AS
150082011-09-07 Andreas Schwab <schwab@redhat.com>
15009
15010 [BZ #13144]
15011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15012 last change.
15013
e38ba7ab
UD
150142011-09-07 Ulrich Drepper <drepper@gmail.com>
15015
15016 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15017 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15018 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15019 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15020 clock_gettime.
15021
d53a73ac
UD
150222011-09-06 Ulrich Drepper <drepper@gmail.com>
15023
fc8bffcc
UD
15024 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15025 Forgot to demangle the pointer.
15026
ceaa0c5d
UD
15027 * sysdeps/i386/sysdep.h: Define atom_text_section.
15028 * sysdeps/x86_64/sysdep.h: Likewise.
15029 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15030 section with atom_text_section.
15031 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15032 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15033 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15035 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15036
a77d3c17
UD
15037 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15038 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15039 already be defined. Change to take two parameters and don't assign
15040 result to variable. Adjust all users.
15041 Define INTERNAL_GETTIME if not already defined.
15042 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15043 call.
15044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15045 HAVE_CLOCK_GETTIME_VSYSCALL.
15046 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15047
d53a73ac
UD
15048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15049 gettimeofday vsyscall, just use time.
15050
a8f84144
AS
150512011-09-06 Andreas Schwab <schwab@redhat.com>
15052
15053 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15054 <errno.h>.
15055
ef606249
UD
150562011-09-06 Ulrich Drepper <drepper@gmail.com>
15057
15058 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15059 syscall on x86-64.
15060 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15061 syscall.
15062 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15063 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15064 syscall if possible.
15065
6585cb60
UD
150662011-09-05 Ulrich Drepper <drepper@gmail.com>
15067
15068 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15069 e_ident. Don't pass to find_mapsXX.
15070 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15071
a5f524e4
LD
150722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15073
15074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15075 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15076 * sysdeps/x86_64/multiarch/strchr.S: Update.
15077 Check bit_slow_BSF bit.
15078 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15079 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15080 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15081
554881ef
UD
150822011-09-05 Ulrich Drepper <drepper@gmail.com>
15083
d96de963
UD
15084 [BZ #13134]
15085 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15086 before glibc 2.15.
15087 (tryshell): Define.
15088 (__spawni): Change last parameter to be flag. Test
15089 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15090 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15091 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15092 * posix/spawni.c: Likewise.
15093 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15094 * posix/spawnp.c: Likewise. Change normal version to use
15095 SPAWN_XFLAGS_USE_PATH.
15096 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15097 SPAWN_XFLAGS_TRY_SHELL.
15098
d48e5868
UD
15099 [BZ #13150]
15100 * posix/glob.h: Remove gcc 1.x support.
15101
554881ef
UD
15102 [BZ #13068]
15103 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15104
693fb948
LD
151052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15106
15107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15108 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15109 strrchr-sse2-bsf
15110 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15111 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15112 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15113 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15114 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15115 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15116
1b48c537
UD
151172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15118
49d42c37
UD
15119 * sysdeps/x86_64/wcscmp.S: New file.
15120
1b48c537
UD
15121 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15122 wcscmp-c wcscmp-sse2
15123 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15124 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15125 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15126 * wcsmbs/wcscmp.c: Allow renaming.
15127
15c95c5d
DM
151282011-09-05 David S. Miller <davem@davemloft.net>
15129
15130 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15131 stack slot, rather than the struct return pointer slot.
15132 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15133 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15135 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15136
2f0ad8f3
UD
151372011-09-05 Ulrich Drepper <drepper@gmail.com>
15138
d88ae418
UD
15139 * po/ja.po: Update from translation team.
15140
2f0ad8f3
UD
15141 [BZ #13144]
15142 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15143 kernel in 64-bit binaries.
15144
5f4318d1
DM
151452011-09-01 David S. Miller <davem@davemloft.net>
15146
15147 * elf/elf.h (HWCAP_SPARC_*): Move to..
15148 * sysdeps/sparc/sysdep.h: this new file and add new values.
15149 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15150 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15151 _DL_HWCAP_COUNT to 24.
15152 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15153 entries.
15154 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15155 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15156 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15158 instead of magic constants.
15159 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15160
3ba57516
DM
151612011-08-31 David S. Miller <davem@davemloft.net>
15162
15163 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15165 Reimplement to do errno handling inline.
15166 (SYSCALL_ERROR_HANDLER): New macro.
15167 (__SYSCALL_STRING): Do not do errno handling in asm.
15168 (__CLONE_SYSCALL_STRING): Delete.
15169 (__INTERNAL_SYSCALL_STRING): Delete.
15170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15171 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15172 (PSEUDO): Reimplement to do errno handling inline.
15173 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15174 (SYSCALL_ERROR_HANDLER): New macro.
15175 (__SYSCALL_STRING): Do not do errno handling in asm.
15176 (__CLONE_SYSCALL_STRING): Delete.
15177 (__INTERNAL_SYSCALL_STRING): Delete.
15178 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15179 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15180 i386.
15181 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15182 (inline_syscall*): Add 'err' argument.
15183 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15184 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15185 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15186 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15187
15188 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15189 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15190
2bc17433
AS
151912011-08-30 Andreas Schwab <schwab@redhat.com>
15192
15193 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15194
fbeb5f4d
JO
151952011-08-29 Jiri Olsa <jolsa@redhat.com>
15196
15197 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15198 directive.
15199
ad69cc26
DM
152002011-08-24 David S. Miller <davem@davemloft.net>
15201
15202 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15203
39dd69df
AS
152042011-08-24 Andreas Schwab <schwab@redhat.com>
15205
15206 * elf/Makefile: Add rules to build and run unload8 test.
15207 * elf/unload8.c: New file.
15208 * elf/unload8mod1.c: New file.
15209 * elf/unload8mod1x.c: New file.
15210 * elf/unload8mod2.c: New file.
15211 * elf/unload8mod3.c: New file.
15212
15213 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15214 it wasn't used.
15215
2c0b250a
DM
152162011-08-23 David S. Miller <davem@davemloft.net>
15217
15218 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15219 subtract stack bias.
15220 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15221 %sp not %fp in calculations.
15222 (_JMPBUF_UNWINDS_ADJ): Likewise.
15223
22044b48
DM
15224 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15225 (aio_suspend): Call it to force an exception region around the
15226 AIO_MISC_WAIT() invocation.
15227
2cae4995
AS
152282011-08-23 Andreas Schwab <schwab@redhat.com>
15229
15230 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15231 backslash.
15232
873a772e
AJ
152332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15234
15235 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15236 protection macro.
15237 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15238 and <dl-machine.h>.
15239 (Elf64_FuncDesc): Remove.
15240
25ad0df1
DM
152412011-08-22 David S. Miller <davem@davemloft.net>
15242
15243 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15244 sigaltstack check, add missing cfi directives.
15245 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15246 missing cfi directives, and sigaltstack handling.
15247
e888bcbe
AS
152482011-08-16 Andreas Schwab <schwab@redhat.com>
15249
15250 [BZ #11724]
15251 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15252 object is seen twice.
15253 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15254
15255 * elf/Makefile (distribute): Add tst-initorder2.c.
15256 (tests): Add tst-initorder2.
15257 (modules-names): Add tst-initorder2a tst-initorder2b
15258 tst-initorder2c tst-initorder2d. Add rules to build them.
15259 ($(objpfx)tst-initorder2.out): New rule.
15260 * elf/tst-initorder2.c: New file.
15261 * elf/tst-initorder2.exp: New file.
15262
87162f46
AS
152632011-08-22 Andreas Schwab <schwab@redhat.com>
15264
70538b7f
AS
15265 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15266
f55ffe58
AS
15267 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15268 dependencies back to end of function.
15269
87162f46
AS
15270 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15271 $(elfobjdir)/ld.so.
15272
91b392a4
UD
152732011-08-21 Ulrich Drepper <drepper@gmail.com>
15274
15275 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15276 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15278 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15279 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15280 of __vdso_gettimeofday.
15281 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15282 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15283 attribute_hidden.
15284 (_libc_vdso_platform_setup): Remove initialization of
15285 __vdso_gettimeofday and __vdso_time.
15286
5c43483f
UD
152872011-08-20 Ulrich Drepper <drepper@gmail.com>
15288
775a77e7
UD
15289 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15290 and fgetc_unlocked.
15291 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15292 getc_unlocked.
89f447ed 15293
49c74ba9
UD
15294 * elf/dl-open.c (add_to_global): Report additions to the global scope
15295 for LD_DEBUG=scopes.
15296 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15297 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15298
5c43483f
UD
15299 [BZ #13114]
15300 * stdio-common/Makefile (tests): Add bug24.
15301 * stdio-common/bug24.c: New file.
15302
a101b025
AJ
153032011-08-19 Andreas Jaeger <aj@suse.de>
15304
15305 [BZ #13114]
15306 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15307 non-existant file when using close-on-exec mode.
15308
c88f1766
UD
153092011-08-20 Ulrich Drepper <drepper@gmail.com>
15310
0276a718
UD
15311 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15312 the very first instruction.
15313
c88f1766
UD
15314 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15315 the CFI state in the end.
15316 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15317 inclusion of dl-trampoline.h.
15318 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15319
51ccffa0
AS
153202011-08-19 Andreas Schwab <schwab@redhat.com>
15321
94d7165f
AS
15322 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15323 expectations for long double.
15324
51ccffa0
AS
15325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15326 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15327
fd708658 153282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15329
15330 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15331 artificual limit depends upon the system page size.
15332
44f0a71e
UD
153332011-08-17 Ulrich Drepper <drepper@gmail.com>
15334
15335 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15336 * resolv/Makefile: Define CFLAGS-libresolv.
15337
8de79a24
AS
153382011-08-17 Andreas Schwab <schwab@redhat.com>
15339
15340 * nss/makedb.c (compute_tables): Make variables used in nested
15341 function static.
15342
27724598
UD
153432011-08-17 Ulrich Drepper <drepper@gmail.com>
15344
c5305d88
UD
15345 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15346 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15347 if buffer was too small.
15348
27724598
UD
15349 * elf/pldd.c (main): Attach to all threads in the process.
15350 Rewrite /proc handling to use *at functions.
15351
076fe015
UD
153522011-08-16 Ulrich Drepper <drepper@gmail.com>
15353
174baab3
UD
15354 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15355 specifies first scope to show.
15356 (dl_open_worker): Update callers. Move printing scope of new
15357 object to before the relocation.
44f0a71e 15358 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15359 * sysdeps/generic/ldsodefs.h: Update declaration.
15360
076fe015
UD
15361 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15362 string for the scope number.
15363
a60df2c3
UD
153642011-08-14 Ulrich Drepper <drepper@gmail.com>
15365
15366 * nscd/servicescache.c (cache_addserv): Make sure written is always
15367 initialized.
15368
5e4287d1
RM
153692011-08-14 Roland McGrath <roland@hack.frob.com>
15370
85ae0589
RM
15371 * sysdeps/i386/i486/bits/atomic.h
15372 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15373 statement expression, so as to suppress "set but not used" warning.
15374 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15375
69f63097
RM
15376 * string/strncat.c (STRNCAT): Use prototype definition.
15377
675456ef
RM
15378 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15379 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15380 -Iprograms here.
15381 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15382 (localedef-modules): Add localedef.
15383 (locale-modules): Add locale.
15384
5e4287d1
RM
15385 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15386 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15387 to avoid a warning.
15388
9c96ff23
DM
153892011-08-14 David S. Miller <davem@davemloft.net>
15390
15391 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15392 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15393
f9ddf089
UD
153942011-08-13 Ulrich Drepper <drepper@gmail.com>
15395
44f0a71e 15396 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15397 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15398 * elf/rtld.c (dl_main): Set l_name of vDSO.
15399 Call _dl_show_scope when DL_DEBUG_SCOPES.
15400 (process_dl_debug): Recognize scopes flag and also set it for all.
15401 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15402 Declare _dl_show_scope.
15403
1dc27704
UD
15404 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15405 (do_dlopen): Pass caller_dlopen to dl_open.
15406 (__libc_dlopen_mode): Initialize caller_dlopen.
15407
f9ddf089
UD
15408 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15409 of libc. Make tolower call locale-independent. Optimize a bit by
15410 using isdigit instead of isalnum.
15411 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15412
9ac533d3
UD
154132011-08-12 Ulrich Drepper <drepper@gmail.com>
15414
15415 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15416 was a dependency or dynamically loaded.
15417
89edf2e9
UD
154182011-08-11 Ulrich Drepper <drepper@gmail.com>
15419
8e999d29
UD
15420 * intl/l10nflist.c: Allow architecture-specific pop function.
15421 * sysdeps/x86_64/l10nflist.c: New file.
15422
89edf2e9
UD
15423 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15424 classification.
15425
14d96785
AS
154262011-08-10 Andreas Schwab <schwab@redhat.com>
15427
15428 * include/dirent.h: Add libc_hidden_proto for scandirat and
15429 scandirat64. Don't declare __scandirat64.
15430 * dirent/scandirat.c: Add libc_hidden_def.
15431 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15432 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15433
6761ac04
DM
154342011-08-10 David S. Miller <davem@davemloft.net>
15435
15436 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15437 enum.
15438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15440 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15441
c55fbd1e
UD
154422011-08-09 Ulrich Drepper <drepper@gmail.com>
15443
15444 * Versions.def [libc]: Add GLIBC_2.15.
15445 * dirent/Makefile (routines): Add scandirat and scandirat64.
15446 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15447 GLIBC_2.15.
15448 * dirent/dirent.h: Declare scandirat and scandirat64.
15449 * dirent/scandirat.c: New file.
15450 * dirent/scandirat64.c: New file.
15451 * sysdeps/wordsize-64/scandirat.c: New file.
15452 * sysdeps/wordsize-64/scandirat64.c: New file.
15453 * dirent/opendir.c: Define opendirat.
15454 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15455 using scandirat.
15456 * dirent/scandir64.c: Adjust for scandir.c change.
15457 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15458 __scandirat64, and __scandir_cancel_handler.
15459 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15460 additional parameter and use openat instead of open (outside of ld.so).
15461 Add new __opendir as wrapper around __opendirat.
15462 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15463 here without requiring old scandirat implementation.
15464
879165f2
UD
154652011-08-08 Ulrich Drepper <drepper@gmail.com>
15466
15467 * dirent/scandir.c (cancel_handler): Renamed to
15468 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15469 defined. Adjust users.
15470 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15471 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15472
cb7e923b
UD
154732011-08-04 Ulrich Drepper <drepper@gmail.com>
15474
16292edd
UD
15475 * string/test-string.h (IMPL): Use __STRING to expand name and then
15476 stringify it.
15477
cb7e923b
UD
15478 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15479 of cleanups.
15480
cff82933
LD
154812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15482
15483 * string/Makefile: Update.
15484 (strop-tests): Append strncat.
15485 * string/test-wcscmp.c: New file.
15486 New comprehensive test for wcscmp.
15487 * string/test-strcmp.c: Update.
15488 (WIDE): New define.
15489
9be9bfcc
AS
154902011-07-22 Andreas Schwab <schwab@redhat.com>
15491
15492 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15493 line.
15494
2e96f1c7
AS
154952011-07-26 Andreas Schwab <schwab@redhat.com>
15496
15497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15498 encoding to ACE if AI_IDN.
15499
85188888
JJ
155002011-08-01 Jakub Jelinek <jakub@redhat.com>
15501
15502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15503 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15504
5fa16e9b
LD
155052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15506
15507 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15508 Fix overflow bug in strncat.
15509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15510
15511 * string/test-strncat.c: Update.
15512 Add new tests for checking overflow bugs.
15513
155142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15515
15516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15517 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15518 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15519 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15520 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15521 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15522 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15523 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15524 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15525
15526 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15527 (USE_AS_STRCAT): Define.
15528 Add strcat and strncat support.
15529 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15530
8c1a459f
AS
155312011-07-25 Andreas Schwab <schwab@redhat.com>
15532
15533 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15534 __n bigger than INT_MAX+1.
15535 (__strncmp_g): Likewise.
15536
bba33c28
UD
155372011-07-23 Ulrich Drepper <drepper@gmail.com>
15538
798be72d
UD
15539 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15540 * libio/stido.h: Likewise.
15541
8accd4dc
UD
15542 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15543 (AF_NFC): Define.
15544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15545 (AF_NFC): Define.
15546
cbff0d96
UD
15547 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15548 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15549 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15550 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15552
9191c04a
UD
15553 [BZ #13021]
15554 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15555 installed.
15556
bba33c28
UD
15557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15558 typo.
15559 (_dl_x86_64_save_sse): Likewise.
15560
90f139dd
UD
155612011-07-22 Ulrich Drepper <drepper@gmail.com>
15562
1aae088a
UD
15563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15564 OSXSAVE.
15565 (_dl_x86_64_save_sse): Likewise.
15566
8e2045f5
UD
15567 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15568
90f139dd
UD
15569 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15570
1d002f25
AS
155712011-07-21 Andreas Schwab <schwab@redhat.com>
15572
15573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15574 change.
15575 (_dl_x86_64_save_sse): Use correct AVX check.
15576
21137f89
UD
155772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15578
15579 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15580 bug in strncpy/strncat.
15581 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15582
a65c0b7a
UD
155832011-07-21 Ulrich Drepper <drepper@gmail.com>
15584
15585 * string/tester.c (test_strcat): Add tests for different alignments
15586 of source and destination.
15587 (test_strncat): Likewise.
15588
6986b98a
UD
155892011-07-20 Ulrich Drepper <drepper@gmail.com>
15590
90bb2039
UD
15591 [BZ #12852]
15592 * posix/glob.c (glob): Check passed in values before using them in
15593 expressions to avoid some overflows.
15594 (glob_in_dir): Likewise.
15595
5644ef54
UD
15596 [BZ #13007]
15597 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15598 check for AVX enablement so that we don't crash with old kernels and
15599 new hardware.
15600 * elf/tst-audit4.c: Add same checks here.
15601 * elf/tst-audit6.c: Likewise.
15602
15603 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15604
bfc9dc9b
AS
156052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15606
15607 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15608
702e64bb
UD
156092011-07-20 Ulrich Drepper <drepper@gmail.com>
15610
15611 * po/cs.po: Update from translation team.
15612 * po/bg.po: Likewise.
15613
295e904f
MP
156142011-07-12 Marek Polacek <mpolacek@redhat.com>
15615
15616 * misc/sys/cdefs.h: Add support for const attribute.
15617 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15618 to gnu_dev_{major,minor,makedev} functions.
15619
3ff94596
MP
156202011-07-20 Marek Polacek <mpolacek@redhat.com>
15621
15622 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15623
28b59fca
AS
156242011-07-20 Andreas Schwab <schwab@redhat.com>
15625
15626 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15627 strlen results.
15628
19df733e
AK
156292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15630
15631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15632 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15633 register in order to avoid conflicts with the soft frame pointer
15634 being held in r11 when necessary.
15635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15636 (INTERNAL_VSYSCALL_NCS): Likewise.
15637
c8835729
MP
156382011-07-14 Marek Polacek <mpolacek@redhat.com>
15639
15640 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15641 * elf/dl-fini.c (_dl_fini): Adjust caller.
15642 * elf/dl-close.c (_dl_close_worker): Likewise.
15643 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15644
b902330c
MP
156452011-07-15 Marek Polacek <mpolacek@redhat.com>
15646
8991e135
MP
15647 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15648 "aux_cache->nlibs < 0".
15649
b902330c
MP
15650 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15651 in the reload-count case.
15652
99710781
LD
156532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15654
15655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15656 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15657 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15658 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15659 * sysdeps/x86_64/multiarch/strcat.S: New file.
15660 * sysdeps/x86_64/multiarch/strncat.S: New file.
15661 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15662 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15663 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15664 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15666 (USE_AS_STRCAT): Define.
15667 Add strcat and strncat support.
15668 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15670 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15671 * string/strncat.c: Update.
15672 (USE_AS_STRNCAT): Define.
15673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15674 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15675 and i7.
15676 * sysdeps/x86_64/multiarch/init-arch.h
15677 (bit_Prefer_PMINUB_for_stringop): New.
15678 (index_Prefer_PMINUB_for_stringop): Likewise.
15679 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15680 bit_Prefer_PMINUB_for_stringop.
15681
7dc6bd90
UD
156822011-07-19 Ulrich Drepper <drepper@gmail.com>
15683
15684 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15685 buffer64.
15686 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15687 of casting of buffer.
15688 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15689 buffer32 and buffer64.
15690 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15691 writes instead of casting of buffer.
15692 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15693 buffer32.
15694 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15695 casting of buffer.
15696
e0e72284
AS
156972011-07-19 Andreas Schwab <schwab@redhat.com>
15698
15699 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15700
feb1eb0b
UD
157012011-07-19 Ulrich Drepper <drepper@gmail.com>
15702
15703 * nscd/nscd.c (termination_handler): Don't do anything for a database
15704 if it has not yet been initialized.
15705
298711ff
UD
157062011-07-18 Ulrich Drepper <drepper@gmail.com>
15707
15708 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15709
157102011-07-15 Marek Polacek <mpolacek@redhat.com>
15711
15712 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15713
f9d68389
UD
157142011-07-18 Ulrich Drepper <drepper@gmail.com>
15715
15716 * po/nl.po: Update from translation team.
15717 * po/sv.po: Likewise.
15718
db290cf5
RM
157192011-07-16 Roland McGrath <roland@hack.frob.com>
15720
15721 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15722 now disallowed by GCC.
5c550700 15723
fd5e21c7
RM
15724 * configure.in (use-default-link): Default to yes if a test -shared
15725 link meets our qualifications.
15726 * configure: Regenerated.
15727
5c550700
RM
15728 * config.make.in (output-format): New variable.
15729 * configure.in: Check for ld --print-output-format support.
15730 * configure: Regenerated.
15731 * Makerules ($(common-objpfx)format.lds)
15732 [$(output-format) != unknown]: Just use $(output-format),
15733 instead of the linker-script munging.
15734
9fa2c032
RM
157352011-07-14 Roland McGrath <roland@hack.frob.com>
15736
a6928d51
RM
15737 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15738 of $(common-objpfx)shlib.lds.
15739 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15740
661607b3
RM
15741 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15742 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15743
9fa2c032
RM
15744 * configure.in (-z relro check): Adjust test code to add a large
15745 writable data section after it.
15746 * configure: Regenerated.
15747
defe9061
RM
157482011-07-11 Roland McGrath <roland@hack.frob.com>
15749
15750 * configure.in (-z relro check): Fix test code to make the variable
15751 truly const.
15752 * configure: Regenerated.
15753
319b9ad4
UD
157542011-07-11 Ulrich Drepper <drepper@gmail.com>
15755
15756 * nscd/nscd.h (struct traced_file): Define.
15757 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15758 elements. Add traced_files.
15759 (inotify_fd): Declare.
15760 (register_traced_file): Declare.
15761 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15762 (inotify_fd): Export.
15763 (resolv_conf_descr): Remove.
15764 (nscd_init): Move inotify descriptor creation to main.
15765 Don't register files for notification here.
15766 (register_traced_file): New function.
15767 (invalidate_cache): Don't use reset_res to determine whether to call
15768 res_init, go through the list of registered files.
15769 (main_loop_poll): The inotify descriptors are now stored in the
15770 structures for the traced files.
15771 (main_loop_epoll): Likewise
15772 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15773 to __nss_disable_nscd.
15774 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15775 for a database anymore. Check the records for all the registered
15776 files instead.
15777 * nss/Makefile (libnss_files-routines): Add files-init.
15778 (libnss_db-routines): Add db-init.
15779 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15780 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15781 * nss/nss_db/db-init.c: New file.
15782 * nss/nss_files/files-init.c: New file.
15783 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15784 __nss_lookup_function.
15785 (__nss_lookup_function): Call nss_load_library.
15786 (nss_load_all_libraries): New function.
15787 (__nss_disable_nscd): Take parameter with callback function for files
15788 to register. Set is_nscd. Load all the DSOs for the NSS modules
15789 used for the cached services.
15790 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15791 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15792 options for features to all the files in nscd.
15793
15794 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15795
23bee3e8
RM
157962011-07-10 Roland McGrath <roland@hack.frob.com>
15797
15798 * csu/elf-init.c (__libc_csu_init): Comment typo.
15799
46a5b7f0
UD
158002011-07-09 Ulrich Drepper <drepper@gmail.com>
15801
15802 * po/pl.po: Update from translation team.
15803 * po/ja.po: Likewise.
15804 * po/ru.po: Likewise.
15805 * po/ko.po: Likewise.
15806 * po/fr.po: Likewise.
15807
d30cf5bb
RM
158082011-07-09 Roland McGrath <roland@hack.frob.com>
15809
113ddea4
RM
15810 * configure.in (.ctors/.dtors header and trailer check):
15811 Use an empirical test on a built program.
15812 * configure: Regenerated.
15813
574920b4
RM
15814 * configure.in (-z relro check): Use an empirical test on a built DSO.
15815 Detect, but do not require, on ia64.
15816 * configure: Regenerated.
15817
d30cf5bb
RM
15818 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15819 Update tests that use readelf to use $READELF instead.
15820 * configure: Regenerated.
15821
8538fdb3
UD
158222011-07-08 Ulrich Drepper <drepper@gmail.com>
15823
15824 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15825 if the result is not used.
15826
04d08991
AJ
158272011-07-05 Andreas Jaeger <aj@suse.de>
15828
15829 [BZ#9696]
15830 * stdlib/tst-strtod.c: Add testcase.
15831
de283087
AD
158322011-07-07 Ulrich Drepper <drepper@gmail.com>
15833
4e5f31c8 15834 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15835 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15836 The latter has a higher limit. Take additional parameter to pass to
15837 the new function.
15838 (__pathconf): Pass file to __statfs_link_max.
15839 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15840 __statfs_link_max.
15841 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15842 __statfs_link_max.
15843
de283087
AD
15844 [BZ #12868]
15845 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15846 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15847 Handle Lustre.
15848 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15849 (__statfs_filesize_max): Likewise.
15850 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15851
c75fa153
AJ
158522011-07-05 Andreas Jaeger <aj@suse.de>
15853
15854 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15855
1a544854
UD
158562011-07-06 Marek Polacek <mpolacek@redhat.com>
15857
15858 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15859 `status' variable.
15860 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15861 Likewise.
15862
6f0eec67
UD
158632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15864
15865 * Makefile (strop-tests): Add strncat.
15866 * string/test-strncat.c: New file.
15867
aae30307
UD
158682011-06-30 Marek Polacek <mpolacek@redhat.com>
15869
15870 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15871
c0cfb5eb
UD
158722011-06-21 Andreas Jaeger <aj@suse.de>
15873
15874 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15875 Copy rule from iconvdata/Makefile.
15876
01636b21
UD
158772011-07-06 Ulrich Drepper <drepper@gmail.com>
15878
15879 [BZ #12922]
15880 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15881 but no long options are defined, just return 'W'.
15882
9895c8bc
UD
158832011-06-22 Marek Polacek <mpolacek@redhat.com>
15884
15885 [BZ #9696]
15886 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15887
5d4cf042
UD
158882011-07-06 Ulrich Drepper <drepper@gmail.com>
15889
15890 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15891 netgroups to read.
960e5535 15892 (innetgr): Likewise.
5d4cf042 15893
751eb97e
RM
158942011-07-05 Roland McGrath <roland@hack.frob.com>
15895
15896 * config.make.in (install_root): Default to $(DESTDIR).
15897
f15f1e45
UD
158982011-07-05 Ulrich Drepper <drepper@gmail.com>
15899
15900 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15901
4e34ac6a
RM
159022011-07-02 Roland McGrath <roland@hack.frob.com>
15903
5e9b6af4
RM
15904 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15905
84f9ea0f
RM
15906 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15907 containing directory rather than embedding absolute directory names.
15908
ea5ee9f7
RM
15909 * scripts/check-local-headers.sh: Rewritten using awk.
15910 Match by word, not by line. Print error messages for matches.
15911 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15912
1b74661a
RM
15913 * Makerules [shlib-lds-flags empty]:
15914 ($(common-objpfx)libc_pic.opts): New target.
15915 ($(common-objpfx)libc_pic.os.clean): New target.
15916 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15917
15918 * config.make.in (OBJCOPY): New variable.
15919 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15920 * configure: Regenerated.
15921
f781ef40
RM
15922 * config.make.in (use-default-link): New variable.
15923 * configure.in (use_default_link): Grok --with-default-link to set it.
15924 * configure: Regenerated.
15925 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15926 (shlib-lds, shlib-lds-flags): Define to empty.
15927
2d4fa81e
RM
15928 * Makerules (shlib-lds): New variable.
15929 (shlib-lds-flags): New variable.
15930 (build-shlib, build-moduile, build-module-asneeded): Use it.
15931 ($(common-objpfx)libc.so): Use $(shlib-lds).
15932 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15933 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15934
31fffa6b
RM
15935 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15936 DT_FLAGS/DT_FLAGS_1 with zero flags.
15937
4e34ac6a
RM
15938 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15939 linker script munging.
15940
fcfc776b
UD
159412011-07-02 Ulrich Drepper <drepper@gmail.com>
15942
15943 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15944 as 128-bit value.
15945 * crypt/sha512.c (sha512_process_block): Perform total addition using
15946 128-bit if possible.
15947 (__sha512_finish_ctx): Likewise.
15948 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15949 as 64-bit value.
15950 * crypt/sha256.c (SWAP64): Define.
15951 (sha256_process_block): Perform total addition using 64-bit if
15952 possible.
15953 (__sha256_finish_ctx): Likewise.
15954
99231d9a
UD
159552011-07-01 Ulrich Drepper <drepper@gmail.com>
15956
15957 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15959 * nscd/hstcache.c (cache_addhst): Likewise.
15960 * nscd/grpcache.c (cache_addgr): Likewise.
15961 * nscd/aicache.c (addhstaiX): Likewise
15962 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15963
445b4a53
TK
159642011-07-01 Thorsten Kukuk <kukuk@suse.de>
15965
15966 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15968 * nscd/hstcache.c (cache_addhst): Likewise.
15969 * nscd/grpcache.c (cache_addgr): Likewise.
15970 * nscd/aicache.c (addhstaiX): Likewise
15971
6d4d8e8e
AS
159722011-07-01 Andreas Schwab <schwab@redhat.com>
15973
15974 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15975 domain only when needed.
15976
89f654c5
AS
159772011-06-30 Andreas Schwab <schwab@redhat.com>
15978
15979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15980 is always restored.
15981
cf3b23ff
UD
159822011-06-29 Ulrich Drepper <drepper@gmail.com>
15983
15984 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15985 are re-adding the entry.
15986 * nscd/servicescache.c (cache_addserv): Likewise.
15987
751626f9
AJ
159882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15989
15990 * sysdeps/generic/dl-irel.h: fix protection against multiple
15991 inclusions.
15992 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15993
9113ea1f
UD
159942011-06-28 Ulrich Drepper <drepper@gmail.com>
15995
5c0b8d90
UD
15996 [BZ #12935]
15997 * malloc/memusage.sh: Fix quoting in message.
15998 * debug/xtrace.sh: Likewise.
15999
9113ea1f
UD
16000 * configure.in: Remove support for --experimental-malloc option, make
16001 it the default.
16002 * config.make.in: Likewise.
16003 * malloc/Makefile: Likewise.
16004
a4172181
AS
160052011-06-27 Andreas Schwab <schwab@redhat.com>
16006
16007 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16008 two-byte characters.
16009
78a7eee7
RM
160102011-06-27 Roland McGrath <roland@hack.frob.com>
16011
62bede13
RM
16012 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16013 AC_CACHE_CHECK invocation.
16014 * configure: Regenerated.
16015
78a7eee7
RM
16016 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16017
5ce33a62
UD
160182011-06-27 Ulrich Drepper <drepper@gmail.com>
16019
034807a9
UD
16020 [BZ #12350]
16021 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16022 bit from old_res_options.
16023
4902da17
UD
16024 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16025
5ce33a62
UD
16026 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16027 value type for setfct.
16028
c2344f56
L
160292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16030
16031 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16032 __gettimeofday instead of gettimeofday.
16033
68468076
UD
160342011-06-26 Ulrich Drepper <drepper@gmail.com>
16035
16036 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16037
acb0d739
L
160382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16039
16040 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16041
16042 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16043 info.
16044
8912479f
L
160452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16046
16047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16048 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16049 strcpy-sse2-unaligned strncpy-sse2-unaligned
16050 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16051 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16052 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16053 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16054 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16055 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16056 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16057 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16058 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16059 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16060 (STRCPY): Support SSE2 and SSSE3 versions.
16061
d5495a11
UD
160622011-06-24 Ulrich Drepper <drepper@gmail.com>
16063
16064 [BZ #12874]
16065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16066 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16067 kernels which artificially limit size of requests.
16068
0b1cbaae
L
160692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16070
16071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16072 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16073 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16074 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16075 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16076 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16077 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16078 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16079 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16080 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16081 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16082 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16083 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16084 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16085 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16087 Enable unaligned load optimization for Intel Core i3, i5 and i7
16088 processors.
16089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16090 Define.
16091 (index_Fast_Unaligned_Load): Define.
16092 (HAS_FAST_UNALIGNED_LOAD): Define.
16093
07f494a0
MP
160942011-06-23 Marek Polacek <mpolacek@redhat.com>
16095
16096 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16097
fa3fc0fe
UD
160982011-06-22 Ulrich Drepper <drepper@gmail.com>
16099
16100 [BZ #12907]
16101 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16102 until it is clear that the information is realy needed.
16103 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16104
e12df166
AS
161052011-06-22 Andreas Schwab <schwab@redhat.com>
16106
16107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16108
852eb34d
UD
161092011-06-22 Ulrich Drepper <drepper@gmail.com>
16110
84e2a551
UD
16111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16112 /sys/devices/system/cpu/online if it is usable.
16113
852eb34d
UD
16114 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16115 reading the information from the /proc filesystem to once a second.
16116
6e502e19
UD
161172011-06-21 Andreas Jaeger <aj@suse.de>
16118
16119 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16120 NULL after inclusion of kernel headers.
16121
75d39ff2
UD
161222011-06-21 Ulrich Drepper <drepper@gmail.com>
16123
51f9aa6a
UD
16124 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16125 calls to internal_setent.
16126
c0244a9d
UD
16127 [BZ #12885]
16128 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16129 addresses using gethostbyname4_r ignore IPv4 addresses.
16130
c5e3c2ae
UD
16131 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16132 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16133
75d39ff2
UD
16134 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16135
42675c6f
DM
161362011-06-20 David S. Miller <davem@davemloft.net>
16137
16138 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16139 inclusions.
16140 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16141
16142 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16143 (elf_irel): Use it.
16144 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16145 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16146 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16147 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16148 * sysdeps/x86_64/dl-irel.h: Likewise.
16149
16150 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16151 * elf/dl-sym.c: Likewise.
16152
57912a71
UD
161532011-06-15 Ulrich Drepper <drepper@gmail.com>
16154
16155 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16156 need to dereference resplen2.
16157
ee22793d
AS
161582011-06-14 Andreas Schwab <schwab@redhat.com>
16159
16160 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16161
a9e836b0
UD
161622011-06-15 Ulrich Drepper <drepper@gmail.com>
16163
77fb9117
UD
16164 * Makeconfig: Define vardbdir and inst_vardbdir.
16165 * nss/Makefile: Add rules to install db-Makefile.
16166
40c1b22c
UD
16167 * nss/nss_db/db-XXX.c: Cleanup.
16168
9f2da732
UD
16169 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16170 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16171 GLIBC_PRIVATE.
16172 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16173 * nss/makedb.c: Implement -g option to specify that value strings
16174 are generated and should not be added to table iterated over for
16175 get*ent calls.
16176 * nss/nss_db/db-initgroups.c: New file.
16177
82e9a1f7
UD
16178 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16179 interface.
16180
c41af17e
UD
16181 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16182 (internal_getgrouplist): Adjust to name change.
16183 Update use_initgroups_entry if this is not the first call.
16184 * nss/databases.def: Add initgroups entry.
16185
a9e836b0
UD
16186 * nss/makedb.c (compute_tables): Check result of multiple hash table
16187 sizes to minimize maximum chain length.
16188
2666d441
UD
161892011-06-14 Ulrich Drepper <drepper@gmail.com>
16190
16191 * Versions.def: Add entry for libnss_db.
16192 * shlib-versions: Likewise.
16193 * nss/Makefile: Add rules to build libnss_db.
16194 * nss/Versions: Add libnss_db information. Organize libnss_files
16195 entries better.
16196 * nss/db-Makefile: Add gshadow support. Change rules for the new
16197 makedb progra. Some minor improvements to generate smaller files.
16198 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16199 here from...
16200 * nss/makedb.c: ...here.
16201 Improve database format to be smaller and require less memory at
16202 runtime.
16203 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16204 db anymore.
16205 * nss/nss_db/db-netgrp.c: Likewise.
16206 * nss/nss_db/db-open.c: Likewise.
16207 * nss/nss_files/flies-XXX.x: Adjust comments.
16208 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16209 * nss/nss_files/files-grp.c: Likewise.
16210 * nss/nss_files/files-hosts.c: Likewise.
16211 * nss/nss_files/files-network.c: Likewise.
16212 * nss/nss_files/files-proto.c: Likewise.
16213 * nss/nss_files/files-pwd.c: Likewise.
16214 * nss/nss_files/files-rpc.c: Likewise.
16215 * nss/nss_files/files-service.c: Likewise.
16216 * nss/nss_files/files-sgrp.c: Likewise.
16217 * nss/nss_files/files-spwd.c: Likewise.
16218 * nss/nss_db/db-alias.c: Removed.
16219 * nss/nss_db/dummy-db.h: Removed.
16220
9ee76b5a
UD
162212011-06-02 Ulrich Drepper <drepper@gmail.com>
16222
16223 * nss/makedb.c: Rewritten to not use database library.
16224 * nss/Makefile: Update to build new makedb program.
16225
c71ca1f8
AJ
162262011-06-14 Andreas Jaeger <aj@suse.de>
16227
16228 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16229 memset declaration.
16230
3154bfb8
UD
162312011-06-10 Andreas Schwab <schwab@redhat.com>
16232
16233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16234 tmpbuf.
16235
b350afab
RM
162362011-06-10 Roland McGrath <roland@hack.frob.com>
16237
decd4e50
RM
16238 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16239 * elf/Makefile ($(objpfx)ld.so): Likewise.
16240
5615eaf2
RM
16241 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16242 Don't list ld.so twice in dependencies.
16243
16244 * posix/bug-regex31.c: Include <stdlib.h>.
16245
16246 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16247
16248 * nis/nss_compat/compat-spwd.c
16249 (getspent_next_nss_netgr): Remove unused variable.
16250 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16251
16252 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16253 nonmembers" output to use the right array.
16254
16255 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16256
16257 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16258
16259 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16260 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16261 * catgets/gencat.c (read_input_file): Likewise.
16262 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16263
16264 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16265 variable definition inside #if's controlling its use.
16266
16267 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16268
16269 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16270
16271 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16272
16273 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16274 unreachable code.
16275
16276 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16277
b68e08db
RM
16278 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16279 * configure: Regenerated.
16280
b350afab
RM
16281 * Makerules: Revert last change.
16282 * elf/Makefile: Likewise.
16283
28368601
RM
162842011-06-09 Roland McGrath <roland@hack.frob.com>
16285
16286 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16287 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16288 (reloc-link): Likewise.
16289
11988f8f
UD
162902011-06-09 Ulrich Drepper <drepper@gmail.com>
16291
16292 * elf/Makefile: Add rules to build pldd.
16293 * elf/pldd.c: New file.
16294 * elf/pldd-xx.c: New file.
16295
e80fab37
UD
162962011-06-07 Ulrich Drepper <drepper@gmail.com>
16297
16298 * version.h: Update for 2.15 development version.
16299
9b849836
DM
163002011-06-07 David S. Miller <davem@davemloft.net>
16301
16302 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16303 ifuncs.
16304 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16305 elf_machine_lazy_rel): Likewise.
16306 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16307 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16308 elf_machine_lazy_rel): Likewise.
16309 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16310 dl_hwcap via passed in argument.
16311 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16312 Likewise.
16313
5a31b283
AK
163142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16315
16316 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16317
069e52f8
RM
163182011-06-06 Roland McGrath <roland@hack.frob.com>
16319
16320 [BZ #12849]
16321 * manual/fdl-1.1.texi: New file, verbatim from:
16322 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16323 * manual/lgpl-2.1.texi: New file, verbatim from:
16324 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16325 * manual/Makefile (licenses): New variable, list those new file names.
16326 (texis): Use it.
16327 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16328
16329 * manual/fdl.texi: File removed.
16330 * manual/lesser.texi: File removed.
16331 * manual/libc.texinfo (Copying, Documentation License):
16332 Use new @include file names, put @appendix directive before @include.
16333
f16846a5
JJ
163342011-06-04 Jakub Jelinek <jakub@redhat.com>
16335
16336 [BZ #12841]
16337 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16338 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16339 (mq_open): Add __NTH.
16340
3d29045b
L
163412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16342
16343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16344 Assume Intel Core i3/i5/i7 processor if AVX is available.
16345
8c297311
UD
163462011-05-31 Ulrich Drepper <drepper@gmail.com>
16347
16348 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16349 typo.
16350
c8fc0c91
UD
163512011-05-31 Andreas Schwab <schwab@redhat.com>
16352
16353 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16354 memory. Use alloca_account. Fix memory leak when retrying.
16355
5b27a807
UD
163562011-05-31 Ulrich Drepper <drepper@gmail.com>
16357
356f8bc6
UD
16358 * version.h (RELEASE): Bump for 2.14 release.
16359 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16360
5b27a807
UD
16361 * config.make.in (RANLIB): Remove entry.
16362
01f16ab0
UD
163632011-05-30 Ulrich Drepper <drepper@gmail.com>
16364
41fce8bd
UD
16365 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16366 (libc.pot): Work around missing support for .ksh extension in xgettext.
16367
4769ae77
UD
16368 [BZ #12684]
16369 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16370 if both request failed.
16371 (send_dg): In case of server errors clear resplen or *resplen2.
16372
6b1e7d19
UD
16373 [BZ #12454]
16374 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16375 when there are multiple maps.
16376 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16377 (_dl_fini): Remove test here.
16378
01f16ab0
UD
16379 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16380
b1ebd700
UD
163812011-05-29 Ulrich Drepper <drepper@gmail.com>
16382
7ae22829
UD
16383 [BZ #12350]
16384 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16385 bit from old_res_options.
16386 (gaih_inet): Likewise.
16387
553149f6 16388 [BZ #11099]
18a84741 16389 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16390 as signed.
16391
652ffab1
UD
16392 * resolv/res_init.c (res_setoptions): Make the code more compact.
16393
16985fd0
UD
16394 [BZ #11558]
16395 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16396 set RES_USEVC.
16397
0464f746
UD
16398 [BZ #11634]
16399 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16400
7d17596c
UD
16401 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16402
cf6bbbd7
UD
16403 [BZ #11781]
16404 * malloc/malloc.h: Declare malloc hook variables as volatile.
16405
13f1ab36
UD
16406 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16407 in last patch.
16408
b1ebd700
UD
16409 [BZ #11799]
16410 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16411 raise in the comment.
80e2212d
UD
16412 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16413 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16414 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16415
ce67228d
UD
164162011-05-28 Ulrich Drepper <drepper@gmail.com>
16417
8887a920
UD
16418 [BZ #12811]
16419 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16420 grow the buffers more if it already has to be sufficient.
16421 (build_wcs_upper_buffer): Likewise.
16422 * posix/regexec.c (check_matching): Likewise.
16423 (clean_state_log_if_needed): Likewise.
16424 (extend_buffers): Don't enlarge buffers beyond size of the input
16425 buffer.
16426 Patches mostly by Emil Wojak <emil@wojak.eu>.
16427 * posix/bug-regex32.c: New file.
16428 * posix/Makefile (tests): Add bug-regex32.
16429
4f031072
UD
16430 * locale/findlocale.c (_nl_find_locale): Return right away if
16431 _nl_explode_name failed.
16432 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16433
d0478f0c
UD
16434 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16435
de81b246
UD
16436 * debug/xtrace.sh: Unify messages.
16437 * malloc/memusage.sh: Likewise.
16438
c738465a
UD
16439 [BZ #12813]
16440 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16441 time symbol from vDSO. Substitute with vsyscall if not available.
16442 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16443 __vdso_time.
16444
f1f929d7
UD
16445 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16446 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16447 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16448 Add sendmmsg and internal_sendmmsg.
16449 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16450 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16451 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16452
ce67228d
UD
16453 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16454 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16455 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16456
e57420c6
UD
164572011-05-27 Ulrich Drepper <drepper@gmail.com>
16458
a8509ca5
UD
16459 [BZ #12813]
16460 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16461 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16462 available.
16463 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16464 __vdso_getcpu.
16465
e57420c6
UD
16466 [BZ #12814]
16467 * iconvdata/Makefile (tests): Add bug-iconv9.
16468 * iconvdata/bug-iconv9.c: New file.
16469
4d07db15
AS
164702011-05-27 Andreas Schwab <schwab@redhat.com>
16471
16472 [BZ #12814]
16473 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16474
ea486f69
JJ
164752011-05-25 Jakub Jelinek <jakub@redhat.com>
16476
16477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16478 (struct user_regs_struct): Change intcs field back to cs.
16479
6f038433
UD
164802011-05-25 Ulrich Drepper <drepper@gmail.com>
16481
16482 * po/ja.po: Update from translation team.
16483
67f86a25
UD
164842011-05-23 Ulrich Drepper <drepper@gmail.com>
16485
16486 [BZ #12795]
16487 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16488 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16489
def7fbd6
AS
164902011-05-20 Andreas Schwab <schwab@redhat.com>
16491
16492 * stdlib/longlong.h: Update from GCC.
16493
f50ef8f1
AS
164942011-05-23 Andreas Schwab <schwab@redhat.com>
16495
16496 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16497 parameter name.
16498 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16499 Add parameter name.
16500 (__sysconf): Pass it down.
16501
de7ce8f1
UD
165022011-05-22 Ulrich Drepper <drepper@gmail.com>
16503
f2962a71
UD
16504 [BZ #12671]
16505 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16506 some situations.
16507 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16508 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16509 add in in __libc_use_alloca calls. Adjust callers.
16510 (glob): Use malloc in some situations.
16511
de7ce8f1
UD
16512 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16513 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16514 pltexit.
16515
aec84f53
UD
165162011-05-21 Ulrich Drepper <drepper@gmail.com>
16517
05bb4a68
UD
16518 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16519 and CLOCK_BOOTTIME_ALARM.
16520
7ea72f99
UD
16521 [BZ #12782]
16522 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16523 is returned.
16524
7e4afad5
UD
16525 * string/_strerror.c (__strerror_r): Print negative errors as signed
16526 numbers.
16527
8e211fec
UD
16528 [BZ #12777]
16529 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16530 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16531 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16532
f7d82dc9
UD
16533 * configure.in: Fix typo in redirection and correct removal of test
16534 files in two cases.
16535
cc9e536d
UD
16536 [BZ #12788]
16537 * locale/setlocale.c (new_composite_name): Fix test to check for
16538 identical name of all categories.
16539
aec84f53
UD
16540 [BZ #12792]
16541 * libio/filedoalloc.c (local_isatty): New function.
16542 (_IO_file_doallocate): Use local_isatty.
16543 * stdio-common/perror.c (perror): In case a new stream is used
16544 forward the stream error.
16545 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16546 error flag.
16547
78e64fdc
RT
165482011-05-20 Ulrich Drepper <drepper@gmail.com>
16549
34a9094f
UD
16550 [BZ #11869]
16551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16552 alloca.
16553 * include/alloca.h (extend_alloca_account): Define.
16554
78e64fdc
RT
16555 [BZ #11857]
16556 * posix/regex.h: Fix comments with documentation of user-accessible
16557 fields after compilation and describe correct free'ing of pattern
16558 after re_compile_pattern.
16559 Patch by Reuben Thomas <rrt@sc3d.org>.
16560
457bddfc
RA
165612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16562
16563 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16564 and -mno-altivec to prevent the compiler from using Altivec and/or
16565 VSX instructions when the corresponding registers are not available.
16566
a4527b51
AS
165672011-05-19 Andreas Schwab <schwab@redhat.com>
16568
16569 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16570
ed690b2f
UD
165712011-05-19 Ulrich Drepper <drepper@gmail.com>
16572
16573 * libio/freopen.c (freopen): Use __dup2, not dup2.
16574 * libio/freopen64.c (freopen64): Likewise.
16575
8db73634
L
165762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16577
16578 [BZ #12775]
16579 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16580 * math/Makefile (tests): Add test-powl.
16581 (CFLAGS-test-powl.c): Define.
16582 * math/test-powl.c: New file.
16583
0a197a9d
L
165842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16585
16586 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16587
ee30c380
UD
165882011-05-17 Ulrich Drepper <drepper@gmail.com>
16589
16590 [BZ #11837]
16591 * iconvdata/gb18030.c: Update to GB18020-2005.
16592
6ce75379
UD
165932011-05-16 Ulrich Drepper <drepper@gmail.com>
16594
a4b89fd8
AR
16595 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16596 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16597 Patch by Aharon Robbins <arnold@skeeve.com>.
16598
ea389b12
UD
16599 [BZ #11892]
16600 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16601 on the stack.
16602
68a3f91f
UD
16603 [BZ #11895]
16604 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16605 through underflows.
16606
15cc7dd1
UD
16607 [BZ #12766]
16608 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16609 point to strings before performing equality test for error_one_per_line
16610 mode.
16611
f3799213
UD
16612 [BZ #11697]
16613 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16614
d79a9c94
UD
16615 [BZ #11820]
16616 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16617 (struct user_fpregs_struct): Avoid __uint*_t types.
16618
56e5eb46
UD
16619 [BZ #6420]
16620 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16621 symbol info. Use it instead of calling _dl_addr locally.
16622 (lock_and_info): New function.
16623 (tr_freehook): Call lock_and_info and pass symbol info as additional
16624 parameter to tr_where.
16625 (tr_mallochook): Likewise.
16626 (tr_reallochook): Likewise.
16627 (tr_memalignhook): Likewise.
16628
6ce75379
UD
16629 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16630 used and couldn't be at all thread-safe.
16631
f8a3b5bf
UD
166322011-05-15 Ulrich Drepper <drepper@gmail.com>
16633
94b7cc37
UD
16634 * libio/freopen.c (freopen): Don't close old file descriptor
16635 before the new one is opened. Instead dup the new file descriptor
16636 to the old one after the new stream is created.
16637 * libio/freopen64.c (freopen64): Likewise.
16638 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16639 * libio/fileops.c (_IO_new_file_close_it): Handle new
16640 _IO_FLAGS2_NOCLOSE flag.
16641 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16642 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16643 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16644 _IO_FLAGS2_NOCLOSE flag.
16645 * include/unistd.h: Add hidden_proto for dup3.
16646 Define __have_dup3.
16647 * io/dup3.c: Define hidden symbol.
16648 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16649
bd25564e
UD
16650 [BZ #7101]
16651 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16652 when an incomplete long option is used.
16653 * posix/tst-getopt_long1.c: New file.
16654 * posix/Makefile (tests): Add tst-getopt_long1.
16655
c84cfef4
UD
16656 [BZ #10138]
16657 * scripts/config.guess: Update from autoconf-2.68.
16658 * scripts/config.sub: Likewise.
16659
3b85df27
UD
16660 [BZ #10157]
16661 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16662 tests into ...
16663 (has_cpuclock): ...this. New function.
16664 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16665 macro here based on has_cpuclock code.
16666
15a856b1
UD
16667 [BZ #10149]
16668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16669 First byte (not low byte) is now always NUL.
16670 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16671
05f399e6
UD
16672 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16673 Use non-cancelable interfaces.
16674
10a52685 16675 [BZ #9809]
94ecc67d
UD
16676 * locale/iso-639.def: Add entry for Sorani.
16677
f8a3b5bf
UD
16678 [BZ #11901]
16679 * include/stdlib.h: Move include protection to the right place.
16680 Define abort_msg_s. Declare __abort_msg with it.
16681 * stdlib/abort.c (__abort_msg): Adjust type.
16682 * assert/assert.c (__assert_fail_base): New function. Majority
16683 of code from __assert_fail. Allocate memory for __abort_msg with
16684 mmap.
16685 (__assert_fail): Now call __assert_fail_base.
16686 * assert/assert-perr.c: Remove bulk of implementation. Use
16687 __assert_fail_base.
16688 * include/assert.hL Declare __assert_fail_base.
16689 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16690 mmap.
16691 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16692
1af4e298
UD
166932011-05-14 Ulrich Drepper <drepper@gmail.com>
16694
f8a3b5bf 16695 [BZ #11952]
d26dfc60
MG
16696 [BZ #12453]
16697 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16698 until all modules are registered in the DTV.
16699 * elf/Makefile: Add rules to build and run tst-tls19.
16700 * elf/tst-tls19.c: New file.
16701 * elf/tst-tls19mod1.c: New file.
16702 * elf/tst-tls19mod2.c: New file.
16703 * elf/tst-tls19mod3.c: New file.
16704 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16705
2fc54d6f
UD
16706 [BZ #12083]
16707 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16708 correctly.
16709
98d76b46
UD
16710 [BZ #12601]
16711 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16712 two-byte sequence errors.
16713 * iconvdata/Makefile (tests): Add bug-iconv8.
16714 * iconvdata/bug-iconv8.c: New file.
16715
da3c19ef
UD
16716 [BZ #12626]
16717 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16718 buf2 definition.
16719
ca408c15
UD
16720 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16721
d6f67f7d
UD
16722 [BZ #12432]
16723 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16724 (dummy_getcfa): New function.
16725 (init): Get _Unwind_GetCFA address, use dummy if not found.
16726 (backtrace_helper): In recursion check, also check whether CFA changes.
16727 (__backtrace): Completely initialize arg.
16728
1af4e298 16729 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16730 storing incomplete byte sequence in state object. Avoid testing for
16731 guaranteed too small input if we know there is enough data available.
1af4e298 16732
da62f81b
AS
167332011-05-11 Andreas Schwab <schwab@redhat.com>
16734
16735 * Makeconfig (+link-pie): Indent.
16736 * Rules (binaries-pie): Define if $(have-fpie) and
16737 $(build-shared).
16738 (binaries-shared): Also filter out $(binaries-pie).
16739 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16740 * nscd/Makefile (others-pie): Add nscd.
16741 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16742 ($(objpfx)nscd): Remove command override.
16743 * login/Makefile (others-pie): Add pt_chown.
16744 ($(objpfx)pt_chown): Remove command override.
16745 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16746 remove command overrides.
16747
fcabc0f8
UD
167482011-05-13 Ulrich Drepper <drepper@gmail.com>
16749
20030ae6
UD
16750 * libio/tst_putwc.c: Fix error messages.
16751
fcabc0f8
UD
16752 [BZ #12724]
16753 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16754 currently writing and seek to current position when not.
16755 * libio/Makefile (tests): Add bug-fclose1.
16756 * libio/bug-fclose1.c: New file.
16757
320a5dc0
PB
167582011-05-12 Ulrich Drepper <drepper@gmail.com>
16759
16760 [BZ #12511]
16761 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16762 don't set DF_1_NODELETE here.
16763 (do_lookup_x): When entering new entry test for copy relocation
16764 and if necessary set DF_1_NODELETE flag.
16765 * elf/tst-unique4.cc: New file.
16766 * elf/tst-unique4.h: New file.
16767 * elf/tst-unique4lib.cc: New file.
16768 * elf/Makefile: Add rules to build and run tst-unique4.
16769 Patch by Piotr Bury <pbury@goahead.com>.
16770
22836f52
UD
167712011-05-11 Ulrich Drepper <drepper@gmail.com>
16772
f574184a
UD
16773 [BZ #12052]
16774 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16775
e1fb097f
UD
16776 [BZ #12625]
16777 * misc/mntent_r.c (addmntent): Flush the stream after the output
16778
22836f52
UD
16779 [BZ #12393]
16780 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16781 (is_trusted_path_normalize): Skip initial colon. Append slash
16782 to empty buffer. Duplicate is_trusted_path code but allow
16783 constructed patch to be prefix.
16784 (is_dst): Allow $ORIGIN followed by /.
16785 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16786 Correct testing of result of is_trusted_path_normalize
16787 (decompose_rpath): Fix warning.
16788
7b3b0b2a
UD
167892011-05-10 Ulrich Drepper <drepper@gmail.com>
16790
16791 [BZ #11257]
16792 * grp/initgroups.c (internal_getgrouplist): When we found the service
16793 list through the initgroups entry in nsswitch.conf do not always
16794 continue on a successful lookup. Don't always use the
eac80ce2 16795 __nss_group_database value if it is set.
7b3b0b2a
UD
16796 * nss/nsswitch.conf (initgroups): Change action for successful db
16797 lookup to continue for compatibility.
16798
2a81eaa5
UD
167992011-05-09 Ulrich Drepper <drepper@gmail.com>
16800
be97a69e
UD
16801 [BZ #11532]
16802 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16803 and CP774 modules.
16804 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16805 and CP774 modules.
16806 * iconvdata/tst-tables.sh: Likewise.
16807 * iconvdata/cp770.c: New file.
16808 * iconvdata/cp771.c: New file.
16809 * iconvdata/cp772.c: New file.
16810 * iconvdata/cp773.c: New file.
16811 * iconvdata/cp774.c: New file.
16812 * iconvdata/testdata/CP770: New file.
16813 * iconvdata/testdata/CP770..UTF8: New file.
16814 * iconvdata/testdata/CP771: New file.
16815 * iconvdata/testdata/CP771..UTF8: New file.
16816 * iconvdata/testdata/CP772: New file.
16817 * iconvdata/testdata/CP772..UTF8: New file.
16818 * iconvdata/testdata/CP773: New file.
16819 * iconvdata/testdata/CP773..UTF8: New file.
16820 * iconvdata/testdata/CP774: New file.
16821 * iconvdata/testdata/CP774..UTF8: New file.
16822
16823 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16824 END CHARMAP line.
16825 * iconvdata/gen-8bit-gap.sh: Likewise.
16826 * iconvdata/gen-8bit.sh: Likewise.
16827
c1e9e399
UD
16828 * locale/iso-639.def: Add ary entry.
16829
24c55fb3 16830 [BZ #11258]
96b4b1b0
UD
16831 * locale/C-translit.h.in: Add U20A1 transliteration.
16832
bdc2f971
KB
16833 [BZ #12178]
16834 * locale/iso-639.def: Add wae entry.
16835 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16836
2952b117
UD
16837 [BZ #12545]
16838 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16839 for n.
16840
2a81eaa5
UD
16841 [BZ #12711]
16842 * locale/C-translit.h.in: Add entry for U20B9.
16843 Patch by pravin.d.s@gmail.com.
16844
28377d1b
UD
168452011-05-08 Ulrich Drepper <drepper@gmail.com>
16846
7fb90fb8
UD
16847 [BZ #12713]
16848 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16849 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16850 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16851 in rtld. Use *stat64.
7fb90fb8 16852 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16853 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16854 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16855 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16856 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16857 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16858 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16859 __fstatat64 macros.
7fb90fb8
UD
16860 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16861 * dirent/rewinddir.c: Add libc_hidden_def.
16862 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16863 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16864
28377d1b
UD
16865 * include/dirent.h (__alloc_dir): Add flags parameter.
16866 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16867 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16868 __alloc_dir.
16869 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16870 from fdopendir if O_CLOEXEC is already set.
16871
66bdbaa4
AM
168722011-03-15 Alan Modra <amodra@gmail.com>
16873
16874 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16875 l_tls_firstbyte_offset non-zero. Save padding offset in
16876 l_tls_firstbyte_offset for later use.
16877 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16878 freeing static tls block.
16879
95721191
JN
168802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16881
16882 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16883 where #ifdef was intended. The intent is to prevent ARG_MAX from
16884 being defined by the kernel headers.
16885
f87dfb1f
UD
168862011-05-07 Ulrich Drepper <drepper@gmail.com>
16887
16888 [BZ #12734]
16889 * resolv/resolv.h: Define RES_NOTLDQUERY.
16890 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16891 no-tld-query and set RES_NOTLDQUERY.
16892 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16893 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16894 modern BIND to search name as TLD unless forbidden.
16895
47c3cd7a
UD
168962011-05-07 Petr Baudis <pasky@suse.cz>
16897 Ulrich Drepper <drepper@gmail.com>
16898
16899 [BZ #12393]
16900 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16901 (is_trusted_path): ...to here.
c1e9ea35 16902 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16903 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16904 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16905
8a35c912
PP
169062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16907
16908 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16909 __BEGIN/__END_DECLS.
16910
acd41f47
UD
169112011-05-06 Ulrich Drepper <drepper@gmail.com>
16912
16913 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16914 NSS_STATUS_NOTFOUND if no record was found.
16915
597df647
AS
169162011-05-05 Andreas Schwab <schwab@redhat.com>
16917
16918 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16919 (headers-not-in-tirpc): Remove rpc/netdb.h
16920 * resolv/netdb.h: Revert last change.
16921
b9af1301
PP
169222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16923
16924 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16925 circular dependency between libgcc.a and libc.a.
16926
4e34d5f5
AS
169272011-05-05 Andreas Schwab <schwab@redhat.com>
16928
16929 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16930 * nis/Makefile: Don't install rpcsvc/*.
16931 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16932 instead of <rpc/types.h>.
16933 (MAXHOSTNAMELEN): Define.
16934
00ee369c
AS
169352011-05-03 Andreas Schwab <schwab@redhat.com>
16936
16937 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16938
0b592a30
MB
169392011-04-28 Maciej Babinski <mbabinski@google.com>
16940
16941 [BZ #12714]
16942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16943 gethostbyname4_r when IPv6 results are possible.
16944
6e04cbbe
UD
169452011-05-02 Ulrich Drepper <drepper@gmail.com>
16946
16947 [BZ #12723]
16948 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16949 _PC_PIPE_BUF handling.
16950
e4ecafe0
BH
169512011-04-30 Bruno Haible <bruno@clisp.org>
16952
16953 [BZ #12717]
16954 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16955 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16956 to 'int'.
16957 * inet/getnameinfo.c (getnameinfo): Likewise.
16958
125ee683
UD
169592011-04-29 Ulrich Drepper <drepper@gmail.com>
16960
16961 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16962 to groups setting in database lookup.
16963 * nss/nsswitch.conf: Add initgroups entry.
16964
b722481a
EB
169652011-04-22 Ulrich Drepper <drepper@gmail.com>
16966
16967 [BZ #12685]
16968 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16969 mode string.
16970 Patch by Eric Blake <eblake@redhat.com>.
16971
4df46dbd
L
169722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 * sunrpc/Makefile (need-export-routines): Add svc_run.
16975 (routines): Remove svc_run.
16976 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16977 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16978 * sunrpc/svc_run.c (svc_run): Likewise.
16979 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16980
e84142d2
UD
169812011-04-21 Ulrich Drepper <drepper@gmail.com>
16982
16983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16984 problem in reallocation in last patch.
16985
877175d8
UD
169862011-04-20 Ulrich Drepper <drepper@gmail.com>
16987
16988 * sunrpc/Makefile: Move inclusion of Rules.
16989
ab8eed78
UD
169902011-04-19 Ulrich Drepper <drepper@gmail.com>
16991
16992 * nss/nss_files/files-initgroups.c: New file.
16993 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16994 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16995 _nss_files_initgroups_dyn.
16996
e3d8f584
RS
169972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16998
16999 * elf/elf.h (R_ARM_IRELATIVE): Define.
17000
af190f45
UD
170012011-04-19 Ulrich Drepper <drepper@gmail.com>
17002
17003 * po/ru.po: Update from translation team.
17004
53cf59ef
UD
170052011-04-17 Ulrich Drepper <drepper@gmail.com>
17006
17007 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17008 dependencies.
17009
4c559bcd
MF
170102011-02-06 Mike Frysinger <vapier@gentoo.org>
17011
17012 [BZ #12653]
17013 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17014 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17018
4420675c
AS
170192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17020
17021 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17022 differing bytes.
17023 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17024 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17025 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17026
75ea32ab
UD
170272011-04-17 Ulrich Drepper <drepper@gmail.com>
17028
17029 [BZ #12420]
17030 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17031 storing it.
17032 * stdlib/bug-getcontext.c: New file.
17033 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17034
27390476
AK
170352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17036
17037 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17038 instructions into .machine "z9-109".
17039 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17040 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17041
10442705
AK
170422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17043
17044 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17045 between environment variables and auxiliary vector.
17046
7b57bfe5
UD
170472011-04-16 Ulrich Drepper <drepper@gmail.com>
17048
17049 * Makefile: Add rules to build linkobj/libc.so.
17050 * include/libc-symbols.h: Define libc_hidden_nolink.
17051 * include/rpc/auth.h: Mark functions which are to be hidden.
17052 * include/rpc/auth_des.h: Likewise.
17053 * include/rpc/auth_unix.h: Likewise.
17054 * include/rpc/clnt.h: Likewise.
17055 * include/rpc/des_crypt.h: Likewise.
17056 * include/rpc/key_prot.h: Likewise.
17057 * include/rpc/pmap_clnt.h: Likewise.
17058 * include/rpc/pmap_prot.h: Likewise.
17059 * include/rpc/pmap_rmt.h: Likewise.
17060 * include/rpc/rpc_msg.h: Likewise.
17061 * include/rpc/svc.h: Likewise.
17062 * include/rpc/svc_auth.h: Likewise.
17063 * include/rpc/xdr.h: Likewise.
17064 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17065 * nss/Makefile: Likewise.
17066 * sunrpc/Makefile: Don't install headers. Build library with normal
17067 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17068 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17069 for the compat linking library. Remove use of INTDEF/INTUSE.
17070 * sunrpc/auth_none.c: Likewise.
17071 * sunrpc/auth_unix.c: Likewise.
17072 * sunrpc/authdes_prot.c: Likewise.
17073 * sunrpc/authuxprot.c: Likewise.
17074 * sunrpc/clnt_gen.c: Likewise.
17075 * sunrpc/clnt_perr.c: Likewise.
17076 * sunrpc/clnt_raw.c: Likewise.
17077 * sunrpc/clnt_simp.c: Likewise.
17078 * sunrpc/clnt_tcp.c: Likewise.
17079 * sunrpc/clnt_udp.c: Likewise.
17080 * sunrpc/clnt_unix.c: Likewise.
17081 * sunrpc/des_crypt.c: Likewise.
17082 * sunrpc/des_soft.c: Likewise.
17083 * sunrpc/get_myaddr.c: Likewise.
17084 * sunrpc/key_call.c: Likewise.
17085 * sunrpc/key_prot.c: Likewise.
17086 * sunrpc/netname.c: Likewise.
17087 * sunrpc/pm_getmaps.c: Likewise.
17088 * sunrpc/pm_getport.c: Likewise.
17089 * sunrpc/pmap_clnt.c: Likewise.
17090 * sunrpc/pmap_prot.c: Likewise.
17091 * sunrpc/pmap_prot2.c: Likewise.
17092 * sunrpc/pmap_rmt.c: Likewise.
17093 * sunrpc/publickey.c: Likewise.
17094 * sunrpc/rpc_cmsg.c: Likewise.
17095 * sunrpc/rpc_common.c: Likewise.
17096 * sunrpc/rpc_dtable.c: Likewise.
17097 * sunrpc/rpc_prot.c: Likewise.
17098 * sunrpc/rpc_thread.c: Likewise.
17099 * sunrpc/rtime.c: Likewise.
17100 * sunrpc/svc.c: Likewise.
17101 * sunrpc/svc_auth.c: Likewise.
17102 * sunrpc/svc_authux.c: Likewise.
17103 * sunrpc/svc_raw.c: Likewise.
17104 * sunrpc/svc_run.c: Likewise.
17105 * sunrpc/svc_simple.c: Likewise.
17106 * sunrpc/svc_tcp.c: Likewise.
17107 * sunrpc/svc_udp.c: Likewise.
17108 * sunrpc/svc_unix.c: Likewise.
17109 * sunrpc/svcauth_des.c: Likewise.
17110 * sunrpc/xcrypt.c: Likewise.
17111 * sunrpc/xdr.c: Likewise.
17112 * sunrpc/xdr_array.c: Likewise.
17113 * sunrpc/xdr_float.c: Likewise.
17114 * sunrpc/xdr_intXX_t.c: Likewise.
17115 * sunrpc/xdr_mem.c: Likewise.
17116 * sunrpc/xdr_rec.c: Likewise.
17117 * sunrpc/xdr_ref.c: Likewise.
17118 * sunrpc/xdr_sizeof.c: Likewise.
17119 * sunrpc/xdr_stdio.c: Likewise.
17120
e6c61494
UD
171212011-04-10 Ulrich Drepper <drepper@gmail.com>
17122
17123 [BZ #12650]
17124 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17125 * sysdeps/ia64/dl-tls.h: Likewise.
17126 * sysdeps/powerpc/dl-tls.h: Likewise.
17127 * sysdeps/s390/dl-tls.h: Likewise.
17128 * sysdeps/sh/dl-tls.h: Likewise.
17129 * sysdeps/sparc/dl-tls.h: Likewise.
17130 * sysdeps/x86_64/dl-tls.h: Likewise.
17131 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17132
34fe483e
AS
171332011-03-14 Andreas Schwab <schwab@redhat.com>
17134
17135 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17136 rpath element also skip the following colon.
17137 (expand_dynamic_string_token): Add is_path parameter and pass
17138 down to DL_DST_REQUIRED and _dl_dst_substitute.
17139 (decompose_rpath): Call expand_dynamic_string_token with
17140 non-zero is_path. Ignore empty rpaths.
17141 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17142 with zero is_path.
17143
f12a32e6
AS
171442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17145
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17147 Make cancelable.
17148
38a7d692
UD
171492011-04-09 Ulrich Drepper <drepper@gmail.com>
17150
17151 [BZ #12655]
17152 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17153 Patch by Filipe David Manana <fdmanana@apache.org>.
17154
e451d22b
AS
171552011-04-07 Andreas Schwab <schwab@redhat.com>
17156
17157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17158 Maintain aligned stack.
17159 (CHECK_RSP): Remove unused macro.
17160
dedc7c7b
UD
171612011-04-03 Ulrich Drepper <drepper@gmail.com>
17162
17163 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17165
94521213
UD
171662011-04-02 Ulrich Drepper <drepper@gmail.com>
17167
17168 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17169
8cb700c0 17170 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17171
0354e355
L
171722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17173
17174 [BZ #12518]
17175 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17176 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17177 * sysdeps/x86_64/memmove.c: New file.
17178 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17179 (memcpy): Renamed to ...
17180 (__new_memcpy): This.
17181 (memcpy): Provide GLIBC_2_14 memcpy.
17182 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17183 (memcpy): Provide GLIBC_2_2_5 memcpy.
17184
8593482f
UD
171852011-04-01 Ulrich Drepper <drepper@gmail.com>
17186
17187 [BZ #12631]
17188 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17189
81a5726b
AS
171902011-03-30 Andreas Schwab <schwab@redhat.com>
17191
17192 * misc/syncfs.c: New file.
17193 * misc/Makefile (routines): Add syncfs.
17194 * posix/unistd.h: Declare syncfs.
17195 * sysdeps/unix/syscalls.list: Add syncfs.
17196
00e5419f
AS
171972011-04-01 Andreas Schwab <schwab@redhat.com>
17198
17199 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17200 open_by_handle_at.
17201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17202 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17204 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17206 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17208
748876bf
UD
172092011-04-01 Ulrich Drepper <drepper@gmail.com>
17210
658e451d
UD
17211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17213 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17218
748876bf
UD
17219 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17220 sync_file_range.c with -fexceptions.
17221 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17222 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17223 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17224 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17225 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17226 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17228 sync_file_range as cancellation point
17229 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17230 now a wrapper around __call_sync_file_range with cancellation handling.
17231 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17232 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17233 function name to __call_sync_file_range.
17234 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17235 Add call_sync_file_range.
748876bf 17236
6e63d5e1
AS
172372011-04-01 Andreas Schwab <schwab@redhat.com>
17238
17239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17240 bits/timex.h.
6e63d5e1 17241
46998f74
UD
172422011-04-01 Ulrich Drepper <drepper@gmail.com>
17243
4c1423ed
UD
17244 * iconv/iconv.h: Fix typo in comment.
17245 * io/fcntl.h: Likewise.
17246 * libio/stdio.h: Likewise.
17247 * posix/spawn.h: Likewise.
17248 * posix/unistd.h: Likewise.
17249 * stdlib/stdlib.h: Likewise.
17250 * time/time.h: Likewise.
17251 * wcsmbs/wchar.h: Likewise.
17252
158648c0
UD
17253 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17254 open_by_handle): Add.
17255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17256 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17257 Augment a few comments.
17258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17262 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17263 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17264 open_by_handle.
17265
46998f74
UD
17266 * io/fcntl.h (AT_EMPTY_PATH): Define.
17267
83fe108b
UD
172682011-03-30 Ulrich Drepper <drepper@gmail.com>
17269
17270 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17271 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17272 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17273 to...
17274 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17275 * Versions.def: Add GLIBC_2.14.
17276 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17277 Export.
83fe108b 17278
bb242059
UD
172792011-03-22 Ulrich Drepper <drepper@gmail.com>
17280
17281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17282 round counter.
17283 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17284
c97a1282
L
172852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17286
17287 [BZ #12597]
17288 * string/test-strncmp.c (do_page_test): New function.
17289 (check2): Likewise.
17290 (test_main): Call check2.
17291 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17292
2a115601
UD
172932011-03-20 Ulrich Drepper <drepper@gmail.com>
17294
17295 [BZ #12587]
17296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17297 Handle cache information in CPU leaf 4.
17298 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17299
8126d904
UD
173002011-03-18 Ulrich Drepper <drepper@gmail.com>
17301
042c49c6 17302 [BZ #12583]
8126d904
UD
17303 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17304 character representation.
17305 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17306
ccfe366e
RA
173072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17308
17309 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17310 END(__isnan) to END(__isnanf) to match function entry point/label
17311 EALIGN(__isnanf,...).
17312
c6e13027
JJ
173132011-03-10 Jakub Jelinek <jakub@redhat.com>
17314
17315 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17316
33f85a3f
UD
173172011-03-10 Ulrich Drepper <drepper@gmail.com>
17318
028478fa
UD
17319 [BZ #12510]
17320 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17321 copy from the symbol referenced in the relocation to initialize the
17322 used variable.
17323 Patch by Piotr Bury <pbury@goahead.com>.
17324 * elf/Makefile: Add rules to build and tst-unique3.
17325 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17326 * elf/tst-unique3.cc: New file.
17327 * elf/tst-unique3.h: New file.
17328 * elf/tst-unique3lib.cc: New file.
17329 * elf/tst-unique3lib2.cc: New file.
17330
33f85a3f
UD
17331 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17332
03592fc7
MF
173332011-03-10 Mike Frysinger <vapier@gentoo.org>
17334
17335 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17336 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17337 to _start.
03592fc7 17338
6a5ee102
UD
173392011-03-06 Ulrich Drepper <drepper@gmail.com>
17340
17341 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17342 to-be-loaded object along a path to loader is ld.so.
17343
7e4ba49c
HJ
173442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17345 Ulrich Drepper <drepper@gmail.com>
17346
17347 * sysdeps/x86_64/memset.S: After aligning destination, code
17348 branches to different locations depending on the value of
17349 misalignment, when multiarch is enabled. Fix this.
17350
173512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17352
17353 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17354 Set _x86_64_preferred_memory_instruction for AMD processsors.
17355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17356 Set bit_Prefer_SSE_for_memop for AMD processors.
17357
13a804de
UD
173582011-03-04 Ulrich Drepper <drepper@gmail.com>
17359
17360 * libio/fmemopen.c (fmemopen): Optimize a bit.
17361
9d25c392
AS
173622011-03-03 Andreas Schwab <schwab@redhat.com>
17363
17364 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17365
a5543c6a
RM
173662011-03-03 Roland McGrath <roland@redhat.com>
17367
17368 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17369
012d35f7
DM
173702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17371
7e4ba49c 17372 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17373 __bzero_ultra1 instead of __memset_ultra1.
17374
4bff6e01
AS
173752011-02-23 Andreas Schwab <schwab@redhat.com>
17376 Ulrich Drepper <drepper@gmail.com>
17377
17378 [BZ #12509]
17379 * include/link.h (struct link_map): Add l_orig_initfini.
17380 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17381 returning unsuccessfully.
17382 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17383 close of a file loaded at startup, restore the original l_initfini
17384 list.
17385 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17386 list, store the pointer.
17387 * elf/Makefile ($(objpfx)noload-mem): New rule.
17388 (noload-ENV): Define.
17389 (tests): Add $(objpfx)noload-mem.
17390 * elf/noload.c: Include <memcheck.h>.
17391 (main): Call mtrace. Close all opened handles.
17392
f2092faf
AS
173932011-02-17 Andreas Schwab <schwab@redhat.com>
17394
17395 [BZ #12454]
17396 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17397 dependencies are missing.
17398
6c8a2e88
ST
173992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17400
f2092faf 17401 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17402 Hurd needs munmap.
17403 * sysdeps/mach/hurd/ifreq.h: New file.
17404
84a42118
PB
174052011-01-27 Petr Baudis <pasky@suse.cz>
17406 Ulrich Drepper <drepper@gmail.com>
17407
071f805e 17408 [BZ 12445]#
84a42118
PB
17409 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17410 to extend_alloca().
17411 * stdio-common/bug23.c: New file.
17412 * stdio-common/Makefile (tests): Add bug23.
17413
e23fe25b
AS
174142010-09-28 Andreas Schwab <schwab@redhat.com>
17415 Ulrich Drepper <drepper@gmail.com>
17416
17417 [BZ #12489]
17418 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17419 before performing relro protection. At old place add assertion
17420 to make sure nothing changed.
17421
d3f02e10
NS
174222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17423 Glauber de Oliveira Costa <glommer@gmail.com>
17424
17425 * elf/elf.h: Add new ARM TLS relocs.
17426
d55fd7a5
RA
174272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17428
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17430 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17431 cast from r3.
17432 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17433 'tests' variable.
17434 * sysdeps/wordsize-64/tst-writev.c: New file.
17435
2206397e
RA
174362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17437
17438 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17439 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17440 insns in _dl_start to prevent a TOC reference before relocs are
17441 resolved.
17442
e9433893
UD
174432011-02-15 Ulrich Drepper <drepper@gmail.com>
17444
17445 [BZ #12469]
17446 * Makeconfig: Remove RANLIB definition.
17447 * Makerules: Don't use RANLIB.
17448 * aclocal.m4: Remove ranlib test.
17449 * configure.in: No need to check for ranlib.
17450 * elf/rtld-Rules: Don't use RANLIB.
17451
f75286c6
ST
174522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17453
8e31c82d
ST
17454 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17455 protection macro.
17456 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17457 inclusion protection macro.
17458
f75286c6
ST
17459 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17460 SIGRTMIN and SIGRTMAX and print information in that case only when
17461 SIGRTMIN is defined.
17462
c1d0e639
JJ
174632011-02-11 Jakub Jelinek <jakub@redhat.com>
17464
17465 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17466 arginfo fn returning -1.
17467
17468 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17469 and thousands string is zero terminated.
17470
edf9294e
AS
174712011-02-03 Andreas Schwab <schwab@redhat.com>
17472
17473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17474 sysdeps/unix/sysv/linux/bits/socket.h.
17475
2b7e92df
ST
174762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17477
edf9294e
AS
17478 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17479 (__CPU_COUNT): Remove old macros.
17480 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17481 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17482 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17483 (__sched_cpualloc, __sched_cpufree): Add declarations.
17484
a4c7ea7b
UD
174852011-02-05 Ulrich Drepper <drepper@gmail.com>
17486
17487 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17488 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17489 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17490 (readdhstai): Return value of addhstaiX call.
17491 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17492 (addgrbyX): Return value returned by cache_addgr.
17493 (readdgrbyname): Return value returned by addgrbyX.
17494 (readdgrbygid): Likewise.
17495 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17496 (addpwbyX): Return value returned by cache_addpw.
17497 (readdpwbyname): Return value returned by addhstbyX.
17498 (readdpwbyuid): Likewise.
17499 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17500 (addservbyX): Return value returned by cache_addserv.
17501 (readdservbyname): Return value returned by addservbyX:
17502 (readdservbyport): Likewise.
17503 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17504 (addhstbyX): Return value returned by cache_addhst.
17505 (readdhstbyname): Return value returned by addhstbyX.
17506 (readdhstbyaddr): Likewise.
17507 (readdhstbynamev6): Likewise.
17508 (readdhstbyaddrv6): Likewise.
17509 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17510 (readdinitgroups): Return value returned by addinitgroupsX.
17511 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17512 (prune_cache): Keep track of timeout value of re-added entries.
17513 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17514 * nscd/nscd.h: Adjust prototypes of readd* functions.
17515
a0bf67cc
RM
175162011-02-04 Roland McGrath <roland@redhat.com>
17517
17518 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17519 (nis_stats): Likewise.
17520 * nis/nis_modify.c (nis_modify): Likewise.
17521 * nis/nis_remove.c (nis_remove): Likewise.
17522 * nis/nis_add.c (nis_add): Likewise.
17523
17524 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17525
17526 * posix/fnmatch_loop.c: Add some consts.
17527
17528 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17529
435b95eb
L
175302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17531
17532 [BZ #12460]
17533 * config.make.in (config-cflags-novzeroupper): Define.
17534 * configure.in: Substitute libc_cv_cc_novzeroupper.
17535 * elf/Makefile (AVX-CFLAGS): Define.
17536 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17537 (CFLAGS-tst-auditmod4a.c): Likewise.
17538 (CFLAGS-tst-auditmod4b.c): Likewise.
17539 (CFLAGS-tst-auditmod6b.c): Likewise.
17540 (CFLAGS-tst-auditmod6c.c): Likewise.
17541 (CFLAGS-tst-auditmod7b.c): Likewise.
17542 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17543
8517b15e
UD
175442011-02-02 Ulrich Drepper <drepper@gmail.com>
17545
17546 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17547 function to the callback.
17548 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17549
10a656fe
AS
175502011-02-02 Andreas Schwab <schwab@redhat.com>
17551
17552 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17553 of errno.
17554
968dad0a
UD
175552011-01-19 Ulrich Drepper <drepper@gmail.com>
17556
9f94d2ea 17557 [BZ #11724]
968dad0a
UD
17558 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17559 of constructors.
17560 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17561 of destructors.
17562 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17563
17564 [BZ #11724]
17565 * elf/Makefile: Add rules to build and run new test.
17566 * elf/tst-initorder.c: New file.
17567 * elf/tst-initorder.exp: New file.
17568 * elf/tst-initordera1.c: New file.
17569 * elf/tst-initordera2.c: New file.
17570 * elf/tst-initordera3.c: New file.
17571 * elf/tst-initordera4.c: New file.
17572 * elf/tst-initorderb1.c: New file.
17573 * elf/tst-initorderb2.c: New file.
17574 * elf/tst-order-a1.c: New file.
17575 * elf/tst-order-a2.c: New file.
17576 * elf/tst-order-a3.c: New file.
17577 * elf/tst-order-a4.c: New file.
17578 * elf/tst-order-b1.c: New file.
17579 * elf/tst-order-b2.c: New file.
17580 * elf/tst-order-main.c: New file.
17581 New test case by George Gensure <werkt0@gmail.com>.
17582
86e92359
UD
175832010-10-01 Andreas Schwab <schwab@redhat.com>
17584
17585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17586 decoding ACE if AI_CANONIDN.
17587
5d5732b0
UD
175882011-01-18 Ulrich Drepper <drepper@gmail.com>
17589
17590 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17591
a77e8cbc
UD
175922011-01-17 Ulrich Drepper <drepper@gmail.com>
17593
6392473f
UD
17594 * version.h (RELEASE): Bump for 2.13 release.
17595 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17596
620a0529
UD
17597 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17598
18ba70a5
UD
17599 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17600 MADV_NOHUGEPAGE.
32465c3e
UD
17601 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17602 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17604 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17607
c0dafcf1
UD
17608 * posix/getconf.c: Update copyright year.
17609 * catgets/gencat.c: Likewise.
17610 * csu/version.c: Likewise.
17611 * debug/catchsegv.sh: Likewise.
17612 * debug/xtrace.sh: Likewise.
17613 * elf/ldconfig.c: Likewise.
17614 * elf/ldd.bash.in: Likewise.
17615 * elf/sprof.c (print_version): Likewise.
17616 * iconv/iconv_prog.c: Likewise.
17617 * iconv/iconvconfig.c: Likewise.
17618 * locale/programs/locale.c: Likewise.
17619 * locale/programs/localedef.c: Likewise.
17620 * malloc/memusage.sh: Likewise.
17621 * malloc/mtrace.pl: Likewise.
17622 * nscd/nscd.c (print_version): Likewise.
17623 * nss/getent.c: Likewise.
17624
a77e8cbc
UD
17625 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17626 PF_CAIF, and PF_ALG.
17627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17628
77e8bddf
AS
176292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17630
1f20b93a
AS
17631 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17632 (modules-names): Use them.
17633 (ifunc-test-modules, ifunc-pie-tests): Define.
17634 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17635 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17636 (test-extras): Likewise.
17637 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17638 $(compile-command.c).
17639 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17640 (all-built-dso): Define.
17641 (check-textrel.out, check-execstack.out): Depend on it.
17642
77e8bddf
AS
17643 * configure.in: Don't override --enable-multi-arch.
17644
bc425b33
UD
176452011-01-15 Ulrich Drepper <drepper@gmail.com>
17646
17647 [BZ #6812]
17648 * nscd/hstcache.c (tryagain): Define.
17649 (cache_addhst): Return tryagain not notfound for temporary errors.
17650 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17651 failed.
17652
794c3ad3
UD
176532011-01-14 Ulrich Drepper <drepper@gmail.com>
17654
70181fdd
UD
17655 [BZ #10563]
17656 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17657 to make the syscall.
17658 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17659
794c3ad3
UD
17660 [BZ #12378]
17661 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17662 and fall back to matching as normal character if the string ends before
17663 the matching ']' is found. This is what POSIX requires.
17664 * posix/testfnm.c: Adjust test result.
17665 * posix/globtest.sh: Adjust test result. Add new test.
17666 * posix/tst-fnmatch.input: Likewise.
17667 * posix/tst-fnmatch2.c: Add new test.
17668
68dc9497
AS
176692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17670
17671 * elf/Makefile (check-execstack): Revert last change. Depend on
17672 check-execstack.h.
17673 (check-execstack.h): New target.
17674 (generated): Add check-execstack.h.
17675 * elf/check-execstack.c: Include "check-execstack.h".
17676 (main): Revert last change.
17677 (handle_file): Return zero if GNU_STACK is absent and
17678 DEFAULT_STACK_PERMS doesn't include PF_X.
17679
451f001b
UD
176802011-01-13 Ulrich Drepper <drepper@gmail.com>
17681
cfa28e56
UD
17682 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17683 in child fails because the descriptor is already closed.
8cf8ce17
UD
17684 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17685 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17686 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17687
1086d70d
UD
17688 [BZ #12397]
17689 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17690 syscall.
17691
451f001b
UD
17692 [BZ #10484]
17693 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17694 temporary buffer used to handle multi lookups locally.
a85b5cb4 17695 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17696
08769175
UD
176972011-01-12 Ulrich Drepper <drepper@gmail.com>
17698
17699 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17700 loader is ld.so.
17701
5e49c52e
UD
177022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17703
17704 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17705 alignment for SSE2.
17706
60522a5f
UD
177072011-01-12 Ulrich Drepper <drepper@gmail.com>
17708
17709 [BZ #12394]
17710 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17711 characters. When rounding increased number of integer digits recompute
17712 number of groups.
17713 * stdio-common/tst-grouping.c: New file.
17714 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17715
f257bbd7
UD
177162011-01-09 Ulrich Drepper <drepper@gmail.com>
17717
17718 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17719 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17720
17721 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17722 void.
17723 * bits/select.h: Likewise.
17724
fa9c15cb
UD
177252011-01-08 Ulrich Drepper <drepper@gmail.com>
17726
17727 * po/ja.po: Update from translation team.
17728
16c2895f
DM
177292011-01-04 David S. Miller <davem@sunset.davemloft.net>
17730
17731 [BZ #11155]
17732 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17733 implementation just like for lxstat, fxstatat, et al.
17734
2543fef2
JM
177352010-12-27 Jim Meyering <meyering@redhat.com>
17736
17737 [BZ #12348]
17738 * posix/regexec.c (build_trtable): Return failure indication upon
17739 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17740
98727dbe
UD
177412010-12-25 Ulrich Drepper <drepper@gmail.com>
17742
5bd6dc5c
UD
17743 [BZ #12201]
17744 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17745 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17746 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17747 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17748
97983464
UD
17749 [BZ #12207]
17750 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17751
98727dbe
UD
17752 [BZ #12204]
17753 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17754 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17755
4a531bb0
L
177562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17757
17758 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17759 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17760 script has SORT_BY_INIT_PRIORITY.
17761 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17762 NO_CTORS_DTORS_SECTIONS is defined.
17763 * elf/soinit.c: Likewise.
17764 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17765 NO_CTORS_DTORS_SECTIONS is defined.
17766 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17767 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17768 * sysdeps/sh/init-first.c: Likewise.
17769 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17770
07eb4b71
UD
177712010-12-24 Ulrich Drepper <drepper@gmail.com>
17772
17773 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17774 always use the slow path.
17775
30950a5f
RA
177762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17777
17778 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17779 similar rule which adds the sysdep directories to the header search in
17780 order to pick up the correct platform stackinfo.h.
17781 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17782 perform test if it is, otherwise return successfully without testing.
17783 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17784 DEFAULT_STACK_PERMS define in stackinfo.h.
17785 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17786 defined in stackinfo.h.
17787 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17788 DEFAULT_STACK_PERMS defined in stackinfo.h.
17789 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17790 * sysdeps/ia64/stackinfo.h: Likewise.
17791 * sysdeps/s390/stackinfo.h: Likewise.
17792 * sysdeps/sh/stackinfo.h: Likewise.
17793 * sysdeps/sparc/stackinfo.h: Likewise.
17794 * sysdeps/x86_64/stackinfo.h: Likewise.
17795 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17796 PF_X for powerpc64. Retain PF_X for powerpc32.
17797
db753e2c
UD
177982010-12-19 Ulrich Drepper <drepper@gmail.com>
17799
14b697f7
UD
17800 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17801 accurately.
db753e2c
UD
17802 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17803 GETDENTS_64BIT_ALIGNED.
17804
28300719
UD
178052010-12-14 Ulrich Drepper <dreper@gmail.com>
17806
14b697f7 17807 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17808
4f197237
AS
178092010-12-10 Andreas Schwab <schwab@redhat.com>
17810
dbb0472f
AS
17811 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17812 _GNU_SOURCE.
17813
4f197237
AS
17814 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17815 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17816 Remove __restrict.
17817 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17818 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17819
fb88ac72
UD
178202010-12-09 Ulrich Drepper <drepper@gmail.com>
17821
17822 [BZ #11655]
17823 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17824 are initialized.
17825
42acbb92
JJ
178262010-12-09 Jakub Jelinek <jakub@redhat.com>
17827
17828 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17829
c038d98d
UD
178302010-12-03 Ulrich Drepper <drepper@gmail.com>
17831
17832 * po/it.po: Update from translation team.
17833
3a4a2499
L
178342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17835
17836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17837 unused codes.
17838
1e24cf6e
UD
178392010-11-30 Ulrich Drepper <drepper@gmail.com>
17840
17841 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17842
a7690819
AS
178432010-11-24 Andreas Schwab <schwab@redhat.com>
17844
17845 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17846 specially.
17847 (gaih_getanswer_slice): Likewise.
17848
3bf8d1b1
JJ
178492010-10-20 Jakub Jelinek <jakub@redhat.com>
17850
17851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17852
6db52fbb
PB
178532010-05-31 Petr Baudis <pasky@suse.cz>
17854
17855 [BZ #11149]
17856 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17857 silently even in the chroot mode.
17858
eaca7569
UD
178592010-11-22 Ulrich Drepper <drepper@gmail.com>
17860
17861 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17862 last patch a bit. Pretty printing
17863
3056dcdb
UD
178642010-05-31 Petr Baudis <pasky@suse.cz>
17865
17866 [BZ #10085]
17867 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17868 initialization of skip_initgroups_dyn.
17869
cf7c9078
UD
178702010-11-19 Ulrich Drepper <drepper@gmail.com>
17871
17872 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17874
a1fb5e3e
UD
178752010-11-16 Ulrich Drepper <drepper@gmail.com>
17876
17877 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17878
3540d66b
AS
178792010-11-11 Andreas Schwab <schwab@redhat.com>
17880
17881 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17882 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17883 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17884 ($(objpfx)tst-fnmatch-mem): New rule.
17885 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17886 * posix/tst-fnmatch.c (main): Call mtrace.
17887
13b69574
L
178882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17889
17890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17891 Support Intel processor model 6 and model 0x2c.
17892
da93d214
LM
178932010-11-10 Luis Machado <luisgpm@br.ibm.com>
17894
17895 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17896 signed comparison.
17897
8ca52c6e
L
178982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17899
17900 [BZ #12205]
17901 * string/test-strncasecmp.c (check_result): New function.
17902 (do_one_test): Use it.
17903 (check1): New function.
17904 (test_main): Use it.
17905 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17906 Support strcasecmp and strncasecmp.
17907
69da074d
UD
179082010-11-08 Ulrich Drepper <drepper@gmail.com>
17909
17910 [BZ #12194]
17911 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17912 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17913
ff02d528
L
179142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17915
17916 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17917 IFUNC support.
17918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17919 memset-x86-64.
17920 * sysdeps/x86_64/multiarch/bzero.S: New file.
17921 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17922 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17923 * sysdeps/x86_64/multiarch/memset.S: New file.
17924 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17926 Set bit_Prefer_SSE_for_memop for Intel processors.
17927 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17928 Define.
17929 (index_Prefer_SSE_for_memop): Define.
17930 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17931
344d0b54
LM
179322010-11-04 Luis Machado <luisgpm@br.ibm.com>
17933
17934 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17935 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17936
c0dde15b
UD
179372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17938
17939 [BZ #12191]
17940 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17941 (__x86_64_raw_data_cache_size_half): Likewise.
17942 (__x86_64_raw_shared_cache_size): Likewise.
17943 (__x86_64_raw_shared_cache_size_half): Likewise.
17944
17945 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17946 (__x86_64_raw_data_cache_size_half): Likewise.
17947 (__x86_64_raw_shared_cache_size): Likewise.
17948 (__x86_64_raw_shared_cache_size_half): Likewise.
17949 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17950 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17951 and __x86_64_raw_shared_cache_size_half. Round
17952 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17953 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17954 to multiple of 256 bytes.
17955
0e516e0e
MS
179562010-11-03 Ulrich Drepper <drepper@gmail.com>
17957
17958 [BZ #12167]
17959 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17960 of inacessible symlinks. Verify result of symlink before returning it.
17961 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17962 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17963
0e012e87
ER
179642010-10-28 Erich Ritz <erichritz@gmail.com>
17965
17966 * math/math.h (isinf): Fix typo in comment.
17967
de0ff7bc
UD
179682010-11-01 Ulrich Drepper <drepper@gmail.com>
17969
17970 * po/da.po: Update from translation team.
17971
fa41c84d
UD
179722010-10-26 Ulrich Drepper <drepper@gmail.com>
17973
17974 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17975 is added to the list.
17976
f0967738
AK
179772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17978 Ulrich Drepper <drepper@gmail.com>
17979
17980 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17981 the global list here. Move code to...
17982 (_dl_add_to_namespace_list): ...here. New function.
17983 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17984 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17985 * elf/dl-load.c (lose): Don't remove the element from the list.
17986 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17987 (_dl_map_object): Likewise.
17988
179892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17990
17991 [BZ #12159]
17992 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17993 into all bytes of SSE register.
17994 Patch by Richard Li <richardpku@gmail.com>.
17995
f0967738 179962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17997
17998 [BZ #12140]
17999 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18000 perturbing.
18001
d0b9e94f
MB
180022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18003
18004 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18005 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18006 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18007 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18009 submachine.
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18011
8e9f92e9
AS
180122010-10-22 Andreas Schwab <schwab@redhat.com>
18013
18014 * include/dlfcn.h (__RTLD_SECURE): Define.
18015 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18016 mode & __RTLD_SECURE instead.
18017 (open_path): Rename preloaded parameter to secure.
18018 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18019 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18020 * elf/dl-deps.c (openaux): Likewise.
18021 * elf/rtld.c (struct map_args): Remove is_preloaded.
18022 (map_doit): Don't use it.
18023 (dl_main): Likewise.
18024 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18025 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18026
bc96fbda
AS
180272010-09-09 Andreas Schwab <schwab@redhat.com>
18028
18029 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18030 (sysd-rules-targets): Remove duplicates.
18031 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18032 rtld-%.$o dependency.
18033
22cd1c9b
AS
180342010-10-18 Andreas Schwab <schwab@redhat.com>
18035
18036 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18037 _dl_map_object do it.
18038
18edac48
UD
180392010-10-19 Ulrich Drepper <drepper@gmail.com>
18040
18041 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18042 fast fma builtins, define the macros in the C99 standard.
18043 (FP_FAST_FMAF): Likewise.
18044 (FP_FAST_FMAL): Likewise.
18045 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18046
18047 * bits/mathdef.h: Update copyright year.
18048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18049
d2050124
MM
180502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18051
18052 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18053 builtins, define the macros in the C99 standard.
18054 (FP_FAST_FMAF): Likewise.
18055 (FP_FAST_FMAL): Likewise.
18056 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18057 multiply/add.
18058 (FP_FAST_FMAF): Likewise.
18059
475facd1
JJ
180602010-10-15 Jakub Jelinek <jakub@redhat.com>
18061
18062 [BZ #3268]
18063 * math/libm-test.inc (fma_test): Some new testcases.
18064 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18066 y and infinite z. Do multiplication by C already in long double.
18067 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18069 y and infinite z. Do bitwise or of inexact bit into u.d.
18070 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18071 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18072 * sysdeps/i386/fpu/s_fma.S: Removed.
18073 * sysdeps/i386/fpu/s_fmal.S: Removed.
18074
7c08a05c
JJ
180752010-10-16 Jakub Jelinek <jakub@redhat.com>
18076
18077 [BZ #3268]
18078 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18080 computation is not scheduled after fetestexcept. Fix value
18081 of minimum denormal long double.
18082
f3f7372d
JJ
180832010-10-14 Jakub Jelinek <jakub@redhat.com>
18084
18085 [BZ #3268]
18086 * math/libm-test.inc (fma_test): Add some more tests.
18087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18088 correctly.
18089
14d43591
AS
180902010-10-15 Andreas Schwab <schwab@redhat.com>
18091
18092 * scripts/data/localplt-s390-linux-gnu.data: New file.
18093 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18094
5e908464
JJ
180952010-10-13 Jakub Jelinek <jakub@redhat.com>
18096
18097 [BZ #3268]
18098 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18099 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18100 instead of dbl-64.
18101 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18102 inlines.
18103 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18105 if one of x and y is very large and the other is subnormal.
18106 * sysdeps/s390/fpu/s_fmaf.c: New file.
18107 * sysdeps/s390/fpu/s_fma.c: New file.
18108 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18109 * sysdeps/powerpc/fpu/s_fma.S: New file.
18110 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18111 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18112 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18113
181142010-10-12 Jakub Jelinek <jakub@redhat.com>
18115
18116 [BZ #3268]
18117 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18118 fma tests.
18119 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18120 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18121 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18122 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18123 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18124 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18126
b833d51f
UD
181272010-10-12 Ulrich Drepper <drepper@redhat.com>
18128
18129 [BZ #12078]
18130 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18131 * posix/bug-regex31.input: Add test case.
18132
1751705d
UD
181332010-10-11 Ulrich Drepper <drepper@gmail.com>
18134
e9b9cbf5
UD
18135 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18136 * posix/bug-regex31.input: New file.
18137
18138 [BZ #12078]
18139 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18140 (parse_sub_exp): Fix last change, use postorder.
18141
ef06edbe
UD
18142 * posix/bug-regex31.c: New file.
18143 * posix/Makefile: Add rules to build and run bug-regex31.
18144
a129c80d
UD
18145 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18146
18147 [BZ #12078]
18148 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18149
b76b818e
UD
18150 [BZ #12108]
18151 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18152 to have entries in sys_siglist.
18153
1751705d
UD
18154 [BZ #12093]
18155 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18156 be NULL.
18157
9ff8d36f
JJ
181582010-10-07 Jakub Jelinek <jakub@redhat.com>
18159
18160 [BZ #3268]
18161 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18162 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18163 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18164 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18165 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18166 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18167 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18168 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18169 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18170 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18171 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18172 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18173 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18174 * math/ftestexcept.c (fetestexcept): Likewise.
18175 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18176 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18177 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18178 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18179 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18180 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18181 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18182
af325969
UD
181832010-10-11 Ulrich Drepper <drepper@gmail.com>
18184
c579b202 18185 [BZ #12107]
af325969
UD
18186 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18187 newline.
18188
67a67b95
UD
181892010-10-06 Ulrich Drepper <drepper@gmail.com>
18190
18191 * string/bug-strstr1.c: New file.
18192 * string/Makefile: Add rules to build and run bug-strstr1.
18193
5fb308bc
EB
181942010-10-05 Eric Blake <eblake@redhat.com>
18195
18196 [BZ #12092]
18197 * string/str-two-way.h (two_way_long_needle): Always clear memory
18198 when skipping input due to the shift table.
18199
45db99c7
UD
182002010-10-03 Ulrich Drepper <drepper@gmail.com>
18201
3b111893
UD
18202 [BZ #12005]
18203 * malloc/mcheck.c: Handle large requests.
18204
45db99c7
UD
18205 [BZ #12077]
18206 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18207 for strncmp and strncasecmp.
18208 * string/stratcliff.c: Add tests for strcmp and strncmp.
18209 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18210
cf7a1eb8
NI
182112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18212
18213 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18214 __set_fpscr.
18215
6484ba5e
AJ
182162010-09-30 Andreas Jaeger <aj@suse.de>
18217
18218 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18219 (CGROUP_SUPER_MAGIC): Define.
18220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18221 Handle btrfs and cgroup file systems.
18222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18223 Likewise.
18224
91c42559
LM
182252010-09-27 Luis Machado <luisgpm@br.ibm.com>
18226
18227 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18228 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18229
87a97932
AK
182302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18231
18232 [BZ #12067]
18233 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18234 trying to locate the ELF header.
18235
c21cc9bc
AS
182362010-09-27 Andreas Schwab <schwab@redhat.com>
18237
18238 [BZ #11611]
18239 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18240 Mask out sign-bit copies when constructing f_fsid.
18241
315970f6
PB
182422010-09-24 Petr Baudis <pasky@suse.cz>
18243
18244 * debug/stack_chk_fail_local.c: Add missing licence exception.
18245 * debug/warning-nop.c: Likewise.
18246
1ac7a2c7
JM
182472010-09-15 Joseph Myers <joseph@codesourcery.com>
18248
18249 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18250 implementing getdents64 using getdents syscall, set d_type if
18251 __ASSUME_GETDENTS32_D_TYPE.
18252
56801c50
AS
182532010-09-16 Andreas Schwab <schwab@redhat.com>
18254
18255 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18256 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18257
dda51327
UD
182582010-09-21 Ulrich Drepper <drepper@redhat.com>
18259
18260 [BZ #12037]
18261 * posix/unistd.h: Undo change of feature selection for ftruncate from
18262 2010-01-11.
18263
8ffcee4a
UD
182642010-09-20 Ulrich Drepper <drepper@redhat.com>
18265
a545ecd9 18266 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18267 detection.
18268
e24f0a8b
AS
182692010-09-20 Andreas Schwab <schwab@redhat.com>
18270
18271 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18272 fanotify_mark.
18273 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18274
7291c56f
AS
182752010-09-14 Andreas Schwab <schwab@redhat.com>
18276
18277 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18278 variables after CHECK_SP call.
18279 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18280
bc5fb037
AS
182812010-09-13 Andreas Schwab <schwab@redhat.com>
18282 Ulrich Drepper <drepper@redhat.com>
18283
18284 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18285 re-relocationg ld.so.
18286 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18287 _dl_init_paths call.
18288 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18289 here anymore.
18290
e66e7419
UD
182912010-09-14 Ulrich Drepper <drepper@redhat.com>
18292
18293 * resolv/res_init.c (__res_vinit): Count the default server we added.
18294
c044aa75
CLT
182952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18296 Ulrich Drepper <drepper@redhat.com>
18297
18298 [BZ #11968]
18299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18300 (____longjmp_chk): Use %ebx for saving value across system call.
18301 Add unwind info.
18302
32cf4069
AS
183032010-09-06 Andreas Schwab <schwab@redhat.com>
18304
18305 * manual/Makefile: Don't mix pattern rules with normal rules.
18306
817328ee
AS
183072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18308
18309 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18310 operation.
18311 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18312 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18313 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18314 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18316 Likewise.
18317
29fddf61
UD
183182010-09-04 Ulrich Drepper <drepper@redhat.com>
18319
18320 [BZ #11979]
18321 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18322 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18323
0959ffc9
UD
183242010-09-02 Ulrich Drepper <drepper@redhat.com>
18325
18326 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18327 * sysdeps/x86_64/addmul_1.S: Likewise.
18328 * sysdeps/x86_64/lshift.S: Likewise.
18329 * sysdeps/x86_64/mul_1.S: Likewise.
18330 * sysdeps/x86_64/rshift.S: Likewise.
18331 * sysdeps/x86_64/sub_n.S: Likewise.
18332 * sysdeps/x86_64/submul_1.S: Likewise.
18333
ece29840
ST
183342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18335
0959ffc9
UD
18336 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18337 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18338 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18339 * bits/sched.h [__need_schedparam]
ece29840 18340 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18341 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18342 (__defined_schedparam): Define to 1.
ece29840
ST
18343 (__sched_param): New structure, identical to sched_param.
18344 (__need_schedparam): Undefine.
18345
e53a31fe
MF
183462010-08-31 Mike Frysinger <vapier@gentoo.org>
18347
fdc0c10d
MF
18348 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18349 (epoll_create1): Declare.
18350
e53a31fe
MF
18351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18352
a726d796
AS
183532010-08-31 Andreas Schwab <schwab@redhat.com>
18354
18355 [BZ #7066]
18356 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18357 shifting retval into place.
18358
2f3e3dc7
UD
183592010-09-01 Ulrich Drepper <drepper@redhat.com>
18360
f2933da9
UD
18361 * nis/rpcsvc/nis.h: Update copyright notice.
18362 * nis/rpcsvc/nis.x: Likewise.
18363 * nis/rpcsvc/nis_callback.h: Likewise.
18364 * nis/rpcsvc/nis_callback.x: Likewise.
18365 * nis/rpcsvc/nis_object.x: Likewise.
18366 * nis/rpcsvc/nis_tags.h: Likewise.
18367 * nis/rpcsvc/yp.h: Likewise.
18368 * nis/rpcsvc/yp.x: Likewise.
18369 * nis/rpcsvc/ypupd.h: Likewise.
18370 * nis/yp_xdr.c: Likewise.
18371 * nis/ypupdate_xdr.c: Likewise.
18372
2f3e3dc7
UD
18373 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18374 mainly the body of pmap_getport. Add parameters to specify timeouts.
18375 (pmap_getport): Use __libc_rpc_getport.
18376 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18377 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18378 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18379
f3dcc2f9
AS
183802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18381
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18383 fanotify_mark.
18384
6d34eb5b
RM
183852010-08-27 Roland McGrath <roland@redhat.com>
18386
18387 * sysdeps/i386/i686/multiarch/Makefile
18388 (CFLAGS-varshift.c): New variable.
18389
9ea3de11
UD
183902010-08-27 Ulrich Drepper <drepper@redhat.com>
18391
c96d23fc
UD
18392 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18393 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18394
9ea3de11
UD
18395 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18396
18397 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18398
623aac7f
L
183992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18400
18401 * sysdeps/x86_64/strlen.S: Unroll the loop.
18402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18403 strlen-sse2 strlen-sse2-bsf.
18404 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18405 __strlen_no_bsf if bit_Slow_BSF is set.
18406 (__strlen_sse42): Removed.
18407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18408 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18409
8b2b7715
RM
184102010-08-25 Roland McGrath <roland@redhat.com>
18411
18412 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18413 * sysdeps/x86_64/multiarch/varshift.c: New file.
18414 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18415 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18416 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18417 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18418
e73015f2
L
184192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18420
18421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18422 strlen-sse2 strlen-sse2-bsf.
18423 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18424 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18425 (__strlen_sse2): Removed.
18426 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18429 bit_Slow_BSF for Atom.
18430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18431 (index_Slow_BSF): Define.
18432 (HAS_SLOW_BSF): Define.
18433
df24a73e
UD
184342010-08-25 Ulrich Drepper <drepper@redhat.com>
18435
18436 [BZ #10851]
18437 * resolv/res_init.c (__res_vinit): When no server address at all
18438 is given default to loopback.
18439
f2ac4868
RM
184402010-08-24 Roland McGrath <roland@redhat.com>
18441
09055553
RM
18442 * configure.in: Remove config-name.h generation.
18443 * configure: Regenerated.
18444 * config-name.in: File removed.
18445 * scripts/config-uname.sh: New file.
18446 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18447 ($(objdir)config-name.h): New target.
18448
f2ac4868
RM
18449 * sunrpc/rpc_parse.h: Avoid nested comment.
18450
73f27d5e
RH
184512010-08-24 Richard Henderson <rth@redhat.com>
18452 Ulrich Drepper <drepper@redhat.com>
18453 H.J. Lu <hongjiu.lu@intel.com>
18454
18455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18457 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18458 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18459 _mm_alignr_epi8 with _mm_loadu_si128.
18460 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18461 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18462 (__m128i_shift_right): Removed.
18463 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18464 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18465 * sysdeps/x86_64/multiarch/varshift.h: New file.
18466 * sysdeps/x86_64/multiarch/varshift.S: New file.
18467
84b9230c
MF
184682010-08-21 Mike Frysinger <vapier@gentoo.org>
18469
18470 * configure.in: Move assembler checks to before sysdep dir checking.
18471
9bbd0ddc
PB
184722010-08-20 Petr Baudis <pasky@suse.cz>
18473
18474 * LICENSES: Sync the sunrpc license.
18475
9da4bb31
UD
184762010-08-19 Ulrich Drepper <drepper@redhat.com>
18477
a7ab6ec8
UD
18478 * sunrpc/auth_des.c: Update copyright notice once again.
18479 * sunrpc/auth_none.c: Likewise.
18480 * sunrpc/auth_unix.c: Likewise.
18481 * sunrpc/authdes_prot.c: Likewise.
18482 * sunrpc/authuxprot.c: Likewise.
18483 * sunrpc/bindrsvprt.c: Likewise.
18484 * sunrpc/clnt_gen.c: Likewise.
18485 * sunrpc/clnt_perr.c: Likewise.
18486 * sunrpc/clnt_raw.c: Likewise.
18487 * sunrpc/clnt_simp.c: Likewise.
18488 * sunrpc/clnt_tcp.c: Likewise.
18489 * sunrpc/clnt_udp.c: Likewise.
18490 * sunrpc/clnt_unix.c: Likewise.
18491 * sunrpc/des_crypt.c: Likewise.
18492 * sunrpc/des_soft.c: Likewise.
18493 * sunrpc/get_myaddr.c: Likewise.
18494 * sunrpc/getrpcport.c: Likewise.
18495 * sunrpc/key_call.c: Likewise.
18496 * sunrpc/key_prot.c: Likewise.
18497 * sunrpc/openchild.c: Likewise.
18498 * sunrpc/pm_getmaps.c: Likewise.
18499 * sunrpc/pm_getport.c: Likewise.
18500 * sunrpc/pmap_clnt.c: Likewise.
18501 * sunrpc/pmap_prot.c: Likewise.
18502 * sunrpc/pmap_prot2.c: Likewise.
18503 * sunrpc/pmap_rmt.c: Likewise.
18504 * sunrpc/rpc/auth.h: Likewise.
18505 * sunrpc/rpc/auth_unix.h: Likewise.
18506 * sunrpc/rpc/clnt.h: Likewise.
18507 * sunrpc/rpc/des_crypt.h: Likewise.
18508 * sunrpc/rpc/key_prot.h: Likewise.
18509 * sunrpc/rpc/netdb.h: Likewise.
18510 * sunrpc/rpc/pmap_clnt.h: Likewise.
18511 * sunrpc/rpc/pmap_prot.h: Likewise.
18512 * sunrpc/rpc/pmap_rmt.h: Likewise.
18513 * sunrpc/rpc/rpc.h: Likewise.
18514 * sunrpc/rpc/rpc_des.h: Likewise.
18515 * sunrpc/rpc/rpc_msg.h: Likewise.
18516 * sunrpc/rpc/svc.h: Likewise.
18517 * sunrpc/rpc/svc_auth.h: Likewise.
18518 * sunrpc/rpc/types.h: Likewise.
18519 * sunrpc/rpc/xdr.h: Likewise.
18520 * sunrpc/rpc_clntout.c: Likewise.
18521 * sunrpc/rpc_cmsg.c: Likewise.
18522 * sunrpc/rpc_common.c: Likewise.
18523 * sunrpc/rpc_cout.c: Likewise.
18524 * sunrpc/rpc_dtable.c: Likewise.
18525 * sunrpc/rpc_hout.c: Likewise.
18526 * sunrpc/rpc_main.c: Likewise.
18527 * sunrpc/rpc_parse.c: Likewise.
18528 * sunrpc/rpc_parse.h: Likewise.
18529 * sunrpc/rpc_prot.c: Likewise.
18530 * sunrpc/rpc_sample.c: Likewise.
18531 * sunrpc/rpc_scan.c: Likewise.
18532 * sunrpc/rpc_scan.h: Likewise.
18533 * sunrpc/rpc_svcout.c: Likewise.
18534 * sunrpc/rpc_tblout.c: Likewise.
18535 * sunrpc/rpc_util.c: Likewise.
18536 * sunrpc/rpc_util.h: Likewise.
18537 * sunrpc/rpcinfo.c: Likewise.
18538 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18539 * sunrpc/rpcsvc/key_prot.x: Likewise.
18540 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18541 * sunrpc/rpcsvc/mount.x: Likewise.
18542 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18543 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18544 * sunrpc/rpcsvc/rex.x: Likewise.
18545 * sunrpc/rpcsvc/rstat.x: Likewise.
18546 * sunrpc/rpcsvc/rusers.x: Likewise.
18547 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18548 * sunrpc/rpcsvc/spray.x: Likewise.
18549 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18550 * sunrpc/rtime.c: Likewise.
18551 * sunrpc/svc.c: Likewise.
18552 * sunrpc/svc_auth.c: Likewise.
18553 * sunrpc/svc_authux.c: Likewise.
18554 * sunrpc/svc_raw.c: Likewise.
18555 * sunrpc/svc_run.c: Likewise.
18556 * sunrpc/svc_simple.c: Likewise.
18557 * sunrpc/svc_tcp.c: Likewise.
18558 * sunrpc/svc_udp.c: Likewise.
18559 * sunrpc/svc_unix.c: Likewise.
18560 * sunrpc/svcauth_des.c: Likewise.
18561 * sunrpc/xcrypt.c: Likewise.
18562 * sunrpc/xdr.c: Likewise.
18563 * sunrpc/xdr_array.c: Likewise.
18564 * sunrpc/xdr_float.c: Likewise.
18565 * sunrpc/xdr_mem.c: Likewise.
18566 * sunrpc/xdr_rec.c: Likewise.
18567 * sunrpc/xdr_ref.c: Likewise.
18568 * sunrpc/xdr_sizeof.c: Likewise.
18569 * sunrpc/xdr_stdio.c: Likewise.
18570
9da4bb31
UD
18571 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18572 handling.
18573
bdaa77bc
AS
185742010-08-19 Andreas Schwab <schwab@redhat.com>
18575
18576 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18577
fe2f79db
LM
185782010-08-19 Luis Machado <luisgpm@br.ibm.com>
18579
18580 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18581 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18582 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18583 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18584 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18585 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18586 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18587 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18588 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18589 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18590 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18591 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18592 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18593 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18594
b9b42ee0
AB
185952010-07-26 Anton Blanchard <anton@samba.org>
18596
18597 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18598 * malloc/arena.c (heap_trim): Likewise.
18599
1c06ba31
UD
186002010-08-16 Ulrich Drepper <drepper@redhat.com>
18601
18602 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18603 here. Not...
18604 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18605 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18606
f8392f40
L
186072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18608
18609 * sysdeps/i386/elf/Makefile: New file.
18610
3162f12e
AS
186112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18612
18613 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18614 from fanotify_init.
18615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18617
28c90b2c
UD
186182010-08-15 Ulrich Drepper <drepper@redhat.com>
18619
18620 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18621 of strncasecmp_l.
1feccb6c 18622 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18623
ca6bb004
UD
186242010-08-14 Ulrich Drepper <drepper@redhat.com>
18625
e9f82e0d
UD
18626 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18627 strncase_l-nonascii.
18628 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18629 Add strncase_l-ssse3.
18630 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18631 * sysdeps/x86_64/strcmp.S: Likewise.
18632 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18633 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18634 * sysdeps/x86_64/strncase.S: New file.
18635 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18636 * sysdeps/x86_64/strncase_l.S: New file.
18637 * string/Makefile (strop-tests): Add strncasecmp.
18638 * string/test-strncasecmp.c: New file.
18639
18640 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18641 warning.
18642
ca6bb004
UD
18643 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18644 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18645
052fa7b3
AS
186462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18647
18648 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18649
962dba78
UD
186502010-08-12 Ulrich Drepper <drepper@redhat.com>
18651
18652 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18654 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18655
bebff237
AM
186562010-05-01 Alan Modra <amodra@gmail.com>
18657
18658 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18659 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18660 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18661 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18662 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18663 tidying. Don't tail-call __sigjmp_save for static lib.
18664 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18665 save location.
18666 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18667 (CALL_MCOUNT): Add eh info, and nop after bl.
18668 (TAIL_CALL_SYSCALL_ERROR): New macro.
18669 (PSEUDO_RET): Use it.
18670 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18671 Correct save location of integer regs and cr.
18672 (_dl_profile_resolve): Correct cr save location. Delete nops
18673 after bl when SHARED. Reduce cfi size a little by better
18674 placement of cfi directives.
18675 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18676 make a stack frame. Instead use parm save area as a temp.
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18678 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18680 Don't make a stack frame for parent, use parm save area.
18681 Increase child stack frame to 112 bytes. Don't save unused reg,
18682 and adjust reg usage. Set up cfi on error recovery and
18683 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18685 (__makecontext): Add dummy nop after jump to exit.
18686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18687 Use correct parm save area and cr save, reduce stack frame.
18688 Correct cfi for possible PSEUDO_RET frame setup.
18689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18690 Branch to local label emitted by PSEUDO_RET rather than
18691 __syscall_error.
18692
02637374
AS
186932010-08-12 Andreas Schwab <schwab@redhat.com>
18694
18695 [BZ #11904]
18696 * locale/programs/locale.c (print_assignment): New function.
18697 (show_locale_vars): Use it.
18698
c3e2f19b
UD
186992010-08-11 Ulrich Drepper <drepper@redhat.com>
18700
3cdaa6ad
UD
18701 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18702 field.
18703 (struct statfs64): Likewise.
18704 (_STATFS_F_FLAGS): Define.
18705 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18707 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18708 (ST_VALID): Define locally.
18709 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18710 __statvfs_getflags, use the provided value.
18711 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18712 __ASSUME_STATFS_F_FLAGS.
18713
754f7da3
UD
18714 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18715
10b3bedc
UD
18716 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18717 Add sys/fanotify.h.
18718 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18719 fanotify_mask for GLIBC_2.13.
18720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18721 fanotify_init and fanotify_mark.
18722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18723 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18724
c08fb0d7
UD
18725 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18726 Add prlimit.
18727 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18728 prlimit64 for GLIBC_2.13.
18729 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18730 prlimit64.
18731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18732 syscall.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18734 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18735 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18736 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18738 add prlimit alias.
18739 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18740
15bac72b
UD
18741 [BZ #11903]
18742 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18743 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18744
c3e2f19b
UD
18745 * nss/Makefile: Add rules to build and run tst-nss-test1.
18746 * shlib-versions: Add entry for libnss_test1.
18747 * nss/nss_test1.c: New file.
18748 * nss/tst-nss-test1.c: New file.
18749
18750 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18751 (__nss_configure_lookup): Set appropriate entry in
18752 __nss_configure_lookup to true.
18753 * nss/nsswitch.h: Define enum with indeces of databases in
18754 databases and __nss_database_custom arrays. Declare
18755 __nss_database_custom.
18756 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18757 to avoid using nscd when custom rules are installed.
18758 * nss/getXXbyYY_r.c: Likewise.
18759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18760
18761 * nss/nss_files/files-parse.c: Whitespace fixes.
18762
f15ce4d8
UD
187632010-08-09 Ulrich Drepper <drepper@redhat.com>
18764
18765 [BZ #11883]
18766 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18767 * posix/fnmatch_loop.c: Likewise.
18768
d22e4cc9
AK
187692010-07-17 Andi Kleen <ak@linux.intel.com>
18770
18771 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18772 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18773 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18774 * Versions.def [GLIBC_2.13]: Add.
18775
805bc17d
UD
187762010-08-06 Ulrich Drepper <drepper@redhat.com>
18777
18778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18779 Also fail if tpwd after pwuid call is NULL.
18780
5a42321d
ST
187812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18782
18783 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18784 when converting to ms.
18785
fd3ebeda
ST
187862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18787
18788 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18789 EOPNOTSUPP errors with ENOTTY.
18790 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18791 EOPNOTSUPP errors with ENOTTY.
18792
73507d3a
UD
187932010-07-31 Ulrich Drepper <drepper@redhat.com>
18794
18795 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18796 Add strcasecmp_l-ssse3.
18797 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18798 strcasecmp.
18799 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18800 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18801 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18802
fe36dd02
UD
188032010-07-30 Ulrich Drepper <drepper@redhat.com>
18804
66f6765a
UD
18805 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18806
42e08a54
UD
18807 * string/Makefile (strop-tests): Add strcasecmp.
18808 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18809 strcasecmp_l-nonascii.
18810 (gen-as-const-headers): Add locale-defines.sym.
18811 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18812 * sysdeps/x86_64/strcasecmp.S: New file.
18813 * sysdeps/x86_64/strcasecmp_l.S: New file.
18814 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18815 * sysdeps/x86_64/locale-defines.sym: New file.
18816 * string/test-strcasecmp.c: New file.
18817
fe36dd02
UD
18818 * string/test-strcasestr.c: Test both ends of the range of characters.
18819 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18820
48cbc0d6
RM
188212010-07-29 Roland McGrath <roland@redhat.com>
18822
76e6d6bc 18823 [BZ #11856]
48cbc0d6
RM
18824 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18825
880113d9
UD
188262010-07-27 Ulrich Drepper <drepper@redhat.com>
18827
18828 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18829 for ld.so.
18830
deb9cabb
AS
188312010-07-27 Andreas Schwab <schwab@redhat.com>
18832
18833 * manual/memory.texi (Malloc Tunable Parameters): Document
18834 M_PERTURB.
18835
1c7570ff
RM
188362010-07-26 Roland McGrath <roland@redhat.com>
18837
18838 [BZ #11840]
18839 * configure.in (-fgnu89-inline check): Set and substitute
18840 gnu89_inline, not libc_cv_gnu89_inline.
18841 * configure: Regenerated.
18842 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18843
24fb0f88
UD
188442010-07-26 Ulrich Drepper <drepper@redhat.com>
18845
18846 * string/test-strnlen.c: New file.
18847 * string/Makefile (strop-tests): Add strnlen.
18848 * string/tester.c (test_strnlen): Add a few more test cases.
18849 * string/tst-strlen.c: Better error reporting.
18850
18851 * sysdeps/x86_64/strnlen.S: New file.
18852
8e96b93a
UD
188532010-07-24 Ulrich Drepper <drepper@redhat.com>
18854
18855 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18856 lower-latency instructions.
18857
dbc676d4
UD
188582010-07-23 Ulrich Drepper <drepper@redhat.com>
18859
18860 * string/test-strcasestr.c: New file.
18861 * string/test-strstr.c: New file.
18862 * string/Makefile (strop-tests): Add strstr and strcasestr.
18863 * string/str-two-way.h: Don't undefine MAX.
18864 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18865
f6a31e0e
AS
188662010-07-21 Andreas Schwab <schwab@redhat.com>
18867
18868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18869 strcasestr-nonascii.
18870 (CFLAGS-strcasestr-nonascii.c): Define.
18871 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18873 Remove unused attribute.
18874
5dbc3b6c
RM
188752010-07-20 Roland McGrath <roland@redhat.com>
18876
18877 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18878 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18879 ld.so.cache was broken. With it, there is no way to disable dsocaps
18880 like LD_HWCAP_MASK can disable hwcaps.
18881
23d101d8
EPM
188822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18883
18884 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18885
cc9f2e47
UD
188862010-07-16 Ulrich Drepper <drepper@redhat.com>
18887
18888 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18889 call in strcasestr.
18890 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18891 __strcasestr_sse42_nonascii.
18892 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18893 strcasestr-nonascii.c.
18894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18895
77c1b069
LM
188962010-06-15 Luis Machado <luisgpm@br.ibm.com>
18897
18898 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18900 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18902
440566c3
UD
189032010-07-09 Ulrich Drepper <drepper@redhat.com>
18904
18905 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18906 fcntl.
18907
5be9d05d
AS
189082010-07-06 Andreas Schwab <schwab@redhat.com>
18909
c30b7ee2 18910 [BZ #11577]
5be9d05d
AS
18911 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18912 dl_signal_cerror.
18913
8a492a67
UD
189142010-07-06 Ulrich Drepper <drepper@redhat.com>
18915
18916 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18917 _PC_PIPE_BUF using F_GETPIPE_SZ.
18918
713df3d5
RM
189192010-07-05 Roland McGrath <roland@redhat.com>
18920
18921 * manual/arith.texi (Rounding Functions): Fix rint description
18922 implicit in round description.
18923
702e8f14
UD
189242010-07-02 Ulrich Drepper <drepper@redhat.com>
18925
18926 * elf/Makefile: Fix linking for a few tests to make recent linker
18927 happy.
18928
52ed8be9
AS
189292010-06-30 Andreas Schwab <schwab@redhat.com>
18930
18931 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18932 $(common-objpfx)libc_nonshared.a.
18933
f47c9a11
LM
189342010-06-21 Luis Machado <luisgpm@br.ibm.com>
18935
18936 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18937 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18938 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18939 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18940 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18941 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18942 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18943 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18958 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18959 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18960 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18961 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18962 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18963 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18964 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18965 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18966 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18967 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18968 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18969 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18984
6fb8cbcb
L
189852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18986
18987 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18988 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18989 * string/memmove.c (memmove): Renamed to ...
18990 (MEMMOVE): ...this. Default to memmove.
18991 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18992 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18993 (END_CHK): Define.
18994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18995 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18996 mempcpy-ssse3-back memmove-ssse3-back.
18997 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19000 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19001 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19002 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19003 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19004 * sysdeps/x86_64/multiarch/memmove.c: New file.
19005 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19006 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19007 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19008 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19009 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19011 Define.
19012 (index_Fast_Copy_Backward): Define.
19013 (HAS_ARCH_FEATURE): Define.
19014 (HAS_FAST_REP_STRING): Define.
19015 (HAS_FAST_COPY_BACKWARD): Define.
19016
4e733bac 190172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19018
19019 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19020 Restore proper fallback handling.
19021
63c4ed22
UD
190222010-06-19 Ulrich Drepper <drepper@redhat.com>
19023
ac2b484c
UD
19024 [BZ #11701]
19025 * posix/group_member.c (__group_member): Correct checking loop.
19026
63c4ed22
UD
19027 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19028 OOM in getpwuid_r correctly. Return error number when the caller
19029 should return, otherwise -1.
19030 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19031 call returning > 0 value.
19032 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19033
765ade4b
AS
190342010-06-07 Andreas Schwab <schwab@redhat.com>
19035
19036 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19037 libc_nonshared.a from targets in modules-names.
19038
80da2e09
KS
190392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19040
19041 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19042 requires it.
19043
158db122
LM
190442010-06-10 Luis Machado <luisgpm@br.ibm.com>
19045
19046 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19047 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19048 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19049 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19050
caa78cf8
AS
190512010-06-02 Andreas Schwab <schwab@redhat.com>
19052
19053 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19054
b2ef2c01
UD
190552010-06-14 Ulrich Drepper <drepper@redhat.com>
19056
19057 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19058 and F_GETPIPE_SZ.
19059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19065
fbd643b6
RM
190662010-06-14 Roland McGrath <roland@redhat.com>
19067
19068 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19069
f32f2869
JJ
190702010-06-07 Jakub Jelinek <jakub@redhat.com>
19071
19072 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19073 __REDIRECT followed by __THROW.
19074 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19075 * posix/getopt.h (getopt): Likewise.
19076
2a50c078
EPM
190772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19078
19079 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19080 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19081 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19082 in AT_FLAGS.
19083 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19084 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19085
eb5ad2eb
LM
190862010-05-28 Luis Machado <luisgpm@br.ibm.com>
19087
19088 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19089
3c88fe1e
L
190902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19091
19092 [BZ #11640]
19093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19094 Properly check family and model.
19095
d2f73151
TY
190962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19097
19098 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19099
ebd2e13d
LM
191002010-05-24 Luis Machado <luisgpm@br.ibm.com>
19101
19102 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19103
b32b8b45
UD
191042010-05-21 Ulrich Drepper <drepper@redhat.com>
19105
19106 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19107 symbol reference.
19108
9acbe24d
AS
191092010-05-19 Andreas Schwab <schwab@redhat.com>
19110
19111 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19112 symbol reference.
19113
f0ccf6ea
AS
191142010-05-21 Andreas Schwab <schwab@redhat.com>
19115
3d04ff3a
AS
19116 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19117 and internal_recvmmsg.
19118 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19119 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19120 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19121 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19122
f0ccf6ea
AS
19123 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19124 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19125 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19126
5b08ac57
AS
191272010-05-20 Andreas Schwab <schwab@redhat.com>
19128
19129 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19130
4828935d
LM
191312010-05-17 Luis Machado <luisgpm@br.ibm.com>
19132
19133 POWER7 optimizations.
19134 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19135 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19136
373d545e
UD
191372010-05-19 Ulrich Drepper <drepper@redhat.com>
19138
19139 * version.h: Update for 2.13 development version.
19140
21a2b1ae
AS
191412010-05-12 Andrew Stubbs <ams@codesourcery.com>
19142
19143 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19144 exceptions. Return 0.
19145
3f7dcb2b
RM
191462010-05-07 Roland McGrath <roland@redhat.com>
19147
19148 * elf/ldconfig.c (main): Add a const.
19149
5f24d53a 191502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19151
a160f8d8
UD
19152 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19153 (args_options): Add no-idn option.
19154 (ahosts_keys_int): Add idn_flags to ai_flags.
19155 (parse_option): Handle 'i' option to clear idn_flags.
19156
5f24d53a
UD
19157 * malloc/malloc.c (_int_free): Possible race in the most recently
19158 added check. Only act on the data if no current modification
19159 happened.
265bb1ce
UD
19160
19161See ChangeLog.17 for earlier changes.