]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++
[thirdparty/glibc.git] / ChangeLog
CommitLineData
691bc9c1
L
12012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2
3 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4 on $(common-objpfx)soversions.mk.
5
65cafb1c
JM
62012-09-07 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #10014]
9 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10 example host name.
11
c78ab094
SP
122012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13
14 * malloc/arena.c (arena_get_retry): New function that gets
15 another arena for the caller to try its request on.
16 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17 current arena cannot fulfill the request.
18 (__libc_memalign): Likewise.
19 (__libc_memalign): Likewise.
20 (__libc_pvalloc): Likewise.
21 (__libc_calloc): Likewise.
22
01f49f59
JT
232012-09-05 John Tobey <john.tobey@gmail.com>
24
25 [BZ #13542]
26 * manual/arith.texi (Operations on Complex): Fix description
27 of carg branch cut.
28
4c23fed5
JM
292012-09-06 Joseph Myers <joseph@codesourcery.com>
30
1d3c8572
JM
31 [BZ #10014]
32 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33 host name.
34
4c23fed5
JM
35 [BZ #10038]
36 * manual/memory.texi (Memory): Make order of menu items match
37 order of sections.
38
04570aaa
L
392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40
41 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44
b80af2f4
L
452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46
47 * csu/libc-tls.c (static_dtv): Renamed to ...
48 (_dl_static_dtv): This. Make it global.
49 (_dl_initial_dtv): Removed.
50 (__libc_setup_tls): Updated.
51 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
53 DL_INITIAL_DTV.
54
2abe9f15
PM
552012-09-06 Petr Machata <pmachata@redhat.com>
56
57 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61
0948c3af
L
622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
63
64 [BZ #14545]
65 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
67 freeing dtv[-1].
68
a5055ad1
L
692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
70
71 [BZ #14544]
72 * Makeconfig (link-static-before-libc): Replace $(+prector)
73 with $(+prectorT).
74 (link-static-after-libc): Replace $(+postctor) with
75 $(+postctorT).
76 (link-bounded): Replace $(+prector)/$(+postctor) with
77 $(+prectorT)/$(+postctorT).
78 (+prectorT): New macro.
79 (+postctorT): Likewise.
80
ed8c2ecd
JM
812012-09-06 Joseph Myers <joseph@codesourcery.com>
82
83 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
84 (round_str): Handle values above the maximum for IBM long double
85 as inexact.
86 * stdlib/tst-strtod-round.c (tests): Regenerated.
87
14c996c8
AK
882012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
89
90 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
91 assembler flag.
92 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
93 zarch_nohighgprs around the zarch optimized routines.
94 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
95 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
96 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
97 for zarch.
98
430d6ce6
DM
992012-09-05 David S. Miller <davem@davemloft.net>
100
101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
102
ff04dda4
DM
103 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
104 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
105 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
106 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
107 entries.
108
24d4e01b
AO
1092012-09-05 Alexandre Oliva <aoliva@redhat.com>
110
111 * malloc/arena.c: Fold copyright years.
112 * malloc/mcheck.c, malloc/memusage.c: Likewise.
113
61d58174
AO
1142012-09-05 Alexandre Oliva <aoliva@redhat.com>
115
116 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
117
20196a5e
AO
1182012-09-05 Alexandre Oliva <aoliva@redhat.com>
119
120 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
121
5c447383
AO
1222012-09-05 Alexandre Oliva <aoliva@redhat.com>
123
124 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
125 change internal state upon failure.
126
fad64255
AO
1272012-09-05 Alexandre Oliva <aoliva@redhat.com>
128
129 * malloc/mcheck.c (mcheck_check_all): Fix typo.
130 * malloc/memusage.c (mmap): Likewise.
131 (mmap64, mremap): Likewise. Adjust name in comment.
132
1ffb8c90
SP
1332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
134
135 * libio/fileops.c: Fix typos in comments.
136 * libio/oldfileops.c: Likewise.
137 * libio/wfileops.c: Likewise.
138
6ef9cc37
SP
1392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
140
141 [BZ #1349]
142 * malloc/Makefile (tests): Add tst-malloc-usable test case.
143 (tst-malloc-usable-ENV): Set environment for test case.
144 * malloc/hooks.c (malloc_check_get_size): New function to get
145 requested size.
146 * malloc/malloc.c (musable): Use malloc_check_get_size.
147 * malloc/tst-malloc-usable.c: New test case.
148
4d038ae3
AS
1492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
150
151 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
152
c4e85184
AM
1532012-09-05 Allan McRae <allan@archlinux.org>
154
b9dafc56 155 [BZ #13966]
c4e85184
AM
156 * configure.in (CXX_SYSINCLUDES): Use compiler output to
157 determine header location.
158 * configure: Regenerated.
159
e1343020
AS
1602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
161
162 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
163 float format.
164 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
165 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
166 format.
e1343020
AS
167 (test): Regenerate.
168
0a9f1987
DM
1692012-09-04 David S. Miller <davem@davemloft.net>
170
171 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
172 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
173 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
174
29237804
FW
1752012-09-04 Florian Weimer <fweimer@redhat.com>
176
177 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
178 failures.
179
edb3cb88
FW
180 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
181
60160d83
JM
1822012-09-04 Joseph Myers <joseph@codesourcery.com>
183
184 [BZ #9914]
185 * libio/iogetdelim.c: Include <limits.h>.
186 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
187 + len + 1 would overflow.
188
bcd6c8dc
AJ
1892012-09-03 Andreas Jaeger <aj@suse.de>
190
191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
192 * sysdeps/i386/fpu/libm-test-ulps: Update.
193
4ffffbd2
LD
1942012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
195
196 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
197 Add s_sinf-sse2, s_conf-sse2.
198
199 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
200 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
201 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
202 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
203
204 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
205 for using routine as __sinf_ia32.
206 Use macro for function declaration and weak_alias.
207 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
208 for using routine as __cosf_ia32.
209 Use macro for function declaration and weak_alias.
210
211 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
212 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
213
214 * sysdeps/x86_64/fpu/s_sinf.S: New file.
215 * sysdeps/x86_64/fpu/s_cosf.S: New file.
216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
217
218 * math/libm-test.inc (cos_test): Add more test cases.
219 (sin_test): Likewise.
220 (sincos_test): Likewise.
221
511fa286
AK
2222012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
223
224 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
225 (IFUNC_RESOLVE): Make pointers to the specialized implementations
226 hidden.
227 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
228
5f30cfec
L
2292012-09-02 H.J. Lu <hongjiu.lu@intel.com>
230
231 [BZ #14538]
232 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
233 first element of the GOT.
234 (elf_machine_load_address): Return the difference between
235 the runtime address of _DYNAMIC and elf_machine_dynamic ().
236
0786794f
AM
2372012-09-01 Allan McRae <allan@archlinux.org>
238
5f30cfec
L
239 [BZ #13412]
240 * configure.in (AWK): Require gawk version 3.0 or later.
241 * configure: Regenerated.
0786794f 242
26889eac
JM
2432012-09-01 Joseph Myers <joseph@codesourcery.com>
244
245 * sysdeps/unix/sysv/linux/kernel-features.h
246 (__ASSUME_POSIX_CPU_TIMERS): Remove.
247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
248 [__NR_clock_getres]: Make code unconditional.
249 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
250 (clock_getcpuclockid): Remove code left unreachable by removal of
251 conditionals.
252 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
253 code unconditional.
254 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
256 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
257 Make code unconditional.
258 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
259 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
260 * sysdeps/unix/sysv/linux/clock_settime.c
261 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
262 conditional code.
263 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
264 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
265
d22e28b0
L
2662012-08-29 H.J. Lu <hongjiu.lu@intel.com>
267
268 [BZ #14476]
269 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
270 scripts/test-installation.pl.
271
272 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
273 and $ld_so_version if it is set.
274
050af9c4
SP
2752012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
276
277 [BZ #14516]
278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
279 failure if reading from procfs failed.
280 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
281
ad845c0b
JM
2822012-08-27 Joseph Myers <joseph@codesourcery.com>
283
284 * sysdeps/unix/sysv/linux/kernel-features.h
285 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
286 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
287 Remove conditional code.
288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
289 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
290 Remove conditional code.
291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
292 * sysdeps/unix/sysv/linux/i386/fxstat.c
293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
295 * sysdeps/unix/sysv/linux/i386/fxstatat.c
296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
298 * sysdeps/unix/sysv/linux/i386/lxstat.c
299 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
301 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
302 Remove conditional code.
303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
304 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
305 Remove conditional code.
306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
307 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
308 <kernel-features.h>.
309 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
310 Remove.
311 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
312 Remove conditional code.
313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
314 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
315 Remove conditional.
316
5dbf56af
MF
3172012-08-27 Mike Frysinger <vapier@gentoo.org>
318
319 [BZ #5400]
320 * NEWS: Add fixed bug number.
321
d6e70f43
JM
3222012-08-27 Joseph Myers <joseph@codesourcery.com>
323
7efb4737
JM
324 [BZ #14519]
325 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
326 underflowing exponent in case of negative sign.
327 * stdlib/tst-strtod-round-data: Add more tests.
328 * stdlib/tst-strtod-round.c (tests): Regenerated.
329
af92131a
JM
330 [BZ #3479]
331 * stdlib/strtod_l.c (NDIG): Remove.
332 (HEXNDIG): Likewise.
333 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
334 smallest representable value.
335 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
336 lie within an exact representation of 1/2 ulp of the result.
337 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
338 unconditionally.
339 (TENS_P9_IDX): Define unconditionally.
340 (TENS_P9_SIZE): Likewise.
341 (TENS_P10_IDX): Likewise.
342 (TENS_P10_SIZE): Likewise.
343 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
344 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
345 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
346 entries for 10^2^13 and 10^2^14.
347 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
348 (TENS_P13_IDX): Define.
349 (TENS_P13_SIZE): Likewise.
350 (TENS_P14_IDX): Likewise.
351 (TENS_P14_SIZE): Likewise.
352 (_fpioconst_pow10): Change array size to
353 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
354 unconditional.
355 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
356 1024]: Add entries for 10^2^13 and 10^2^14.
357 [LAST_POW10 > _LAST_POW10]: Remove #error.
358 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
359 (_fpioconst_pow10): Change array size to
360 FPIOCONST_POW10_ARRAY_SIZE.
361 * stdlib/gen-fpioconst.c: New file.
362 * stdlib/gen-tst-strtod-round.c: Likewise.
363 * stdlib/tst-strtod-round-data: Likewise.
364 * stdlib/tst-strtod-round.c: Likewise.
365 * stdlib/Makefile (tests): Add tst-strtod-round.
366
d6e70f43
JM
367 [BZ #14459]
368 * stdlib/strtod_l.c: Include <stdint.h>.
369 (NDEBUG): Do not define.
370 (round_and_return): Change EXPONENT parameter to type intmax_t.
371 Rearrange calculations to avoid internal overflow possibilities.
372 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
373 Rearrange calculations to avoid internal overflow possibilities.
374 Assert that number fits inside MPNSIZE limbs.
375 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
376 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
377 calculations and add assertions to avoid internal overflow
378 possibilities. Add casts to avoid signed/unsigned operations.
379 * stdlib/tst-strtod-overflow.c: New file.
380 * stdlib/Makefile (tests): Add tst-strtod-overflow.
381
1f529f7d
MP
3822012-08-25 Marek Polacek <polacek@redhat.com>
383
384 * time/time.h: Fix some typos in comments.
385
59a629f1
RM
3862012-08-23 Roland McGrath <roland@hack.frob.com>
387
388 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
389 * posix/tst-rfc3484-2.c: Likewise.
390 * posix/tst-rfc3484-3.c: Likewise.
391
d3bafbc9
SM
3922012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
393
394 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
395 (EF_ARM_ABI_FLOAT_HARD): Likewise.
396
4efcc022
JM
3972012-08-23 Joseph Myers <joseph@codesourcery.com>
398
399 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
400 #include of fxstatat64.c.
401
3cc3ef96
RM
4022012-08-22 Roland McGrath <roland@hack.frob.com>
403
f04e2132
RM
404 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
405 * shadow/getspent_r.c: Likewise.
406 * shadow/getspnam.c: Likewise.
407 * shadow/getspnam_r.c: Likewise.
408 * gshadow/getsgent.c: Likewise.
409 * gshadow/getsgent_r.c: Likewise.
410 * gshadow/getsgnam.c: Likewise.
411 * gshadow/getsgnam_r.c: Likewise.
412 * inet/getnetbyad.c: Likewise.
413 * inet/getnetbyad_r.c: Likewise.
414 * inet/getnetbynm.c: Likewise.
415 * inet/getnetbynm_r.c: Likewise.
416 * inet/getnetent.c: Likewise.
417 * inet/getnetent_r.c: Likewise.
418 * inet/getproto.c: Likewise.
419 * inet/getproto_r.c: Likewise.
420 * inet/getprtent.c: Likewise.
421 * inet/getprtent_r.c: Likewise.
422 * inet/getprtname.c: Likewise.
423 * inet/getprtname_r.c: Likewise.
424 * inet/getrpcbyname.c: Likewise.
425 * inet/getrpcbyname_r.c: Likewise.
426 * inet/getrpcbynumber.c: Likewise.
427 * inet/getrpcbynumber_r.c: Likewise.
428 * inet/getrpcent.c: Likewise.
429 * inet/getrpcent_r.c: Likewise.
430 * inet/getaliasent.c: Likewise.
431 * inet/getaliasent_r.c: Likewise.
432 * inet/getaliasname.c: Likewise.
433 * inet/getaliasname_r.c: Likewise.
434 * nscd/getgrgid_r.c: Likewise.
435 * nscd/getgrnam_r.c: Likewise.
436 * nscd/gethstbyad_r.c: Likewise.
437 * nscd/gethstbynm3_r.c: Likewise.
438 * nscd/getpwnam_r.c: Likewise.
439 * nscd/getpwuid_r.c: Likewise.
440 * nscd/getsrvbynm_r.c: Likewise.
441 * nscd/getsrvbypt_r.c: Likewise.
442 * nscd/gai.c: Likewise.
443
c53d909c
RM
444 * configure.in (build_nscd): New substituted variable, set
445 by --disable-build-nscd and defaults to $use_nscd.
446 * configure: Regenerated.
447 * config.make.in (build-nscd): New substituted variable.
448 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
449 Change conditional to require [$(build-nscd) = yes] as well.
450 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
451
3cc3ef96
RM
452 [BZ# 13696]
453 * configure.in (use_nscd): New substituted variable, set by
454 --disable-nscd. If enabled, define USE_NSCD.
455 * configure: Regenerated.
456 * config.h.in: Add USE_NSCD.
457 * config.make.in (use-nscd): New substituted variable.
458 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
459 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
460 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
461 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
462 (CFLAGS-getgrnam_r.c): Likewise.
463 (CFLAGS-initgroups.c): Likewise.
464 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
465 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
466 Variables removed.
467 * inet/getnetgrent_r.c
468 (nscd_setnetgrent): New function, broken out of ...
469 (setnetgrent): ... here. Call it.
470 (innetgr): Conditionalize nscd bits on [USE_NSCD].
471 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
472 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
473 * nscd/Makefile (routines, aux): Move definitions after include of
474 Makeconfig. Conditionalize on [$(use-nscd) != no].
475 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
476 Conditionalize on [USE_NSCD].
477 (is_nscd, nscd_init_cb): Likewise.
478 (nss_load_library): Conditionalize init callback on [USE_NSCD].
479 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
480 * nss/nss_db/db-init.c: Likewise.
481 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
482 [USE_NSCD].
483 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
484 (make_request): Use it.
485 (cache_valid_p): New function.
486 (__check_pf): Use it.
487 * NEWS: Add item for --disable-nscd.
488
07e51550
DL
4892012-08-22 Dmitry V. Levin <ldv@altlinux.org>
490
491 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
492 to support sed >= 4.2.1-20-ga9bf076.
493 * configure: Regenerated.
494
35a5b08b
RM
4952012-08-22 Roland McGrath <roland@hack.frob.com>
496
497 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
498 Conditionalize whole body on [IREL].
499
8479f23a
JL
5002012-08-22 Jeff Law <law@redhat.com>
501
502 [BZ #14505]
503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
504 if the family is PF_UNSPEC.
505
48da0b21
MF
5062012-08-22 Mike Frysinger <vapier@gentoo.org>
507
508 * Makerules (lib-version): Rename from V.
509 (install-lib-nosubdir): Change V to lib-version.
510
15d0da8c
WS
5112012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
512
513 [BZ #14252]
514 * powerpc32/power6/wcschr.c: New file.
515 * powerpc32/power6/wcscpy.c: New file.
516 * powerpc32/power6/wcsrchr.c: New file.
517 * powerpc64/power6/wcschr.c: New file.
518 * powerpc64/power6/wcscpy.c: New file.
519 * powerpc64/power6/wcsrchr.c: New file.
520
bcca0895
MK
5212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
522
523 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
524 (two_way_short_needle): Use it.
5a4aaa33
RM
525 * string/strstr.c (AVAILABLE1_USES_J): Define.
526 * string/strcasestr.c: Likewise.
99677e57
MK
527
528 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
529 array references.
530 * string/strcasestr.c (TOLOWER): Make side-effect safe.
531
400726de
MK
532 [BZ #11607]
533 * NEWS: Add an entry.
534 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
535 define their defaults.
536 (two_way_short_needle): Detect end-of-string on-the-fly.
537 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
538 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
539 * string/bug-strcasestr1.c: New test.
540 * string/Makefile: Run it.
541
20a71f2c
MK
5422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
543
544 [BZ #11607]
545 * string/str-two-way.h (two_way_short_needle): Optimize matching of
546 the first character.
547
21ad0558
RM
5482012-08-21 Roland McGrath <roland@hack.frob.com>
549
550 * csu/elf-init.c (__libc_csu_irel): Function removed.
551 * csu/libc-start.c (apply_irel): New function.
552 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
553
0e1d9911
JM
5542012-08-21 Joseph Myers <joseph@codesourcery.com>
555
556 * sysdeps/unix/sysv/linux/kernel-features.h
557 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
558 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
559 <kernel-features.h>.
560 [__NR_fadvise64_64]: Make code unconditional.
561 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
562 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
563 !__NR_fadvise64_64)]: Likewise.
564 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
565 !__NR_fadvise64_64))]: Likewise.
566 [__NR_fadvise64]: Make code unconditional.
567 [!__NR_fadvise64]: Remove conditional code.
568 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
569 <kernel-features.h>.
570 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
571 unconditional.
572 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
573 conditional code.
574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
575 not include <kernel-features.h>.
576 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
577 unconditional.
578 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
579 conditional code.
580 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
581 include <kernel-features.h>.
582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
583 unconditional.
584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
585 conditional code.
586
14a50c9d
WS
5872012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
588
589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
590 slight instruction rearrangements per scrollpipe analysis.
591 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
592
c0f4faf0
RM
5932012-08-20 Roland McGrath <roland@hack.frob.com>
594
696da859
RM
595 * manual/syslog.texi (syslog; vsyslog, closelog):
596 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
597 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
598
c0f4faf0
RM
599 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
600 DSOCAPS to match condition on defining it.
601
348363b2
JM
6022012-08-20 Joseph Myers <joseph@codesourcery.com>
603
a35cbf28
JM
604 * sysdeps/unix/sysv/linux/kernel-features.h
605 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
613 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
614 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
615
445f7ecd
JM
616 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
617 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
618
348363b2
JM
619 * sysdeps/unix/sysv/linux/kernel-features.h
620 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
621 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
622 unconditional.
623 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
624 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
625 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
626 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
627 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
628 Make code unconditional.
629 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
630 (__mmap64) [!__NR_mmap2]: Likewise.
631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
632 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
633 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
634 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
635 [__NR_mmap2]: Make code unconditional.
636 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
637 (__mmap64) [!__NR_mmap2]: Likewise.
638
bc5bc0e5
AK
6392012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
640
641 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
642
88d506de
AJ
6432012-08-18 Andreas Jaeger <aj@suse.de>
644
645 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
646
493387d2
MF
6472012-08-18 Mike Frysinger <vapier@gentoo.org>
648
649 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
650 * include/unistd.h (__have_sock_cloexec): Likewise.
651 (__have_pipe2): Likewise.
652 (__have_dup3): Likewise.
653
a277af22
MF
6542012-08-18 Mike Frysinger <vapier@gentoo.org>
655
656 [BZ #9685]
657 * include/unistd.h (__have_pipe2): Change define into an extern int.
658 (__have_dup3): Likewise.
659 * socket/have_sock_cloexec.c: Include fcntl.h.
660 (__have_pipe2): New variable.
661 (__have_dup3): Likewise.
662
fdab8fd3
MF
6632012-08-17 Mike Frysinger <vapier@gentoo.org>
664
665 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
666
31035e80
MP
6672012-08-17 Marek Polacek <polacek@redhat.com>
668
669 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
670 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
671
3bd9e993
RM
6722012-08-17 Roland McGrath <roland@hack.frob.com>
673
c91c505f
RM
674 * configure.in: Add AC_SUBST for sysheaders.
675 * configure: Regenerated.
676 * config.make.in (sysheaders): New substituted variable.
677
7c6f9d53
RM
678 * sysdeps/unix/mkfifo.c: Moved ...
679 * sysdeps/posix/mkfifo.c: ... here.
680 * sysdeps/unix/mkfifoat.c: Moved ...
681 * sysdeps/posix/mkfifoat.c: ... here.
682
683 * sysdeps/unix/utime.c: Moved ...
684 * sysdeps/posix/utime.c: ... here.
685
686 * sysdeps/unix/time.c: Moved ...
687 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
688 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
689 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
690
691 * sysdeps/unix/nice.c: Moved ...
692 * sysdeps/posix/nice.c: ... here.
693
694 * sysdeps/unix/alarm.c: Moved ...
695 * sysdeps/posix/alarm.c: ... here.
696
3bd9e993
RM
697 * intl/Makefile ($(codeset_mo)): Depend on the input file.
698
d1f09384
JL
6992012-08-17 Jeff Law <law@redhat.com>
700
701 * intl/Makefile (codeset_mo): New variable.
702 ($(codeset_mo)): New target.
703 (tst-codeset.out): Depend on that. Remove explicit rule.
704 (tst-gettext3.out, tst-gettext5.out): Likewise.
705 (LOCPATH-ENV, tst-codeset-ENV): New variables.
706 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
707 * intl/tst-codeset.sh: Remove.
708 * intl/tst-gettext3.sh: Likewise.
709 * intl/tst-gettext5.sh: Likewise.
710
2ae1ae5c
RM
7112012-08-17 Roland McGrath <roland@hack.frob.com>
712
c31fdb83
RM
713 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
714 * sysdeps/unix/syscalls.list: ... here.
715
a0844057
RM
716 * sysdeps/posix/getaddrinfo.c
717 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
718 (gaiconf_init, gaiconf_reload): Use them.
719 [!_STATBUF_ST_NSEC]
720 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
721 Define using time_t rather than struct timespec.
722
750c1f2a
RM
723 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
724 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
725 Macros removed.
726 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
727 [!NO_THREADS].
728 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
729 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
730 Likewise.
731
2ae1ae5c
RM
732 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
733 __libc_cleanup_push argument.
734
e66a42f5
RM
735 * bits/param.h: New file.
736 * misc/sys/param.h: New file.
737 * include/sys/param.h: New file.
738 * misc/Makefile (headers): Add bits/param.h.
739 * sysdeps/generic/sys/param.h: File removed.
740 * sysdeps/unix/sysv/linux/bits/param.h: New file.
741 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
742 * sysdeps/mach/hurd/bits/param.h: New file.
743 * sysdeps/mach/hurd/sys/param.h: New file.
744
b7c08a66
RM
745 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
746 last change.
747
b2e1c562
RM
748 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
749 [_IO_MTSAFE_IO].
750 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
751 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
752 New macros.
753
c75ccd4c
RM
754 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
755 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
756 rather than -D_IO_MTSAFE_IO conditionally.
757 * stdio-common/Makefile (CPPFLAGS): Likewise.
758 * wcsmbs/Makefile (CPPFLAGS): Likewise.
759 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
760 Use $(libio-mtsafe).
761 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
762 of -D_IO_MTSAFE_IO.
763 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
764 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
765 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
766 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
767 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
768 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
769 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
770 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
771 (CFLAGS-fread_u_chk.c): Likewise.
772 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
773 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
774 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
775 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
776 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
777 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
778 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
779 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
780 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
781
782 * libio/Makefile: Test [$(libc-reentrant) = yes]
783 instead of [$(filter %REENTRANT, $(defines)) nonempty].
784
785 * Makeconfig
786 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
787 * sysdeps/pthread/configure: File removed.
788 * sysdeps/pthread/Makeconfig: New file.
789 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
790 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
791
d9195db8
GB
7922012-08-16 Gary Benson <gbenson@redhat.com>
793
794 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
795 unmapping the first object in a namespace.
796
86466cd9
RM
7972012-08-16 Roland McGrath <roland@hack.frob.com>
798
799 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
800 (__internal_setnetgrent): ... this. Add internal_function to
801 definition. Add libc_hidden_def.
802 (setnetgrent): Update caller.
803 (internal_endnetgrent): Renamed to ...
804 (__internal_endnetgrent): ... this. Add internal_function to
805 definition. Add libc_hidden_def.
806 (endnetgrent): Update caller.
807 (internal_getnetgrent_r): Renamed to ...
808 (__internal_getnetgrent_r): ... this. Add internal_function to
809 definition. Add libc_hidden_def.
810 (__getnetgrent_r): Update caller.
811 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
812
c3c8283c
JM
8132012-08-16 Joseph Myers <joseph@codesourcery.com>
814
815 * stdlib/longlong.h: Update from GCC.
816
db1ee0a8
RM
8172012-08-16 Roland McGrath <roland@hack.frob.com>
818
819 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
820 on _QL, which is set by umul_ppmm but never used.
821 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
822 variables, which are set by GMP macros but never used.
823 * stdio-common/_itowa.c (_itowa): Likewise.
824 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
825 * stdlib/mod_1.c (mpn_mod_1): Likewise.
826
30f69637
CD
8272012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
828
829 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
830 struct La_sh_regs is not constant.
831 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
832 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
833 and struct La_sparc64_regs are not constant.
834
93a78ac4
JM
8352012-08-16 Joseph Myers <joseph@codesourcery.com>
836
837 * sysdeps/unix/sysv/linux/kernel-features.h
838 (__ASSUME_POSIX_TIMERS): Remove.
839 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
841 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
842 Make code unconditional.
843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
844 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
845 Make code unconditional.
846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
847 * sysdeps/unix/sysv/linux/clock_nanosleep.c
848 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
850 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
851 Make code unconditional.
852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
853 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
854 (__libc_missing_posix_timers): Remove.
855
dd924cd7
RM
8562012-08-15 Roland McGrath <roland@hack.frob.com>
857
4b4f2771
RM
858 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
859 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
860
601c888b
RM
861 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
862
176790a7
RM
863 * elf/dl-sym.c: Include <stdlib.h>.
864
329bc018
RM
865 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
866 constants, which avoids warnings in 32-bit builds.
867
e04e272d
RM
868 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
869 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
870
952bf94a
RM
871 * misc/lseek.c: File moved to ...
872 * io/lseek.c: ... here.
873
7c99b50a
RM
874 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
875
dd924cd7
RM
876 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
877 shifting LEN more than 31 bits at once.
878
b3f479a8
LD
8792012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
880
881 [BZ #14195]
8c4ae0d4
RM
882 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
883 segmentation fault for a case of two empty input strings.
b3f479a8
LD
884 * string/test-strncasecmp.c (check1): Renamed to...
885 (bz12205): ...this.
886 (bz14195): Add new testcase for two empty input strings and N > 0.
887 (test_main): Call new testcase, adapt for renamed function.
888
9c55864e
AJ
8892012-08-15 Andreas Jaeger <aj@suse.de>
890
891 [BZ #14090]
892 * crypt/md5test2.c: New test, based on test supplied by Serge
893 Belyshev <belyshev@depni.sinp.msu.ru>.
894 * crypt/Makefile (xtests): Add md5test-giant..
895 * crypt/Makefile ($(objpfx)md5test-giant): Add.
896
02dcb6c5
PE
8972012-08-15 Paul Eggert <eggert@cs.ucla.edu>
898
899 [BZ #14090]
900 * crypt/md5.c (md5_process_block): Don't assume the buffer
901 length is less than 2**32.
902 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
903 length is less than 2**64.
904
a3f95dcc
RM
9052012-08-15 Roland McGrath <roland@hack.frob.com>
906
be75d758
RM
907 * string/str-two-way.h: Include <sys/param.h>.
908 (MAX): Macro removed.
909
7312ca90
RM
910 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
911 Move #define and #undef of memmove to just before and after
912 including <string.h>.
913
9a0a5486
RM
914 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
915 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
916 and after including <string.h>. Move declarations of
917 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
918 to before #include "string/memmove.c".
919
67cc348d
RM
920 * include/dirent.h: Declare __getdirentries.
921
a3f95dcc
RM
922 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
923 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
924
ca98e171
MF
9252012-08-14 Mike Frysinger <vapier@gentoo.org>
926
927 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
928 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
929 * sysdeps/i386/configure: Regenerated.
930 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
931 STABS_CURRENT_FILE, and STABS_FUN.
932 (END): Remove call to STABS_FUN_END.
933 (STABS_CURRENT_FILE1): Delete.
934 (STABS_CURRENT_FILE): Likewise.
935 (STABS_FUN): Likewise.
936 (STABS_FUN_END): Likewise.
937 (STABS_FUN2): Likewise.
938 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
939 * sysdeps/x86_64/configure: Regenerated.
940
5908bf46
RM
9412012-08-14 Roland McGrath <roland@hack.frob.com>
942
943 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 944 * elf/dl-lookup.c: Likewise.
5908bf46 945
f2c05b9e
JM
9462012-08-14 Joseph Myers <joseph@codesourcery.com>
947
948 * sysdeps/unix/sysv/linux/kernel-features.h
949 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
950 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
951 unconditionally.
952 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
953 unconditionally.
954 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
955 condition on __ASSUME_CLONE_THREAD_FLAGS.
956
e11f5155
AJ
9572012-08-14 Andreas Jaeger <aj@suse.de>
958
959 * sysdeps/i386/fpu/libm-test-ulps: Update.
960
51a9ba86
MK
9612012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
962
2fdd4f78
AJ
963 * include/atomic.h (atomic_exchange_and_add): Split into ...
964 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
965 New atomic macros.
51a9ba86 966
ba6cba9e
MT
9672012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
968
969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
970
42443a47
JL
9712012-08-13 Jeff Law <law@redhat.com>
972
973 * manual/stdio.texi (snprintf): Clarify handling of the trailing
974 null byte in the output string.
975
121dce05
JM
9762012-08-10 Joseph Myers <joseph@codesourcery.com>
977
978 * sysdeps/unix/sysv/linux/kernel-features.h
979 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
980 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
981 (__ASSUME_ARG_MAX_STACK_BASED): Define.
982 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
983 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
984 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
985 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
986
bf51f568
JL
9872012-08-09 Jeff Law <law@redhat.com>
988
989 [BZ #13939]
990 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
991 When avoid_arena is set, don't retry in the that arena. Pick the
992 next one, whatever it might be.
993 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
994 (arena_lock): Pass in new parameter to arena_get2.
995 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
996 arena_get2.
997 (__libc_malloc): Unify retrying after main arena failure with
998 __libc_memalign version.
999 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1000
f85fa270
L
10012012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1002
1003 [BZ #14166]
1004 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1005 to __redirect_strstr.
1006 (__strstr_sse42): Use typeof __redirect_strstr.
1007 (__strstr_ia32): Likewise.
1008 (__libc_strstr): New prototype.
1009 (strstr): Renamed to ...
1010 (__libc_strstr): This.
1011 (strstr): New strong alias of __libc_strstr.
1012 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1013 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1014 __redirect_time.
1015 Include <time.h>.
1016 (__libc_time): New prototype.
1017 (time_ifunc): Replace time with __libc_time.
1018 (time): New strong alias and hidden definition of __libc_time.
1019 (__GI_time): Remove strong alias.
1020 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1021 Include <stddef.h>.
1022 (memmove): Redefined to __redirect_memmove.
1023 (__memmove_sse2): Use typeof __redirect_memmove.
1024 (__memmove_ssse3): Likewise.
1025 (__memmove_ssse3_back): Likewise.
1026 (__libc_memmove): New prototype.
1027 (memmove): Renamed to ...
1028 (__libc_memmove): This.
1029 (memmove): New strong alias of __libc_memmove.
1030
33b4a91e
MS
10312012-08-08 Mark Salter <msalter@redhat.com>
1032
1033 * elf/elf.h
1034 (R_MN10300_TLS_GD): Define.
1035 (R_MN10300_TLS_LD): Likewise.
1036 (R_MN10300_TLS_LDO): Likewise.
1037 (R_MN10300_TLS_GOTIE): Likewise.
1038 (R_MN10300_TLS_IE): Likewise.
1039 (R_MN10300_TLS_LE): Likewise.
1040 (R_MN10300_TLS_DTPMOD): Likewise.
1041 (R_MN10300_TLS_DTPOFF): Likewise.
1042 (R_MN10300_TLS_TPOFF): Likewise.
1043 (R_MN10300_SYM_DIFF): Likewise.
1044 (R_MN10300_ALIGN): Likewise.
1045 (R_MN10300_NUM): Update.
1046
b36137f1
JM
10472012-08-08 Joseph Myers <joseph@codesourcery.com>
1048
1049 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1050 Remove.
1051
cdd915fd
RM
10522012-08-08 Roland McGrath <roland@hack.frob.com>
1053
a2433aac
RM
1054 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1055
cdd915fd
RM
1056 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1057 sysdeps/unix -> sysdeps/posix move.
1058 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1059
bf9b740a
AM
10602012-08-07 Allan McRae <allan@archlinux.org>
1061
1062 [BZ #14303]
1063 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1064 (SUNOS_CPP): Likewise.
1065 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1066 not found.
1067 (open_input): Call CPP using execvp.
1068
93df14ee
JM
10692012-08-07 Joseph Myers <joseph@codesourcery.com>
1070
1071 * sysdeps/unix/sysv/linux/kernel-features.h
1072 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1073 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1074 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1075 (__ASSUME_WAITID_SYSCALL): Likewise.
1076 * sysdeps/unix/sysv/linux/dl-execstack.c
1077 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1078 code unconditional.
1079 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1080 conditional code.
1081 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1082 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1083 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1084 code.
1085 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1086 unconditional.
1087 [__ASSUME_WAITID_SYSCALL]: Likewise.
1088 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1089
d34689de
RM
10902012-08-07 Roland McGrath <roland@hack.frob.com>
1091
a281decc
RM
1092 * sysdeps/unix/closedir.c: Renamed to ...
1093 * sysdeps/posix/closedir.c: ... here.
1094 * sysdeps/unix/dirfd.c: Renamed to ...
1095 * sysdeps/posix/dirfd.c: ... here.
1096 * sysdeps/unix/dirstream.h: Renamed to ...
1097 * sysdeps/posix/dirstream.h: ... here.
1098 * sysdeps/unix/fdopendir.c: Renamed to ...
1099 * sysdeps/posix/fdopendir.c: ... here.
1100 * sysdeps/unix/opendir.c: Renamed to ...
1101 * sysdeps/posix/opendir.c: ... here.
1102 * sysdeps/unix/readdir.c: Renamed to ...
1103 * sysdeps/posix/readdir.c: ... here.
1104 * sysdeps/unix/readdir_r.c: Renamed to ...
1105 * sysdeps/posix/readdir_r.c: ... here.
1106 * sysdeps/unix/rewinddir.c: Renamed to ...
1107 * sysdeps/posix/rewinddir.c: ... here.
1108 * sysdeps/unix/seekdir.c: Renamed to ...
1109 * sysdeps/posix/seekdir.c: ... here.
1110 * sysdeps/unix/telldir.c: Renamed to ...
1111 * sysdeps/posix/telldir.c: ... here.
1112 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1113 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1114 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1115 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1116
22895b47
RM
1117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1118 * bits/fcntl.h: ... here.
1119
707a53b6
RM
1120 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1121 not 0.
1122 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1123 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1124 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1125 (struct flock): Move l_start, l_len to the beginning.
1126 Use __pid_t for l_pid.
1127 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1128 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1129 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1130 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1131 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1132 [__USE_LARGEFILE64] (struct flock64): New type.
1133 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1134
f0bd3e25
RM
1135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1136 * bits/dirent.h: ... here.
1137
d34689de
RM
1138 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1139 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1140
6dad2c06
JM
11412012-08-07 Joseph Myers <joseph@codesourcery.com>
1142
1143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1144 Change from 2.6.0 to 2.6.16.
1145 * sysdeps/unix/sysv/linux/configure: Regenerated.
1146 * sysdeps/unix/sysv/linux/kernel-features.h
1147 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1148 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1149 version.
1150 (__ASSUME_UTIMES): Likewise.
1151 (__ASSUME_CLONE_STOPPED): Remove.
1152 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1153 architectures, not kernel version.
1154 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1155 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1156 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1157 (__ASSUME_WAITID_SYSCALL): Likewise.
1158 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1159 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1160 * README: State 2.6.16 as minimum Linux kernel version. Do not
1161 refer to older versions.
1162
03af9520
RM
11632012-08-06 Roland McGrath <roland@hack.frob.com>
1164
8e49df1d
RM
1165 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1166 Define alphasort64 as an alias.
1167 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1168 Define versionsort64 as an alias.
1169 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1170 Define scandir64 as an alias.
1171 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1172 Define scandirat64 as an alias.
1173 * dirent/alphasort64.c (alphasort64):
1174 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1175 * dirent/versionsort64.c: Likewise.
1176 * dirent/scandir64.c: Likewise.
1177 * dirent/scandirat64.c: Likewise.
1178 * sysdeps/wordsize-64/alphasort.c: File removed.
1179 * sysdeps/wordsize-64/alphasort64.c: File removed.
1180 * sysdeps/wordsize-64/scandir.c: File removed.
1181 * sysdeps/wordsize-64/scandir64.c: File removed.
1182 * sysdeps/wordsize-64/scandirat.c: File removed.
1183 * sysdeps/wordsize-64/scandirat64.c: File removed.
1184 * sysdeps/wordsize-64/versionsort.c: File removed.
1185 * sysdeps/wordsize-64/versionsort64.c: File removed.
1186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1187 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1189 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1191 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1192 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1193 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1194
1195 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1197 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1199 [defined __arch64__ || defined __sparcv9]
1200 (__INO_T_MATCHES_INO64_T): New macro.
1201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1202 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1203 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1204 * sysdeps/unix/sysv/linux/bits/dirent.h
1205 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1206 (_DIRENT_MATCHES_DIRENT64): New macro.
1207
03af9520
RM
1208 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1209 Define lockf64 as an alias.
1210 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1211 Define fseeko64 as an alias.
1212 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1213 Define ftello64 as an alias.
1214 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1215 Define _IO_fgetpos64 and fgetpos64 as aliases.
1216 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1217 Define _IO_fsetpos64 and fsetpos64 as aliases.
1218 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1219 Conditionalize body on this.
1220 * libio/fseeko64.c: Likewise.
1221 * libio/ftello64.c: Likewise.
1222 * libio/iofgetpos64.c: Likewise.
1223 * libio/iofsetpos64.c: Likewise.
1224 * sysdeps/wordsize-64/lockf.c: File removed.
1225 * sysdeps/wordsize-64/lockf64.c: File removed.
1226 * sysdeps/wordsize-64/fseeko.c: File removed.
1227 * sysdeps/wordsize-64/fseeko64.c: File removed.
1228 * sysdeps/wordsize-64/ftello.c: File removed.
1229 * sysdeps/wordsize-64/ftello64.c: File removed.
1230 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1231 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1232 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1233 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1234 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1235 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1236 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1237 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1238 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1239 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1242 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1244
1245 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1247 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1249 [defined __arch64__ || defined __sparcv9]
1250 (__OFF_T_MATCHES_OFF64_T): New macro.
1251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1252 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1254 (__OFF_T_MATCHES_OFF64_T): New macro.
1255
c5757acd
L
12562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1257
1258 * stdlib/secure-getenv.c (__secure_getenv): Replace
1259 GLIBC_2_16 with GLIBC_2_17.
1260
3a31811e
L
12612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1264 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1265
faa2bccb
DM
12662012-08-03 David S. Miller <davem@davemloft.net>
1267
1268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1269
85fe1997
JM
12702012-08-03 Joseph Myers <joseph@codesourcery.com>
1271
1272 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1273 Remove.
1274 (__ASSUME_CORRECT_SI_PID): Likewise.
1275 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1276 (__ASSUME_TMPFS_NAME): Likewise.
1277 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1278 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1279 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1280 (HAVE_AUX_SECURE): Make definition unconditional.
1281 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1282 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1283
4f75b7a0
RM
12842012-08-03 Roland McGrath <roland@hack.frob.com>
1285
1286 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1287 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1288 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1289 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1290 __eloop_threshold instead of SYMLOOP_MAX.
1291
1292 * sysdeps/generic/eloop-threshold.h: New file.
1293 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1294 of MAXSYMLINKS.
1295 * elf/chroot_canon.c (chroot_canon): Likewise.
1296
7aab07e4
JM
12972012-08-03 Joseph Myers <joseph@codesourcery.com>
1298
1299 [BZ #13717]
1300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1301 Change to 2.6.0 everywhere.
1302 * sysdeps/unix/sysv/linux/configure: Regenerated.
1303 * sysdeps/unix/sysv/linux/kernel-features.h
1304 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1305 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1306 kernel versions.
1307 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1308 (__ASSUME_FUTEX_REQUEUE): Remove.
1309 (__ASSUME_STATFS64): Define unconditionally.
1310 (__ASSUME_AT_SECURE): Likewise.
1311 (__ASSUME_CORRECT_SI_PID): Likewise.
1312 (__ASSUME_TGKILL): Define without depending on kernel version for
1313 i386.
1314 (__ASSUME_UTIMES): Likewise.
1315 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1316 kernel version.
1317 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1318 (__ASSUME_TMPFS_NAME): Likewise.
1319 * README: Update reference to Linux kernel versions.
1320
b67e9372
MP
13212012-08-02 Marek Polacek <polacek@redhat.com>
1322
1f529f7d 1323 [BZ# 14150]
b67e9372
MP
1324 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1325 libc_cv_asm_type_prefix with %.
1326 * configure: Regenerated.
d2441631
RM
1327 * include/libc-symbols.h: Remove comment about
1328 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1329 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1330 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1331 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1332 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1333 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1334 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1335 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1336 * elf/tst-unique2mod1.c: Likewise.
1337 * elf/tst-unique1mod2.c: Likewise.
1338 * elf/tst-unique1mod1.c: Likewise.
1339 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1340 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1341 Replace ASM_TYPE_DIRECTIVE with .type.
1342 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1343 * sysdeps/i386/sysdep.h: Likewise.
1344 * sysdeps/x86_64/sysdep.h: Likewise.
1345 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1347 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1348 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1349 * sysdeps/powerpc/powerpc32/sysdep.h:
1350 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1351 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1352 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1353 * sysdeps/i386/fpu/e_powf.S: Likewise.
1354 * sysdeps/i386/fpu/e_expl.S: Likewise.
1355 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1356 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1357 * sysdeps/i386/fpu/e_pow.S: Likewise.
1358 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1359 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1360 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1361 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1362 * sysdeps/i386/fpu/e_log2.S: Likewise.
1363 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1364 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1365 * sysdeps/i386/fpu/e_powl.S: Likewise.
1366 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1367 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1368 * sysdeps/i386/fpu/e_logl.S: Likewise.
1369 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1374 * sysdeps/i386/fpu/e_log.S: Likewise.
1375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1376 * sysdeps/i386/fpu/e_logf.S: Likewise.
1377 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1378 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1379 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1380 * sysdeps/i386/fpu/e_log10.S: Likewise.
1381 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1382 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1383 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1384 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1385 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1386 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1387 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1388 * sysdeps/i386/i686/strtok.S: Likewise.
1389 * sysdeps/i386/i386-mcount.S: Likewise.
1390 * sysdeps/i386/strtok.S: Likewise.
1391 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1395 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1396 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1397 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1398 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1399 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1400 * sysdeps/x86_64/_mcount.S: Likewise.
1401 * sysdeps/x86_64/strtok.S: Likewise.
1402 * sysdeps/sh/_mcount.S: Likewise.
1403
2747bf9a
RM
14042012-08-01 Roland McGrath <roland@hack.frob.com>
1405
1406 * libio/iofopen.c: Include <fcntl.h>.
1407 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1408 (_IO_fopen64, fopen64): Define as aliases.
1409 * libio/iofopen64.c: Include <fcntl.h>.
1410 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1411 Conditionalize body on this.
1412 * sysdeps/wordsize-64/iofopen.c: File removed.
1413 * sysdeps/wordsize-64/iofopen64.c: File removed.
1414
3fb791b8
MP
14152012-08-01 Marek Polacek <polacek@redhat.com>
1416
1417 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1418 Use dlfcn directly instead of a variable.
1419 (binfmt-subdir): Do not define.
1420 (dlfcn): Likewise.
1421
a9f1039f
JM
14222012-08-01 Joseph Myers <joseph@codesourcery.com>
1423
23bddc06
JM
1424 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1425 Remove all definitions.
1426 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1427 <kernel-features.h>.
1428 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1429 (miss_F_GETOWN_EX): Remove all definitions.
1430 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1431 macro definition.
1432 [!__ASSUME_FCNTL64]: Remove conditional code.
1433 [__ASSUME_FCNTL64]: Make code unconditional.
1434 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1435 <kernel-features.h>.
1436 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1437 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1438 (lockf64) [__NR_fcntl64]: Make code unconditional.
1439 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1440
a9f1039f
JM
1441 * sysdeps/unix/sysv/linux/kernel-features.h
1442 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1443 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1444 Make code unconditional.
1445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1448 [__NR_vfork]: Make code unconditional.
1449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1452 [__NR_vfork]: Make code unconditional.
1453 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1454 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1455
09c0ee5f
RM
14562012-08-01 Roland McGrath <roland@hack.frob.com>
1457
48aec5b9
RM
1458 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1459 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1460
cd97c966
RM
1461 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1462 Define mkstemp64 as an alias.
3f55550c
RM
1463 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1464 Define mkstemps64 as an alias.
cd97c966
RM
1465 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1466 Define mkostemp64 as an alias.
b8625cfc
RM
1467 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1468 Define mkostemps64 as an alias.
cd97c966
RM
1469 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1470 Conditionalize body on this.
1471 * misc/mkostemp64.c: Likewise.
b8625cfc 1472 * misc/mkostemps64.c: Likewise.
3f55550c 1473 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1474 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1475 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1476 * sysdeps/wordsize-64/mkostemp.c: File removed.
1477 * sysdeps/wordsize-64/mkstemp.c: File removed.
1478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1479 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1480 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1481 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1482
09c0ee5f
RM
1483 [BZ #14138]
1484 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1485 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1486 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1487 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1488
1489 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1490 compat_symbol macros from <shlib-compat.h> rather than the underlying
1491 default_symbol_version and symbol_version macros, so that DEFAULT
1492 lines in shlib-versions are respected.
1493 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1494
7e66ee51
FW
14952012-08-01 Florian Weimer <fweimer@redhat.com>
1496
1497 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1498 Declare with warn_unused_result.
1499 (setgid, setregid, setegid, setresgid): Likewise.
1500 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1501 Likewise.
1502 * WUR-REPORT: Remove set*id functions.
1503
d2a54255
PT
15042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1505
1506 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1507
7ecdb005
RM
15082012-07-31 Roland McGrath <roland@hack.frob.com>
1509
789bd351
RM
1510 * include/sys/socket.h (__libc_accept, __libc_accept4):
1511 Add attribute_hidden.
1512 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1513
40ce302d
RM
1514 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1515 use of PTR_MANGLE.
1516 * inet/getnetgrent_r.c (setup): Likewise.
1517
7ecdb005
RM
1518 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1519
e2eabb2c
DM
15202012-07-31 David S. Miller <davem@davemloft.net>
1521
1522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1523
d0419dbf
JM
15242012-07-31 Joseph Myers <joseph@codesourcery.com>
1525
1526 [BZ #13629]
1527 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1528 value between 1.0 and 2.0 and smaller part has absolute value less
1529 than 1.0.
1530 * math/s_clog10.c (__clog10): Likewise.
1531 * math/s_clog10f.c (__clog10f): Likewise.
1532 * math/s_clog10l.c (__clog10l): Likewise.
1533 * math/s_clogf.c (__clogf): Likewise.
1534 * math/s_clogl.c (__clogl): Likewise.
1535 * math/libm-test.inc (clog_test): Add more tests.
1536 (clog10_test): Likewise.
1537 * sysdeps/i386/fpu/libm-test-ulps: Update.
1538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1539
2bc13872
FW
15402012-07-31 Florian Weimer <fweimer@redhat.com>
1541
1542 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1543 Exit with zero in case no suitable GID is found, and write a
1544 message to standard error.
1545
bea9b193
RM
15462012-07-30 Roland McGrath <roland@hack.frob.com>
1547
1548 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1549 rather than to 1.
1550 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1551 (MAXPATHLEN): Removed.
1552 (NOGROUP, NODEV): New macros.
1553 (setbit, clrbit, isset, isclr): New macros.
1554 (howmany, roundup, powerof2): New macros.
1555 (DEV_BSIZE): New macro.
1556
1557 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1558 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1559
1560 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1561 definition on [!__NO_LONG_DOUBLE_MATH].
1562
1563 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1564 PTR_MANGLE and PTR_DEMANGLE.
1565
1566 * socket/accept4.c (accept4): Rename to __libc_accept4.
1567 Define accept4 as a weak alias.
1568
1569 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1570 on [_DIRENT_HAVE_D_TYPE].
1571 * io/ftw.c (ftw_dir): Likewise.
1572
1573 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1574
1575 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1576
1577 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1578 Use the BSD numbers rather than the arbitrary ones we had.
1579 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1580 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1581 (SIGXCPU, SIGXFSZ): New macros.
1582 (_NSIG): Now 32.
1583
1584 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1585 initializer on [_LIBC_REENTRANT].
1586
1587 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1588 definitions inside [_POSIX_MAPPED_FILES].
1589
1590 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1591
1592 * dirent/opendir.c: Include <fcntl.h>.
1593
1594 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1595 (__libc_getspecific): Likewise.
1596 (__libc_key_create): Likewise.
1597
1598 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1599 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1600 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1601 (tmpfile64): Define as alias.
1602 * sysdeps/wordsize-64/tmpfile.c: File removed.
1603 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1604 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1605 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1606
1607 * stdio-common/vfscanf.c: Include <stdbool.h>.
1608 * nss/makedb.c: Likewise.
1609 * stdio-common/_i18n_number.h: Likewise.
1610 * argp/argp-help.c: Likewise.
1611 * posix/wordexp.c: Likewise.
1612 * sysdeps/posix/spawni.c: Likewise.
1613 * nss/nss_files/files-initgroups.c: Likewise.
1614 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1615 * nss/nss_files/files-initgroups.c: Likewise.
1616 * nss/nss_db/db-netgrp.c: Likewise.
1617 * nss/nss_db/db-initgroups.c: Likewise.
1618 * io/fchmodat.c: Include <sys/stat.h>.
1619
1620 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1621 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1622
1623 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1624 [HAVE_MMAP].
1625
1626 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1627 Add multiple inclusion protection.
1628
e5abc686
DM
16292012-07-27 David S. Miller <davem@davemloft.net>
1630
1631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1632
815e6fa3
GB
16332012-07-27 Gary Benson <gbenson@redhat.com>
1634
1635 [BZ #14298]
1636 * elf/rtld.c: Include <stap-probe.h>.
1637 (dl_main): Added static probes "init_start" and "init_complete".
1638 * elf/dl-load.c: Include <stap-probe.h>.
1639 (lose): Take new parameter "nsid".
1640 Added static probe "map_failed".
1641 (_dl_map_object_from_fd): Pass namespace id to lose.
1642 Added static probe "map_start".
1643 (open_verify): Pass namespace id to lose.
1644 * elf/dl-open.c: Include <stap-probe.h>.
1645 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1646 and "reloc_complete".
1647 * elf/dl-close.c: Include <stap-probe.h>.
1648 (_dl_close_worker): Added static probes "unmap_start" and
1649 "unmap_complete".
1650 * elf/rtld-debugger-interface.txt: New file documenting the above.
1651
9f98c16c
RM
16522012-07-26 Roland McGrath <roland@hack.frob.com>
1653
1654 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1655 rather than a string variable.
1656 * sunrpc/rpc_main.c (h_output): Likewise.
1657 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1658
f3c22df3
PT
16592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1660
1661 * inet/check_native.c: New file.
1662
3129cfc6
JM
16632012-07-26 Joseph Myers <joseph@codesourcery.com>
1664
da865e95
JM
1665 [BZ #13629]
1666 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1667 if larger part has absolute value 1.0.
1668 * math/s_clog10.c (__clog10): Likewise.
1669 * math/s_clog10f.c (__clog10f): Likewise.
1670 * math/s_clog10l.c (__clog10l): Likewise.
1671 * math/s_clogf.c (__clogf): Likewise.
1672 * math/s_clogl.c (__clogl): Likewise.
1673 * math/libm-test.inc (clog_test): Add more tests.
1674 (clog10_test): Likewise.
1675 * sysdeps/i386/fpu/libm-test-ulps: Update.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1677
3129cfc6
JM
1678 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1679 (pltexit): Likewise.
1680 (La_regs): Likewise.
1681 (La_retval): Likewise.
1682 (int_retval): Likewise.
1683 Update #error for removed macros to refer only to definitions in
1684 tst-audit.h.
1685 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1686 macro.
1687 (pltexit): Likewise.
1688 (La_regs): Likewise.
1689 (La_retval): Likewise.
1690 (int_retval): Likewise.
1691 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1692 macro.
1693 (pltexit): Likewise.
1694 (La_regs): Likewise.
1695 (La_retval): Likewise.
1696 (int_retval): Likewise.
1697 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1698 macro.
1699 (pltexit): Likewise.
1700 (La_regs): Likewise.
1701 (La_retval): Likewise.
1702 (int_retval): Likewise.
1703 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1704 macro.
1705 (pltexit): Likewise.
1706 (La_regs): Likewise.
1707 (La_retval): Likewise.
1708 (int_retval): Likewise.
1709 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1710 macro.
1711 (pltexit): Likewise.
1712 (La_regs): Likewise.
1713 (La_retval): Likewise.
1714 (int_retval): Likewise.
1715 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1716 macro.
1717 (pltexit): Likewise.
1718 (La_regs): Likewise.
1719 (La_retval): Likewise.
1720 (int_retval): Likewise.
1721 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1722 macro definitions in tst-audit.h.
1723 * sysdeps/i386/tst-audit.h: New file.
1724 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1725 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1726 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1727 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1728 * sysdeps/sh/tst-audit.h: Likewise.
1729 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1730 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1731 * sysdeps/x86_64/tst-audit.h: Likewise.
1732
bfc07087
AJ
17332012-07-26 Andreas Jaeger <aj@suse.de>
1734
b1b2aaf8
AJ
1735 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1736 ptrace.
1737
1738 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1739 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1740 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1741 PTRACE_O_MASK.
1742 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1743 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1745
bfc07087
AJ
1746 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1747 value.
1748
1749 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1750 _sigsys.
1751 (si_call_addr, si_syscall, si_arch): Define new macro.
1752 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1753 _sigsys.
1754 (si_call_addr, si_syscall, si_arch): Define new marcro.
1755 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1756 _sigsys.
1757 (si_call_addr, si_syscall, si_arch): Define new macro.
1758 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1759 _sigsys.
1760 (si_call_addr, si_syscall, si_arch): Define new macro.
1761
89b4b02f
JM
17622012-07-25 Joseph Myers <joseph@codesourcery.com>
1763
1764 [BZ #13717]
1765 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1766 Change to 2.4.21 where previously 2.4.1.
1767 * sysdeps/unix/sysv/linux/configure: Regenerated.
1768 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1769 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1770 Linux kernel version.
1771 (__ASSUME_STD_AUXV): Remove.
1772 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1773 kernel version.
1774 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1775 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1776 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1777 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1778 (__ASSUME_NETLINK_SUPPORT): Likewise.
1779 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1780 (__no_netlink_support): Remove conditional definition.
1781 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1782 Remove.
1783 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1784 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1785 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1786 (if_nameindex_ioctl): Remove.
1787 (if_nameindex_netlink): Do not handle __no_netlink_support.
1788 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1789 code.
1790 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1791 Remove conditional code.
1792 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1793 code.
1794 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1795 unconditional.
1796 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1797 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1798 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1799 Remove.
1800 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1801 [!__ASSUME_STD_AUXV]: Remove conditional code.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1803 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1804 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1806 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1807 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1808 code.
1809 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1811 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1812 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1813 conditional code.
1814 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1816 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1817 code.
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1819 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1820 conditional code.
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1822 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1823 code unconditional.
1824 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1825 conditional code.
1826 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1827 unconditional.
1828 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1829 conditional code.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1831 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1832 unconditional.
1833 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1834 conditional code.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1836 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1837 code unconditional.
1838 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1839 conditional code.
1840 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1841 unconditional.
1842 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1843 conditional code.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1845 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1846 code unconditional.
1847 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1848 conditional code.
1849 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1850 unconditional.
1851 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1852 conditional code.
1853
842a39cd
AS
18542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1855
1856 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1857 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1858 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1859 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1860 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1861 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1862 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1863 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1864 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1865 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1866 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1867 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1868 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1869 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1870 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1871 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1873 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1874 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1876 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1877 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1878 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1879
84b3fd84
FW
18802012-07-25 Florian Weimer <fweimer@redhat.com>
1881
1882 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1883 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1884 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1885 Introduce __libc_secure_getenv.
0c7936d5
FW
1886 * stdlib/Versions (2.17): Add secure_getenv
1887 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1888 * stdlib/secure-getenv.c: Rename __secure_getenv to
1889 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1890 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1891 * stdlib/tst-secure-getenv.c: New.
1892 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1893 * manual/startup.texi (Environment Access): Document
1894 secure_getenv.
84b3fd84
FW
1895 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1896 __libc_secure_getenv.
1897 * inet/ruserpass.c (ruserpass): Likewise.
1898 * malloc/mtrace.c (mtrace): Likewise.
1899 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1900 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1901 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1902 * sysdeps/posix/tempname.c: Likewise. Evaluate
1903 HAVE_SECURE_GETENV.
1904 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1905 __secure_getenv to __libc_secure_getenv.
84b3fd84 1906 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1908 Likewise.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1910 Likewise.
1911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1918
56e49b71
JM
19192012-07-25 Joseph Myers <joseph@codesourcery.com>
1920
1921 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1922 (struct La_i86_retval): Likewise.
1923 (struct La_x86_64_regs): Likewise.
1924 (struct La_x86_64_retval): Likewise.
1925 (struct La_x32_regs): Likewise.
1926 (struct La_x32_retval): Likewise.
1927 (struct La_ppc32_regs): Likewise.
1928 (struct La_ppc32_retval): Likewise.
1929 (struct La_ppc64_regs): Likewise.
1930 (struct La_ppc64_retval): Likewise.
1931 (struct La_sh_regs): Likewise.
1932 (struct La_sh_retval): Likewise.
1933 (struct La_s390_32_regs): Likewise.
1934 (struct La_s390_32_retval): Likewise.
1935 (struct La_s390_64_regs): Likewise.
1936 (struct La_s390_64_retval): Likewise.
1937 (struct La_sparc32_regs): Likewise.
1938 (struct La_sparc32_retval): Likewise.
1939 (struct La_sparc64_regs): Likewise.
1940 (struct La_sparc64_retval): Likewise.
1941 (struct audit_ifaces): Remove architecture-specific pltenter and
1942 pltexit members.
1943 * sysdeps/i386/ldsodefs.h: New file.
1944 * sysdeps/powerpc/ldsodefs.h: Likewise.
1945 * sysdeps/s390/ldsodefs.h: Likewise.
1946 * sysdeps/sh/ldsodefs.h: Likewise.
1947 * sysdeps/sparc/ldsodefs.h: Likewise.
1948 * sysdeps/x86_64/ldsodefs.h: Likewise.
1949
354691b7
MP
19502012-07-25 Marek Polacek <polacek@redhat.com>
1951
1952 [BZ #6808]
1953 * math/libm-test.inc (yn_test): Add another test.
1954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1955 to ERANGE when the result is +-Inf.
1956 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1957 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1958 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1959 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1960
bf9e2071
JM
19612012-07-24 Joseph Myers <joseph@codesourcery.com>
1962
1963 * conform/data/time.h-data (NULL): Use macro-constant. Require
1964 equal to 0.
1965 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1966 clock_t.
1967 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1968
57633811
TS
19692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1970
1971 * configure.in <sysdeps resolving>: Correct printing
1972 Implies_before.
1973 * configure: Regenerate.
1974
c23c33b0
TS
19752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1976
1977 * math/w_ilogb.c: Include <limits.h>.
1978 * math/w_ilogbl.c: Likewise.
1979
b5982523
JM
19802012-07-20 Joseph Myers <joseph@codesourcery.com>
1981
1982 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1983 va_copy. Document allowing for unavailable va_copy only as
1984 pre-C99 compatibility.
1985 * manual/string.texi (Copying and Concatenation): Use va_copy
1986 instead of __va_copy in concat example.
1987
ac4ea442
PT
19882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1989
1990 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1991 (__sendto): Use create_address_port. Initialize APORT and deallocate
1992 it if not null.
1993
f98eafbd
PT
1994 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1995 with O_NOLINK passed to __file_name_lookup.
1996
898c7aab
PT
1997 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1998 with O_NOLINK passed to __file_name_lookup.
1999
0ced335a
PT
2000 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2001 negative N or less than NGIDS.
2002
b3404dbd
PT
2003 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2004 type to string_t. Set ERANGE as errno and return it if NAME is not big
2005 enough. Use memcpy instead of strncpy.
2006
0f48659e
JM
20072012-07-20 Joseph Myers <joseph@codesourcery.com>
2008
2009 * elf/Makefile (check-data): Remove.
2010 (localplt.data): New vpath directive.
2011 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2012 instead of $(check-data).
2013 * scripts/data/localplt-generic.data: Move to ...
2014 * sysdeps/generic/localplt.data: ... here.
2015 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2016 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2017 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2019 ... here.
2020 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2022 ... here.
2023 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2025 ... here.
2026 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2028 ... here.
2029 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2031 ... here.
2032 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2034 ... here.
2035
d37cbdaa
AZ
20362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2037
2038 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2039 PPC32 and PPC64 files.
2040 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2041 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2042
46f85fc2
AK
20432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2044
2045 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2046 __makecontext_ret to ...
2047 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2048 ... here and call exit if uc_link is NULL. New file.
2049 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2050 __makecontext_ret.S.
2051 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2052 __makecontext_ret to ...
2053 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2054 ... here and call exit if uc_link is NULL. New file.
2055 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2056 __makecontext_ret.S.
2057
08f43f9b
AK
20582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2059
2060 * elf/elf.h (R_390_IRELATIVE): New definition.
2061 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2062 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2063 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2064 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2065 (elf_machine_lazy_rel): Likewise.
2066 * sysdeps/s390/dl-irel.h: New file.
2067 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2068 * sysdeps/s390/s390-64/memset.S: New asm code.
2069 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2070 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2071 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2072 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2073 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2074 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2075 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2076 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2077 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2078 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2079 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2080 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2081 * sysdeps/s390/s390-32/memset.S: New asm code.
2082 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2083
3b05db33
MP
20842012-07-17 Marek Polacek <polacek@redhat.com>
2085
2086 [BZ #14349]
2087 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2088 * sysdeps/s390/s390-64/configure.in: Likewise.
2089 * sysdeps/sparc/configure.in: Likewise.
2090 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2091 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2092 * sysdeps/i386/configure.in: Likewise.
2093 * sysdeps/x86_64/configure.in: Likewise.
2094 * sysdeps/sh/configure.in: Likewise.
2095 * sysdeps/s390/s390-32/configure: Regenerated.
2096 * sysdeps/s390/s390-64/configure: Likewise.
2097 * sysdeps/x86_64/configure: Likewise.
2098 * sysdeps/sh/configure: Likewise.
2099 * sysdeps/powerpc/powerpc64/configure: Likewise.
2100 * sysdeps/powerpc/powerpc32/configure: Likewise.
2101 * sysdeps/sparc/configure: Likwise.
2102 * sysdeps/i386/configure: Likewise.
2103
a66877c6
MP
2104 * elf/dl-open.c: Comment fixes.
2105
cfc82fd8
JM
21062012-07-17 Joseph Myers <joseph@codesourcery.com>
2107
bd29910a
JM
2108 * Makefile [CXX] (check-data): Remove.
2109 [CXX] (c++-types.data): New vpath directive.
2110 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2111 vpath. Do not allow for C++ type data being missing.
2112 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2113 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2114 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2115 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2116 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2117 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2118 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2120 ... here.
2121 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2123 ... here.
2124 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2126 ... here.
2127 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2129 ... here.
2130 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2132 ... here.
2133 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2135 ... here.
2136 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2138 ... here.
2139 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2141
cfc82fd8
JM
2142 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2143 definitions to architecture-specific files.
2144 (TLS_IE): Likewise.
2145 (TLS_LD): Likewise.
2146 (TLS_GD): Likewise.
2147 * sysdeps/i386/tls-macros.h: New file.
2148 * sysdeps/powerpc/tls-macros.h: Likewise.
2149 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2150 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2151 * sysdeps/sh/tls-macros.h: Likewise.
2152 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2153 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2154 * sysdeps/x86_64/tls-macros.h: Likewise.
2155
f7db3170
TS
21562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2157
07cbfc23
TS
2158 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2159 zero value for regular exit case.
2160
f7db3170
TS
2161 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2162 (__start_context): Preserve zero value for regular exit case.
2163
dc97c227
TS
21642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2165 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2166
2167 * manual/setjmp.texi (setcontext): Clarify normal process
2168 termination when uc_link is the null pointer.
2169 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2170 exit call.
2171
d0cd7d02
AS
21722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2173
2174 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2175 preprocessor. Test for each exception mask separately.
2176
dd318934
AJ
21772012-07-16 Andreas Jaeger <aj@suse.de>
2178
2179 * po/ru.po: Update from translation team.
2180
8048311a
JM
21812012-07-15 Joseph Myers <joseph@codesourcery.com>
2182
2183 * conform/data/string.h-data (NULL): Use macro-constant. Require
2184 equal to 0.
2185 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2186 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2187 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2188 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2190
b637d46e
AJ
21912012-07-13 Andreas Jaeger <aj@suse.de>
2192
2193 * po/fr.po: Update from translation team.
2194
541428fe
MP
21952012-07-12 Marek Polacek <polacek@redhat.com>
2196
2197 [BZ #14173]
2198 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2199 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2200 loop condition.
2201
ec332e94
JM
22022012-07-12 Joseph Myers <joseph@codesourcery.com>
2203
2204 [BZ #13717]
2205 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2206 Change to 2.4.1 where previously 2.4.0.
2207 * sysdeps/unix/sysv/linux/configure: Regenerated.
2208 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2209 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2210 version.
2211 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2212 (__ASSUME_AT_CLKTCK): Remove.
2213 (__ASSUME_AT_PAGESIZE): Likewise.
2214 (__ASSUME_AT_XID): Likewise.
2215 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2216 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2217 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2218 unconditionally.
2219 (HAVE_AUX_PAGESIZE): Likewise.
2220 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2221 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2222 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2223
7b6e99be
JB
22242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2225
2226 [BZ #14307]
2227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2228 the temporary buffer used to invoke __gethostbyname2_r,
2229 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2230 host_data / struct gaih_addrtuple.
2231 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2232 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2233 header file nss/nsswitch.h.
2234 * nss/nsswitch.h (global scope): Add definition of implementation
2235 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2236 resolv/nss_dns/dns-host.c).
2237
608404eb
AJ
22382012-07-11 Andreas Jaeger <aj@suse.de>
2239
2240 * po/fr.po: Update from translation team.
2241
71220aca
AJ
2242 * po/sv.po: Update from translation team
2243 * po/fr.po: Another update from translation team.
2244
28cfe843
AZ
22452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2246
2247 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2248 for subnormals or multiply small sinh result by itself.
2249 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2251
6b90f981
DM
22522012-07-11 David S. Miller <davem@davemloft.net>
2253
2254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2255
c6825772
AS
22562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2257
2258 [BZ #14347]
2259 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2260 (INTERNAL_MARK): Shift it here.
2261
7b8e0d49
MP
22622012-07-10 Marek Polacek <polacek@redhat.com>
2263
2264 [BZ #14151]
2265 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2266 libc_cv_asm_global_directive with .globl.
2267 * configure: Regenerated.
2268 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2269 with .globl.
2270 * sysdeps/i386/configure: Regenerated.
2271 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2272 with .globl.
2273 * sysdeps/x86_64/configure: Regenerated.
2274 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2275 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2276 * elf/tst-unique2mod2.c: Likewise.
2277 * elf/tst-unique2mod1.c: Likewise.
2278 * elf/tst-unique1mod2.c: Likewise.
2279 * elf/tst-unique1mod1.c: Likewise.
2280 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2281 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2282 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2283 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2284 * sysdeps/mach/sysdep.h: Likewise.
2285 * sysdeps/i386/sysdep.h: Likewise.
2286 * sysdeps/i386/i386-mcount.S: Likewise.
2287 * sysdeps/x86_64/_mcount.S: Likewise.
2288 * sysdeps/x86_64/sysdep.h: Likewise.
2289 * sysdeps/sh/_mcount.S: Likewise.
2290 * sysdeps/sh/sysdep.h: Likewise.
2291 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2292 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2293 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2294 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2295 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2296 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2297 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2298 * locale/localeinfo.h: Likewise.
2299 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2300 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2301
6c55cda3
RM
23022012-07-09 Roland McGrath <roland@hack.frob.com>
2303
2304 [BZ #14336]
2305 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2306 system".
2307 * manual/message.texi (The Uniforum approach): Likewise.
2308 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2309 (glibc iconv Implementation): Likewise.
2310
638a572e
JM
23112012-07-09 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #14337]
2314 * math/s_clog.c (__clog): Avoid scaling a value down where that
2315 could result in underflow.
2316 * math/s_clog10.c (__clog10): Likewise.
2317 * math/s_clog10f.c (__clog10f): Likewise.
2318 * math/s_clog10l.c (__clog10l): Likewise.
2319 * math/s_clogf.c (__clogf): Likewise.
2320 * math/s_clogl.c (__clogl): Likewise.
2321 * math/libm-test.inc (clog_test): Add more tests.
2322 (clog10_test): Likewise.
2323 * sysdeps/i386/fpu/libm-test-ulps: Update.
2324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2325
261f4859
AS
23262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2327
0abaf3e4
AS
2328 [BZ #14283]
2329 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2330 by 7 not 8 to examine high bit of fractional part.
2331
261f4859
AS
2332 [BZ #14042]
2333 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2334 for call to __mcount_internal.
2335 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2336 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2337 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2338
f17ac40d
JM
23392012-07-06 Joseph Myers <joseph@codesourcery.com>
2340
9ad63c23
JM
2341 [BZ #14154]
2342 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2343 approximation for values within 0x1p-13f of an odd multiple of
2344 pi/4.
2345 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2346 exception. Add more tests.
2347 * sysdeps/i386/fpu/libm-test-ulps: Update.
2348
f17ac40d
JM
2349 [BZ #6778]
2350 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2351 inputs and return -1 for them. Do not check for +Inf in case not
2352 reachable for +Inf.
2353 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2354 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2355 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2356 and return -1 for them. Do not check for +Inf in case not
2357 reachable for +Inf.
2358 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2359 define.
2360 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2361 and return -1 for them. Do not check for +Inf in case not
2362 reachable for +Inf.
2363 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2364 spurious underflow.
2365 * sysdeps/i386/fpu/libm-test-ulps: Update.
2366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2367
fb21f89b
MF
23682012-07-06 Mike Frysinger <vapier@gentoo.org>
2369
2370 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2371
cdfe2c5e
JM
23722012-07-05 Joseph Myers <joseph@codesourcery.com>
2373
2374 [BZ #14157]
2375 [BZ #14331]
2376 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2377 could result in spurious underflow. Scale down values above
2378 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2379 * math/s_csqrtf.c (__csqrtf): Likewise.
2380 * math/s_csqrtl.c (__csqrtl): Likewise.
2381 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2382 spurious underflow.
2383 * sysdeps/i386/fpu/libm-test-ulps: Update.
2384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2385
70d35b67
AS
23862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2387
704bc459
AS
2388 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2389 xopen-msg.sed.
2390 * catgets/xopen-msg.awk: New file.
2391 * catgets/xopen-msg.sed: Removed.
2392
70d35b67
AS
2393 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2394 po2text.sed.
2395 * intl/po2test.awk: New file.
2396 * intl/po2test.sed: Removed.
2397
ca61cf32
JM
23982012-07-04 Joseph Myers <joseph@codesourcery.com>
2399
2400 [BZ #14328]
2401 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2402 or multiply small sinh result by itself.
2403 * math/s_ctanf.c (__ctanf): Likewise.
2404 * math/s_ctanh.c (__ctanh): Likewise.
2405 * math/s_ctanhf.c (__ctanhf): Likewise.
2406 * math/s_ctanhl.c (__ctanhl): Likewise.
2407 * math/s_ctanl.c (__ctanl): Likewise.
2408 * math/libm-test.inc (ctan_test_tonearest): New function.
2409 (ctan_test_towardzero): Likewise.
2410 (ctan_test_downward): Likewise.
2411 (ctan_test_upward): Likewise.
2412 (ctanh_test_tonearest): Likewise.
2413 (ctanh_test_towardzero): Likewise.
2414 (ctanh_test_downward): Likewise.
2415 (ctanh_test_upward): Likewise.
2416 (main): Call these new functions.
2417 * sysdeps/i386/fpu/libm-test-ulps: Update.
2418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2419
ca48a46a
MF
24202012-07-03 Mike Frysinger <vapier@gentoo.org>
2421
2422 * .gitignore: Delete /ports entry.
2423
9d63d37d
AJ
24242012-07-03 Andreas Jaeger <aj@suse.de>
2425
2426 * po/bg.po: Update from translation team.
2427 * po/cs.po: Likewise.
2428 * po/de.po: Likewise.
2429 * po/hr.po: Likewise.
2430 * po/nl.pl: Likewise.
2431 * po/pl.po: Likewise.
2432 * po/vi.po: Likewise.
2433
370ca3d2
JM
24342012-07-03 Joseph Myers <joseph@codesourcery.com>
2435
95f5a9a8
JM
2436 * Makeconfig [!+link] (+link-before-libc): New variable.
2437 [!+link] (+link-after-libc): Likewise.
2438 [!+link] (+link-tests): Likewise.
2439 [!+link] (+link): Define in terms of $(+link-before-libc) and
2440 $(+link-after-libc).
2441 [!+link-static] (+link-static-before-libc): New variable.
2442 [!+link-static] (+link-static-after-libc): Likewise.
2443 [!+link-static] (+link-static-tests): Likewise.
2444 [!+link-static] (+link-static): Define in terms of
2445 $(+link-static-before-libc) and $(+link-static-after-libc).
2446 [build-shared] (link-libc-before-gnulib): New variable.
2447 [build-shared] (link-libc-tests): Likewise.
2448 [build-shared] (link-libc): Define in terms of
2449 $(link-libc-before-gnulib).
2450 [!build-shared] (link-libc-tests): New variable.
2451 (link-libc-static-tests): New variable.
2452 [!gnulib] (gnulib-arch): New variable.
2453 [!gnulib] (gnulib-tests): Likewise.
2454 [!gnulib] (static-gnulib-arch): Likewise.
2455 [!gnulib] (static-gnulib-tests): Likewise.
2456 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2457 Define with "=" instead of ":=".
2458 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2459 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2460 * Rules (binaries-all-notests): New variable.
2461 (binaries-all-tests): Likewise.
2462 (binaries-static-notests): Likewise.
2463 (binaries-static-tests): Likewise.
2464 (binaries-all): Define using $(binaries-all-notests) and
2465 $(binaries-all-tests).
2466 (binaries-static): Define using $(binaries-static-notests) and
2467 $(binaries-static-tests).
2468 (binaries-shared-tests): New variable.
2469 (binaries-shared-notests): Likewise.
2470 (binaries-shared): Remove variable.
2471 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2472 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2473 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2474 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2475 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2476 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2477 * elf/Makefile (sln-modules): New variable.
2478 (extra-objs): Add $(sln-modules:=.o).
2479 (ldconfig-modules): Add static-stubs.
2480 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2481 * elf/static-stubs.c: New file.
2482
7a845b2c
JM
2483 [BZ #14283]
2484 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2485 by 7 not 8 to examine high bit of fractional part. Use volatile
2486 variables when splitting into final array of floats if
2487 __FLT_EVAL_METHOD__ != 0.
2488 * math/libm-test.inc (cos_test): Add another test.
2489 (sin_test): Likewise.
2490 * sysdeps/i386/fpu/libm-test-ulps: Update.
2491
e2283f38
JM
2492 [BZ #14273]
2493 * math/libm-test.inc (cosh_test): Add more tests.
2494
370ca3d2
JM
2495 * version.h (RELEASE): Set to "development".
2496 (VERSION): Set to "2.16.90".
2497
ee9247c3
CD
24982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2499
2500 * NEWS: Update copyright. Remove last-updated date.
2501 Mention math library bug fixes and timezone data changes.
2502 * README: Mention GNU/Hurd, x32, and HPPA support status.
2503
4648c381
TS
25042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2505
2506 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2507
aac78a43
AJ
25082012-06-27 Andreas Jaeger <aj@suse.de>
2509
2510 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2511
ed3dbfad
AJ
25122012-06-25 Andreas Jaeger <aj@suse.de>
2513
2514 * sysdeps/s390/fpu/libm-test-ulps: Update.
2515
4d0ee855
AS
25162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2517 Thomas Schwinge <thomas@codesourcery.com>
2518
2519 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2520 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2522 fanotify_mark.
2523
af1bce34
TS
25242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2525
a9fa33ba
TS
2526 * sysdeps/mach/start.c: Remove file.
2527 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2528 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2529 * sysdeps/sh/init-first.c: Likewise.
2530
58f902b8
TS
2531 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2532 registers for frame unwinding purposes, add CFI directives.
2533 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2534 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2535 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2536 Likewise.
2537
1518f58b
TS
2538 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2539 __fortify_fail returning.
2540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2541
db9b5059
TS
2542 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2543 sysdeps/sh/____longjmp_chk.S.
2544 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2545 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2546 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2547 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2548
967705fe
TS
2549 * sysdeps/sh/abort-instr.h: New file.
2550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2551 process in case exit returns.
2552
a9def8c4
TS
2553 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2554 initialize the GOT register before use.
2555
2a649725
TS
2556 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2557 calculation of ARGC > 4.
2558
af1bce34
TS
2559 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2560 meaningful names to some local labels.
2561
d230f50a
KK
25622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2563 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2564
2565 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2566 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2567 (__arch_compare_and_exchange_val_16_acq): Likewise.
2568 (__arch_compare_and_exchange_val_32_acq): Likewise.
2569 (atomic_exchange_and_add): Fix gUSA sequence.
2570 (atomic_add): Likewise.
2571 (atomic_add_negative): Likewise.
2572 (atomic_add_zero): Likewise.
2573 (atomic_bit_test_set): Likewise.
2574
0479b305
AS
25752012-06-22 Andreas Schwab <schwab@redhat.com>
2576
2577 [BZ #13579]
2578 * include/link.h (struct link_map): Add l_free_initfini.
2579 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2580 l_initfini.
2581 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2582 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2583 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2584 set.
2585
0e3933b9
CD
25862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2587
2588 * configure.in: Use AC_LANG_SOURCE.
2589 * configure: Regenerate.
2590
4248b1b1
RM
25912012-06-22 Roland McGrath <roland@hack.frob.com>
2592
2593 * configure.in (libc_cv_localstatedir): New substituted variable.
2594 * configure: Regenerated.
2595 * config.make.in (localstatedir): New variable, substituted from
2596 libc_cv_localstatedir.
2597 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2598 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2599 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2600 * sysdeps/gnu/configure: Regenerated.
2601
006dd861
JL
26022012-06-21 Jeff Law <law@redhat.com>
2603
2604 [BZ #14277]
2605 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2606 free. Simplify list management for _LIBC case.
2607
79662d42
JM
26082012-06-21 Joseph Myers <joseph@codesourcery.com>
2609
b7abb4bf
JM
2610 [BZ #14273]
2611 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2612 Clear sign bit of 64-bit integer value before comparing against
2613 overflow value.
2614
79662d42
JM
2615 * sysdeps/mach/configure: Regenerated.
2616
1f150908
L
26172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2618
2619 [BZ #14278]
2620 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2621
28363bbf
JL
26222012-06-21 Jeff Law <law@redhat.com>
2623
2624 [BZ #13882]
2625 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2626 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2628 * elf/dl-open.c (dl_open_worker): Likewise.
2629
09615db4
CD
26302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2631
2632 * scripts/list-sources.sh: Scan PORTS for translations.
2633 * po/libc.pot: Regenerated.
2634
2174c6dd
AJ
26352012-06-21 Andreas Jaeger <aj@suse.de>
2636
2637 [BZ #12194]
2638 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2639 warning.
2640 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2641 * bits/byteswap-16.h (__bswap_16): Likewise.
2642 * bits/byteswap.h (__bswap_constant_16): Likewise.
2643
3ee947b1
L
26442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2645
2646 [BZ #14117]
a2f34833
L
2647 * sysdeps/i386/fpu_control.h: Removed.
2648 * sysdeps/x86_64/fpu_control.h: Moved to ...
2649 * sysdeps/x86/fpu_control.h: Here.
2650
3ee947b1
L
2651 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2652 (_FPU_SETCW): Likewise.
2653
ed1825f8
L
26542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2655
25f1282a
L
2656 [BZ #14117]
2657 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2658 * sysdeps/x86/fpu/bits/mathinline.h: This.
2659 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2660
ed1825f8
L
2661 [BZ #14050]
2662 [BZ #14117]
2663 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2664 functions if __x86_64__ is defined.
2665
36d54b74
CLT
26662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2667
2668 * string/endian.h: Add !__ASSEMBLER__ condition for including
2669 conversion interfaces.
2670
10285c21
JM
26712012-06-15 Joseph Myers <joseph@codesourcery.com>
2672
2673 [BZ #14241]
2674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2675 of ABS(x) in calculating zero to negative powers other than odd
2676 integers.
2677 * math/libm-test.inc (pow_test): Add more tests.
2678
06c5abbd
AJ
26792012-06-15 Andreas Jaeger <aj@suse.de>
2680
2681 * manual/contrib.texi (Contributors): Update entry of Liubov
2682 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2683 Machado Filho.
2684
a3aeac40
CH
26852012-06-15 Cyril Hrubis <metan@ucw.cz>
2686
2687 * string/string.h: Add __wur to GNU version of strerror_r.
2688
49bdf4c1
L
26892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2690
2691 [BZ #14229]
2692 * string/Makefile (tests): Add tst-strtok_r.
2693 * string/tst-strtok_r.c: New file.
2694 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2695 RAX_LP/RDX_LP on SAVE_PTR.
2696
834f9b8d
RM
26972012-06-14 Roland McGrath <roland@hack.frob.com>
2698
2699 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2700
75fa1921
JM
27012012-06-14 Joseph Myers <joseph@codesourcery.com>
2702
2703 * libm_test.inc (csqrt_test): Allow more spurious underflow
2704 exceptions.
2705 (j0_test): Likewise.
2706 (j1_test): Likewise.
2707 (y0_test): Likewise.
2708 (y1_test): Likewise.
2709
771766df
CD
27102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2711
2712 * po/Makefile (libc.pot): Use UTF-8 charset.
2713
ceb9e56b
PP
27142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2715
2716 [BZ #14210]
2717 Suppress sign-conversion warning from FD_SET.
2718 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2719 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2720 not unsigned long int.
2721 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2722
ddb28975
L
27232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2724
2725 [BZ #14050]
2726 [BZ #14117]
2727 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2728 __extern_always_inline instead of __extern_inline.
2729 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2730 (__signbit): Likewise.
2731 (__signbitl): Support C++ namespace.
2732 (lrintf): New inline function.
2733 (lrint): Likewise.
2734 (llrintf): Likewise.
2735 (llrint): Likewise.
2736 (fmaxf): Likewise.
2737 (fmax): Likewise.
2738 (fminf): Likewise.
2739 (fmin): Likewise.
2740 (rint): Likewise.
2741 (rintf): Likewise.
2742 (ceil): Likewise.
2743 (ceilf): Likewise.
2744 (floor): Likewise.
2745 (floorf): Likewise.
2746 (nearbyint): Likewise.
2747 (nearbyintf): Likewise.
2748
d7b4fb26
TS
27492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2750
2751 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2752 non-default versions.
2753
eb55f5c2
RM
27542012-06-11 Roland McGrath <roland@hack.frob.com>
2755
2756 [BZ #14218]
2757 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2758
366af02c
TS
27592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2760
99ff6e5c
TS
2761 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2762 (FE_UPWARD, FE_DOWNWARD): Don't define.
2763 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2764 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2765
366af02c
TS
2766 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2767 reading it.
2768 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2769 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2770
793ea851
KK
27712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2772
2773 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2775 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2776 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2777
a728a38f
L
27782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2779
2780 [BZ #14117]
c08010c7
L
2781 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2782 * sysdeps/i386/fpu/Implies: New file.
2783 * sysdeps/x86_64/fpu/Implies: Likewise.
2784 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2785 * sysdeps/x86/fpu/bits/fenv.h: This.
2786
a728a38f
L
2787 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2788 __SSE_MATH__.
2789
6e230d11
SP
27902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2791
2792 [BZ #14134]
2793 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2794 character 0xffff that matches the last element of the
2795 conversion table.
2796
1b671feb
AZ
27972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2798
2799 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2800 fmodl commit.
2801
6043738b
AZ
28022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2803
2804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2805 values higher than 25.6283.
2806
34ae0b32
AZ
28072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2808
2809 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2810 subnormal exponent extraction and add some __builtin_expect.
2811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2812 Fix for subnormal mantissa calculation.
2813
1214ec8f
MF
28142012-06-04 Mike Frysinger <vapier@gentoo.org>
2815
2816 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2817 cpu2 is -1 and errno is not ENOSYS.
2818
f3d1f93c
L
28192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 [BZ #14117]
0e4a3cd7
L
2822 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2823 * sysdeps/x86/bits/string.h: This.
2824 * sysdeps/x86_64/bits/string.h: Removed.
2825
6704c645
L
2826 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2827 if not compiling for x86-64, but compiling for >= i486.
2828
48495318
L
2829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2830 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2831
14adcbfc
L
2832 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2833 New macro from Linux kernel 3.4.0.
2834 (FP_XSTATE_MAGIC2): Likewise.
2835 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2836 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2837 (struct _fpx_sw_bytes): New struct.
2838 (struct _xsave_hdr): Likewise.
2839 (struct _ymmh_state): Likewise.
2840 (struct _xstate): Likewise.
2841
68e408ab
L
2842 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2843 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2844 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2845 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2846 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2847 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2848
f3d1f93c
L
2849 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2850 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2851 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2852 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2853 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2854 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2855
d9dc34cd
TMQMF
28562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2857
2858 [BZ #13743]
2859 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2860 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2861 (sysdep_headers): Include sys/platform/ppc.h.
2862 * sysdeps/powerpc/test-gettimebase.c: Test for
2863 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2864 * manual/Makefile (appendices): Include platform.texi.
2865 * manual/contrib.texi (Contributors): Update @node pointers.
2866 * manual/maint.texi (Maintenance): Likewise.
2867 (Platform): New node.
2868 * manual/platform.texi: New file. Document the new features.
2869
4af3879c
SP
28702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2871 Jakub Jelinek <jakub@redhat.com>
2872
2873 [BZ #14188]
2874 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2875 where __builtin_expect is unavailable.
2876
2fd6ff13
DM
28772012-06-03 David S. Miller <davem@davemloft.net>
2878
2879 * stdlib/longlong.h: Updated from GCC.
2880
173f7220
AS
28812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2882
2883 [BZ #14042]
2884 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2885 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2886 __mcount_internal.
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2888 (GLIBC_2.16): Likewise.
2889
f34a1c6f
L
28902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2891
2892 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2893
88a4576f
JM
28942012-06-01 Joseph Myers <joseph@codesourcery.com>
2895
ea32bcdd
JM
2896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2897 (default-abi): New variable.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2899 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2900 variable.
2901 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2902 Likewise.
2903 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2904 Likewise.
2905 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2906 Likewise.
2907
88a4576f
JM
2908 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2909 definition. Document in comment.
2910
402fe938
DM
29112012-06-01 David S. Miller <davem@davemloft.net>
2912
2913 * stdlib/longlong.h: Updated from GCC.
2914
3553723f
L
29152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2916
2917 [BZ #14117]
3bd872c4
L
2918 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2919 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2920 sys/debugreg.h sys/io.h here.
2921 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2922 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2923 sys/io.h.
2924 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2925 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2926 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2927 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2928 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2929 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2930
3553723f
L
2931 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2932 Define only if __x86_64__ is defined.
2933
4842e4fe
JM
29342012-06-01 Joseph Myers <joseph@codesourcery.com>
2935
c5bfe3d5
JM
2936 [BZ #14048]
2937 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2938 Use int64_t for variable i.
2939 * math/libm-test.inc (fmod_test): Add more tests.
2940
4842e4fe
JM
2941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2942 z computation is not scheduled after fetestexcept.
2943 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2944 Use math_force_eval instead of asm to ensure calculation scheduled
2945 before exception test.
2946 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2947 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2948
efb73488
AJ
29492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2950
2951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2952 computation is not scheduled after fetestexcept.
2953
29bcce7c
L
29542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2955
2956 [BZ #14117]
2957 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2958 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2959
73a68f94
AZ
29602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2961
2962 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2963 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2964
67b6df78
L
29652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2966
edf2933a 2967 [BZ #14117]
ebc64a18
L
2968 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2969 <bits/wordsize.h>.
2970 (__WCHAR_MIN): Support __WORDSIZE == 64.
2971 (__WCHAR_MAX): Likewise.
2972
edf2933a
L
2973 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2974 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2975
57c6cf40
L
2976 [BZ #14183]
2977 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2978 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2979
67b6df78 2980 [BZ #14117]
8eb6281e
L
2981 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2982 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2983
aac639f4
L
2984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2985 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2986
67b6df78
L
2987 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2988 Defined to 1 if __x86_64__ isn't defined.
2989 (_STAT_VER_LINUX_OLD): New.
2990 (st_atime): Remove duplicate.
2991 (st_mtime): Likewise.
2992 (st_ctime): Likewise.
2993
1c2cfe81
DM
29942012-05-31 David S. Miller <davem@davemloft.net>
2995
2996 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2997 entries.
2998
5be8418c
AS
29992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3000
e7725326
AS
3001 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3002 gen-libm-test.pl.
3003
5be8418c
AS
3004 [BZ #14132]
3005 * elf/dl-reloc.c: Include <_itoa.h>.
3006 (_dl_reloc_bad_type): Remove use of INTUSE.
3007 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3008 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3009 * stdio-common/psiginfo.c (psiginfo): Likewise.
3010 * stdio-common/psignal.c (psignal): Likewise.
3011 * string/strsignal.c (strsignal): Likewise.
3012 * include/signal.h (_sys_siglist): Declare hidden proto.
3013 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3014 INTVARDEF with libc_hidden_data_def.
3015 * stdio-common/itoa-udigits.c: Likewise.
3016 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3017 (_itoa_lower_digits_internal): Remove declaration.
3018 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3019 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3020 (_sys_sigabbrev_internal): Remove aliases.
3021 (_sys_siglist): Define hidden alias.
3022
507352f1
MT
30232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3024
3025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3026 bits/sysctl.h.
3027
42bbb1c3
L
30282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3029
3030 [BZ #14117]
6bd784b6
L
3031 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3032 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3033
8bca20f0
L
3034 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3035 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3036 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3037 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3038 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3039 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3040
f9e890a9
L
3041 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3042 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3043 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3044
471101a1
L
3045 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3046 with __addr.
3047 (insw): Likewise.
3048 (insl): Likewise.
3049 (outsb): Likewise.
3050 (outsw): Likewise.
3051 (outsl): Likewise.
3052
6451c862
L
3053 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3054 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3055 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3056
a254b8c9
L
3057 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3058 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3059 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3060 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3061 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3062 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3063
b8dfdd92
L
3064 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3065 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3066
578cd270
L
3067 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3068 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3069
de662f5f
L
3070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3072 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3073
25653439
L
3074 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3075 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3076 to ...
3077 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3078
6bad24a0
L
3079 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3080 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3081 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3082
42bbb1c3
L
3083 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3084 for x86-64.
3085 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3086
2d10d547
JM
30872012-05-31 Joseph Myers <joseph@codesourcery.com>
3088
3089 * math/math.h (M_El): Use two more decimal places.
3090 (M_LOG2El): Likewise.
3091 (M_LOG10El): Likewise.
3092 (M_LN2l): Likewise.
3093 (M_LN10l): Likewise.
3094 (M_PIl): Likewise.
3095 (M_PI_2l): Likewise.
3096 (M_PI_4l): Likewise.
3097 (M_1_PIl): Likewise.
3098 (M_2_PIl): Likewise.
3099 (M_2_SQRTPIl): Likewise.
3100 (M_SQRT2l): Likewise.
3101 (M_SQRT1_2l): Likewise.
3102
f230c29b
DM
31032012-05-31 David S. Miller <davem@davemloft.net>
3104
3105 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3106 values between float registers.
3107 * sysdeps/sparc/sparc64/memset.S: Likewise.
3108 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3109
fed806c3
MF
31102012-05-31 Mike Frysinger <vapier@gentoo.org>
3111
3112 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3113 -D_FORTIFY_SOURCE=1.
3114 (CPPFLAGS-tst-longjmp_chk.c): Define.
3115 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3116 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3117 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3118 CFLAGS-tst-wchar-h.c.
3119
30917259
MP
31202012-05-31 Marek Polacek <polacek@redhat.com>
3121
3122 [BZ #14132]
3123 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3124 __endmntent_internal): Remove declaration.
3125 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3126 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3127 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3128
1c58d5dc
DM
31292012-05-30 David S. Miller <davem@davemloft.net>
3130
3131 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3132 (___Q_simulate_exceptions): Use real FP ops rather than writing
3133 into the %fsr.
3134 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3135 Likewise.
3136
7dc00e0d
L
31372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3138
3139 [BZ #14117]
0bd53985
L
3140 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3141 * sysdeps/x86/bits/xtitypes.h: This.
3142
3a257e66
L
3143 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3144 * sysdeps/x86/bits/wordsize.h: This.
3145
62f62904
L
3146 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3147 * sysdeps/x86/bits/huge_vall.h: This.
3148
404fe9d9
L
3149 * sysdeps/i386/bits/select.h: Removed.
3150 * sysdeps/x86_64/bits/select.h: Renamed to ...
3151 * sysdeps/x86/bits/select.h: This.
3152
d48d0446
L
3153 * sysdeps/i386/bits/setjmp.h: Removed.
3154 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3155 * sysdeps/x86/bits/setjmp.h: This.
3156
7dc00e0d
L
3157 * sysdeps/i386/bits/mathdef.h: Removed.
3158 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3159 * sysdeps/x86/bits/mathdef.h: This.
3160
03277f8f
AS
31612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3162
3163 [BZ #14132]
3164 * include/sys/socket.h (__connect_internal)
3165 (__libc_sa_len_internal): Remove declaration.
3166 (__connect, __libc_sa_len): Declare hidden_proto.
3167 (SA_LEN): Remove use of INTUSE.
3168 * socket/connect.c: Add libc_hidden_def.
3169 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3170 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3171 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3172 alias.
3173 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3174 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3175 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3176 of adding _internal alias.
3177
13764867
L
31782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3179
3180 [BZ #14117]
6bd97696
L
3181 * sysdeps/i386/bits/link.h: Removed.
3182 * sysdeps/i386/bits/linkmap.h: Likewise.
3183 * sysdeps/x86_64/bits/link.h: Renamed to ...
3184 * sysdeps/x86/bits/link.h: This.
3185 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3186 * sysdeps/x86/bits/linkmap.h: This.
3187
f726f0bb
L
3188 * sysdeps/i386/bits/endian.h: Removed.
3189 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3190 * sysdeps/x86/bits/endian.h: This.
3191
13764867
L
3192 * sysdeps/i386/bits/byteswap.h: Removed.
3193 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3194 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3195 * sysdeps/x86/bits/byteswap.h: This.
3196 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3197 * sysdeps/x86/bits/byteswap-16.h: This.
3198 * sysdeps/i386/Implies: Add x86.
3199 * sysdeps/x86_64/Implies: Likewise.
3200
ae251b0b
DM
32012012-05-30 David S. Miller <davem@davemloft.net>
3202
3203 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3204 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3205 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3206 (FP_TRAPPING_EXCEPTIONS): Define.
3207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3208 (FP_TRAPPING_EXCEPTIONS): Define.
3209 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3210 subnormals only when inexact has been signalled or underflow
3211 exceptions are enabled.
3212 (_FP_PACK_CANONICAL): Likewise.
3213
d5c90867
L
32142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3215
3216 [BZ #14183]
3217 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3218 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3219
63f1549e
RH
32202012-05-30 Richard Henderson <rth@twiddle.net>
3221
8d8f2279
RH
3222 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3223 with #ifndef NOT_IN_libc.
3224
63f1549e
RH
3225 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3226 marked to avoid plt entry.
3227
0ab0291b
L
32282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3229
3230 [BZ #14112]
3231 * Makeconfig (default-abi): New macro.
3232 (abi-includes): Likewise.
3233 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3234 $(abi-$(default-abi)-lib-soname) for soname if defined.
3235 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3236 abi-variants.
3237 * Makefile (installed-stubs): Likewise.
3238 * include/stubs-biarch.h: Removed.
3239 * scripts/lib-names.awk: Only handle one library at a time.
3240 * scripts/soversions.awk: Remove WORDSIZE support.
3241 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3242 entries.
3243 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3244 Removed.
3245 (syscall-list-default-condition): Likewise.
3246 (syscall-list-default-condition): Likewise.
3247 (syscall-list-includes): Likewise.
3248 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3249 syscall-list-* with abi-*. Handle undefined abi-variants.
3250 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3251 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3252 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3253 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3254 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3255 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3256 Removed.
3257 (syscall-list-32-options): Likewise.
3258 (syscall-list-32-condition): Likewise.
3259 (syscall-list-64-options): Likewise.
3260 (syscall-list-64-condition): Likewise.
3261 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3262 macro.
3263 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3264 Renamed to ...
3265 (abi-*): This.
3266 (abi-64-ld-soname): New macro.
3267 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3268 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3269 Renamed to ...
3270 (abi-*): This.
3271 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3272 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3273
4da0431d
JM
32742012-05-30 Joseph Myers <joseph@codesourcery.com>
3275
3a85279c
JM
3276 * sysdeps/unix/sysv/linux/kernel-features.h
3277 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3278 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3279 include <kernel-features.h>.
3280 [!__NR_ftruncate64]: Remove conditional code.
3281 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3282 [__NR_ftruncate64]: Make code unconditional.
3283 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3284 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3285 include <kernel-features.h>.
3286 [!__NR_ftruncate64]: Remove conditional code.
3287 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3288 [__NR_ftruncate64]: Make code unconditional.
3289 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3291 include <kernel-features.h>.
3292 [!__NR_ftruncate64]: Remove conditional code.
3293 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3294 [__NR_ftruncate64]: Make code unconditional.
3295 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3297 include <kernel-features.h>.
3298 [!__NR_ftruncate64]: Remove conditional code.
3299 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3300 [__NR_ftruncate64]: Make code unconditional.
3301 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3302
4da0431d
JM
3303 * configure.in (libc_cv_fpie): Weaken to a compile test using
3304 LIBC_TRY_CC_OPTION.
3305 * configure: Regenerated.
3306
11ef492c
AK
33072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3308
3309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3313 Refreshed.
3314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3320 Refreshed.
3321
d66ef399
DM
33222012-05-27 David S. Miller <davem@davemloft.net>
3323
3324 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3325 (___Q_zero): New.
3326 (__Q_simulate_exceptions): Return void. Change to simulate
3327 exceptions by writing into the %fsr.
3328 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3329 (__Qp_handle_exceptions): Likewise.
3330 (numbers): Delete.
3331 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3332 __Qp_handle_exceptions.
3333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3334 __Qp_handle_exceptions.
3335 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3336 as unused and give dummy FP_RND_NEAREST initializer.
3337 (FP_INHIBIT_RESULTS): Define.
3338 (___Q_simulate_exceptions): Update declaration.
3339 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3340 formatting.
3341 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3342 as unused and give dummy FP_RND_NEAREST initializer.
3343 (__Qp_handle_exceptions): Update declaration.
3344 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3345 formatting.
3346
04fb54b5
TS
33472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3348
3349 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3350 the temporary FPU control word.
3351 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3352 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3353 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3354 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3355 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3356 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3357 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3358 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3359 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3360 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3361 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3362
3f99608f
KK
33632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3364
3365 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3366 fields.
3367
65a4de4e
CLT
33682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3369
3370 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3371 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3372 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3373 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3374 Likewise.
3375 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3376 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3377 Likewise.
3378
15749d40
UD
33792012-05-27 Ulrich Drepper <drepper@gmail.com>
3380
3381 * po/h.po: Update from translation team.
3382
25dbcb27
AS
33832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3384
3d3f8e55
AS
3385 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3386
25dbcb27
AS
3387 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3388 handling of denormals.
3389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3390 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3391 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3392 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3393 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3396 Likewise.
3397
7ad47a80 33982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3399
3400 [BZ #14152]
3401 * math/libm-test.inc (fma_test): Don't always expect underflow
3402 exception.
3403
9c6ea9fa
SP
34042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3405
3406 [BZ #12416]
3407 * elf/tst-execstack.c: Include stackinfo.h.
3408 (do_test): Adjust test case to ensure that pthread_getattr_np
3409 behaviour remains the same after marking stack executable.
3410
a8239222
JM
34112012-05-25 Joseph Myers <joseph@codesourcery.com>
3412
3413 * sysdeps/unix/sysv/linux/kernel-features.h
3414 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3415 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3416 kernel-features.h.
3417 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3418 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3419 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3420 kernel-features.h.
3421 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3422 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3423
918b5606
L
34242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3425
3426 * configure.in: Define the default includes to being none.
3427 * configure: Regenerated.
3428
3a097cc7
RM
34292012-05-25 Roland McGrath <roland@hack.frob.com>
3430
8422c9a5
RM
3431 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3432 * sysdeps/x86_64/setjmp.S: Likewise.
3433 * sysdeps/i386/bsd-setjmp.S: Likewise.
3434 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3435 * sysdeps/i386/setjmp.S: Likewise.
3436 * sysdeps/i386/__longjmp.S: Likewise.
3437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3438 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3439
3a097cc7
RM
3440 * include/stap-probe.h: New file.
3441 * configure.in: Handle --enable-systemtap.
3442 * configure: Regenerated.
3443 * config.h.in (USE_STAP_PROBE): New #undef.
3444 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3445 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3446 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3447
21708942
JM
34482012-05-25 Joseph Myers <joseph@codesourcery.com>
3449
3450 [BZ #13717]
3451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3452 to 2.4.0 where earlier.
3453 * sysdeps/unix/sysv/linux/configure: Regenerated.
3454 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3455 <kernel-features.h>.
3456 [__ASSUME_32BITUIDS]: Make code unconditional.
3457 [!__ASSUME_32BITUIDS]: Remove conditional code.
3458 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3459 <kernel-features.h>.
3460 [__ASSUME_32BITUIDS]: Make code unconditional.
3461 [!__ASSUME_32BITUIDS]: Remove conditional code.
3462 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3463 [__ASSUME_32BITUIDS]: Make code unconditional.
3464 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3465 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3466 <kernel-features.h>.
3467 [__ASSUME_32BITUIDS]: Make code unconditional.
3468 [!__ASSUME_32BITUIDS]: Remove conditional code.
3469 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3470 <kernel-features.h>.
3471 [__ASSUME_32BITUIDS]: Make code unconditional.
3472 [!__ASSUME_32BITUIDS]: Remove conditional code.
3473 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3474 <kernel-features.h>.
3475 [__ASSUME_32BITUIDS]: Make code unconditional.
3476 [!__ASSUME_32BITUIDS]: Remove conditional code.
3477 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3478 <kernel-features.h>.
3479 [__ASSUME_32BITUIDS]: Make code unconditional.
3480 [!__ASSUME_32BITUIDS]: Remove conditional code.
3481 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3482 <kernel-features.h>.
3483 [__ASSUME_32BITUIDS]: Make code unconditional.
3484 [!__ASSUME_32BITUIDS]: Remove conditional code.
3485 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3486 <kernel-features.h>.
3487 [__ASSUME_32BITUIDS]: Make code unconditional.
3488 [!__ASSUME_32BITUIDS]: Remove conditional code.
3489 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3490 <kernel-features.h>.
3491 [__ASSUME_32BITUIDS]: Make code unconditional.
3492 [!__ASSUME_32BITUIDS]: Remove conditional code.
3493 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3494 <kernel-features.h>.
3495 [__ASSUME_32BITUIDS]: Make code unconditional.
3496 [!__ASSUME_32BITUIDS]: Remove conditional code.
3497 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3498 <kernel-features.h>.
3499 [__ASSUME_32BITUIDS]: Make code unconditional.
3500 [!__ASSUME_32BITUIDS]: Remove conditional code.
3501 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3502 <kernel-features.h>.
3503 [__ASSUME_32BITUIDS]: Make code unconditional.
3504 [!__ASSUME_32BITUIDS]: Remove conditional code.
3505 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3506 <kernel-features.h>.
3507 [__NR_setresgid] (__setresgid): Do not declare.
3508 [__ASSUME_32BITUIDS]: Make code unconditional.
3509 [!__ASSUME_32BITUIDS]: Remove conditional code.
3510 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3511 <kernel-features.h>.
3512 [__NR_setresuid] (__setresuid): Do not declare.
3513 [__ASSUME_32BITUIDS]: Make code unconditional.
3514 [!__ASSUME_32BITUIDS]: Remove conditional code.
3515 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3516 <kernel-features.h>.
3517 [__ASSUME_32BITUIDS]: Make code unconditional.
3518 [!__ASSUME_32BITUIDS]: Remove conditional code.
3519 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3520 <kernel-features.h>.
3521 [__ASSUME_32BITUIDS]: Make code unconditional.
3522 [!__ASSUME_32BITUIDS]: Remove conditional code.
3523 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3524 <kernel-features.h>.
3525 [__ASSUME_32BITUIDS]: Make code unconditional.
3526 [!__ASSUME_32BITUIDS]: Remove conditional code.
3527 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3528 <kernel-features.h>.
3529 [__ASSUME_32BITUIDS]: Make code unconditional.
3530 [!__ASSUME_32BITUIDS]: Remove conditional code.
3531 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3532 <kernel-features.h>.
3533 [__ASSUME_32BITUIDS]: Make code unconditional.
3534 [!__ASSUME_32BITUIDS]: Remove conditional code.
3535 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3536 <kernel-features.h>.
3537 [__ASSUME_32BITUIDS]: Make code unconditional.
3538 [!__ASSUME_32BITUIDS]: Remove conditional code.
3539 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3540 <kernel-features.h>.
3541 [__ASSUME_32BITUIDS]: Make code unconditional.
3542 [!__ASSUME_32BITUIDS]: Remove conditional code.
3543 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3544 <kernel-features.h>.
3545 [__ASSUME_32BITUIDS]: Make code unconditional.
3546 [!__ASSUME_32BITUIDS]: Remove conditional code.
3547 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3548 <kernel-features.h>.
3549 [__ASSUME_32BITUIDS]: Make code unconditional.
3550 [!__ASSUME_32BITUIDS]: Remove conditional code.
3551 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3552 <kernel-features.h>.
3553 [__ASSUME_32BITUIDS]: Make code unconditional.
3554 [!__ASSUME_32BITUIDS]: Remove conditional code.
3555 * sysdeps/unix/sysv/linux/kernel-features.h
3556 (__ASSUME_SETRESUID_SYSCALL): Remove.
3557 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3558 (__ASSUME_32BITUIDS): Likewise.
3559 (__ASSUME_LDT_WORKS): Likewise.
3560 (__ASSUME_O_DIRECTORY): Likewise.
3561 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3562 architecture but not kernel version.
3563 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3564 (__ASSUME_MMAP2_SYSCALL): Likewise.
3565 (__ASSUME_STAT64_SYSCALL): Likewise.
3566 (__ASSUME_IPC64): Likewise.
3567 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3568 <kernel-features.h>.
3569 [__ASSUME_32BITUIDS]: Make code unconditional.
3570 [!__ASSUME_32BITUIDS]: Remove conditional code.
3571 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3572 <kernel-features.h>.
3573 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3574 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3575 132096]: Remove conditional code.
3576 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3577 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3578 <kernel-features.h>.
3579 [__ASSUME_32BITUIDS]: Make code unconditional.
3580 [!__ASSUME_32BITUIDS]: Remove conditional code.
3581 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3582 <kernel-features.h>.
3583 [__ASSUME_32BITUIDS]: Make code unconditional.
3584 [!__ASSUME_32BITUIDS]: Remove conditional code.
3585 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3586 <kernel-features.h>.
3587 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3588 unconditional.
3589 (__setresgid): Do not declare.
3590 [__ASSUME_32BITUIDS]: Make code unconditional.
3591 [!__ASSUME_32BITUIDS]: Remove conditional code.
3592 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3593 <kernel-features.h>.
3594 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3595 unconditional.
3596 (__setresuid): Do not declare.
3597 [__ASSUME_32BITUIDS]: Make code unconditional.
3598 [!__ASSUME_32BITUIDS]: Remove conditional code.
3599 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3600 <kernel-features.h>.
3601 [__ASSUME_32BITUIDS]: Make code unconditional.
3602 [!__ASSUME_32BITUIDS]: Remove conditional code.
3603 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3604 <kernel-features.h>.
3605 [__ASSUME_32BITUIDS]: Make code unconditional.
3606 [!__ASSUME_32BITUIDS]: Remove conditional code.
3607
a386f1cc
RH
36082012-05-25 Richard Henderson <rth@twiddle.net>
3609
3610 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3611 dl_hwcap to ifunc resolver.
3612 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3613 elf_ifunc_invoke.
3614 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3615 dl_hwcap to ifunc resolver.
3616 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3617
b6550497
JM
36182012-05-24 Joseph Myers <joseph@codesourcery.com>
3619
3620 [BZ #14153]
3621 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3622 for |x| <= 2**-26, not 2**-57.
3623 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3624 exception.
3625
b0bc23a1
JL
36262012-05-24 Jeff Law <law@redhat.com>
3627
3628 * stdio-common/Makefile (tests): Add bug25.
3629 * stdio-common/bug25.c: New test.
3630
347c92e9
L
36312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3632
3633 [BZ #13576]
3634 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3635 multiple of MALLOC_ALIGNMENT in size.
3636 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3637
6bcc8b3f
JM
36382012-05-24 Joseph Myers <joseph@codesourcery.com>
3639
3640 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3641 Require >= 256.
3642 (FILENAME_MAX): Use macro-int-constant.
3643 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3644 (_IOFBF): Use macro-int-constant.
3645 (_IOLBF): Likewise.
3646 (_IONBF): Likewise.
3647 (SEEK_CUR): Likewise.
3648 (SEEK_END): Likewise.
3649 (SEEK_SET): Likewise.
3650 (TMP_MAX): Likewise.
3651 (EOF): Use macro-int-constant. Require < 0.
3652 (NULL): Use macro-constant. Require == 0.
3653 (stdin): Require type to be FILE *.
3654 (stdout): Likewise.
3655 (stderr): Likewise.
3656 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3657 macro-int-constant.
3658 (EXIT_SUCCESS): Likewise.
3659 (NULL): Use macro-constant. Require == 0.
3660 (RAND_MAX): Use macro-int-constant.
3661 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3662 [C99-based standards] (strtof): Require function.
3663 [C99-based standards] (strtold): Likewise.
3664 [C99-based standards] (strtoll): Likewise.
3665 [C99-based standards] (strtoull): Likewise.
3666 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3667 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3668 [ISO || ISO99 || ISO11] (math.h): Likewise.
3669 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3670 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3672
d18ea0c5
AS
36732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3674
3675 [BZ #14132]
56d25bb8
AS
3676 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3677 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3678 * intl/dgettext.c (DCGETTEXT): Likewise.
3679 * intl/gettext.c (DCGETTEXT): Likewise.
3680 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3681 * posix/regex_internal.h (gettext): Likewise.
3682 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3683 Remove declaration.
3684 * include/argz.h (__argz_count_internal)
3685 (__argz_stringify_internal): Remove declaration.
3686 (__argz_count, __argz_stringify): Declare hidden proto.
3687 * intl/dcgettext.c: Remove use of INTDEF.
3688 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3689 * string/argz-stringify.c: Likewise.
3690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3692 Declare hidden proto.
d18ea0c5
AS
3693 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3694 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3695 Declare hidden proto.
3696 * include/stdio.h (__asprintf_internal): Don't declare.
3697 (__asprintf): Don't define as macro. Declare hidden proto.
3698 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3699 (__fsetlocking): Declare hidden proto.
3700 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3701 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3702 hidden proto.
3703 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3704 (_IO_setlinebuf): Remove use of INTUSE.
3705 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3706 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3707 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3708 Remove declaration.
3709 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3710 (_IO_do_flush): Remove use of INTUSE.
3711 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3712 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3713 (_IO_adjust_column, _IO_least_wmarker)
3714 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3715 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3716 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3717 (_IO_default_doallocate, _IO_wdefault_doallocate)
3718 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3719 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3720 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3721 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3722 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3723 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3724 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3725 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3726 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3727 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3728 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3729 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3730 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3731 proto.
3732 (_IO_flush_all_internal, _IO_adjust_column_internal)
3733 (_IO_default_uflow_internal, _IO_default_finish_internal)
3734 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3735 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3736 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3737 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3738 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3739 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3740 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3741 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3742 (_IO_file_close_internal, _IO_file_close_it_internal)
3743 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3744 (_IO_file_init_internal, _IO_file_attach_internal)
3745 (_IO_file_fopen_internal, _IO_file_read_internal)
3746 (_IO_file_sync_internal, _IO_file_seek_internal)
3747 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3748 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3749 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3750 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3751 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3752 (_IO_list_all_internal, _IO_link_in_internal)
3753 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3754 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3755 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3756 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3757 (_IO_do_write_internal, _IO_padn_internal)
3758 (_IO_getline_info_internal, _IO_getline_internal)
3759 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3760 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3761 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3762 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3763 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3764 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3765 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3766 with libc_hidden_ver, remove use of INTUSE.
3767 * libio/genops.c: Likewise.
3768 * libio/freopen.c: Likewise.
3769 * libio/freopen64.c: Likewise.
3770 * libio/iofclose.c: Likewise.
3771 * libio/iofdopen.c: Likewise.
3772 * libio/iofflush.c: Likewise.
3773 * libio/iofflush_u.c: Likewise.
3774 * libio/iofgets.c: Likewise.
3775 * libio/iofgets_u.c: Likewise.
3776 * libio/iofopen.c: Likewise.
3777 * libio/iofopncook.c: Likewise.
3778 * libio/iofread.c: Likewise.
3779 * libio/iofread_u.c: Likewise.
3780 * libio/ioftell.c: Likewise.
3781 * libio/iofwrite.c: Likewise.
3782 * libio/iogetline.c: Likewise.
3783 * libio/iogets.c: Likewise.
3784 * libio/iogetwline.c: Likewise.
3785 * libio/iopadn.c: Likewise.
3786 * libio/iopopen.c: Likewise.
3787 * libio/ioseekoff.c: Likewise.
3788 * libio/ioseekpos.c: Likewise.
3789 * libio/iosetbuffer.c: Likewise.
3790 * libio/iosetvbuf.c: Likewise.
3791 * libio/ioungetc.c: Likewise.
3792 * libio/ioungetwc.c: Likewise.
3793 * libio/iovdprintf.c: Likewise.
3794 * libio/iovsprintf.c: Likewise.
3795 * libio/iovsscanf.c: Likewise.
3796 * libio/memstream.c: Likewise.
3797 * libio/obprintf.c: Likewise.
3798 * libio/oldfileops.c: Likewise.
3799 * libio/oldiofclose.c: Likewise.
3800 * libio/oldiofdopen.c: Likewise.
3801 * libio/oldiofopen.c: Likewise.
3802 * libio/oldiopopen.c: Likewise.
3803 * libio/oldstdfiles.c: Likewise.
3804 * libio/putc.c: Likewise.
3805 * libio/setbuf.c: Likewise.
3806 * libio/setlinebuf.c: Likewise.
3807 * libio/stdfiles.c: Likewise.
3808 * libio/strops.c: Likewise.
3809 * libio/vasprintf.c: Likewise.
3810 * libio/vscanf.c: Likewise.
3811 * libio/vsnprintf.c: Likewise.
3812 * libio/vswprintf.c: Likewise.
3813 * libio/wfiledoalloc.c: Likewise.
3814 * libio/wfileops.c: Likewise.
3815 * libio/wgenops.c: Likewise.
3816 * libio/wmemstream.c: Likewise.
3817 * libio/wstrops.c: Likewise.
3818 * libio/__fpurge.c: Likewise.
3819 * libio/__fsetlocking.c: Likewise.
3820 * assert/assert.c: Likewise.
3821 * debug/fgets_chk.c: Likewise.
3822 * debug/fgets_u_chk.c: Likewise.
3823 * debug/fread_chk.c: Likewise.
3824 * debug/fread_u_chk.c: Likewise.
3825 * debug/gets_chk.c: Likewise.
3826 * debug/obprintf_chk.c: Likewise.
3827 * debug/vasprintf_chk.c: Likewise.
3828 * debug/vdprintf_chk.c: Likewise.
3829 * debug/vsnprintf_chk.c: Likewise.
3830 * debug/vsprintf_chk.c: Likewise.
3831 * malloc/mtrace.c: Likewise.
3832 * misc/error.c: Likewise.
3833 * misc/syslog.c: Likewise.
3834 * stdio-common/asprintf.c: Likewise.
3835 * stdio-common/fxprintf.c: Likewise.
3836 * stdio-common/getw.c: Likewise.
3837 * stdio-common/isoc99_fscanf.c: Likewise.
3838 * stdio-common/isoc99_scanf.c: Likewise.
3839 * stdio-common/isoc99_vfscanf.c: Likewise.
3840 * stdio-common/isoc99_vscanf.c: Likewise.
3841 * stdio-common/isoc99_vsscanf.c: Likewise.
3842 * stdio-common/printf-prs.c: Likewise.
3843 * stdio-common/printf_fp.c: Likewise.
3844 * stdio-common/printf_fphex.c: Likewise.
3845 * stdio-common/printf_size.c: Likewise.
3846 * stdio-common/putw.c: Likewise.
3847 * stdio-common/scanf.c: Likewise.
3848 * stdio-common/sprintf.c: Likewise.
3849 * stdio-common/tmpfile.c: Likewise.
3850 * stdio-common/vfprintf.c: Likewise.
3851 * stdio-common/vfscanf.c: Likewise.
3852 * stdlib/strfmon_l.c: Likewise.
3853 * sunrpc/openchild.c: Likewise.
3854 * sunrpc/xdr_stdio.c: Likewise.
3855 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3856 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3857
d6c33fda
RM
38582012-05-24 Roland McGrath <roland@hack.frob.com>
3859
c1487492
RM
3860 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3861
3862 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3863 in the third column, to generate for the shared library an IFUNC
3864 that uses _dl_vdso_vsym.
3865 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3866 * Makeconfig (object-suffixes-noshared): New variable.
3867
3868 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3869 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3870 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3871 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3872
d6c33fda
RM
3873 [BZ #14132]
3874 * include/sys/time.h (__gettimeofday): Remove macro.
3875 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3876 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3877 Remove INTDEF.
3878 (__gettimeofday): Add libc_hidden_def.
3879 (gettimeofday): Add libc_hidden_weak.
3880 * sysdeps/mach/gettimeofday.c: Likewise.
3881 * sysdeps/posix/gettimeofday.c: Likewise.
3882 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3883 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3885 (__gettimeofday_internal): Remove strong_alias.
3886 (__gettimeofday): Add libc_hidden_def.
3887 (gettimeofday): Add libc_hidden_weak.
3888 * sysdeps/unix/syscalls.list (gettimeofday):
3889 Remove __gettimeofday_internal alias.
3890
b5a2bbe6
L
38912012-05-24 Daniel Jacobowitz <drow@false.org>
3892 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 [BZ #12495]
3895 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3896 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3897 (largebin_index_32_big): New.
3898 (largebin_index): Use it for 16-byte alignment.
3899 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3900 correction with front_misalign.
3901
cfba4fda
L
39022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3903
7f907421
L
3904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3906 Likewise.
3907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3908 Likewise.
3909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3910 Likewise.
3911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3912 Likewise.
3913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3914 Likewise.
3915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3916 Likewise.
3917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3918 Likewise.
3919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3920 Likewise.
3921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3922 Likewise.
3923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3926 Likewise.
3927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3928 Likewise.
3929
cfba4fda
L
3930 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3931 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3932
80bad0cc
JM
39332012-05-24 Joseph Myers <joseph@codesourcery.com>
3934
7a25eb06
JM
3935 [BZ #10846]
3936 [BZ #14036]
3937 * math/libm-test.inc (exp_test): Add test from bug 14036.
3938 (pow_test): Add test from bug 10846.
3939
795405f9
JM
3940 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3941 and other flags.
3942 (special_function): Do not include flags in test name.
3943 (parse_args): Likewise.
3944 * sysdeps/i386/fpu/libm-test-ulps: Update.
3945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3947 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3949
80bad0cc
JM
3950 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3951 exceptions.
3952 * math/libm-test.inc ("Philosophy"): Update comment about
3953 exception testing.
3954 (UNDERFLOW_EXCEPTION): New macro.
3955 (UNDERFLOW_EXCEPTION_OK): Likewise.
3956 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3957 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3958 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3959 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3960 (INVALID_EXCEPTION_OK): Update value.
3961 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3962 (OVERFLOW_EXCEPTION_OK): Likewise.
3963 (IGNORE_ZERO_INF_SIGN): Likewise.
3964 (test_exceptions): Handle underflow exceptions.
3965 (acos_test): Update for underflow exception expectations.
3966 (cexp_test): Likewise.
3967 (clog_test): Likewise.
3968 (clog10_test): Likewise.
3969 (csqrt_test): Likewise.
3970 (ctan_test): Likewise.
3971 (ctanh_test): Likewise.
3972 (exp_test): Likewise.
3973 (exp10_test): Likewise.
3974 (exp2_test): Likewise.
3975 (expm1_test): Likewise.
3976 (fma_test): Likewise.
3977 (j0_test): Likewise.
3978 (jn_test): Likewise.
3979 (nexttoward_test): Likewise.
3980 (pow_test): Likewise.
3981 (scalbn_test): Likewise.
3982 (scalbln_test): Likewise.
3983 (tan_test): Likewise.
3984 (y1_test): Likewise.
3985 * sysdeps/i386/fpu/libm-test-ulps: Update.
3986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3987
9e0e3d0b
DM
39882012-05-23 David S. Miller <davem@davemloft.net>
3989
3990 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3991 (__libc_sigaction): Remove unused local variables.
3992
ccd0a08f
L
39932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3994
3995 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3996
62bdf9a6
PE
39972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3998
f8591f80
PE
3999 mktime: avoid signed integer overflow
4000 * time/mktime.c (__mktime_internal): Do not mishandle the case
4001 where diff == INT_MIN.
4002
94c7d826
PE
4003 mktime: simplify computation of average
4004 * time/mktime.c (ranged_convert): Use new time_t_avg function
4005 instead of rolling our own (probably-slower) code.
4006
ce73d683
PE
4007 mktime: do not assume signed right shift propagates sign bit
4008 * time/mktime.c (isdst_differ): New static function.
4009 (__mktime_internal): No need to normalize tm_isdst now.
4010 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4011 tm_isdst values.
4012
72a22e59
PE
4013 mktime: merge another wrapv change from gnulib
4014 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4015 from some compilers.
4016
68605433
PE
4017 mktime: remove incorrect attempt at unusual arithmetics
4018 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4019 The code didn't really work on such machines anyway.
4020 (TYPE_MINIMUM): Assume two's complement.
4021 (twos_complement_arithmetic): Verify that long_int and time_t
4022 are two's complement (or unsigned, in the latter case).
4023
03cf7fe3
PE
4024 mktime: check signed shifts on long_int and time_t, too
4025 * time/mktime.c (SHR): Check that shifts work as desired
4026 on the types long_int and time_t too, as SHR is used on
4027 such types.
4028
f04dfbc2
PE
4029 mktime: do not assume 'long' is wide enough
4030 * time/mktime.c (verify): Move decl up.
4031 (long_int): New type.
4032 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4033 to remove assumption in the code that 'long' is wide enough to
4034 store year values. This assumption is not true on x32 and on
4035 some non-glibc platforms.
4036
62bdf9a6
PE
4037 mktime: merge wrapv change from gnulib
4038 * time/mktime.c (WRAPV): New macro.
4039 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4040 (guess_time_tm, __mktime_internal): Do not assume that signed
4041 integer overflow wraps around; modern compilers generate code
4042 where this assumption is no longer valid.
4043
5e292e4f
L
40442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4045
4046 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4047 Replace "jmp L(pseudo_end)" with "ret".
4048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4049 Likewise.
4050
8caf8c87
AJ
40512012-05-23 Andreas Jaeger <aj@suse.de>
4052
4053 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4054 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4055
1a09dc56
AJ
40562012-05-23 Andreas Jaeger <aj@suse.de>
4057 Maximilian Attems <max@stro.at>
4058
4059 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4060 New macros.
4061
1c87aba0
L
40622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4063
4064 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4065 code so that pseudo_end is just ret and the stack pointer is
4066 correct also for static library in error case.
4067
40e45bd5
JM
40682012-05-23 Joseph Myers <joseph@codesourcery.com>
4069
c2670533
JM
4070 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4071 move to syscalls.list.
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4076
40e45bd5
JM
4077 * manual/install.texi (Running make install): Do not mention Linux
4078 kernel version for which pt_chown is not needed.
4079 (Linux): Do not mention problems with nscd with 2.0 kernels.
4080 * INSTALL: Regenerated.
4081
be08eda5
AJ
40822012-05-23 Andreas Jaeger <aj@suse.de>
4083
4084 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4085 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4086 macro.
4087 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4089 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4091 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4095 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4097 * sysdeps/unix/sysv/linux/bits/in.h
4098 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4099
a6a056bb
RM
41002012-05-22 Roland McGrath <roland@hack.frob.com>
4101
4102 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4103 (PREPARE_VERSION): Just use assert instead, it will be elided
4104 under [NDEBUG] anyway.
4105
c9009328
L
41062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4107
4108 * sysdeps/unix/sysv/linux/Makefile: Include
4109 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4110 (sysdep_routines): Remove sysctl.
c9009328
L
4111 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4112 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4113 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4114 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4115 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4116
73338355
AJ
41172012-05-22 Andreas Jaeger <aj@suse.de>
4118
4119 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4120 that pseudo_end is just ret and the stack pointer is correct also
4121 for static library in error case.
4122
d44638b0
PP
41232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4124
4125 [BZ #14122]
4126 * nss/nsswitch.c (defconfig_entries): New variable.
4127 (__nss_database_lookup): Don't leak defconfig entries.
4128 (nss_parse_service_list): Don't leak on error paths.
4129 (free_database_entries): New function.
4130 (free_defconfig): New function.
4131 (free_mem): Move common code to free_database_entries.
4132
31a39bd8
L
41332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4134
da0331a8
L
4135 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4136 Add arch_prctl.
4137 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4138
31a39bd8
L
4139 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4140 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4142 New macro.
4143 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4144 (INTERNAL_SYSCALL_TYPES): Likewise.
4145 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4146 (LOAD_REGS_TYPES_[1-6]): Likewise.
4147 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4148 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4149
45470df3
AZ
41502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4151
4152 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4153 copysignl for GLIBC_2_0.
4154 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4155 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4157 logbl for GLIBC_2_0.
4158 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4159 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4160
98a61bcb
L
41612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4162
a4f6e481
L
4163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4164 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4165
f63d5db6
L
4166 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4167 Use "neg %eax".
4168
98a61bcb
L
4169 * time/mktime.c: Update copyright years.
4170
95770f14
PE
41712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4172
6226efbd
PE
4173 mktime: merge comment-quoting-style change from gnulib
4174 * time/mktime.c: Quote 'like this' in comments.
4175 The GNU coding standards suggest that we no longer quote `like this',
4176 as "`" and "'" are typically rendered asymmetrically nowadays.
4177 The typical gnulib style is to quote 'like this' when quoting
4178 code, and "like this" when quoting English.
4179
b99e4f78
PE
4180 * time/mktime.c (compile-command): Add "-I.".
4181
643e01e6
PE
4182 mktime: merge mktime-internal.h change from gnulib
4183 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4184
2554247d
PE
4185 mktime: merge time_r change from gnulib
4186 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4187
826dd0ab
PE
4188 mktime: merge DEBUG change from gnulib
4189 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4190 case system <time.h> has a #define.
4191
bd83aabe
PE
4192 mktime: merge <sys/types.h> change from gnulib
4193 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4194 since <time.t> is now guaranteed to define time_t.
4195
95770f14
PE
4196 mktime: merge HAVE_CONFIG_H change from gnulib
4197 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4198
5e1a27a9
L
41992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4200
0e44a77e
L
4201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4202 Use "neg %eax".
4203
5e1a27a9
L
4204 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4205 __rlim_t cast.
4206 (struct rusage): Use anonymous union to pad each field to
4207 __syscall_slong_t.
4208
46259bec
DM
42092012-05-21 David S. Miller <davem@davemloft.net>
4210
4211 * Makefules (o-iterator): Remove .s cases.
4212 (compile-command.s): Delete.
4213 (COMPILE.s): Delete.
4214 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4215
59f0c22e
JM
42162012-05-21 Joseph Myers <joseph@codesourcery.com>
4217
4218 * configure.in (libc_cv_predef_stack_protector): Only consider
4219 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4220 * configure: Regenerated.
4221
20c07380
L
42222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4223
bbb3154b
L
4224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4225 New macro. Use R*LP on int and pointer.
4226 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4227 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4228 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4229 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4230
20c07380
L
4231 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4232 [__WORDSIZE_TIME64_COMPAT32] instead of
4233 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4234 (struct utmp): Likewise.
4235 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4236 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4237 Renamed to ...
4238 (__WORDSIZE_TIME64_COMPAT32): This.
4239 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4240 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4241 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4242 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4243 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4244 (__WORDSIZE_TIME64_COMPAT32): New macro.
4245
d8d1017e
AJ
42462012-05-21 Andreas Jaeger <aj@suse.de>
4247
4248 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4249 only if [SHARED]. Add prototype for __wcschr_ia32.
4250
6c7fb145
RM
42512012-05-21 Roland McGrath <roland@hack.frob.com>
4252
4253 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4254 of %rbp unmolested in the jmp_buf while mangling the low bits.
4255 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4256 unmolested high bits of %rbp while demangling the low bits.
4257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4258
66274218
AJ
42592012-05-21 Andreas Jaeger <aj@suse.de>
4260
07c58f8f
AJ
4261 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4262 * sunrpc/svc_simple.c: Use it for registerrpc.
4263 * sunrpc/xcrypt.c: Use it for passwd2des.
4264
66274218
AJ
4265 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4266
61f65140
L
42672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4268
4269 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4270 Don't define if [__SYSCALL_WORDSIZE != 32].
4271 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4272 New macro.
4273
5fefb436
AJ
42742012-05-21 Bruno Haible <bruno@clisp.org>
4275 Andreas Jaeger <aj@suse.de>
4276
4277 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4278 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4279 inptr and inend for must_buffer_ch.
4280 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4281 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4282 * stdio-common/Makefile (tests): Remove bug15.
4283 (bug15-ENV): Remove macro.
4284 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4285 anymore.
4286
d8e272ab
AJ
42872012-05-19 Andreas Jaeger <aj@suse.de>
4288 Roland McGrath <roland@hack.frob.com>
4289
4290 * manual/contrib.texi: Completely rewritten. It contains now an
4291 alphabetical list of contributors and their contributions.
4292
4a56a162
RH
42932012-05-21 Richard Henderson <rth@twiddle.net>
4294
4295 * misc/getauxval.c (__getauxval): Use unsigned long int.
4296 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4297 (getauxval): Use unsigned long int.
4298
d024d23c
L
42992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4300
4301 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4302
cbc00a03
RM
43032012-05-21 Roland McGrath <roland@hack.frob.com>
4304
4305 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4306 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4307 __alignof__ (long double).
4308
478143fa
AZ
43092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4310
4311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4312
c7683a6d
RH
43132012-05-20 Richard Henderson <rth@twiddle.net>
4314
4315 * misc/getauxval.c: New file.
4316 * misc/sys/auxv.h: New file.
4317 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4318 (routines): Add getauxval.
4319 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4320 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4321 * elf/dl-sysdep.c (_dl_auxv): Remove.
4322 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4323 * elf/dl-support.c (_dl_auxv): New variable.
4324 (_dl_aux_init): Initialize it.
4325 * manual/startup.texi (Auxiliary Vector): New node.
4326 * sysdeps/generic/bits/hwcap.h: New file.
4327 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4328 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4329 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4330 * sysdeps/sparc/sysdep.h: ... here. Include it.
4331 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4332 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4334 Update.
c7683a6d
RH
4335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4338 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4343
a6f1845d
AZ
43442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4345
4346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4347
cbcbe830
DM
43482012-05-19 David S. Miller <davem@davemloft.net>
4349
4350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4351
e0b16cc2
JM
43522012-05-19 Joseph Myers <joseph@codesourcery.com>
4353
4354 [BZ #14123]
4355 * math/s_ccosh.c: Include <float.h>
4356 (__ccosh): Avoid internal overflow calculating sinh and cosh
4357 values before multiplying by sin and cos values.
4358 * math/s_ccoshf.c: Likewise.
4359 * math/s_ccoshl.c: Likewise.
4360 * math/s_csin.c: Likewise.
4361 * math/s_csinf.c: Likewise.
4362 * math/s_csinl.c: Likewise.
4363 * math/s_csinh.c: Likewise.
4364 * math/s_csinhf.c: Likewise.
4365 * math/s_csinhl.c: Likewise.
4366 * math/libm-test.inc (ccos_test): Add more tests.
4367 (ccosh_test): Likewise.
4368 (csin_test): Likewise.
4369 (csinh_test): Likewise.
4370 * sysdeps/i386/fpu/libm-test-ulps: Update.
4371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4372
6ad13e08
L
43732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4374
f66f0ce8
L
4375 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4376 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4377
6ad13e08
L
4378 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4379
b1d072a7
JM
43802012-05-19 Joseph Myers <joseph@codesourcery.com>
4381
4382 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4383 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4384 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4385 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4386 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4387 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4388 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4389 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4390 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4391 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4392 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4393 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4394 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4395 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4396 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4397 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4398 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4399 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4400 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4401 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4402 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4403 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4404 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4405 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4406 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4407 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4408 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4409 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4410 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4411 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4412 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4413
9eae47cb
AJ
44142012-05-18 Andreas Jaeger <aj@suse.de>
4415
4416 * csu/.gitignore: Delete.
4417
bb07f69f
L
44182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4419
4420 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4421 (timex): Use __syscall_slong_t.
4422
e6bdb741
AJ
44232012-05-18 Andreas Jaeger <aj@suse.de>
4424 Carlos O'Donell <carlos_odonell@mentor.com>
4425
4426 * manual/install.texi (Configuring and compiling): Update
4427 description about files modified in the source directory.
d6c33fda 4428 * INSTALL: Regenerated.
e6bdb741 4429
1b74487e
L
44302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4431
4432 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4433 value. Use "or" to set return value to -1.
4434 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4435 negate return value.
4436
a88b64b9
TMQMF
44372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4438
4439 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4440 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4441 failure if the compiler has Graphite support disabled.
4442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4443 Likewise.
4444 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4445 CFLAGS-memmove.c): Likewise.
4446 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4447 Likewise.
4448
3707636e
L
44492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4450
610b8622
L
4451 * sysdeps/x86_64/x32/_itoa.h: New file.
4452
7cd195df
L
4453 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4454 getdents system call only if kernel and user dirents have the
4455 same d_ino and d_off.
4456
94b07d20
L
4457 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4458 LLONG_MAX != LONG_MAX.
4459 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4460 (_fitoa_word): Likewise.
4461
18298070
L
4462 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4463 years.
4464 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4465 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4466 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4467
553c7ea4
L
4468 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4469 include <bits/wordsize.h>. Check __x86_64__ instead of
4470 __WORDSIZE.
4471 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4472 if __x86_64__ is defined. Use anonymous union on fpstate.
4473
3707636e
L
4474 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4475 anonymous union.
4476
b53ef01a
AS
44772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4478
37fb1dc0
AS
4479 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4480 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4481 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4482 Refer to _rtld_local_ro instead of _rtld_global_ro.
4483 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4484 Likewise.
4485 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4486 Likewise.
4487 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4488 Likewise.
4489 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4490 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4491 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4492
b53ef01a
AS
4493 * sysdeps/powerpc/powerpc32/dl-machine.c
4494 (__elf_machine_runtime_setup) [PROF]: Don't reference
4495 _dl_prof_resolve.
4496
7a185db2
AJ
44972012-05-18 Andreas Jaeger <aj@suse.de>
4498
4499 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4500 function only available for GCCs before 3.4 since GCC 3.4
4501 introduced a builtin.
4502 (lrint): Likewise.
4503 (llrintf): Likewise.
4504 (llrint): Likewise.
4505 (fmaxf): Likewise.
4506 (fmax): Likewise.
4507 (fminf): Likewise.
4508 (fmin): Likewise.
4509 (rint): Likewise.
4510 (rintf): Likewise.
4511 (nearbyint): Likewise.
4512 (nearbyintf): Likewise.
4513 (ceil): Likewise.
4514 (ceilf): Likewise.
4515 (floor): Likewise.
4516 (floorf): Likewise.
4517
3e5aef87
L
45182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4519
428bd707
L
4520 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4521 on both fields and cast pointer to __syscall_ulong_t.
4522
3e5aef87
L
4523 * bits/types.h (__fsword_t): New type.
4524 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4525 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4527 (__FSWORD_T_TYPE): Likewise.
4528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4529 (__FSWORD_T_TYPE): Likewise.
4530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4531 (__FSWORD_T_TYPE): Likewise.
4532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4533 (__FSWORD_T_TYPE): Likewise.
4534 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4535 __SWORD_TYPE with __fsword_t.
4536 (statfs64): Likewise.
4537
1ba7c3dc
DM
45382012-05-17 David S. Miller <davem@davemloft.net>
4539
4540 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4541
59910343
AJ
45422012-05-17 Andreas Jaeger <aj@suse.de>
4543
4544 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4545 warning.
4546
2e4c1e9e
L
45472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4548
4549 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4550
de7f5ce7
AJ
45512012-05-17 Andreas Jaeger <aj@suse.de>
4552
4553 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4554 when it is used.
4555
286abc3d
CM
45562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4557
4558 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4559
477cc68e
L
45602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4561
4562 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4563 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4564
1a0994f5
CD
45652012-05-17 Andreas Jaeger <aj@suse.de>
4566 Carlos O'Donell <carlos_odonell@mentor.com>
4567
4568 [BZ #14059]
4569 * sysdeps/x86_64/multiarch/init-arch.h
4570 (bit_YMM_Usable): Rename to...
4571 (bit_AVX_Usable): ... this.
4572 (bit_FMA4_Usable): New macro.
4573 (bit_XMM_state): New macro.
4574 (bit_YMM_state): New macro.
4575 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4576 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4577 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4578 (CPUID_OSXSAVE): New macro.
4579 (CPUID_AVX): New macro.
4580 (CPUID_FMA4): New macro.
4581 (index_YMM_Usable): Rename to...
4582 (index_AVX_Usable): ... this.
4583 (HAS_AVX): Use HAS_ARCH_FEATURE.
4584 (HAS_FMA4): Likewise.
4585 (HAS_YMM_USABLE): Remove.
4586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4587 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4588 are present.
4589 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4590 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4591 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4592 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4593 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4594
0af797de
CM
45952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4596
4597 * math/libm-test.c: Support platforms without multiple rounding modes.
4598 * math/bug-nextafter.c: Support platforms without FP exceptions.
4599 * math/bug-nexttoward.c: Likewise.
4600 * math/test-fenv.c: Likewise.
4601 * math/test-misc.c: Likewise.
4602 * stdlib/bug-getcontext.c: Likewise.
4603
e39745ff
AJ
46042012-05-17 Andreas Jaeger <aj@suse.de>
4605
4606 * manual/examples/search.c (critter_cmp): Change signature to
4607 avoid warnings.
4608 * manual/string.texi (Collation Functions): Likewise.
4609
48970aba
L
46102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4611
4612 * bits/types.h: Fold copyright years.
4613 * bits/typesizes.h: Likewise.
4614 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4617 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4618 * time/time.h: Likewise.
4619
bedee953
PP
46202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4621
4622 [BZ #208]
4623 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4624 in instead of returning them. Return void.
4625 (__libc_mallinfo): Accumulate over all arenas.
4626 (__malloc_stats): Adjust for change in int_mallinfo interface.
4627
61653dfb
RM
46282012-05-16 Roland McGrath <roland@hack.frob.com>
4629
30b99d79
RM
4630 [BZ #10375]
4631 * configure.in (NM): Add AC_CHECK_TOOL for it.
4632 (libc_extra_cflags): New substituted variable.
4633 Check for -fstack-protector being used implicitly.
4634 * configure: Regenerated.
4635 * config.make.in (config-extra-cflags): New variable,
4636 gets @libc_extra_cflags@.
4637 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4638
61653dfb
RM
4639 [BZ #10375]
4640 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4641 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4642 * configure: Regenerated.
4643 * config.make.in (CPPUNDEFS): New substituted variable.
4644 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4645 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4646 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4647
661768bb
L
46482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4649
4650 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4651 (mq_attr): Use __syscall_slong_t.
4652
d4261567
L
46532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4654
4655 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4656 Check __x86_64__ instead of __WORDSIZE.
4657 (_STAT_VER_LINUX): Likewise.
4658 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4659 __syscall_ulong_t and __syscall_slong_t.
4660 (stat64): Likewise.
4661
cf3ff365
L
46622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4663
4664 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4665
76cf3e4d
L
46662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4667
4668 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4669
a637753a
L
46702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4671
4672 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4673 __syscall_ulong_t.
4674
d5e05119
L
4675 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4676 include <bits/wordsize.h>. Check __x86_64__ instead of
4677 __WORDSIZE.
4678 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4679 defined.
4680 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4681
f62ee380
L
4682 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4683 include <bits/wordsize.h>. Check __x86_64__ instead of
4684 __WORDSIZE.
4685 (user_regs_struct): Use "__extension__ unsigned long long"
4686 instead of "unsigned long" if __x86_64__ is defined.
4687 (user): Likewise. Pad after pointer field if __ILP32__ is
4688 defined.
4689
4e124ced
JM
46902012-05-16 Joseph Myers <joseph@codesourcery.com>
4691
6a3951a0
JM
4692 * configure.in (makeinfo): Require version 4.5 or later. Allow
4693 versions 5 to 9.
4694 * configure: Regenerated.
4695 * manual/install.texi (texinfo): Increase version requirement to
4696 4.5 or later.
4697 * INSTALL: Regenerated.
4698
4e124ced
JM
4699 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4700
953ca31a
L
47012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4702
4703 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4704
617aca05
L
4705 * sysdeps/x86_64/x32/ffs.c: New file.
4706
5762f7ae
L
4707 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4708 __syscall_ulong_t.
4709 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4710 defined. Use __syscall_ulong_t.
4711 (shminfo): Use __syscall_ulong_t.
4712 (shm_info): Likewise.
4713
a26b6856
L
4714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4715 __syscall_ulong_t.
4716
cb2b9ef7
L
4717 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4718 <bits/wordsize.h>.
4719 (msgqnum_t): Use __syscall_ulong_t.
4720 (msglen_t): Likewise.
4721 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4722 __syscall_ulong_t.
4723
34683bb0
L
4724 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4725 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4726
84a68786
L
4727 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4728
48baa5f1
L
4729 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4730 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4731
180be88b
L
4732 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4733 __syscall_slong_t.
4734
5e90c8ad
L
4735 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4736 include <bits/wordsize.h>. Check __x86_64__ instead of
4737 __WORDSIZE.
4738
23dfb58b
L
4739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4740 "unsigned long long int" if __x86_64__ is defined.
4741 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4742
ce5d54b0
L
4743 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4744 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4745 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4746
13dc9eac
L
4747 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4748 <stdint.h>.
4749 (GET_PC): Cast to uintptr_t first.
4750 (GET_FRAME): Likewise.
4751 (GET_STACK): Likewise.
4752
a7895d15
L
4753 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4754 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4755 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4756 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4757 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4758 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4759 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4760 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4761 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4762 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4763 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4765 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4766 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4767 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4769 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4773 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4775 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4777 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4779 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4780 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4781 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4782
656416c9
AS
47832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4784
5bd66283
AS
4785 * Makerules (+depfiles): Also collect depfiles from .oS in
4786 $(extra-objs).
4787 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4788 .oS, $(libnldbl-routines)).
4789
656416c9
AS
4790 * Makerules (native-compile-mkdep-flags): Define.
4791 * sunrpc/Makefile (extra-objs): Add $(addprefix
4792 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4793 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4794 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4795 calling $(make-target-directory).
4796
a46f2169
L
47972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4798
4799 * bits/types.h (__snseconds_t): Removed.
4800 * time/time.h (struct timespec): Replace __snseconds_t with
4801 __syscall_slong_t.
4802 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4803 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4804 Likewise.
4805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4806 (__SNSECONDS_T_TYPE): Likewise.
4807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4808 (__SNSECONDS_T_TYPE): Likewise.
4809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4810 (__SNSECONDS_T_TYPE): Likewise.
4811
6af6528b
L
48122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4813
4814 * sysdeps/mach/hurd/bits/typesizes.h
4815 (__SYSCALL_SLONG_TYPE): New macro.
4816 (__SYSCALL_ULONG_TYPE): Likewise.
4817
de986b56
L
48182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 * bits/types.h (__syscall_slong_t): New type.
4821 (__syscall_ulong_t): Likewise.
4822
4823 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4824 (__SYSCALL_ULONG_TYPE): Likewise.
4825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4826 (__SYSCALL_SLONG_TYPE): Likewise.
4827 (__SYSCALL_ULONG_TYPE): Likewise.
4828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4829 (__SYSCALL_SLONG_TYPE): Likewise.
4830 (__SYSCALL_ULONG_TYPE): Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4832 (__SYSCALL_SLONG_TYPE): Likewise.
4833 (__SYSCALL_ULONG_TYPE): Likewise.
4834
85736dc7
L
48352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4836
4837 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4838 Add sigaltstack-offsets.sym.
4839 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4840 <sigaltstack-offsets.h>.
4841 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4842 longjmp_msg pointer.
4843 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4844 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4845 signal stack.
4846 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4847
cc03b296
JM
48482012-05-15 Joseph Myers <joseph@codesourcery.com>
4849
a9538892
JM
4850 * elf/stackguard-macros.h: Remove file.
4851 * sysdeps/generic/stackguard-macros.h: New file.
4852 * sysdeps/i386/stackguard-macros.h: Likewise.
4853 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4854 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4855 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4856 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4857 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4858 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4859 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4860 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4861 <elf/stackguard-macros.h>.
4862
cc03b296
JM
4863 [BZ #14109]
4864 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4865 __aligned__ in attribute.
4866 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4867 (gregset_t): Likewise.
4868
93171016
L
48692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4870
4871 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4872 * sysdeps/x86_64/64/Implies-after: Here. New file.
4873 * sysdeps/x86_64/x32/Implies-after: New file.
4874
d86813a0
L
48752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4876
4877 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4878 and access return value for _dl_profile_fixup. Use R10_LP to
4879 load frame size.
4880
2953ec75
L
48812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4882
4883 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4884
3b550e9e
L
48852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4888 * sysdeps/x86_64/x32/sysdep.h: New file.
4889
eda41706
L
48902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4891
4892 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4893 * sysdeps/x86_64/setjmp.S: Likewise.
4894
9ea01d93
AZ
48952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4896
4897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4898 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4899 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4900 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4901 remove unused global constant.
4902
02a91938
CM
49032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4904
4905 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4906 include of <not-cancel.h>.
4907
6540185f
RM
49082012-05-15 Roland McGrath <roland@hack.frob.com>
4909
4910 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4911
509072a0
AJ
49122012-05-15 Jeff Law <law@redhat.com>
4913 Andreas Jaeger <aj@suse.de>
4914
4915 [BZ #13594]
4916 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4917 out from...
4918 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4919 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4920 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4921 code changing __hst_map_handle.map.
4922
ba75122d
RM
49232012-05-15 Roland McGrath <roland@hack.frob.com>
4924
4925 * configure.in (sysnames): Look for Implies-before and Implies-after
4926 files.
4927 * configure: Regenerated.
4928
890d8bd8
L
49292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4930
4931 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4932 8-byte data alignment with LP_SIZE alignment.
4933
f6ee6623
L
49342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4935
4936 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4937 into R10_LP.
4938
ea2626f6
L
49392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4940
4941 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4942
085f715e
L
49432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4944
4945 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4946 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4947 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4948 Likewise.
4949 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4950
be8498fc
L
49512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4952
4953 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4954 (stackinfo_sub_sp): Likewise.
4955
70bc83b9
L
49562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4957
4958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4959 RAX_LP.
4960
9bc0b730
L
49612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4962
4963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4964 into R*_LP.
4965
6d2850e7
L
49662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4967
4968 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4969 sizes into R*_LP.
4970
3cb84561
L
49712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4972
4973 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4974
54e2ed81
L
49752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4976
4977 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4978 into R11_LP and load __x86_64_shared_cache_size_half into
4979 R8_LP.
4980
8a17f349
L
49812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4982
4983 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4984 R8_LP.
4985
777b1eea
AZ
49862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987
4988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4989 logb for POWER7.
4990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4991 logbf for POWER7.
4992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4993 logbl for POWER7.
4994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4995 powerpc32/power7/fpu/s_logb.c via #include.
4996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4997 powerpc32/power7/fpu/s_logbf.c via #include.
4998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4999 powerpc32/power7/fpu/s_logbl.c via #include.
5000
d20d4ac2
JM
50012012-05-15 Joseph Myers <joseph@codesourcery.com>
5002
5003 * README.libm: Remove file.
5004
6cdef1ab
L
50052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5006
5007 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5008 count for x32. Use R*_LP and omit operand-size suffix.
5009
0b254d8f
L
50102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5011
5012 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5013 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5014 * sysdeps/x86_64/x32/shlib-versions: New file.
5015
ceb809dc
RM
50162012-05-14 Roland McGrath <roland@hack.frob.com>
5017
5018 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5019 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5020 Use _dl_fatal_printf instead.
5021
37f1abd4
JM
50222012-05-14 Joseph Myers <joseph@codesourcery.com>
5023
5024 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5025 set if not set by the user. Do not allow for being unset.
5026 * sysdeps/unix/sysv/linux/configure: Regenerated.
5027
11de3a33
L
50282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5029
5030 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5031 the `q' suffix from lea and replace .quad with ASM_ADDR.
5032
e02f153a
L
50332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5034
5035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5036 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5037 instead of $17.
5038 (PTR_DEMANGLE): Likewise.
5039
520ae0fd
L
50402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5041
5042 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5043 (LP_OP): Likewise.
5044 (ASM_ADDR): Likewise.
5045 (RAX_LP): Likewise.
5046 (RBP_LP): Likewise.
5047 (RBX_LP): Likewise.
5048 (RCX_LP): Likewise.
5049 (RDI_LP): Likewise.
5050 (RSI_LP): Likewise.
5051 (RSP_LP): Likewise.
5052 (R8_LP): Likewise.
5053 (R9_LP): Likewise.
5054 (R10_LP): Likewise.
5055 (R10_LP): Likewise.
5056 (R11_LP): Likewise.
5057 (R12_LP): Likewise.
5058 (R13_LP): Likewise.
5059 (R14_LP): Likewise.
5060 (R15_LP): Likewise.
5061
b985be81
L
50622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 * sysdeps/x86_64/x32/dl-machine.h: New file.
5065
6a4888ff
AJ
50662012-05-14 Andreas Jaeger <aj@suse.de>
5067
5068 * manual/Makefile (subdir): Remove export of subdir.
5069 (all): Remove target.
5070 (.PHONY): Remove all from list.
5071 (mkinstalldirs): Remove.
5072 (.PHONY): Remove installdirs from list.
5073 ($(inst_infodir)/libc.info): Use make-target-directory.
5074 (installdirs): Remove.
5075 (subdir_%): Remove.
5076 (glibc-targets): Remove.
5077 (lib): Remove.
5078 (stubs): Remove.
5079 ($(objpfx)stubs ../po/manual.pot): Remove.
5080 ($(objpfx)stamp%): Remove.
5081 (make-target-directory): Remove.
5082 (subdir_install): Remove.
5083 (routines): Remove.
5084 (aux): Remove.
5085 (sources): Remove.
5086 (objects): Remove.
5087 (headers): Remove.
5088
5089 [BZ #13750]
5090 * manual/.gitignore: Remove, it's not needed anymore.
5091 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5092 all files in it.
5093 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5094 directory.
5095 (texis): Renamed to $(objpfx)texis.
5096 (texis-path): New, contains path to generated files.
5097 (chapters.%): Use texis-path for complete path, add extra argument
5098 libc-texinfo.sh.
5099 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5100 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5101 (summary,texi, stamp-summary): Use complete path of
5102 files. Generate files in build dir.
5103 (dir-add.texi): Build in build dir.
5104 (libm-err.texi,stamp-libm-err): Likewise.
5105 (version.texi, stamp-version): Likewise.
5106 (.%c.texi): Likewise.
5107 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5108 (mostlyclean): Remove target.
5109 (realclean): Remove target.
5110 (generated): Add new variable with contents from mostlyclean and
5111 realclean, remove entries duplicated in common-mostlyclean, add
5112 stamp-libm-err and stamp-version.
5113 (generated-dirs): Add libc directory.
5114 ($(inst_infodir)/libc.info): Install files from build dir.
5115
5116 * manual/install.texi (Configuring and compiling): Adjust since
5117 the info files are not part of the tar ball anymore.
5118
7ac77294
AJ
51192012-05-14 Andreas Jaeger <aj@suse.de>
5120
5121 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5122 variable.
5123
ffb7875d
JM
51242012-05-14 Joseph Myers <joseph@codesourcery.com>
5125
5126 [BZ #13717]
5127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5128 to 2.2.0 where earlier.
5129 * sysdeps/unix/sysv/linux/configure: Regenerated.
5130 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5131 Remove conditional code.
5132 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5133 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5134 Remove conditional code.
5135 [!__NR_lchown]: Likewise.
5136 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5137 [__NR_lchown]: Likewise.
5138 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5139 comment referencing __ASSUME_LCHOWN_SYSCALL.
5140 * sysdeps/unix/sysv/linux/i386/sigaction.c
5141 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5142 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5143 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5144 Remove conditional code.
5145 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5146 (__protocol_available): Remove #if 0 code.
5147 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5148 conditional code.
5149 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5150 * sysdeps/unix/sysv/linux/kernel-features.h
5151 (__ASSUME_GETCWD_SYSCALL): Don't define.
5152 (__ASSUME_REALTIME_SIGNALS): Likewise.
5153 (__ASSUME_PREAD_SYSCALL): Likewise.
5154 (__ASSUME_PWRITE_SYSCALL): Likewise.
5155 (__ASSUME_POLL_SYSCALL): Likewise.
5156 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5157 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5158 non-SPARC.
5159 (__ASSUME_SIOCGIFNAME): Don't define.
5160 (__ASSUME_MSG_NOSIGNAL): Likewise.
5161 (__ASSUME_SENDFILE): Define unconditionally.
5162 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5163 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5164 conditional code.
5165 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5166 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5168 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5169 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5170 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5171 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5196 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5197 Remove conditional code.
5198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5199 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5200 Remove conditional code.
5201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5202 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5203 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5204 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5205 Remove conditional code.
5206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5207 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5208 Remove conditional code.
5209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5210 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5211 Remove conditional code.
5212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5213 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5214 Remove conditional code.
5215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5216 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5217 Remove conditional code.
5218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5219 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5220 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5222 * sysdeps/unix/sysv/linux/sigaction.c
5223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5225 * sysdeps/unix/sysv/linux/sigpending.c
5226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5228 * sysdeps/unix/sysv/linux/sigprocmask.c
5229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5231 * sysdeps/unix/sysv/linux/sigsuspend.c
5232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5235 (__libc_missing_rt_sigs): Remove.
5236 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5237 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5238 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5239 Remove conditional code.
5240 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5241 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5242 return 1.
5243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5244 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5245 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5246 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5247
1bfb7291
AJ
52482012-05-14 Andreas Jaeger <aj@suse.de>
5249
caae5a81
AJ
5250 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5251 it's not used in glibc.
5252 (__coshm1): Likewise.
5253 (__acosh1p): Likewise.
5254 (__sgn): Likewise.
5255
1bfb7291
AJ
5256 * manual/string.texi (Copying and Concatenation): Add missing
5257 variable in concat example.
5258 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5259
c044d724
L
52602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5261
144c5467 5262 [BZ #14103]
c044d724
L
5263 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5264 __builtin_clzl with __builtin_clzll.
5265
2523c62b
L
52662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5267
5268 [BZ #14104]
5269 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5270 libc_freeres_ptr.
5271
d7bb4c42
LD
52722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5273
5274 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5275 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5276 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5277 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5278
9dc4e1fb
MF
52792012-05-14 Mike Frysinger <vapier@gentoo.org>
5280
5281 * NEWS: Update ia64 info.
5282
c7df0112
AS
52832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5284
5285 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5286 used as bcopy.
5287
dc70356c
TS
52882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5289
5290 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5291 * sysdeps/unix/syscalls.list (dup3): Likewise.
5292 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5293 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5294
9fb1a21f
L
52952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5296
5297 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5298 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5299
4822a2a5
L
53002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5301
5302 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5303 thread pointer.
5304 (TLS_IE): Use mov/add instead of movq/addq to load thread
5305 pointer.
5306 (TLS_GD_PREFIX): New.
5307 (TLS_GD): Use it.
5308
842b81d6
DM
53092012-05-11 David S. Miller <davem@davemloft.net>
5310
5311 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5312 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5313 (_FPU_SETCW): Likewise.
5314
1cf463cd
L
53152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5316
5317 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5318 is 32-byte aligned.
5319
60cc4a18
AS
53202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5321
5322 [BZ #11837]
5323 * iconvdata/gb18030.c: Update tables.
5324 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5325 characters specially.
5326 (BODY for TO_LOOP): Add encoding of missing ranges.
5327
febb44a4
TS
53282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5329
5330 [BZ #13673]
5331 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5332 * sysdeps/mach/hurd/dup3.c: Likewise.
5333 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5334 * sysdeps/powerpc/memmove.c:: Likewise.
5335
0a10fb9e
L
53362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5337
5338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5339 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5340
df8a552f
L
53412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 * elf/elf.h (R_X86_64_RELATIVE64): New.
5344 (R_X86_64_NUM): Updated.
5345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5346 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5347 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5348 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5349 tst-quad1pie tst-quad2pie
5350 (modules-names): Add tst-quadmod1 tst-quadmod2.
5351 ($(objpfx)tst-quad1): New dependency.
5352 ($(objpfx)tst-quad2): Likewise.
5353 ($(objpfx)tst-quad1pie): Likewise.
5354 ($(objpfx)tst-quad2pie): Likewise.
5355 * sysdeps/x86_64/tst-quad1.c: New file.
5356 * sysdeps/x86_64/tst-quad1pie.c: New file.
5357 * sysdeps/x86_64/tst-quad2.c: Likewise.
5358 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5359 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5360 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5361 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5362 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5363
f34d6f84
ST
53642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5365
f42d41d1
ST
5366 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5367 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5368 * streams/stropts.h (t_scalar_t): Define type.
5369
3c3571fc
ST
5370 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5371 (_PATH_PRESERVE): Set to "/var/lib".
5372 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5373
61f06bd3
ST
5374 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5375 instead of int.
5376
918d4d71
ST
5377 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5378 if __dir_mkfile succeeded.
5379
f34d6f84
ST
5380 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5381 checking for _hurd_dtablesize. Unlock it right after having
5382 finished _hurd_dtable allocation.
5383
10589b4a
TS
53842012-05-10 Thomas Schwinge <thomas@schwinge.name>
5385
674cdbc7
TS
5386 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5387 * sysdeps/mach/hurd/configure: Regenerated.
5388 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5389 special-casing to...
5390 * sysdeps/gnu/configure.in: ... this new file.
5391 * sysdeps/unix/sysv/linux/configure: Regenerated.
5392 * sysdeps/gnu/configure: New generated file.
5393
8e41b99f
TS
5394 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5395 for Linux: use nsec instead of usec, as well as:
5396 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5397 members of type struct timespec.
5398 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5399 New macros.
5400 (struct stat64): Likewise.
5401 (_STATBUF_ST_NSEC): New macro.
5402 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5403
10589b4a
TS
5404 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5405 __strtoul_internal rather than strtoul.
5406
63643c85
PT
54072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5408
5409 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5410 and reject them.
5411
3faebe6a
ST
54122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5413
5414 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5415 which preserves existing values.
5416 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5417
c6474b07
PT
54182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5419
5420 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5421 TIMEOUT values. Return EINVAL for NFDS values either negative or
5422 greater than FD_SETSIZE.
5423
1043890b
ST
54242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5425
5426 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5427 allocated, call __vm_protect to finish enabling the existing space, and
5428 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5429 allocate the remainder.
5430
37ed8b9b
PT
54312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5432
5433 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5434 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5435
db653660
ST
54362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5437
37ed8b9b
PT
5438 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5439 sysdeps/mach/hurd/readlink.c.
b29d4053 5440
db653660
ST
5441 * posix/tst-sysconf.c (posix_options): Only use
5442 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5443 _POSIX_SYNCHRONIZED_IO when they are defined
5444 * sysdeps/mach/hurd/bits/posix_opt.h:
5445 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5446 (_XOPEN_REALTIME): Undefine macro.
5447 (_XOPEN_REALTIME_THREADS): Undefine macro.
5448 (_XOPEN_SHM): Undefine macro.
5449 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5450 macro to -1.
5451 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5452 macro to -1.
5453 (_POSIX_ASYNC_IO): Undefine macro.
5454 (_POSIX_PRIORITIZED_IO): Undefine macro.
5455 (_POSIX_SPIN_LOCKS): Define macro to -1.
5456
ee16e894
ST
5457 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5458 SA_NODEFER, SA_RESETHAND.
5459 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5460 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5461 F_DUPFD_CLOEXEC.
5462
6103ae3b
TS
54632012-05-10 Thomas Schwinge <thomas@schwinge.name>
5464
5465 * elf/Makefile (pldd-modules): Define unconditionally.
5466
80b4e5f3
TS
54672012-05-10 Thomas Schwinge <thomas@schwinge.name>
5468
5469 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5470
edadcbd6
ST
54712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5472
5473 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5474 Return ENOENT when name is empty.
5475 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5476
80694780
TS
54772012-05-10 Thomas Schwinge <thomas@schwinge.name>
5478
1792c087
TS
5479 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5480
80694780
TS
5481 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5482
6b645f0d
ST
54832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5484
80694780
TS
5485 Fix mlock in all cases except non-readable pages.
5486 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5487 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5488
6b645f0d
ST
5489 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5490 (__mkdir): When path is `/', just fail with EEXIST.
5491 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5492
e468f8a3
TS
54932012-05-10 Thomas Schwinge <thomas@schwinge.name>
5494
5495 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5496 <sys/uio.h> (for writev).
5497 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5498 and <sys/param.h> (for MIN).
5499
a4186cff
PT
55002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5501
5502 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5503 REQUESTED_TIME. Properly set the remaining time and return EINTR
5504 if interrupted.
5505
510bbf14
TS
55062012-05-10 Thomas Schwinge <thomas@schwinge.name>
5507
5508 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5509 Depend on against $(link-rpcuserlibs).
5510
5d5722e8
ST
55112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5512
a4186cff
PT
5513 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5514 (__libc_stack_end): Do not use attribute_relro.
5515 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5516 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5517 to libthread-provided value.
a4186cff
PT
5518 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5519 attribute_relro.
5d5722e8 5520
37233df9
TS
55212012-05-10 Thomas Schwinge <thomas@schwinge.name>
5522
be971a2b
TS
5523 [BZ #3748]
5524 * bits/libc-lock.h (__libc_once_get): New macro.
5525 * sysdeps/mach/bits/libc-lock.h: Likewise.
5526 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5528 instead of using implementation details.
5529
37233df9
TS
5530 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5531 * libio/freopen.c: Likewise.
5532 * libio/freopen64.c: Likewise.
5533 * misc/syslog.c: Likewise.
5534 * nscd/connections.c: Likewise.
5535 * nscd/netgroupcache.c: Likewise.
5536 * sysdeps/posix/getcwd.c: Likewise.
5537
38de94a5
RM
55382012-05-10 Roland McGrath <roland@hack.frob.com>
5539
5540 * math/w_ilogbf.c: Add #include <limits.h>.
5541
67530489
ST
55422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5543
a4186cff 5544 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5545 path instead of returning without unlocking.
5546
67530489
ST
5547 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5548 immediate-write ioctls.
5549 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5550
5aa3a74a
TS
55512012-05-10 Thomas Schwinge <thomas@schwinge.name>
5552
18bad2ae
TS
5553 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5554 __builtin_frame_address instead of making assumptions about the
5555 location of the return address relative to DATA. Force early load of
5556 the return address.
5557 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5558 __builtin_frame_address.
5559
5aa3a74a
TS
5560 dup3 for GNU Hurd.
5561 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5562 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5563 implement dup3 and do some further code clean-ups.
5564 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5565 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5566
ecd0de9a
ST
55672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5568
cd9fa985
ST
5569 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5570
a4186cff
PT
5571 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5572 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5573 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5574 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5575 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5576 d->port.lock.
802ca5a5 5577
a4186cff
PT
5578 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5579 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5580 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5581
bcf55240
TS
55822012-05-10 Thomas Schwinge <thomas@schwinge.name>
5583
6960eb42
TS
5584 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5585 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5586 definitions.
5587
eb43375f
TS
5588 accept4 for GNU Hurd.
5589 * include/sys/socket.h (__libc_accept4): New prototype.
5590 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5591 to implement __libc_accept4.
5592 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5593 __libc_accept4.
5594 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5595
bcf55240
TS
5596 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5597 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5598 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5599 signal-defines.sym.
5600
6178c55b
ST
56012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5602
a4186cff 5603 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5604
6f080c2f
TS
56052012-05-10 Thomas Schwinge <thomas@schwinge.name>
5606
5607 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5608 assertion on O_CLOEXEC flag.
5609 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5610 * hurd/intern-fd.c: Likewise.
5611 * hurd/port2fd.c: Likewise.
5612
bcfe3a54
ST
56132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5614
5615 [BZ #3906]
5616 * bits/in.h (IPV6_PKTINFO): Define new macro.
5617 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5618
89c9aa49
AZ
56192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5620
5621 [BZ #13954]
5622 [BZ #13955]
5623 [BZ #13956]
5624 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5626 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5627 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5629 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5630 * math/libm-test.inc (logb_test) : Additional logb tests.
5631
021db4be
AJ
56322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5633 Andreas Jaeger <aj@suse.de>
5634
5635 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5636 * configure: Regenerated.
5637 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5638 * config.make.in (link-obsolete-rpc): New substituted variable.
5639 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5640 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5641 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5642 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5643 so that libc.a contains the symbols.
5644 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5645 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5646 * sunrpc/auth_none.c: Likewise.
5647 * sunrpc/auth_unix.c: Likewise.
5648 * sunrpc/authdes_prot.c: Likewise.
5649 * sunrpc/authuxprot.c: Likewise.
5650 * sunrpc/clnt_gen.c: Likewise.
5651 * sunrpc/clnt_perr.c: Likewise.
5652 * sunrpc/clnt_raw.c: Likewise.
5653 * sunrpc/clnt_simp.c: Likewise.
5654 * sunrpc/clnt_tcp.c: Likewise.
5655 * sunrpc/clnt_udp.c: Likewise.
5656 * sunrpc/clnt_unix.c: Likewise.
5657 * sunrpc/des_crypt.c: Likewise.
5658 * sunrpc/des_soft.c: Likewise.
5659 * sunrpc/get_myaddr.c: Likewise.
5660 * sunrpc/key_call.c: Likewise.
5661 * sunrpc/key_prot.c: Likewise.
5662 * sunrpc/netname.c: Likewise.
5663 * sunrpc/pm_getmaps.c: Likewise.
5664 * sunrpc/pm_getport.c: Likewise.
5665 * sunrpc/pmap_clnt.c: Likewise.
5666 * sunrpc/pmap_prot.c: Likewise.
5667 * sunrpc/pmap_prot2.c: Likewise.
5668 * sunrpc/pmap_rmt.c: Likewise.
5669 * sunrpc/publickey.c: Likewise.
5670 * sunrpc/rpc_cmsg.c: Likewise.
5671 * sunrpc/rpc_common.c: Likewise.
5672 * sunrpc/rpc_dtable.c: Likewise.
5673 * sunrpc/rpc_prot.c: Likewise.
5674 * sunrpc/rpc_thread.c: Likewise.
5675 * sunrpc/rtime.c: Likewise.
5676 * sunrpc/svc.c: Likewise.
5677 * sunrpc/svc_auth.c: Likewise.
5678 * sunrpc/svc_raw.c: Likewise.
5679 * sunrpc/svc_run.c: Likewise.
5680 * sunrpc/svc_tcp.c: Likewise.
5681 * sunrpc/svc_udp.c: Likewise.
5682 * sunrpc/svc_unix.c: Likewise.
5683 * sunrpc/svcauth_des.c: Likewise.
5684 * sunrpc/xcrypt.c: Likewise.
5685 * sunrpc/xdr.c: Likewise.
5686 * sunrpc/xdr_array.c: Likewise.
5687 * sunrpc/xdr_float.c: Likewise.
5688 * sunrpc/xdr_intXX_t.c: Likewise.
5689 * sunrpc/xdr_mem.c: Likewise.
5690 * sunrpc/xdr_rec.c: Likewise.
5691 * sunrpc/xdr_ref.c: Likewise.
5692 * sunrpc/xdr_sizeof.c: Likewise.
5693 * sunrpc/xdr_stdio.c: Likewise.
5694
b5c086a2
RM
56952012-05-10 Roland McGrath <roland@hack.frob.com>
5696
5697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5698 change. Update copyright years.
5699
6d74dd09
JM
57002012-05-10 Joseph Myers <joseph@codesourcery.com>
5701
5702 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5703
28e72501
MK
57042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5705 Joseph Myers <joseph@codesourcery.com>
5706 Paul Pluzhnikov <ppluzhnikov@google.com>
5707
5708 [BZ #14012]
5709 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5710 requiring rpcgen.
5711 [cross-compiling] (extra-libs): Likewise.
5712 [cross-compiling] (extra-libs-others): Likewise.
5713 [cross-compiling] (librpcsvc-routines): Likewise.
5714 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5715 [cross-compiling] (omit-deps): Likewise.
5716 (sunrpc-CPPFLAGS): New variable.
5717 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5718 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5719 (cross-rpcgen-objs): New variable.
5720 (extra-objs): Append $(cross-rpcgen-objs).
5721 ($(cross-rpcgen-objs)): New rule.
5722 ($(objpfx)cross-rpcgen): Likewise.
5723 (rpcgen-cmd): Define to use $(built-program-file). Expand
5724 comment.
5725 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5726 ($(objpfx)x%.stmp): Likewise.
5727 * sunrpc/proto.h [IS_IN_build] (_): Define.
5728 [IS_IN_build] (_libc_intl_domainname): Likewise.
5729
c8c59454
L
57302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5731
5732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5733 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5734 and R_X86_64_TPOFF64.
5735
6f27cd16
JM
57362012-05-10 Joseph Myers <joseph@codesourcery.com>
5737
5738 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5739 sysdeps/unix/sysv/syscalls.list.
5740 (stime): Likewise.
5741 (utime): Likewise.
5742 * sysdeps/unix/sysv/syscalls.list: Remove file.
5743
02467e1c
PE
57442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5745
5746 [BZ #3440]
5747 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5748 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5749 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5750 (__LC_IDENTIFICATION): Make these macros useful in #if
5751 expressions, as required by C99.
5752
da392631
AS
57532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5754
5755 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5756 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5757 after this.
5758
8115f29b
L
57592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5760
5761 * stdlib/longlong.h: Updated from GCC.
5762
bdd74070
AJ
57632012-05-09 Andreas Jaeger <aj@suse.de>
5764
edfe0dbe
AJ
5765 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5766 default is first entry.
5767 (run_mode): Set type.
5768 (main): Remove informal message about syslog.
5769 (options): Fix typo.
5770
bcfe3a54
ST
5771 [BZ #14053]
5772 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5773 to asm.
bcfe3a54
ST
5774 (lrint): Likewise.
5775 (llrintf): Likewise.
5776 (llrint): Likewise.
5777 (rint): Likewise.
5778 (rintf): Likewise.
5779 (nearbyint): Likewise.
5780 (nearbyintf): Likewise.
bdd74070 5781
91d8d69e
AJ
57822012-05-09 Andreas Jaeger <aj@suse.de>
5783 Pedro Alves <palves@redhat.com>
5784
5785 * nscd/nscd.c (run_mode): Use enum.
5786 (main): Cleanup coding style issue.
5787
bb90b80b
AJ
57882012-05-09 Alexandre Oliva <aoliva@redhat.com>
5789 Andreas Jaeger <aj@suse.de>
5790
bcfe3a54
ST
5791 * nscd/nscd.c (go_background): Replaced with...
5792 (run_mode): ... this.
bb90b80b 5793 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5794 (options): Add -F --foreground.
5795 (main): Implement it.
5796 (parse_opt): Parse it.
bb90b80b 5797
1a4b75a1
AJ
57982012-05-09 Andreas Jaeger <aj@suse.de>
5799
5800 [BZ #14083]
5801 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5802 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5803 -Wconversion warning.
5804 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5805 Likewise.
5806
b1cc2472
JM
58072012-05-09 Joseph Myers <joseph@codesourcery.com>
5808
5809 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5810 == 0.
5811 (LC_ALL): Use macro-int-constant.
5812 (LC_COLLATE): Likewise.
5813 (LC_CTYPE): Likewise.
5814 (LC_MESSAGES): Likewise.
5815 (LC_MONETARY): Likewise.
5816 (LC_NUMERIC): Likewise.
5817 (LC_TIME): Likewise.
5818 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5819 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5821 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5822 Specify type.
5823 [C99-based standards] (float_t): Expect type.
5824 [C99-based standards] (double_t): Expect type.
5825 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5826 type.
5827 [C99-based standards] (HUGE_VALL): Likewise.
5828 [C99-based standards] (INFINITY): Likewise.
5829 [C99-based standards] (NAN): Likewise.
5830 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5831 [C99-based standards] (FP_NAN): Likewise.
5832 [C99-based standards] (FP_NORMAL): Likewise.
5833 [C99-based standards] (FP_SUBNORMAL): Likewise.
5834 [C99-based standards] (FP_ZERO): Likewise.
5835 [C99-based standards] (FP_FAST_FMA): Use
5836 optional-macro-int-constant. Specify type. Require == 1.
5837 [C99-based standards] (FP_FAST_FMAF): Likewise.
5838 [C99-based standards] (FP_FAST_FMAL): Likewise.
5839 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5840 [C99-based standards] (FP_ILOGBNAN): Likewise.
5841 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5842 Specify type.
5843 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5844 [C99-based standards] (math_errhandling): Specify type.
5845 [ISO99 || ISO11] (signgam): Do not allow.
5846 [non-C99-based standards] (copysignf): Do not allow.
5847 [non-C99-based standards] (exp2f): Likewise.
5848 [non-C99-based standards] (log2f): Likewise.
5849 [non-C99-based standards] (modff): Allow.
5850 [non-C99-based standards] (erff): Do not allow.
5851 [non-C99-based standards] (erfcf): Likewise.
5852 [non-C99-based standards] (gammaf): Likewise.
5853 [non-C99-based standards] (hypotf): Likewise.
5854 [non-C99-based standards] (j0f): Likewise.
5855 [non-C99-based standards] (j1f): Likewise.
5856 [non-C99-based standards] (jnf): Likewise.
5857 [non-C99-based standards] (lgammaf): Likewise.
5858 [non-C99-based standards] (tgammaf): Likewise.
5859 [non-C99-based standards] (y0f): Likewise.
5860 [non-C99-based standards] (y1f): Likewise.
5861 [non-C99-based standards] (ynf): Likewise.
5862 [non-C99-based standards] (isnanf): Likewise.
5863 [non-C99-based standards] (acoshf): Likewise.
5864 [non-C99-based standards] (asinhf): Likewise.
5865 [non-C99-based standards] (atanhf): Likewise.
5866 [non-C99-based standards] (cbrtf): Likewise.
5867 [non-C99-based standards] (expm1f): Likewise.
5868 [non-C99-based standards] (ilogbf): Likewise.
5869 [non-C99-based standards] (log1pf): Likewise.
5870 [non-C99-based standards] (logbf): Likewise.
5871 [non-C99-based standards] (nextafterf): Likewise.
5872 [non-C99-based standards] (remainderf): Likewise.
5873 [non-C99-based standards] (rintf): Likewise.
5874 [non-C99-based standards] (scalbf): Likewise.
5875 [non-C99-based standards] (copysignl): Likewise.
5876 [non-C99-based standards] (exp2l): Likewise.
5877 [non-C99-based standards] (log2l): Likewise.
5878 [non-C99-based standards] (modfl): Allow.
5879 [non-C99-based standards] (erfl): Do not allow.
5880 [non-C99-based standards] (erfcl): Likewise.
5881 [non-C99-based standards] (gammal): Likewise.
5882 [non-C99-based standards] (hypotl): Likewise.
5883 [non-C99-based standards] (j0l): Likewise.
5884 [non-C99-based standards] (j1l): Likewise.
5885 [non-C99-based standards] (jnl): Likewise.
5886 [non-C99-based standards] (lgammal): Likewise.
5887 [non-C99-based standards] (tgammal): Likewise.
5888 [non-C99-based standards] (y0l): Likewise.
5889 [non-C99-based standards] (y1l): Likewise.
5890 [non-C99-based standards] (ynl): Likewise.
5891 [non-C99-based standards] (isnanl): Likewise.
5892 [non-C99-based standards] (acoshl): Likewise.
5893 [non-C99-based standards] (asinhl): Likewise.
5894 [non-C99-based standards] (atanhl): Likewise.
5895 [non-C99-based standards] (cbrtl): Likewise.
5896 [non-C99-based standards] (expm1l): Likewise.
5897 [non-C99-based standards] (ilogbl): Likewise.
5898 [non-C99-based standards] (log1pl): Likewise.
5899 [non-C99-based standards] (logbl): Likewise.
5900 [non-C99-based standards] (nextafterl): Likewise.
5901 [non-C99-based standards] (remainderl): Likewise.
5902 [non-C99-based standards] (rintl): Likewise.
5903 [non-C99-based standards] (scalbl): Likewise.
5904 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5905 [non-C99-based standards] (FP_*): Do not allow.
5906 [C99-based standards] (FP_*): Change to
5907 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5908 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5909 allow.
5910 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5911 (SIG_ERR): Likewise.
5912 [X/Open-based standards] (SIG_HOLD): Likewise.
5913 (SIG_IGN): Likewise.
5914 (SIGABRT): Use macro-int-constant. Specify type. Require
5915 positive value.
5916 (SIGFPE): Likewise.
5917 (SIGILL): Likewise.
5918 (SIGINT): Likewise.
5919 (SIGSEGV): Likewise.
5920 (SIGTER): Likewise.
5921 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5922 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5923 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5924 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5925 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5926 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5927 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5928 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5929 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5930 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5931 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5932 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5933 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5934 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5935 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5936 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5937 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5938 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5939 [X/Open-based standards] (SIGTRAP): Likewise.
5940 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5941 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5943 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5944 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5945 allow.
5946
b9f1922d
IW
59472012-05-08 Ian Wienand <ianw@vmware.com>
5948
5949 [BZ #14080]
5950 * time/tzset.c (__tzset_parse_tz): Update default rules for
5951 daylight time changes in the Energy Policy Act of 2005.
5952
1db86e88
AJ
59532012-05-09 Andreas Jaeger <aj@suse.de>
5954
5955 [BZ #13983]
5956 * elf/ldconfig.c (parse_conf): Change string to make clear that
5957 ldconfig only issued a warning if ld.so.conf does not exist.
5958
dee4a4e3
DM
59592012-05-08 David S. Miller <davem@davemloft.net>
5960
ee0db190
DM
5961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5962 movxtod instead of popping the value on the stack.
5963
dee4a4e3
DM
5964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5965
6a43ec98
CD
59662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5967
5968 * config.h.in: Add HAVE_ARM_PCS_VFP.
5969
05c2c961
RMG
59702012-05-08 Roland Mc Grath <roland@hack.frob.com>
5971
bcfe3a54
ST
5972 [BZ #13979]
5973 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5974 checking but the checks are disabled for any reason.
05c2c961 5975
4b30f61a
L
59762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5977
5978 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5979 and ELF64_R_TYPE with ELFW(R_TYPE).
5980
eee2bc67
JM
59812012-05-08 Joseph Myers <joseph@codesourcery.com>
5982
7ea5391a
JM
5983 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5984 (ulimit): Likewise.
5985
eee2bc67
JM
5986 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5987 (settimeofday): Likewise.
5988
abb66a67
MF
59892012-05-08 Mike Frysinger <vapier@gentoo.org>
5990
5991 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5992 a struct th_u2 inside the union, and move tu_block/tu_code into
5993 a new th_u3 union of tu_block/tu_code inside of that. Move
5994 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5995 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5996 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5997 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5998 (th_stuff): Change to th_u1.tu_stuff.
5999 (th_data): Define.
6000 (th_msg): Change to th_u1.th_u2.tu_data.
6001
7f18b530
DM
60022012-05-07 David S. Miller <davem@davemloft.net>
6003
05760585
DM
6004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6005
7f18b530
DM
6006 [BZ #14074]
6007 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6008 (SETUP_PIC_REG): Use it.
6009 (SETUP_PIC_REG_LEAF): Use it.
6010
495fd99f
JM
60112012-05-07 Joseph Myers <joseph@codesourcery.com>
6012
6013 [BZ #13885]
6014 [BZ #13923]
6015 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6016 USE_AS_EXPM1L.
6017 (EXPL_FINITE): Likewise.
6018 (FLDLOG): Likewise.
6019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6020 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6021 e_expl.S.
6022 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6023 USE_AS_EXPM1L.
6024 (EXPL_FINITE): Likewise.
6025 (FLDLOG): Likewise.
6026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6027 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6028 e_expl.S.
6029 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6030 test of -max_value argument for long double.
6031 * sysdeps/i386/fpu/libm-test-ulps: Update.
6032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6033
6693d694
DM
60342012-05-06 David S. Miller <davem@davemloft.net>
6035
6036 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6037 quad soft-float symbols whose references which are compiler
6038 generated.
6039 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6040
6c23e11c
JM
60412012-05-06 Joseph Myers <joseph@codesourcery.com>
6042
d8b82cad
JM
6043 [BZ #13884]
6044 [BZ #13914]
6045 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6046 USE_AS_EXP10L.
6047 (EXPL_FINITE): Likewise.
6048 (FLDLOG): Likewise.
6049 (c0): Likewise.
6050 (c1): Likewise.
6051 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6052 Adjust comments for base varying.
6053 (__expl_finite): Change alias to EXPL_FINITE.
6054 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6055 e_expl.S.
6056 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6057 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6059 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6061 USE_AS_EXP10L.
6062 (EXPL_FINITE): Likewise.
6063 (FLDLOG): Likewise.
6064 (c0): Likewise.
6065 (c1): Likewise.
6066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6067 Adjust comments for base varying.
6068 (__expl_finite): Change alias to EXPL_FINITE.
6069 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6070 tests for bugs.
6071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6072
6c23e11c
JM
6073 [BZ #14064]
6074 * math/libm-test.inc (check_float_internal): Correct ulp
6075 calculation for subnormal expected results.
6076
29ba805c
AJ
60772012-05-06 Andreas Jaeger <aj@suse.de>
6078
6079 * Makeconfig (+math-flags): New, set to -frounding-math.
6080 (+cflags): Add +math-flags so that all of glibc gets compiled with
6081 it.
6082
6083 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6084
7b17aeda
JM
60852012-05-05 Joseph Myers <joseph@codesourcery.com>
6086
5779f134
JM
6087 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6088 Disable one test.
6089
41498f4d
JM
6090 [BZ #13787]
6091 [BZ #13922]
6092 [BZ #14036]
6093 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6094 (__ieee754_expl): Allow for and saturate large arguments.
6095 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6096 (u_threshold): Likewise.
6097 (__exp): Call __ieee754_exp before checking for overflow and
6098 underflow.
6099 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6100 (u_threshold): Likewise.
6101 (__expf): Call __ieee754_expf before checking for overflow and
6102 underflow.
6103 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6104 (u_threshold): Likewise.
6105 (__expl): Call __ieee754_expl before checking for overflow and
6106 underflow.
6107 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6108 (__ieee754_expl): Allow for and saturate large arguments.
6109 * math/libm-test.inc (exp_test): Add another test. Do not allow
6110 missing overflow exception on overflow.
6111 (expm1_test): Do not allow missing overflow exception on overflow.
6112
6698b8bf
JM
6113 * sysdeps/i386/fpu/e_expl.c: Move to ...
6114 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6115 rather than using inline asm.
6116 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6117 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6118 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6119
7b17aeda
JM
6120 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6121 (nice): Likewise.
6122 (poll): Likewise.
6123 (signal): Likewise.
6124 (time): Likewise.
6125 (times): Likewise.
6126
f7c85819
JM
61272012-05-04 Joseph Myers <joseph@codesourcery.com>
6128
6129 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6130 sysdeps/unix/common/syscalls.list.
6131 (fchmod): Likewise.
6132 (fchown): Likewise.
6133 (ftruncate): Likewise.
6134 (getrusage): Likewise.
6135 (gettimeofday): Likewise.
6136 (setpgid): Likewise.
6137 (setregid): Likewise.
6138 (setreuid): Likewise.
6139 (sigaction): Likewise.
6140 (truncate): Likewise.
6141 (vhangup): Likewise.
6142 * sysdeps/unix/common/syscalls.list: Remove file.
6143 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6144 * sysdeps/unix/sysv/linux/Implies: Likewise.
6145
336270d0
L
61462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6147
6148 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6150 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6151 Moved to ...
6152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6153 Here.
6154 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6155 to ...
6156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6157 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6158 to ...
6159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6160 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6161 to ...
6162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6163 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6164 to ...
6165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6166 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6167 to ...
6168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6169 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6170 to ...
6171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6172 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6173 to ...
6174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6175 Here.
6176 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6177 to ...
6178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6179 Here.
6180 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6181 to ...
6182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6183 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6184 Moved to ...
6185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6186 Here.
6187 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6188 to ...
6189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6190
d128e450
JM
61912012-05-04 Joseph Myers <joseph@codesourcery.com>
6192
fa8ee516
JM
6193 * sysdeps/unix/common/bits/dirent.h: Remove file.
6194 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6195
d128e450
JM
6196 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6197 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6198 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6199 * sysdeps/unix/bsd/isatty.c: Likewise.
6200 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6201 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6202 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6203
ff8faaf0 62042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6205
62881be4 6206 [BZ #13563]
31dc8730
AZ
6207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6208 long double comparison inaccuracies.
6209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6211
6fef930c
AS
62122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6213
6214 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6215 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6216
8f203e6c
JM
62172012-05-04 Joseph Myers <joseph@codesourcery.com>
6218
6219 [BZ #14049]
6220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6221 nonzero digits before rounding a hex value.
6222 * stdlib/tst-strtod.c (tests): Add another test.
6223
5197d9c2
AK
62242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6225
6226 * sysdeps/s390/fpu/libm-test-ulps: Update.
6227
f0c1dedf
AJ
62282012-05-03 Andreas Jaeger <aj@suse.de>
6229
6230 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6231 does not get optimized out.
6232 (malloc_opt_barrier): New.
6233
a65ef2ae 62342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6235 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6236
2b942cb7 6237 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6238 intermediate file deletion.
2b942cb7 6239 (generated): Add .symlist files.
a65ef2ae 6240
54b71e02
JM
62412012-05-03 Joseph Myers <joseph@codesourcery.com>
6242
6243 [BZ #13775]
6244 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6245 Redirect under this condition.
6246 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6247 [__USE_GNU] (__dprintf_chk): Not under this condition.
6248 [__USE_GNU] (__vdprintf_chk): Likewise.
6249 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6250 under this condition.
6251 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6252 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6253 [__USE_XOPEN2K8] (vdprintf): Likewise.
6254 [__USE_GNU] (__dprintf_chk): Not under this condition.
6255 [__USE_GNU] (__vdprintf_chk): Likewise.
6256 [__USE_GNU] (dprintf): Likewise.
6257 [__USE_GNU] (vdprintf): Likewise.
6258
d3dfcc41
RM
62592012-05-03 Roland McGrath <roland@hack.frob.com>
6260
6261 * elf/Makefile (common-generated): Set this instead of generated for
6262 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6263 $(all-built-dso)-derived lists.
6264
7ac30cc5
AJ
62652012-05-03 Andreas Jaeger <aj@suse.de>
6266
0c51e550
AJ
6267 * sysdeps/i386/fpu/libm-test-ulps: Update.
6268
7ac30cc5
AJ
6269 * FAQ: Removed.
6270 * FAQ.in: Likewise.
6271 * scripts/gen-FAQ.pl: Likewise.
6272 * manual/install.texi (Installation): Point to online location of
6273 FAQ.
6274 * Makefile (files-for-dist): Remove FAQ.
6275 (FAQ): Remove.
6276
d4c2917f
AM
62772012-05-02 Allan McRae <allan@archlinux.org>
6278
6279 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6280 (LDFLAGS-reldepmod5.so): Likewise.
6281 (LDFLAGS-reldep6mod1.so): Likewise.
6282 (LDFLAGS-reldep6mod4.so): Likewise.
6283 (LDFLAGS-reldep8mod3.so): Likewise.
6284 (LDFLAGS-unload4mod1.so): Likewise.
6285 (LDFLAGS-unload4mod2.so): Likewise.
6286 (LDFLAGS-tst-initorder): Likewise.
6287 (LDFLAGS-tst-initordera2.so): Likewise.
6288 (LDFLAGS-tst-initordera3.so): Likewise.
6289 (LDFLAGS-tst-initordera4.so): Likewise.
6290 (LDFLAGS-tst-initorderb2.so): Likewise.
6291 (LDFLAGS-noload): Likewise.
6292 (LDFLAGS-next): Likewise.
6293 (LDFLAGS-order2mod1.so): Likewise.
6294 (LDFLAGS-order2mod2.so): Likewise.
6295 (LDFLAGS-tst-initorder2): Likewise.
6296 (LDFLAGS-tst-initorder2a.so): Likewise.
6297 (LDFLAGS-tst-initorder2b.so): Likewise.
6298 (LDFLAGS-tst-initorder2c.so): Likewise.
6299 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6300
d77f993f
DM
63012012-05-02 David S. Miller <davem@davemloft.net>
6302
6303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6304
171a70b4
PP
63052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6306
6307 [BZ #14055]
6308 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6309
0be196ad
AJ
63102012-05-02 Andreas Jaeger <aj@suse.de>
6311
6312 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6313 since we manipulate rounding mode.
6314 (CPPFLAGS-test-idouble.c): Likewise.
6315 (CPPFLAGS-test-ifloat.c): Likewise.
6316 (CFLAGS-test-ldouble.c): Likewise.
6317 (CFLAGS-test-double.c): Likewise.
6318 (CFLAGS-test-float.c): Likewise.
6319 (CFLAGS-test-misc.c): Likewise.
6320 (CFLAGS-test-test-fenv.c): Likewise.
6321
4f9d04aa
AZ
63222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6323
2b942cb7
RM
6324 [BZ #2550]
6325 [BZ #2570]
6326 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6327 comparisons to determine direction to adjust input.
4f9d04aa 6328
82a79e7d
RM
63292012-05-01 Roland McGrath <roland@hack.frob.com>
6330
f5a01ca9
RM
6331 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6332 output to the target.
6333
90fe4186
RM
6334 * scripts/localplt.awk: New file.
6335 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6336 (check-localplt-CFLAGS): Variable removed.
6337 ($(all-built-dso:=.jmprel)): New static pattern rule.
6338 (generated): Add those targets.
6339 (localplt-built-dso): New variable.
6340 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6341
6342 * elf/check-localplt.c: File removed.
6343
82397ed6
RM
6344 * scripts/check-execstack.awk: New file.
6345 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6346 (check-execstack-CFLAGS): Variable removed.
6347 ($(objpfx)check-execstack.h): Target removed.
6348 ($(objpfx)execstack-default): New target.
6349 (generated): Add that instead of check-execstack.h.
6350 ($(all-built-dso:=.phdr)): New static pattern rule.
6351 (generated): Add those targets.
6352 * elf/check-execstack.c: File removed.
6353
82a79e7d
RM
6354 * scripts/check-textrel.awk: New file.
6355 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6356 (check-textrel-CFLAGS): Variable removed.
6357 (all-built-dso): Use := to define.o
6358 ($(all-built-dso:=.dyn)): New static pattern rule.
6359 (generated): Add those targets.
6360 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6361 * config.make.in (READELF): New substituted variable.
6362 * elf/check-textrel.c: File removed.
6363
62fde54f 63642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6365
615605c9
JM
6366 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6367 allow.
6368 * conform/data/ctype.h-data [C99-based standards] (isblank):
6369 Expect function.
6370 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6371 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6373 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6374 Specify type. Require positive value.
6375 (EILSEQ): Likewise.
6376 (ERANGE): Likewise.
6377 [ISO || POSIX] (EILSEQ): Do not expect.
6378 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6379 Specify type. Require positive value.
6380 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6381 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6382 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6383 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6384 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6385 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6386 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6387 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6388 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6389 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6390 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6391 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6392 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6393 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6394 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6395 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6396 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6397 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6398 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6399 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6400 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6401 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6402 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6403 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6404 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6405 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6406 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6407 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6408 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6409 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6410 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6411 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6412 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6413 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6414 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6415 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6416 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6418 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6420 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6421 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6422 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6423 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6424 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6425 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6426 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6427 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6428 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6429 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6430 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6435 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6440 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6454 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6455 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6456 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6457 Require >= 2.
6458 (FLT_ROUNDS): Expect as macro, not constant.
6459 (FLT_MANT_DIG): Use macro-int-constant.
6460 (DBL_MANT_DIG): Likewise.
6461 (LDBL_MANT_DIG): Likewise.
6462 (FLT_DIG): Likewise.
6463 (DBL_DIG): Likewise.
6464 (LDBL_DIG): Likewise.
6465 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6466 (DBL_MIN_EXP): Likewise.
6467 (LDBL_MIN_EXP): Likewise.
6468 (FLT_MAX_EXP): Use macro-int-constant.
6469 (DBL_MAX_EXP): Likewise.
6470 (LDBL_MAX_EXP): Likewise.
6471 (FLT_MAX_10_EXP): Likewise.
6472 (DBL_MAX_10_EXP): Likewise.
6473 (LDBL_MAX_10_EXP): Likewise.
6474 (FLT_MAX): Use macro-constant.
6475 (DBL_MAX): Likewise.
6476 (LDBL_MAX): Likewise.
6477 (FLT_EPSILON): Use macro-constant. Give upper bound.
6478 (DBL_EPSILON): Likewise.
6479 (LDBL_EPSILON): Likewise.
6480 (FLT_MIN): Likewise.
6481 (DBL_MIN): Likewise.
6482 (LDBL_MIN): Likewise.
6483 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6484 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6485 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6486 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6487 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6488 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6489 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6490 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6491 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6492 [ISO11] (FLT_TRUE_MIN): Likewise.
6493 [ISO11] (LDBL_TRUE_MIN): Likewise.
6494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6495 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6496 (SCHAR_MIN): Use macro-int-constant. Specify type.
6497 (SCHAR_MAX): Likewise.
6498 (UCHAR_MAX): Likewise.
6499 (CHAR_MIN): Likewise.
6500 (CHAR_MAX): Likewise.
6501 (MB_LEN_MAX): Use macro-int-constant.
6502 (SHRT_MIN): Use macro-int-constant. Specify type.
6503 (SHRT_MAX): Likewise.
6504 (USHRT_MAX): Likewise.
6505 (INT_MAX): Likewise.
6506 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6507 bound negative.
6508 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6509 bound with "U".
6510 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6511 bound with "L".
6512 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6513 bound negative. Suffix upper bound with "L".
6514 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6515 bound with "UL".
6516 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6517 Specify type.
6518 [C99-based standards] (LLONG_MAX): Likewise.
6519 [C99-based standards] (ULLONG_MAX): Likewise.
6520 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6521 == 0.
6522 [ISO11] (max_align_t): Require type.
6523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6524
c9140a62
JM
6525 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6526 from $CFLAGS, without defining away __attribute__ calls.
6527 (checknamespace): Use $CFLAGS_namespace.
6528
9af0bf29
JM
6529 * conform/conformtest.pl (@keywords): Only include C99 keywords
6530 for standards based on C99 or C11.
6531
343222a2
JM
6532 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6533 Disable tests.
6534 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6535 UNIX98]: Likewise.
6536
661f8cf0
JM
6537 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6538 usability of symbols in #if.
6539
ee74b9cb
JM
6540 * conform/conformtest.pl: If macro or constant types start
6541 "promoted:", expect the symbol to be of the following type
6542 promoted by the integer promotions.
62fde54f 6543
aafc49b3
JM
6544 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6545 in one place. Also handle "macro-constant".
6546
fefdf574
JM
6547 * conform/conformtest.pl: Only accept expected macro values with
6548 "==". Parse all "macro" lines in one place.
6549 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6550
f2d922fe
JM
6551 * conform/conformtest.pl: Handle braced types on "constant" lines
6552 instead of handling "typed-constant".
6553 * conform/data/signal.h-data: Use "constant" instead of
6554 "typed-constant".
6555
d22956c9
JM
6556 * conform/conformtest.pl: Handle "optional-" at start of lines in
6557 one place rather than duplicating several cases. Handle each
6558 format of "macro" line with initial "optional-".
6559
028e2e38
JM
6560 * conform/conformtest.pl: Only accept expected constant or
6561 optional-constant values with "==". Parse all "constant" lines in
6562 one place. Parse all "optional-constant" lines in one place.
6563 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6564 * conform/data/fmtmsg.h-data: Likewise.
6565 * conform/data/netinet/in.h-data: Likewise.
6566 * conform/data/tar.h-data: Likewise.
6567 * conform/data/limits.h-data: Use "==" form on "constant" and
6568 "optional-constant" lines.
6569
1b8f2850
JM
6570 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6571 Use -std=c99 for XOPEN2K.
6572 (@knownproblems): Remove.
6573 (newtoken): Don't check %isknown.
6574
a05a144b
JM
6575 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6576 Do not expect macro.
6577 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6583 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6584 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6585 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6589 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6590 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6591 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6592 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6593 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6605 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6606 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6607 [XPG3] (acosh): Likewise.
6608 [XPG3] (asinh): Likewise.
6609 [XPG3] (atanh): Likewise.
6610 [XPG3] (cbrt): Likewise.
6611 [XPG3] (expm1): Likewise.
6612 [XPG3] (ilogb): Likewise.
6613 [XPG3] (log1p): Likewise.
6614 [XPG3] (logb): Likewise.
6615 [XPG3] (nextafter): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6618 [XPG3] (remainder): Likewise.
6619 [XPG3] (rint): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6623 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6624 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6626 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6627 [UNIX98 || XOPEN2K] (scalb): Expect.
6628 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6629 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6630 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6631 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6632 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6633 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6634 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6635 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6643 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6644 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6645 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6646 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6647 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6651 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6661 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6662 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6663 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6664 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6665 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6666 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6667 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6668 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6669 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6670 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6671 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6672 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6673 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6674 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6675 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6676 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6677 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6678 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6679 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6680 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6684 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6685 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6686 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6688 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6689 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6690 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6695 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6696 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6697 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6698 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6699 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6700 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6701 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6702 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6703 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6704 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6705 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6706 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6707 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6708 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6709 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6710 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6711 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6712 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6713 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6714 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6715 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6716 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6717 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6718 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6719 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6720 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6721 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6722 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6723 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6724 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6725 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6726 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6727 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6728 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6729 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6730 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6731 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6732 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6733 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6734 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6735 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6736 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6737 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6738 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6739 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6740 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6741 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6742 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6743 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6744 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6745 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6746 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6747 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6748 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6749 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6750 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6751 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6752 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6753 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6754 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6755 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6756 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6757 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6758 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6759 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6760 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6761 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6765
73c5ebe3
JM
6766 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6767 _XOPEN_SOURCE_EXTENDED for XPG4.
6768
39c33b6c
JM
6769 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6770
62fde54f
JM
6771 * Makeconfig (localtime): Remove variable.
6772 (inst_localtime-file): Likewise.
6773
0741d64c
AS
67742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6775
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6777 Update.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6779 Update.
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6781 Update.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6783 Update.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6785 Update.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6787 Update.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6789 Update.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6791 Update.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6793 Update.
6794
7cb029ee
JM
67952012-05-01 Joseph Myers <joseph@codesourcery.com>
6796
6797 [BZ #2550]
6798 [BZ #2570]
6799 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6800 comparisons to determine direction to adjust input.
6801 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6802 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6804 Likewise.
6805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6806 Likewise.
6807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6808 Likewise.
6809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6811 Likewise.
6812 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6813 Likewise.
6814 * math/libm-test.inc (nexttoward_test): Add more tests.
6815
412bd966
AS
68162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6817
6818 [BZ #14040]
6819 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6820 in version GLIBC_2.1, not GLIBC_2.0.
6821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6822 Likewise.
6823
9568c0c2
JM
68242012-04-30 Joseph Myers <joseph@codesourcery.com>
6825
adfbc8ac
JM
6826 [BZ #13942]
6827 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6828 (1 - x) * (1 + x).
6829 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6830 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6831 * math/libm-test.inc (acos_test): Add more tests.
6832 (asin_test): Likewise.
6833 * sysdeps/i386/fpu/libm-test-ulps: Update.
6834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6835
5ba3cc69
JM
6836 [BZ #14034]
6837 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6838 of square root.
6839 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6840 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6841 * math/libm-test.inc (acos_test_tonearest): New function.
6842 (acos_test_towardzero): Likewise.
6843 (acos_test_downward): Likewise.
6844 (acos_test_upward): Likewise.
6845 (asin_test_tonearest): Likewise.
6846 (asin_test_towardzero): Likewise.
6847 (asin_test_downward): Likewise.
6848 (asin_test_upward): Likewise.
6849 (main): Call the new functions.
6850 * sysdeps/i386/fpu/libm-test-ulps: Update.
6851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6852
9568c0c2
JM
6853 [BZ #13884]
6854 [BZ #13924]
6855 * math/e_exp10.c: Include <float.h>.
6856 (__ieee754_exp10): Handle underflow here rather than multiplying
6857 large negative argument by M_LN10.
6858 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6859 of __ieee754_expf.
6860 * math/e_exp10l.c: Include <float.h>.
6861 (__ieee754_exp10l): Handle underflow here rather than multiplying
6862 large negative argument by M_LN10l.
6863 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6864 spurious overflow exception on underflow.
6865
5ac3ea17
MP
68662012-04-29 Marek Polacek <polacek@redhat.com>
6867
6868 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6869 (__fortify_function): New macro.
6870 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6871 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6872 __extern_always_inline.
6873 * libio/bits/stdio2.h: Likewise.
6874 * libio/bits/stdio.h: Likewise.
6875 * string/string.h: Likewise.
6876 * string/bits/string3.h: Likewise.
6877 * include/stdio.h: Likewise.
6878 * stdlib/bits/stdlib.h: Likewise.
6879 * stdlib/stdlib.h: Likewise.
6880 * rt/bits/mqueue2.h: Likewise.
6881 * rt/mqueue.h: Likewise.
6882 * posix/bits/unistd.h: Likewise.
6883 * posix/unistd.h: Likewise.
6884 * io/bits/poll2.h: Likewise.
6885 * io/bits/fcntl2.h: Likewise.
6886 * io/fcntl.h: Likewise.
6887 * io/sys/poll.h: Likewise.
6888 * misc/bits/syslog.h: Likewise.
6889 * misc/bits/syslog-ldbl.h: Likewise.
6890 * misc/sys/syslog.h: Likewise.
6891 * socket/bits/socket2.h: Likewise.
6892 * socket/sys/socket.h: Likewise.
6893 * debug/tst-chk1.c: Likewise.
6894 * wcsmbs/bits/wchar2.h: Likewise.
6895 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6896 * wcsmbs/wchar.h: Likewise.
6897
ecf0ebfb
AJ
68982012-04-29 Andreas Jaeger <aj@suse.de>
6899
6900 * Makerules (tests): Remove enable-check-abi protection.
6901 (check-abi-warn): Remove.
6902 (check-abi-%): Remove check-abi-warn usage.
6903
6904 * configure.in: Remove check-abi configure option.
6905 * configure: Regenerated.
6906 * config.make.in (enable-check-abi): Remove.
6907
6d5c57fa
AS
69082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6909
24c5d07e 6910 [BZ #14033]
ded5180a
AS
6911 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6912 double functions to double *_finite functions.
6913
7e0d315d
AS
6914 [BZ #13941]
6915 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6916 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6917 LDBL_MIN_EXP.
6918 * stdio-common/Makefile (tests): Add tst-sprintf3.
6919 * stdio-common/tst-sprintf3.c: New file.
6920
6d5c57fa
AS
6921 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6922 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6923
0749ff8b
JM
69242012-04-28 Joseph Myers <joseph@codesourcery.com>
6925
6926 * conform/conformtest.pl: Remove duplicate typed-constant
6927 handling.
6928
8dbd5d7b
DM
69292012-04-28 David S. Miller <davem@davemloft.net>
6930
6931 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6932 (check-abi-%): Remove AWK script prerequisite and explicit
6933 abilist directory.
6934 (check-abi): Rewrite to just diff the symlist with the abilist.
6935 (config-tls, config-abi-config): Delete, no longer used.
6936 (update-abi-%): Remove AWK script and explicit abilist directory.
6937 (update-abi): Rewrite to simply compare and conditionally copy the
6938 symlist and the sysdep abilist file. Remove update-abi-config
6939 checks.
6940 * abilist/ld.abilist: Remove.
6941 * abilist/libBrokenLocale.abilist: Remove.
6942 * abilist/libanl.abilist: Remove.
6943 * abilist/libcrypt.abilist: Remove.
6944 * abilist/libdl.abilist: Remove.
6945 * abilist/librt.abilist: Remove.
6946 * abilist/libthread_db.abilist: Remove.
6947 * abilist/libutil.abilist: Remove.
6948 * scripts/extract-abilist.awk: Remove.
6949 * scripts/merge-abilist.awk: Remove.
6950 * sysdeps/generic/libcidn.abilist: New file.
6951 * sysdeps/generic/libnss_compat.abilist: New file.
6952 * sysdeps/generic/libnss_db.abilist: New file.
6953 * sysdeps/generic/libnss_dns.abilist: New file.
6954 * sysdeps/generic/libnss_files.abilist: New file.
6955 * sysdeps/generic/libnss_hesiod.abilist: New file.
6956 * sysdeps/generic/libnss_nis.abilist: New file.
6957 * sysdeps/generic/libnss_nisplus.abilist: New file.
6958 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6959 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6960 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6961 file.
6962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6963 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6964 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6965 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6966 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6967 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6968 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6969 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6970 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6971 file.
6972 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6973 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6974 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6975 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6976 file.
6977 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6978 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6980 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6981 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6982 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6983 file.
6984 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6985 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6986 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6987 file.
6988 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6990 New file.
6991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6992 New file.
6993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6994 New file.
6995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6996 New file.
6997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6998 New file.
6999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7000 New file.
7001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7002 New file.
7003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7004 New file.
7005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7006 New file.
7007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7008 New file.
7009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7010 New file.
7011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7012 New file.
7013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7014 New file.
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7016 file.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7018 New file.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7020 New file.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7022 file.
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7024 New file.
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7026 New file.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7028 file.
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7030 New file.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7032 New file.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7034 New file.
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7036 New file.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7038 New file.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7040 New file.
7041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7043 file.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7045 New file.
7046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7047 file.
7048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7049 file.
7050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7051 file.
7052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7053 file.
7054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7055 file.
7056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7057 New file.
7058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7059 file.
7060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7061 file.
7062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7063 New file.
7064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7065 file.
7066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7068 file.
7069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7070 New file.
7071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7072 file.
7073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7074 file.
7075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7076 file.
7077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7078 file.
7079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7080 file.
7081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7082 New file.
7083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7084 file.
7085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7086 file.
7087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7088 New file.
7089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7090 file.
7091 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7092 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7093 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7094 file.
7095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7096 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7097 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7098 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7099 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7100 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7101 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7102 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7103 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7104 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7107 file.
7108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7109 New file.
7110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7111 file.
7112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7113 file.
7114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7115 file.
7116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7117 file.
7118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7119 file.
7120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7121 New file.
7122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7123 New file.
7124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7125 file.
7126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7127 New file.
7128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7129 file.
7130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7132 file.
7133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7134 New file.
7135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7136 file.
7137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7138 file.
7139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7140 file.
7141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7142 file.
7143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7144 file.
7145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7146 New file.
7147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7148 New file.
7149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7150 file.
7151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7152 New file.
7153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7154 file.
7155
41d73a1b
JM
71562012-04-28 Joseph Myers <joseph@codesourcery.com>
7157
7158 * conform/conformtest.pl: Fix typo in handling typed-constant from
7159 allow-header.
7160
28aeeda4
JM
71612012-04-27 Joseph Myers <joseph@codesourcery.com>
7162
adae8f5e
JM
7163 * README: Cut down references to pre-2.6 Linux kernels and
7164 Linuxthreads. Update lists of configurations in libc and ports
7165 and sort alphabetically. Say "or newer" with Linux kernel version
7166 requirements.
7167
28aeeda4
JM
7168 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7169
a462cb63
RA
71702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7171
7172 [BZ #887]
7173 * math/libm-test.inc (logb_test_downward): New test to expose
7174 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7175 rounding mode.
7176
6ad3493e
JM
71772012-04-27 Joseph Myers <joseph@codesourcery.com>
7178
7179 [BZ #14027]
7180 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7181 to be done.
7182 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7183 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7184
2ce4f015
JM
71852012-04-26 Joseph Myers <joseph@codesourcery.com>
7186
5aeb141a
JM
7187 * sysdeps/unix/i386/brk.S: Remove file.
7188 * sysdeps/unix/i386/dl-brk.S: Likewise.
7189 * sysdeps/unix/i386/pipe.S: Likewise.
7190 * sysdeps/unix/i386/sigreturn.S: Likewise.
7191 * sysdeps/unix/i386/syscall.S: Likewise.
7192 * sysdeps/unix/i386/vfork.S: Likewise.
7193 * sysdeps/unix/i386/wait.S: Likewise.
7194
7143acae
JM
7195 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7196 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7197
2ce4f015
JM
7198 * configure.in (arm*-none*): Do not allow without
7199 --enable-hacker-mode.
7200 (netbsd*): Remove case setting base_os.
7201 (386bsd*): Likewise.
7202 (freebsd*): Likewise.
7203 (bsdi*): Likewise.
7204 (osf*): Likewise.
7205 (sunos*): Likewise.
7206 (ultrix*): Likewise.
7207 (newsos*): Likewise.
7208 (dynix*): Likewise.
7209 (*bsd*): Likewise.
7210 (sysv*): Likewise.
7211 (isc*): Likewise.
7212 (esix*): Likewise.
7213 (sco*): Likewise.
7214 (minix*): Likewise.
7215 (irix4*): Likewise.
7216 (irix6*): Likewise.
7217 (solaris[2-9]*): Likewise.
7218 (none): Likewise.
7219 * configure: Regenerated.
7220
0ac229c8
AZ
72212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7222
7223 [BZ #11521]
7224 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7225 overflow or cancellation in calculating denominator.
7226 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7228 down expression to avoid unexpected rounding in newer GCCs.
7229 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7230
33f244f4
DM
72312012-04-26 David S. Miller <davem@davemloft.net>
7232
7233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7234 long-double compat symbols.
7235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7248
cfa1f3e8
DM
72492012-04-25 David S. Miller <davem@davemloft.net>
7250
7251 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7252 HWCAP_* values only after the memory barriers have been defined.
7253 (atomic_full_barrier): Define.
7254 (atomic_read_barrier): Define.
7255 (atomic_write_barrier): Define.
7256
6e236b92
SP
72572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7258
7259 * shlib-versions: Add libgcc_s version information.
7260 * sysdeps/generic/libgcc_s.h: Remove.
7261 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7262 libgcc_s.h.
7263 * sysdeps/gnu/unwind-resume.c: Likewise.
7264 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7265
aab39a09
DM
72662012-04-25 David S. Miller <davem@davemloft.net>
7267
7268 * sysdeps/unix/sparc/brk.S: Delete.
7269 * sysdeps/unix/sparc/dl-brk.S: Delete.
7270 * sysdeps/unix/sparc/pipe.S: Delete.
7271 * sysdeps/unix/sparc/sysdep.S: Delete.
7272 * sysdeps/unix/sparc/sysdep.h: Delete.
7273 * sysdeps/unix/sparc/vfork.S: Delete.
7274 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7275 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7276 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7277 ret_ERRVAL, r0, r1, MOVE): Define.
7278 (JUMPTARGET): Remove.
7279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7280 sysdeps/unix/sparc/sysdep.h
7281 (ENTRY, END): Remove.
7282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7283
a3cc4f48
JM
72842012-04-25 Joseph Myers <joseph@codesourcery.com>
7285
2ed8cda2
JM
7286 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7287 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7288 -DIS_IN_build.
7289
35d76d59
JM
7290 * timezone/README: Update upstream location and email address for
7291 tzcode and tzdata.
7292 * timezone/zdump.c: Update from tzcode 2012b.
7293 * timezone/zic.c: Likewise.
7294
a3cc4f48
JM
7295 * configure.in (libc_cv_as_needed): Remove test.
7296 * configure: Regenerated.
7297 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7298 conditional definition.
7299 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7300 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7301 * config.make.in (have-as-needed): Remove variable.
7302
ceab42c3
SP
73032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7304 Paul Pluzhnikov <ppluzhnikov@google.com>
7305
7306 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7307 strings correctly.
7308
3ce2865f
CLT
73092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7310
7311 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7312 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7313 * sysdeps/sh/strlen.S: Likewise.
7314
f37e0d68
JM
73152012-04-24 Joseph Myers <joseph@codesourcery.com>
7316
ae186e9a
JM
7317 * sysdeps/unix/fork.S: Remove file.
7318 * sysdeps/unix/i386/fork.S: Likewise.
7319 * sysdeps/unix/sparc/fork.S: Likewise.
7320
b96914af
JM
7321 * sysdeps/unix/system.c: Remove file.
7322 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7323
f37e0d68
JM
7324 * sysdeps/unix/getegid.S: Remove file.
7325 * sysdeps/unix/geteuid.S: Likewise.
7326
87ef29ca
RM
73272012-04-24 Roland McGrath <roland@hack.frob.com>
7328
83bcd236
RM
7329 * scripts/check-localplt.awk: New file.
7330 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7331 of diff.
7332 * scripts/data/localplt-generic.data: Add a comment.
7333
87ef29ca
RM
7334 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7335 NODE when __dir_mkfile failed.
7336 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7337 Reported by Ludovic Courtès <ludo@gnu.org>.
7338
e5a6e567
AJ
73392012-04-24 Andreas Jaeger <aj@suse.de>
7340
7341 * Makerules (common-clean): Also remove gen-as-const-headers
7342 files.
7343
c1820385
JM
73442012-04-24 Joseph Myers <joseph@codesourcery.com>
7345
7346 * Makerules (native-compile): Do not change working directory for
7347 build. Use $(OUTPUT_OPTION) in command.
7348 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7349
94e02fc4
AZ
73502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7351
7352 [BZ #13886]
7353 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7354 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7355 * math/libm-test.inc (floor_test): Add more tests.
7356 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7357
3a533ca3
JM
73582012-04-24 Joseph Myers <joseph@codesourcery.com>
7359
940ab4b3
JM
7360 * sysdeps/unix/getdents.c: Remove file.
7361 * sysdeps/unix/sysv/getdents.c: Likewise.
7362 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7363
90e037bd
JM
7364 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7365 sysdeps/unix/mman/syscalls.list.
7366 (mmap): Likewise.
7367 (mprotect): Likewise.
7368 (msync): Likewise.
7369 (munmap): Likewise.
7370 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7371 * sysdeps/unix/mman/syscalls.list: Remove.
7372 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7373
3a533ca3
JM
7374 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7375 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7376 * configure: Regenerated.
7377 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7378 $(libgcc_s_suffix).
7379 * config.make.in (libgcc_s_suffix): Remove variable.
7380
1ad743de
JM
73812012-04-23 Joseph Myers <joseph@codesourcery.com>
7382
4ad451e2
JM
7383 * sysdeps/unix/sysv/gethostname.c: Move to ...
7384 * sysdeps/posix/gethostname.c: ... here.
7385
5e37ce39
JM
7386 * sysdeps/unix/execve.S: Remove file.
7387
1ad743de
JM
7388 * sysdeps/unix/_exit.S: Remove file.
7389
4e681b5b
AJ
73902012-04-23 Andreas Jaeger <aj@suse.de>
7391
7392 [BZ #13739]
7393 * manual/Makefile: Remove make dist support, there's no
7394 need for a stand-alone documentation tar ball.
7395 (TEXI2DVI): Define always, it's not in Makeconfig.
7396 (dist): Removed.
7397 (tar-it): Removed.
7398 (edition): Removed.
7399 (glibc-doc-$(edition).tar): Removed
7400 (%.Z): Removed.
7401 (%.gz): Removed.
7402 (%.uu): Removed.
7403 (ETAGS): Remove, it's in Makeconfig.
7404 (move-if-change): Remove, it's in Makeconfig.
7405
c0baea34
PE
74062013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7407
7408 [BZ #13970]
7409 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7410 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7411 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7412 (strtod_l, strtof_l, strtold_l): Remove __wur.
7413 It is not necessarily an error to ignore strtol's return value.
7414 One can reliably look at the stored endptr to decide whether
7415 the number had valid syntax.
7416
7c0616fa
AJ
74172012-04-21 Andreas Jaeger <aj@suse.de>
7418
803cb6b7 7419 [BZ #13739]
7c0616fa
AJ
7420 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7421
b0fe253f
JM
74222012-04-21 Joseph Myers <joseph@codesourcery.com>
7423
7424 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7425 * sysdeps/unix/sysv/Versions: Remove file.
7426
8280f22d
MT
74272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7428
7429 [BZ #13927]
7430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7431
75ce411f 74322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7433
7434 [BZ #7064]
7435 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7436 version from __vm86.
7437
097d59fa
JM
74382012-04-20 Joseph Myers <joseph@codesourcery.com>
7439
a90f3bcb
JM
7440 * sysdeps/unix/common/lxstat.c: Remove file.
7441 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7442
edc7ea78
JM
7443 * sysdeps/unix/sysv/Makefile: Remove file.
7444
cb78c221
JM
7445 * sysdeps/unix/sysv/direct.h: Remove file.
7446
efa6a45f
JM
7447 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7448 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7449 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7450 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7451 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7452 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7453 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7454
9c9f2d0c
JM
7455 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7456
4541c83b
JM
7457 * sysdeps/unix/xmknod.c: Remove file.
7458 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7459
f5d153a0
JM
7460 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7461
aa746595
JM
7462 * sysdeps/unix/sysv/i386/time.S: Remove file.
7463
cce5905e
JM
7464 * sysdeps/unix/fxstat.c: Remove file.
7465 * sysdeps/unix/xstat.c: Likewise.
7466 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7467
37fa3841
JM
7468 * sysdeps/unix/sysv/sigaction.c: Remove file.
7469
ff1962a3
JM
7470 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7471 (sysdep_headers): Remove variable.
7472 [termio.h not in sysdep_headers] (generated): Likewise.
7473 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7474 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7475 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7476 * sysdeps/unix/sysv/tcflow.c: Likewise.
7477 * sysdeps/unix/sysv/tcflush.c: Likewise.
7478 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7479 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7480 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7481 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7482 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7483
e7740d31
JM
7484 * sysdeps/unix/siglist.c: Remove file.
7485
ee06f18b
JM
7486 * sysdeps/unix/getppid.S: Remove file.
7487
097d59fa
JM
7488 * sysdeps/unix/mkdir.c: Remove file.
7489 * sysdeps/unix/rmdir.c: Likewise.
7490
ff3d51ec
AS
74912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7492
7493 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7494 ERR_MAX value.
7495 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7496 errlist-compat value.
7497
50f81fd7
DM
74982012-04-18 David S. Miller <davem@davemloft.net>
7499
7500 * sysdeps/generic/memcopy.h (reg_char): Delete.
7501 * debug/strcat_chk.c: Use char, not reg_char.
7502 * debug/strcpy_chk.c: Likewise.
7503 * debug/strncat_chk.c: Likewise.
7504 * debug/strncpy_chk.c: Likewise.
7505 * string/memchr.c: Likewise.
7506 * string/memrchr.c: Likewise.
7507 * string/rawmemchr.c: Likewise.
7508 * string/strcat.c: Likewise.
7509 * string/strchr.c: Likewise.
7510 * string/strchrnul.c: Likewise.
7511 * string/strcmp.c: Likewise.
7512 * string/strcpy.c: Likewise.
7513 * string/strncat.c: Likewise.
7514 * string/strncmp.c: Likewise.
7515 * string/strncpy.c: Likewise.
7516
8ff41c46
WS
75172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7518
7519 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7520 __builtin_memcopy is called when src and dest ranges are known to not
7521 overlap.
7522
6b652f46
WS
75232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7524
7525 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7526 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7527 fwd_align_merge macro call.
7528 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7529 bwd_align_merge macro call.
7530 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7531
b282631e
WS
75322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7533
7534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7535 bwd_align_merge macros.
7536 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7537 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7539
95aa737c
DM
75402012-04-18 David S. Miller <davem@davemloft.net>
7541
7542 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7543
7a99a614
AJ
75442012-04-18 Andreas Jaeger <aj@suse.de>
7545
7546 [BZ# 6794]
7547 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7548 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7549 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7550
7551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7552 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7554
7555 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7556 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7557 Adjust for changed ldbl-128 files.
7558
7559 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7560 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7561 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7562
e5270c23
DM
75632012-04-17 David S. Miller <davem@davemloft.net>
7564
7565 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7566
fb5e92c9
AS
75672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7568
7569 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7570 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7571 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7572 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7573 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7574 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7575
76da7265
AZ
75762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7577
7578 [BZ #6794]
7579 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7580 * math/libm-test.inc: Add ilogb errno and exception tests.
7581 * math/w_ilogb.c: New file: ilogb wrapper.
7582 * math/w_ilogbf.c: New file: ilogbf wrapper.
7583 * math/w_ilogbl.c: New file: ilogbl wrapper.
7584 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7585 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7586 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7587 exception being thrown with 0.0 as argument.
7588 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7589 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7590 exception being thrown with 0.0 as argument.
7591 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7592 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7593 exception being thrown with 0.0 as argument.
7594 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7595 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7596 exception being thrown with 0.0 as argument.
7597 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7598 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7599 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7600 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7601 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7602 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7603 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7604 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7605 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7606
0396e69d
PB
76072012-04-17 Petr Baudis <pasky@ucw.cz>
7608
7609 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7610 with altivec.
7611
750b5926
MP
76122012-04-16 Marek Polacek <polacek@redhat.com>
7613
7614 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7615
751728a1
MP
76162012-04-16 Marek Polacek <polacek@redhat.com>
7617
7618 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7619 operands of fdivp instruction.
7620
34a27407
L
76212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7622
7623 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7624 * elf/tst-auditmod3b.c: Likewise.
7625 * elf/tst-auditmod4b.c: Likewise.
7626 * elf/tst-auditmod5b.c: Likewise.
7627 * elf/tst-auditmod6b.c: Likewise.
7628 * elf/tst-auditmod6c.c: Likewise.
7629 * elf/tst-auditmod7b.c: Likewise.
7630 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7631 * sysdeps/x86_64/preconfigure.in: Likewise.
7632 * sysdeps/x86_64/preconfigure: Regenerated.
7633
7e73e17d
L
76342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7635
7636 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7637 __ILP32__.
7638
c7a6ab72
AB
76392012-04-13 Antoine Balestrat <merkil33@gmail.com>
7640
7641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7642 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7643
a9e8e0e0
CL
76442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7645
7646 [BZ #13973]
7647 * locale/iso-639.def: Fix gl language name. Spotted by
7648 Yaron Shahrabani.
7649
ec98af7d
RM
76502012-04-12 Roland McGrath <roland@hack.frob.com>
7651
7652 [BZ #2074]
7653 * libio/libio.h (__io_write_fn): Update comment.
7654
247c3ede
PB
76552012-04-12 Petr Baudis <pasky@ucw.cz>
7656
7657 [BZ #2074]
7658 * stdio.texi (Hook Functions): The user provided writer function
7659 is not allowed to return -1.
7660
55939d6d
DM
76612012-04-11 David S. Miller <davem@davemloft.net>
7662
7663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7664
90020f5a
MF
76652012-04-11 Mike Frysinger <vapier@gentoo.org>
7666
7667 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7668 Add a leading slash to rtkaio.
7669
288f9098
JM
76702012-04-11 Jim Meyering <meyering@redhat.com>
7671
90020f5a
MF
7672 [BZ #11959]
7673 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7674 It is not necessarily an error to ignore fwrite's return
7675 value. One can reliably use ferror to test for errors after
7676 the fact.
288f9098 7677
4be2b570
L
76782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7679
7680 * bits/types.h (__snseconds_t): New type.
7681 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7682
7683 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7685 (__SNSECONDS_T_TYPE): Likewise.
7686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7687 (__SNSECONDS_T_TYPE): Likewise.
7688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7689 (__SNSECONDS_T_TYPE): Likewise.
7690
288f9098 76912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7692
7693 [BZ #2636]
7694 * manual/time.texi (Processor Time): Return type of times is
7695 elapsed real time since an arbitrary point in the past.
7696 (CPU Time): Move CLK_TCK from here...
7697 (Processor Time): ...to here. Correct description.
7698 * manual/conf.texi (Constants for Sysconf): Correct description of
7699 _SC_CLK_TCK.
7700
d7dd4413
DM
77012012-04-10 David S. Miller <davem@davemloft.net>
7702
7703 [BZ #13967]
7704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7705 where the is a gap between DT_REL(A) and DT_JMPREL.
7706
b46068fc
L
77072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7708
7709 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7710 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7711 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7712
73d65cc3
SP
77132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7714
7715 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7716 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7717 (dl_main): Handle --inhibit-cache.
7718 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7719 _dl_inhibit_cache.
7720 * elf/dl-load.c (_dl_map_object): Use it.
7721 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7722
bcc8d661
JM
77232012-04-09 Joseph Myers <joseph@codesourcery.com>
7724
8f9a2fae
JM
7725 [BZ #13872]
7726 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7727 (__ieee754_powl): Saturate large exponents rather than testing for
7728 overflow of y*log2(x).
7729 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7730 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7731 exceptions.
7732
bcc8d661
JM
7733 [BZ #11521]
7734 * math/s_ctan.c: Include <float.h>.
7735 (__ctan): Avoid internal overflow or cancellation in calculating
7736 denominator.
7737 * math/s_ctanf.c: Likewise.
7738 * math/s_ctanl.c: Likewise.
7739 * math/s_ctanh.c: Likewise.
7740 * math/s_ctanhf.c: Likewise.
7741 * math/s_ctanhl.c: Likewise.
7742 * math/libm-test.inc (ctan_test): Add more tests.
7743 (ctanh_test): Likewise.
7744 * sysdeps/i386/fpu/libm-test-ulps: Update.
7745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7746
823fbbb4
AJ
77472012-04-09 Andreas Jaeger <aj@suse.de>
7748
03879793
AJ
7749 [BZ #6894]
7750 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7751 is an optional BSD extension.
7752
823fbbb4
AJ
7753 [BZ #10254]
7754 * manual/stdio.texi (Opening Streams): Document additional fopen
7755 parameters.
7756
8de131cb
RM
77572012-04-09 Roland McGrath <roland@hack.frob.com>
7758
7759 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7760 %eax without telling the compiler.
7761
c0ed9d7d
CD
77622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7763
7764 [BZ # 13963]
7765 * manual/install.texi: Use sourceware.org.
7766
c483f6b4
JM
77672012-04-09 Joseph Myers <joseph@codesourcery.com>
7768
d7dd9453
JM
7769 [BZ #13873]
7770 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7771 (__ieee754_pow): Generate overflow and underflow using huge*huge
7772 and tiny*tiny rather than just returning constant infinity or zero
7773 for large exponents.
7774 * math/libm-test.inc (pow_test): Require overflow exceptions for
7775 applicable cases of large exponents.
7776
c483f6b4
JM
7777 [BZ #706]
7778 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7779 (__ieee754_pow): Use iterative multiplication algorithm only for
7780 integer exponents with absolute value below 1024. Check for odd
7781 integer exponents when using algorithm for real exponents.
7782 * math/libm-test.inc (pow_test): Add more tests.
7783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7784
d2de7579
JM
77852012-04-08 Joseph Myers <joseph@codesourcery.com>
7786
7787 [BZ #13705]
7788 * math/libm-test.inc (exp_test): Do not allow overflow exception
7789 on underflow test.
7790
f77f1232
AJ
77912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7792
7793 [BZ #13705]
7794 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7795 instead of __kernel_standard_f.
7796
3884932b
MF
77972012-04-08 Mike Frysinger <vapier@gentoo.org>
7798
7799 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7800 * sysdeps/x86_64/memset_chk.S: Likewise.
7801
54472e9c
AJ
78022012-04-08 Andreas Jaeger <aj@suse.de>
7803
6ab0fbfc
AJ
7804 [BZ #10153]
7805 * manual/startup.texi (Environment Access): Describe return value
7806 for putenv and setenv.
7807
61efba8c
AJ
7808 [BZ #6895]
7809 * manual/filesys.texi (Directory Entries): Add description for
7810 DT_LNK.
7811
95c3f29a
AJ
7812 [BZ #6890]
7813 * manual/filesys.texi (Directory Entries): Clarify that it's file
7814 system not operating system in the description of DT_UNKNOWN.
7815
54472e9c
AJ
7816 [BZ #6578]
7817 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7818
624254b1
SC
78192012-04-08 Stephen Compall <s11@member.fsf.org>
7820
7821 [BZ #6649]
7822 * manual/llio.texi (Opening and Closing Files): Add cross
7823 reference to explain mode argument.
7824
1e4920e0
MF
78252012-04-07 Mike Frysinger <vapier@gentoo.org>
7826
7827 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7828 * sysdeps/x86_64/memset_chk.S: Likewise.
7829
5ed848f3
DM
78302012-04-07 David S. Miller <davem@davemloft.net>
7831
7832 * elf/elf.h (R_SPARC_WDISP10): Define.
7833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7834 R_SPARC_SIZE32.
7835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7836 R_SPARC_SIZE64 and R_SPARC_H34.
7837
96154cd8
CD
78382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7839
7840 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7841 conditions and remove no longer applicable assertion.
7842
9904dc47
L
78432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7844
7845 * bits/byteswap.h: Include <features.h>.
7846 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7847 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7848
f8887d0a
L
78492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7850
7851 * bits/byteswap.h (__bswap_16): Removed.
7852 Include <bits/byteswap-16.h> to get __bswap_16.
7853 * sysdeps/i386/bits/byteswap.h: Likewise.
7854 * sysdeps/s390/bits/byteswap.h: Likewise.
7855 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7856 * bits/byteswap-16.h: New file.
7857 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7858 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7859 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7860 * string/Makefile (headers): Add bits/byteswap-16.h.
7861
62470f60
PP
78622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7863
7864 [BZ #13895]
7865 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7866 extra indirection.
7867 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7868 * nss/tst-nss-static.c: New.
7869
4dad7bab
RM
78702012-04-06 Robert Millan <rmh@gnu.org>
7871
7872 [BZ #6486]
7873 * manual/llio.texi (File Position Primitive): lseek
7874 refers to WHENCE when it really means OFFSET.
7875
e9142a17
AJ
78762012-04-06 Andreas Jaeger <aj@suse.de>
7877
2c040eff
AJ
7878 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7879 strncmp declarations.
7880
e9142a17
AJ
7881 * abilist/libc.abilist: Add __poll and __ppoll.
7882
ff9f1c5f
DM
78832012-04-05 David S. Miller <davem@davemloft.net>
7884
dcd2ae90
DM
7885 * scripts/check-local-headers.sh: Accept a host triplet in the
7886 path matched by the exclude regexp.
7887
993eb054
DM
7888 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7889 definition.
7890 * sysdeps/powerpc/powerpc32/dl-machine.h
7891 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7892 * sysdeps/s390/s390-32/dl-machine.h
7893 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7894 * sysdeps/sparc/sparc32/dl-machine.h
7895 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7896 * sysdeps/sparc/sparc64/dl-machine.h
7897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7898
ff9f1c5f
DM
7899 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7900 lazy binding.
48e2e132 7901 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7902 undefined symbol errors.
7903
48e2e132 7904 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7905 DT_NEEDED entries.
7906
e80d6f94
MM
79072012-04-05 Michael Matz <matz@suse.de>
7908
7909 [BZ #13592]
7910 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7911
349fa79f
AJ
79122012-04-05 Andreas Jaeger <aj@suse.de>
7913
7914 [BZ #13908]
7915 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7916 comment.
7917
f402708f
KK
79182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7919
7920 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7921 which ROUND is no valid rounding mode.
7922
2ecccfc9
KK
79232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7924
7925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7926 read again.
7927 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7928
8a53f50f
KK
79292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7930
7931 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7932 an exception using FPU order intentionally.
7933
79342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7935
7936 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7937 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7938 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7939 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7940
d653abb7
SJ
79412012-04-05 Simon Josefsson <simon@josefsson.org>
7942
7943 [BZ #12340]
7944 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7945 EINVAL when BUFLEN is too smal.
7946
c3b1bf7d
TS
79472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7948
7949 [BZ #13553]
7950 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7951 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7952
b1aa60f3
AJ
79532012-04-03 Andreas Jaeger <aj@suse.de>
7954
c3b1bf7d 7955 [BZ #13938]
67f60a26
AJ
7956 * manual/setjmp.texi (System V contexts): Fix sentence.
7957
b1aa60f3
AJ
7958 [BZ #13926]
7959 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7960 New macro for this case.
7961 [!__GNUC__] (__bswap_64): New inline function for this case.
7962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7963 * bits/byteswap.h: Likewise.
7964 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7965 ull, guard with __GLIBC_HAVE_LONG_LONG.
7966
7967 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7968 __GLIBC_HAVE_LONG_LONG.
7969
7970 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7971 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7972
39c59c35
TMQMF
79732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7974
7975 [BZ #13691]
7976 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7977 inptr and inend, rather than using last_ch.
7978
135ffda8
DM
79792012-04-02 David S. Miller <davem@davemloft.net>
7980
7981 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7982 * stdio-common/printf-parse.h (read_int): Change return type to
7983 'int', return -1 on INT_MAX overflow.
7984 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7985 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7986 overflows INT_MAX. Check for overflow of in-format-string precision
7987 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7988 SIZE_MAX not INT_MAX for integer overflow test.
7989 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7990 skip the construct in the format string but do not record anything.
7991 * stdio-common/bug22.c: Adjust to test both width/prevision
7992 INT_MAX overflow as well as total length INT_MAX overflow. Check
7993 explicitly for proper errno values.
7994
228c019e
TS
79952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7996
302cadd3
TS
7997 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7998 CHAR_MAX.
7999 * string/test-strcmp.c [! WIDE]: Likewise.
8000 * time/tst-mktime2.c: Likewise for INT_MAX.
8001 * string/test-string.h: #include <sys/param.h> for MIN.
8002
228c019e
TS
8003 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8004 * sysdeps/i386/init-first.c (init): Likewise.
8005 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8006 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8007 * sysdeps/sh/init-first.c (init): Likewise.
8008
cfa633f5
UD
80092012-04-01 Ulrich Drepper <drepper@gmail.com>
8010
8011 * po/ru.po: Update from translation team.
d1635ef8 8012 * po/vi.po: Likewise.
cfa633f5 8013
6cd0a5ea
SP
80142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8015
8016 * resolv/nss_dns/dns-host.c: Merge copyright years.
8017
4b43400f
LD
80182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8019
8020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8021 Optimize memcpy with prefetch if
8022 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8023 src, dst pointers have unequal 16 byte alignments.
8024
48c41d04
SP
80252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8026
8027 [BZ #13928]
8028 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8029 from a CNAME entry and return the minimum ttl for the query.
8030 (gaih_getanswer_slice): Likewise.
8031
b8dc394d
JL
80322012-03-30 Jeff Law <law@redhat.com>
8033
8034 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8035 due to long keys.
8036 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8037 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8038
2f5a5ed0
JL
8039 * resolv/nss_dns/dns-host.c: Update copyright year.
8040
1d39e359
UD
80412012-03-30 Ulrich Drepper <drepper@gmail.com>
8042
c030f70c 8043 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8044 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8045
1d39e359
UD
8046 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8047 comments for sendmmsg.
8048
80492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8050
8051 [BZ #13691]
8052 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8053 with only 1 character between 0x0041 and 0x01b0.
8054 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8055 * wcsmbs/tst-mbsnrtowcs.c: New file.
8056
20fde227
DM
80572012-03-29 David S. Miller <davem@davemloft.net>
8058
8059 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8060 small copies by hand.
8061
984a4237
JL
80622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8063
8064 [BZ #13761]
8065 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8066 _nss_compat_initgroups_dyn): Fall back to malloc/free
8067 for large group memberships.
8068
18c9d62b
DM
80692012-03-28 David S. Miller <davem@davemloft.net>
8070
88d85d4f
DM
8071 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8072 that branches into memcpy.
8073 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8075 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8076 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8078 bits.
8079 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8080 implementation too.
8081 * sysdeps/sparc/mempcpy.S: New file.
8082
e5aa83e1
DM
8083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8084 the IFUNC routine in the libc case.
8085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8086
88570753
DM
8087 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8088 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8089 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8090 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8091 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8092 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8093 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8094 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8095
249d7567
DM
8096 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8097 loop to 256 bytes instead of 64 bytes and fix test signedness.
8098
18c9d62b
DM
8099 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8100 * sysdeps/sparc/sparc32/Makefile: rather than here...
8101 * sysdeps/sparc/sparc64/Makefile: and here.
8102
05f3d1f6
UD
81032012-03-28 Ulrich Drepper <drepper@gmail.com>
8104
8105 * malloc/mallocbug.c: Avoid warnings about unused variables.
8106
86ae07a8
JL
81072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8108
8109 [BZ #13760]
8110 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8111 in the right place. Discard and retry query if response is
8112 larger than input buffer size.
8113
41bf21a1
JM
81142012-03-28 Joseph Myers <joseph@codesourcery.com>
8115
d6270972
JM
8116 [BZ #369]
8117 [BZ #2678]
8118 [BZ #3866]
8119 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8120 x for large integer exponent.
8121 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8122 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8123 sign of result as needed afterwards.
8124 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8126 result for underflowing pow the same as for overflow.
8127 (__kernel_standard_l): Handle powl overflow and underflow here
8128 rather than calling __kernel_standard.
8129 * math/libm-test.inc (pow_test): Add more tests.
8130
414fca03 8131 [BZ #3868]
41bf21a1
JM
8132 [BZ #13879]
8133 [BZ #13910]
8134 [BZ #13911]
8135 [BZ #13912]
8136 [BZ #13913]
8137 [BZ #13915]
8138 [BZ #13916]
8139 [BZ #13917]
8140 [BZ #13918]
8141 [BZ #13919]
8142 [BZ #13920]
8143 [BZ #13921]
8144 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8145 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8146 (__kernel_standard_l): New function.
8147 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8148 __kernel_standard.
8149 * math/w_acosl.c (__acosl): Likewise.
8150 * math/w_asinl.c (__asinl): Likewise.
8151 * math/w_atan2l.c (__atan2l): Likewise.
8152 * math/w_atanhl.c (__atanhl): Likewise.
8153 * math/w_coshl.c (__coshl): Likewise.
8154 * math/w_exp10l.c (__exp10l): Likewise.
8155 * math/w_exp2l.c (__exp2l): Likewise.
8156 * math/w_fmodl.c (__fmodl): Likewise.
8157 * math/w_hypotl.c (__hypotl): Likewise.
8158 * math/w_j0l.c (__j0l, __y0l): Likewise.
8159 * math/w_j1l.c (__j1l, __y1l): Likewise.
8160 * math/w_jnl.c (__jnl, __ynl): Likewise.
8161 * math/w_lgammal.c (__lgammal): Likewise.
8162 * math/w_log10l.c (__log10l): Likewise.
8163 * math/w_log2l.c (__log2l): Likewise.
8164 * math/w_logl.c (__logl): Likewise.
8165 * math/w_powl.c (__powl): Likewise.
8166 * math/w_remainderl.c (__remainderl): Likewise.
8167 * math/w_scalbl.c (sysv_scalbl): Likewise.
8168 * math/w_sinhl.c (__sinhl): Likewise.
8169 * math/w_sqrtl.c (__sqrtl): Likewise.
8170 * math/w_tgammal.c (__tgammal): Likewise.
8171 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8172 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8173 * math/libm-test.inc (acos_test): Add more tests.
8174 (acosh_test): Likewise.
8175 (asin_test): Likewise.
8176 (atanh_test): Likewise.
8177 (exp_test): Likewise.
8178 (exp10_test): Likewise.
8179 (exp2_test): Likewise.
8180 (expm1_test): Likewise.
8181 (lgamma_test): Likewise.
8182 (log_test): Likewise.
8183 (log10_test): Likewise.
8184 (log1p_test): Likewise.
8185 (log2_test): Likewise.
8186 (pow_test): Do not allow some spurious overflow exceptions.
8187 (sqrt_test): Add more tests.
8188 (tgamma_test): Likewise.
8189 (y0_test): Likewise.
8190 (y1_test): Likewise.
8191 (yn_test): Likewise.
8192
dd62fda6
AB
81932012-03-27 Anton Blanchard <anton@samba.org>
8194
8195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8196 MAP_HUGETLB.
8197 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8198 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8200
1e3cdfda
AJ
82012012-03-27 David S. Miller <davem@davemloft.net>
8202
b855ab85
DM
8203 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8204
1e3cdfda
AJ
8205 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8206 have-as-vis3 check.
8207
82082012-03-27 Andreas Jaeger <aj@suse.de>
8209
8210 * sysdeps/x86_64/elf/configure.in: Moved to ...
8211 * sysdeps/x86_64/configure.in: ... here.
8212 * sysdeps/x86_64/elf/start.S: Moved to ...
8213 * sysdeps/x86_64/start.S: ... here.
8214 * sysdeps/x86_64/elf/configure: Delete.
8215
8216 * sysdeps/x86_64/configure.in: Merge contents from
8217 sysdeps/i386/configure.in (without i686 check).
8218
8219 * sysdeps/i386/elf/Versions: Merge into ...
8220 * sysdeps/i386/Versions: ... this.
8221 * sysdeps/i386/elf/Versions: Delete file.
8222 * sysdeps/i386/elf/start.S: Moved to ...
8223 * sysdeps/i386/start.S: ...here.
8224 * sysdeps/i386/elf/configure.in: Merge into...
8225 * sysdeps/i386/configure.in: ...here.
8226 * sysdeps/i386/elf/configure.in: Delete file.
8227 * sysdeps/i386/elf/configure: Delete file.
8228
8229 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8230 * debug/backtracesyms.c: ... here.
8231 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8232 * debug/backtracesymsfd.c: ... here.
8233 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8234 * sysdeps/generic/ifunc-sel.h: ... here.
8235
8236 * sysdeps/unix/i386/start.c: Delete file.
8237 * sysdeps/unix/sparc/start.c: Delete file.
8238 * sysdeps/unix/start.c: Delete file.
8239
8240 * sysdeps/sh/elf/configure.in: Moved to ...
8241 * sysdeps/sh/configure.in: ... here.
8242 * sysdeps/sh/elf/start.S: Moved to ...
8243 * sysdeps/sh/start.S: ... here.
8244 * sysdeps/sh/elf/configure: Delete file.
8245
8246 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8247 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8248 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8249 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8250 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8251 * sysdeps/powerpc/powerpc64/start.S: here.
8252 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8253 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8254 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8255 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8256 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8257
8258 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8259 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8260 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8261 * sysdeps/powerpc/powerpc32/start.S: ... here.
8262 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8263 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8264 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8265
8266 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8267 * sysdeps/powerpc/ifunc-sel.h: ... here.
8268 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8269 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8270
8271 * sysdeps/sparc/elf/configure.in: Moved to ...
8272 * sysdeps/sparc/configure.in: ... here.
8273 * sysdeps/sparc/elf/configure: Delete file.
8274 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8275 * sysdeps/sparc/sparc32/start.S: ... here.
8276 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8277 * sysdeps/sparc/sparc64/start.S: ... here.
8278 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8279 * sysdeps/sparc/sparc32/Makefile: ... this.
8280 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8281 * sysdeps/sparc/sparc64/Makefile: ... this.
8282
8283 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8284 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8285 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8286 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8287 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8288 * sysdeps/s390/s390-32/setjmp.S: ... here.
8289 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8290 * sysdeps/s390/s390-32/configure.in: ... here.
8291 * sysdeps/s390/s390-32/elf/configure: Delete file.
8292 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8293 * sysdeps/s390/s390-32/start.S: ... here.
8294
8295 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8296 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8297 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8298 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8299 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8300 * sysdeps/s390/s390-64/setjmp.S: ... here.
8301 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8302 * sysdeps/s390/s390-64/configure.in: ... here
8303 * sysdeps/s390/s390-64/elf/configure: Delete file.
8304 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8305 * sysdeps/s390/s390-64/start.S: ... here.
8306 * sysdeps/s390/s390-64/elf/configure: Delete.
8307
8308 * configure.in: Remove support for elf directories in sysdeps.
8309
8310 * configure: Regenerated.
8311 * sysdeps/i386/configure: Regenerated.
8312 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8313 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8314 * sysdeps/s390/s390-32/configure: Regenerated.
8315 * sysdeps/s390/s390-64/configure: Regenerated.
8316 * sysdeps/sh/configure: Regenerated.
8317 * sysdeps/sparc/configure: Regenerated.
8318 * sysdeps/x86_64/configure: Regenerated.
8319
a3f61311
AS
83202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8321
c876e002
AS
8322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8323
a3f61311
AS
8324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8325 denormal result into account.
8326
ac4c54f0
RM
83272012-03-25 Roland McGrath <roland@hack.frob.com>
8328
8329 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8330 Reported by Allan McRae <allan@archlinux.org>.
8331
6a9b9c02
JL
83322012-03-23 Jeff Law <law@redhat.com>
8333
8334 * nss/getnssent.c (__nss_getent): Fix typo.
8335
4c42a0c1
DM
83362012-03-23 David S. Miller <davem@davemloft.net>
8337
8338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8339
1532c7ac
L
83402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8343 to pad to uint64_t for each field.
8344 (dl_tls_index): Replace unsigned long with uint64_t.
8345
3ff42526
PP
83462012-03-23 Daniel Jacobowitz <dmj@google.com>
8347 Paul Pluzhnikov <ppluzhnikov@google.com>
8348
8349 [BZ #6528]
8350 * grp/Makefile (otherlibs): Don't set it.
8351 * inet/Makefile (otherlibs): Likewise.
8352 * login/Makefile (otherlibs): Likewise.
8353 * nscd/Makefile (otherlibs): Likewise.
8354 * posix/Makefile (otherlibs): Likewise.
8355 * pwd/Makefile (otherlibs): Likewise.
8356 * rt/Makefile (otherlibs): Likewise.
8357 * sunrpc/Makefile (otherlibs): Likewise.
8358 * nss/Makefile (otherlibs): Likewise.
8359 Add libnss_files to routines and static-only-routines.
8360 ($(objpfx)getent): Remove rule.
8361 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8362 static-only-routines.
8363
7c69cd14
JM
83642012-03-22 Joseph Myers <joseph@codesourcery.com>
8365
8366 [BZ #13892]
8367 * math/s_cexp.c: Include <float.h>.
8368 (__cexp): Handle exp result overflowing not necessarily
8369 overflowing both real and imaginary parts of result.
8370 * math/s_cexpf.c: Likewise.
8371 * math/s_cexpl.c: Likewise.
8372 * math/libm-test.inc (cexp_test): Add more tests.
8373 * sysdeps/i386/fpu/libm-test-ulps: Update.
8374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8375
81b035fe
L
83762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * include/link.h (ELFW): New macro.
8379 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8380 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8381
1da7940c
L
83822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8383
8384 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8385 with uint64_t.
8386
b749dbb9
L
83872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8388
8389 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8390 declaration.
8391 (struct La_x32_retval): Likewise.
8392
2ff87f3f
L
83932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 * sysdeps/x86_64/preconfigure.in: New file.
8396 * sysdeps/x86_64/preconfigure: New generated file.
8397
c0df8e69
JM
83982012-03-22 Joseph Myers <joseph@codesourcery.com>
8399
48e44791
JM
8400 [BZ #13824]
8401 * math/e_exp2l.c: Include <float.h>.
8402 (__ieee754_exp2l): Handle overflow and underflow cases
8403 separately. Only pass fractional part of argument to
8404 __ieee754_expl.
8405 * math/libm-test.inc (exp2_test): Add more tests.
8406
c0df8e69
JM
8407 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8408 negating x to take absolute value.
8409 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8410 Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8412 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8413 Likewise.
8414 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8415 computing low part if x was negated.
8416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8417
c8e43ba7
L
84182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8419
8420 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8421 la_x32_gnu_pltexit.
8422 (pltexit): Cast int_retval to ptrdiff_t.
8423 * elf/tst-auditmod3b.c: Likewise.
8424 * elf/tst-auditmod4b.c: Likewise.
8425 * elf/tst-auditmod5b.c: Likewise.
8426 * elf/tst-auditmod6b.c: Likewise.
8427 * elf/tst-auditmod6c.c: Likewise.
8428 * elf/tst-auditmod7b.c: Likewise.
8429
8430 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8431 and x32_gnu_pltexit.
8432
8433 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8434 __ELF_NATIVE_CLASS.
8435 (La_x32_regs): New macro.
8436 (La_x32_retval): Likewise.
8437 (la_x32_gnu_pltenter): New function prototype.
8438 (la_x32_gnu_pltexit): Likewise.
8439
7998fa78
AS
84402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8441
dcb33988
AS
8442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8443 exponent.
8444
233fc563
AS
8445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8446
7998fa78
AS
8447 * configure.in (libc_cv_cc_nofma): Check for option to disable
8448 generation of FMA instructions.
8449 * configure: Regenerate.
8450 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8451 * sysdeps/ieee754/dbl-64/Makefile: New file.
8452 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8453 Remove brandred-fma4.
8454 (CFLAGS-brandred-fma4.c): Remove.
8455 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8457 define.
8458 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8459 define.
8460
8e95c99a
L
84612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8462
8463 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8464 LLONG_MAX != LONG_MAX.
8465 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8466 (_fitoa_word): Likewise.
8467 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8468 LLONG_MAX != LONG_MAX.
8469 * stdio-common/_itowa.h: Include <_itoa.h>.
8470 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8471 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8472 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8473 only if not defined.
8474 (_ITOA_WORD_TYPE): Likewise.
8475 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8476 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8477
6f4db457
DM
84782012-03-21 David S. Miller <davem@davemloft.net>
8479
8480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8481
7785fe5a
L
84822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8483
8484 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8485 of x86_64 when setting libc_cv_slibdir, libdir and
8486 libc_cv_localedir.
8487 * sysdeps/unix/sysv/linux/configure: Regenerated.
8488
4535cd55
JM
84892012-03-21 Joseph Myers <joseph@codesourcery.com>
8490
8491 * manual/lang.texi (Old Varargs): Remove section.
8492 (How Variadic): Update menu.
8493 (va_start): Do not mention varargs.h.
8494
17228132
TS
84952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8496 Joseph Myers <joseph@codesourcery.com>
8497
8498 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8499 link test.
8500 * configure: Regenerated.
8501
8149f976
TS
85022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8503
05f3d1f6
UD
8504 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8505 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8506 conformtest.pl
8149f976 8507
1a4ac776
JM
85082012-03-21 Joseph Myers <joseph@codesourcery.com>
8509
be22ce65
JM
8510 * NOTES: Remove.
8511 * Makefile (files-for-dist): Remove NOTES.
8512 (NOTES): Remove rule.
8513 * README: Don't refer to NOTES.
8514 * manual/creature.texi: Don't include macros.texi.
8515 * manual/intro.texi (creature.texi): Remove comment referring to
8516 NOTES.
8517
40b601fb
JM
8518 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8519 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8520 * configure: Regenerated.
8521 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8522 LIBC_TRY_CC_OPTION.
8523 (libc_cv_as_i686): Likewise.
8524 (libc_cv_cc_avx): Likewise.
8525 (libc_cv_cc_sse2avx): Likewise.
8526 (libc_cv_cc_fma4): Likewise.
8527 (libc_cv_cc_novzeroupper): Likewise.
8528 * sysdeps/i386/configure: Regenerated.
8529
1a4ac776
JM
8530 [BZ #13883]
8531 * sysdeps/i386/fpu/s_cexp.S: Remove.
8532 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8533 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8534 * math/libm-test.inc (cexp_test): Add more tests.
8535 * sysdeps/i386/fpu/libm-test-ulps: Update.
8536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8537
a458e7fe
AM
85382012-03-21 Allan McRae <allan@archlinux.org>
8539
8540 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8541
0cb7efc5
JM
85422012-03-21 Joseph Myers <joseph@codesourcery.com>
8543
8544 [BZ #13871]
8545 * math/w_exp2.c: Do not include <float.h>.
8546 (o_threshold, u_threshold): Remove.
8547 (__exp2): Calculate result before checking finiteness and calling
8548 __kernel_standard.
8549 * math/w_exp2f.c: Likewise.
8550 * math/w_exp2l.c: Likewise.
8551 * math/libm-test.inc (exp2_test): Require overflow exception for
8552 1e6 input.
2460d3aa
JM
8553
8554 [BZ #3866]
8555 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8556 range of signed 64-bit integers before using fistpll. Remove
8557 checks for whether integers fit in mantissa bits.
8558 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8559 the range of signed 32-bit integers before using fistpl. Remove
8560 checks for whether integers fit in mantissa bits.
8561 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8562 (__ieee754_powl): Test for y outside the range of signed 64-bit
8563 integers before using fistpll. Reduce 64-bit values to 63-bit
8564 ones as needed.
8565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8566 divide-by-zero is raised for zero to large negative powers.
8567 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8568 (__ieee754_powl): Test for y outside the range of signed 64-bit
8569 integers before using fistpll. Reduce 64-bit values to 63-bit
8570 ones as needed.
8571 * math/libm-test.inc (pow_test): Add more tests.
8572
eb96ffb0
L
85732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8576 <stdio-common/_itoa.h>.
8577 * debug/segfault.c: Likewise.
8578 * elf/dl-cache.c: Likewise.
8579 * elf/dl-minimal.c: Likewise.
8580 * elf/dl-misc.c: Likewise.
8581 * elf/dl-sysdep.c: Likewise.
8582 * elf/dl-version.c: Likewise.
8583 * elf/rtld.c: Likewise.
8584 * hurd/hurdsock.c: Likewise.
8585 * hurd/lookup-retry.c: Likewise.
8586 * malloc/malloc.c: Likewise.
8587 * malloc/mtrace.c: Likewise.
8588 * nscd/nscd_getgr_r.c: Likewise.
8589 * nscd/nscd_getpw_r.c: Likewise.
8590 * nscd/nscd_getserv_r.c: Likewise.
8591 * posix/getopt_init.c: Likewise.
8592 * posix/wordexp.c: Likewise.
8593 * stdio-common/_itoa.c: Likewise.
8594 * stdio-common/printf_fphex.c: Likewise.
8595 * stdio-common/vfprintf.c: Likewise.
8596 * string/_strerror.c: Likewise.
8597 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8598 * sysdeps/i386/i686/hp-timing.h: Likewise.
8599 * sysdeps/mach/_strerror.c: Likewise.
8600 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8601 * sysdeps/mach/hurd/sethostid.c: Likewise.
8602 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8603 * sysdeps/mach/xpg-strerror.c: Likewise.
8604 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8605 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8606 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8607 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8608 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8609 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8610 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8611 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8612 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8613 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8614 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8615 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8616 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8617 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8618 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8619 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8620 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8621 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8622 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8623 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8624 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8625
8626 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8627
8628 * stdio-common/_itoa.h: Moved to ...
8629 * sysdeps/generic/_itoa.h: Here.
8630
8631 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8632
8633 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8634 instead of "_itoa.h" and "_itowa.h".
8635 * stdio-common/vfprintf.: Likewise.
8636
d1af992d
L
86372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8638
8639 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8640 <bits/wordsize.h>.
8641 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8642 (__signbit): Likwise.
8643 (llrintf): Likwise.
8644 (llrint): Likwise.
8645
114883e0
L
86462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8647
8648 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8649 __WORDSIZE != 64.
8650
c135cc1b
JM
86512012-03-20 Joseph Myers <joseph@codesourcery.com>
8652
8653 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8654 OVERFLOW_EXCEPTION_OK.
8655 * math/libm-test.inc ("Philosophy"): Update comment about
8656 exception testing.
8657 (OVERFLOW_EXCEPTION): Define.
8658 (OVERFLOW_EXCEPTION_OK): Likewise.
8659 (INVALID_EXCEPTION_OK): Renumber.
8660 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8661 (IGNORE_ZERO_INF_SIGN): Likewise.
8662 (test_exceptions): Handle FE_OVERFLOW.
8663 (exp10_test): Expect overflow exceptions.
8664 (exp2_test): Likewise.
8665 (expm1_test): Likewise.
8666 (nextafter_test): Likewise.
8667 (pow_test): Likewise.
8668 (scalbn_test): Likewise.
8669 (scalbln_test): Likewise.
8670
95443d88
L
86712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8672
8673 * sysdeps/x86_64/bits/atomic.h
8674 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8675 64bit integer.
8676 (atomic_exchange_acq): Likewise.
8677 (__arch_exchange_and_add_body): Likewise.
8678 (__arch_add_body): Likewise.
8679 (atomic_add_negative): Likewise.
8680 (atomic_add_zero): Likewise.
8681
490df6c4
L
86822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8683
c2722551 8684 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8685 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8686
5e52b189
L
86872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8688
8689 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8690 Check __x86_64__ instead of __WORDSIZE.
8691
a9879d4c
L
86922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8693
8694 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8695
5df98260
DM
86962012-03-19 David S. Miller <davem@davemloft.net>
8697
e1497744
DM
8698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8699
5df98260
DM
8700 * sysdeps/sparc/fpu/fenv_private.h: New file.
8701 * sysdeps/sparc/fpu/math_private.h: Use it.
8702 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8703 Remove.
8704 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8705 (libc_feholdexcept_setroundl): Remove.
8706 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8707 Remove.
8708 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8709 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8710
b4c35121
L
87112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8712
8713 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8714 int64_t instead of long int.
8715 (INSERT_WORDS64): Likwise.
8716
56965fd7
L
87172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8718
8719 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8720 _Unwind_GetCFA return to _Unwind_Ptr first.
8721
83d1aec8
JM
87222012-03-19 Joseph Myers <joseph@codesourcery.com>
8723
1897ad44
JM
8724 [BZ #13629]
8725 * math/s_clog.c: Include <float.h>.
8726 (__clog): Scale large or subnormal inputs.
8727 * math/s_clogf.c: Likewise.
8728 * math/s_clogl.c: Likewise.
8729 * math/s_clog10.c: Include <float.h>.
8730 (M_LOG10_2): Define.
8731 (__clog10): Scale large or subnormal inputs.
8732 * math/s_clog10f.c: Likewise.
8733 * math/s_clog10l.c: Likewise.
8734 * math/libm-test.inc (clog_test): Add more tests.
8735 (clog10_test): Likewise.
8736 * sysdeps/i386/fpu/libm-test-ulps: Update.
8737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8738
7726d6a9
JM
8739 [BZ #11451]
8740 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8741 x and y.
8742 * math/libm-test.inc (atan2_test): Add another test.
8743
83d1aec8
JM
8744 * Makerules (common-objdir-compile): Remove.
8745 * sysdeps/unix/Makefile (config-generated): Do not add
8746 $(unix-generated) to variable.
8747 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8748 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8749 Remove rule.
8750 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8751 Likewise.
8752 [generic bits/local_lim.h] (before-compile): Do not append to
8753 variable.
8754 [generic bits/local_lim.h] (common-generated): Likewise.
8755 [generic sys/param.h] (before-compile): Do not append to variable.
8756 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8757 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8758 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8759 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8760 include.
8761 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8762 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8763 [generic sys/param.h] ($(addprefix
8764 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8765 [generic sys/param.h] (common-generated): Do not append to
8766 variable.
8767 [generic sys/param.h] (sysdep_headers): Likewise.
8768 [generic bits/errno.h] (before-compile): Do not append to
8769 variable.
8770 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8771 rule.
8772 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8773 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8774 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8775 [generic bits/errno.h] (common-generated): Do not append to
8776 variable.
8777 [generic bits/ioctls.h] (before-compile): Do not append to
8778 variable.
8779 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8780 rule.
8781 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8782 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8783 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8784 rule.
8785 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8786 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8787 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8788 [generic bits/ioctls.h] (common-generated): Do not append to
8789 variable.
8790 [generic sys/syscall.h] (syscall.h): Remove variable.
8791 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8792 rule.
8793 [generic sys/syscall.h] (before-compile): Do not append to
8794 variable.
8795 [generic sys/syscall.h] (common-generated): Likewise.
8796 * sysdeps/unix/errnos-tmpl.c: Remove file.
8797 * sysdeps/unix/errnos.awk: Likewise.
8798 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8799 * sysdeps/unix/ioctls.awk: Likewise.
8800 * sysdeps/unix/mk-local_lim.c: Likewise.
8801 * sysdeps/unix/snarf-ioctls: Likewise.
8802
4851a949
RH
88032012-03-19 Richard Henderson <rth@twiddle.net>
8804
bd37f2ee
RH
8805 * sysdeps/i386/fpu/fenv_private.h: New file.
8806 * sysdeps/i386/fpu/math_private.h: Use it.
8807 (math_opt_barrier, math_force_eval): Remove.
8808 (libc_feholdexcept_setround_53bit): Remove.
8809 (libc_feupdateenv_53bit): Remove.
8810 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8811 (math_opt_barrier, math_force_eval): Remove.
8812 (libc_feholdexcept): Remove.
8813 (libc_feholdexcept_setround): Remove.
8814 (libc_fetestexcept, libc_fesetenv): Remove.
8815 (libc_feupdateenv_test): Remove.
8816 (libc_feupdateenv, libc_feholdsetround): Remove.
8817 (libc_feresetround): Remove.
8818
d0adc922
RH
8819 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8820 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8821
0fe0f1f8
RH
8822 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8823 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8824 (libc_feupdateenv_testl): New.
8825 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8826 (libc_feupdateenv_testf): New.
8827 (libc_feupdateenv): Use libc_feupdateenv_test.
8828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8829 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8830
eb92c487
RH
8831 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8832 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8833 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8834 (libc_feresetround_noex): New.
8835 (libc_feresetround_noexf): New.
8836 (libc_feresetround_noexl): New.
8837 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8838 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8839 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8840 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8841 SET_RESTORE_ROUND.
8842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8844 (__cos): Likewise.
8845 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8846 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8847 SET_RESTORE_ROUND_NOEX.
8848 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8849 SET_RESTORE_ROUND_NOEXF.
8850 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8851 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8852 (libc_feholdsetroundf): New.
8853 (libc_feresetround, libc_feresetroundf): New.
8854
7d2e8012
RH
8855 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8856 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8857 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8858
b4dabbb4
RH
8859 * sysdeps/generic/math_private.h: Include <fenv.h>.
8860 (default_libc_feholdexcept): New.
8861 (default_libc_feholdexcept_setround): New.
8862 (default_libc_fesetenv, default_libc_feupdateenv): New.
8863 (libc_feholdexcept): Only define if undefined.
8864 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8865 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8866 (libc_feholdexcept_setroundl): Likewise.
8867 (libc_feholdexcept_setround_53bit): Likewise.
8868 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8869 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8870 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8871 (libc_feupdateenv_53bit): Likewise.
8872 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8873 (libc_feholdexcept): Convert from macro to inline function.
8874 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8875 (libc_fesetenv, libc_feupdateenv): Likewise.
8876
4851a949
RH
8877 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8878 not previously defined.
8879 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8880 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8881 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8882 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8883 * sysdeps/ieee754/flt-32/math_private.h: New file.
8884 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8885 math_private.h below SET_FLOAT_WORD.
8886 (__isnan, __isinf_ns, __finite): Remove.
8887 (__isnanf, __isinf_nsf, __finitef): Remove.
8888
e79d442e
AS
88892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8890
8891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8892
90b80344
DM
88932012-03-17 David S. Miller <davem@davemloft.net>
8894
8895 [BZ #6471]
8896 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8897 for 2.16.
8898
edc21804
DM
88992012-03-16 David S. Miller <davem@davemloft.net>
8900
77e927af
DM
8901 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8902 warnings.
8903
374976dd
DM
8904 [BZ #6471]
8905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8906 properly.
8907 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8908 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8909 sysdep_routines when subdir is sysvipc.
8910 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8911 __getshmlba helper.
8912
edc21804
DM
8913 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8914
473c3ef3
L
89152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8918 [__LP64__].
8919
eb0f39b6
L
89202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8921
8922 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8923 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8924 (__lround): Renamed to ...
8925 (__llround): This. Replace long int with long long int.
8926 Define lround functions as aliases of llround functions.
8927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8928
6b6cd74b
L
89292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8930
8931 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8932 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8933 adresses to uintptr_t. Replace "long int" and "unsigned long
8934 int" with "greg_t" on va_arg.
8935
f1a77b01
L
89362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8937
8938 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8939 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8940
8941 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8942 Move e_machine check before EI_CLASS check. Handle x32
8943 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8944 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8945 SKIP_EM_IA_64 and include
8946 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8947
8948 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8949 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8950 (add_system_dir): New macro.
8951
8952 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8953 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8954
11b90b9f
JM
89552012-03-16 Joseph Myers <joseph@codesourcery.com>
8956
c36e1d23
JM
8957 [BZ #2551]
8958 [BZ #2552]
8959 [BZ #2553]
8960 [BZ #2554]
8961 [BZ #2562]
8962 [BZ #2563]
8963 [BZ #2565]
8964 [BZ #2566]
8965 [BZ #2576]
8966 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8967 (y0): Likewise.
8968 * math/w_j0f.c (j0f): Likewise.
8969 (y0f): Likewise.
8970 * math/w_j0l.c (__j0l): Likewise.
8971 (__y0l): Likewise.
8972 * math/w_j1.c (j1): Likewise.
8973 (y1): Likewise.
8974 * math/w_j1f.c (j1f): Likewise.
8975 (y1f): Likewise.
8976 * math/w_j1l.c (__j1l): Likewise.
8977 (__y1l): Likewise.
8978 * math/w_jn.c (jn): Likewise.
8979 (yn): Likewise.
8980 * math/w_jnf.c (jnf): Likewise.
8981 (ynf): Likewise.
8982 * math/w_jnl.c (__jnl): Likewise.
8983 (__ynl): Likewise.
8984 * math/libm-test.inc (j0_test): Add more tests.
8985 (j1_test): Likewise.
8986 (jn_test): Likewise. Add trailing semicolon to existing test.
8987 (y0_test): Likewise.
8988 (y1_test): Likewise.
8989 * sysdeps/i386/fpu/libm-test-ulps: Update.
8990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8991
11b90b9f
JM
8992 [BZ #13851]
8993 [BZ #13854]
8994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8995 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8996 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8997 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8998 (__tanl): Set errno for infinite argument.
8999 * sysdeps/i386/fpu/mptan.c: Remove.
9000 * sysdeps/i386/fpu/s_tan.S: Likewise.
9001 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9002 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9003 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9004 * math/libm-test.inc (tan_test): Add more tests and enable more
9005 tests for double and long double.
9006 * sysdeps/i386/fpu/libm-test-ulps: Update.
9007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9008
6a1bd2a1
JK
90092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9012 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9013
10a803e0
RM
90142012-03-16 Roland McGrath <roland@hack.frob.com>
9015
9016 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9017 * configure.in: Use it for both main tree and add-ons.
9018 * configure: Regenerated.
9019
f196c7f7
L
90202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9021
9022 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9023
8848d99d
JM
90242012-03-16 Joseph Myers <joseph@codesourcery.com>
9025
96cbe7f4
JM
9026 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9027 in comment.
9028
8848d99d
JM
9029 [BZ #13851]
9030 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9031 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9032 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9033 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9034 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9035 infinite argument.
9036 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9038 != 0 for prec == 2.
9039 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9040 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9041 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9042 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9043 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9044 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9045 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9046 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9047 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9048 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9049 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9050 * math/libm-test.inc (cos_test): Add more tests and enable more
9051 tests for long double.
9052 (sin_test): Likewise.
9053 (sincos_test): Likewise.
9054 * sysdeps/i386/fpu/libm-test-ulps: Update.
9055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9056
dd7f4703
DM
90572012-03-16 David S. Miller <davem@davemloft.net>
9058
9059 * sysdeps/sparc/fpu/math_private.h: New file.
9060
006f1daa
DM
90612012-03-15 David S. Miller <davem@davemloft.net>
9062
c0c83bc8
DM
9063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9064 file.
e6a62e18 9065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9067 file.
e6a62e18
DM
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9074 sysdep routines.
9075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9076
88cb87d9
DM
9077 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9078 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9079
006f1daa 9080 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9082 sparc-ifunc.h
006f1daa 9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9085 Likewise.
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9087 Likewise.
006f1daa
DM
9088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9092 Likewise.
006f1daa
DM
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9098 Likewise.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9100 Likewise.
006f1daa
DM
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9120 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9122 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9124 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9125
11e0098e
AS
91262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9127
9128 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9129 scaling.
9130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9131
e85b09d0
AJ
91322012-03-15 Andreas Jaeger <aj@suse.de>
9133
9134 [BZ #13852]
9135 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9136 ieee754/flt-32 implementation for sin, cos and sincos.
9137 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9138 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9139 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9140 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9141 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9142 ieee754/flt-32 implementation for tan.
9143
9144 * math/libm-test.inc (cos_test): Enable some large input tests for
9145 float as well
9146 (sin_test): Likewise.
9147 (sincos_test): Likewise.
9148 (tan_test): Add tests for large input.
9149
9150 * sysdeps/i386/fpu/libm-test-ulps: Update.
9151
81c64153
AJ
91522012-03-15 Andreas Jaeger <aj@suse.de>
9153
9154 [BZ #13658]
9155 * math/libm-test.inc (cos_test): Add more test cases.
9156 (sin_test): Likewise.
9157 (sincos_test): Likewise.
9158
7bbfa5c6
AJ
91592012-03-15 Andreas Jaeger <aj@suse.de>
9160
9161 [BZ #13837]
9162 * math/libm-test.inc (cos_test): Add a test case for large input
9163 value.
9164 (sin_test): Likewise.
9165 (sincos_test): Likewise.
9166
91672012-03-15 Andreas Jaeger <aj@suse.de>,
9168 Joseph Myers <joseph@codesourcery.com>
9169
9170 [BZ #13658]
0671f479 9171 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9172 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9173 * sysdeps/i386/fpu/branred.c: Likewise.
9174 * sysdeps/i386/fpu/dosincos.c: Likewise.
9175 * sysdeps/i386/fpu/mpa.c: Likewise.
9176 * sysdeps/i386/fpu/s_cos.S: Likewise.
9177 * sysdeps/i386/fpu/s_sin.S: Likewise.
9178 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9179 * sysdeps/i386/fpu/sincos32.c: Likewise.
9180
9181 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9182 Define.
9183 (libc_feupdateenv_53bit): Define.
9184 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9185 Define.
9186 (libc_feupdateenv_53bit): Define.
9187
9188 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9189 53 bit (without extend i386 double precision).
9190
9191 * math/libm-test.inc (sincos_test): Add tests for large input.
9192 (sin): Likewise.
9193 (cos): Likewise.
9194
9195 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9196
9cad04ea
AS
91972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9198
9199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9200
f7062b9a
DM
92012012-03-15 David S. Miller <davem@davemloft.net>
9202
9203 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9204 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9205 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9206 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9219 file.
f7062b9a 9220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9222 file.
f7062b9a 9223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9225 file.
f7062b9a 9226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9228 file.
f7062b9a
DM
9229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9231 fmin/fmax sysdep routines.
9232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9233
7bd951ff
DM
92342012-03-14 David S. Miller <davem@davemloft.net>
9235
559398ab
DM
9236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9243 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9265 routines.
9266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9267 file.
559398ab 9268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9270 file.
559398ab 9271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9273 file.
559398ab 9274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9276 file.
559398ab 9277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9279 file.
559398ab 9280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9282 file.
9283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9284 file.
9285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9286 file.
9287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9288 file.
9289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9290 New file.
9291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9292 file.
9293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9294 file.
559398ab 9295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9297 file.
559398ab 9298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9300 file.
559398ab 9301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9303 file.
559398ab 9304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9306 VIS3 routines.
559398ab
DM
9307
9308 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9309 New file.
9310
5a1c1e32
DM
9311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9312
eae47a36
DM
9313 * sysdeps/sparc/configure.in: New file.
9314 * sysdeps/sparc/configure: Generate.
9315 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9316 * configure: Regenerate.
9317 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9318 * config.make.in (have-as-vis3): New.
9319 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9320 available use -Av9d instead of -Av9a.
9321 * sysdeps/sparc/sparc64/Makefile: Likewise.
9322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9324 New file.
9325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9326 file.
9327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9328 New file.
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9330 file.
eae47a36
DM
9331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9336
c0c83bc8
DM
9337 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9338 fzeros/fnegs to load 0x80000000 into a float register instead of
9339 using the stack.
7bd951ff
DM
9340 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9341
bd951ccb
JM
93422012-03-14 Joseph Myers <joseph@codesourcery.com>
9343
9344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9345 bits/syscall.h.
9346 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9347 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9348 ($(inst_includedir)/bits/syscall.h): Remove rule.
9349 ($(objpfx)bits/syscall.d): Include instead of
9350 $(objpfx)syscall-list.d.
9351 (generated): Change syscall-list.h and syscall-list.d to
9352 bits/syscall.h and bits/syscall.d.
9353
bb4e6db2
RM
93542012-03-14 Roland McGrath <roland@hack.frob.com>
9355
9356 [BZ #13846]
9357 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9358
aa4a2ae1
JM
93592012-03-14 Joseph Myers <joseph@codesourcery.com>
9360
e456826d
JM
9361 [BZ #13841]
9362 * math/s_csqrt.c: Include <float.h>.
9363 (__csqrt): Scale large or subnormal inputs.
9364 * math/s_csqrtf.c: Likewise.
9365 * math/s_csqrtl.c: Likewise.
9366 * math/libm-test.inc (csqrt_test): Add more tests.
9367 * sysdeps/i386/fpu/libm-test-ulps: Update.
9368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9369
aa4a2ae1
JM
9370 [BZ #13840]
9371 * math/libm-test.inc (hypot_test): Add more tests.
9372
7c10fd35
DM
93732012-03-13 David S. Miller <davem@davemloft.net>
9374
9375 [BZ #13840]
9376 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9377 double-precision for the calculation instead of scaling.
9378
f453b98b
JM
93792012-03-13 Joseph Myers <joseph@codesourcery.com>
9380
9381 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9382 manipulate bits before adding and subtracting TWO52[sx].
9383 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9384 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9385 Likewise.
9386 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9387
09a3453f
DM
93882012-03-13 David S. Miller <davem@davemloft.net>
9389
8e59da90
DM
9390 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9391 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9393 rtld-global-offsets.h
9394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9395
2a8ab7f2
DM
9396 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9397 large parameters.
9398
10f62770
DM
9399 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9400
5f0bdb18
DM
9401 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9402 'err' in the ifdef scope in which it is actually used.
9403
09a3453f
DM
9404 * nss/nss_db/db-init.c: Include string.h
9405
b4b2eb5e
DM
94062012-03-12 David S. Miller <davem@davemloft.net>
9407
98bb2f1c
DM
9408 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9409 masking out of the most significant byte of random value used.
9410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9411 Fix coding style in previous change.
9412
b4b2eb5e
DM
9413 * sysdeps/unix/sysv/linux/kernel-features.h
9414 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9415 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9416 expression.
9417 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9418 later.
9419
6e226b09
DM
94202012-03-11 David S. Miller <davem@davemloft.net>
9421
a1bcbd40
DM
9422 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9423 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9424 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9425 for 'resultvar' otherwise things get truncated on 64-bit.
9426
cb9d6174
DM
9427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9428 Fix masking out of the most significant byte of random value used.
9429
6e226b09
DM
9430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9431
058c132d
AS
94322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9433
9434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9435
2d2cd515
DM
94362012-03-09 David S. Miller <davem@davemloft.net>
9437
9438 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9439 variables with appropriate CPP guards.
9440 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9441 frame pointer, not the stack pointer. Correct layout comments. Fix test
9442 on resulting framesize and the management of the outregs buffer for pltexit.
9443 Preserve floating point return values across _dl_call_pltexit call.
9444 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9445 framesize and the management of the outregs buffer for pltexit.
9446 Preserve floating point return values across _dl_call_pltexit
9447 call.
9448 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9449 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9450 (print_exit): Fix format string for return register value.
9451
9a07f9d0
JM
94522012-03-10 Joseph Myers <joseph@codesourcery.com>
9453
9454 * sunrpc/Makefile (others): Add rpcgen.
9455 ($(objpfx)rpcgen): Remove special build rule and dependency on
9456 libc.
9457 * sunrpc/rpcgen.c: New file.
9458
547b5e30
PE
94592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9460
c524201a
PE
9461 [BZ #13673]
9462 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9463 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9464 * sysdeps/i386/crti.S: Likewise.
9465 * sysdeps/i386/crtn.S: Likewise.
9466 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9467 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9468 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9469 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9470 * sysdeps/sh/crti.S: Likewise.
9471 * sysdeps/sh/crtn.S: Likewise.
9472 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9473
7b6235f2
PE
9474 [BZ #13673]
9475 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9476 with URL.
9477 * locale/programs/locfile-kw.gperf: Likewise.
9478 * locale/programs/charmap-kw.h: Regenerated.
9479 * locale/programs/locfile-kw.h: Likewise.
9480
547b5e30
PE
9481 [BZ #13673]
9482 * intl/plural.y: Replace FSF snail mail address with URL.
9483 * intl/plural.c: Regenerated.
9484
5f0a5dae
RH
94852012-03-09 Richard Henderson <rth@twiddle.net>
9486
9487 * include/math_private.h: Remove file.
9488 * math/math_private.h: Move file ...
9489 * sysdeps/generic/math_private.h: ... here.
9490
b8c03620
RH
9491 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9492 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9493 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9494
4e234f5d 9495 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9496 and <math_private.h>.
9497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9505 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9509 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9544 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9545 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9547 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9548 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9551 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9552 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9553 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9554 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9555 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9556 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9560 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9561 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9570 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9571 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9577 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9585 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9586 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9587 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9588 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9589 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9590 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9591 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9592 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9593 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9594 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9595 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9597 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9598 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9599 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9600 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9601 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9602 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9603 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9604 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9605 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9607 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9608 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9609 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9610 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9611 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9613 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9614 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9615 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9616 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9617 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9618 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9619 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9620 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9621 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9622 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9623 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9624 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9625 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9626 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9627 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9628 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9629 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9630 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9631 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9632 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9633 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9634 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9635 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9636 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9637 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9638 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9639 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9640 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9641 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9642 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9643 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9644 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9645 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9646 * sysdeps/ieee754/k_standard.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9762 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9766 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9767 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9768 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9769 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9774 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9779 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9785 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9790 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9795 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9796 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9797 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9807 * sysdeps/ieee754/s_lib_version.c: Likewise.
9808 * sysdeps/ieee754/s_matherr.c: Likewise.
9809 * sysdeps/ieee754/s_signgam.c: Likewise.
9810 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9811 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9812 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9813 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9814 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9815 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9816 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9817 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9818 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9819 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9820 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9821 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9822 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9823 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9824 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9825 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9826 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9827 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9828 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9831
1991fa03
JM
98322012-03-09 Joseph Myers <joseph@codesourcery.com>
9833
9834 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9835 * sunrpc/rpc_main.c: Likewise.
9836 * sunrpc/rpc_svcout.c: Likewise.
9837
60d6f5a6
DM
98382012-03-09 David S. Miller <davem@davemloft.net>
9839
9840 * include/math_private.h: New file.
9841
4962050e
JM
98422012-03-09 Joseph Myers <joseph@codesourcery.com>
9843
02a6f887
JM
9844 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9845 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9846 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9847 from <bits/socket_type.h>.
9848 (enum __socket_type): Don't define here.
9849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9851 bits/socket_type.h.
9852
c6e013c1
JM
9853 [BZ #13566]
9854 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9855 checking __USE_GNU.
9856
4962050e
JM
9857 * Makerules ($(inst_includedir)/%.h): New rule.
9858 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9859 (install-others): Remove variable setting.
9860 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9861
38842f45
RH
98622012-03-08 Richard Henderson <rth@twiddle.net>
9863
67bb6da6
RH
9864 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9865 from macro to inline function; merge with the
9866 !__LIBC_INTERNAL_MATH_INLINES version.
9867 (__ieee754_sqrtf): Likewise.
9868
15194b4b
RH
9869 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9870 to inline function.
9871 (__rintf, __floor, __floorf): Likewise.
9872
64e21ede
RH
9873 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9874 macro to inline function.
9875 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9876
38842f45
RH
9877 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9878 not <math/math_private.h>.
9879
c64bf5fe
DM
98802012-03-08 David S. Miller <davem@davemloft.net>
9881
9882 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9883 copyright year.
9884 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9885
82d86f28
TS
98862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9887
9888 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9889 normalization.
9890 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9891 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9892
aea5d727
UD
98932012-03-08 Ulrich Drepper <drepper@gmail.com>
9894
9895 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9896 be defined individually, they must be defined as a block. Define
9897 S for printing a string instead of hidint the different by using a
9898 macro for adding the 'l'.
9899 * stdio-common/tst-fphex-wide.c: Adjust.
9900
70bca0a3
MP
99012012-03-07 Marek Polacek <polacek@redhat.com>
9902
9903 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9904
65b81130
MP
99052012-03-08 Marek Polacek <polacek@redhat.com>
9906
9907 [BZ #13806]
9908 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9909 * stdio-common/tst-fphex.c: Define a few macros to make the
9910 test reusable. Use them.
9911 * stdio-common/tst-fphex-wide.c: New file.
9912
07037eeb
JM
99132012-03-08 Joseph Myers <joseph@codesourcery.com>
9914
a7a93d50
JM
9915 [BZ #6911]
9916 * manual/macros.texi (gnusystems): New macro.
9917 (nongnusystems): Likewise.
9918 (gnulinuxhurdsystems): Likewise.
9919 (gnuhurdsystems): Likewise..
9920 (gnulinuxsystems): Likewise.
9921 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9922 variants of the GNU system, not "GNU system".
9923 * manual/conf.texi: Likewise.
9924 * manual/errno.texi: Likewise. Update example of errno macro
9925 expansion.
9926 * manual/filesys.texi: Likewise.
9927 (getumask): Document as specific to GNU/Hurd.
9928 * manual/install.texi: Likewise. Reword some references to
9929 GNU/Linux.
9930 * manual/intro.texi: Likewise.
9931 * manual/io.texi: Likewise.
9932 (File Name Portability): Detail which constraints are inapplicable
9933 to all GNU systems and which are only inapplicable to GNU/Hurd.
9934 * manual/job.texi: Likewise.
9935 * manual/llio.texi: Likewise.
9936 (O_NOCTTY): Document as present on GNU/Linux.
9937 * manual/maint.texi: Likewise.
9938 * manual/memory.texi: Likewise.
9939 * manual/pattern.texi: Likewise.
9940 * manual/pipe.texi: Likewise.
9941 * manual/process.texi: Likewise.
9942 * manual/resource.texi: Likewise.
9943 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9944 child on GNU/Hurd.
9945 * manual/setjmp.texi: Likewise.
9946 * manual/signal.texi: Likewise.
9947 * manual/startup.texi: Likewise.
9948 * manual/stdio.texi: Likewise.
9949 * manual/terminal.texi: Likewise.
9950 (ONLCR): Document as POSIX.
9951 (OXTABS): Document availability on GNU/Linux as XTABS.
9952 (ONOEOT): Document availability separately from other bits.
9953 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9954 * manual/time.texi: Likewise.
9955 * manual/users.texi: Likewise.
9956 * INSTALL: Regenerated.
9957 * sysdeps/gnu/errlist.c: Regenerated.
9958
07037eeb
JM
9959 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9960 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9961 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9962 puts.
9963 * configure: Regenerated.
9964
d1d3431a
JM
99652012-03-07 Joseph Myers <joseph@codesourcery.com>
9966
af6a1e37
JM
9967 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9968 default includes instead of AC_HEADER_CHECK.
9969 * sysdeps/i386/configure: Regenerated.
9970
d1d3431a
JM
9971 [BZ #10716]
9972 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9973 * math/s_cacoshf.c (__cacoshf): Likewise.
9974 * math/s_cacoshl.c (__cacoshl): Likewise.
9975 * math/s_casinh.c (__casinh): Set signs of result from argument.
9976 * math/s_casinhf.c (__casinhf): Likewise.
9977 * math/s_casinhl.c (__casinhl): Likewise.
9978 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9979 (casinh_test): Add more tests.
9980 * sysdeps/i386/fpu/libm-test-ulps: Update.
9981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9982
482ff4da
UD
99832012-03-07 Ulrich Drepper <drepper@gmail.com>
9984
872fda05
UD
9985 * po/zh_TW.po: Update from translation team.
9986
a4300c7a
UD
9987 * login/Makefile (distribute): Remove variable.
9988 * catgets/Makefile: Likewise.
9989 * mach/Makefile: Likewise.
9990 * malloc/Makefile: Likewise.
9991 * misc/Makefile: Likewise.
9992 * iconv/Makefile: Likewise.
9993 * nscd/Makefile: Likewise.
9994 * hurd/Makefile: Likewise.
9995 * manual/Makefile: Likewise.
9996 * locale/Makefile: Likewise.
9997 * intl/Makefile: Likewise.
9998 * conform/Makefile: Likewise.
9999 * nss/Makefile: Likewise.
10000 * time/Makefile: Likewise.
10001 * soft-fp/Makefile: Likewise.
10002 * dirent/Makefile: Likewise.
10003 * gmon/Makefile: Likewise.
10004 * po/Makefile: Likewise.
10005 * rt/Makefile: Likewise.
10006 * socket/Makefile: Likewise.
10007 * math/Makefile: Likewise.
10008 * signal/Makefile: Likewise.
10009 * debug/Makefile: Likewise.
10010 * elf/Makefile: Likewise.
10011 * timezone/Makefile: Likewise.
10012 * stdlib/Makefile: Likewise.
10013 * iconvdata/Makefile: Likewise.
10014 * sunrpc/Makefile: Likewise.
10015 * io/Makefile: Likewise.
10016 * argp/Makefile: Likewise.
10017 * inet/Makefile: Likewise.
10018 * hesiod/Makefile: Likewise.
10019 * grp/Makefile: Likewise.
10020 * csu/Makefile: Likewise.
10021 * wctype/Makefile: Likewise.
10022 * crypt/Makefile: Likewise.
10023 * libio/Makefile: Likewise.
10024 * string/Makefile: Likewise.
10025 * nis/Makefile: Likewise.
10026 * resolv/Makefile: Likewise.
10027 * stdio-common/Makefile: Likewise.
10028 * wcsmbs/Makefile: Likewise.
10029 * dlfcn/Makefile: Likewise.
10030 * posix/Makefile: Likewise.
10031
3b7c4e74 10032 [BZ #6959]
482ff4da
UD
10033 * timezone/Makefile: Don't install timezone files, just the programs
10034 and scripts.
10035
f72ed77d
UD
100362012-03-06 Ulrich Drepper <drepper@gmail.com>
10037
a000466f
UD
10038 * nss/databases.def: Add missing gshadow entry.
10039
f72ed77d
UD
10040 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10041
a53b7a4e
MP
100422012-03-06 Marek Polacek <polacek@redhat.com>
10043
10044 [BZ #13726]
10045 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10046 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10047 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10048 * stdio-common/tst-long-dbl-fphex.c: New file.
10049
e9258400
DM
100502012-03-06 David S. Miller <davem@davemloft.net>
10051
10052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10053 (set_obp_int): New function.
10054 (get_obp_int): New function.
10055 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10057 Avoid unused variable warnings on 'val' and use builtin_expect.
10058 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10059 __builtin_expect.
e9258400
DM
10060 (INLINE_CLONE_SYSCALL): Likewise.
10061
3bd2c723
DM
100622012-03-05 David S. Miller <davem@davemloft.net>
10063
10064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10065
bbb78d03
AS
100662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10067
884c5db4
AS
10068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10069
bbb78d03
AS
10070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10071 only for |x| >= 40.
10072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10073
1c9f702a 100742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10075
10076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10077 Replace gettimeofday with __vdso_gettimeofday.
10078
7be16f82
RM
10079 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10080 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10081 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10082
10083 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10084 time with __vdso_time.
10085
ed58a00f
JM
100862012-03-05 Joseph Myers <joseph@codesourcery.com>
10087
10088 * manual/lang.texi (size_t): Note types to which size_t may be
10089 equivalent with the GNU C Library, but do not describe when
10090 differences between them are significant.
10091
30ee4ced
AJ
100922012-03-05 Andreas Jaeger <aj@suse.de>
10093
10094 * sysdeps/i386/fpu/libm-test-ulps: Update.
10095
b7cd39e8
JM
100962012-03-05 Joseph Myers <joseph@codesourcery.com>
10097
10098 [BZ #3976]
10099 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10100 (__ieee754_pow): Save and restore rounding mode and use
10101 round-to-nearest for main computations.
10102 * math/libm-test.inc (pow_test_tonearest): New function.
10103 (pow_test_towardzero): Likewise.
10104 (pow_test_downward): Likewise.
10105 (pow_test_upward): Likewise.
10106 (main): Call the new functions.
10107 * sysdeps/i386/fpu/libm-test-ulps: Update.
10108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10109
10110 [BZ #3976]
10111 * math/libm-test.inc (cosh_test_tonearest): New function.
10112 (cosh_test_towardzero): Likewise.
10113 (cosh_test_downward): Likewise.
10114 (cosh_test_upward): Likewise.
10115 (sinh_test_tonearest): Likewise.
10116 (sinh_test_towardzero): Likewise.
10117 (sinh_test_downward): Likewise.
10118 (sinh_test_upward): Likewise.
10119 (main): Call the new functions.
10120 * sysdeps/i386/fpu/libm-test-ulps: Update.
10121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10122
6c6a98c9
TV
101232012-03-05 Tom de Vries <tom@codesourcery.com>
10124
10125 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10126 default stack guard is set in last bytes.
10127 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10128
21bb2d2e 101292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10130
21bb2d2e 10131 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10132
21bb2d2e
AJ
10133 [BZ #13656]
10134 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10135 possibly allocate from heap instead of stack.
10136 * stdio-common/bug-vfprintf-nargs.c: New file.
10137 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10138
c6922934
AS
101392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10140
10141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10142
bc957d53
MP
101432012-03-03 Marek Polacek <polacek@redhat.com>
10144
10145 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10146 * math/math_private.h: Likewise.
10147 * stdlib/tst-strtod.c: Likewise.
10148 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10149 * sysdeps/x86_64/bits/atomic.h: Likewise.
10150
6358490d
DM
101512012-03-02 David S. Miller <davem@davemloft.net>
10152
10153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10157 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10158 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10159 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10160 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10161
01ae168d
RM
101622012-03-02 Roland McGrath <roland@hack.frob.com>
10163
d9a17c07
RM
10164 [BZ #13792]
10165 * manual/examples/README: New file, says the example source files
10166 can be used under GPL>=2.
10167 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10168 line containing just "*/".
10169 * manual/examples/add.c: Add copyright header (GPL>=2).
10170 * manual/examples/argp-ex1.c: Likewise.
10171 * manual/examples/argp-ex2.c: Likewise.
10172 * manual/examples/argp-ex3.c: Likewise.
10173 * manual/examples/argp-ex4.c: Likewise.
10174 * manual/examples/atexit.c: Likewise.
10175 * manual/examples/db.c: Likewise.
10176 * manual/examples/dir.c: Likewise.
10177 * manual/examples/dir2.c: Likewise.
10178 * manual/examples/execinfo.c: Likewise.
10179 * manual/examples/filecli.c: Likewise.
10180 * manual/examples/filesrv.c: Likewise.
10181 * manual/examples/fmtmsgexpl.c: Likewise.
10182 * manual/examples/genpass.c: Likewise.
10183 * manual/examples/inetcli.c: Likewise.
10184 * manual/examples/inetsrv.c: Likewise.
10185 * manual/examples/isockad.c: Likewise.
10186 * manual/examples/longopt.c: Likewise.
10187 * manual/examples/memopen.c: Likewise.
10188 * manual/examples/memstrm.c: Likewise.
10189 * manual/examples/mkfsock.c: Likewise.
10190 * manual/examples/mkisock.c: Likewise.
10191 * manual/examples/mygetpass.c: Likewise.
10192 * manual/examples/pipe.c: Likewise.
10193 * manual/examples/popen.c: Likewise.
10194 * manual/examples/rprintf.c: Likewise.
10195 * manual/examples/search.c: Likewise.
10196 * manual/examples/select.c: Likewise.
10197 * manual/examples/setjmp.c: Likewise.
10198 * manual/examples/sigh1.c: Likewise.
10199 * manual/examples/sigusr.c: Likewise.
10200 * manual/examples/stpcpy.c: Likewise.
10201 * manual/examples/strdupa.c: Likewise.
10202 * manual/examples/strftim.c: Likewise.
10203 * manual/examples/strncat.c: Likewise.
10204 * manual/examples/subopt.c: Likewise.
10205 * manual/examples/swapcontext.c: Likewise.
10206 * manual/examples/termios.c: Likewise.
10207 * manual/examples/testopt.c: Likewise.
10208 * manual/examples/testpass.c: Likewise.
10209 * manual/examples/timeval_subtract.c: Likewise.
10210
01ae168d
RM
10211 [BZ #13792]
10212 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10213 function to ...
10214 * manual/timeval_subtract.c.texi: ... here, new file.
10215
49efa33d
DM
102162012-03-02 David S. Miller <davem@davemloft.net>
10217
10218 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10219
28afd92d
JM
102202012-03-02 Joseph Myers <joseph@codesourcery.com>
10221
804360ed
JM
10222 [BZ #3976]
10223 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10224 (__sin): Save and restore rounding mode and use round-to-nearest
10225 for all computations.
10226 (__cos): Save and restore rounding mode and use round-to-nearest
10227 for all computations.
10228 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10229 <fenv.h>.
10230 (tan): Save and restore rounding mode and use round-to-nearest for
10231 all computations.
10232 * math/libm-test.inc (cos_test_tonearest): New function.
10233 (cos_test_towardzero): Likewise.
10234 (cos_test_downward): Likewise.
10235 (cos_test_upward): Likewise.
10236 (sin_test_tonearest): Likewise.
10237 (sin_test_towardzero): Likewise.
10238 (sin_test_downward): Likewise.
10239 (sin_test_upward): Likewise.
10240 (tan_test_tonearest): Likewise.
10241 (tan_test_towardzero): Likewise.
10242 (tan_test_downward): Likewise.
10243 (tan_test_upward): Likewise.
10244 (main): Call the new functions.
10245 * sysdeps/i386/fpu/libm-test-ulps: Update.
10246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10247
a6d06d7b
JM
10248 [BZ #10135]
10249 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10250 small n, then large n, before computing and testing k+n.
10251 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10253 Likewise.
10254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10255 Likewise.
10256 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10257 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10262 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10263 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10264 * math/libm-test.inc (scalbn_test): Add more tests.
10265 (scalbln_test): Likewise.
10266
07e12bb3
JM
10267 * manual/filesys.texi (mode_t): Describe constraints on size and
10268 signedness, not exact equivalence to a particular type.
10269 (ino_t): Likewise.
10270 (ino64_t): Likewise.
10271 (dev_t): Likewise.
10272 (nlink_t): Likewise.
10273 (blkcnt_t): Likewise.
10274 (blkcnt64_t): Likewise.
10275 * manual/llio.texi (off_t): Likewise.
10276
28afd92d
JM
10277 [BZ #3976]
10278 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10279 (__ieee754_exp): Save and restore rounding mode and use
10280 round-to-nearest for all computations.
10281 * math/libm-test.inc (exp_test_tonearest): New function.
10282 (exp_test_towardzero): Likewise.
10283 (exp_test_downward): Likewise.
10284 (exp_test_upward): Likewise.
10285 (main): Call the new functions.
10286 * sysdeps/i386/fpu/libm-test-ulps: Update.
10287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10288
b1eeb65d
CD
102892012-03-01 Chris Demetriou <cgd@google.com>
10290
10291 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10292 have predictable order.
10293
53362a4b
DM
102942012-03-01 David S. Miller <davem@davemloft.net>
10295
3c969083
DM
10296 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10297
759707de
DM
10298 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10299 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10300 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10301 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10302
dfdb8ff2
DM
10303 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10304 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10305 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10307 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10308 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10309 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10310 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10311 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10312
ead89f96
DM
10313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10314
7f66bd07
DM
10315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10316 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10318
53362a4b
DM
10319 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10320 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10321 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10322 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10323 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10326 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10327 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10328 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10329 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10330 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10332 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10333 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10335 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10336 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10337 * sysdeps/sparc/elf/configure: Regenerated.
10338
7b1902cb
JM
103392012-03-01 Joseph Myers <joseph@codesourcery.com>
10340
bec039bc
JM
10341 * configure.in (AS, LD): Require binutils 2.20 or later.
10342 * configure: Regenerated.
10343 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10344 as required minimum version.
10345 * INSTALL: Regenerated.
10346
7b1902cb
JM
10347 [BZ #2541]
10348 [BZ #4108]
10349 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10350 before squaring exponent.
10351 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10352 bottom long double and 27 bits of top long double before squaring
10353 exponent.
10354 * math/libm-test.inc (erfc_test): Add more tests.
10355 * sysdeps/i386/fpu/libm-test-ulps: Update.
10356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10358
f775c276
KT
103592012-03-01 Kai Tietz <ktietz@redhat.com>
10360
10361 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10362 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10363 containing bit-fields.
10364 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10365 * soft-fp/single.h (_FP_UNION_S): Likewise.
10366 * soft-fp/double.h (_FP_UNION_D): Likewise.
10367
5b8a4d4a
JM
103682012-02-29 Joseph Myers <joseph@codesourcery.com>
10369
0bab47b6
JM
10370 [BZ #13786]
10371 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10372 not include ../strcmp.S.
10373 [USE_AS_STRNCASECMP_L]: Likewise.
10374 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10375 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10376 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10377 (__strncasecmp_l_ia32): Define as alias to
10378 __strncasecmp_l_nonascii.
10379
0fcad3e2
JM
10380 [BZ #5794]
10381 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10382 * sysdeps/i386/fpu/libm-test-ulps: Update.
10383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10384
5b8a4d4a
JM
10385 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10387
8fdceb2e
JL
103882012-02-29 Jeff Law <law@redhat.com>
10389
10390 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10391 out of bounds read.
10392
1f393a11
MP
103932012-02-29 Marek Polacek <polacek@redhat.com>
10394
10395 [BZ #13706]
10396 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10397 * elf/Makefile: Add rules to run tst-unused-dep.out.
10398
8847f037
DM
103992012-02-28 David S. Miller <davem@davemloft.net>
10400
10401 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10402 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10403 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10405 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10406 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10407
169d7f11
JM
104082012-02-29 Joseph Myers <joseph@codesourcery.com>
10409
10410 * math/libm-test.inc (llround_test): Move one test from
10411 lround_test. Use TEST_f_L in moved test.
10412 (lround_test): Move misplaced test to llround_test. Add testcase
10413 from bug 2561.
10414
39adf059
UD
104152012-02-28 Ulrich Drepper <drepper@gmail.com>
10416
10417 * sysdeps/x86_64/fpu/e_expf.S: New file.
10418 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10419
71b5d1c5
SB
104202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10421
10422 [BZ #13637]
10423 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10424 of remain_len that may cause incomplete multi-byte character and
10425 false match.
10426 * posix/bug-regex33.c: New file.
10427 * posix/Makefile (tests): Add bug-regex33.
10428
1f77f049
JM
104292012-02-28 Joseph Myers <joseph@codesourcery.com>
10430
10431 * manual/macros.texi: New file.
10432 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10433 * manual/libc.texinfo: Include macros.texi.
10434 * manual/creatute.texi: Likewise.
10435 * manual/install.texi: Likewise.
10436 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10437 @glibcadj{} in references to the GNU C Library.
10438 * manual/charset.texi: Likewise.
10439 * manual/conf.texi: Likewise.
10440 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10441 when not using those macros.
10442 * manual/creature.texi: Likewise.
10443 * manual/crypt.texi: Likewise.
10444 * manual/errno.texi: Likewise.
10445 * manual/filesys.texi: Likewise.
10446 * manual/header.texi: Likewise.
10447 * manual/install.texi: Likewise.
10448 * manual/intro.texi: Likewise.
10449 * manual/io.texi: Likewise.
10450 * manual/job.texi: Likewise.
10451 * manual/lang.texi: Likewise.
10452 * manual/libc.texiinfo: Likewise.
10453 * manual/llio.texi: Likewise.
10454 * manual/locale.texi: Likewise.
10455 * manual/maint.texi: Likewise.
10456 * manual/math.texi: Likewise.
10457 * manual/memory.texi: Likewise.
10458 * manual/message.texi: Likewise.
10459 * manual/nss.texi: Likewise.
10460 * manual/pattern.texi: Likewise.
10461 * manual/process.texi: Likewise.
10462 * manual/resource.texi: Likewise.
10463 * manual/search.texi: Likewise.
10464 * manual/setjmp.texi: Likewise.
10465 * manual/signal.texi: Likewise.
10466 * manual/socket.texi: Likewise.
10467 * manual/startup.texi: Likewise.
10468 * manual/stdio.texi: Likewise.
10469 * manual/string.texi: Likewise.
10470 * manual/sysinfo.texi: Likewise.
10471 * manual/syslog.texi: Likewise.
10472 * manual/terminal.texi: Likewise.
10473 * manual/time.texi: Likewise.
10474 * manual/users.texi: Likewise.
10475 * INSTALL: Regenerated.
10476 * NOTES: Regenerated.
d40c5d54 10477 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10478
450bf206
AS
104792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10480
10481 * include/dirent.h: Include <dirstream.h> before
10482 <dirent/dirent.h>.
10483
741a235b
DM
104842012-02-28 David S. Miller <davem@davemloft.net>
10485
10486 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10487 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10488 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10489 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10490
d6b5aa58
DM
104912012-02-27 David S. Miller <davem@davemloft.net>
10492
1aff59a3
DM
10493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10495 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10496 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10497
d6b5aa58
DM
10498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10499 frame pointer instead of stack pointer relative arg slot.
10500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10503
433f48bf
CD
105042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10505
10506 [BZ #3992]
10507 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10508
d674b76d
DM
105092012-02-27 David S. Miller <davem@davemloft.net>
10510
10511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10515 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10516 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10517 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10518 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10519
0e7727f7
JM
105202012-02-27 Joseph Myers <joseph@codesourcery.com>
10521
10522 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10523 later. Allow versions 5-9.
43be4ca2 10524 * configure: Regenerated.
0e7727f7
JM
10525 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10526 required minimum version and 4.6 as recommended version. Do not
10527 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10528 * INSTALL: Regenerated.
0e7727f7 10529
a78bc654
DM
105302012-02-27 David S. Miller <davem@davemloft.net>
10531
428d5830
DM
10532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10538 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10539 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10540
a78bc654
DM
10541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10542 manipulate bits before adding and subtracting TWO112[sx].
10543 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10544
4579f81c
RM
105452012-02-27 Roland McGrath <roland@hack.frob.com>
10546
36c8acb4
RM
10547 [BZ #13775]
10548 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10549 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10550 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10551 being in POSIX, because they are in 1003.1-2008.
10552
84ad622b
RM
10553 * rt/tst-aio.c: Include <fcntl.h>.
10554 * rt/tst-aio7.c: Likewise.
10555 * rt/tst-aio64.c: Likewise.
10556
4579f81c
RM
10557 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10558
abd923db
JM
105592012-02-27 Joseph Myers <joseph@codesourcery.com>
10560
10561 * manual/install.texi (--with-headers): Describe headers as
10562 interface headers, not private headers.
10563 (Specific advice for GNU/Linux systems): Describe use of headers
10564 from "make headers_install", not private headers from older
10565 kernels.
43be4ca2 10566 * INSTALL: Regenerated.
abd923db
JM
10567 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10568 Change to 2.6.19.
10569 * sysdeps/unix/sysv/linux/configure: Regenerated.
10570
6664049b
JM
10571 * manual/llio.texi (fclean): Remove documentation.
10572
bb8b6697
JM
10573 * manual/Makefile (libc-texi-generated): New variable. Include
10574 version.texi.
10575 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10576 $(libc-texi-generated), not duplicated list of files.
10577 (version.texi, stamp-version): New rules.
10578 (realclean): Remove $(libc-texi-generated), not individual files
10579 from that list. Do not remove dir-add.texinfo.
10580 * manual/libc.texinfo: Comment out uses of edition numbers and
10581 references to printed manual. Remove last-updated dates.
10582 (EDITION): Comment out.
10583 (ISBN): Likewise.
10584 (VERSION, UPDATED): Remove.
10585 (version.texi): Include.
10586
12e5c3b9
AS
105872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10588
10589 * sysdeps/posix/spawni.c: Include <signal.h>.
10590 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10591 * sysdeps/pthread/aio_fsync.c: Likewise.
10592
4efeffc1 105932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10594
ba63ba08
UD
10595 * conform/Makefile (tests): Run only when not cross-compiling and
10596 when fast-check is not defined.
10597
d94a4670
UD
10598 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10599 * conform/data/limits.h-data: Fixes for POSIX2008.
10600 * conform/run-conformtest.sh: Run all tests.
10601 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10602 headers.
10603 * include/bits/dlfcn.h: Likewise.
10604 * include/langinfo.h: Likewise.
10605 * include/monetary.h: Likewise.
10606 * include/sys/poll.h: Likewise.
10607
10608 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10609 for __USE_GNU.
10610 * posix/spawn.h: Define __need_sigset_t.
10611 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10612 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10613 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10614 to get sigevent_t only.
10615 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10616 only for __USE_GNU.
10617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10618 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10619 process_vm_writev only for __USE_GNU.
10620 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10621
10622 * conform/Makefile: For now ignore errors from run-conformtest.
10623 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10624 POSIX to avoid namespace pollution. Don't prepend headers.
10625 * conform/data/aio.h-data: Fixes for POSIX testing.
10626 * conform/data/fcntl.h-data: Likewise.
10627 * conform/data/glob.h-data: Likewise.
10628 * conform/data/grp.h-data: Likewise.
10629 * conform/data/pthread.h-data: Likewise.
10630 * conform/data/pwd.h-data: Likewise.
10631 * conform/data/signal.h-data: Likewise.
10632 * conform/data/spawn.h-data: Likewise.
10633 * conform/data/stdio.h-data: Likewise.
10634 * conform/data/stdlib.h-data: Likewise.
10635 * conform/data/stropts.h-data: Likewise.
10636 * conform/data/sys/mman.h-data: Likewise.
10637 * conform/data/sys/stat.h-data: Likewise.
10638 * conform/data/sys/types.h-data: Likewise.
10639 * conform/data/sys/wait.h-data: Likewise.
10640 * conform/data/time.h-data: Likewise.
10641 * conform/data/unistd.h-data: Likewise.
10642 * conform/data/utime.h-data: Likewise.
10643
10644 * io/sys/stat.h: fchmod was always in POSIX.
10645 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10646 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10647 * rt/aio.h: Define __need_timespec before including <time.h>.
10648 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10649 struct. Add forward declaration of pthread_attr_t and use it in
10650 sigevent.
10651 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10652 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10653 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10654 always remove CLK_TCK definition.
10655
c20105c3
AS
106562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10657
10658 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10659
7a270350
UD
106602012-02-25 Ulrich Drepper <drepper@gmail.com>
10661
31341567
UD
10662 * conform/run-conformtest.sh: New file.
10663 * conform/Makefile: Run run-conformtest for tests.
10664 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10665 support.
10666
10667 * conform/data/uchar.h-data: New file.
10668 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10669 * conform/data/arpa/inet.h-data: Likewise.
10670 * conform/data/assert.h-data: Likewise.
10671 * conform/data/complex.h-data: Likewise.
10672 * conform/data/cpio.h-data: Likewise.
10673 * conform/data/ctype.h-data: Likewise.
10674 * conform/data/dirent.h-data: Likewise.
10675 * conform/data/dlfcn.h-data: Likewise.
10676 * conform/data/errno.h-data: Likewise.
10677 * conform/data/fcntl.h-data: Likewise.
10678 * conform/data/float.h-data: Likewise.
10679 * conform/data/fmtmsg.h-data: Likewise.
10680 * conform/data/fnmatch.h-data: Likewise.
10681 * conform/data/ftw.h-data: Likewise.
10682 * conform/data/glob.h-data: Likewise.
10683 * conform/data/grp.h-data: Likewise.
10684 * conform/data/iconv.h-data: Likewise.
10685 * conform/data/inttypes.h-data: Likewise.
10686 * conform/data/langinfo.h-data: Likewise.
10687 * conform/data/libgen.h-data: Likewise.
10688 * conform/data/limits.h-data: Likewise.
10689 * conform/data/locale.h-data: Likewise.
10690 * conform/data/math.h-data: Likewise.
10691 * conform/data/monetary.h-data: Likewise.
10692 * conform/data/mqueue.h-data: Likewise.
10693 * conform/data/ndbm.h-data: Likewise.
10694 * conform/data/net/if.h-data: Likewise.
10695 * conform/data/netdb.h-data: Likewise.
10696 * conform/data/netinet/in.h-data: Likewise.
10697 * conform/data/nl_types.h-data: Likewise.
10698 * conform/data/poll.h-data: Likewise.
10699 * conform/data/pthread.h-data: Likewise.
10700 * conform/data/pwd.h-data: Likewise.
10701 * conform/data/regex.h-data: Likewise.
10702 * conform/data/sched.h-data: Likewise.
10703 * conform/data/search.h-data: Likewise.
10704 * conform/data/semaphore.h-data: Likewise.
10705 * conform/data/setjmp.h-data: Likewise.
10706 * conform/data/signal.h-data: Likewise.
10707 * conform/data/spawn.h-data: Likewise.
10708 * conform/data/stdarg.h-data: Likewise.
10709 * conform/data/stdio.h-data: Likewise.
10710 * conform/data/stdlib.h-data: Likewise.
10711 * conform/data/string.h-data: Likewise.
10712 * conform/data/strings.h-data: Likewise.
10713 * conform/data/stropts.h-data: Likewise.
10714 * conform/data/sys/ipc.h-data: Likewise.
10715 * conform/data/sys/mman.h-data: Likewise.
10716 * conform/data/sys/msg.h-data: Likewise.
10717 * conform/data/sys/resource.h-data: Likewise.
10718 * conform/data/sys/select.h-data: Likewise.
10719 * conform/data/sys/sem.h-data: Likewise.
10720 * conform/data/sys/shm.h-data: Likewise.
10721 * conform/data/sys/socket.h-data: Likewise.
10722 * conform/data/sys/stat.h-data: Likewise.
10723 * conform/data/sys/statvfs.h-data: Likewise.
10724 * conform/data/sys/time.h-data: Likewise.
10725 * conform/data/sys/timeb.h-data: Likewise.
10726 * conform/data/sys/times.h-data: Likewise.
10727 * conform/data/sys/types.h-data: Likewise.
10728 * conform/data/sys/uio.h-data: Likewise.
10729 * conform/data/sys/un.h-data: Likewise.
10730 * conform/data/sys/utsname.h-data: Likewise.
10731 * conform/data/sys/wait.h-data: Likewise.
10732 * conform/data/syslog.h-data: Likewise.
10733 * conform/data/tar.h-data: Likewise.
10734 * conform/data/termios.h-data: Likewise.
10735 * conform/data/utime.h-data: Likewise.
10736 * conform/data/utmpx.h-data: Likewise.
10737 * conform/data/varargs.h-data: Likewise.
10738 * conform/data/wchar.h-data: Likewise.
10739 * conform/data/wctype.h-data: Likewise.
10740 * conform/data/wordexp.h-data: Likewise.
10741
10742 * include/stropts.h: New file.
10743 * include/uchar.h: New file.
10744 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10745 * include/assert.h: Likewise.
10746 * include/ctype.h: Likewise.
10747 * include/dirent.h: Likewise.
10748 * include/dlfcn.h: Likewise.
10749 * include/fcntl.h: Likewise.
10750 * include/fnmatch.h: Likewise.
10751 * include/glob.h: Likewise.
10752 * include/grp.h: Likewise.
10753 * include/libio.h: Likewise.
10754 * include/locale.h: Likewise.
10755 * include/math.h: Likewise.
10756 * include/net/if.h: Likewise.
10757 * include/netdb.h: Likewise.
10758 * include/netinet/in.h: Likewise.
10759 * include/pthread.h: Likewise.
10760 * include/pwd.h: Likewise.
10761 * include/regex.h: Likewise.
10762 * include/sched.h: Likewise.
10763 * include/search.h: Likewise.
10764 * include/setjmp.h: Likewise.
10765 * include/signal.h: Likewise.
10766 * include/stdio.h: Likewise.
10767 * include/stdlib.h: Likewise.
10768 * include/string.h: Likewise.
10769 * include/sys/cdefs.h: Likewise.
10770 * include/sys/mman.h: Likewise.
10771 * include/sys/msg.h: Likewise.
10772 * include/sys/resource.h: Likewise.
10773 * include/sys/select.h: Likewise.
10774 * include/sys/socket.h: Likewise.
10775 * include/sys/stat.h: Likewise.
10776 * include/sys/statvfs.h: Likewise.
10777 * include/sys/time.h: Likewise.
10778 * include/sys/times.h: Likewise.
10779 * include/sys/uio.h: Likewise.
10780 * include/sys/utsname.h: Likewise.
10781 * include/sys/wait.h: Likewise.
10782 * include/termios.h: Likewise.
10783 * include/time.h: Likewise.
10784 * include/ulimit.h: Likewise.
10785 * include/unistd.h: Likewise.
10786 * include/utime.h: Likewise.
10787 * include/wchar.h: Likewise.
10788 * include/wctype.h: Likewise.
10789 * include/wordexp.h: Likewise.
10790
10791 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10792
7a270350
UD
10793 * time/time.h: TIME_UTC must be a macro.
10794 Make timespec_get available for ISO C11 only as well.
10795
7724defc
UD
107962012-02-24 Ulrich Drepper <drepper@gmail.com>
10797
10798 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10799 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10800
6b1d1d46
JM
108012012-02-24 Joseph Myers <joseph@codesourcery.com>
10802
10803 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10804
0f8bbd69
JM
108052012-02-24 Joseph Myers <joseph@codesourcery.com>
10806
10807 * manual/texinfo.tex: Update to version 2012-01-19.16.
10808
66ab80bc
JM
108092012-02-24 Joseph Myers <joseph@codesourcery.com>
10810
10811 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10812
74981cc5
RM
108132012-02-24 Roland McGrath <roland@hack.frob.com>
10814
ee968201
RM
10815 [BZ #13738]
10816 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10817 * manual/fdl-1.3.texi: New file.
10818 * manual/fdl-1.1.texi: File removed.
10819
74981cc5
RM
10820 [BZ #13738]
10821 * manual/libc.texinfo (FDL_VERSION): New @set.
10822 Use it for mention of FDL in cover text.
10823 (Documentation License): Use it in @include file name.
10824
7bb764bc
JM
108252012-02-22 Joseph Myers <joseph@codesourcery.com>
10826 Roland McGrath <roland@hack.frob.com>
10827
10828 [BZ #5461]
10829 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10830 not LONG_LONG_MAX and LONG_LONG_MIN.
10831 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10832 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10833 name.
10834 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10835
6cbeae47
JM
108362012-02-22 Joseph Myers <joseph@codesourcery.com>
10837
10838 [BZ #2547]
10839 [BZ #11365]
10840 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10841 manipulate bits before adding and subtracting TWO23[sx].
10842 * math/libm-test.inc (nearbyint_test): Add more tests.
10843
fe45ce09
JM
108442012-02-22 Joseph Myers <joseph@codesourcery.com>
10845
10846 [BZ #2548]
10847 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10848 bits before adding and subtracting TWO23[sx].
10849 * math/libm-test.inc (rint_test): Add more tests.
10850 (rint_test_tonearest): Likewise.
10851 (rint_test_towardzero): Likewise.
10852 (rint_test_downward): Likewise.
10853 (rint_test_upward: Likewise.
10854
ff3b3d82
JM
108552012-02-22 Joseph Myers <joseph@codesourcery.com>
10856
10857 [BZ #10110]
10858 * include/stdc-predef.h: New file. Extracted from features.h.
10859 * include/features.h: Include stdc-predef.h.
10860 * Makefile (headers): Add stdc-predef.h.
10861 * CONFORMANCE (Compiler limitations): Update.
10862
ef0aab35
JM
108632012-02-22 Joseph Myers <joseph@codesourcery.com>
10864
10865 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10866
58639409
DM
108672012-02-21 David S. Miller <davem@davemloft.net>
10868
10869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10870 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10871
c0e70b25
DM
108722012-02-20 David S. Miller <davem@davemloft.net>
10873
10874 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10875 using a normal save/restore sequence, rather than allocating a
10876 dummy stack frame just to store a frame pointer and restore.
10877 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10878
fb06851d
JM
108792012-02-21 Joseph Myers <joseph@codesourcery.com>
10880
10881 * manual/install.texi: Fix stray word in line-wrapped comment.
10882
7a8b71c3
DM
108832012-02-20 David S. Miller <davem@davemloft.net>
10884
d510c123
DM
10885 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10886 both binutils and gcc support GOTDATA.
10887
0722d7c2
DM
10888 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10889 "rd %pc" in the PIC register setup sequences.
10890
3d2b3019
DM
10891 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10892 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10893 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10894 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10895 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10897 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10898 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10900 (SYSCALL_ERROR_HANDLER): Likewise.
10901 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10902 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10904 (SYSCALL_ERROR_HANDLER): Likewise.
10905
c80098a9
DM
10906 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10907 (HAVE_GCC_GOTDATA): New.
10908 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10909 relocation support in both binutils and gcc.
10910 * sysdeps/sparc/elf/configure: Regenerate.
10911
3a2545a0
DM
10912 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10913 * sysdeps/sparc/sparc32/elf/configure: Delete.
10914 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10915 * sysdeps/sparc/sparc64/elf/configure: Delete.
10916 * sysdeps/sparc/elf/configure.in: New file.
10917 * sysdeps/sparc/elf/configure: Generate.
10918
7a8b71c3
DM
10919 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10920 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10921 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10922 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10923 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10924
f1e86fca
JM
109252012-02-21 Joseph Myers <joseph@codesourcery.com>
10926
10927 * manual/install.texi: Do not mention specific glibc version
10928 numbers.
10929 * manual/libc.texinfo (VERSION, UPDATED): Update.
10930 (@copying): Use @copyright{} and range of years.
10931
0e7dfaef
JM
109322012-02-21 Joseph Myers <joseph@codesourcery.com>
10933
10934 [BZ #13695]
10935 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10936 [crti.S not in sysdirs] (generated): Do not append.
10937 [crti.S not in sysdirs] (omit-deps): Likewise.
10938 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10939 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10940 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10941 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10942 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10943 Likewise.
10944 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10945 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10946 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10947 * csu/defs.awk: Remove file.
10948 * sysdeps/generic/initfini.c: Likewise.
10949 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10950 variable.
10951 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10952 Likewise.
10953
599af3ca
JM
109542012-02-20 Joseph Myers <joseph@codesourcery.com>
10955
10956 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10957 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10958 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10961 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10962 <bits/epoll.h>.
10963 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10964 (__EPOLL_PACKED): Define to empty if not defined by
10965 <bits/epoll.h>.
10966 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10968 bits/epoll.h.
10969
0e499750
JM
109702012-02-20 Joseph Myers <joseph@codesourcery.com>
10971
10972 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10973 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10974 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10975 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10976 <bits/timerfd.h>.
10977 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10979 bits/timerfd.h.
10980
5ad91f6e
JM
109812012-02-20 Joseph Myers <joseph@codesourcery.com>
10982
10983 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10984 in C locale.
10985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10986 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10987 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10989
06b99b02
AJ
109902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10991
10992 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10993 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10994
7638c0fd
AS
109952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10996
10997 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10998 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10999 defined.
11000 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11001 Likewise.
11002 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11003 entry for 2.16.
11004
92221550
AJ
110052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11006
11007 * math/w_acos.c: Use non-signaling floating-point comparisons.
11008 * math/w_acosf.c: Likewise.
11009 * math/w_acosh.c: Likewise.
11010 * math/w_acoshf.c: Likewise.
11011 * math/w_acoshl.c: Likewise.
11012 * math/w_acosl.c: Likewise.
11013 * math/w_asin.c: Likewise.
11014 * math/w_asinf.c: Likewise.
11015 * math/w_asinl.c: Likewise.
11016 * math/w_atanh.c: Likewise.
11017 * math/w_atanhf.c: Likewise.
11018 * math/w_atanhl.c: Likewise.
11019 * math/w_exp2.c: Likewise.
11020 * math/w_exp2f.c: Likewise.
11021 * math/w_exp2l.c: Likewise.
11022 * math/w_j0.c: Likewise.
11023 * math/w_j0f.c: Likewise.
11024 * math/w_j0l.c: Likewise.
11025 * math/w_j1.c: Likewise.
11026 * math/w_j1f.c: Likewise.
11027 * math/w_j1l.c: Likewise.
11028 * math/w_jn.c: Likewise.
11029 * math/w_jnf.c: Likewise.
11030 * math/w_log.c: Likewise.
11031 * math/w_log10.c: Likewise.
11032 * math/w_log10f.c: Likewise.
11033 * math/w_log10l.c: Likewise.
11034 * math/w_log2.c: Likewise.
11035 * math/w_log2f.c: Likewise.
11036 * math/w_log2l.c: Likewise.
11037 * math/w_logf.c: Likewise.
11038 * math/w_logl.c: Likewise.
11039 * math/w_sqrt.c: Likewise.
11040 * math/w_sqrtf.c: Likewise.
11041 * math/w_sqrtl.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11045 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11046 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11047
ebaf36eb
JM
110482012-02-19 Joseph Myers <joseph@codesourcery.com>
11049
11050 [BZ #9739]
11051 * manual/string.texi (strnlen): Use correct parameter name in
11052 equivalent expression.
11053
71c254a6
JM
110542012-02-19 Joseph Myers <joseph@codesourcery.com>
11055
11056 [BZ #11174]
11057 * manual/users.texi (seteuid): Consistently use neweuid for
11058 argument name.
11059
16d2c631
JM
110602012-02-19 Joseph Myers <joseph@codesourcery.com>
11061
11062 [BZ #13704]
11063 * manual/nss.texi (Services in the NSS configuration): Correct
11064 list of services in example configuration file.
11065
cd837b09
NB
110662012-02-19 Nick Bowler <nbowler@draconx.ca>
11067
11068 [BZ #11322]
11069 * manual/arith.texi: Remove statements about negative zero
11070 behaving identically to zero.
11071
02c4bbad
JM
110722012-02-18 Joseph Myers <joseph@codesourcery.com>
11073
11074 [BZ #5993]
11075 * manual/install.texi: Do not document upgrading from libc5.
11076
366842e7
JM
110772012-02-18 Joseph Myers <joseph@codesourcery.com>
11078
11079 [BZ #4596]
11080 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11081
dd54084d
DM
110822012-02-18 David S. Miller <davem@davemloft.net>
11083
11084 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11085 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11086 %o7 across the call.
11087 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11088 instead.
11089 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11090 SETUP_PIC_REG_LEAF.
11091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11092 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11093 * sysdeps/sparc/crtn.S: Likewise.
11094
2bcc53a3
UD
110952012-02-17 Ulrich Drepper <drepper@gmail.com>
11096
11097 * aout/Makefile: Remove.
11098
09c093b5
RK
110992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11100
11101 [BZ #13058]
11102 * manual/examples/argp-ex1.c (main): Format definition in GNU
11103 style.
11104 * manual/examples/argp-ex2.c (main): Likewise.
11105 * manual/examples/argp-ex3.c (main): Likewise.
11106 * manual/examples/argp-ex4.c (main): Likewise.
11107 * manual/examples/longopt.c (main): Use new-style prototype
11108 definition.
11109 * manual/examples/strncat.c (main): Specify return type and use
11110 (void) for arguments.
11111 * manual/examples/subopt.c (main): Use char **argv argument.
11112
2ee633a2
JM
111132012-02-17 Joseph Myers <joseph@codesourcery.com>
11114
11115 [BZ #5077]
11116 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11117 rounding modes.
11118
0520adde
FB
111192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11120
11121 [BZ #6907]
11122 * manual/string.texi (strchr): Change when strchrnul is
11123 recommended.
11124
3f4081cd
DGM
111252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11126
11127 [BZ #174]
11128 * manual/locale.texi (setlocale): Document LOCPATH.
11129
d1b10e78
JM
111302012-02-17 Joseph Myers <joseph@codesourcery.com>
11131
11132 [BZ #10210]
11133 * manual/process.texi (execle): Move @dots{} before last argument.
11134
79c6869c
PB
111352012-02-17 Paul Bolle <pebolle@tiscali.nl>
11136
11137 [BZ #12047]
11138 * manual/charset.texi (Generic Charset Conversion): Fix typo
11139 (LC_TYPE -> LC_CTYPE).
11140
cc6e48bc
NB
111412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11142
11143 [BZ #5805]
11144 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11145 (scalbnf): Likewise.
11146 (scalbnl): Likewise.
11147 (scalbln): Likewise.
11148 (scalblnf): Likewise.
11149 (scalblnl): Likewise.
11150 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11151 (vwarnx): Likewise.
11152 (verr): Likewise.
11153 (verrx): Likewise.
11154 * manual/filesys.texi (telldir): Use braces around return type.
11155 * manual/llio.texi (mmap): Add space after comma.
11156 (mmap64): Likewise.
11157 * manual/math.texi (jn): Use @var{} on parameter names.
11158 (jnf): Likewise.
11159 (jnl): Likewise.
11160 (yn): Likewise.
11161 (ynf): Likewise.
11162 (ynl): Likewise.
11163 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11164 line.
11165 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11166 "...".
11167 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11168 (sched_get_priority_max): Likewise.
11169 * manual/signal.texi (sigvec): Add space after comma.
11170 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11171 names.
11172 (if_indextoname): Likewise.
11173 (if_freenameindex): Likewise.
11174 (sendto): Use ',' instead of '.' in prototype.
11175 * manual/startup.texi (syscall): Use @dots{} instead of literal
11176 "...".
11177 * manual/stdio.texi (__fpending): Separate initial words of
11178 paragraph from @deftypefun line.
11179 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11180 "...".
11181 (vsyslog): Use @var{} on parameter names.
11182 * manual/terminal.texi (stty): Use @var{} on parameter names.
11183 * manual/users.texi (getutmp): Use @var{} on parameter names.
11184 (getutmpx): Likewise.
11185
5b23062f
JM
111862012-02-17 Joseph Myers <joseph@codesourcery.com>
11187
11188 [BZ #6884]
11189 * manual/stdio.texi (fopen): Fix typos in description of
11190 ",ccs=STRING".
11191
8dee4833
AJ
111922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11193
11194 [BZ #4026]
11195 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11196 get clock_id definition.
11197
9078ce93
TS
111982012-02-17 Thomas Schwinge <thomas@schwinge.name>
11199
11200 [BZ #4822]
11201 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11202 (madvise): Cast every argument to void on its own.
11203
3835c55f
JM
112042012-02-17 Joseph Myers <joseph@codesourcery.com>
11205
11206 [BZ #9902]
11207 * manual/startup.texi (Exit Status): Fix typo.
11208
35c47e37
JM
112092012-02-17 Joseph Myers <joseph@codesourcery.com>
11210
11211 [BZ #10140]
11212 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11213 * manual/examples/argp-ex2.c: Likewise.
11214 * manual/examples/argp-ex3.c: Likewise.
11215
e3b69ca7
RH
112162012-02-16 Richard Henderson <rth@redhat.com>
11217
11218 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11219 * sysdeps/s390/s390-32/initfini.c: Remove.
11220 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11221 * sysdeps/s390/s390-64/initfini.c: Remove.
11222
df83af67
KK
112232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11224
11225 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11226 compiler output for sysdeps/generic/initfini.c.
11227 * sysdeps/sh/elf/initfini.c: Remove file.
11228
f63f3380
DM
112292012-02-16 David S. Miller <davem@davemloft.net>
11230
fb59b3a4
DM
11231 [BZ #11494]
11232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11233
f63f3380
DM
11234 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11235 * sysdeps/sparc/crti.S: New file.
11236 * sysdeps/sparc/crtn.S: New file.
11237 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11238 * sysdeps/sparc/sparc64/Makefile: Likewise.
11239
df6a4a4a
MF
112402012-02-15 Mike Frysinger <vapier@gentoo.org>
11241
6dd8f3dc 11242 [BZ #3335]
df6a4a4a
MF
11243 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11244
1cac7236
RM
112452012-02-15 Roland McGrath <roland@hack.frob.com>
11246
d2c736f8
RM
11247 [BZ #4822]
11248 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11249
1cac7236
RM
11250 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11251 (write, read, close): Likewise.
11252 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11253
8e475601
JM
112542012-02-15 Joseph Myers <joseph@codesourcery.com>
11255
11256 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11257 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11258 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11259 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11260 <bits/signalfd.h>.
11261 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11263 bits/signalfd.h.
11264
ed656b40
MP
112652012-02-14 Marek Polacek <polacek@redhat.com>
11266
11267 * sysdeps/x86_64/crti.S: New file.
11268 * sysdeps/x86_64/crtn.S: New file.
11269 * sysdeps/x86_64/elf/initfini.c: Remove file.
11270
2a979d3a
JM
112712012-02-13 Joseph Myers <joseph@codesourcery.com>
11272
11273 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11274 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11275 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11276 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11277 <bits/inotify.h>.
11278 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11280 bits/inotify.h.
11281
2a418ac3
JM
112822012-02-13 Joseph Myers <joseph@codesourcery.com>
11283
11284 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11285 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11286 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11287 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11288 <bits/eventfd.h>.
11289 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11291 bits/eventfd.h.
11292
fb779be7
TS
112932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11294
e19e83c5
RM
11295 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11296 __feraiseexcept instead of feraiseexcept.
7c35ffed 11297
fb779be7
TS
11298 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11299 nanosleep invocations.
11300 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11301 strings, and add error checking for a nanosleep invocations.
11302
59ba27a6
PE
113032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11304
11305 Replace FSF snail mail address with URLs, as per GNU coding standards.
11306 Most of the snail mail addresses were wrong anyway, and omitting
11307 them makes the source code easier to maintain. Almost all of the
11308 changes are to license notices and to locale LC_IDENTIFICATION
11309 addresses, except for this one:
11310 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11311 not its snail mail address.
11312
57b957eb
RH
113132012-02-09 Richard Henderson <rth@twiddle.net>
11314
af850b1c
RH
11315 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11316 of kernel-features.h.
11317
57b957eb
RH
11318 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11319
6b73181a
MP
113202012-02-08 Marek Polacek <polacek@redhat.com>
11321
11322 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11323 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11324 * sysdeps/gnu/_G_config.h: Likewise.
11325 * sysdeps/generic/_G_config.h: Likewise.
11326
26ecc33a
AS
113272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11328
6c6dbc63
AS
11329 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11330 tests.
11331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11332
e216c012
AS
11333 * sysdeps/powerpc/powerpc32/crti.S: New file.
11334 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11335 * sysdeps/powerpc/powerpc64/crti.S: New file.
11336 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11337
26ecc33a
AS
11338 * Makeconfig (have-initfini): Don't set.
11339 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11340 * configure.in (nopic_initfini): Don't substitute.
11341 * config.h.in (HAVE_INITFINI): Don't #undef.
11342 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11343 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11344
3add8e13
JM
113452012-02-08 Joseph Myers <joseph@codesourcery.com>
11346
11347 Support crti.S and crtn.S provided directly by architectures.
11348 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11349 [crti.S in sysdirs] (omit-deps): Likewise.
11350 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11351 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11352 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11353 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11354 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11355 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11356 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11357 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11358 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11359 compiler output for sysdeps/generic/initfini.c.
11360 * sysdeps/i386/elf/Makefile: Remove file.
11361 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11362
a22f12b4
MP
113632012-02-07 Marek Polacek <polacek@redhat.com>
11364
11365 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11366 * sysdeps/gnu/_G_config.h: Likewise.
11367 * sysdeps/mach/hurd/_G_config.h: Likewise.
11368
148cf100
MP
113692012-02-07 Marek Polacek <polacek@redhat.com>
11370
11371 * math/Makefile (tests): Add tst-CMPLX2.
11372 * math/tst-CMPLX2.c: New file.
11373
cfdc0dd7
AS
113742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11375
84ba42c4
AS
11376 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11377
cfdc0dd7
AS
11378 * math/libm-test.inc (jn_test): Add missing L suffix.
11379
622c86f4
MP
113802012-02-06 Marek Polacek <polacek@redhat.com>
11381
11382 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11383 * sysdeps/i386/fpu/e_powf.S: Likewise.
11384 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11385 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11386 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11387 * sysdeps/i386/fpu/e_pow.S: Likewise.
11388 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11390 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11391 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11392 * sysdeps/i386/fpu/e_log2.S: Likewise.
11393 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11394 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11395 * sysdeps/i386/fpu/e_powl.S: Likewise.
11396 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11397 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11398 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11399 * sysdeps/i386/fpu/e_logl.S: Likewise.
11400 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11401 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11402 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11403 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11404 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11405 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11406 * sysdeps/i386/fpu/e_log.S: Likewise.
11407 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11408 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11409 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11410 * sysdeps/i386/fpu/e_logf.S: Likewise.
11411 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11412 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11413 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11414 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11415 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11416 * sysdeps/i386/fpu/e_log10.S: Likewise.
11417 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11419 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11420 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11421 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11422 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11423 * sysdeps/i386/asm-syntax.h: Likewise.
11424 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11425 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11426 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11427 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11428 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11429 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11430 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11431 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11432 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11433 * sysdeps/powerpc/sysdep.h: Likewise.
11434 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11435 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11436
d4a54ac6
JM
114372012-02-06 Joseph Myers <joseph@codesourcery.com>
11438
11439 [BZ #411]
11440 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11441
314054ea
JM
114422012-02-06 Joseph Myers <joseph@codesourcery.com>
11443
11444 * sysdeps/i386/sysdep.h: Include <features.h>.
11445 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11446 version.
11447
d8e0ca50
JM
114482012-02-05 Joseph Myers <joseph@codesourcery.com>
11449
11450 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11451 Define.
11452 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11453 LOAD_PIC_REG_STR.
11454
b1da7dd9
JM
114552012-02-03 Joseph Myers <joseph@codesourcery.com>
11456
11457 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11458 (SETUP_PIC_REG): Use GET_PC_THUNK.
11459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11460 macro.
11461
9a1d9254
JM
114622012-02-03 Joseph Myers <joseph@codesourcery.com>
11463
11464 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11465 for non-PIC compilation.
11466 (SETUP_PIC_REG): Add .p2align directive.
11467 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11468 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11469 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11470 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11471 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11472 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11473 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11475 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11476 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11477 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11478 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11479 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11480 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11481 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11482 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11483 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11484 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11485 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11486 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11489 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11490 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11493 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11494 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11495 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11496 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11497 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11498 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11499 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11500 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11501 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11502 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11503 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11504 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11505 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11506 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11507 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11508
65dc3b75
JM
115092012-02-03 Joseph Myers <joseph@codesourcery.com>
11510
11511 * math/tst-CMPLX.c: Include <stdio.h>.
11512
d55bf177
JM
115132012-01-31 Joseph Myers <joseph@codesourcery.com>
11514
11515 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11516 float.
11517 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11518 * sysdeps/sparc/bits/mathdef.h: Likewise.
11519
69db4f8f
MP
115202012-01-31 Marek Polacek <polacek@redhat.com>
11521
11522 * libio/libio.h: Don't define _PARAMS.
11523 * locale/programs/config.h: Don't define PARAMS.
11524 * stdlib/strtol_l.c: Likewise.
11525 (__strtol_l): Remove PARAMS from the prototype.
11526
41b81892
UD
115272012-01-31 Ulrich Drepper <drepper@gmail.com>
11528
3b49edc0
UD
11529 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11530 names. Just use the correct names. Remove unnecessary wrapper
11531 functions.
11532 * malloc/arena.c: Likewise.
11533 * malloc/hooks.c: Likewise.
11534
41b81892
UD
11535 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11536 ARENA_TEST says not to. Simplify test for creation of a new arena.
11537 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11538
27a25b6e
UD
115392012-01-30 Ulrich Drepper <drepper@gmail.com>
11540
11541 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11542 into tail calls.
11543 (update_get_addr): New function.
11544 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11545 GET_ADDR_MODULE parameter.
11546
c8a89e7d
JM
115472012-01-30 Joseph Myers <joseph@codesourcery.com>
11548
11549 * crypt/cert.c: Remove __STDC__ conditionals.
11550 * crypt/crypt-entry.c: Likewise.
11551 * crypt/crypt_util.c: Likewise.
11552 * libio/filedoalloc.c: Likewise.
11553 * libio/fileops.c: Likewise.
11554 * libio/genops.c: Likewise.
11555 * libio/iofclose.c: Likewise.
11556 * libio/iofdopen.c: Likewise.
11557 * libio/iofopen.c: Likewise.
11558 * libio/iofopen64.c: Likewise.
11559 * libio/iogetdelim.c: Likewise.
11560 * libio/iopopen.c: Likewise.
11561 * libio/obprintf.c: Likewise.
11562 * libio/oldfileops.c: Likewise.
11563 * libio/oldiofclose.c: Likewise.
11564 * libio/oldiofdopen.c: Likewise.
11565 * libio/oldiofopen.c: Likewise.
11566 * libio/oldiopopen.c: Likewise.
11567 * libio/wfiledoalloc.c: Likewise.
11568 * libio/wgenops.c: Likewise.
11569 * locale/programs/xmalloc.c: Likewise.
11570 * misc/syslog.c: Likewise.
11571 * stdio-common/xbug.c: Likewise.
11572 * string/memchr.c: Likewise.
11573 * string/memcmp.c: Likewise.
11574 * string/memrchr.c: Likewise.
11575 * string/rawmemchr.c: Likewise.
11576 * sysdeps/posix/getcwd.c: Likewise.
11577 * time/strftime_l.c: Likewise.
11578
3b100462
JM
115792012-01-30 Joseph Myers <joseph@codesourcery.com>
11580
11581 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11582 * config.make.in (config-cflags-sse2avx): Define.
11583 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11584 Fix typo.
11585
607998af
CM
115862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11587
11588 * scripts/config.guess: Update from upstream config git repository.
11589 * scripts/config.sub: Likewise.
11590
3601428f
CM
115912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11592
3ac8b282
CM
11593 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11594 (EM_NUM): Update.
11595 (R_TILEPRO_*, R_TILEGX_*): New macros.
11596
e034841e
CM
11597 * scripts/firstversions.awk: Fix bug in version range handling.
11598
540d7568
CM
11599 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11600
3601428f
CM
11601 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11602
463de862
CM
11603 * include/sys/epoll.h: New file.
11604 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11605 libc_hidden_def.
11606
73139a76
UD
116072012-01-28 Ulrich Drepper <drepper@gmail.com>
11608
96bc5b45
UD
11609 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11610 Avoid unnecessary __WORDSIZE == 64 test.
11611 (fmaxf): Use VEX format if possible.
11612 (fmax): Likewise.
11613 (fminf): Likewise.
11614 (fmin): Likewise.
11615
56f6f6a2
UD
11616 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11617 * math/math_private.h: Remove libc_fegetround* and
11618 libc_fesetround*.
11619 * sysdeps/i386/configure.in: Check for -msse2avx.
11620 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11621 also if SSE2AVX is defined.
11622 Remove libc_fegetround* and libc_fesetround*.
11623 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11624 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11626 of HAS_YMM_USABLE.
11627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11628 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11629 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11630 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11632
73139a76
UD
11633 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11634
d73f93a4
AZ
116352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11636
11637 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11638 size is not set.
11639 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11640
6ee65ed6
UD
116412012-01-27 Ulrich Drepper <drepper@gmail.com>
11642
11643 [BZ #13618]
11644 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11645 relocation.
11646 * Makeconfig (libm): Define.
11647 * elf/Makefile: Add rules to build and run tst-relsort1.
11648 * elf/tst-relsort1.c: New file.
11649 * elf/tst-relsort1mod1.c: New file.
11650 * elf/tst-relsort1mod2.c: New file.
11651
8db21882
JM
116522012-01-27 Joseph Myers <joseph@codesourcery.com>
11653
11654 * math/s_ldexp.c: Remove __STDC__ conditionals.
11655 * math/s_ldexpf.c: Likewise.
11656 * math/s_ldexpl.c: Likewise.
11657 * math/s_nextafter.c: Likewise.
11658 * math/s_nexttowardf.c: Likewise.
11659 * math/s_significand.c: Likewise.
11660 * math/s_significandf.c: Likewise.
11661 * math/s_significandl.c: Likewise.
11662 * math/w_jnl.c: Likewise.
11663 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11664 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11665 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11666 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11667 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11669 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11682 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11683 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11685 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11687 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11688 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11689 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11690 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11691 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11692 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11693 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11694 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11695 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11696 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11697 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11698 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11699 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11700 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11701 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11702 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11703 * sysdeps/ieee754/k_standard.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11765 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11779 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11783 * sysdeps/ieee754/s_matherr.c: Likewise.
11784 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11785 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11788
965a54a4
JM
117892012-01-26 Joseph Myers <joseph@codesourcery.com>
11790
11791 * crypt/md5.h: Remove __STDC__ conditionals.
11792 * libio/libioP.h: Likewise.
11793 * locale/programs/config.h: Likewise.
11794 * sysdeps/generic/sysdep.h: Likewise.
11795 * sysdeps/i386/asm-syntax.h: Likewise.
11796 * sysdeps/s390/asm-syntax.h: Likewise.
11797 * sysdeps/unix/sysdep.h: Likewise.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11800
7071ad79
JM
118012012-01-26 Joseph Myers <joseph@codesourcery.com>
11802
11803 * libio/libio.h: Remove __STDC__ conditionals.
11804 * malloc/obstack.h: Likewise.
11805 * math/complex.h: Likewise.
11806 * math/math.h: Likewise.
11807 * sysdeps/generic/_G_config.h: Likewise.
11808 * sysdeps/gnu/_G_config.h: Likewise.
11809 * sysdeps/mach/hurd/_G_config.h: Likewise.
11810 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11811 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11812 * sysdeps/sparc/bits/mathdef.h: Likewise.
11813
afc5ed09
UD
118142012-01-26 Ulrich Drepper <drepper@gmail.com>
11815
11816 [BZ #13583]
11817 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11818 Clean up HAS_* macros.
afc5ed09 11819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11820 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11821 possible.
11822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11823 HAS_AVX.
11824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11825 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11828 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11829
bdb6de1d
JM
118302012-01-25 Joseph Myers <joseph@codesourcery.com>
11831
11832 * elf/tst-unique3.cc (gets): Remove declaration.
11833 * elf/tst-unique3lib.cc (gets): Likewise.
11834 * elf/tst-unique3lib2.cc (gets): Likewise.
11835 * elf/tst-unique4.cc (gets): Likewise.
11836
b15549e6
UD
118372012-01-24 Ulrich Drepper <drepper@gmail.com>
11838
11839 * include/stdio.h: Add C++ protection. Add gets declarations and
11840 definitions.
11841 * debug/tst-chk1.c: Don't declare gets here.
11842 * stdio-common/tst-gets.c: Likewise.
11843
a037381f
JM
118442012-01-24 Joseph Myers <joseph@codesourcery.com>
11845
11846 * posix/glob: Remove directory.
11847
f1d4aa75
JM
118482012-01-24 Joseph Myers <joseph@codesourcery.com>
11849
11850 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11851
81c0c964
PT
118522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11853
11854 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11855 of the non-standard EPFNOSUPPORT.
11856
0ea698ae
ST
118572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11858
11859 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11860 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11861 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11862
d220b117
UD
118632012-01-21 Ulrich Drepper <drepper@gmail.com>
11864
11865 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11866
3e1aa84e
UD
118672012-01-20 Ulrich Drepper <drepper@gmail.com>
11868
11869 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11870 transient errors.
11871 * nscd/grpcache.c (cache_addgr): Likewise.
11872 * nscd/hstcache.c (cache_addhst): Likewise.
11873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11874 * nscd/pwdcache.c (cache_addpw): Likewise.
11875 * nscd/servicescache.c (cache_addserv): Likewise.
11876
400aa020
UD
118772012-01-16 Ulrich Drepper <drepper@gmail.com>
11878
d77e7869
UD
11879 * malloc/malloc.c: Various cleanups.
11880 * malloc/hooks.c: Likewise.
11881
400aa020
UD
11882 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11883 * stdlib/bug-fmtmsg1.c: New file.
11884
11885 * stdlib/fmtmsg.c (init): Add missing unlock.
11886 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11887
e0a309cf
MP
118882012-01-12 Marek Polacek <polacek@redhat.com>
11889
11890 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11891 and _GNU_SOURCE.
11892
929d11c7
WS
118932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11894
11895 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11896 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11897 macro to ensure uniqueness of label name.
11898 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11899 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11900
41d0e869
UD
119012012-01-11 Ulrich Drepper <drepper@gmail.com>
11902
0cc5ed3b
UD
11903 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11904
41d0e869
UD
11905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11906 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11907 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11909
a47a831a
UD
119102012-01-10 Ulrich Drepper <drepper@gmail.com>
11911
daa891c0
UD
11912 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11913
11914 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11915 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11916 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11917
e58ef0f2
UD
11918 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11919
a47a831a 11920 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11921 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11924
11925 * math/bits/math-finite.h: Add ldexp support.
11926
a0bfc9c7
MP
119272012-01-10 Marek Polacek <polacek@redhat.com>
11928
11929 * locale/programs/localedef.h (show_archive_content): Add noreturn
11930 attribute.
11931
d6e97a1d
UD
119322012-01-09 Ulrich Drepper <drepper@gmail.com>
11933
11934 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11935
d5835c26
UD
119362012-01-08 Ulrich Drepper <drepper@gmail.com>
11937
e5f484c6
UD
11938 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11939
d5835c26
UD
11940 * io/Makefile (headers): Add bits/poll2.h.
11941
d1f741e9
WS
119422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11943
11944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11945 typo #include statement.
11946
ec09c1c4
UD
119472012-01-08 Ulrich Drepper <drepper@gmail.com>
11948
11949 * include/sys/cdefs.h: Define __attribute_alloc_size.
11950 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11951 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11952 * elf/pldd.c: Likewise.
11953 * iconv/iconv_charmap.c: Likewise.
11954 * iconv/iconvconfig.c: Likewise.
11955 * iconv/strtab.c: Likewise.
11956 * locale/programs/locale.c: Likewise.
11957 * locale/programs/localedef.h: Likewise.
11958 * locale/programs/simple-hash.c: Likewise.
11959 * nscd/nscd.h: Likewise.
11960 * nss/makedb.c: Likewise.
11961 * sysdeps/generic/ldconfig.h: Likewise.
11962 * locale/programs/localedef.c: Remove xmalloc prototype.
11963 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11964
20b38e03
PP
119652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11966
11967 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11968 appropriate.
11969
a0da5fe1
UD
119702012-01-08 Ulrich Drepper <drepper@gmail.com>
11971
1d5a644a 11972 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11973 * math/tst-CMPLX.c: New file.
1d5a644a 11974
8784a6db
UD
11975 * math/complex.h (CMPLXL): Fix typo.
11976
d9a216c0
UD
11977 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11978 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11979 GLIBC_2.16.
11980 * debug/tst-chk1.c: Add poll and ppoll tests.
11981 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11982 * include/sys/poll.h: Add hidden proto for ppoll.
11983 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11984 * sysdeps/mach/hurd/ppoll.c: Likewise.
11985 * io/ppoll.c: Likewise.
11986 * debug/poll_chk.c: New file.
11987 * debug/ppoll_chk.c: New file.
11988 * include/bits/poll2.h: New file.
11989 * io/bits/poll2.h: New file.
11990
ac097f5c
UD
11991 [BZ #1350]
11992 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11993
2119dcfa
UD
11994 * configure.in: static is always set to yes. Remove.
11995 * config.make.in: Don't set build-static.
11996 * Makeconfig: Remove use of build-static.
11997 * dlfcn/Makefile: Likewise.
11998 * elf/Makefile: Likewise.
11999 * math/Makefile: Likewise.
12000 * misc/Makefile: Likewise.
12001 * nptl/Makefile: Likewise.
12002 * sysdeps/mach/hurd/Makefile: Likewise.
12003
121766a9
UD
12004 * configure.in: PWD_P is not used anymore.
12005 * config.make.in: Remove PWD_P entry.
12006
51a1d39c 12007 * configure.in: Remove last remnants of RANLIB.
8720d066 12008 No need to check for signed size_t anymore.
215f4bdc
UD
12009 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12010 and IA-64.
3857022a 12011 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12012 * aclocal.m4: Likewise.
12013
d3ed7225
UD
12014 * wcsmbs/mbrtoc16.c: Implement using towc function.
12015 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12016 * wcsmbs/wcsmbsload.c: Likewise.
12017 * iconv/gconv_simple.c: Likewise.
12018 * iconv/gconv_int.h: Likewise.
12019 * iconv/gconv_builtin.h: Likewise.
12020 * iconv/iconv_prog.c: Remove CHAR16 handling.
12021
12022 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12023
12024 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12025
a0da5fe1
UD
12026 * configure.in: Remove --with-elf and --enable-bounded options.
12027 Dont set base_machine for ia64. More non-ELF conditions removed.
12028 Remove testing and setting of leading underscore information.
12029 * config.make.in (build-bounded): Set to no.
12030 * config.h.in: Remove NO_UNDERSCORES entry.
12031 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12032 them.
12033 * csu/start.c: Remove !NO_UNDERSCORE code.
12034 * locale/localeinfo.h: Likewise.
12035 * sysdeps/generic/machine-gmon.h: Likewise.
12036 * sysdeps/generic/sysdep.h: Likewise.
12037 * sysdeps/i386/sysdep.h: Likewise.
12038 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12039 * sysdeps/mach/sysdep.h: Likewise.
12040 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12041 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12042 * sysdeps/sh/sysdep.h: Likewise.
12043 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12044 * sysdeps/unix/i386/sysdep.S: Likewise.
12045 * sysdeps/unix/sparc/start.c: Likewise.
12046 * sysdeps/unix/sparc/sysdep.S: Likewise.
12047 * sysdeps/unix/sparc/sysdep.h: Likewise.
12048 * sysdeps/unix/start.c: Likewise.
12049 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12050 * sysdeps/x86_64/sysdep.h: Likewise.
12051
df78418a
UD
120522012-01-07 Ulrich Drepper <drepper@gmail.com>
12053
a784e502
UD
12054 [BZ #13553]
12055 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12056 for non-gcc.
12057 * argp/argp-fmtstream.h: Use const instead __const.
12058 * argp/argp.h: Likewise.
12059 * assert/assert.h: Likewise.
12060 * bits/fenv.h: Likewise.
12061 * bits/sched.h: Likewise.
12062 * bits/sigset.h: Likewise.
12063 * bits/sigthread.h: Likewise.
12064 * catgets/nl_types.h: Likewise.
12065 * conform/data/pthread.h-data: Likewise.
12066 * crypt/crypt-private.h: Likewise.
12067 * crypt/crypt.h: Likewise.
12068 * crypt/crypt_util.c: Likewise.
12069 * ctype/ctype.h: Likewise.
12070 * debug/execinfo.h: Likewise.
12071 * debug/mbsnrtowcs_chk.c: Likewise.
12072 * debug/mbsrtowcs_chk.c: Likewise.
12073 * debug/wcsnrtombs_chk.c: Likewise.
12074 * debug/wcsrtombs_chk.c: Likewise.
12075 * debug/wcstombs_chk.c: Likewise.
12076 * dirent/dirent.h: Likewise.
12077 * dlfcn/dlfcn.h: Likewise.
12078 * elf/neededtest4.c: Likewise.
12079 * grp/grp.h: Likewise.
12080 * gshadow/gshadow.h: Likewise.
12081 * iconv/gconv.h: Likewise.
12082 * iconv/gconv_int.h: Likewise.
12083 * iconv/gconv_simple.c: Likewise.
12084 * iconv/iconv.h: Likewise.
12085 * iconv/loop.c: Likewise.
12086 * iconv/skeleton.c: Likewise.
12087 * include/aio.h: Likewise.
12088 * include/aliases.h: Likewise.
12089 * include/argz.h: Likewise.
12090 * include/arpa/inet.h: Likewise.
12091 * include/assert.h: Likewise.
12092 * include/dirent.h: Likewise.
12093 * include/dlfcn.h: Likewise.
12094 * include/execinfo.h: Likewise.
12095 * include/fcntl.h: Likewise.
12096 * include/fenv.h: Likewise.
12097 * include/glob.h: Likewise.
12098 * include/grp.h: Likewise.
12099 * include/libintl.h: Likewise.
12100 * include/mntent.h: Likewise.
12101 * include/netdb.h: Likewise.
12102 * include/pwd.h: Likewise.
12103 * include/rpc/netdb.h: Likewise.
12104 * include/sched.h: Likewise.
12105 * include/search.h: Likewise.
12106 * include/shadow.h: Likewise.
12107 * include/signal.h: Likewise.
12108 * include/stdio.h: Likewise.
12109 * include/stdlib.h: Likewise.
12110 * include/string.h: Likewise.
12111 * include/sys/socket.h: Likewise.
12112 * include/sys/stat.h: Likewise.
12113 * include/sys/statfs.h: Likewise.
12114 * include/sys/statvfs.h: Likewise.
12115 * include/sys/syslog.h: Likewise.
12116 * include/sys/time.h: Likewise.
12117 * include/sys/uio.h: Likewise.
12118 * include/time.h: Likewise.
12119 * include/unistd.h: Likewise.
12120 * include/utmp.h: Likewise.
12121 * include/wchar.h: Likewise.
12122 * include/wctype.h: Likewise.
12123 * inet/aliases.h: Likewise.
12124 * inet/arpa/inet.h: Likewise.
12125 * inet/netinet/ether.h: Likewise.
12126 * inet/netinet/in.h: Likewise.
12127 * intl/libintl.h: Likewise.
12128 * io/bits/fcntl2.h: Likewise.
12129 * io/fcntl.h: Likewise.
12130 * io/ftw.h: Likewise.
12131 * io/sys/poll.h: Likewise.
12132 * io/sys/stat.h: Likewise.
12133 * io/sys/statfs.h: Likewise.
12134 * io/sys/statvfs.h: Likewise.
12135 * io/utime.h: Likewise.
12136 * libio/bits/stdio.h: Likewise.
12137 * libio/bits/stdio2.h: Likewise.
12138 * libio/libio.h: Likewise.
12139 * libio/libioP.h: Likewise.
12140 * libio/stdio.h: Likewise.
12141 * locale/lc-ctype.c: Likewise.
12142 * locale/locale.h: Likewise.
12143 * login/utmp.h: Likewise.
12144 * malloc/arena.c: Likewise.
12145 * malloc/malloc.c: Likewise.
12146 * malloc/malloc.h: Likewise.
12147 * malloc/mcheck.c: Likewise.
12148 * malloc/mtrace.c: Likewise.
12149 * math/bits/mathcalls.h: Likewise.
12150 * math/fenv.h: Likewise.
12151 * math/math_private.h: Likewise.
12152 * misc/bits/error.h: Likewise.
12153 * misc/bits/syslog.h: Likewise.
12154 * misc/err.h: Likewise.
12155 * misc/error.h: Likewise.
12156 * misc/fstab.h: Likewise.
12157 * misc/mntent.h: Likewise.
12158 * misc/regexp.h: Likewise.
12159 * misc/search.h: Likewise.
12160 * misc/sgtty.h: Likewise.
12161 * misc/sys/mman.h: Likewise.
12162 * misc/sys/syslog.h: Likewise.
12163 * misc/sys/uio.h: Likewise.
12164 * misc/sys/xattr.h: Likewise.
12165 * misc/ttyent.h: Likewise.
12166 * nis/rpcsvc/ypclnt.h: Likewise.
12167 * nss/nss.h: Likewise.
12168 * posix/bits/unistd.h: Likewise.
12169 * posix/fnmatch.h: Likewise.
12170 * posix/glob.h: Likewise.
12171 * posix/sched.h: Likewise.
12172 * posix/spawn.h: Likewise.
12173 * posix/sys/wait.h: Likewise.
12174 * posix/unistd.h: Likewise.
12175 * posix/wordexp.h: Likewise.
12176 * pwd/pwd.h: Likewise.
12177 * resolv/netdb.h: Likewise.
12178 * resource/sys/resource.h: Likewise.
12179 * rt/aio.h: Likewise.
12180 * rt/bits/mqueue2.h: Likewise.
12181 * rt/mqueue.h: Likewise.
12182 * shadow/shadow.h: Likewise.
12183 * signal/signal.h: Likewise.
12184 * socket/send.c: Likewise.
12185 * socket/sendto.c: Likewise.
12186 * socket/sys/socket.h: Likewise.
12187 * stdio-common/printf.h: Likewise.
12188 * stdlib/bits/stdlib.h: Likewise.
12189 * stdlib/fmtmsg.h: Likewise.
12190 * stdlib/monetary.h: Likewise.
12191 * stdlib/stdlib.h: Likewise.
12192 * stdlib/ucontext.h: Likewise.
12193 * streams/stropts.h: Likewise.
12194 * string/argz.h: Likewise.
12195 * string/bits/string2.h: Likewise.
12196 * string/string.h: Likewise.
12197 * string/strings.h: Likewise.
12198 * sunrpc/rpc/auth.h: Likewise.
12199 * sunrpc/rpc/auth_des.h: Likewise.
12200 * sunrpc/rpc/clnt.h: Likewise.
12201 * sunrpc/rpc/netdb.h: Likewise.
12202 * sunrpc/rpc/pmap_clnt.h: Likewise.
12203 * sunrpc/rpc/xdr.h: Likewise.
12204 * sysdeps/generic/inttypes.h: Likewise.
12205 * sysdeps/generic/net/if.h: Likewise.
12206 * sysdeps/generic/sys/swap.h: Likewise.
12207 * sysdeps/gnu/net/if.h: Likewise.
12208 * sysdeps/gnu/utmpx.h: Likewise.
12209 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12210 * sysdeps/i386/i486/bits/string.h: Likewise.
12211 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12212 * sysdeps/s390/bits/string.h: Likewise.
12213 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12214 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12215 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12216 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12217 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12218 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12219 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12220 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12221 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12222 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12223 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12224 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12225 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12226 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12227 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12228 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12229 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12232 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12235 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12236 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12237 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12238 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12239 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12240 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12241 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12242 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12243 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12244 * sysvipc/sys/ipc.h: Likewise.
12245 * sysvipc/sys/msg.h: Likewise.
12246 * sysvipc/sys/sem.h: Likewise.
12247 * sysvipc/sys/shm.h: Likewise.
12248 * termios/termios.h: Likewise.
12249 * time/sys/time.h: Likewise.
12250 * time/time.h: Likewise.
12251 * wcsmbs/bits/wchar2.h: Likewise.
12252 * wcsmbs/uchar.h: Likewise.
12253 * wcsmbs/wchar.h: Likewise.
12254 * wctype/wctype.h: Likewise.
12255
0269750c
UD
12256 [BZ #13551]
12257 * Makeconfig: Remove all but ELF support including AIX support.
12258 * Makerules: Likewise.
12259 * config.h.in: Likewise.
12260 * config.make.in: Likewise.
12261 * configure: Likewise.
12262 * configure.in: Likewise.
12263 * csu/Makefile: Likewise.
12264 * csu/version.c: Likewise.
12265 * debug/Makefile: Likewise.
12266 * dlfcn/Makefile: Likewise.
12267 * elf/Makefile: Likewise.
12268 * extra-lib.mk: Likewise.
12269 * iconv/Makefile: Likewise.
12270 * include/libc-symbols.h: Likewise.
12271 * include/shlib-compat.h: Likewise.
12272 * resolv/Makefile: Likewise.
12273 * resolv/res_libc.c: Likewise.
12274 * rt/Makefile: Likewise.
12275 * sysdeps/i386/asm-syntax.h: Likewise.
12276 * sysdeps/i386/sysdep.h: Likewise.
12277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12278 * sysdeps/mach/sysdep.h: Likewise.
12279 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12280 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12281 * sysdeps/s390/asm-syntax.h: Likewise.
12282 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12283 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12284 * sysdeps/sh/sysdep.h: Likewise.
12285 * sysdeps/unix/sparc/sysdep.h: Likewise.
12286 * sysdeps/wordsize-32/divdi3.c: Likewise.
12287 * sysdeps/x86_64/sysdep.h: Likewise.
12288
00bbd29b
UD
12289 * argp/Versions: Remove _argp_unlock_xxx.
12290
12291 [BZ #13559]
12292 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12293 * abilist/libBrokenLocale.abilist: Likewise.
12294 * abilist/libanl.abilist: Likewise.
12295 * abilist/libc.abilist: Likewise.
12296 * abilist/libcrypt.abilist: Likewise.
12297 * abilist/libdl.abilist: Likewise.
12298 * abilist/libm.abilist: Likewise.
12299 * abilist/libnsl.abilist: Likewise.
12300 * abilist/libpthread.abilist: Likewise.
12301 * abilist/libresolv.abilist: Likewise.
12302 * abilist/librt.abilist: Likewise.
12303 * abilist/libthread_db.abilist: Likewise.
12304 * abilist/libutil.abilist: Likewise.
12305 * abilist/libnss_db.abilist: New file.
12306
12307 * scripts/abilist.awk: Add support for indirect functions.
12308
a2693a0e
UD
12309 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12310
3f05895f
UD
12311 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12312
ecb6fb48
UD
12313 * shlib-versions: Remove entries for ports architectures.
12314
664f8cb9
UD
12315 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12316 files in ports.
12317 * elf/stackguard-macros.h: Remove support for IA-64.
12318 * elf/tst-auditmod1.c: Likewise.
12319 * sysdeps/generic/ldsodefs.h: Likewise.
12320
7ae81d88
UD
12321 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12322 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12323 configure files.
12324
bdeba135
UD
12325 [BZ #13552]
12326 * configure.in: Remove --enable-omitfp support.
12327 * FAQ.in: Adjust.
12328 * config.make.in: Likewise.
12329 * Makeconfig: Likewise.
12330 * manual/install.texi: Likewise.
12331
d75a0a62
UD
12332 In case anyone cares, the IA-64 architecture could move to ports.
12333 * sysdeps/ia64/*: Removed.
12334 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12335 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12336
dcc9756b
UD
12337 [BZ #13555]
12338 * configure.in: Remove entries for unsupported architectures.
12339
d3761ebc 12340 [BZ #13533]
9954432e
UD
12341 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12342 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12343 routines.
12344 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12345 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12346 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12347 fall back to using wcrtomb.
12348 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12349 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12350 renaming.
12351 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12352 * wcsmbs/tst-c16c32-1.c: New file.
12353
12354 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12355 local variable.
12356
c3a87236
UD
12357 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12358
28926a1b
UD
12359 * elf/tst-unique3.cc: Add explicit declaration of gets.
12360 * elf/tst-unique3lib.cc: Likewise.
12361 * elf/tst-unique3lib2.cc: Likewise.
12362 * elf/tst-unique4.cc: Likewise.
12363
df78418a
UD
12364 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12365
8ecd6b2a
JM
123662012-01-06 Joseph Myers <joseph@codesourcery.com>
12367
12368 [BZ #13566]
12369 * assert/assert.h (static_assert): Don't define for C++.
12370 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12371 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12372
9f115170
UD
123732012-01-03 Ulrich Drepper <drepper@gmail.com>
12374
5e0d0300
UD
12375 * iconv/loop.c (single loop): Fix assertion in storing of
12376 remaining bytes.
12377
9f115170
UD
12378 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12379
81fb02b0
UD
123802012-01-01 Ulrich Drepper <drepper@gmail.com>
12381
12382 * posix/getconf.c: Update copyright year.
12383 * nss/getent.c: Likewise.
a316c1f6 12384 * nss/makedb.c: Likewise.
81fb02b0
UD
12385 * iconv/iconvconfig.c: Likewise.
12386 * iconv/iconv_prog.c: Likewise.
12387 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12388 * elf/pldd.c: Likewise.
12389 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12390 * catgets/gencat.c: Likewise.
12391 * csu/version.c: Likewise.
12392 * elf/ldd.bash.in: Likewise.
12393 * elf/sprof.c (print_version): Likewise.
12394 * locale/programs/locale.c: Likewise.
12395 * locale/programs/localedef.c: Likewise.
a316c1f6 12396 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12397 * nscd/nscd.c (print_version): Likewise.
12398 * debug/xtrace.sh: Likewise.
12399 * malloc/memusage.sh: Likewise.
12400 * malloc/mtrace.pl: Likewise.
12401 * debug/catchsegv.sh: Likewise.
12402
2ba92745
JJ
124032011-12-30 Jakub Jelinek <jakub@redhat.com>
12404
12405 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12406 pure attribute.
12407
dadebdae
UD
124082011-12-24 Ulrich Drepper <drepper@gmail.com>
12409
d3761ebc 12410 [BZ #13533]
db6af3eb
UD
12411 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12412 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12413 transformations.
12414 * iconv/gconv_int.h: Likewise.
12415 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12416 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12417 from libc for GLIBC_2.16.
12418 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12419 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12420 * wcsmbs/uchar.h: Really define mbstate_t.
12421 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12422 * wcsmbs/c16rtomb.c: New file.
12423 * wcsmbs/mbrtoc16.c: New file.
12424 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12425 for C/POSIX locale.
12426 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12427 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12428
dadebdae
UD
12429 * wcsmbs/wchar.h: Add missing __restrict.
12430
67371b56
UD
124312011-12-23 Ulrich Drepper <drepper@gmail.com>
12432
74033a25
UD
12433 [BZ #13532]
12434 * time/Makefile (routines): Add timespec_get.
12435 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12436 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12437 timespec for ISO C11.
12438 * time/timespec_get.c: New file.
12439 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12440 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12441
380d7e87
UD
12442 [BZ #13531]
12443 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12444 * stdlib/stdlib.h: Declare aligned_alloc.
12445 * Versions.def: Add GLIBC_2.16 for libc.
12446 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12447
4e9e7a35
UD
12448 [BZ 13527]
12449 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12450 ISO C11.
12451
380d7e87 12452 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12453 code.
12454
03a71829
UD
12455 [BZ #13528]
12456 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12457
839e283e
UD
12458 [BZ #13529]
12459 * assert/assert.h (static_assert): Define.
12460
ce5294e2 12461 * version.h: Update for 2.16 development version.
90fa7312 12462
8d44e150 12463 [BZ #13526]
d7809905
UD
12464 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12465 _ISOC11_SOURCE.
12466
c0da14cd
UD
12467 * version.h (RELEASE): Bump for 2.15 release.
12468 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12469
530a3249
MP
12470 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12471 Patch by Marek Polacek <mpolacek@redhat.com>.
12472
67371b56
UD
12473 * bits/byteswap.h: Protect long long constants with __extension__.
12474 * sysdeps/i386/bits/byteswap.h: Likewise.
12475 * sysdeps/ia64/bits/byteswap.h: Likewise.
12476 * sysdeps/s390/bits/byteswap.h: Likewise.
12477 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12478
15db4de1
LD
124792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12480
12481 [BZ #13540]
bbe315ea
LD
12482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12483 destination buffer.
15db4de1
LD
12484 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12485
2b2596b1
MP
124862011-12-23 Marek Polacek <polacek@redhat.com>
12487
12488 * elf/dl-addr.c (determine_info): Add inline keyword.
12489 * elf/tst-auditmod4b.c (check_avx): Likewise.
12490 * elf/tst-auditmod6b.c (check_avx): Likewise.
12491 * elf/tst-auditmod6c.c (check_avx): Likewise.
12492 * elf/tst-auditmod7b.c (check_avx): Likewise.
12493
70c6c246
UD
124942011-12-23 Ulrich Drepper <drepper@gmail.com>
12495
12496 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12497 !__SSE_MATH__.
12498
c044cf14
LD
124992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12500
15db4de1 12501 [BZ #13540]
c044cf14
LD
12502 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12503 processing for last bytes.
12504
6b13d9d9
BH
125052011-08-06 Bruno Haible <bruno@clisp.org>
12506
d455f537
BH
12507 [BZ #13061]
12508 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12509 U+0385, not to U+1FEE.
12510
6b13d9d9
BH
12511 [BZ #13062]
12512 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12513 entry for U+00A5 U+0301.
12514
db910efd
UD
125152011-12-22 Ulrich Drepper <drepper@gmail.com>
12516
27deeafc
UD
12517 [BZ #13166]
12518 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12519 buffer for the output is too small.
12520
aed9d171
UD
12521 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12522 optimization.
12523
db910efd
UD
12524 [BZ #13185]
12525 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12526 SSE flags if possible.
12527
2bd779ae
LD
125282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12529
e7f9dac3 12530 [BZ #13540]
2bd779ae
LD
12531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12532 processing for last bytes.
12533
154bfc16
JM
125342011-12-22 Joseph Myers <joseph@codesourcery.com>
12535
12536 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12537 (syscall-list-default-options, syscall-list-default-condition)
12538 (syscall-list-includes): Define.
12539 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12540 list of ABIs and options and #if conditions for each ABI. Do not
12541 handle common syscalls between ABIs specially.
12542 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12543 Remove.
12544 (syscall-list-variants, syscall-list-32bit-options)
12545 (syscall-list-32bit-condition, syscall-list-64bit-options)
12546 (syscall-list-64bit-condition): Define.
12547 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12548 (syscall-list-variants, syscall-list-32bit-options)
12549 (syscall-list-32bit-condition, syscall-list-64bit-options)
12550 (syscall-list-64bit-condition): Define.
12551 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12552 Remove.
12553 (syscall-list-variants, syscall-list-32bit-options)
12554 (syscall-list-32bit-condition, syscall-list-64bit-options)
12555 (syscall-list-64bit-condition): Define.
12556 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12557 Remove.
12558 (syscall-list-variants, syscall-list-32bit-options)
12559 (syscall-list-32bit-condition, syscall-list-64bit-options)
12560 (syscall-list-64bit-condition): Define.
12561
21eaf3a5
UD
125622011-12-22 Ulrich Drepper <drepper@gmail.com>
12563
16c6f992
UD
12564 * locale/iso-639.def: Add brx entry.
12565
41043168
UD
12566 [BZ #13328]
12567 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12568 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12569
21eaf3a5
UD
12570 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12571 __feraiseexcept_renamed.
12572
e3a851a2
UD
125732011-12-21 Ulrich Drepper <drepper@gmail.com>
12574
4920765e
UD
12575 [BZ #13538]
12576 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12577 EPOLLET with unsigned values.
12578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12579 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12580
e3a851a2
UD
12581 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12582 to large cancellation.
12583 * math/s_cacoshf.c: Likewise.
12584 * math/s_cacoshl.c: Likewise.
12585
b27e24b8
RK
125862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12587
12588 [BZ #13305]
aebefeee 12589 [BZ #12786]
b27e24b8
RK
12590 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12591 * math/s_cacoshf.c: Likewise.
12592 * math/s_cacoshl.c: Likewise.
12593
ee190f67
UD
125942011-12-21 Ulrich Drepper <drepper@gmail.com>
12595
12596 [BZ #13439]
12597 * iconv/gconv.h: Define __GCONV_SWAP.
12598 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12599 * iconvdata/utf-16.c: Likewise.
12600 * iconvdata/utf-32.c: Likewise.
12601
707f25df
AS
126022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12603
12604 [BZ #13524]
12605 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12606 numerator after shifting it by one limb.
12607
d2daaa1e
RÁE
126082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12609
12610 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12611 under [__USE_EXTERN_INLINES].
12612
a4647e72
UD
126132011-12-17 Ulrich Drepper <drepper@gmail.com>
12614
12615 [BZ #13446]
12616 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12617
f0b264f1
AZ
126182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619
12620 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12621 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12622 optimized code.
12623 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12624 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12625 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12626 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12627 for strncasecmp/strncasecmp_l compilation.
12628 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12629 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12630
8ef4f244
MP
126312011-12-08 Marek Polacek <mpolacek@redhat.com>
12632
12633 [BZ #13484]
12634 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12635 of __asm__.
12636
97ac2654
UD
126372011-12-17 Ulrich Drepper <drepper@gmail.com>
12638
12639 [BZ #13506]
12640 * time/tzfile.c (__tzfile_read): Check values from file header.
12641
91d2a845
WS
126422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12643
12644 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12645 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12646 * powerpc/powerpc32/dl-start.S: Likewise.
12647 * powerpc/powerpc32/elf/start.S: Likewise.
12648 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12649 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12650 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12651 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12652 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12653 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12654 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12655 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12656 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12657 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12658 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12659 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12660 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12661 * powerpc/powerpc32/memset.S: Likewise.
12662 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12663 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12664 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12665 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12666 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12667 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12668 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12669 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12670 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12671 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12672 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12673 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12674 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12675
a1267ba1
AZ
126762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12677
12678 * math/libm-test.inc: Added more nearbyint tests.
12679 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12682 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12683
ad8ac1bd
RL
126842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12685
12686 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12687 FD_CLOEXEC.
12688
1d3e4b61
UD
126892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12690
12691 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12692 Add wcscpy-ssse3 wcscpy-c.
12693 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12694 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12695 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12696 * sysdeps/x86_64/wcschr.S: New file.
12697 * sysdeps/x86_64/wcsrchr.S: New file.
12698 * string/test-strcmp.c: Remove checking of wcscmp function for
12699 wrong alignments.
12700 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12701 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12702 wcsrchr-sse2 wcsrchr-c.
12703 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12704 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12705 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12706 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12707 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12708 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12709 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12710 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12711 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12712 * wcsmbc/wcschr.c (WCSCHR): New macro.
12713
5b330a2d
UD
127142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12715
12716 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12717 * wcsmbs/test-wcsrchr.c: New file.
12718 * string/test-strrchr.c: Add wcsrchr support.
12719 (WIDE): New macro.
12720 * wcsmbs/test-wcscpy.c: New file.
12721 * string/test-strcpy.c: Add wcscpy support.
12722 (WIDE): New macro.
26428b7c 12723
f039c043
UD
127242011-12-10 Ulrich Drepper <drepper@gmail.com>
12725
12726 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12727 the inner loop.
12728
850fb039
AS
127292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12730
12731 [BZ #13472]
12732 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12733
4efbd5cb
UD
127342011-12-04 Ulrich Drepper <drepper@gmail.com>
12735
52ff5dd0 12736 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12737 Minor optimizations.
52ff5dd0 12738
4efbd5cb
UD
12739 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12740 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12741 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12742
8a426e12
UD
127432011-12-03 Ulrich Drepper <drepper@gmail.com>
12744
aff2453d
UD
12745 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12746 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12747 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12748 for gcc to avoid warnings.
12749 * inet/Makefile (tests): Add tst-checks.
12750 * inet/tst-checks.c: New file.
12751
12752 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12753 warning.
12754
12755 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12756 __wmemcmp_sse2.
12757
12758 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12759 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12760
8a426e12
UD
12761 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12762
9bea3473
UD
127632011-12-02 Ulrich Drepper <drepper@gmail.com>
12764
3a965496
UD
12765 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12766 problem.
12767
9bea3473
UD
12768 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12769
f101631b
UD
127702011-11-29 Joseph Myers <joseph@codesourcery.com>
12771
12772 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12773 conditional on GCC version.
12774 (__arch_compare_and_exchange_val_8_acq)
12775 (__arch_compare_and_exchange_val_16_acq)
12776 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12777 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12778 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12779
a98275aa
UD
127802011-12-02 Joseph Myers <joseph@codesourcery.com>
12781
12782 * sysdeps/sh/backtrace.c: New file.
12783
d4cc29a2
AS
127842011-12-02 Andreas Schwab <schwab@redhat.com>
12785
12786 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12787 parenthesis.
12788
6257af2d
AS
127892011-12-01 Andreas Schwab <schwab@redhat.com>
12790
12791 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12792 falling back to utime.
12793
b5f44c1a
AS
127942011-11-30 Andreas Schwab <schwab@redhat.com>
12795
12796 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12797 expectations for float.
12798
f3a6cc0a
AS
127992011-11-29 Andreas Schwab <schwab@redhat.com>
12800
12801 * locale/weight.h (findidx): Add parameter len.
12802 * locale/weightwc.h (findidx): Likewise.
12803 * posix/fnmatch_loop.c (FCT): Adjust caller.
12804 * posix/regcomp.c (build_equiv_class): Likewise.
12805 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12806 * posix/regexec.c (check_node_accept_bytes): Likewise.
12807 * string/strcoll_l.c (STRCOLL): Likewise.
12808 * string/strxfrm_l.c (STRXFRM): Likewise.
12809
9d65ea3a
UD
128102011-11-17 Ulrich Drepper <drepper@gmail.com>
12811
12812 * Makefile.in: Remove CVSOPT handling.
12813 * configure.in: Remove use of AC_REVISION.
12814 * iconvdata/Makefile (distribute): No need to filter out CVS.
12815 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12816 handling.
12817
5583a086
AS
128182011-11-16 Andreas Schwab <schwab@redhat.com>
12819
12820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12821 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12822 [USE_AS_STRNCASECMP_L]: Likewise.
12823 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12824 NO_TLS_DIRECT_SEG_REFS.
12825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12826 Fix argument offsets for non-PIC.
12827 [USE_AS_STRNCASECMP_L]: Likewise.
12828 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12829 NO_TLS_DIRECT_SEG_REFS.
12830
d62a8200
UD
128312011-11-15 Ulrich Drepper <drepper@gmail.com>
12832
9d65ea3a 12833 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12834 O_CLOEXEC.
12835 * locale/loadlocale.c (_nl_load_locale): Likewise.
12836
09f93bd3
AS
128372011-11-15 Andreas Schwab <schwab@redhat.com>
12838
446514f9
AS
12839 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12840 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12841 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12842 (SYSCALL_GETTIME): Set errno on error.
12843
09f93bd3
AS
12844 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12845 count references to noai6ai_cached.
12846
312be3f9
UD
128472011-11-15 Ulrich Drepper <drepper@gmail.com>
12848
12849 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12850
12851 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12852 FD_CLOEXEC for /proc/self/maps.
12853
12854 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12855 FD_CLOEXEC for /proc/meminfo.
12856
12857 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12858 gai.conf.
12859
12860 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12861 FD_CLOEXEC for given file.
12862
12863 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12864
12865 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12866 FD_CLOEXEC for /etc/hosts.
12867 (_gethtent): Likewise.
12868
12869 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12870
12871 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12872 cancellation and set FD_CLOEXEC for /etc/netgroup.
12873
12874 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12875 reading /etc/publickey.
12876
12877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12878 allow cancellation when reading /etc/group.
12879
12880 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12881 cancellation.
12882 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12883
12884 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12885 when using data file.
12886
12887 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12888
12889 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12890 (write_nis_obj): Use "c" and "e" in fopen.
12891
12892 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12893
12894 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12895
12896 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12897
12898 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12899
12900 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12901 locale.alias.
12902
12903 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12904
12905 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12906
12907 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12908
12909 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12910 file parsing and set FD_CLOEXEC.
12911
82af0fa8
UD
129122011-11-14 Ulrich Drepper <drepper@gmail.com>
12913
12914 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12915
a5fb313c
AS
129162011-11-14 Andreas Schwab <schwab@redhat.com>
12917
12918 * malloc/arena.c (arena_get2): Don't call reused_arena when
12919 _int_new_arena failed.
12920
6abf3465
UD
129212011-11-14 Ulrich Drepper <drepper@gmail.com>
12922
12923 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12924 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12925 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12926 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12927 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12928 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12929 to compile strcasecmp and strncasecmp.
12930 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12931 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12932
12933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12934
76e3966e
UD
129352011-11-13 Ulrich Drepper <drepper@gmail.com>
12936
12937 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12938 locale-defines.sym to gen-as-const-headers.
12939 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12940 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12942 to compile strcasecmp and strncasecmp.
12943 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12944 strcasecmp_l and strncasecmp_l.
12945 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12946 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12947 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12948 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12949 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12950 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12951 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12952 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12953 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12954 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12955 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12956
ab26144e
UD
129572011-11-12 Ulrich Drepper <drepper@gmail.com>
12958
7edb22ef
UD
12959 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12960 result of SYSDEP_GETTIME_CPU to retval.
12961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12962 parameter list to macro. Remove trailing semicolon. Adjust users.
12963
9694fc44
UD
12964 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12965 variable.
12966
8ad89ef8
UD
12967 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12968 mantissa words.
12969 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12970
0c822ef9
UD
12971 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12972 from unused variable.
12973
874e0564
UD
12974 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12975 DWARF definitions.
12976 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12977 for assembling.
12978
3a2edc79
UD
12979 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12980 over namespaces.
12981
f3c2577f
UD
12982 * sunrpc/rpc_prot.c (rejected): Fix case value.
12983
294ce126
UD
12984 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12985 unsigned long long int to avoid warnings in shift.
12986
5e2b63c6
UD
12987 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12988 of use of trans.
12989 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12990 variable tmp.
12991
e7f4b08e
UD
12992 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12993 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12994 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12995
ab26144e
UD
12996 * nis/nis_table.c (nis_list): Use variable of correct type for
12997 result of __follow_path call.
12998
8a6d5255
AZ
129992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13000
13001 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13002 of math functions ceil, trunc, floor, round, and sqrt, when
13003 avaliable on the platform.
13004 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13005 name clash.
13006 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13007 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13008 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13009
aaddc98c
MP
130102011-10-30 Marek Polacek <mpolacek@redhat.com>
13011
13012 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13013 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13014
95b7042b
RM
130152011-11-11 Roland McGrath <roland@hack.frob.com>
13016
13017 * include/unistd.h: Fix __readlink return type.
13018 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13019
57769839
UD
130202011-11-11 Ulrich Drepper <drepper@gmail.com>
13021
13022 * stdlib/ucontext.h: Undo last change for makecontext.
13023
edc5984d
AS
130242011-11-11 Andreas Schwab <schwab@redhat.com>
13025
98591e58
AS
13026 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13027
edc5984d
AS
13028 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13029 * setjmp/setjmp.h: Mark functions as non-leaf.
13030 * setjmp/bits/setjmp2.h: Likewise.
13031 * stdlib/ucontext.h: Likewise.
13032
77cdc054
AS
130332011-11-10 Andreas Schwab <schwab@redhat.com>
13034
13035 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13036 (reused_arena): Don't check arena limit.
13037 (arena_get2): Atomically check arena limit.
13038
fe72eebd
UD
130392011-11-08 Ulrich Drepper <drepper@gmail.com>
13040
5f078c32
UD
13041 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13042 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13043
fe72eebd
UD
13044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13045 instructions.
13046
ae1bc2fa
AS
130472011-11-07 Andreas Schwab <schwab@redhat.com>
13048
7583a88d
AS
13049 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13050 handler when locking.
13051
ae1bc2fa
AS
13052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13053 Fix size of allocated buffer.
13054
10fb0bfa
AS
130552011-11-04 Andreas Schwab <schwab@redhat.com>
13056
998832a4
AS
13057 [BZ #10103]
13058 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13059 declarations for long double functions.
13060 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13061
10fb0bfa
AS
13062 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13063
3d7ba52b
AS
130642011-11-03 Andreas Schwab <schwab@redhat.com>
13065
a9ae54a1
AS
13066 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13067 installed.
13068
3d7ba52b
AS
13069 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13070 is disabled.
13071
bc8db248
ST
130722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13073
13074 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13075
45b96dd6
AS
130762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13077
647776f6
AS
13078 * include/alloca.h (stackinfo_alloca_round): Define.
13079 (extend_alloca): Use it.
13080 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13081 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13082 here.
13083
d91a8b93
AS
13084 * scripts/check-local-headers.sh: Ignore libaudit.h.
13085
45b96dd6
AS
13086 * nscd/Makefile (extra-objs): Make recursively expanded.
13087
432d41ce
UD
130882011-11-01 Ulrich Drepper <drepper@gmail.com>
13089
34372fc6
UD
13090 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13092
fadb59f8
UD
13093 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13094 * posix/tst-rfc3484-2.c: Likewise.
13095 * posix/tst-rfc3484-3.c: Likewise.
13096
78239589
UD
13097 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13098 process_vm_writev.
13099 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13100 process_vm_writev.
13101 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13102 process_vm_writev from libc using GLIBC_2.15 version.
13103
432d41ce
UD
13104 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13105
02f9c6cf
PP
131062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13107
13108 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13109 stack usage.
13110
3a2c0242
UD
131112011-10-31 Ulrich Drepper <drepper@gmail.com>
13112
f4ec4833
UD
13113 [BZ #13367]
13114 * nss/getent.c (initgroups_keys): Show error message in case no group
13115 names are given.
13116
3a2c0242
UD
13117 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13118 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13119 __bump_nl_timestamp.
13120 * nscd/connections (nscd_init): When host database is served open
13121 netlink socket and request notification about configuration changes.
13122 (main_loop_poll): Track netlink file descriptor and bump timestamp
13123 in case data becomes available.
13124 (main_loop_epoll): Likewise.
13125 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13126 (database_pers_head): Add extra_data fileds.
13127 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13128 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13129 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13130 Adjust caller.
13131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13132 in6ai data, call __free_in6ai.
13133 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13134 Add -DHAVE_NETLINK.
13135 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13136 interface information. Reuse previous data if netlink timestamp
13137 is not changed.
13138 (__bump_nl_timestamp): New function.
13139 (__free_in6ai): New function.
13140
636064eb
UD
131412011-10-30 Ulrich Drepper <drepper@gmail.com>
13142
13143 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13144 close_not_cancel_no_status here.
13145 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13146
9beb2334
UD
131472011-10-29 Ulrich Drepper <drepper@gmail.com>
13148
6ef76f3b
UD
13149 [BZ #13276]
13150 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13151 return value.
13152
0ffc4f3e 13153 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13154 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13155 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13156
cb95113e
UD
131572011-07-03 Andreas Jaeger <aj@suse.de>
13158
13159 [BZ #10709]
13160 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13161 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13162 * math/libm-test.inc (sin_test): Add test case.
13163
a1b560ff
UD
131642011-10-29 Ulrich Drepper <drepper@gmail.com>
13165
c9aaface
UD
13166 [BZ #13337]
13167 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13168 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13169
d272e7f1
UD
13170 * elf/chroot_canon.c (chroot_canon): Cleanups.
13171
1bc33071
UD
13172 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13173
1760874d
TJ
13174 [BZ #13335]
13175 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13176 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13177
51d91b18
UD
13178 * string/test-strchr.c: Make usable for strchrnul testing.
13179 * string/test-strchrnul.c: New file.
13180 * string/Makefile (strop-tests): Add strchrnul.
13181
a1b560ff 13182 * po/it.po: Update from translation team.
b611fb81 13183 * po/es.po: Likewise.
a1b560ff 13184
a5b81e1f
UD
131852011-10-28 Ulrich Drepper <drepper@gmail.com>
13186
fd52bc6d
UD
13187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13188 the three constants needed as parameters. Drop the others.
13189 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13190 __m128i_strloadu_tolower.
52e4b9eb
UD
13191 Create and initialize variable zero and use it in all the places
13192 where _mm_setzero_si128 was used.
fd52bc6d 13193
a5b81e1f
UD
13194 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13195 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13196 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13197 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13198 anymore.
13199 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13200 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13201 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13202 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13203 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13204 __mpranred, __mptan.
13205 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13206 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13207 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13208 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13209 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13210 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13211 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13212 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13213 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13214
b4343346
AS
132152011-10-28 Andreas Schwab <schwab@redhat.com>
13216
0c92d8a8
AS
13217 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13218 redefine if SHARED.
13219 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13220
b4343346
AS
13221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13222 wide char related routines to wcsmbs subdir.
13223
3871f58f
AS
132242011-10-27 Andreas Schwab <schwab@redhat.com>
13225
13226 [BZ #13344]
13227 * misc/sys/cdefs.h (__THROWNL): Define.
13228 * posix/unistd.h: Use __THREADNL instead of __THREAD
13229 for memory synchronization functions.
13230
94d44d9f
RM
132312011-10-26 Roland McGrath <roland@hack.frob.com>
13232
21b64b15 13233 [BZ #13349]
94d44d9f
RM
13234 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13235 doesn't exist.
13236 * manual/stdio.texi (Obstack Streams): Node removed.
13237
f6ce9294
AS
132382011-10-26 Andreas Schwab <schwab@redhat.com>
13239
80479147
AS
13240 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13241 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13242 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13243
f6ce9294
AS
13244 * math/math_private.h (math_force_eval): Allow non-addressable
13245 arguments.
13246 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13247
618280a1
UD
132482011-10-25 Ulrich Drepper <drepper@gmail.com>
13249
e0016b11
UD
13250 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13251 file is not needed.
13252
13253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13254 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13255 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13256 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13259 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13260 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13261 Add AVX variants.
13262 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13263 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13264 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13265 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13266 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13267 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13268 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13269 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13270 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13271 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13272 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13273 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13274 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13275 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13276 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13277 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13278 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13279 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13280 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13281
13282 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13283 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13284
618280a1
UD
13285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13286 place. Use VEX encoding when compiling for AVX.
13287
37822576
AS
132882011-10-25 Andreas Schwab <schwab@redhat.com>
13289
1f1e1947
AS
13290 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13291 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13292
37822576
AS
13293 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13294
31ea014d
UD
132952011-10-25 Ulrich Drepper <drepper@gmail.com>
13296
d7826aa1 13297 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13298 useless if() expression.
d7826aa1
UD
13299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13308 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13309 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13310 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13311 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13312 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13313 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13315 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13317 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13318
31ea014d
UD
13319 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13320
16437fec
AS
133212011-10-25 Andreas Schwab <schwab@redhat.com>
13322
13323 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13324 condition.
13325 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13326
31d3cc00
UD
133272011-10-25 Ulrich Drepper <drepper@gmail.com>
13328
13329 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13330 .text section. Avoid duplicate constants.
13331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13343 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13346 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13348 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13354 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13355 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13356 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13357 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13358 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13359 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13360 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13361 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13362 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13363 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13364 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13365 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13366 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13367 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13368 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13369 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13370 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13371 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13372 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13373 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13374 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13375 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13376
58985aa9
UD
133772011-10-24 Ulrich Drepper <drepper@gmail.com>
13378
202c9deb
UD
13379 * sysdeps/x86_64/dla.h: Move to ...
13380 * sysdeps/x86_64/fpu/dla.h: ...here.
13381 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13382 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13383
af968f62
UD
13384 * config.make.in: Add have-mfma4 entry.
13385 * configure.in: Substitute libc_cv_cc_fma4.
13386 * math/Makefile (dbl-only-routines): Add sincostab.
13387 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13388 Use __sincostab not sincos.
13389 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13390 name is a macro.
13391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13395 using __copysign.
13396 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13397 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13398 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13399 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13400 and __inv.
13401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13402 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13403 __copysign.
13404 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13405 define aliases when function name is a macro.
13406 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13407 sysdeps/ieee754/dbl-64/sincos.tbl.
13408 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13409 fma4-enabled routines.
13410 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13411 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13412 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13413 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13414 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13415 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13416 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13417 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13418 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13419 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13420 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13421 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13422 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13423 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13425 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13426 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13427 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13428 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13429 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13430 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13431 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13433 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13435 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13437 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13438 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13439 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13440
58985aa9
UD
13441 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13442 rename.
13443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13451
a201fbcf
AS
134522011-10-24 Andreas Schwab <schwab@redhat.com>
13453
13454 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13455
fc2ee42a
LD
134562011-10-23 Ulrich Drepper <drepper@gmail.com>
13457
bb3129bd
UD
13458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13459
0275fff8
UD
13460 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13461 prediction.
13462 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13463
2fa2ae85
UD
13464 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13465 Remove unused variable magic_bits.
13466 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13467
fc2ee42a
LD
13468 * string/strnlen.c: Define and use STRNLEN macro.
13469 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13470 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13472 * wcsmbs/wcslen.c: Define and use WCSLEN.
13473 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13474 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13475 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13476 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13477 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13478 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13479 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13480
ce7dd29f
LD
134812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13482
13483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13484 strnlen-sse2-no-bsf.
13485 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13487 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13488 Add strnlen support.
13489 (USE_AS_STRNLEN): New macro.
13490 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13491 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13492 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13493 * sysdeps/x86_64/wcslen.S: New file.
13494
979c70a3
MZ
134952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13496
13497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13498 XMM-moves are used for copying on small sizes.
13499
2d09f82f
LD
135002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13501
13502 * wcsmbs/Makefile (strop-tests): Add wcschr.
13503 * wcsmbs/test-wcschr.c: New file.
13504 * string/test-strchr.c: Update.
13505 Add wcschr support.
13506 (WIDE): New macro.
13507
619fccca
LD
135082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13509
2d09f82f 13510 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13511 * wcsmbs/test-wcslen.c: New file.
13512 * string/test-strlen.c: Update.
13513 Add wcslen support.
13514 (WIDE): New macro.
13515
09f699ea
UD
135162011-10-23 Ulrich Drepper <drepper@gmail.com>
13517
13518 * po/it.po: Update from translation team.
13519
95584d3b
LD
135202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13521
13522 * sysdeps/x86_64/wcscmp.S: Update.
13523 Fix wrong comparison semantics.
13524 wcscmp shall use signed comparison not unsigned.
13525 Don't use substraction to avoid overflow bug.
13526 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13527 * wcsmbc/wcscmp.c: Likewise.
13528 * string/test-strcmp.c: Likewise.
13529 Add new tests to check cases with negative values.
13530
c8b3296b
UD
135312011-10-23 Ulrich Drepper <drepper@gmail.com>
13532
13533 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13534 * sysdeps/x86_64/dla.h: ...here. New file.
13535 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13536 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13544
246ad57a
AS
135452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13546
13547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13548 __ynl_finite aliases.
13549
a1a87169
UD
135502011-10-22 Ulrich Drepper <drepper@gmail.com>
13551
0d355eb7
UD
13552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13553
a1a87169
UD
13554 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13555 define DLA_FMA.
13556 [DLA_FMA] (EMULV): Use DLA_FMA.
13557 [DLA_FMA] (MUL12): Use EMULV.
13558 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13559 that are not needed.
13560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13567
ee2aafe0
AS
135682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13569
13570 * math/s_nan.c: Undef __nan.
13571 * math/s_nanf.c: Undef __nanf.
13572 * math/s_nanl.c: Undef __nanl.
13573 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13574 "math_private.h".
13575
bc62c2fb
UD
135762011-10-22 Ulrich Drepper <drepper@gmail.com>
13577
77425c63
UD
13578 * math/s_catan.c: Add branch predictions.
13579 * math/s_catanf.c: Likewise.
13580 * math/s_catanh.c: Likewise.
13581 * math/s_catanhf.c: Likewise.
13582 * math/s_catanhl.c: Likewise.
13583 * math/s_catanl.c: Likewise.
13584 * math/s_cexp.c: Likewise.
13585 * math/s_cexpf.c: Likewise.
13586 * math/s_cexpl.c: Likewise.
13587 * math/s_clog.c: Likewise.
13588 * math/s_clog10.c: Likewise.
13589 * math/s_clog10f.c: Likewise.
13590 * math/s_clog10l.c: Likewise.
13591 * math/s_clogf.c: Likewise.
13592 * math/s_clogl.c: Likewise.
13593 * math/s_csqrt.c: Likewise.
13594 * math/s_csqrtf.c: Likewise.
13595 * math/s_csqrtl.c: Likewise.
13596 * math/s_ctanf.c: Likewise.
13597 * math/s_ctanh.c: Likewise.
13598 * math/s_ctanhf.c: Likewise.
13599 * math/s_ctanhl.c: Likewise.
13600 * math/s_ctanl.c: Likewise.
13601
bc62c2fb
UD
13602 * math/math_private.h: Define __nan, __nanf, __nanl.
13603 * math/s_cacosh.c: Include <math_private.h>.
13604 * math/s_cacoshl.c: Likewise.
13605 * math/s_casinh.c: Likewise.
13606 * math/s_casinhf.c: Likewise.
13607 * math/s_casinhl.c: Likewise.
13608 * math/s_ccos.c: Rely entire on ccosh.
13609 * math/s_ccosf.c: Rely entire on ccoshf.
13610 * math/s_ccosl.c: Rely entirely on ccoshl.
13611 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13612 Remove tests for FE_INVALID.
13613 * math/s_ccoshf.c: Likewise.
13614 * math/s_ccoshl.c: Likewise.
13615 * math/s_csin.c: Likewise.
13616 * math/s_csinf.c: Likewise.
13617 * math/s_csinh.c Likewise.
13618 * math/s_csinhf.c: Likewise.
13619 * math/s_csinhl.c: Likewise.
13620 * math/s_csinl.c: Likewise.
13621 * math/s_ctan.c: Likewise.
13622 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13623 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13624 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13625
8ec250a4
UD
136262011-10-21 Ulrich Drepper <drepper@gmail.com>
13627
c196fed8
UD
13628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13629 compilation problems.
13630
8ec250a4
UD
13631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13632 __builtin_expect.
13633
8d4f46c6
UD
136342011-10-20 Ulrich Drepper <drepper@gmail.com>
13635
ed72b654
UD
13636 * sysdeps/i386/configure.in: Test for -mfma4 option.
13637 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13638 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13639 COMMON_CPUID_INDEX_80000001.
13640 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13641 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13642 use it if FMA3 is not supported.
13643 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13644
8d4f46c6
UD
13645 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13646 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13647
d45c60c2
AS
136482011-10-20 Andreas Schwab <schwab@redhat.com>
13649
13650 [BZ #12892]
13651 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13652 it would create a cycle with a link time dependency.
13653
d9a4d2ab
UD
136542011-10-19 Ulrich Drepper <drepper@gmail.com>
13655
855d1560
UD
13656 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13657 instruction.
13658 * string/Makefile (strop-tests): Add rawmemchr.
13659 * string/test-rawmemchr.c: New file.
13660
d9a4d2ab
UD
13661 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13663 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13664 when compiling str{,n}casecmp and when AVX is available. Hook up
13665 new optimized code in initializers.
13666
8f3b1ffe
AS
136672011-10-19 Andreas Schwab <schwab@redhat.com>
13668
13669 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13670 __feraiseexcept instead of feraiseexcept.
13671
d38f1dba
UD
136722011-10-18 Ulrich Drepper <drepper@gmail.com>
13673
d9a8d0ab
UD
13674 * math/math_private.h: Define defaults for libc_fetestexcept and
13675 libc_feupdateenv.
13676 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13677 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13678 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13679 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13680 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13681 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13682 libc_fetestexcept and libc_feupdateenv.
13683
4855e3dd
UD
13684 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13685 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13686 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13687 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13688 libc_feholdexcept_setround.
13689
581d30e3
UD
13690 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13691 Add s_nearbyint-c and s_nearbyintf-c.
13692 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13693 nearbyintf inlines.
13694 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13695 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13696 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13697 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13698
d38f1dba
UD
13699 * math/math_private.h: Define defaults for libc_fegetround,
13700 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13701 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13702 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13703 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13704 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13705 standard functions.
13706 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13707 Remove comments and hacks for old compiler versions.
13708 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13709 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13710 libc_feholdexceptl.
13711
caa6c9d8
AS
137122011-10-18 Andreas Schwab <schwab@redhat.com>
13713
13714 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13715 (__feraiseexcept_renamed): Add __NTH.
13716 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13717 namespace violations.
13718
97c066e6
UD
137192011-10-17 Ulrich Drepper <drepper@gmail.com>
13720
99ce7b04
UD
13721 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13722
1004d182
UD
13723 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13724
228a984d
UD
13725 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13726 recently added interfaces.
13727 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13728
c8553a6a
UD
13729 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13730 about macro parameter expansion.
13731
ed22dcf6
UD
13732 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13733 __NO_MATH_INLINES is defined. Cleanups.
13734
13735 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13736 and __floorf is target has SSE4.1.
13737 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13738 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13739 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13740 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13741
b171c137
UD
13742 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13743 name.
13744 (floorf): Likewise.
13745
97c066e6
UD
13746 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13747
629f62ef
AS
137482011-10-17 Andreas Schwab <schwab@redhat.com>
13749
49a43d80
AS
13750 * misc/sys/cdefs.h: Fix last change.
13751
629f62ef
AS
13752 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13753 database lookup.
13754
e453f6cd
UD
137552011-10-16 Ulrich Drepper <drepper@gmail.com>
13756
aa78043a
UD
13757 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13758
ad0f5cad
UD
13759 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13760 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13766 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13767 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13768 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13769 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13770 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13771 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13772 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13773 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13774 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13775 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13776 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13777 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13778 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13779 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13780 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13781
13782 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13783 ceil, ceilf, floor, floorf.
13784
13785 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13786 Perform IRELATIVE relocations last.
13787
e453f6cd
UD
13788 * elf/do-rel.h: Add another parameter nrelative, replacing the
13789 local variable with the same name. Change name of the function
13790 to end in Rel or Rela (uppercase).
13791 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13792 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13793 elf_dynamic_do_##reloc function.
13794
fd5bdc09
UD
137952011-10-15 Ulrich Drepper <drepper@gmail.com>
13796
79b195b5
UD
13797 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13798 is sufficient, at least on modern CPUs.
13799
d4a28569
UD
13800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13801
b61099b5
UD
13802 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13804
bcf01e6d
UD
13805 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13806 __expl_finite.
13807 * math/bits/math-finite.h: Add entries for exp.
13808 * math/e_expl.c: Add __*_finite alias.
13809 * sysdeps/i386/fpu/e_exp.S: Likewise.
13810 * sysdeps/i386/fpu/e_expf.S: Likewise.
13811 * sysdeps/i386/fpu/e_expl.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13813 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13814 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13815 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13817 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13818 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13819
ba1a0d59
UD
13820 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13821 is sufficient, at least on modern CPUs.
13822
fd5bdc09
UD
13823 * ctype/ctype-info.c (__ctype_init): Define.
13824 * include/ctype.h (__ctype_init): Declare.
13825 (__ctype_b_loc): The variable is always initialized.
13826 (__ctype_toupper_loc): Likewise.
13827 (__ctype_tolower_loc): Likewise.
13828 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13829 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13830
7872cfb0
AS
138312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13832
b468825a
AS
13833 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13834
7872cfb0
AS
13835 * configure.in: Also look in $cxxmachine/include for C++ system
13836 headers.
13837
be13f7bf
LD
138382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13839
13840 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13841 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13842 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13843 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13844 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13845 (USE_AS_WMEMCMP): New macro.
13846 Fixing indents.
13847 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13848 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13849 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13850 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13852 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13853 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13854 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13855 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13856 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13858 (USE_AS_WMEMCMP): New macro.
13859 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13860 * sysdeps/string/test-memcmp.c: Update.
13861 Fix simple_wmemcmp.
13862 Add new tests.
13863 * wcsmbs/wmemcmp.c: Update.
13864 (WMEMCMP): New macro.
13865 Fix overflow bug.
13866
556a2007
AJ
138672011-10-12 Andreas Jaeger <aj@suse.de>
13868
13869 [BZ #13268]
13870 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13871
538faaa7
UD
138722011-10-15 Ulrich Drepper <drepper@gmail.com>
13873
ab6737ff
UD
13874 * libio/iofwide.c (do_length): Avoid warning.
13875
538faaa7
UD
13876 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13877
396a21b1
UD
138782011-10-14 Ulrich Drepper <drepper@gmail.com>
13879
cdf2901f
UD
13880 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13881
38ad40ce
UD
13882 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13883 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13884 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13885 * sysdeps/i386/i686/fpu/e_log.S: New file.
13886 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13887 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13888
396a21b1
UD
13889 * ctype/ctype.h: Add support for inlined isXXX functions when
13890 compiling C++ code.
13891
6b1f68c9
AS
138922011-10-14 Andreas Schwab <schwab@redhat.com>
13893
349290c0
AS
13894 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13895
6b1f68c9
AS
13896 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13897
f2282d42
RM
138982011-10-13 Roland McGrath <roland@hack.frob.com>
13899
13900 [BZ #13291]
13901 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13902
5298ffa8
AS
139032011-10-13 Andreas Schwab <schwab@redhat.com>
13904
714fad23
AS
13905 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13906 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13907 feraiseexcept.
13908
81dcc7fb
AS
13909 * sysdeps/x86_64/memrchr.S: Check for zero size.
13910
5298ffa8
AS
13911 * string/stratcliff.c: Add memrchr tests.
13912
951fbcec
LD
139132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13914
13915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13916 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13917 rawmemchr-sse2 rawmemchr-sse2-bsf.
13918 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13919 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13920 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13921 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13922 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13923 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13924 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13925 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13926 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13927 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13928 * string/memrchr.c (MEMRCHR): New macro.
13929
0ac5ae23
UD
139302011-10-12 Ulrich Drepper <drepper@gmail.com>
13931
13932 Add integration with gcc's -ffinite-math-only and optimize wrapper
13933 functions in libm.
13934 * Versions.def: Define GLIBC_2.15 version for libm.
13935 * math/Makefile (headers): Add bits/math-finite.h.
13936 * math/bits/math-finite.h: New file.
13937 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13938 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13939 * math/e_acoshl.c: Add __*_finite alias.
13940 * math/e_acosl.c: Likewise.
13941 * math/e_asinl.c: Likewise.
13942 * math/e_atan2l.c: Likewise.
13943 * math/e_atanhl.c: Likewise.
13944 * math/e_coshl.c: Likewise.
13945 * math/e_exp10.c: Likewise.
13946 * math/e_exp10f.c: Likewise.
13947 * math/e_exp10l.c: Likewise.
13948 * math/e_exp2l.c: Likewise.
13949 * math/e_fmodl.c: Likewise.
13950 * math/e_gammal_r.c: Likewise.
13951 * math/e_hypotl.c: Likewise.
13952 * math/e_j0l.c: Likewise.
13953 * math/e_j1l.c: Likewise.
13954 * math/e_jnl.c: Likewise.
13955 * math/e_lgammal_r.c: Likewise.
13956 * math/e_log10l.c: Likewise.
13957 * math/e_log2l.c: Likewise.
13958 * math/e_logl.c: Likewise.
13959 * math/e_powl.c: Likewise.
13960 * math/e_sinhl.c: Likewise.
13961 * math/e_sqrtl.c: Likewise.
13962 * math/e_scalb.c: Completely rewritten and optimized.
13963 * math/e_scalbf.c: Likewise.
13964 * math/e_scalbl.c: Likewise.
13965 * math/w_acos.c: Likewise.
13966 * math/w_acosf.c: Likewise.
13967 * math/w_acosl.c: Likewise.
13968 * math/w_acosh.c: Likewise.
13969 * math/w_acoshf.c: Likewise.
13970 * math/w_acoshl.c: Likewise.
13971 * math/w_asin.c: Likewise.
13972 * math/w_asinf.c: Likewise.
13973 * math/w_asinl.c: Likewise.
13974 * math/w_atan2.c: Likewise.
13975 * math/w_atan2f.c: Likewise.
13976 * math/w_atan2l.c: Likewise.
13977 * math/w_atanh.c: Likewise.
13978 * math/w_atanhf.c: Likewise.
13979 * math/w_atanhl.c: Likewise.
13980 * math/w_exp10.c: Likewise.
13981 * math/w_exp10f.c: Likewise.
13982 * math/w_exp10l.c: Likewise.
13983 * math/w_fmod.c: Likewise.
13984 * math/w_fmodf.c: Likewise.
13985 * math/w_fmodl.c: Likewise.
13986 * math/w_j0.c: Likewise.
13987 * math/w_j0f.c: Likewise.
13988 * math/w_j0l.c: Likewise.
13989 * math/w_j1.c: Likewise.
13990 * math/w_j1f.c: Likewise.
13991 * math/w_j1l.c: Likewise.
13992 * math/w_jn.c: Likewise.
13993 * math/w_jnf.c: Likewise.
13994 * math/w_log.c: Likewise.
13995 * math/w_logf.c: Likewise.
13996 * math/w_logl.c: Likewise.
13997 * math/w_log10.c: Likewise.
13998 * math/w_log10f.c: Likewise.
13999 * math/w_log10l.c: Likewise.
14000 * math/w_log2.c: Likewise.
14001 * math/w_log2f.c: Likewise.
14002 * math/w_log2l.c: Likewise.
14003 * math/w_pow.c: Likewise.
14004 * math/w_powf.c: Likewise.
14005 * math/w_powl.c: Likewise.
14006 * math/w_remainder.c: Likewise.
14007 * math/w_remainderf.c: Likewise.
14008 * math/w_remainderl.c: Likewise.
14009 * math/w_scalb.c: Likewise.
14010 * math/w_scalbf.c: Likewise.
14011 * math/w_scalbl.c: Likewise.
14012 * math/w_sqrt.c: Likewise.
14013 * math/w_sqrtf.c: Likewise.
14014 * math/w_sqrtl.c: Likewise.
14015 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14016 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14017 used.
14018 * math/math_private.h: Declare __kernel_standard_f.
14019 * math/w_cosh.c: Remove cruft and optimize a bit.
14020 * math/w_coshf.c: Likewise.
14021 * math/w_coshl.c: Likewise.
14022 * math/w_exp2.c: Likewise.
14023 * math/w_exp2f.c: Likewise.
14024 * math/w_exp2l.c: Likewise.
14025 * math/w_hypot.c: Likewise.
14026 * math/w_hypotf.c: Likewise.
14027 * math/w_hypotl.c: Likewise.
14028 * math/w_lgamma.c: Likewise.
14029 * math/w_lgamma_r.c: Likewise.
14030 * math/w_lgammaf.c: Likewise.
14031 * math/w_lgammaf_r.c: Likewise.
14032 * math/w_lgammal.c: Likewise.
14033 * math/w_lgammal_r.c: Likewise.
14034 * math/w_sinh.c: Likewise.
14035 * math/w_sinhf.c: Likewise.
14036 * math/w_sinhl.c: Likewise.
14037 * math/w_tgamma.c: Likewise.
14038 * math/w_tgammaf.c: Likewise.
14039 * math/w_tgammal.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14042 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14043 Minor optimizations. Pretty printing. Remove cruft.
14044 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14046 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14047 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14048 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14049 * sysdeps/i386/fpu/e_asin.S: Likewise.
14050 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14051 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14052 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14053 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14054 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14055 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14056 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14057 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14058 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14059 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14060 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14061 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14062 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14063 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14064 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14065 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14066 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14067 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14068 * sysdeps/i386/fpu/e_log.S: Likewise.
14069 * sysdeps/i386/fpu/e_log10.S: Likewise.
14070 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14071 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14072 * sysdeps/i386/fpu/e_log2.S: Likewise.
14073 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14074 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14075 * sysdeps/i386/fpu/e_logf.S: Likewise.
14076 * sysdeps/i386/fpu/e_logl.S: Likewise.
14077 * sysdeps/i386/fpu/e_pow.S: Likewise.
14078 * sysdeps/i386/fpu/e_powf.S: Likewise.
14079 * sysdeps/i386/fpu/e_powl.S: Likewise.
14080 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14081 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14082 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14083 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14084 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14085 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14086 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14087 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14088 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14089 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14090 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14110 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14111 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14112 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14113 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14114 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14115 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14116 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14117 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14118 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14119 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14120 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14121 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14123 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14124 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14125 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14126 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14127 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14128 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14129 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14130 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14131 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14133 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14134 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14135 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14136 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14139 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14140 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14141 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14142 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14143 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14144 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14145 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14146 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14160 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14163 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14172 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14180 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14181 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14182 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14183 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14184 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14185 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14186 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14187 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14188 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14189 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14190 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14191 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14192 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14193 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14194 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14195 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14196 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14197 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14198 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14199 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14200 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14201 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14202 (__isnanf): Likewise.
14203 (__isinf_ns): Likewise.
14204 (__isinf_nsf): Likewise.
14205 (__finite): Likewise.
14206 (__finitef): Likewise.
14207 (__ieee754_sqrt): Define as macro.
14208 (__ieee754_sqrtf): Define as macro.
14209 (__ieee754_sqrtl): Define as macro.
14210 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14211 inlined copy.
14212 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14213 __FINITE_MATH_ONLY__ consistent.
14214 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14215
12cc2fcd
AS
142162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14217
a843a204
AS
14218 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14219 of rawmemchr.
14220
12cc2fcd
AS
14221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14222
c853acd5
UD
142232011-10-09 Ulrich Drepper <drepper@gmail.com>
14224
14225 * po/ja.po: Update from translation team.
14226
c658d255
RM
142272011-10-08 Roland McGrath <roland@hack.frob.com>
14228
110946e4
RM
14229 * locale/programs/locarchive.c (prepare_address_space): New function.
14230 (create_archive, enlarge_archive, open_archive): Use it.
14231
50604220
RM
14232 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14233 inside [SHARED], where it is used.
14234
c658d255
RM
14235 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14236
14237 * nss/getent.c (netgroup_keys): Remove unused variable.
14238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14239
6a621eb7
UD
142402011-10-08 Ulrich Drepper <drepper@gmail.com>
14241
7edb55ce
UD
14242 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14243 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14245 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14246 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14247 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14248 * math/Makefile (libm-calls): Add s_isinf_ns.
14249 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14250 * math/multc3.c: Likewise.
14251 * math/s_casin.c: Likewise.
14252 * math/s_casinf.c: Likewise.
14253 * math/s_casinl.c: Likewise.
14254 * math/s_ccos.c: Likewise.
14255 * math/s_ccosf.c: Likewise.
14256 * math/s_ccosl.c: Likewise.
14257 * math/s_ctan.c: Likewise.
14258 * math/s_ctanf.c: Likewise.
14259 * math/s_ctanh.c: Likewise.
14260 * math/s_ctanhf.c: Likewise.
14261 * math/s_ctanhl.c: Likewise.
14262 * math/s_ctanl.c: Likewise.
14263 * math/w_fmod.c: Likewise.
14264 * math/w_fmodf.c: Likewise.
14265 * math/w_fmodl.c: Likewise.
14266 * math/w_remainder.c: Likewise.
14267 * math/w_remainderf.c: Likewise.
14268 * math/w_remainderl.c: Likewise.
14269 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14270 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14273 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14274 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14275 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14276 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14277
187da0ae
UD
14278 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14279 of the number.
14280 * stdio-common/printf_fphex.c: Likewise.
14281 * stdio-common/printf_size.c: Likewise.
14282
9277c064
UD
14283 * math/e_exp10.c: Include math_private.h using <...> not "...".
14284 * math/e_exp10f.c: Likewise.
14285 * math/e_exp10l.c: Likewise.
14286 * math/e_exp2l.c: Likewise.
14287 * math/e_j0l.c: Likewise.
14288 * math/e_j1l.c: Likewise.
14289 * math/e_jnl.c: Likewise.
14290 * math/e_lgammal_r.c: Likewise.
14291 * math/e_rem_pio2l.c: Likewise.
14292 * math/e_scalb.c: Likewise.
14293 * math/e_scalbf.c: Likewise.
14294 * math/e_scalbl.c: Likewise.
14295 * math/k_cosl.c: Likewise.
14296 * math/k_sinl.c: Likewise.
14297 * math/k_tanl.c: Likewise.
14298 * math/s_cacoshf.c: Likewise.
14299 * math/s_catan.c: Likewise.
14300 * math/s_catanf.c: Likewise.
14301 * math/s_catanh.c: Likewise.
14302 * math/s_catanhf.c: Likewise.
14303 * math/s_catanhl.c: Likewise.
14304 * math/s_catanl.c: Likewise.
14305 * math/s_ccosh.c: Likewise.
14306 * math/s_ccoshf.c: Likewise.
14307 * math/s_ccoshl.c: Likewise.
14308 * math/s_cexp.c: Likewise.
14309 * math/s_cexpf.c: Likewise.
14310 * math/s_cexpl.c: Likewise.
14311 * math/s_clog.c: Likewise.
14312 * math/s_clog10.c: Likewise.
14313 * math/s_clog10f.c: Likewise.
14314 * math/s_clog10l.c: Likewise.
14315 * math/s_clogf.c: Likewise.
14316 * math/s_clogl.c: Likewise.
14317 * math/s_csin.c: Likewise.
14318 * math/s_csinf.c: Likewise.
14319 * math/s_csinh.c: Likewise.
14320 * math/s_csinhf.c: Likewise.
14321 * math/s_csinhl.c: Likewise.
14322 * math/s_csinl.c: Likewise.
14323 * math/s_csqrt.c: Likewise.
14324 * math/s_csqrtf.c: Likewise.
14325 * math/s_csqrtl.c: Likewise.
14326 * math/s_ctan.c: Likewise.
14327 * math/s_ctanf.c: Likewise.
14328 * math/s_ctanh.c: Likewise.
14329 * math/s_ctanhf.c: Likewise.
14330 * math/s_ctanhl.c: Likewise.
14331 * math/s_ctanl.c: Likewise.
14332 * math/s_ldexp.c: Likewise.
14333 * math/s_ldexpf.c: Likewise.
14334 * math/s_ldexpl.c: Likewise.
14335 * math/s_significand.c: Likewise.
14336 * math/s_significandf.c: Likewise.
14337 * math/s_significandl.c: Likewise.
14338 * math/w_acos.c: Likewise.
14339 * math/w_acosf.c: Likewise.
14340 * math/w_acosh.c: Likewise.
14341 * math/w_acoshf.c: Likewise.
14342 * math/w_acoshl.c: Likewise.
14343 * math/w_acosl.c: Likewise.
14344 * math/w_asin.c: Likewise.
14345 * math/w_asinf.c: Likewise.
14346 * math/w_asinl.c: Likewise.
14347 * math/w_atan2.c: Likewise.
14348 * math/w_atan2f.c: Likewise.
14349 * math/w_atan2l.c: Likewise.
14350 * math/w_atanh.c: Likewise.
14351 * math/w_atanhf.c: Likewise.
14352 * math/w_atanhl.c: Likewise.
14353 * math/w_cosh.c: Likewise.
14354 * math/w_coshf.c: Likewise.
14355 * math/w_coshl.c: Likewise.
14356 * math/w_dremf.c: Likewise.
14357 * math/w_exp10.c: Likewise.
14358 * math/w_exp10f.c: Likewise.
14359 * math/w_exp10l.c: Likewise.
14360 * math/w_exp2.c: Likewise.
14361 * math/w_exp2f.c: Likewise.
14362 * math/w_fmod.c: Likewise.
14363 * math/w_fmodf.c: Likewise.
14364 * math/w_fmodl.c: Likewise.
14365 * math/w_hypot.c: Likewise.
14366 * math/w_hypotf.c: Likewise.
14367 * math/w_hypotl.c: Likewise.
14368 * math/w_j0.c: Likewise.
14369 * math/w_j0f.c: Likewise.
14370 * math/w_j0l.c: Likewise.
14371 * math/w_j1.c: Likewise.
14372 * math/w_j1f.c: Likewise.
14373 * math/w_j1l.c: Likewise.
14374 * math/w_jn.c: Likewise.
14375 * math/w_jnf.c: Likewise.
14376 * math/w_jnl.c: Likewise.
14377 * math/w_lgamma.c: Likewise.
14378 * math/w_lgamma_r.c: Likewise.
14379 * math/w_lgammaf.c: Likewise.
14380 * math/w_lgammaf_r.c: Likewise.
14381 * math/w_lgammal.c: Likewise.
14382 * math/w_lgammal_r.c: Likewise.
14383 * math/w_log.c: Likewise.
14384 * math/w_log10.c: Likewise.
14385 * math/w_log10f.c: Likewise.
14386 * math/w_log10l.c: Likewise.
14387 * math/w_log2.c: Likewise.
14388 * math/w_log2f.c: Likewise.
14389 * math/w_log2l.c: Likewise.
14390 * math/w_logf.c: Likewise.
14391 * math/w_logl.c: Likewise.
14392 * math/w_pow.c: Likewise.
14393 * math/w_powf.c: Likewise.
14394 * math/w_powl.c: Likewise.
14395 * math/w_remainder.c: Likewise.
14396 * math/w_remainderf.c: Likewise.
14397 * math/w_remainderl.c: Likewise.
14398 * math/w_scalb.c: Likewise.
14399 * math/w_scalbf.c: Likewise.
14400 * math/w_scalbl.c: Likewise.
14401 * math/w_sinh.c: Likewise.
14402 * math/w_sinhf.c: Likewise.
14403 * math/w_sinhl.c: Likewise.
14404 * math/w_sqrt.c: Likewise.
14405 * math/w_sqrtf.c: Likewise.
14406 * math/w_sqrtl.c: Likewise.
14407 * math/w_tgamma.c: Likewise.
14408 * math/w_tgammaf.c: Likewise.
14409 * math/w_tgammal.c: Likewise.
14410
6a621eb7
UD
14411 * po/ja.po: Update from translation team.
14412
bf582445
AJ
144132011-09-29 Andreas Jaeger <aj@suse.de>
14414
f9efbf3a
AJ
14415 [BZ #13179]
14416 * sunrpc/netname.c (netname2host): Fix logic.
14417
bf582445
AJ
14418 [BZ #6779]
14419 [BZ #6783]
14420 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14421 correctly.
14422 * math/w_remainder.c (__remainder): Likewise.
14423 * math/w_remainderf.c (__remainderf): Likewise.
14424 * math/libm-test.inc (remainder_test): Add test cases.
14425
48693bea
AK
144262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14427
14428 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14429 sdiv_qrnnd.
14430
42622229
LD
144312011-10-07 Ulrich Drepper <drepper@gmail.com>
14432
14433 * string/test-memcmp.c: Avoid unncessary #defines.
14434 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14435
093ecf92
LD
144362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14437
14438 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14439 Use new sse2 version for core i3 - i7 as it's faster
14440 than sse42 version.
14441 (bit_Prefer_PMINUB_for_stringop): New.
14442 * sysdeps/x86_64/rawmemchr.S: Update.
14443 Replace with faster SSE2 version.
14444 * sysdeps/x86_64/memrchr.S: New file.
14445 * sysdeps/x86_64/memchr.S: Update.
14446 Replace with faster SSE2 version.
14447
fde56e5c
MP
144482011-09-12 Marek Polacek <mpolacek@redhat.com>
14449
14450 * elf/dl-load.c (lose): Add cast to avoid warning.
14451
21fd49a9
UD
144522011-10-07 Ulrich Drepper <drepper@gmail.com>
14453
5a06e643
UD
14454 * po/ca.po: Update from translation team.
14455
684ae515
UD
14456 * inet/getnetgrent_r.c: Hook up nscd.
14457 * nscd/Makefile (routines): Add nscd_netgroup.
14458 (nscd-modules): Add netgroupcache.
14459 (CFLAGS-netgroupcache.c): Define.
14460 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14461 (cache_search): Add const to second parameter.
14462 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14463 INNETGR.
14464 (dbs): Add netgrdb entry.
14465 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14466 (verify_persistent_db): Handle netgrdb.
14467 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14468 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14469 GETFDNETGR.
14470 (netgroup_response_header): Define.
14471 (innetgroup_response_header): Define.
14472 (datahead): Add netgroup_response_header and innetgroup_response_header
14473 elements.
14474 * nscd/nscd.conf: Add entries for netgroup cache.
14475 * nscd/nscd.h (dbtype): Add netgrdb.
14476 (_PATH_NSCD_NETGROUP_DB): Define.
14477 (netgroup_iov_disabled): Declare.
14478 (xmalloc, xcalloc, xrealloc): Move declarations here.
14479 (cache_search): Adjust prototype.
14480 Add netgroup-related prototypes.
14481 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14482 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14483 (__nscd_innetgr): Declare.
14484 * nscd/selinux.c (perms): Use access_vector_t as element type and
14485 add netgroup-related initializers.
14486 * nscd/netgroupcache.c: New file.
14487 * nscd/nscd_netgroup.c: New file.
14488 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14489 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14490 For four parameters use innetgr.
14491 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14492 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14493 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14494 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14495
21fd49a9
UD
14496 * nscd/connections.c (register_traced_file): Don't register file
14497 for disabled databases.
14498
054c0457
UD
144992011-10-06 Ulrich Drepper <drepper@gmail.com>
14500
32b63198
UD
14501 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14502
054c0457
UD
14503 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14504 from tree and freeing node.
14505
64031225
JO
145062011-09-25 Jiri Olsa <jolsa@redhat.com>
14507
14508 * nss/nsswitch.c (__nss_database_lookup): Handle
14509 nss_parse_service_list out of memory case.
14510
0490345c
JO
145112011-09-15 Jiri Olsa <jolsa@redhat.com>
14512
14513 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14514 out of memory case.
14515
3a62d00d
AS
145162011-10-04 Andreas Schwab <schwab@redhat.com>
14517
14518 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14519 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14520 pass it down.
14521 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14522 elf_machine_rela, elf_machine_lazy_rel.
14523 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14524 (ELF_DYNAMIC_DO_REL): Likewise.
14525 (ELF_DYNAMIC_DO_RELA): Likewise.
14526 (ELF_DYNAMIC_RELOCATE): Likewise.
14527 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14528 to ELF_DYNAMIC_DO_REL.
14529 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14530 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14531 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14532 elf_machine_rela.
14533 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14534 skip_ifunc, don't call ifunc function if non-zero.
14535 (elf_machine_rela): Likewise.
14536 (elf_machine_lazy_rel): Likewise.
14537 (elf_machine_lazy_rela): Likewise.
14538 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14539 (elf_machine_lazy_rel): Likewise.
14540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14541 Likewise.
14542 (elf_machine_lazy_rel): Likewise.
14543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14544 Likewise.
14545 (elf_machine_lazy_rel): Likewise.
14546 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14547 (elf_machine_lazy_rel): Likewise.
14548 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14549 (elf_machine_lazy_rel): Likewise.
14550 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14551 (elf_machine_lazy_rel): Likewise.
14552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14553 (elf_machine_lazy_rel): Likewise.
14554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14555 (elf_machine_lazy_rel): Likewise.
14556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14557 (elf_machine_lazy_rel): Likewise.
14558
68577918
UD
145592011-09-28 Ulrich Drepper <drepper@gmail.com>
14560
14561 * nss/nss_files/files-init.c (_nss_files_init): Use static
14562 initialization for all the *_traced_file variables.
14563
68822d74
AS
145642011-09-28 Andreas Schwab <schwab@redhat.com>
14565
14566 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14567
2056100b
RM
145682011-09-27 Roland McGrath <roland@hack.frob.com>
14569
14570 [BZ #13226]
14571 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14572
32c76b63
AS
145732011-09-27 Andreas Schwab <schwab@redhat.com>
14574
14575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14576 Reread the line before reparsing it.
14577
bf972c9d
AS
145782011-09-26 Andreas Schwab <schwab@redhat.com>
14579
14580 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14581
e057a1b5
JM
145822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14583 Maxim Kuvyrkov <maxim@codesourcery.com>
14584 Joseph Myers <joseph@codesourcery.com>
14585
14586 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14587 if needed for __stack_chk_guard.
14588
bc7e1c36
RM
145892011-09-19 Roland McGrath <roland@hack.frob.com>
14590
ecb1482f
RM
14591 * sysdeps/posix/spawni.c (script_execute): Always define it.
14592 It will be optimized away if unused.
14593 (maybe_script_execute): New function.
14594 (__spawni): Call it.
14595
bc7e1c36
RM
14596 * Makerules: Don't include tls.make.
14597 (config-tls): Always set to thread.
14598 * tls.make.c: File removed.
14599
1c3b002b
MF
146002011-09-19 Mike Frysinger <vapier@gentoo.org>
14601
14602 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14603 * config.make.in (CPPFLAGS-config): New substituted variable.
14604
2840865d
UD
146052011-09-15 Ulrich Drepper <drepper@gmail.com>
14606
88738eb6
UD
14607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14608
cbf645a6 14609 [BZ #13192]
2840865d
UD
14610 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14611 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14612
b402e91a
RM
146132011-09-15 Roland McGrath <roland@hack.frob.com>
14614
14615 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14616 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14618 (CALL_FAIL): Likewise.
14619 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14620 (CALL_FAIL): Macro removed.
14621 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14622
4c1a1f71
UD
146232011-09-15 Ulrich Drepper <drepper@gmail.com>
14624
14625 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14626 for __FINITE_MATH_ONLY__ == 1.
14627
edc121be
AS
146282011-09-15 Andreas Schwab <schwab@redhat.com>
14629
14630 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14631 __ieee754_sqrt instead of sqrt.
14632 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14633 __ieee754_sqrtf instead of sqrtf.
14634 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14635 __floorf instead of floorf.
14636 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14637 __floorf, __truncf instead of floorf, truncf.
14638
cd205654
UD
146392011-09-14 Ulrich Drepper <drepper@gmail.com>
14640
ee4d0315
UD
14641 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14642
cd205654
UD
14643 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14644 __extern_always_inline.
14645 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14646 32-bit.
14647
48b67d71
AS
146482011-09-14 Andreas Schwab <schwab@redhat.com>
14649
14650 * elf/rtld.c (dl_main): Also relocate in dependency order when
14651 doing symbol dependency testing.
14652
1ae12c75
AS
146532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14654
14655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14656 Always define `refsym'.
14657
995a80df
AS
146582011-09-13 Andreas Schwab <schwab@redhat.com>
14659
e529793b
AS
14660 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14661 (__FD_ELT): Renamed from __FDELT.
14662 * misc/bits/select2.h (__FD_ELT): Likewise.
14663 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14664 __FD_MASK instead of __FDELT, __FDMASK.
14665 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14666 Likewise.
14667 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14668 Likewise.
14669
52d4fef8
AS
14670 * elf/Makefile (gen-ldd): Fix pattern.
14671
995a80df
AS
14672 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14673 (init_tls): Likewise.
14674
8682f8b0
UD
146752011-09-12 Ulrich Drepper <drepper@gmail.com>
14676
14677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14678
de82006d
AS
146792011-09-12 Andreas Schwab <schwab@redhat.com>
14680
a7c8e6a1
AS
14681 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14682 `struct cmsghdr *' instead of `void *'.
14683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14684 Likewise.
14685
0f31fe77
AS
146862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14687
14688 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14689 if non-absolute.
14690 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14691 ldd_rewrite_script.
0f31fe77 14692
32b4c839
UD
146932011-09-11 Ulrich Drepper <drepper@gmail.com>
14694
83cd1420
UD
14695 * configure.in: Remove --with-tls option.
14696 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14697 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14698 out in case it is missing.
14699 * sysdeps/ia64/elf/configure.in: Likewise.
14700 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14701 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14702 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14703 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14704 * sysdeps/sh/elf/configure.in: Likewise.
14705 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14706 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14707 * sysdeps/x86_64/elf/configure.in: Likewise.
14708 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14709 * sysdeps/mach/hurd/tls.h: Likewise.
14710
633f745d
UD
14711 [BZ #13067]
14712 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14713
f318beb8
UD
14714 [BZ #13090]
14715 * configure.in: Fix use of AC_INIT.
14716
32b4c839
UD
14717 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14718
3ce1f295
UD
147192011-09-10 Ulrich Drepper <drepper@gmail.com>
14720
bb016596
UD
14721 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14722 __set_errno.
8e58439c
UD
14723 * malloc/hooks.c: Likewise.
14724
aebae053 14725 [BZ #11929]
02d46fc4
UD
14726 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14727 variables statically.
14728 (narenas): Initialize.
14729 (list_lock): Initialize.
bb016596
UD
14730 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14731 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14732 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14733 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14734 Add initializers to main_arena and mp_.
14735 (malloc_state): Remove pagesize member. Change all users to use
14736 GLRO(dl_pagesize).
14737
14738 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14739 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14740 is always initialized.
14741
22a89187
UD
14742 * malloc/malloc.c: Removed unused configurations and dead code.
14743 * malloc/arena.c: Likewise.
14744 * malloc/hooks.c: Likewise.
02d46fc4 14745 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14746
d063d164
UD
14747 * include/tls.h: Removed. USE___THREAD must always be defined.
14748 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14749 * elf/dl-libc.c: Likewise.
14750 * elf/dl-tsd.c: Likewise.
14751 * include/errno.h: Likewise.
14752 * include/netdb.h: Likewise.
14753 * include/resolv.h: Likewise.
14754 * inet/herrno-loc.c: Likewise.
14755 * inet/herrno.c: Likewise.
14756 * malloc/arena.c: Likewise.
14757 * malloc/hooks.c: Likewise.
14758 * malloc/malloc.c: Likewise.
14759 * resolv/res-state.c: Likewise.
14760 * resolv/res_libc.c: Likewise.
14761 * sysdeps/i386/dl-machine.h: Likewise.
14762 * sysdeps/ia64/dl-machine.h: Likewise.
14763 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14764 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14765 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14766 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14767 * sysdeps/sh/dl-machine.h: Likewise.
14768 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14770 * sysdeps/unix/i386/sysdep.S: Likewise.
14771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14772 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14777 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14781 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14782 * sysdeps/x86_64/dl-machine.h: Likewise.
14783 * tls.make.c: Likewise.
14784
3ce1f295
UD
14785 * configure.in: Remove --with-__thread option. Make tests for
14786 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14787 tls_model attribute fail if no support is available. Remove
14788 USE_IN_LIBIO.
14789 * Makeconfig: Adjust for dropped configure option. All features are
14790 now mandatory.
14791 * Makerules: Likewise.
14792 * Versions.def: Likewise.
14793 * argp/argp-fmtstream.c: Likewise.
14794 * argp/argp-fmtstream.h: Likewise.
14795 * argp/argp-help.c: Likewise.
14796 * assert/assert.c: Likewise.
14797 * config.h.in: Likewise.
14798 * config.make.in: Likewise.
14799 * configure: Likewise.
14800 * configure.in: Likewise.
14801 * csu/Versions: Likewise.
14802 * csu/init.c: Likewise.
14803 * elf/tst-audit2.c: Likewise.
14804 * elf/tst-tls10.c: Likewise.
14805 * elf/tst-tls10.h: Likewise.
14806 * elf/tst-tls11.c: Likewise.
14807 * elf/tst-tls12.c: Likewise.
14808 * elf/tst-tls14.c: Likewise.
14809 * elf/tst-tlsmod11.c: Likewise.
14810 * elf/tst-tlsmod12.c: Likewise.
14811 * elf/tst-tlsmod13.c: Likewise.
14812 * elf/tst-tlsmod13a.c: Likewise.
14813 * elf/tst-tlsmod14a.c: Likewise.
14814 * elf/tst-tlsmod15b.c: Likewise.
14815 * elf/tst-tlsmod16a.c: Likewise.
14816 * elf/tst-tlsmod16b.c: Likewise.
14817 * elf/tst-tlsmod7.c: Likewise.
14818 * elf/tst-tlsmod8.c: Likewise.
14819 * elf/tst-tlsmod9.c: Likewise.
14820 * gmon/gmon.c: Likewise.
14821 * grp/fgetgrent_r.c: Likewise.
14822 * grp/putgrent.c: Likewise.
14823 * hurd/fopenport.c: Likewise.
14824 * include/libc-symbols.h: Likewise.
14825 * include/tls.h: Likewise.
14826 * intl/gettextP.h: Likewise.
14827 * intl/loadinfo.h: Likewise.
14828 * locale/global-locale.c: Likewise.
14829 * locale/localeinfo.h: Likewise.
14830 * mach/devstream.c: Likewise.
14831 * malloc/arena.c: Likewise.
14832 * malloc/set-freeres.c: Likewise.
14833 * misc/err.c: Likewise.
14834 * misc/getttyent.c: Likewise.
14835 * misc/mntent_r.c: Likewise.
14836 * posix/getopt.c: Likewise.
14837 * posix/wordexp.c: Likewise.
14838 * pwd/fgetpwent_r.c: Likewise.
14839 * resolv/Versions: Likewise.
14840 * resolv/res_hconf.c: Likewise.
14841 * shadow/fgetspent_r.c: Likewise.
14842 * shadow/putspent.c: Likewise.
14843 * stdio-common/printf_fphex.c: Likewise.
14844 * stdio-common/tmpfile.c: Likewise.
14845 * stdlib/abort.c: Likewise.
14846 * stdlib/fmtmsg.c: Likewise.
14847 * sunrpc/auth_unix.c: Likewise.
14848 * sunrpc/clnt_perr.c: Likewise.
14849 * sunrpc/clnt_tcp.c: Likewise.
14850 * sunrpc/clnt_udp.c: Likewise.
14851 * sunrpc/clnt_unix.c: Likewise.
14852 * sunrpc/openchild.c: Likewise.
14853 * sunrpc/svc_simple.c: Likewise.
14854 * sunrpc/svc_tcp.c: Likewise.
14855 * sunrpc/svc_udp.c: Likewise.
14856 * sunrpc/svc_unix.c: Likewise.
14857 * sunrpc/xdr.c: Likewise.
14858 * sunrpc/xdr_array.c: Likewise.
14859 * sunrpc/xdr_rec.c: Likewise.
14860 * sunrpc/xdr_ref.c: Likewise.
14861 * sunrpc/xdr_stdio.c: Likewise.
14862
1248c1c4
PB
148632011-09-09 Ulrich Drepper <drepper@gmail.com>
14864
14865 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14866
148672011-07-03 Andreas Jaeger <aj@suse.de>
14868
14869 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14870 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14871 regenerate with gen-libm-tests.pl.
14872
148732010-05-12 Petr Baudis <pasky@suse.cz>
14874
14875 [BZ #11589]
14876 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14877 around j0() zero points by switching to j1().
14878 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14881 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14882
f22e1074
UD
148832011-09-09 Ulrich Drepper <drepper@gmail.com>
14884
f19009c1
UD
14885 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14886 instead of 0.
14887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14888 instead of 0. .
14889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14890 Patch in part by Pavel Roskin <proski@gnu.org>.
14891
3f8cc204
UD
14892 [BZ #13138]
14893 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14894 realloc.
14895 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14896 Free memory block if necessary.
14897
f22e1074
UD
14898 [BZ #12847]
14899 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14900 be NULL. Don't lock in this case.
14901
0a2349f9
RM
149022011-09-09 Roland McGrath <roland@hack.frob.com>
14903
14904 * elf/elf.h (ELFOSABI_GNU): New macro.
14905 (ELFOSABI_LINUX): Define to that.
14906
f3cdd467
DZ
149072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14908
14909 * string/strncat.c (strncat): Undef the symbol in case it has been
14910 defined in bits/string.h.
14911
74718d13
UD
149122011-09-09 Ulrich Drepper <drepper@gmail.com>
14913
633e9e0f
UD
14914 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14915
0a2349f9 14916 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14917 link map.
14918
f9924780
AJ
149192011-08-17 Andreas Jaeger <aj@suse.de>
14920
14921 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14922
7f5517aa
PP
149232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14924 Ian Lance Taylor <iant@google.com>
14925
14926 * math/libm-test.inc (lround_test): New testcase.
14927 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14928
762011fe
UD
149292011-09-08 Ulrich Drepper <drepper@gmail.com>
14930
92963737
UD
14931 * Makefile: Remove support for automatic cvs check-ins.
14932 * Makerules: Likewise.
14933 * config.make.in: Likewise.
14934 * configure.in: Likewise.
14935 * intl/Makefile: Likewise.
14936 * locale/Makefile: Likewise.
14937 * po/Makefile: Likewise.
14938 * posix/Makefile: Likewise.
14939 * sysdeps/gnu/Makefile: Likewise.
14940 * sysdeps/mach/hurd/Makefile: Likewise.
14941 * sysdeps/sparc/sparc32/Makefile: Likewise.
14942
b0727fd8
JS
14943 [BZ #13118]
14944 * posix/Makefile (bug-regex32-ENV): Define.
14945 Patch by John Stanley <jpsinthemix@verizon.net>.
14946
a0f33f99
UD
14947 * misc/Makefile (headers): Add bits/select2.h.
14948 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14949 * misc/bits/select2.h: New file.
14950 * include/bits/select2.h: New file.
14951 * debug/Makefile (routines): Add fdelt_chk.
14952 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14953 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14954 FD_ISSET.
14955 * debug/fdelt_chk.c: New file.
14956
762011fe
UD
14957 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14958 * wcsmbs/test-wmemcmp.c: Likewise.
14959 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14960 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14961
149622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14963
14964 * string/Makefile (strop-tests): Add memcmp.
14965 * string/test-wmemcmp.c: New file.
14966 * string/test-memcmp.c: Add wmemcmp support.
14967
7f513ec8
RM
149682011-09-08 Roland McGrath <roland@hack.frob.com>
14969
0442afb4
RM
14970 [BZ #13153]
14971 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14972 2011-07-19 change.
14973
7f513ec8
RM
14974 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14975 garbage value in a __mach_port_mod_refs call in the cases of the
14976 task-self and thread-self ports.
14977
a12b2239
ST
149782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14979
14980 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14981
610f9ab4
AS
149822011-09-08 Andreas Schwab <schwab@redhat.com>
14983
7f513ec8 14984 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14985
48882a1a
LD
149862011-09-07 Ulrich Drepper <drepper@gmail.com>
14987
b49865be
UD
14988 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14989
fdc86bc9
UD
14990 * elf/dl-libc.c (dlerror_run): Pass back error code from
14991 dl_catch_error.
14992
c966526a
UD
14993 [BZ #13123]
14994 * elf/dl-load.c (lose): Free l_origin if it is valid.
14995
48882a1a
LD
14996 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14997 names.
14998 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14999 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15000 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15001 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15002 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15003 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15004
77a2a8b4
AZ
150052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15006
15007 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15008 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15009 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15010 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15011 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15012 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15013 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15014 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15015 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15016 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15017
24f579d8
AM
150182011-08-15 Alan Modra <amodra@gmail.com>
15019
15020 [BZ #13092]
15021 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15022 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15023 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15024 ppc_mcount to static-only-routines.
15025 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15026 __mcount_internal.
15027 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15028 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15029
3d4837df
UD
150302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15031
15032 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15033 for finite and infinity parameters.
15034
22700377
WS
150352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15036
15037 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15038 and add nop instructions for throughput optimization.
15039 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15040
5025581e
WS
150412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15042
15043 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15044 aligned copy for power7 with vector-scalar instructions.
15045 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15046
08a300c9
L
150472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15048
15049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15050 AVX check.
15051
59178ef9
AS
150522011-09-07 Andreas Schwab <schwab@redhat.com>
15053
15054 [BZ #13144]
15055 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15056 last change.
15057
e38ba7ab
UD
150582011-09-07 Ulrich Drepper <drepper@gmail.com>
15059
15060 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15061 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15062 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15063 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15064 clock_gettime.
15065
d53a73ac
UD
150662011-09-06 Ulrich Drepper <drepper@gmail.com>
15067
fc8bffcc
UD
15068 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15069 Forgot to demangle the pointer.
15070
ceaa0c5d
UD
15071 * sysdeps/i386/sysdep.h: Define atom_text_section.
15072 * sysdeps/x86_64/sysdep.h: Likewise.
15073 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15074 section with atom_text_section.
15075 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15076 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15077 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15079 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15080
a77d3c17
UD
15081 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15082 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15083 already be defined. Change to take two parameters and don't assign
15084 result to variable. Adjust all users.
15085 Define INTERNAL_GETTIME if not already defined.
15086 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15087 call.
15088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15089 HAVE_CLOCK_GETTIME_VSYSCALL.
15090 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15091
d53a73ac
UD
15092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15093 gettimeofday vsyscall, just use time.
15094
a8f84144
AS
150952011-09-06 Andreas Schwab <schwab@redhat.com>
15096
15097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15098 <errno.h>.
15099
ef606249
UD
151002011-09-06 Ulrich Drepper <drepper@gmail.com>
15101
15102 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15103 syscall on x86-64.
15104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15105 syscall.
15106 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15107 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15108 syscall if possible.
15109
6585cb60
UD
151102011-09-05 Ulrich Drepper <drepper@gmail.com>
15111
15112 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15113 e_ident. Don't pass to find_mapsXX.
15114 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15115
a5f524e4
LD
151162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15117
15118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15119 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15120 * sysdeps/x86_64/multiarch/strchr.S: Update.
15121 Check bit_slow_BSF bit.
15122 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15124 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15125
554881ef
UD
151262011-09-05 Ulrich Drepper <drepper@gmail.com>
15127
d96de963
UD
15128 [BZ #13134]
15129 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15130 before glibc 2.15.
15131 (tryshell): Define.
15132 (__spawni): Change last parameter to be flag. Test
15133 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15134 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15135 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15136 * posix/spawni.c: Likewise.
15137 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15138 * posix/spawnp.c: Likewise. Change normal version to use
15139 SPAWN_XFLAGS_USE_PATH.
15140 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15141 SPAWN_XFLAGS_TRY_SHELL.
15142
d48e5868
UD
15143 [BZ #13150]
15144 * posix/glob.h: Remove gcc 1.x support.
15145
554881ef
UD
15146 [BZ #13068]
15147 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15148
693fb948
LD
151492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15150
15151 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15152 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15153 strrchr-sse2-bsf
15154 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15155 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15156 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15157 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15158 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15159 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15160
1b48c537
UD
151612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15162
49d42c37
UD
15163 * sysdeps/x86_64/wcscmp.S: New file.
15164
1b48c537
UD
15165 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15166 wcscmp-c wcscmp-sse2
15167 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15168 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15169 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15170 * wcsmbs/wcscmp.c: Allow renaming.
15171
15c95c5d
DM
151722011-09-05 David S. Miller <davem@davemloft.net>
15173
15174 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15175 stack slot, rather than the struct return pointer slot.
15176 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15177 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15179 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15180
2f0ad8f3
UD
151812011-09-05 Ulrich Drepper <drepper@gmail.com>
15182
d88ae418
UD
15183 * po/ja.po: Update from translation team.
15184
2f0ad8f3
UD
15185 [BZ #13144]
15186 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15187 kernel in 64-bit binaries.
15188
5f4318d1
DM
151892011-09-01 David S. Miller <davem@davemloft.net>
15190
15191 * elf/elf.h (HWCAP_SPARC_*): Move to..
15192 * sysdeps/sparc/sysdep.h: this new file and add new values.
15193 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15194 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15195 _DL_HWCAP_COUNT to 24.
15196 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15197 entries.
15198 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15199 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15200 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15202 instead of magic constants.
15203 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15204
3ba57516
DM
152052011-08-31 David S. Miller <davem@davemloft.net>
15206
15207 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15209 Reimplement to do errno handling inline.
15210 (SYSCALL_ERROR_HANDLER): New macro.
15211 (__SYSCALL_STRING): Do not do errno handling in asm.
15212 (__CLONE_SYSCALL_STRING): Delete.
15213 (__INTERNAL_SYSCALL_STRING): Delete.
15214 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15215 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15216 (PSEUDO): Reimplement to do errno handling inline.
15217 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15218 (SYSCALL_ERROR_HANDLER): New macro.
15219 (__SYSCALL_STRING): Do not do errno handling in asm.
15220 (__CLONE_SYSCALL_STRING): Delete.
15221 (__INTERNAL_SYSCALL_STRING): Delete.
15222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15223 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15224 i386.
15225 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15226 (inline_syscall*): Add 'err' argument.
15227 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15228 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15229 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15230 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15231
15232 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15233 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15234
2bc17433
AS
152352011-08-30 Andreas Schwab <schwab@redhat.com>
15236
15237 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15238
fbeb5f4d
JO
152392011-08-29 Jiri Olsa <jolsa@redhat.com>
15240
15241 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15242 directive.
15243
ad69cc26
DM
152442011-08-24 David S. Miller <davem@davemloft.net>
15245
15246 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15247
39dd69df
AS
152482011-08-24 Andreas Schwab <schwab@redhat.com>
15249
15250 * elf/Makefile: Add rules to build and run unload8 test.
15251 * elf/unload8.c: New file.
15252 * elf/unload8mod1.c: New file.
15253 * elf/unload8mod1x.c: New file.
15254 * elf/unload8mod2.c: New file.
15255 * elf/unload8mod3.c: New file.
15256
15257 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15258 it wasn't used.
15259
2c0b250a
DM
152602011-08-23 David S. Miller <davem@davemloft.net>
15261
15262 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15263 subtract stack bias.
15264 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15265 %sp not %fp in calculations.
15266 (_JMPBUF_UNWINDS_ADJ): Likewise.
15267
22044b48
DM
15268 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15269 (aio_suspend): Call it to force an exception region around the
15270 AIO_MISC_WAIT() invocation.
15271
2cae4995
AS
152722011-08-23 Andreas Schwab <schwab@redhat.com>
15273
15274 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15275 backslash.
15276
873a772e
AJ
152772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15278
15279 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15280 protection macro.
15281 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15282 and <dl-machine.h>.
15283 (Elf64_FuncDesc): Remove.
15284
25ad0df1
DM
152852011-08-22 David S. Miller <davem@davemloft.net>
15286
15287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15288 sigaltstack check, add missing cfi directives.
15289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15290 missing cfi directives, and sigaltstack handling.
15291
e888bcbe
AS
152922011-08-16 Andreas Schwab <schwab@redhat.com>
15293
15294 [BZ #11724]
15295 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15296 object is seen twice.
15297 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15298
15299 * elf/Makefile (distribute): Add tst-initorder2.c.
15300 (tests): Add tst-initorder2.
15301 (modules-names): Add tst-initorder2a tst-initorder2b
15302 tst-initorder2c tst-initorder2d. Add rules to build them.
15303 ($(objpfx)tst-initorder2.out): New rule.
15304 * elf/tst-initorder2.c: New file.
15305 * elf/tst-initorder2.exp: New file.
15306
87162f46
AS
153072011-08-22 Andreas Schwab <schwab@redhat.com>
15308
70538b7f
AS
15309 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15310
f55ffe58
AS
15311 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15312 dependencies back to end of function.
15313
87162f46
AS
15314 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15315 $(elfobjdir)/ld.so.
15316
91b392a4
UD
153172011-08-21 Ulrich Drepper <drepper@gmail.com>
15318
15319 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15320 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15322 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15323 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15324 of __vdso_gettimeofday.
15325 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15326 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15327 attribute_hidden.
15328 (_libc_vdso_platform_setup): Remove initialization of
15329 __vdso_gettimeofday and __vdso_time.
15330
5c43483f
UD
153312011-08-20 Ulrich Drepper <drepper@gmail.com>
15332
775a77e7
UD
15333 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15334 and fgetc_unlocked.
15335 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15336 getc_unlocked.
89f447ed 15337
49c74ba9
UD
15338 * elf/dl-open.c (add_to_global): Report additions to the global scope
15339 for LD_DEBUG=scopes.
15340 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15341 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15342
5c43483f
UD
15343 [BZ #13114]
15344 * stdio-common/Makefile (tests): Add bug24.
15345 * stdio-common/bug24.c: New file.
15346
a101b025
AJ
153472011-08-19 Andreas Jaeger <aj@suse.de>
15348
15349 [BZ #13114]
15350 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15351 non-existant file when using close-on-exec mode.
15352
c88f1766
UD
153532011-08-20 Ulrich Drepper <drepper@gmail.com>
15354
0276a718
UD
15355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15356 the very first instruction.
15357
c88f1766
UD
15358 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15359 the CFI state in the end.
15360 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15361 inclusion of dl-trampoline.h.
15362 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15363
51ccffa0
AS
153642011-08-19 Andreas Schwab <schwab@redhat.com>
15365
94d7165f
AS
15366 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15367 expectations for long double.
15368
51ccffa0
AS
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15370 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15371
fd708658 153722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15373
15374 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15375 artificual limit depends upon the system page size.
15376
44f0a71e
UD
153772011-08-17 Ulrich Drepper <drepper@gmail.com>
15378
15379 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15380 * resolv/Makefile: Define CFLAGS-libresolv.
15381
8de79a24
AS
153822011-08-17 Andreas Schwab <schwab@redhat.com>
15383
15384 * nss/makedb.c (compute_tables): Make variables used in nested
15385 function static.
15386
27724598
UD
153872011-08-17 Ulrich Drepper <drepper@gmail.com>
15388
c5305d88
UD
15389 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15390 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15391 if buffer was too small.
15392
27724598
UD
15393 * elf/pldd.c (main): Attach to all threads in the process.
15394 Rewrite /proc handling to use *at functions.
15395
076fe015
UD
153962011-08-16 Ulrich Drepper <drepper@gmail.com>
15397
174baab3
UD
15398 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15399 specifies first scope to show.
15400 (dl_open_worker): Update callers. Move printing scope of new
15401 object to before the relocation.
44f0a71e 15402 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15403 * sysdeps/generic/ldsodefs.h: Update declaration.
15404
076fe015
UD
15405 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15406 string for the scope number.
15407
a60df2c3
UD
154082011-08-14 Ulrich Drepper <drepper@gmail.com>
15409
15410 * nscd/servicescache.c (cache_addserv): Make sure written is always
15411 initialized.
15412
5e4287d1
RM
154132011-08-14 Roland McGrath <roland@hack.frob.com>
15414
85ae0589
RM
15415 * sysdeps/i386/i486/bits/atomic.h
15416 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15417 statement expression, so as to suppress "set but not used" warning.
15418 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15419
69f63097
RM
15420 * string/strncat.c (STRNCAT): Use prototype definition.
15421
675456ef
RM
15422 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15423 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15424 -Iprograms here.
15425 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15426 (localedef-modules): Add localedef.
15427 (locale-modules): Add locale.
15428
5e4287d1
RM
15429 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15430 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15431 to avoid a warning.
15432
9c96ff23
DM
154332011-08-14 David S. Miller <davem@davemloft.net>
15434
15435 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15436 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15437
f9ddf089
UD
154382011-08-13 Ulrich Drepper <drepper@gmail.com>
15439
44f0a71e 15440 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15441 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15442 * elf/rtld.c (dl_main): Set l_name of vDSO.
15443 Call _dl_show_scope when DL_DEBUG_SCOPES.
15444 (process_dl_debug): Recognize scopes flag and also set it for all.
15445 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15446 Declare _dl_show_scope.
15447
1dc27704
UD
15448 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15449 (do_dlopen): Pass caller_dlopen to dl_open.
15450 (__libc_dlopen_mode): Initialize caller_dlopen.
15451
f9ddf089
UD
15452 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15453 of libc. Make tolower call locale-independent. Optimize a bit by
15454 using isdigit instead of isalnum.
15455 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15456
9ac533d3
UD
154572011-08-12 Ulrich Drepper <drepper@gmail.com>
15458
15459 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15460 was a dependency or dynamically loaded.
15461
89edf2e9
UD
154622011-08-11 Ulrich Drepper <drepper@gmail.com>
15463
8e999d29
UD
15464 * intl/l10nflist.c: Allow architecture-specific pop function.
15465 * sysdeps/x86_64/l10nflist.c: New file.
15466
89edf2e9
UD
15467 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15468 classification.
15469
14d96785
AS
154702011-08-10 Andreas Schwab <schwab@redhat.com>
15471
15472 * include/dirent.h: Add libc_hidden_proto for scandirat and
15473 scandirat64. Don't declare __scandirat64.
15474 * dirent/scandirat.c: Add libc_hidden_def.
15475 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15476 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15477
6761ac04
DM
154782011-08-10 David S. Miller <davem@davemloft.net>
15479
15480 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15481 enum.
15482 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15483 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15484 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15485
c55fbd1e
UD
154862011-08-09 Ulrich Drepper <drepper@gmail.com>
15487
15488 * Versions.def [libc]: Add GLIBC_2.15.
15489 * dirent/Makefile (routines): Add scandirat and scandirat64.
15490 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15491 GLIBC_2.15.
15492 * dirent/dirent.h: Declare scandirat and scandirat64.
15493 * dirent/scandirat.c: New file.
15494 * dirent/scandirat64.c: New file.
15495 * sysdeps/wordsize-64/scandirat.c: New file.
15496 * sysdeps/wordsize-64/scandirat64.c: New file.
15497 * dirent/opendir.c: Define opendirat.
15498 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15499 using scandirat.
15500 * dirent/scandir64.c: Adjust for scandir.c change.
15501 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15502 __scandirat64, and __scandir_cancel_handler.
15503 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15504 additional parameter and use openat instead of open (outside of ld.so).
15505 Add new __opendir as wrapper around __opendirat.
15506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15507 here without requiring old scandirat implementation.
15508
879165f2
UD
155092011-08-08 Ulrich Drepper <drepper@gmail.com>
15510
15511 * dirent/scandir.c (cancel_handler): Renamed to
15512 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15513 defined. Adjust users.
15514 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15516
cb7e923b
UD
155172011-08-04 Ulrich Drepper <drepper@gmail.com>
15518
16292edd
UD
15519 * string/test-string.h (IMPL): Use __STRING to expand name and then
15520 stringify it.
15521
cb7e923b
UD
15522 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15523 of cleanups.
15524
cff82933
LD
155252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15526
15527 * string/Makefile: Update.
15528 (strop-tests): Append strncat.
15529 * string/test-wcscmp.c: New file.
15530 New comprehensive test for wcscmp.
15531 * string/test-strcmp.c: Update.
15532 (WIDE): New define.
15533
9be9bfcc
AS
155342011-07-22 Andreas Schwab <schwab@redhat.com>
15535
15536 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15537 line.
15538
2e96f1c7
AS
155392011-07-26 Andreas Schwab <schwab@redhat.com>
15540
15541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15542 encoding to ACE if AI_IDN.
15543
85188888
JJ
155442011-08-01 Jakub Jelinek <jakub@redhat.com>
15545
15546 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15547 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15548
5fa16e9b
LD
155492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15550
15551 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15552 Fix overflow bug in strncat.
15553 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15554
15555 * string/test-strncat.c: Update.
15556 Add new tests for checking overflow bugs.
15557
155582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15559
15560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15561 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15562 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15563 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15565 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15566 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15567 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15568 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15569
15570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15571 (USE_AS_STRCAT): Define.
15572 Add strcat and strncat support.
15573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15574
8c1a459f
AS
155752011-07-25 Andreas Schwab <schwab@redhat.com>
15576
15577 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15578 __n bigger than INT_MAX+1.
15579 (__strncmp_g): Likewise.
15580
bba33c28
UD
155812011-07-23 Ulrich Drepper <drepper@gmail.com>
15582
798be72d
UD
15583 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15584 * libio/stido.h: Likewise.
15585
8accd4dc
UD
15586 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15587 (AF_NFC): Define.
15588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15589 (AF_NFC): Define.
15590
cbff0d96
UD
15591 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15594 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15595 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15596
9191c04a
UD
15597 [BZ #13021]
15598 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15599 installed.
15600
bba33c28
UD
15601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15602 typo.
15603 (_dl_x86_64_save_sse): Likewise.
15604
90f139dd
UD
156052011-07-22 Ulrich Drepper <drepper@gmail.com>
15606
1aae088a
UD
15607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15608 OSXSAVE.
15609 (_dl_x86_64_save_sse): Likewise.
15610
8e2045f5
UD
15611 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15612
90f139dd
UD
15613 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15614
1d002f25
AS
156152011-07-21 Andreas Schwab <schwab@redhat.com>
15616
15617 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15618 change.
15619 (_dl_x86_64_save_sse): Use correct AVX check.
15620
21137f89
UD
156212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15622
15623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15624 bug in strncpy/strncat.
15625 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15626
a65c0b7a
UD
156272011-07-21 Ulrich Drepper <drepper@gmail.com>
15628
15629 * string/tester.c (test_strcat): Add tests for different alignments
15630 of source and destination.
15631 (test_strncat): Likewise.
15632
6986b98a
UD
156332011-07-20 Ulrich Drepper <drepper@gmail.com>
15634
90bb2039
UD
15635 [BZ #12852]
15636 * posix/glob.c (glob): Check passed in values before using them in
15637 expressions to avoid some overflows.
15638 (glob_in_dir): Likewise.
15639
5644ef54
UD
15640 [BZ #13007]
15641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15642 check for AVX enablement so that we don't crash with old kernels and
15643 new hardware.
15644 * elf/tst-audit4.c: Add same checks here.
15645 * elf/tst-audit6.c: Likewise.
15646
15647 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15648
bfc9dc9b
AS
156492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15650
15651 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15652
702e64bb
UD
156532011-07-20 Ulrich Drepper <drepper@gmail.com>
15654
15655 * po/cs.po: Update from translation team.
15656 * po/bg.po: Likewise.
15657
295e904f
MP
156582011-07-12 Marek Polacek <mpolacek@redhat.com>
15659
15660 * misc/sys/cdefs.h: Add support for const attribute.
15661 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15662 to gnu_dev_{major,minor,makedev} functions.
15663
3ff94596
MP
156642011-07-20 Marek Polacek <mpolacek@redhat.com>
15665
15666 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15667
28b59fca
AS
156682011-07-20 Andreas Schwab <schwab@redhat.com>
15669
15670 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15671 strlen results.
15672
19df733e
AK
156732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15674
15675 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15676 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15677 register in order to avoid conflicts with the soft frame pointer
15678 being held in r11 when necessary.
15679 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15680 (INTERNAL_VSYSCALL_NCS): Likewise.
15681
c8835729
MP
156822011-07-14 Marek Polacek <mpolacek@redhat.com>
15683
15684 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15685 * elf/dl-fini.c (_dl_fini): Adjust caller.
15686 * elf/dl-close.c (_dl_close_worker): Likewise.
15687 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15688
b902330c
MP
156892011-07-15 Marek Polacek <mpolacek@redhat.com>
15690
8991e135
MP
15691 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15692 "aux_cache->nlibs < 0".
15693
b902330c
MP
15694 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15695 in the reload-count case.
15696
99710781
LD
156972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15698
15699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15700 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15701 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15702 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15703 * sysdeps/x86_64/multiarch/strcat.S: New file.
15704 * sysdeps/x86_64/multiarch/strncat.S: New file.
15705 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15706 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15707 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15708 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15709 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15710 (USE_AS_STRCAT): Define.
15711 Add strcat and strncat support.
15712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15714 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15715 * string/strncat.c: Update.
15716 (USE_AS_STRNCAT): Define.
15717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15718 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15719 and i7.
15720 * sysdeps/x86_64/multiarch/init-arch.h
15721 (bit_Prefer_PMINUB_for_stringop): New.
15722 (index_Prefer_PMINUB_for_stringop): Likewise.
15723 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15724 bit_Prefer_PMINUB_for_stringop.
15725
7dc6bd90
UD
157262011-07-19 Ulrich Drepper <drepper@gmail.com>
15727
15728 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15729 buffer64.
15730 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15731 of casting of buffer.
15732 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15733 buffer32 and buffer64.
15734 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15735 writes instead of casting of buffer.
15736 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15737 buffer32.
15738 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15739 casting of buffer.
15740
e0e72284
AS
157412011-07-19 Andreas Schwab <schwab@redhat.com>
15742
15743 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15744
feb1eb0b
UD
157452011-07-19 Ulrich Drepper <drepper@gmail.com>
15746
15747 * nscd/nscd.c (termination_handler): Don't do anything for a database
15748 if it has not yet been initialized.
15749
298711ff
UD
157502011-07-18 Ulrich Drepper <drepper@gmail.com>
15751
15752 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15753
157542011-07-15 Marek Polacek <mpolacek@redhat.com>
15755
15756 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15757
f9d68389
UD
157582011-07-18 Ulrich Drepper <drepper@gmail.com>
15759
15760 * po/nl.po: Update from translation team.
15761 * po/sv.po: Likewise.
15762
db290cf5
RM
157632011-07-16 Roland McGrath <roland@hack.frob.com>
15764
15765 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15766 now disallowed by GCC.
5c550700 15767
fd5e21c7
RM
15768 * configure.in (use-default-link): Default to yes if a test -shared
15769 link meets our qualifications.
15770 * configure: Regenerated.
15771
5c550700
RM
15772 * config.make.in (output-format): New variable.
15773 * configure.in: Check for ld --print-output-format support.
15774 * configure: Regenerated.
15775 * Makerules ($(common-objpfx)format.lds)
15776 [$(output-format) != unknown]: Just use $(output-format),
15777 instead of the linker-script munging.
15778
9fa2c032
RM
157792011-07-14 Roland McGrath <roland@hack.frob.com>
15780
a6928d51
RM
15781 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15782 of $(common-objpfx)shlib.lds.
15783 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15784
661607b3
RM
15785 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15786 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15787
9fa2c032
RM
15788 * configure.in (-z relro check): Adjust test code to add a large
15789 writable data section after it.
15790 * configure: Regenerated.
15791
defe9061
RM
157922011-07-11 Roland McGrath <roland@hack.frob.com>
15793
15794 * configure.in (-z relro check): Fix test code to make the variable
15795 truly const.
15796 * configure: Regenerated.
15797
319b9ad4
UD
157982011-07-11 Ulrich Drepper <drepper@gmail.com>
15799
15800 * nscd/nscd.h (struct traced_file): Define.
15801 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15802 elements. Add traced_files.
15803 (inotify_fd): Declare.
15804 (register_traced_file): Declare.
15805 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15806 (inotify_fd): Export.
15807 (resolv_conf_descr): Remove.
15808 (nscd_init): Move inotify descriptor creation to main.
15809 Don't register files for notification here.
15810 (register_traced_file): New function.
15811 (invalidate_cache): Don't use reset_res to determine whether to call
15812 res_init, go through the list of registered files.
15813 (main_loop_poll): The inotify descriptors are now stored in the
15814 structures for the traced files.
15815 (main_loop_epoll): Likewise
15816 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15817 to __nss_disable_nscd.
15818 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15819 for a database anymore. Check the records for all the registered
15820 files instead.
15821 * nss/Makefile (libnss_files-routines): Add files-init.
15822 (libnss_db-routines): Add db-init.
15823 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15824 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15825 * nss/nss_db/db-init.c: New file.
15826 * nss/nss_files/files-init.c: New file.
15827 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15828 __nss_lookup_function.
15829 (__nss_lookup_function): Call nss_load_library.
15830 (nss_load_all_libraries): New function.
15831 (__nss_disable_nscd): Take parameter with callback function for files
15832 to register. Set is_nscd. Load all the DSOs for the NSS modules
15833 used for the cached services.
15834 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15835 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15836 options for features to all the files in nscd.
15837
15838 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15839
23bee3e8
RM
158402011-07-10 Roland McGrath <roland@hack.frob.com>
15841
15842 * csu/elf-init.c (__libc_csu_init): Comment typo.
15843
46a5b7f0
UD
158442011-07-09 Ulrich Drepper <drepper@gmail.com>
15845
15846 * po/pl.po: Update from translation team.
15847 * po/ja.po: Likewise.
15848 * po/ru.po: Likewise.
15849 * po/ko.po: Likewise.
15850 * po/fr.po: Likewise.
15851
d30cf5bb
RM
158522011-07-09 Roland McGrath <roland@hack.frob.com>
15853
113ddea4
RM
15854 * configure.in (.ctors/.dtors header and trailer check):
15855 Use an empirical test on a built program.
15856 * configure: Regenerated.
15857
574920b4
RM
15858 * configure.in (-z relro check): Use an empirical test on a built DSO.
15859 Detect, but do not require, on ia64.
15860 * configure: Regenerated.
15861
d30cf5bb
RM
15862 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15863 Update tests that use readelf to use $READELF instead.
15864 * configure: Regenerated.
15865
8538fdb3
UD
158662011-07-08 Ulrich Drepper <drepper@gmail.com>
15867
15868 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15869 if the result is not used.
15870
04d08991
AJ
158712011-07-05 Andreas Jaeger <aj@suse.de>
15872
15873 [BZ#9696]
15874 * stdlib/tst-strtod.c: Add testcase.
15875
de283087
AD
158762011-07-07 Ulrich Drepper <drepper@gmail.com>
15877
4e5f31c8 15878 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15879 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15880 The latter has a higher limit. Take additional parameter to pass to
15881 the new function.
15882 (__pathconf): Pass file to __statfs_link_max.
15883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15884 __statfs_link_max.
15885 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15886 __statfs_link_max.
15887
de283087
AD
15888 [BZ #12868]
15889 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15890 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15891 Handle Lustre.
15892 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15893 (__statfs_filesize_max): Likewise.
15894 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15895
c75fa153
AJ
158962011-07-05 Andreas Jaeger <aj@suse.de>
15897
15898 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15899
1a544854
UD
159002011-07-06 Marek Polacek <mpolacek@redhat.com>
15901
15902 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15903 `status' variable.
15904 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15905 Likewise.
15906
6f0eec67
UD
159072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15908
15909 * Makefile (strop-tests): Add strncat.
15910 * string/test-strncat.c: New file.
15911
aae30307
UD
159122011-06-30 Marek Polacek <mpolacek@redhat.com>
15913
15914 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15915
c0cfb5eb
UD
159162011-06-21 Andreas Jaeger <aj@suse.de>
15917
15918 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15919 Copy rule from iconvdata/Makefile.
15920
01636b21
UD
159212011-07-06 Ulrich Drepper <drepper@gmail.com>
15922
15923 [BZ #12922]
15924 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15925 but no long options are defined, just return 'W'.
15926
9895c8bc
UD
159272011-06-22 Marek Polacek <mpolacek@redhat.com>
15928
15929 [BZ #9696]
15930 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15931
5d4cf042
UD
159322011-07-06 Ulrich Drepper <drepper@gmail.com>
15933
15934 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15935 netgroups to read.
960e5535 15936 (innetgr): Likewise.
5d4cf042 15937
751eb97e
RM
159382011-07-05 Roland McGrath <roland@hack.frob.com>
15939
15940 * config.make.in (install_root): Default to $(DESTDIR).
15941
f15f1e45
UD
159422011-07-05 Ulrich Drepper <drepper@gmail.com>
15943
15944 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15945
4e34ac6a
RM
159462011-07-02 Roland McGrath <roland@hack.frob.com>
15947
5e9b6af4
RM
15948 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15949
84f9ea0f
RM
15950 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15951 containing directory rather than embedding absolute directory names.
15952
ea5ee9f7
RM
15953 * scripts/check-local-headers.sh: Rewritten using awk.
15954 Match by word, not by line. Print error messages for matches.
15955 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15956
1b74661a
RM
15957 * Makerules [shlib-lds-flags empty]:
15958 ($(common-objpfx)libc_pic.opts): New target.
15959 ($(common-objpfx)libc_pic.os.clean): New target.
15960 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15961
15962 * config.make.in (OBJCOPY): New variable.
15963 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15964 * configure: Regenerated.
15965
f781ef40
RM
15966 * config.make.in (use-default-link): New variable.
15967 * configure.in (use_default_link): Grok --with-default-link to set it.
15968 * configure: Regenerated.
15969 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15970 (shlib-lds, shlib-lds-flags): Define to empty.
15971
2d4fa81e
RM
15972 * Makerules (shlib-lds): New variable.
15973 (shlib-lds-flags): New variable.
15974 (build-shlib, build-moduile, build-module-asneeded): Use it.
15975 ($(common-objpfx)libc.so): Use $(shlib-lds).
15976 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15977 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15978
31fffa6b
RM
15979 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15980 DT_FLAGS/DT_FLAGS_1 with zero flags.
15981
4e34ac6a
RM
15982 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15983 linker script munging.
15984
fcfc776b
UD
159852011-07-02 Ulrich Drepper <drepper@gmail.com>
15986
15987 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15988 as 128-bit value.
15989 * crypt/sha512.c (sha512_process_block): Perform total addition using
15990 128-bit if possible.
15991 (__sha512_finish_ctx): Likewise.
15992 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15993 as 64-bit value.
15994 * crypt/sha256.c (SWAP64): Define.
15995 (sha256_process_block): Perform total addition using 64-bit if
15996 possible.
15997 (__sha256_finish_ctx): Likewise.
15998
99231d9a
UD
159992011-07-01 Ulrich Drepper <drepper@gmail.com>
16000
16001 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16003 * nscd/hstcache.c (cache_addhst): Likewise.
16004 * nscd/grpcache.c (cache_addgr): Likewise.
16005 * nscd/aicache.c (addhstaiX): Likewise
16006 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16007
445b4a53
TK
160082011-07-01 Thorsten Kukuk <kukuk@suse.de>
16009
16010 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16011 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16012 * nscd/hstcache.c (cache_addhst): Likewise.
16013 * nscd/grpcache.c (cache_addgr): Likewise.
16014 * nscd/aicache.c (addhstaiX): Likewise
16015
6d4d8e8e
AS
160162011-07-01 Andreas Schwab <schwab@redhat.com>
16017
16018 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16019 domain only when needed.
16020
89f654c5
AS
160212011-06-30 Andreas Schwab <schwab@redhat.com>
16022
16023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16024 is always restored.
16025
cf3b23ff
UD
160262011-06-29 Ulrich Drepper <drepper@gmail.com>
16027
16028 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16029 are re-adding the entry.
16030 * nscd/servicescache.c (cache_addserv): Likewise.
16031
751626f9
AJ
160322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16033
16034 * sysdeps/generic/dl-irel.h: fix protection against multiple
16035 inclusions.
16036 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16037
9113ea1f
UD
160382011-06-28 Ulrich Drepper <drepper@gmail.com>
16039
5c0b8d90
UD
16040 [BZ #12935]
16041 * malloc/memusage.sh: Fix quoting in message.
16042 * debug/xtrace.sh: Likewise.
16043
9113ea1f
UD
16044 * configure.in: Remove support for --experimental-malloc option, make
16045 it the default.
16046 * config.make.in: Likewise.
16047 * malloc/Makefile: Likewise.
16048
a4172181
AS
160492011-06-27 Andreas Schwab <schwab@redhat.com>
16050
16051 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16052 two-byte characters.
16053
78a7eee7
RM
160542011-06-27 Roland McGrath <roland@hack.frob.com>
16055
62bede13
RM
16056 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16057 AC_CACHE_CHECK invocation.
16058 * configure: Regenerated.
16059
78a7eee7
RM
16060 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16061
5ce33a62
UD
160622011-06-27 Ulrich Drepper <drepper@gmail.com>
16063
034807a9
UD
16064 [BZ #12350]
16065 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16066 bit from old_res_options.
16067
4902da17
UD
16068 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16069
5ce33a62
UD
16070 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16071 value type for setfct.
16072
c2344f56
L
160732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16074
16075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16076 __gettimeofday instead of gettimeofday.
16077
68468076
UD
160782011-06-26 Ulrich Drepper <drepper@gmail.com>
16079
16080 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16081
acb0d739
L
160822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16083
16084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16085
16086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16087 info.
16088
8912479f
L
160892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16090
16091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16092 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16093 strcpy-sse2-unaligned strncpy-sse2-unaligned
16094 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16095 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16096 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16097 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16098 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16099 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16101 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16102 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16103 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16104 (STRCPY): Support SSE2 and SSSE3 versions.
16105
d5495a11
UD
161062011-06-24 Ulrich Drepper <drepper@gmail.com>
16107
16108 [BZ #12874]
16109 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16110 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16111 kernels which artificially limit size of requests.
16112
0b1cbaae
L
161132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16114
16115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16116 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16117 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16118 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16119 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16120 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16121 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16122 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16125 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16126 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16127 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16128 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16129 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16131 Enable unaligned load optimization for Intel Core i3, i5 and i7
16132 processors.
16133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16134 Define.
16135 (index_Fast_Unaligned_Load): Define.
16136 (HAS_FAST_UNALIGNED_LOAD): Define.
16137
07f494a0
MP
161382011-06-23 Marek Polacek <mpolacek@redhat.com>
16139
16140 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16141
fa3fc0fe
UD
161422011-06-22 Ulrich Drepper <drepper@gmail.com>
16143
16144 [BZ #12907]
16145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16146 until it is clear that the information is realy needed.
16147 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16148
e12df166
AS
161492011-06-22 Andreas Schwab <schwab@redhat.com>
16150
16151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16152
852eb34d
UD
161532011-06-22 Ulrich Drepper <drepper@gmail.com>
16154
84e2a551
UD
16155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16156 /sys/devices/system/cpu/online if it is usable.
16157
852eb34d
UD
16158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16159 reading the information from the /proc filesystem to once a second.
16160
6e502e19
UD
161612011-06-21 Andreas Jaeger <aj@suse.de>
16162
16163 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16164 NULL after inclusion of kernel headers.
16165
75d39ff2
UD
161662011-06-21 Ulrich Drepper <drepper@gmail.com>
16167
51f9aa6a
UD
16168 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16169 calls to internal_setent.
16170
c0244a9d
UD
16171 [BZ #12885]
16172 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16173 addresses using gethostbyname4_r ignore IPv4 addresses.
16174
c5e3c2ae
UD
16175 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16176 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16177
75d39ff2
UD
16178 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16179
42675c6f
DM
161802011-06-20 David S. Miller <davem@davemloft.net>
16181
16182 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16183 inclusions.
16184 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16185
16186 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16187 (elf_irel): Use it.
16188 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16189 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16190 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16191 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16192 * sysdeps/x86_64/dl-irel.h: Likewise.
16193
16194 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16195 * elf/dl-sym.c: Likewise.
16196
57912a71
UD
161972011-06-15 Ulrich Drepper <drepper@gmail.com>
16198
16199 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16200 need to dereference resplen2.
16201
ee22793d
AS
162022011-06-14 Andreas Schwab <schwab@redhat.com>
16203
16204 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16205
a9e836b0
UD
162062011-06-15 Ulrich Drepper <drepper@gmail.com>
16207
77fb9117
UD
16208 * Makeconfig: Define vardbdir and inst_vardbdir.
16209 * nss/Makefile: Add rules to install db-Makefile.
16210
40c1b22c
UD
16211 * nss/nss_db/db-XXX.c: Cleanup.
16212
9f2da732
UD
16213 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16214 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16215 GLIBC_PRIVATE.
16216 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16217 * nss/makedb.c: Implement -g option to specify that value strings
16218 are generated and should not be added to table iterated over for
16219 get*ent calls.
16220 * nss/nss_db/db-initgroups.c: New file.
16221
82e9a1f7
UD
16222 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16223 interface.
16224
c41af17e
UD
16225 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16226 (internal_getgrouplist): Adjust to name change.
16227 Update use_initgroups_entry if this is not the first call.
16228 * nss/databases.def: Add initgroups entry.
16229
a9e836b0
UD
16230 * nss/makedb.c (compute_tables): Check result of multiple hash table
16231 sizes to minimize maximum chain length.
16232
2666d441
UD
162332011-06-14 Ulrich Drepper <drepper@gmail.com>
16234
16235 * Versions.def: Add entry for libnss_db.
16236 * shlib-versions: Likewise.
16237 * nss/Makefile: Add rules to build libnss_db.
16238 * nss/Versions: Add libnss_db information. Organize libnss_files
16239 entries better.
16240 * nss/db-Makefile: Add gshadow support. Change rules for the new
16241 makedb progra. Some minor improvements to generate smaller files.
16242 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16243 here from...
16244 * nss/makedb.c: ...here.
16245 Improve database format to be smaller and require less memory at
16246 runtime.
16247 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16248 db anymore.
16249 * nss/nss_db/db-netgrp.c: Likewise.
16250 * nss/nss_db/db-open.c: Likewise.
16251 * nss/nss_files/flies-XXX.x: Adjust comments.
16252 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16253 * nss/nss_files/files-grp.c: Likewise.
16254 * nss/nss_files/files-hosts.c: Likewise.
16255 * nss/nss_files/files-network.c: Likewise.
16256 * nss/nss_files/files-proto.c: Likewise.
16257 * nss/nss_files/files-pwd.c: Likewise.
16258 * nss/nss_files/files-rpc.c: Likewise.
16259 * nss/nss_files/files-service.c: Likewise.
16260 * nss/nss_files/files-sgrp.c: Likewise.
16261 * nss/nss_files/files-spwd.c: Likewise.
16262 * nss/nss_db/db-alias.c: Removed.
16263 * nss/nss_db/dummy-db.h: Removed.
16264
9ee76b5a
UD
162652011-06-02 Ulrich Drepper <drepper@gmail.com>
16266
16267 * nss/makedb.c: Rewritten to not use database library.
16268 * nss/Makefile: Update to build new makedb program.
16269
c71ca1f8
AJ
162702011-06-14 Andreas Jaeger <aj@suse.de>
16271
16272 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16273 memset declaration.
16274
3154bfb8
UD
162752011-06-10 Andreas Schwab <schwab@redhat.com>
16276
16277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16278 tmpbuf.
16279
b350afab
RM
162802011-06-10 Roland McGrath <roland@hack.frob.com>
16281
decd4e50
RM
16282 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16283 * elf/Makefile ($(objpfx)ld.so): Likewise.
16284
5615eaf2
RM
16285 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16286 Don't list ld.so twice in dependencies.
16287
16288 * posix/bug-regex31.c: Include <stdlib.h>.
16289
16290 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16291
16292 * nis/nss_compat/compat-spwd.c
16293 (getspent_next_nss_netgr): Remove unused variable.
16294 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16295
16296 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16297 nonmembers" output to use the right array.
16298
16299 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16300
16301 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16302
16303 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16304 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16305 * catgets/gencat.c (read_input_file): Likewise.
16306 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16307
16308 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16309 variable definition inside #if's controlling its use.
16310
16311 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16312
16313 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16314
16315 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16316
16317 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16318 unreachable code.
16319
16320 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16321
b68e08db
RM
16322 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16323 * configure: Regenerated.
16324
b350afab
RM
16325 * Makerules: Revert last change.
16326 * elf/Makefile: Likewise.
16327
28368601
RM
163282011-06-09 Roland McGrath <roland@hack.frob.com>
16329
16330 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16331 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16332 (reloc-link): Likewise.
16333
11988f8f
UD
163342011-06-09 Ulrich Drepper <drepper@gmail.com>
16335
16336 * elf/Makefile: Add rules to build pldd.
16337 * elf/pldd.c: New file.
16338 * elf/pldd-xx.c: New file.
16339
e80fab37
UD
163402011-06-07 Ulrich Drepper <drepper@gmail.com>
16341
16342 * version.h: Update for 2.15 development version.
16343
9b849836
DM
163442011-06-07 David S. Miller <davem@davemloft.net>
16345
16346 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16347 ifuncs.
16348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16349 elf_machine_lazy_rel): Likewise.
16350 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16352 elf_machine_lazy_rel): Likewise.
16353 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16354 dl_hwcap via passed in argument.
16355 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16356 Likewise.
16357
5a31b283
AK
163582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16359
16360 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16361
069e52f8
RM
163622011-06-06 Roland McGrath <roland@hack.frob.com>
16363
16364 [BZ #12849]
16365 * manual/fdl-1.1.texi: New file, verbatim from:
16366 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16367 * manual/lgpl-2.1.texi: New file, verbatim from:
16368 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16369 * manual/Makefile (licenses): New variable, list those new file names.
16370 (texis): Use it.
16371 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16372
16373 * manual/fdl.texi: File removed.
16374 * manual/lesser.texi: File removed.
16375 * manual/libc.texinfo (Copying, Documentation License):
16376 Use new @include file names, put @appendix directive before @include.
16377
f16846a5
JJ
163782011-06-04 Jakub Jelinek <jakub@redhat.com>
16379
16380 [BZ #12841]
16381 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16382 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16383 (mq_open): Add __NTH.
16384
3d29045b
L
163852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16386
16387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16388 Assume Intel Core i3/i5/i7 processor if AVX is available.
16389
8c297311
UD
163902011-05-31 Ulrich Drepper <drepper@gmail.com>
16391
16392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16393 typo.
16394
c8fc0c91
UD
163952011-05-31 Andreas Schwab <schwab@redhat.com>
16396
16397 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16398 memory. Use alloca_account. Fix memory leak when retrying.
16399
5b27a807
UD
164002011-05-31 Ulrich Drepper <drepper@gmail.com>
16401
356f8bc6
UD
16402 * version.h (RELEASE): Bump for 2.14 release.
16403 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16404
5b27a807
UD
16405 * config.make.in (RANLIB): Remove entry.
16406
01f16ab0
UD
164072011-05-30 Ulrich Drepper <drepper@gmail.com>
16408
41fce8bd
UD
16409 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16410 (libc.pot): Work around missing support for .ksh extension in xgettext.
16411
4769ae77
UD
16412 [BZ #12684]
16413 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16414 if both request failed.
16415 (send_dg): In case of server errors clear resplen or *resplen2.
16416
6b1e7d19
UD
16417 [BZ #12454]
16418 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16419 when there are multiple maps.
16420 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16421 (_dl_fini): Remove test here.
16422
01f16ab0
UD
16423 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16424
b1ebd700
UD
164252011-05-29 Ulrich Drepper <drepper@gmail.com>
16426
7ae22829
UD
16427 [BZ #12350]
16428 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16429 bit from old_res_options.
16430 (gaih_inet): Likewise.
16431
553149f6 16432 [BZ #11099]
18a84741 16433 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16434 as signed.
16435
652ffab1
UD
16436 * resolv/res_init.c (res_setoptions): Make the code more compact.
16437
16985fd0
UD
16438 [BZ #11558]
16439 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16440 set RES_USEVC.
16441
0464f746
UD
16442 [BZ #11634]
16443 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16444
7d17596c
UD
16445 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16446
cf6bbbd7
UD
16447 [BZ #11781]
16448 * malloc/malloc.h: Declare malloc hook variables as volatile.
16449
13f1ab36
UD
16450 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16451 in last patch.
16452
b1ebd700
UD
16453 [BZ #11799]
16454 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16455 raise in the comment.
80e2212d
UD
16456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16458 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16459
ce67228d
UD
164602011-05-28 Ulrich Drepper <drepper@gmail.com>
16461
8887a920
UD
16462 [BZ #12811]
16463 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16464 grow the buffers more if it already has to be sufficient.
16465 (build_wcs_upper_buffer): Likewise.
16466 * posix/regexec.c (check_matching): Likewise.
16467 (clean_state_log_if_needed): Likewise.
16468 (extend_buffers): Don't enlarge buffers beyond size of the input
16469 buffer.
16470 Patches mostly by Emil Wojak <emil@wojak.eu>.
16471 * posix/bug-regex32.c: New file.
16472 * posix/Makefile (tests): Add bug-regex32.
16473
4f031072
UD
16474 * locale/findlocale.c (_nl_find_locale): Return right away if
16475 _nl_explode_name failed.
16476 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16477
d0478f0c
UD
16478 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16479
de81b246
UD
16480 * debug/xtrace.sh: Unify messages.
16481 * malloc/memusage.sh: Likewise.
16482
c738465a
UD
16483 [BZ #12813]
16484 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16485 time symbol from vDSO. Substitute with vsyscall if not available.
16486 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16487 __vdso_time.
16488
f1f929d7
UD
16489 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16490 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16491 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16492 Add sendmmsg and internal_sendmmsg.
16493 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16494 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16495 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16496
ce67228d
UD
16497 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16498 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16500
e57420c6
UD
165012011-05-27 Ulrich Drepper <drepper@gmail.com>
16502
a8509ca5
UD
16503 [BZ #12813]
16504 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16505 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16506 available.
16507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16508 __vdso_getcpu.
16509
e57420c6
UD
16510 [BZ #12814]
16511 * iconvdata/Makefile (tests): Add bug-iconv9.
16512 * iconvdata/bug-iconv9.c: New file.
16513
4d07db15
AS
165142011-05-27 Andreas Schwab <schwab@redhat.com>
16515
16516 [BZ #12814]
16517 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16518
ea486f69
JJ
165192011-05-25 Jakub Jelinek <jakub@redhat.com>
16520
16521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16522 (struct user_regs_struct): Change intcs field back to cs.
16523
6f038433
UD
165242011-05-25 Ulrich Drepper <drepper@gmail.com>
16525
16526 * po/ja.po: Update from translation team.
16527
67f86a25
UD
165282011-05-23 Ulrich Drepper <drepper@gmail.com>
16529
16530 [BZ #12795]
16531 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16532 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16533
def7fbd6
AS
165342011-05-20 Andreas Schwab <schwab@redhat.com>
16535
16536 * stdlib/longlong.h: Update from GCC.
16537
f50ef8f1
AS
165382011-05-23 Andreas Schwab <schwab@redhat.com>
16539
16540 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16541 parameter name.
16542 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16543 Add parameter name.
16544 (__sysconf): Pass it down.
16545
de7ce8f1
UD
165462011-05-22 Ulrich Drepper <drepper@gmail.com>
16547
f2962a71
UD
16548 [BZ #12671]
16549 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16550 some situations.
16551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16552 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16553 add in in __libc_use_alloca calls. Adjust callers.
16554 (glob): Use malloc in some situations.
16555
de7ce8f1
UD
16556 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16557 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16558 pltexit.
16559
aec84f53
UD
165602011-05-21 Ulrich Drepper <drepper@gmail.com>
16561
05bb4a68
UD
16562 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16563 and CLOCK_BOOTTIME_ALARM.
16564
7ea72f99
UD
16565 [BZ #12782]
16566 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16567 is returned.
16568
7e4afad5
UD
16569 * string/_strerror.c (__strerror_r): Print negative errors as signed
16570 numbers.
16571
8e211fec
UD
16572 [BZ #12777]
16573 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16574 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16575 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16576
f7d82dc9
UD
16577 * configure.in: Fix typo in redirection and correct removal of test
16578 files in two cases.
16579
cc9e536d
UD
16580 [BZ #12788]
16581 * locale/setlocale.c (new_composite_name): Fix test to check for
16582 identical name of all categories.
16583
aec84f53
UD
16584 [BZ #12792]
16585 * libio/filedoalloc.c (local_isatty): New function.
16586 (_IO_file_doallocate): Use local_isatty.
16587 * stdio-common/perror.c (perror): In case a new stream is used
16588 forward the stream error.
16589 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16590 error flag.
16591
78e64fdc
RT
165922011-05-20 Ulrich Drepper <drepper@gmail.com>
16593
34a9094f
UD
16594 [BZ #11869]
16595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16596 alloca.
16597 * include/alloca.h (extend_alloca_account): Define.
16598
78e64fdc
RT
16599 [BZ #11857]
16600 * posix/regex.h: Fix comments with documentation of user-accessible
16601 fields after compilation and describe correct free'ing of pattern
16602 after re_compile_pattern.
16603 Patch by Reuben Thomas <rrt@sc3d.org>.
16604
457bddfc
RA
166052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16606
16607 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16608 and -mno-altivec to prevent the compiler from using Altivec and/or
16609 VSX instructions when the corresponding registers are not available.
16610
a4527b51
AS
166112011-05-19 Andreas Schwab <schwab@redhat.com>
16612
16613 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16614
ed690b2f
UD
166152011-05-19 Ulrich Drepper <drepper@gmail.com>
16616
16617 * libio/freopen.c (freopen): Use __dup2, not dup2.
16618 * libio/freopen64.c (freopen64): Likewise.
16619
8db73634
L
166202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16621
16622 [BZ #12775]
16623 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16624 * math/Makefile (tests): Add test-powl.
16625 (CFLAGS-test-powl.c): Define.
16626 * math/test-powl.c: New file.
16627
0a197a9d
L
166282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16629
16630 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16631
ee30c380
UD
166322011-05-17 Ulrich Drepper <drepper@gmail.com>
16633
16634 [BZ #11837]
16635 * iconvdata/gb18030.c: Update to GB18020-2005.
16636
6ce75379
UD
166372011-05-16 Ulrich Drepper <drepper@gmail.com>
16638
a4b89fd8
AR
16639 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16640 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16641 Patch by Aharon Robbins <arnold@skeeve.com>.
16642
ea389b12
UD
16643 [BZ #11892]
16644 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16645 on the stack.
16646
68a3f91f
UD
16647 [BZ #11895]
16648 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16649 through underflows.
16650
15cc7dd1
UD
16651 [BZ #12766]
16652 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16653 point to strings before performing equality test for error_one_per_line
16654 mode.
16655
f3799213
UD
16656 [BZ #11697]
16657 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16658
d79a9c94
UD
16659 [BZ #11820]
16660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16661 (struct user_fpregs_struct): Avoid __uint*_t types.
16662
56e5eb46
UD
16663 [BZ #6420]
16664 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16665 symbol info. Use it instead of calling _dl_addr locally.
16666 (lock_and_info): New function.
16667 (tr_freehook): Call lock_and_info and pass symbol info as additional
16668 parameter to tr_where.
16669 (tr_mallochook): Likewise.
16670 (tr_reallochook): Likewise.
16671 (tr_memalignhook): Likewise.
16672
6ce75379
UD
16673 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16674 used and couldn't be at all thread-safe.
16675
f8a3b5bf
UD
166762011-05-15 Ulrich Drepper <drepper@gmail.com>
16677
94b7cc37
UD
16678 * libio/freopen.c (freopen): Don't close old file descriptor
16679 before the new one is opened. Instead dup the new file descriptor
16680 to the old one after the new stream is created.
16681 * libio/freopen64.c (freopen64): Likewise.
16682 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16683 * libio/fileops.c (_IO_new_file_close_it): Handle new
16684 _IO_FLAGS2_NOCLOSE flag.
16685 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16686 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16687 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16688 _IO_FLAGS2_NOCLOSE flag.
16689 * include/unistd.h: Add hidden_proto for dup3.
16690 Define __have_dup3.
16691 * io/dup3.c: Define hidden symbol.
16692 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16693
bd25564e
UD
16694 [BZ #7101]
16695 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16696 when an incomplete long option is used.
16697 * posix/tst-getopt_long1.c: New file.
16698 * posix/Makefile (tests): Add tst-getopt_long1.
16699
c84cfef4
UD
16700 [BZ #10138]
16701 * scripts/config.guess: Update from autoconf-2.68.
16702 * scripts/config.sub: Likewise.
16703
3b85df27
UD
16704 [BZ #10157]
16705 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16706 tests into ...
16707 (has_cpuclock): ...this. New function.
16708 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16709 macro here based on has_cpuclock code.
16710
15a856b1
UD
16711 [BZ #10149]
16712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16713 First byte (not low byte) is now always NUL.
16714 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16715
05f399e6
UD
16716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16717 Use non-cancelable interfaces.
16718
10a52685 16719 [BZ #9809]
94ecc67d
UD
16720 * locale/iso-639.def: Add entry for Sorani.
16721
f8a3b5bf
UD
16722 [BZ #11901]
16723 * include/stdlib.h: Move include protection to the right place.
16724 Define abort_msg_s. Declare __abort_msg with it.
16725 * stdlib/abort.c (__abort_msg): Adjust type.
16726 * assert/assert.c (__assert_fail_base): New function. Majority
16727 of code from __assert_fail. Allocate memory for __abort_msg with
16728 mmap.
16729 (__assert_fail): Now call __assert_fail_base.
16730 * assert/assert-perr.c: Remove bulk of implementation. Use
16731 __assert_fail_base.
16732 * include/assert.hL Declare __assert_fail_base.
16733 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16734 mmap.
16735 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16736
1af4e298
UD
167372011-05-14 Ulrich Drepper <drepper@gmail.com>
16738
f8a3b5bf 16739 [BZ #11952]
d26dfc60
MG
16740 [BZ #12453]
16741 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16742 until all modules are registered in the DTV.
16743 * elf/Makefile: Add rules to build and run tst-tls19.
16744 * elf/tst-tls19.c: New file.
16745 * elf/tst-tls19mod1.c: New file.
16746 * elf/tst-tls19mod2.c: New file.
16747 * elf/tst-tls19mod3.c: New file.
16748 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16749
2fc54d6f
UD
16750 [BZ #12083]
16751 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16752 correctly.
16753
98d76b46
UD
16754 [BZ #12601]
16755 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16756 two-byte sequence errors.
16757 * iconvdata/Makefile (tests): Add bug-iconv8.
16758 * iconvdata/bug-iconv8.c: New file.
16759
da3c19ef
UD
16760 [BZ #12626]
16761 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16762 buf2 definition.
16763
ca408c15
UD
16764 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16765
d6f67f7d
UD
16766 [BZ #12432]
16767 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16768 (dummy_getcfa): New function.
16769 (init): Get _Unwind_GetCFA address, use dummy if not found.
16770 (backtrace_helper): In recursion check, also check whether CFA changes.
16771 (__backtrace): Completely initialize arg.
16772
1af4e298 16773 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16774 storing incomplete byte sequence in state object. Avoid testing for
16775 guaranteed too small input if we know there is enough data available.
1af4e298 16776
da62f81b
AS
167772011-05-11 Andreas Schwab <schwab@redhat.com>
16778
16779 * Makeconfig (+link-pie): Indent.
16780 * Rules (binaries-pie): Define if $(have-fpie) and
16781 $(build-shared).
16782 (binaries-shared): Also filter out $(binaries-pie).
16783 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16784 * nscd/Makefile (others-pie): Add nscd.
16785 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16786 ($(objpfx)nscd): Remove command override.
16787 * login/Makefile (others-pie): Add pt_chown.
16788 ($(objpfx)pt_chown): Remove command override.
16789 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16790 remove command overrides.
16791
fcabc0f8
UD
167922011-05-13 Ulrich Drepper <drepper@gmail.com>
16793
20030ae6
UD
16794 * libio/tst_putwc.c: Fix error messages.
16795
fcabc0f8
UD
16796 [BZ #12724]
16797 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16798 currently writing and seek to current position when not.
16799 * libio/Makefile (tests): Add bug-fclose1.
16800 * libio/bug-fclose1.c: New file.
16801
320a5dc0
PB
168022011-05-12 Ulrich Drepper <drepper@gmail.com>
16803
16804 [BZ #12511]
16805 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16806 don't set DF_1_NODELETE here.
16807 (do_lookup_x): When entering new entry test for copy relocation
16808 and if necessary set DF_1_NODELETE flag.
16809 * elf/tst-unique4.cc: New file.
16810 * elf/tst-unique4.h: New file.
16811 * elf/tst-unique4lib.cc: New file.
16812 * elf/Makefile: Add rules to build and run tst-unique4.
16813 Patch by Piotr Bury <pbury@goahead.com>.
16814
22836f52
UD
168152011-05-11 Ulrich Drepper <drepper@gmail.com>
16816
f574184a
UD
16817 [BZ #12052]
16818 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16819
e1fb097f
UD
16820 [BZ #12625]
16821 * misc/mntent_r.c (addmntent): Flush the stream after the output
16822
22836f52
UD
16823 [BZ #12393]
16824 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16825 (is_trusted_path_normalize): Skip initial colon. Append slash
16826 to empty buffer. Duplicate is_trusted_path code but allow
16827 constructed patch to be prefix.
16828 (is_dst): Allow $ORIGIN followed by /.
16829 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16830 Correct testing of result of is_trusted_path_normalize
16831 (decompose_rpath): Fix warning.
16832
7b3b0b2a
UD
168332011-05-10 Ulrich Drepper <drepper@gmail.com>
16834
16835 [BZ #11257]
16836 * grp/initgroups.c (internal_getgrouplist): When we found the service
16837 list through the initgroups entry in nsswitch.conf do not always
16838 continue on a successful lookup. Don't always use the
eac80ce2 16839 __nss_group_database value if it is set.
7b3b0b2a
UD
16840 * nss/nsswitch.conf (initgroups): Change action for successful db
16841 lookup to continue for compatibility.
16842
2a81eaa5
UD
168432011-05-09 Ulrich Drepper <drepper@gmail.com>
16844
be97a69e
UD
16845 [BZ #11532]
16846 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16847 and CP774 modules.
16848 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16849 and CP774 modules.
16850 * iconvdata/tst-tables.sh: Likewise.
16851 * iconvdata/cp770.c: New file.
16852 * iconvdata/cp771.c: New file.
16853 * iconvdata/cp772.c: New file.
16854 * iconvdata/cp773.c: New file.
16855 * iconvdata/cp774.c: New file.
16856 * iconvdata/testdata/CP770: New file.
16857 * iconvdata/testdata/CP770..UTF8: New file.
16858 * iconvdata/testdata/CP771: New file.
16859 * iconvdata/testdata/CP771..UTF8: New file.
16860 * iconvdata/testdata/CP772: New file.
16861 * iconvdata/testdata/CP772..UTF8: New file.
16862 * iconvdata/testdata/CP773: New file.
16863 * iconvdata/testdata/CP773..UTF8: New file.
16864 * iconvdata/testdata/CP774: New file.
16865 * iconvdata/testdata/CP774..UTF8: New file.
16866
16867 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16868 END CHARMAP line.
16869 * iconvdata/gen-8bit-gap.sh: Likewise.
16870 * iconvdata/gen-8bit.sh: Likewise.
16871
c1e9e399
UD
16872 * locale/iso-639.def: Add ary entry.
16873
24c55fb3 16874 [BZ #11258]
96b4b1b0
UD
16875 * locale/C-translit.h.in: Add U20A1 transliteration.
16876
bdc2f971
KB
16877 [BZ #12178]
16878 * locale/iso-639.def: Add wae entry.
16879 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16880
2952b117
UD
16881 [BZ #12545]
16882 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16883 for n.
16884
2a81eaa5
UD
16885 [BZ #12711]
16886 * locale/C-translit.h.in: Add entry for U20B9.
16887 Patch by pravin.d.s@gmail.com.
16888
28377d1b
UD
168892011-05-08 Ulrich Drepper <drepper@gmail.com>
16890
7fb90fb8
UD
16891 [BZ #12713]
16892 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16893 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16894 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16895 in rtld. Use *stat64.
7fb90fb8 16896 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16897 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16898 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16899 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16900 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16901 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16902 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16903 __fstatat64 macros.
7fb90fb8
UD
16904 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16905 * dirent/rewinddir.c: Add libc_hidden_def.
16906 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16907 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16908
28377d1b
UD
16909 * include/dirent.h (__alloc_dir): Add flags parameter.
16910 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16911 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16912 __alloc_dir.
16913 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16914 from fdopendir if O_CLOEXEC is already set.
16915
66bdbaa4
AM
169162011-03-15 Alan Modra <amodra@gmail.com>
16917
16918 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16919 l_tls_firstbyte_offset non-zero. Save padding offset in
16920 l_tls_firstbyte_offset for later use.
16921 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16922 freeing static tls block.
16923
95721191
JN
169242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16925
16926 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16927 where #ifdef was intended. The intent is to prevent ARG_MAX from
16928 being defined by the kernel headers.
16929
f87dfb1f
UD
169302011-05-07 Ulrich Drepper <drepper@gmail.com>
16931
16932 [BZ #12734]
16933 * resolv/resolv.h: Define RES_NOTLDQUERY.
16934 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16935 no-tld-query and set RES_NOTLDQUERY.
16936 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16937 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16938 modern BIND to search name as TLD unless forbidden.
16939
47c3cd7a
UD
169402011-05-07 Petr Baudis <pasky@suse.cz>
16941 Ulrich Drepper <drepper@gmail.com>
16942
16943 [BZ #12393]
16944 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16945 (is_trusted_path): ...to here.
c1e9ea35 16946 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16947 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16948 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16949
8a35c912
PP
169502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16951
16952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16953 __BEGIN/__END_DECLS.
16954
acd41f47
UD
169552011-05-06 Ulrich Drepper <drepper@gmail.com>
16956
16957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16958 NSS_STATUS_NOTFOUND if no record was found.
16959
597df647
AS
169602011-05-05 Andreas Schwab <schwab@redhat.com>
16961
16962 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16963 (headers-not-in-tirpc): Remove rpc/netdb.h
16964 * resolv/netdb.h: Revert last change.
16965
b9af1301
PP
169662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16967
16968 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16969 circular dependency between libgcc.a and libc.a.
16970
4e34d5f5
AS
169712011-05-05 Andreas Schwab <schwab@redhat.com>
16972
16973 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16974 * nis/Makefile: Don't install rpcsvc/*.
16975 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16976 instead of <rpc/types.h>.
16977 (MAXHOSTNAMELEN): Define.
16978
00ee369c
AS
169792011-05-03 Andreas Schwab <schwab@redhat.com>
16980
16981 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16982
0b592a30
MB
169832011-04-28 Maciej Babinski <mbabinski@google.com>
16984
16985 [BZ #12714]
16986 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16987 gethostbyname4_r when IPv6 results are possible.
16988
6e04cbbe
UD
169892011-05-02 Ulrich Drepper <drepper@gmail.com>
16990
16991 [BZ #12723]
16992 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16993 _PC_PIPE_BUF handling.
16994
e4ecafe0
BH
169952011-04-30 Bruno Haible <bruno@clisp.org>
16996
16997 [BZ #12717]
16998 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16999 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17000 to 'int'.
17001 * inet/getnameinfo.c (getnameinfo): Likewise.
17002
125ee683
UD
170032011-04-29 Ulrich Drepper <drepper@gmail.com>
17004
17005 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17006 to groups setting in database lookup.
17007 * nss/nsswitch.conf: Add initgroups entry.
17008
b722481a
EB
170092011-04-22 Ulrich Drepper <drepper@gmail.com>
17010
17011 [BZ #12685]
17012 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17013 mode string.
17014 Patch by Eric Blake <eblake@redhat.com>.
17015
4df46dbd
L
170162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17017
17018 * sunrpc/Makefile (need-export-routines): Add svc_run.
17019 (routines): Remove svc_run.
17020 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17021 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17022 * sunrpc/svc_run.c (svc_run): Likewise.
17023 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17024
e84142d2
UD
170252011-04-21 Ulrich Drepper <drepper@gmail.com>
17026
17027 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17028 problem in reallocation in last patch.
17029
877175d8
UD
170302011-04-20 Ulrich Drepper <drepper@gmail.com>
17031
17032 * sunrpc/Makefile: Move inclusion of Rules.
17033
ab8eed78
UD
170342011-04-19 Ulrich Drepper <drepper@gmail.com>
17035
17036 * nss/nss_files/files-initgroups.c: New file.
17037 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17038 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17039 _nss_files_initgroups_dyn.
17040
e3d8f584
RS
170412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17042
17043 * elf/elf.h (R_ARM_IRELATIVE): Define.
17044
af190f45
UD
170452011-04-19 Ulrich Drepper <drepper@gmail.com>
17046
17047 * po/ru.po: Update from translation team.
17048
53cf59ef
UD
170492011-04-17 Ulrich Drepper <drepper@gmail.com>
17050
17051 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17052 dependencies.
17053
4c559bcd
MF
170542011-02-06 Mike Frysinger <vapier@gentoo.org>
17055
17056 [BZ #12653]
17057 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17058 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17060 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17062
4420675c
AS
170632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17064
17065 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17066 differing bytes.
17067 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17068 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17070
75ea32ab
UD
170712011-04-17 Ulrich Drepper <drepper@gmail.com>
17072
17073 [BZ #12420]
17074 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17075 storing it.
17076 * stdlib/bug-getcontext.c: New file.
17077 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17078
27390476
AK
170792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17080
17081 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17082 instructions into .machine "z9-109".
17083 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17084 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17085
10442705
AK
170862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17087
17088 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17089 between environment variables and auxiliary vector.
17090
7b57bfe5
UD
170912011-04-16 Ulrich Drepper <drepper@gmail.com>
17092
17093 * Makefile: Add rules to build linkobj/libc.so.
17094 * include/libc-symbols.h: Define libc_hidden_nolink.
17095 * include/rpc/auth.h: Mark functions which are to be hidden.
17096 * include/rpc/auth_des.h: Likewise.
17097 * include/rpc/auth_unix.h: Likewise.
17098 * include/rpc/clnt.h: Likewise.
17099 * include/rpc/des_crypt.h: Likewise.
17100 * include/rpc/key_prot.h: Likewise.
17101 * include/rpc/pmap_clnt.h: Likewise.
17102 * include/rpc/pmap_prot.h: Likewise.
17103 * include/rpc/pmap_rmt.h: Likewise.
17104 * include/rpc/rpc_msg.h: Likewise.
17105 * include/rpc/svc.h: Likewise.
17106 * include/rpc/svc_auth.h: Likewise.
17107 * include/rpc/xdr.h: Likewise.
17108 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17109 * nss/Makefile: Likewise.
17110 * sunrpc/Makefile: Don't install headers. Build library with normal
17111 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17112 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17113 for the compat linking library. Remove use of INTDEF/INTUSE.
17114 * sunrpc/auth_none.c: Likewise.
17115 * sunrpc/auth_unix.c: Likewise.
17116 * sunrpc/authdes_prot.c: Likewise.
17117 * sunrpc/authuxprot.c: Likewise.
17118 * sunrpc/clnt_gen.c: Likewise.
17119 * sunrpc/clnt_perr.c: Likewise.
17120 * sunrpc/clnt_raw.c: Likewise.
17121 * sunrpc/clnt_simp.c: Likewise.
17122 * sunrpc/clnt_tcp.c: Likewise.
17123 * sunrpc/clnt_udp.c: Likewise.
17124 * sunrpc/clnt_unix.c: Likewise.
17125 * sunrpc/des_crypt.c: Likewise.
17126 * sunrpc/des_soft.c: Likewise.
17127 * sunrpc/get_myaddr.c: Likewise.
17128 * sunrpc/key_call.c: Likewise.
17129 * sunrpc/key_prot.c: Likewise.
17130 * sunrpc/netname.c: Likewise.
17131 * sunrpc/pm_getmaps.c: Likewise.
17132 * sunrpc/pm_getport.c: Likewise.
17133 * sunrpc/pmap_clnt.c: Likewise.
17134 * sunrpc/pmap_prot.c: Likewise.
17135 * sunrpc/pmap_prot2.c: Likewise.
17136 * sunrpc/pmap_rmt.c: Likewise.
17137 * sunrpc/publickey.c: Likewise.
17138 * sunrpc/rpc_cmsg.c: Likewise.
17139 * sunrpc/rpc_common.c: Likewise.
17140 * sunrpc/rpc_dtable.c: Likewise.
17141 * sunrpc/rpc_prot.c: Likewise.
17142 * sunrpc/rpc_thread.c: Likewise.
17143 * sunrpc/rtime.c: Likewise.
17144 * sunrpc/svc.c: Likewise.
17145 * sunrpc/svc_auth.c: Likewise.
17146 * sunrpc/svc_authux.c: Likewise.
17147 * sunrpc/svc_raw.c: Likewise.
17148 * sunrpc/svc_run.c: Likewise.
17149 * sunrpc/svc_simple.c: Likewise.
17150 * sunrpc/svc_tcp.c: Likewise.
17151 * sunrpc/svc_udp.c: Likewise.
17152 * sunrpc/svc_unix.c: Likewise.
17153 * sunrpc/svcauth_des.c: Likewise.
17154 * sunrpc/xcrypt.c: Likewise.
17155 * sunrpc/xdr.c: Likewise.
17156 * sunrpc/xdr_array.c: Likewise.
17157 * sunrpc/xdr_float.c: Likewise.
17158 * sunrpc/xdr_intXX_t.c: Likewise.
17159 * sunrpc/xdr_mem.c: Likewise.
17160 * sunrpc/xdr_rec.c: Likewise.
17161 * sunrpc/xdr_ref.c: Likewise.
17162 * sunrpc/xdr_sizeof.c: Likewise.
17163 * sunrpc/xdr_stdio.c: Likewise.
17164
e6c61494
UD
171652011-04-10 Ulrich Drepper <drepper@gmail.com>
17166
17167 [BZ #12650]
17168 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17169 * sysdeps/ia64/dl-tls.h: Likewise.
17170 * sysdeps/powerpc/dl-tls.h: Likewise.
17171 * sysdeps/s390/dl-tls.h: Likewise.
17172 * sysdeps/sh/dl-tls.h: Likewise.
17173 * sysdeps/sparc/dl-tls.h: Likewise.
17174 * sysdeps/x86_64/dl-tls.h: Likewise.
17175 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17176
34fe483e
AS
171772011-03-14 Andreas Schwab <schwab@redhat.com>
17178
17179 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17180 rpath element also skip the following colon.
17181 (expand_dynamic_string_token): Add is_path parameter and pass
17182 down to DL_DST_REQUIRED and _dl_dst_substitute.
17183 (decompose_rpath): Call expand_dynamic_string_token with
17184 non-zero is_path. Ignore empty rpaths.
17185 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17186 with zero is_path.
17187
f12a32e6
AS
171882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17189
17190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17191 Make cancelable.
17192
38a7d692
UD
171932011-04-09 Ulrich Drepper <drepper@gmail.com>
17194
17195 [BZ #12655]
17196 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17197 Patch by Filipe David Manana <fdmanana@apache.org>.
17198
e451d22b
AS
171992011-04-07 Andreas Schwab <schwab@redhat.com>
17200
17201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17202 Maintain aligned stack.
17203 (CHECK_RSP): Remove unused macro.
17204
dedc7c7b
UD
172052011-04-03 Ulrich Drepper <drepper@gmail.com>
17206
17207 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17208 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17209
94521213
UD
172102011-04-02 Ulrich Drepper <drepper@gmail.com>
17211
17212 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17213
8cb700c0 17214 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17215
0354e355
L
172162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17217
17218 [BZ #12518]
17219 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17220 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17221 * sysdeps/x86_64/memmove.c: New file.
17222 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17223 (memcpy): Renamed to ...
17224 (__new_memcpy): This.
17225 (memcpy): Provide GLIBC_2_14 memcpy.
17226 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17227 (memcpy): Provide GLIBC_2_2_5 memcpy.
17228
8593482f
UD
172292011-04-01 Ulrich Drepper <drepper@gmail.com>
17230
17231 [BZ #12631]
17232 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17233
81a5726b
AS
172342011-03-30 Andreas Schwab <schwab@redhat.com>
17235
17236 * misc/syncfs.c: New file.
17237 * misc/Makefile (routines): Add syncfs.
17238 * posix/unistd.h: Declare syncfs.
17239 * sysdeps/unix/syscalls.list: Add syncfs.
17240
00e5419f
AS
172412011-04-01 Andreas Schwab <schwab@redhat.com>
17242
17243 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17244 open_by_handle_at.
17245 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17246 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17250 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17252
748876bf
UD
172532011-04-01 Ulrich Drepper <drepper@gmail.com>
17254
658e451d
UD
17255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17257 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17259 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17262
748876bf
UD
17263 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17264 sync_file_range.c with -fexceptions.
17265 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17266 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17267 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17268 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17269 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17270 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17272 sync_file_range as cancellation point
17273 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17274 now a wrapper around __call_sync_file_range with cancellation handling.
17275 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17276 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17277 function name to __call_sync_file_range.
17278 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17279 Add call_sync_file_range.
748876bf 17280
6e63d5e1
AS
172812011-04-01 Andreas Schwab <schwab@redhat.com>
17282
17283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17284 bits/timex.h.
6e63d5e1 17285
46998f74
UD
172862011-04-01 Ulrich Drepper <drepper@gmail.com>
17287
4c1423ed
UD
17288 * iconv/iconv.h: Fix typo in comment.
17289 * io/fcntl.h: Likewise.
17290 * libio/stdio.h: Likewise.
17291 * posix/spawn.h: Likewise.
17292 * posix/unistd.h: Likewise.
17293 * stdlib/stdlib.h: Likewise.
17294 * time/time.h: Likewise.
17295 * wcsmbs/wchar.h: Likewise.
17296
158648c0
UD
17297 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17298 open_by_handle): Add.
17299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17300 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17301 Augment a few comments.
17302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17307 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17308 open_by_handle.
17309
46998f74
UD
17310 * io/fcntl.h (AT_EMPTY_PATH): Define.
17311
83fe108b
UD
173122011-03-30 Ulrich Drepper <drepper@gmail.com>
17313
17314 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17315 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17316 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17317 to...
17318 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17319 * Versions.def: Add GLIBC_2.14.
17320 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17321 Export.
83fe108b 17322
bb242059
UD
173232011-03-22 Ulrich Drepper <drepper@gmail.com>
17324
17325 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17326 round counter.
17327 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17328
c97a1282
L
173292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17330
17331 [BZ #12597]
17332 * string/test-strncmp.c (do_page_test): New function.
17333 (check2): Likewise.
17334 (test_main): Call check2.
17335 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17336
2a115601
UD
173372011-03-20 Ulrich Drepper <drepper@gmail.com>
17338
17339 [BZ #12587]
17340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17341 Handle cache information in CPU leaf 4.
17342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17343
8126d904
UD
173442011-03-18 Ulrich Drepper <drepper@gmail.com>
17345
042c49c6 17346 [BZ #12583]
8126d904
UD
17347 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17348 character representation.
17349 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17350
ccfe366e
RA
173512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17352
17353 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17354 END(__isnan) to END(__isnanf) to match function entry point/label
17355 EALIGN(__isnanf,...).
17356
c6e13027
JJ
173572011-03-10 Jakub Jelinek <jakub@redhat.com>
17358
17359 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17360
33f85a3f
UD
173612011-03-10 Ulrich Drepper <drepper@gmail.com>
17362
028478fa
UD
17363 [BZ #12510]
17364 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17365 copy from the symbol referenced in the relocation to initialize the
17366 used variable.
17367 Patch by Piotr Bury <pbury@goahead.com>.
17368 * elf/Makefile: Add rules to build and tst-unique3.
17369 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17370 * elf/tst-unique3.cc: New file.
17371 * elf/tst-unique3.h: New file.
17372 * elf/tst-unique3lib.cc: New file.
17373 * elf/tst-unique3lib2.cc: New file.
17374
33f85a3f
UD
17375 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17376
03592fc7
MF
173772011-03-10 Mike Frysinger <vapier@gentoo.org>
17378
17379 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17380 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17381 to _start.
03592fc7 17382
6a5ee102
UD
173832011-03-06 Ulrich Drepper <drepper@gmail.com>
17384
17385 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17386 to-be-loaded object along a path to loader is ld.so.
17387
7e4ba49c
HJ
173882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17389 Ulrich Drepper <drepper@gmail.com>
17390
17391 * sysdeps/x86_64/memset.S: After aligning destination, code
17392 branches to different locations depending on the value of
17393 misalignment, when multiarch is enabled. Fix this.
17394
173952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17396
17397 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17398 Set _x86_64_preferred_memory_instruction for AMD processsors.
17399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17400 Set bit_Prefer_SSE_for_memop for AMD processors.
17401
13a804de
UD
174022011-03-04 Ulrich Drepper <drepper@gmail.com>
17403
17404 * libio/fmemopen.c (fmemopen): Optimize a bit.
17405
9d25c392
AS
174062011-03-03 Andreas Schwab <schwab@redhat.com>
17407
17408 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17409
a5543c6a
RM
174102011-03-03 Roland McGrath <roland@redhat.com>
17411
17412 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17413
012d35f7
DM
174142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17415
7e4ba49c 17416 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17417 __bzero_ultra1 instead of __memset_ultra1.
17418
4bff6e01
AS
174192011-02-23 Andreas Schwab <schwab@redhat.com>
17420 Ulrich Drepper <drepper@gmail.com>
17421
17422 [BZ #12509]
17423 * include/link.h (struct link_map): Add l_orig_initfini.
17424 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17425 returning unsuccessfully.
17426 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17427 close of a file loaded at startup, restore the original l_initfini
17428 list.
17429 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17430 list, store the pointer.
17431 * elf/Makefile ($(objpfx)noload-mem): New rule.
17432 (noload-ENV): Define.
17433 (tests): Add $(objpfx)noload-mem.
17434 * elf/noload.c: Include <memcheck.h>.
17435 (main): Call mtrace. Close all opened handles.
17436
f2092faf
AS
174372011-02-17 Andreas Schwab <schwab@redhat.com>
17438
17439 [BZ #12454]
17440 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17441 dependencies are missing.
17442
6c8a2e88
ST
174432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17444
f2092faf 17445 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17446 Hurd needs munmap.
17447 * sysdeps/mach/hurd/ifreq.h: New file.
17448
84a42118
PB
174492011-01-27 Petr Baudis <pasky@suse.cz>
17450 Ulrich Drepper <drepper@gmail.com>
17451
071f805e 17452 [BZ 12445]#
84a42118
PB
17453 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17454 to extend_alloca().
17455 * stdio-common/bug23.c: New file.
17456 * stdio-common/Makefile (tests): Add bug23.
17457
e23fe25b
AS
174582010-09-28 Andreas Schwab <schwab@redhat.com>
17459 Ulrich Drepper <drepper@gmail.com>
17460
17461 [BZ #12489]
17462 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17463 before performing relro protection. At old place add assertion
17464 to make sure nothing changed.
17465
d3f02e10
NS
174662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17467 Glauber de Oliveira Costa <glommer@gmail.com>
17468
17469 * elf/elf.h: Add new ARM TLS relocs.
17470
d55fd7a5
RA
174712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17472
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17474 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17475 cast from r3.
17476 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17477 'tests' variable.
17478 * sysdeps/wordsize-64/tst-writev.c: New file.
17479
2206397e
RA
174802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17481
17482 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17483 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17484 insns in _dl_start to prevent a TOC reference before relocs are
17485 resolved.
17486
e9433893
UD
174872011-02-15 Ulrich Drepper <drepper@gmail.com>
17488
17489 [BZ #12469]
17490 * Makeconfig: Remove RANLIB definition.
17491 * Makerules: Don't use RANLIB.
17492 * aclocal.m4: Remove ranlib test.
17493 * configure.in: No need to check for ranlib.
17494 * elf/rtld-Rules: Don't use RANLIB.
17495
f75286c6
ST
174962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17497
8e31c82d
ST
17498 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17499 protection macro.
17500 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17501 inclusion protection macro.
17502
f75286c6
ST
17503 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17504 SIGRTMIN and SIGRTMAX and print information in that case only when
17505 SIGRTMIN is defined.
17506
c1d0e639
JJ
175072011-02-11 Jakub Jelinek <jakub@redhat.com>
17508
17509 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17510 arginfo fn returning -1.
17511
17512 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17513 and thousands string is zero terminated.
17514
edf9294e
AS
175152011-02-03 Andreas Schwab <schwab@redhat.com>
17516
17517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17518 sysdeps/unix/sysv/linux/bits/socket.h.
17519
2b7e92df
ST
175202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17521
edf9294e
AS
17522 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17523 (__CPU_COUNT): Remove old macros.
17524 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17525 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17526 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17527 (__sched_cpualloc, __sched_cpufree): Add declarations.
17528
a4c7ea7b
UD
175292011-02-05 Ulrich Drepper <drepper@gmail.com>
17530
17531 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17532 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17533 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17534 (readdhstai): Return value of addhstaiX call.
17535 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17536 (addgrbyX): Return value returned by cache_addgr.
17537 (readdgrbyname): Return value returned by addgrbyX.
17538 (readdgrbygid): Likewise.
17539 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17540 (addpwbyX): Return value returned by cache_addpw.
17541 (readdpwbyname): Return value returned by addhstbyX.
17542 (readdpwbyuid): Likewise.
17543 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17544 (addservbyX): Return value returned by cache_addserv.
17545 (readdservbyname): Return value returned by addservbyX:
17546 (readdservbyport): Likewise.
17547 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17548 (addhstbyX): Return value returned by cache_addhst.
17549 (readdhstbyname): Return value returned by addhstbyX.
17550 (readdhstbyaddr): Likewise.
17551 (readdhstbynamev6): Likewise.
17552 (readdhstbyaddrv6): Likewise.
17553 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17554 (readdinitgroups): Return value returned by addinitgroupsX.
17555 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17556 (prune_cache): Keep track of timeout value of re-added entries.
17557 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17558 * nscd/nscd.h: Adjust prototypes of readd* functions.
17559
a0bf67cc
RM
175602011-02-04 Roland McGrath <roland@redhat.com>
17561
17562 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17563 (nis_stats): Likewise.
17564 * nis/nis_modify.c (nis_modify): Likewise.
17565 * nis/nis_remove.c (nis_remove): Likewise.
17566 * nis/nis_add.c (nis_add): Likewise.
17567
17568 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17569
17570 * posix/fnmatch_loop.c: Add some consts.
17571
17572 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17573
435b95eb
L
175742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17575
17576 [BZ #12460]
17577 * config.make.in (config-cflags-novzeroupper): Define.
17578 * configure.in: Substitute libc_cv_cc_novzeroupper.
17579 * elf/Makefile (AVX-CFLAGS): Define.
17580 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17581 (CFLAGS-tst-auditmod4a.c): Likewise.
17582 (CFLAGS-tst-auditmod4b.c): Likewise.
17583 (CFLAGS-tst-auditmod6b.c): Likewise.
17584 (CFLAGS-tst-auditmod6c.c): Likewise.
17585 (CFLAGS-tst-auditmod7b.c): Likewise.
17586 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17587
8517b15e
UD
175882011-02-02 Ulrich Drepper <drepper@gmail.com>
17589
17590 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17591 function to the callback.
17592 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17593
10a656fe
AS
175942011-02-02 Andreas Schwab <schwab@redhat.com>
17595
17596 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17597 of errno.
17598
968dad0a
UD
175992011-01-19 Ulrich Drepper <drepper@gmail.com>
17600
9f94d2ea 17601 [BZ #11724]
968dad0a
UD
17602 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17603 of constructors.
17604 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17605 of destructors.
17606 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17607
17608 [BZ #11724]
17609 * elf/Makefile: Add rules to build and run new test.
17610 * elf/tst-initorder.c: New file.
17611 * elf/tst-initorder.exp: New file.
17612 * elf/tst-initordera1.c: New file.
17613 * elf/tst-initordera2.c: New file.
17614 * elf/tst-initordera3.c: New file.
17615 * elf/tst-initordera4.c: New file.
17616 * elf/tst-initorderb1.c: New file.
17617 * elf/tst-initorderb2.c: New file.
17618 * elf/tst-order-a1.c: New file.
17619 * elf/tst-order-a2.c: New file.
17620 * elf/tst-order-a3.c: New file.
17621 * elf/tst-order-a4.c: New file.
17622 * elf/tst-order-b1.c: New file.
17623 * elf/tst-order-b2.c: New file.
17624 * elf/tst-order-main.c: New file.
17625 New test case by George Gensure <werkt0@gmail.com>.
17626
86e92359
UD
176272010-10-01 Andreas Schwab <schwab@redhat.com>
17628
17629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17630 decoding ACE if AI_CANONIDN.
17631
5d5732b0
UD
176322011-01-18 Ulrich Drepper <drepper@gmail.com>
17633
17634 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17635
a77e8cbc
UD
176362011-01-17 Ulrich Drepper <drepper@gmail.com>
17637
6392473f
UD
17638 * version.h (RELEASE): Bump for 2.13 release.
17639 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17640
620a0529
UD
17641 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17642
18ba70a5
UD
17643 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17644 MADV_NOHUGEPAGE.
32465c3e
UD
17645 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17646 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17647 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17651
c0dafcf1
UD
17652 * posix/getconf.c: Update copyright year.
17653 * catgets/gencat.c: Likewise.
17654 * csu/version.c: Likewise.
17655 * debug/catchsegv.sh: Likewise.
17656 * debug/xtrace.sh: Likewise.
17657 * elf/ldconfig.c: Likewise.
17658 * elf/ldd.bash.in: Likewise.
17659 * elf/sprof.c (print_version): Likewise.
17660 * iconv/iconv_prog.c: Likewise.
17661 * iconv/iconvconfig.c: Likewise.
17662 * locale/programs/locale.c: Likewise.
17663 * locale/programs/localedef.c: Likewise.
17664 * malloc/memusage.sh: Likewise.
17665 * malloc/mtrace.pl: Likewise.
17666 * nscd/nscd.c (print_version): Likewise.
17667 * nss/getent.c: Likewise.
17668
a77e8cbc
UD
17669 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17670 PF_CAIF, and PF_ALG.
17671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17672
77e8bddf
AS
176732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17674
1f20b93a
AS
17675 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17676 (modules-names): Use them.
17677 (ifunc-test-modules, ifunc-pie-tests): Define.
17678 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17679 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17680 (test-extras): Likewise.
17681 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17682 $(compile-command.c).
17683 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17684 (all-built-dso): Define.
17685 (check-textrel.out, check-execstack.out): Depend on it.
17686
77e8bddf
AS
17687 * configure.in: Don't override --enable-multi-arch.
17688
bc425b33
UD
176892011-01-15 Ulrich Drepper <drepper@gmail.com>
17690
17691 [BZ #6812]
17692 * nscd/hstcache.c (tryagain): Define.
17693 (cache_addhst): Return tryagain not notfound for temporary errors.
17694 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17695 failed.
17696
794c3ad3
UD
176972011-01-14 Ulrich Drepper <drepper@gmail.com>
17698
70181fdd
UD
17699 [BZ #10563]
17700 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17701 to make the syscall.
17702 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17703
794c3ad3
UD
17704 [BZ #12378]
17705 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17706 and fall back to matching as normal character if the string ends before
17707 the matching ']' is found. This is what POSIX requires.
17708 * posix/testfnm.c: Adjust test result.
17709 * posix/globtest.sh: Adjust test result. Add new test.
17710 * posix/tst-fnmatch.input: Likewise.
17711 * posix/tst-fnmatch2.c: Add new test.
17712
68dc9497
AS
177132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17714
17715 * elf/Makefile (check-execstack): Revert last change. Depend on
17716 check-execstack.h.
17717 (check-execstack.h): New target.
17718 (generated): Add check-execstack.h.
17719 * elf/check-execstack.c: Include "check-execstack.h".
17720 (main): Revert last change.
17721 (handle_file): Return zero if GNU_STACK is absent and
17722 DEFAULT_STACK_PERMS doesn't include PF_X.
17723
451f001b
UD
177242011-01-13 Ulrich Drepper <drepper@gmail.com>
17725
cfa28e56
UD
17726 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17727 in child fails because the descriptor is already closed.
8cf8ce17
UD
17728 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17729 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17730 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17731
1086d70d
UD
17732 [BZ #12397]
17733 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17734 syscall.
17735
451f001b
UD
17736 [BZ #10484]
17737 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17738 temporary buffer used to handle multi lookups locally.
a85b5cb4 17739 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17740
08769175
UD
177412011-01-12 Ulrich Drepper <drepper@gmail.com>
17742
17743 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17744 loader is ld.so.
17745
5e49c52e
UD
177462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17747
17748 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17749 alignment for SSE2.
17750
60522a5f
UD
177512011-01-12 Ulrich Drepper <drepper@gmail.com>
17752
17753 [BZ #12394]
17754 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17755 characters. When rounding increased number of integer digits recompute
17756 number of groups.
17757 * stdio-common/tst-grouping.c: New file.
17758 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17759
f257bbd7
UD
177602011-01-09 Ulrich Drepper <drepper@gmail.com>
17761
17762 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17763 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17764
17765 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17766 void.
17767 * bits/select.h: Likewise.
17768
fa9c15cb
UD
177692011-01-08 Ulrich Drepper <drepper@gmail.com>
17770
17771 * po/ja.po: Update from translation team.
17772
16c2895f
DM
177732011-01-04 David S. Miller <davem@sunset.davemloft.net>
17774
17775 [BZ #11155]
17776 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17777 implementation just like for lxstat, fxstatat, et al.
17778
2543fef2
JM
177792010-12-27 Jim Meyering <meyering@redhat.com>
17780
17781 [BZ #12348]
17782 * posix/regexec.c (build_trtable): Return failure indication upon
17783 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17784
98727dbe
UD
177852010-12-25 Ulrich Drepper <drepper@gmail.com>
17786
5bd6dc5c
UD
17787 [BZ #12201]
17788 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17789 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17790 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17792
97983464
UD
17793 [BZ #12207]
17794 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17795
98727dbe
UD
17796 [BZ #12204]
17797 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17798 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17799
4a531bb0
L
178002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17801
17802 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17803 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17804 script has SORT_BY_INIT_PRIORITY.
17805 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17806 NO_CTORS_DTORS_SECTIONS is defined.
17807 * elf/soinit.c: Likewise.
17808 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17809 NO_CTORS_DTORS_SECTIONS is defined.
17810 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17811 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17812 * sysdeps/sh/init-first.c: Likewise.
17813 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17814
07eb4b71
UD
178152010-12-24 Ulrich Drepper <drepper@gmail.com>
17816
17817 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17818 always use the slow path.
17819
30950a5f
RA
178202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17821
17822 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17823 similar rule which adds the sysdep directories to the header search in
17824 order to pick up the correct platform stackinfo.h.
17825 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17826 perform test if it is, otherwise return successfully without testing.
17827 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17828 DEFAULT_STACK_PERMS define in stackinfo.h.
17829 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17830 defined in stackinfo.h.
17831 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17832 DEFAULT_STACK_PERMS defined in stackinfo.h.
17833 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17834 * sysdeps/ia64/stackinfo.h: Likewise.
17835 * sysdeps/s390/stackinfo.h: Likewise.
17836 * sysdeps/sh/stackinfo.h: Likewise.
17837 * sysdeps/sparc/stackinfo.h: Likewise.
17838 * sysdeps/x86_64/stackinfo.h: Likewise.
17839 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17840 PF_X for powerpc64. Retain PF_X for powerpc32.
17841
db753e2c
UD
178422010-12-19 Ulrich Drepper <drepper@gmail.com>
17843
14b697f7
UD
17844 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17845 accurately.
db753e2c
UD
17846 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17847 GETDENTS_64BIT_ALIGNED.
17848
28300719
UD
178492010-12-14 Ulrich Drepper <dreper@gmail.com>
17850
14b697f7 17851 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17852
4f197237
AS
178532010-12-10 Andreas Schwab <schwab@redhat.com>
17854
dbb0472f
AS
17855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17856 _GNU_SOURCE.
17857
4f197237
AS
17858 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17859 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17860 Remove __restrict.
17861 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17862 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17863
fb88ac72
UD
178642010-12-09 Ulrich Drepper <drepper@gmail.com>
17865
17866 [BZ #11655]
17867 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17868 are initialized.
17869
42acbb92
JJ
178702010-12-09 Jakub Jelinek <jakub@redhat.com>
17871
17872 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17873
c038d98d
UD
178742010-12-03 Ulrich Drepper <drepper@gmail.com>
17875
17876 * po/it.po: Update from translation team.
17877
3a4a2499
L
178782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17881 unused codes.
17882
1e24cf6e
UD
178832010-11-30 Ulrich Drepper <drepper@gmail.com>
17884
17885 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17886
a7690819
AS
178872010-11-24 Andreas Schwab <schwab@redhat.com>
17888
17889 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17890 specially.
17891 (gaih_getanswer_slice): Likewise.
17892
3bf8d1b1
JJ
178932010-10-20 Jakub Jelinek <jakub@redhat.com>
17894
17895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17896
6db52fbb
PB
178972010-05-31 Petr Baudis <pasky@suse.cz>
17898
17899 [BZ #11149]
17900 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17901 silently even in the chroot mode.
17902
eaca7569
UD
179032010-11-22 Ulrich Drepper <drepper@gmail.com>
17904
17905 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17906 last patch a bit. Pretty printing
17907
3056dcdb
UD
179082010-05-31 Petr Baudis <pasky@suse.cz>
17909
17910 [BZ #10085]
17911 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17912 initialization of skip_initgroups_dyn.
17913
cf7c9078
UD
179142010-11-19 Ulrich Drepper <drepper@gmail.com>
17915
17916 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17917 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17918
a1fb5e3e
UD
179192010-11-16 Ulrich Drepper <drepper@gmail.com>
17920
17921 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17922
3540d66b
AS
179232010-11-11 Andreas Schwab <schwab@redhat.com>
17924
17925 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17926 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17927 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17928 ($(objpfx)tst-fnmatch-mem): New rule.
17929 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17930 * posix/tst-fnmatch.c (main): Call mtrace.
17931
13b69574
L
179322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17933
17934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17935 Support Intel processor model 6 and model 0x2c.
17936
da93d214
LM
179372010-11-10 Luis Machado <luisgpm@br.ibm.com>
17938
17939 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17940 signed comparison.
17941
8ca52c6e
L
179422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17943
17944 [BZ #12205]
17945 * string/test-strncasecmp.c (check_result): New function.
17946 (do_one_test): Use it.
17947 (check1): New function.
17948 (test_main): Use it.
17949 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17950 Support strcasecmp and strncasecmp.
17951
69da074d
UD
179522010-11-08 Ulrich Drepper <drepper@gmail.com>
17953
17954 [BZ #12194]
17955 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17956 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17957
ff02d528
L
179582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17959
17960 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17961 IFUNC support.
17962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17963 memset-x86-64.
17964 * sysdeps/x86_64/multiarch/bzero.S: New file.
17965 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17966 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17967 * sysdeps/x86_64/multiarch/memset.S: New file.
17968 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17970 Set bit_Prefer_SSE_for_memop for Intel processors.
17971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17972 Define.
17973 (index_Prefer_SSE_for_memop): Define.
17974 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17975
344d0b54
LM
179762010-11-04 Luis Machado <luisgpm@br.ibm.com>
17977
17978 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17979 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17980
c0dde15b
UD
179812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17982
17983 [BZ #12191]
17984 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17985 (__x86_64_raw_data_cache_size_half): Likewise.
17986 (__x86_64_raw_shared_cache_size): Likewise.
17987 (__x86_64_raw_shared_cache_size_half): Likewise.
17988
17989 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17990 (__x86_64_raw_data_cache_size_half): Likewise.
17991 (__x86_64_raw_shared_cache_size): Likewise.
17992 (__x86_64_raw_shared_cache_size_half): Likewise.
17993 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17994 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17995 and __x86_64_raw_shared_cache_size_half. Round
17996 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17997 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17998 to multiple of 256 bytes.
17999
0e516e0e
MS
180002010-11-03 Ulrich Drepper <drepper@gmail.com>
18001
18002 [BZ #12167]
18003 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18004 of inacessible symlinks. Verify result of symlink before returning it.
18005 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18006 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18007
0e012e87
ER
180082010-10-28 Erich Ritz <erichritz@gmail.com>
18009
18010 * math/math.h (isinf): Fix typo in comment.
18011
de0ff7bc
UD
180122010-11-01 Ulrich Drepper <drepper@gmail.com>
18013
18014 * po/da.po: Update from translation team.
18015
fa41c84d
UD
180162010-10-26 Ulrich Drepper <drepper@gmail.com>
18017
18018 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18019 is added to the list.
18020
f0967738
AK
180212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18022 Ulrich Drepper <drepper@gmail.com>
18023
18024 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18025 the global list here. Move code to...
18026 (_dl_add_to_namespace_list): ...here. New function.
18027 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18028 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18029 * elf/dl-load.c (lose): Don't remove the element from the list.
18030 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18031 (_dl_map_object): Likewise.
18032
180332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18034
18035 [BZ #12159]
18036 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18037 into all bytes of SSE register.
18038 Patch by Richard Li <richardpku@gmail.com>.
18039
f0967738 180402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18041
18042 [BZ #12140]
18043 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18044 perturbing.
18045
d0b9e94f
MB
180462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18047
18048 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18049 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18050 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18051 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18053 submachine.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18055
8e9f92e9
AS
180562010-10-22 Andreas Schwab <schwab@redhat.com>
18057
18058 * include/dlfcn.h (__RTLD_SECURE): Define.
18059 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18060 mode & __RTLD_SECURE instead.
18061 (open_path): Rename preloaded parameter to secure.
18062 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18063 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18064 * elf/dl-deps.c (openaux): Likewise.
18065 * elf/rtld.c (struct map_args): Remove is_preloaded.
18066 (map_doit): Don't use it.
18067 (dl_main): Likewise.
18068 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18069 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18070
bc96fbda
AS
180712010-09-09 Andreas Schwab <schwab@redhat.com>
18072
18073 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18074 (sysd-rules-targets): Remove duplicates.
18075 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18076 rtld-%.$o dependency.
18077
22cd1c9b
AS
180782010-10-18 Andreas Schwab <schwab@redhat.com>
18079
18080 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18081 _dl_map_object do it.
18082
18edac48
UD
180832010-10-19 Ulrich Drepper <drepper@gmail.com>
18084
18085 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18086 fast fma builtins, define the macros in the C99 standard.
18087 (FP_FAST_FMAF): Likewise.
18088 (FP_FAST_FMAL): Likewise.
18089 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18090
18091 * bits/mathdef.h: Update copyright year.
18092 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18093
d2050124
MM
180942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18095
18096 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18097 builtins, define the macros in the C99 standard.
18098 (FP_FAST_FMAF): Likewise.
18099 (FP_FAST_FMAL): Likewise.
18100 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18101 multiply/add.
18102 (FP_FAST_FMAF): Likewise.
18103
475facd1
JJ
181042010-10-15 Jakub Jelinek <jakub@redhat.com>
18105
18106 [BZ #3268]
18107 * math/libm-test.inc (fma_test): Some new testcases.
18108 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18109 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18110 y and infinite z. Do multiplication by C already in long double.
18111 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18113 y and infinite z. Do bitwise or of inexact bit into u.d.
18114 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18115 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18116 * sysdeps/i386/fpu/s_fma.S: Removed.
18117 * sysdeps/i386/fpu/s_fmal.S: Removed.
18118
7c08a05c
JJ
181192010-10-16 Jakub Jelinek <jakub@redhat.com>
18120
18121 [BZ #3268]
18122 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18124 computation is not scheduled after fetestexcept. Fix value
18125 of minimum denormal long double.
18126
f3f7372d
JJ
181272010-10-14 Jakub Jelinek <jakub@redhat.com>
18128
18129 [BZ #3268]
18130 * math/libm-test.inc (fma_test): Add some more tests.
18131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18132 correctly.
18133
14d43591
AS
181342010-10-15 Andreas Schwab <schwab@redhat.com>
18135
18136 * scripts/data/localplt-s390-linux-gnu.data: New file.
18137 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18138
5e908464
JJ
181392010-10-13 Jakub Jelinek <jakub@redhat.com>
18140
18141 [BZ #3268]
18142 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18143 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18144 instead of dbl-64.
18145 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18146 inlines.
18147 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18149 if one of x and y is very large and the other is subnormal.
18150 * sysdeps/s390/fpu/s_fmaf.c: New file.
18151 * sysdeps/s390/fpu/s_fma.c: New file.
18152 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18153 * sysdeps/powerpc/fpu/s_fma.S: New file.
18154 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18155 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18156 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18157
181582010-10-12 Jakub Jelinek <jakub@redhat.com>
18159
18160 [BZ #3268]
18161 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18162 fma tests.
18163 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18164 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18165 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18166 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18167 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18168 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18170
b833d51f
UD
181712010-10-12 Ulrich Drepper <drepper@redhat.com>
18172
18173 [BZ #12078]
18174 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18175 * posix/bug-regex31.input: Add test case.
18176
1751705d
UD
181772010-10-11 Ulrich Drepper <drepper@gmail.com>
18178
e9b9cbf5
UD
18179 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18180 * posix/bug-regex31.input: New file.
18181
18182 [BZ #12078]
18183 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18184 (parse_sub_exp): Fix last change, use postorder.
18185
ef06edbe
UD
18186 * posix/bug-regex31.c: New file.
18187 * posix/Makefile: Add rules to build and run bug-regex31.
18188
a129c80d
UD
18189 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18190
18191 [BZ #12078]
18192 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18193
b76b818e
UD
18194 [BZ #12108]
18195 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18196 to have entries in sys_siglist.
18197
1751705d
UD
18198 [BZ #12093]
18199 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18200 be NULL.
18201
9ff8d36f
JJ
182022010-10-07 Jakub Jelinek <jakub@redhat.com>
18203
18204 [BZ #3268]
18205 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18206 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18207 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18208 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18209 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18210 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18211 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18212 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18213 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18214 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18215 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18216 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18217 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18218 * math/ftestexcept.c (fetestexcept): Likewise.
18219 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18220 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18221 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18222 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18223 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18224 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18225 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18226
af325969
UD
182272010-10-11 Ulrich Drepper <drepper@gmail.com>
18228
c579b202 18229 [BZ #12107]
af325969
UD
18230 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18231 newline.
18232
67a67b95
UD
182332010-10-06 Ulrich Drepper <drepper@gmail.com>
18234
18235 * string/bug-strstr1.c: New file.
18236 * string/Makefile: Add rules to build and run bug-strstr1.
18237
5fb308bc
EB
182382010-10-05 Eric Blake <eblake@redhat.com>
18239
18240 [BZ #12092]
18241 * string/str-two-way.h (two_way_long_needle): Always clear memory
18242 when skipping input due to the shift table.
18243
45db99c7
UD
182442010-10-03 Ulrich Drepper <drepper@gmail.com>
18245
3b111893
UD
18246 [BZ #12005]
18247 * malloc/mcheck.c: Handle large requests.
18248
45db99c7
UD
18249 [BZ #12077]
18250 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18251 for strncmp and strncasecmp.
18252 * string/stratcliff.c: Add tests for strcmp and strncmp.
18253 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18254
cf7a1eb8
NI
182552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18256
18257 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18258 __set_fpscr.
18259
6484ba5e
AJ
182602010-09-30 Andreas Jaeger <aj@suse.de>
18261
18262 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18263 (CGROUP_SUPER_MAGIC): Define.
18264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18265 Handle btrfs and cgroup file systems.
18266 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18267 Likewise.
18268
91c42559
LM
182692010-09-27 Luis Machado <luisgpm@br.ibm.com>
18270
18271 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18272 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18273
87a97932
AK
182742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18275
18276 [BZ #12067]
18277 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18278 trying to locate the ELF header.
18279
c21cc9bc
AS
182802010-09-27 Andreas Schwab <schwab@redhat.com>
18281
18282 [BZ #11611]
18283 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18284 Mask out sign-bit copies when constructing f_fsid.
18285
315970f6
PB
182862010-09-24 Petr Baudis <pasky@suse.cz>
18287
18288 * debug/stack_chk_fail_local.c: Add missing licence exception.
18289 * debug/warning-nop.c: Likewise.
18290
1ac7a2c7
JM
182912010-09-15 Joseph Myers <joseph@codesourcery.com>
18292
18293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18294 implementing getdents64 using getdents syscall, set d_type if
18295 __ASSUME_GETDENTS32_D_TYPE.
18296
56801c50
AS
182972010-09-16 Andreas Schwab <schwab@redhat.com>
18298
18299 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18300 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18301
dda51327
UD
183022010-09-21 Ulrich Drepper <drepper@redhat.com>
18303
18304 [BZ #12037]
18305 * posix/unistd.h: Undo change of feature selection for ftruncate from
18306 2010-01-11.
18307
8ffcee4a
UD
183082010-09-20 Ulrich Drepper <drepper@redhat.com>
18309
a545ecd9 18310 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18311 detection.
18312
e24f0a8b
AS
183132010-09-20 Andreas Schwab <schwab@redhat.com>
18314
18315 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18316 fanotify_mark.
18317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18318
7291c56f
AS
183192010-09-14 Andreas Schwab <schwab@redhat.com>
18320
18321 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18322 variables after CHECK_SP call.
18323 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18324
bc5fb037
AS
183252010-09-13 Andreas Schwab <schwab@redhat.com>
18326 Ulrich Drepper <drepper@redhat.com>
18327
18328 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18329 re-relocationg ld.so.
18330 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18331 _dl_init_paths call.
18332 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18333 here anymore.
18334
e66e7419
UD
183352010-09-14 Ulrich Drepper <drepper@redhat.com>
18336
18337 * resolv/res_init.c (__res_vinit): Count the default server we added.
18338
c044aa75
CLT
183392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18340 Ulrich Drepper <drepper@redhat.com>
18341
18342 [BZ #11968]
18343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18344 (____longjmp_chk): Use %ebx for saving value across system call.
18345 Add unwind info.
18346
32cf4069
AS
183472010-09-06 Andreas Schwab <schwab@redhat.com>
18348
18349 * manual/Makefile: Don't mix pattern rules with normal rules.
18350
817328ee
AS
183512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18352
18353 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18354 operation.
18355 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18356 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18357 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18358 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18360 Likewise.
18361
29fddf61
UD
183622010-09-04 Ulrich Drepper <drepper@redhat.com>
18363
18364 [BZ #11979]
18365 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18366 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18367
0959ffc9
UD
183682010-09-02 Ulrich Drepper <drepper@redhat.com>
18369
18370 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18371 * sysdeps/x86_64/addmul_1.S: Likewise.
18372 * sysdeps/x86_64/lshift.S: Likewise.
18373 * sysdeps/x86_64/mul_1.S: Likewise.
18374 * sysdeps/x86_64/rshift.S: Likewise.
18375 * sysdeps/x86_64/sub_n.S: Likewise.
18376 * sysdeps/x86_64/submul_1.S: Likewise.
18377
ece29840
ST
183782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18379
0959ffc9
UD
18380 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18381 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18382 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18383 * bits/sched.h [__need_schedparam]
ece29840 18384 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18385 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18386 (__defined_schedparam): Define to 1.
ece29840
ST
18387 (__sched_param): New structure, identical to sched_param.
18388 (__need_schedparam): Undefine.
18389
e53a31fe
MF
183902010-08-31 Mike Frysinger <vapier@gentoo.org>
18391
fdc0c10d
MF
18392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18393 (epoll_create1): Declare.
18394
e53a31fe
MF
18395 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18396
a726d796
AS
183972010-08-31 Andreas Schwab <schwab@redhat.com>
18398
18399 [BZ #7066]
18400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18401 shifting retval into place.
18402
2f3e3dc7
UD
184032010-09-01 Ulrich Drepper <drepper@redhat.com>
18404
f2933da9
UD
18405 * nis/rpcsvc/nis.h: Update copyright notice.
18406 * nis/rpcsvc/nis.x: Likewise.
18407 * nis/rpcsvc/nis_callback.h: Likewise.
18408 * nis/rpcsvc/nis_callback.x: Likewise.
18409 * nis/rpcsvc/nis_object.x: Likewise.
18410 * nis/rpcsvc/nis_tags.h: Likewise.
18411 * nis/rpcsvc/yp.h: Likewise.
18412 * nis/rpcsvc/yp.x: Likewise.
18413 * nis/rpcsvc/ypupd.h: Likewise.
18414 * nis/yp_xdr.c: Likewise.
18415 * nis/ypupdate_xdr.c: Likewise.
18416
2f3e3dc7
UD
18417 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18418 mainly the body of pmap_getport. Add parameters to specify timeouts.
18419 (pmap_getport): Use __libc_rpc_getport.
18420 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18421 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18422 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18423
f3dcc2f9
AS
184242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18425
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18427 fanotify_mark.
18428
6d34eb5b
RM
184292010-08-27 Roland McGrath <roland@redhat.com>
18430
18431 * sysdeps/i386/i686/multiarch/Makefile
18432 (CFLAGS-varshift.c): New variable.
18433
9ea3de11
UD
184342010-08-27 Ulrich Drepper <drepper@redhat.com>
18435
c96d23fc
UD
18436 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18437 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18438
9ea3de11
UD
18439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18440
18441 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18442
623aac7f
L
184432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18444
18445 * sysdeps/x86_64/strlen.S: Unroll the loop.
18446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18447 strlen-sse2 strlen-sse2-bsf.
18448 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18449 __strlen_no_bsf if bit_Slow_BSF is set.
18450 (__strlen_sse42): Removed.
18451 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18452 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18453
8b2b7715
RM
184542010-08-25 Roland McGrath <roland@redhat.com>
18455
18456 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18457 * sysdeps/x86_64/multiarch/varshift.c: New file.
18458 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18459 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18460 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18461 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18462
e73015f2
L
184632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18466 strlen-sse2 strlen-sse2-bsf.
18467 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18468 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18469 (__strlen_sse2): Removed.
18470 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18473 bit_Slow_BSF for Atom.
18474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18475 (index_Slow_BSF): Define.
18476 (HAS_SLOW_BSF): Define.
18477
df24a73e
UD
184782010-08-25 Ulrich Drepper <drepper@redhat.com>
18479
18480 [BZ #10851]
18481 * resolv/res_init.c (__res_vinit): When no server address at all
18482 is given default to loopback.
18483
f2ac4868
RM
184842010-08-24 Roland McGrath <roland@redhat.com>
18485
09055553
RM
18486 * configure.in: Remove config-name.h generation.
18487 * configure: Regenerated.
18488 * config-name.in: File removed.
18489 * scripts/config-uname.sh: New file.
18490 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18491 ($(objdir)config-name.h): New target.
18492
f2ac4868
RM
18493 * sunrpc/rpc_parse.h: Avoid nested comment.
18494
73f27d5e
RH
184952010-08-24 Richard Henderson <rth@redhat.com>
18496 Ulrich Drepper <drepper@redhat.com>
18497 H.J. Lu <hongjiu.lu@intel.com>
18498
18499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18501 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18502 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18503 _mm_alignr_epi8 with _mm_loadu_si128.
18504 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18505 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18506 (__m128i_shift_right): Removed.
18507 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18508 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18509 * sysdeps/x86_64/multiarch/varshift.h: New file.
18510 * sysdeps/x86_64/multiarch/varshift.S: New file.
18511
84b9230c
MF
185122010-08-21 Mike Frysinger <vapier@gentoo.org>
18513
18514 * configure.in: Move assembler checks to before sysdep dir checking.
18515
9bbd0ddc
PB
185162010-08-20 Petr Baudis <pasky@suse.cz>
18517
18518 * LICENSES: Sync the sunrpc license.
18519
9da4bb31
UD
185202010-08-19 Ulrich Drepper <drepper@redhat.com>
18521
a7ab6ec8
UD
18522 * sunrpc/auth_des.c: Update copyright notice once again.
18523 * sunrpc/auth_none.c: Likewise.
18524 * sunrpc/auth_unix.c: Likewise.
18525 * sunrpc/authdes_prot.c: Likewise.
18526 * sunrpc/authuxprot.c: Likewise.
18527 * sunrpc/bindrsvprt.c: Likewise.
18528 * sunrpc/clnt_gen.c: Likewise.
18529 * sunrpc/clnt_perr.c: Likewise.
18530 * sunrpc/clnt_raw.c: Likewise.
18531 * sunrpc/clnt_simp.c: Likewise.
18532 * sunrpc/clnt_tcp.c: Likewise.
18533 * sunrpc/clnt_udp.c: Likewise.
18534 * sunrpc/clnt_unix.c: Likewise.
18535 * sunrpc/des_crypt.c: Likewise.
18536 * sunrpc/des_soft.c: Likewise.
18537 * sunrpc/get_myaddr.c: Likewise.
18538 * sunrpc/getrpcport.c: Likewise.
18539 * sunrpc/key_call.c: Likewise.
18540 * sunrpc/key_prot.c: Likewise.
18541 * sunrpc/openchild.c: Likewise.
18542 * sunrpc/pm_getmaps.c: Likewise.
18543 * sunrpc/pm_getport.c: Likewise.
18544 * sunrpc/pmap_clnt.c: Likewise.
18545 * sunrpc/pmap_prot.c: Likewise.
18546 * sunrpc/pmap_prot2.c: Likewise.
18547 * sunrpc/pmap_rmt.c: Likewise.
18548 * sunrpc/rpc/auth.h: Likewise.
18549 * sunrpc/rpc/auth_unix.h: Likewise.
18550 * sunrpc/rpc/clnt.h: Likewise.
18551 * sunrpc/rpc/des_crypt.h: Likewise.
18552 * sunrpc/rpc/key_prot.h: Likewise.
18553 * sunrpc/rpc/netdb.h: Likewise.
18554 * sunrpc/rpc/pmap_clnt.h: Likewise.
18555 * sunrpc/rpc/pmap_prot.h: Likewise.
18556 * sunrpc/rpc/pmap_rmt.h: Likewise.
18557 * sunrpc/rpc/rpc.h: Likewise.
18558 * sunrpc/rpc/rpc_des.h: Likewise.
18559 * sunrpc/rpc/rpc_msg.h: Likewise.
18560 * sunrpc/rpc/svc.h: Likewise.
18561 * sunrpc/rpc/svc_auth.h: Likewise.
18562 * sunrpc/rpc/types.h: Likewise.
18563 * sunrpc/rpc/xdr.h: Likewise.
18564 * sunrpc/rpc_clntout.c: Likewise.
18565 * sunrpc/rpc_cmsg.c: Likewise.
18566 * sunrpc/rpc_common.c: Likewise.
18567 * sunrpc/rpc_cout.c: Likewise.
18568 * sunrpc/rpc_dtable.c: Likewise.
18569 * sunrpc/rpc_hout.c: Likewise.
18570 * sunrpc/rpc_main.c: Likewise.
18571 * sunrpc/rpc_parse.c: Likewise.
18572 * sunrpc/rpc_parse.h: Likewise.
18573 * sunrpc/rpc_prot.c: Likewise.
18574 * sunrpc/rpc_sample.c: Likewise.
18575 * sunrpc/rpc_scan.c: Likewise.
18576 * sunrpc/rpc_scan.h: Likewise.
18577 * sunrpc/rpc_svcout.c: Likewise.
18578 * sunrpc/rpc_tblout.c: Likewise.
18579 * sunrpc/rpc_util.c: Likewise.
18580 * sunrpc/rpc_util.h: Likewise.
18581 * sunrpc/rpcinfo.c: Likewise.
18582 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18583 * sunrpc/rpcsvc/key_prot.x: Likewise.
18584 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18585 * sunrpc/rpcsvc/mount.x: Likewise.
18586 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18587 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18588 * sunrpc/rpcsvc/rex.x: Likewise.
18589 * sunrpc/rpcsvc/rstat.x: Likewise.
18590 * sunrpc/rpcsvc/rusers.x: Likewise.
18591 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18592 * sunrpc/rpcsvc/spray.x: Likewise.
18593 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18594 * sunrpc/rtime.c: Likewise.
18595 * sunrpc/svc.c: Likewise.
18596 * sunrpc/svc_auth.c: Likewise.
18597 * sunrpc/svc_authux.c: Likewise.
18598 * sunrpc/svc_raw.c: Likewise.
18599 * sunrpc/svc_run.c: Likewise.
18600 * sunrpc/svc_simple.c: Likewise.
18601 * sunrpc/svc_tcp.c: Likewise.
18602 * sunrpc/svc_udp.c: Likewise.
18603 * sunrpc/svc_unix.c: Likewise.
18604 * sunrpc/svcauth_des.c: Likewise.
18605 * sunrpc/xcrypt.c: Likewise.
18606 * sunrpc/xdr.c: Likewise.
18607 * sunrpc/xdr_array.c: Likewise.
18608 * sunrpc/xdr_float.c: Likewise.
18609 * sunrpc/xdr_mem.c: Likewise.
18610 * sunrpc/xdr_rec.c: Likewise.
18611 * sunrpc/xdr_ref.c: Likewise.
18612 * sunrpc/xdr_sizeof.c: Likewise.
18613 * sunrpc/xdr_stdio.c: Likewise.
18614
9da4bb31
UD
18615 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18616 handling.
18617
bdaa77bc
AS
186182010-08-19 Andreas Schwab <schwab@redhat.com>
18619
18620 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18621
fe2f79db
LM
186222010-08-19 Luis Machado <luisgpm@br.ibm.com>
18623
18624 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18625 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18626 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18627 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18628 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18629 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18630 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18631 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18632 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18633 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18634 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18635 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18636 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18637 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18638
b9b42ee0
AB
186392010-07-26 Anton Blanchard <anton@samba.org>
18640
18641 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18642 * malloc/arena.c (heap_trim): Likewise.
18643
1c06ba31
UD
186442010-08-16 Ulrich Drepper <drepper@redhat.com>
18645
18646 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18647 here. Not...
18648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18649 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18650
f8392f40
L
186512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18652
18653 * sysdeps/i386/elf/Makefile: New file.
18654
3162f12e
AS
186552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18656
18657 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18658 from fanotify_init.
18659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18661
28c90b2c
UD
186622010-08-15 Ulrich Drepper <drepper@redhat.com>
18663
18664 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18665 of strncasecmp_l.
1feccb6c 18666 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18667
ca6bb004
UD
186682010-08-14 Ulrich Drepper <drepper@redhat.com>
18669
e9f82e0d
UD
18670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18671 strncase_l-nonascii.
18672 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18673 Add strncase_l-ssse3.
18674 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18675 * sysdeps/x86_64/strcmp.S: Likewise.
18676 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18677 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18678 * sysdeps/x86_64/strncase.S: New file.
18679 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18680 * sysdeps/x86_64/strncase_l.S: New file.
18681 * string/Makefile (strop-tests): Add strncasecmp.
18682 * string/test-strncasecmp.c: New file.
18683
18684 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18685 warning.
18686
ca6bb004
UD
18687 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18688 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18689
052fa7b3
AS
186902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18691
18692 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18693
962dba78
UD
186942010-08-12 Ulrich Drepper <drepper@redhat.com>
18695
18696 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18697 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18698 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18699
bebff237
AM
187002010-05-01 Alan Modra <amodra@gmail.com>
18701
18702 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18703 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18704 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18705 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18706 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18707 tidying. Don't tail-call __sigjmp_save for static lib.
18708 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18709 save location.
18710 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18711 (CALL_MCOUNT): Add eh info, and nop after bl.
18712 (TAIL_CALL_SYSCALL_ERROR): New macro.
18713 (PSEUDO_RET): Use it.
18714 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18715 Correct save location of integer regs and cr.
18716 (_dl_profile_resolve): Correct cr save location. Delete nops
18717 after bl when SHARED. Reduce cfi size a little by better
18718 placement of cfi directives.
18719 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18720 make a stack frame. Instead use parm save area as a temp.
18721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18722 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18724 Don't make a stack frame for parent, use parm save area.
18725 Increase child stack frame to 112 bytes. Don't save unused reg,
18726 and adjust reg usage. Set up cfi on error recovery and
18727 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18729 (__makecontext): Add dummy nop after jump to exit.
18730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18731 Use correct parm save area and cr save, reduce stack frame.
18732 Correct cfi for possible PSEUDO_RET frame setup.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18734 Branch to local label emitted by PSEUDO_RET rather than
18735 __syscall_error.
18736
02637374
AS
187372010-08-12 Andreas Schwab <schwab@redhat.com>
18738
18739 [BZ #11904]
18740 * locale/programs/locale.c (print_assignment): New function.
18741 (show_locale_vars): Use it.
18742
c3e2f19b
UD
187432010-08-11 Ulrich Drepper <drepper@redhat.com>
18744
3cdaa6ad
UD
18745 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18746 field.
18747 (struct statfs64): Likewise.
18748 (_STATFS_F_FLAGS): Define.
18749 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18750 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18751 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18752 (ST_VALID): Define locally.
18753 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18754 __statvfs_getflags, use the provided value.
18755 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18756 __ASSUME_STATFS_F_FLAGS.
18757
754f7da3
UD
18758 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18759
10b3bedc
UD
18760 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18761 Add sys/fanotify.h.
18762 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18763 fanotify_mask for GLIBC_2.13.
18764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18765 fanotify_init and fanotify_mark.
18766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18767 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18768
c08fb0d7
UD
18769 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18770 Add prlimit.
18771 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18772 prlimit64 for GLIBC_2.13.
18773 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18774 prlimit64.
18775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18776 syscall.
18777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18779 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18780 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18782 add prlimit alias.
18783 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18784
15bac72b
UD
18785 [BZ #11903]
18786 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18787 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18788
c3e2f19b
UD
18789 * nss/Makefile: Add rules to build and run tst-nss-test1.
18790 * shlib-versions: Add entry for libnss_test1.
18791 * nss/nss_test1.c: New file.
18792 * nss/tst-nss-test1.c: New file.
18793
18794 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18795 (__nss_configure_lookup): Set appropriate entry in
18796 __nss_configure_lookup to true.
18797 * nss/nsswitch.h: Define enum with indeces of databases in
18798 databases and __nss_database_custom arrays. Declare
18799 __nss_database_custom.
18800 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18801 to avoid using nscd when custom rules are installed.
18802 * nss/getXXbyYY_r.c: Likewise.
18803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18804
18805 * nss/nss_files/files-parse.c: Whitespace fixes.
18806
f15ce4d8
UD
188072010-08-09 Ulrich Drepper <drepper@redhat.com>
18808
18809 [BZ #11883]
18810 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18811 * posix/fnmatch_loop.c: Likewise.
18812
d22e4cc9
AK
188132010-07-17 Andi Kleen <ak@linux.intel.com>
18814
18815 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18816 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18817 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18818 * Versions.def [GLIBC_2.13]: Add.
18819
805bc17d
UD
188202010-08-06 Ulrich Drepper <drepper@redhat.com>
18821
18822 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18823 Also fail if tpwd after pwuid call is NULL.
18824
5a42321d
ST
188252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18826
18827 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18828 when converting to ms.
18829
fd3ebeda
ST
188302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18831
18832 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18833 EOPNOTSUPP errors with ENOTTY.
18834 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18835 EOPNOTSUPP errors with ENOTTY.
18836
73507d3a
UD
188372010-07-31 Ulrich Drepper <drepper@redhat.com>
18838
18839 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18840 Add strcasecmp_l-ssse3.
18841 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18842 strcasecmp.
18843 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18844 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18845 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18846
fe36dd02
UD
188472010-07-30 Ulrich Drepper <drepper@redhat.com>
18848
66f6765a
UD
18849 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18850
42e08a54
UD
18851 * string/Makefile (strop-tests): Add strcasecmp.
18852 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18853 strcasecmp_l-nonascii.
18854 (gen-as-const-headers): Add locale-defines.sym.
18855 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18856 * sysdeps/x86_64/strcasecmp.S: New file.
18857 * sysdeps/x86_64/strcasecmp_l.S: New file.
18858 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18859 * sysdeps/x86_64/locale-defines.sym: New file.
18860 * string/test-strcasecmp.c: New file.
18861
fe36dd02
UD
18862 * string/test-strcasestr.c: Test both ends of the range of characters.
18863 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18864
48cbc0d6
RM
188652010-07-29 Roland McGrath <roland@redhat.com>
18866
76e6d6bc 18867 [BZ #11856]
48cbc0d6
RM
18868 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18869
880113d9
UD
188702010-07-27 Ulrich Drepper <drepper@redhat.com>
18871
18872 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18873 for ld.so.
18874
deb9cabb
AS
188752010-07-27 Andreas Schwab <schwab@redhat.com>
18876
18877 * manual/memory.texi (Malloc Tunable Parameters): Document
18878 M_PERTURB.
18879
1c7570ff
RM
188802010-07-26 Roland McGrath <roland@redhat.com>
18881
18882 [BZ #11840]
18883 * configure.in (-fgnu89-inline check): Set and substitute
18884 gnu89_inline, not libc_cv_gnu89_inline.
18885 * configure: Regenerated.
18886 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18887
24fb0f88
UD
188882010-07-26 Ulrich Drepper <drepper@redhat.com>
18889
18890 * string/test-strnlen.c: New file.
18891 * string/Makefile (strop-tests): Add strnlen.
18892 * string/tester.c (test_strnlen): Add a few more test cases.
18893 * string/tst-strlen.c: Better error reporting.
18894
18895 * sysdeps/x86_64/strnlen.S: New file.
18896
8e96b93a
UD
188972010-07-24 Ulrich Drepper <drepper@redhat.com>
18898
18899 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18900 lower-latency instructions.
18901
dbc676d4
UD
189022010-07-23 Ulrich Drepper <drepper@redhat.com>
18903
18904 * string/test-strcasestr.c: New file.
18905 * string/test-strstr.c: New file.
18906 * string/Makefile (strop-tests): Add strstr and strcasestr.
18907 * string/str-two-way.h: Don't undefine MAX.
18908 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18909
f6a31e0e
AS
189102010-07-21 Andreas Schwab <schwab@redhat.com>
18911
18912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18913 strcasestr-nonascii.
18914 (CFLAGS-strcasestr-nonascii.c): Define.
18915 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18917 Remove unused attribute.
18918
5dbc3b6c
RM
189192010-07-20 Roland McGrath <roland@redhat.com>
18920
18921 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18922 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18923 ld.so.cache was broken. With it, there is no way to disable dsocaps
18924 like LD_HWCAP_MASK can disable hwcaps.
18925
23d101d8
EPM
189262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18927
18928 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18929
cc9f2e47
UD
189302010-07-16 Ulrich Drepper <drepper@redhat.com>
18931
18932 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18933 call in strcasestr.
18934 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18935 __strcasestr_sse42_nonascii.
18936 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18937 strcasestr-nonascii.c.
18938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18939
77c1b069
LM
189402010-06-15 Luis Machado <luisgpm@br.ibm.com>
18941
18942 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18943 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18945 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18946
440566c3
UD
189472010-07-09 Ulrich Drepper <drepper@redhat.com>
18948
18949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18950 fcntl.
18951
5be9d05d
AS
189522010-07-06 Andreas Schwab <schwab@redhat.com>
18953
c30b7ee2 18954 [BZ #11577]
5be9d05d
AS
18955 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18956 dl_signal_cerror.
18957
8a492a67
UD
189582010-07-06 Ulrich Drepper <drepper@redhat.com>
18959
18960 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18961 _PC_PIPE_BUF using F_GETPIPE_SZ.
18962
713df3d5
RM
189632010-07-05 Roland McGrath <roland@redhat.com>
18964
18965 * manual/arith.texi (Rounding Functions): Fix rint description
18966 implicit in round description.
18967
702e8f14
UD
189682010-07-02 Ulrich Drepper <drepper@redhat.com>
18969
18970 * elf/Makefile: Fix linking for a few tests to make recent linker
18971 happy.
18972
52ed8be9
AS
189732010-06-30 Andreas Schwab <schwab@redhat.com>
18974
18975 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18976 $(common-objpfx)libc_nonshared.a.
18977
f47c9a11
LM
189782010-06-21 Luis Machado <luisgpm@br.ibm.com>
18979
18980 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18981 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18982 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18983 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18984 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18985 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18986 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18987 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19002 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19003 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19004 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19005 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19006 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19007 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19008 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19009 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19010 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19011 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19012 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19013 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19028
6fb8cbcb
L
190292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19030
19031 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19032 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19033 * string/memmove.c (memmove): Renamed to ...
19034 (MEMMOVE): ...this. Default to memmove.
19035 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19036 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19037 (END_CHK): Define.
19038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19039 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19040 mempcpy-ssse3-back memmove-ssse3-back.
19041 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19042 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19043 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19044 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19045 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19046 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19047 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19048 * sysdeps/x86_64/multiarch/memmove.c: New file.
19049 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19050 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19051 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19052 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19053 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19055 Define.
19056 (index_Fast_Copy_Backward): Define.
19057 (HAS_ARCH_FEATURE): Define.
19058 (HAS_FAST_REP_STRING): Define.
19059 (HAS_FAST_COPY_BACKWARD): Define.
19060
4e733bac 190612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19062
19063 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19064 Restore proper fallback handling.
19065
63c4ed22
UD
190662010-06-19 Ulrich Drepper <drepper@redhat.com>
19067
ac2b484c
UD
19068 [BZ #11701]
19069 * posix/group_member.c (__group_member): Correct checking loop.
19070
63c4ed22
UD
19071 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19072 OOM in getpwuid_r correctly. Return error number when the caller
19073 should return, otherwise -1.
19074 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19075 call returning > 0 value.
19076 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19077
765ade4b
AS
190782010-06-07 Andreas Schwab <schwab@redhat.com>
19079
19080 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19081 libc_nonshared.a from targets in modules-names.
19082
80da2e09
KS
190832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19084
19085 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19086 requires it.
19087
158db122
LM
190882010-06-10 Luis Machado <luisgpm@br.ibm.com>
19089
19090 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19091 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19092 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19094
caa78cf8
AS
190952010-06-02 Andreas Schwab <schwab@redhat.com>
19096
19097 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19098
b2ef2c01
UD
190992010-06-14 Ulrich Drepper <drepper@redhat.com>
19100
19101 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19102 and F_GETPIPE_SZ.
19103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19108 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19109
fbd643b6
RM
191102010-06-14 Roland McGrath <roland@redhat.com>
19111
19112 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19113
f32f2869
JJ
191142010-06-07 Jakub Jelinek <jakub@redhat.com>
19115
19116 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19117 __REDIRECT followed by __THROW.
19118 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19119 * posix/getopt.h (getopt): Likewise.
19120
2a50c078
EPM
191212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19122
19123 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19124 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19125 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19126 in AT_FLAGS.
19127 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19128 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19129
eb5ad2eb
LM
191302010-05-28 Luis Machado <luisgpm@br.ibm.com>
19131
19132 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19133
3c88fe1e
L
191342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19135
19136 [BZ #11640]
19137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19138 Properly check family and model.
19139
d2f73151
TY
191402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19141
19142 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19143
ebd2e13d
LM
191442010-05-24 Luis Machado <luisgpm@br.ibm.com>
19145
19146 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19147
b32b8b45
UD
191482010-05-21 Ulrich Drepper <drepper@redhat.com>
19149
19150 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19151 symbol reference.
19152
9acbe24d
AS
191532010-05-19 Andreas Schwab <schwab@redhat.com>
19154
19155 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19156 symbol reference.
19157
f0ccf6ea
AS
191582010-05-21 Andreas Schwab <schwab@redhat.com>
19159
3d04ff3a
AS
19160 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19161 and internal_recvmmsg.
19162 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19163 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19164 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19165 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19166
f0ccf6ea
AS
19167 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19168 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19169 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19170
5b08ac57
AS
191712010-05-20 Andreas Schwab <schwab@redhat.com>
19172
19173 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19174
4828935d
LM
191752010-05-17 Luis Machado <luisgpm@br.ibm.com>
19176
19177 POWER7 optimizations.
19178 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19179 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19180
373d545e
UD
191812010-05-19 Ulrich Drepper <drepper@redhat.com>
19182
19183 * version.h: Update for 2.13 development version.
19184
21a2b1ae
AS
191852010-05-12 Andrew Stubbs <ams@codesourcery.com>
19186
19187 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19188 exceptions. Return 0.
19189
3f7dcb2b
RM
191902010-05-07 Roland McGrath <roland@redhat.com>
19191
19192 * elf/ldconfig.c (main): Add a const.
19193
5f24d53a 191942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19195
a160f8d8
UD
19196 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19197 (args_options): Add no-idn option.
19198 (ahosts_keys_int): Add idn_flags to ai_flags.
19199 (parse_option): Handle 'i' option to clear idn_flags.
19200
5f24d53a
UD
19201 * malloc/malloc.c (_int_free): Possible race in the most recently
19202 added check. Only act on the data if no current modification
19203 happened.
265bb1ce
UD
19204
19205See ChangeLog.17 for earlier changes.