]> sourceware.org Git - glibc.git/blame - ChangeLog
Check if deriv->steps is NULL before freeing it
[glibc.git] / ChangeLog
CommitLineData
691bc9c1
L
12012-09-07 H.J. Lu <hongjiu.lu@intel.com>
2
de2139a9
L
3 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4 is NULL.
5
5ca78dd0
L
6 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7 (LDLIBS-tst-chk4): This.
8 (LDFLAGS-tst-chk5): Renamed to ...
9 (LDLIBS-tst-chk5): This.
10 (LDFLAGS-tst-chk6): Renamed to ...
11 (LDLIBS-tst-chk6): This.
12 (LDFLAGS-tst-lfschk4): Renamed to ...
13 (LDLIBS-tst-lfschk4): This.
14 (LDFLAGS-tst-lfschk5): Renamed to ...
15 (LDLIBS-tst-lfschk5): This.
16 (LDFLAGS-tst-lfschk6): Renamed to ...
17 (LDLIBS-tst-lfschk6): This.
18
691bc9c1
L
19 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20 on $(common-objpfx)soversions.mk.
21
65cafb1c
JM
222012-09-07 Joseph Myers <joseph@codesourcery.com>
23
24 [BZ #10014]
25 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26 example host name.
27
c78ab094
SP
282012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29
30 * malloc/arena.c (arena_get_retry): New function that gets
31 another arena for the caller to try its request on.
32 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33 current arena cannot fulfill the request.
34 (__libc_memalign): Likewise.
35 (__libc_memalign): Likewise.
36 (__libc_pvalloc): Likewise.
37 (__libc_calloc): Likewise.
38
01f49f59
JT
392012-09-05 John Tobey <john.tobey@gmail.com>
40
41 [BZ #13542]
42 * manual/arith.texi (Operations on Complex): Fix description
43 of carg branch cut.
44
4c23fed5
JM
452012-09-06 Joseph Myers <joseph@codesourcery.com>
46
1d3c8572
JM
47 [BZ #10014]
48 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
49 host name.
50
4c23fed5
JM
51 [BZ #10038]
52 * manual/memory.texi (Memory): Make order of menu items match
53 order of sections.
54
04570aaa
L
552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
56
57 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
59 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60
b80af2f4
L
612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
62
63 * csu/libc-tls.c (static_dtv): Renamed to ...
64 (_dl_static_dtv): This. Make it global.
65 (_dl_initial_dtv): Removed.
66 (__libc_setup_tls): Updated.
67 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69 DL_INITIAL_DTV.
70
2abe9f15
PM
712012-09-06 Petr Machata <pmachata@redhat.com>
72
73 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
76 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77
0948c3af
L
782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
79
80 [BZ #14545]
81 * csu/libc-tls.c (_dl_initial_dtv): New variable.
82 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
83 freeing dtv[-1].
84
a5055ad1
L
852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
86
87 [BZ #14544]
88 * Makeconfig (link-static-before-libc): Replace $(+prector)
89 with $(+prectorT).
90 (link-static-after-libc): Replace $(+postctor) with
91 $(+postctorT).
92 (link-bounded): Replace $(+prector)/$(+postctor) with
93 $(+prectorT)/$(+postctorT).
94 (+prectorT): New macro.
95 (+postctorT): Likewise.
96
ed8c2ecd
JM
972012-09-06 Joseph Myers <joseph@codesourcery.com>
98
99 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
100 (round_str): Handle values above the maximum for IBM long double
101 as inexact.
102 * stdlib/tst-strtod-round.c (tests): Regenerated.
103
14c996c8
AK
1042012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
105
106 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
107 assembler flag.
108 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
109 zarch_nohighgprs around the zarch optimized routines.
110 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
111 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
112 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
113 for zarch.
114
430d6ce6
DM
1152012-09-05 David S. Miller <davem@davemloft.net>
116
117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
118
ff04dda4
DM
119 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
120 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
121 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
122 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
123 entries.
124
24d4e01b
AO
1252012-09-05 Alexandre Oliva <aoliva@redhat.com>
126
127 * malloc/arena.c: Fold copyright years.
128 * malloc/mcheck.c, malloc/memusage.c: Likewise.
129
61d58174
AO
1302012-09-05 Alexandre Oliva <aoliva@redhat.com>
131
132 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
133
20196a5e
AO
1342012-09-05 Alexandre Oliva <aoliva@redhat.com>
135
136 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
137
5c447383
AO
1382012-09-05 Alexandre Oliva <aoliva@redhat.com>
139
140 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
141 change internal state upon failure.
142
fad64255
AO
1432012-09-05 Alexandre Oliva <aoliva@redhat.com>
144
145 * malloc/mcheck.c (mcheck_check_all): Fix typo.
146 * malloc/memusage.c (mmap): Likewise.
147 (mmap64, mremap): Likewise. Adjust name in comment.
148
1ffb8c90
SP
1492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
150
151 * libio/fileops.c: Fix typos in comments.
152 * libio/oldfileops.c: Likewise.
153 * libio/wfileops.c: Likewise.
154
6ef9cc37
SP
1552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
156
157 [BZ #1349]
158 * malloc/Makefile (tests): Add tst-malloc-usable test case.
159 (tst-malloc-usable-ENV): Set environment for test case.
160 * malloc/hooks.c (malloc_check_get_size): New function to get
161 requested size.
162 * malloc/malloc.c (musable): Use malloc_check_get_size.
163 * malloc/tst-malloc-usable.c: New test case.
164
4d038ae3
AS
1652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
166
167 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
168
c4e85184
AM
1692012-09-05 Allan McRae <allan@archlinux.org>
170
b9dafc56 171 [BZ #13966]
c4e85184
AM
172 * configure.in (CXX_SYSINCLUDES): Use compiler output to
173 determine header location.
174 * configure: Regenerated.
175
e1343020
AS
1762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
177
178 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
179 float format.
180 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
181 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
182 format.
e1343020
AS
183 (test): Regenerate.
184
0a9f1987
DM
1852012-09-04 David S. Miller <davem@davemloft.net>
186
187 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
188 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
189 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
190
29237804
FW
1912012-09-04 Florian Weimer <fweimer@redhat.com>
192
193 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
194 failures.
195
edb3cb88
FW
196 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
197
60160d83
JM
1982012-09-04 Joseph Myers <joseph@codesourcery.com>
199
200 [BZ #9914]
201 * libio/iogetdelim.c: Include <limits.h>.
202 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
203 + len + 1 would overflow.
204
bcd6c8dc
AJ
2052012-09-03 Andreas Jaeger <aj@suse.de>
206
207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
208 * sysdeps/i386/fpu/libm-test-ulps: Update.
209
4ffffbd2
LD
2102012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
211
212 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
213 Add s_sinf-sse2, s_conf-sse2.
214
215 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
216 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
217 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
218 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
219
220 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
221 for using routine as __sinf_ia32.
222 Use macro for function declaration and weak_alias.
223 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
224 for using routine as __cosf_ia32.
225 Use macro for function declaration and weak_alias.
226
227 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
228 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
229
230 * sysdeps/x86_64/fpu/s_sinf.S: New file.
231 * sysdeps/x86_64/fpu/s_cosf.S: New file.
232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
233
234 * math/libm-test.inc (cos_test): Add more test cases.
235 (sin_test): Likewise.
236 (sincos_test): Likewise.
237
511fa286
AK
2382012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
239
240 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
241 (IFUNC_RESOLVE): Make pointers to the specialized implementations
242 hidden.
243 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
244
5f30cfec
L
2452012-09-02 H.J. Lu <hongjiu.lu@intel.com>
246
247 [BZ #14538]
248 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
249 first element of the GOT.
250 (elf_machine_load_address): Return the difference between
251 the runtime address of _DYNAMIC and elf_machine_dynamic ().
252
0786794f
AM
2532012-09-01 Allan McRae <allan@archlinux.org>
254
5f30cfec
L
255 [BZ #13412]
256 * configure.in (AWK): Require gawk version 3.0 or later.
257 * configure: Regenerated.
0786794f 258
26889eac
JM
2592012-09-01 Joseph Myers <joseph@codesourcery.com>
260
261 * sysdeps/unix/sysv/linux/kernel-features.h
262 (__ASSUME_POSIX_CPU_TIMERS): Remove.
263 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
264 [__NR_clock_getres]: Make code unconditional.
265 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
266 (clock_getcpuclockid): Remove code left unreachable by removal of
267 conditionals.
268 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
269 code unconditional.
270 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
271 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
272 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
273 Make code unconditional.
274 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
275 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
276 * sysdeps/unix/sysv/linux/clock_settime.c
277 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
278 conditional code.
279 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
280 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
281
d22e28b0
L
2822012-08-29 H.J. Lu <hongjiu.lu@intel.com>
283
284 [BZ #14476]
285 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
286 scripts/test-installation.pl.
287
288 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
289 and $ld_so_version if it is set.
290
050af9c4
SP
2912012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
292
293 [BZ #14516]
294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
295 failure if reading from procfs failed.
296 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
297
ad845c0b
JM
2982012-08-27 Joseph Myers <joseph@codesourcery.com>
299
300 * sysdeps/unix/sysv/linux/kernel-features.h
301 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
302 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
303 Remove conditional code.
304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
305 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
306 Remove conditional code.
307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
308 * sysdeps/unix/sysv/linux/i386/fxstat.c
309 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
311 * sysdeps/unix/sysv/linux/i386/fxstatat.c
312 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
314 * sysdeps/unix/sysv/linux/i386/lxstat.c
315 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
317 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
318 Remove conditional code.
319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
320 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
321 Remove conditional code.
322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
323 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
324 <kernel-features.h>.
325 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
326 Remove.
327 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
328 Remove conditional code.
329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
330 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
331 Remove conditional.
332
5dbf56af
MF
3332012-08-27 Mike Frysinger <vapier@gentoo.org>
334
335 [BZ #5400]
336 * NEWS: Add fixed bug number.
337
d6e70f43
JM
3382012-08-27 Joseph Myers <joseph@codesourcery.com>
339
7efb4737
JM
340 [BZ #14519]
341 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
342 underflowing exponent in case of negative sign.
343 * stdlib/tst-strtod-round-data: Add more tests.
344 * stdlib/tst-strtod-round.c (tests): Regenerated.
345
af92131a
JM
346 [BZ #3479]
347 * stdlib/strtod_l.c (NDIG): Remove.
348 (HEXNDIG): Likewise.
349 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
350 smallest representable value.
351 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
352 lie within an exact representation of 1/2 ulp of the result.
353 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
354 unconditionally.
355 (TENS_P9_IDX): Define unconditionally.
356 (TENS_P9_SIZE): Likewise.
357 (TENS_P10_IDX): Likewise.
358 (TENS_P10_SIZE): Likewise.
359 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
360 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
361 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
362 entries for 10^2^13 and 10^2^14.
363 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
364 (TENS_P13_IDX): Define.
365 (TENS_P13_SIZE): Likewise.
366 (TENS_P14_IDX): Likewise.
367 (TENS_P14_SIZE): Likewise.
368 (_fpioconst_pow10): Change array size to
369 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
370 unconditional.
371 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
372 1024]: Add entries for 10^2^13 and 10^2^14.
373 [LAST_POW10 > _LAST_POW10]: Remove #error.
374 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
375 (_fpioconst_pow10): Change array size to
376 FPIOCONST_POW10_ARRAY_SIZE.
377 * stdlib/gen-fpioconst.c: New file.
378 * stdlib/gen-tst-strtod-round.c: Likewise.
379 * stdlib/tst-strtod-round-data: Likewise.
380 * stdlib/tst-strtod-round.c: Likewise.
381 * stdlib/Makefile (tests): Add tst-strtod-round.
382
d6e70f43
JM
383 [BZ #14459]
384 * stdlib/strtod_l.c: Include <stdint.h>.
385 (NDEBUG): Do not define.
386 (round_and_return): Change EXPONENT parameter to type intmax_t.
387 Rearrange calculations to avoid internal overflow possibilities.
388 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
389 Rearrange calculations to avoid internal overflow possibilities.
390 Assert that number fits inside MPNSIZE limbs.
391 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
392 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
393 calculations and add assertions to avoid internal overflow
394 possibilities. Add casts to avoid signed/unsigned operations.
395 * stdlib/tst-strtod-overflow.c: New file.
396 * stdlib/Makefile (tests): Add tst-strtod-overflow.
397
1f529f7d
MP
3982012-08-25 Marek Polacek <polacek@redhat.com>
399
400 * time/time.h: Fix some typos in comments.
401
59a629f1
RM
4022012-08-23 Roland McGrath <roland@hack.frob.com>
403
404 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
405 * posix/tst-rfc3484-2.c: Likewise.
406 * posix/tst-rfc3484-3.c: Likewise.
407
d3bafbc9
SM
4082012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
409
410 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
411 (EF_ARM_ABI_FLOAT_HARD): Likewise.
412
4efcc022
JM
4132012-08-23 Joseph Myers <joseph@codesourcery.com>
414
415 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
416 #include of fxstatat64.c.
417
3cc3ef96
RM
4182012-08-22 Roland McGrath <roland@hack.frob.com>
419
f04e2132
RM
420 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
421 * shadow/getspent_r.c: Likewise.
422 * shadow/getspnam.c: Likewise.
423 * shadow/getspnam_r.c: Likewise.
424 * gshadow/getsgent.c: Likewise.
425 * gshadow/getsgent_r.c: Likewise.
426 * gshadow/getsgnam.c: Likewise.
427 * gshadow/getsgnam_r.c: Likewise.
428 * inet/getnetbyad.c: Likewise.
429 * inet/getnetbyad_r.c: Likewise.
430 * inet/getnetbynm.c: Likewise.
431 * inet/getnetbynm_r.c: Likewise.
432 * inet/getnetent.c: Likewise.
433 * inet/getnetent_r.c: Likewise.
434 * inet/getproto.c: Likewise.
435 * inet/getproto_r.c: Likewise.
436 * inet/getprtent.c: Likewise.
437 * inet/getprtent_r.c: Likewise.
438 * inet/getprtname.c: Likewise.
439 * inet/getprtname_r.c: Likewise.
440 * inet/getrpcbyname.c: Likewise.
441 * inet/getrpcbyname_r.c: Likewise.
442 * inet/getrpcbynumber.c: Likewise.
443 * inet/getrpcbynumber_r.c: Likewise.
444 * inet/getrpcent.c: Likewise.
445 * inet/getrpcent_r.c: Likewise.
446 * inet/getaliasent.c: Likewise.
447 * inet/getaliasent_r.c: Likewise.
448 * inet/getaliasname.c: Likewise.
449 * inet/getaliasname_r.c: Likewise.
450 * nscd/getgrgid_r.c: Likewise.
451 * nscd/getgrnam_r.c: Likewise.
452 * nscd/gethstbyad_r.c: Likewise.
453 * nscd/gethstbynm3_r.c: Likewise.
454 * nscd/getpwnam_r.c: Likewise.
455 * nscd/getpwuid_r.c: Likewise.
456 * nscd/getsrvbynm_r.c: Likewise.
457 * nscd/getsrvbypt_r.c: Likewise.
458 * nscd/gai.c: Likewise.
459
c53d909c
RM
460 * configure.in (build_nscd): New substituted variable, set
461 by --disable-build-nscd and defaults to $use_nscd.
462 * configure: Regenerated.
463 * config.make.in (build-nscd): New substituted variable.
464 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
465 Change conditional to require [$(build-nscd) = yes] as well.
466 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
467
3cc3ef96
RM
468 [BZ# 13696]
469 * configure.in (use_nscd): New substituted variable, set by
470 --disable-nscd. If enabled, define USE_NSCD.
471 * configure: Regenerated.
472 * config.h.in: Add USE_NSCD.
473 * config.make.in (use-nscd): New substituted variable.
474 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
475 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
476 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
477 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
478 (CFLAGS-getgrnam_r.c): Likewise.
479 (CFLAGS-initgroups.c): Likewise.
480 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
481 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
482 Variables removed.
483 * inet/getnetgrent_r.c
484 (nscd_setnetgrent): New function, broken out of ...
485 (setnetgrent): ... here. Call it.
486 (innetgr): Conditionalize nscd bits on [USE_NSCD].
487 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
488 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
489 * nscd/Makefile (routines, aux): Move definitions after include of
490 Makeconfig. Conditionalize on [$(use-nscd) != no].
491 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
492 Conditionalize on [USE_NSCD].
493 (is_nscd, nscd_init_cb): Likewise.
494 (nss_load_library): Conditionalize init callback on [USE_NSCD].
495 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
496 * nss/nss_db/db-init.c: Likewise.
497 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
498 [USE_NSCD].
499 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
500 (make_request): Use it.
501 (cache_valid_p): New function.
502 (__check_pf): Use it.
503 * NEWS: Add item for --disable-nscd.
504
07e51550
DL
5052012-08-22 Dmitry V. Levin <ldv@altlinux.org>
506
507 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
508 to support sed >= 4.2.1-20-ga9bf076.
509 * configure: Regenerated.
510
35a5b08b
RM
5112012-08-22 Roland McGrath <roland@hack.frob.com>
512
513 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
514 Conditionalize whole body on [IREL].
515
8479f23a
JL
5162012-08-22 Jeff Law <law@redhat.com>
517
518 [BZ #14505]
519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
520 if the family is PF_UNSPEC.
521
48da0b21
MF
5222012-08-22 Mike Frysinger <vapier@gentoo.org>
523
524 * Makerules (lib-version): Rename from V.
525 (install-lib-nosubdir): Change V to lib-version.
526
15d0da8c
WS
5272012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
528
529 [BZ #14252]
530 * powerpc32/power6/wcschr.c: New file.
531 * powerpc32/power6/wcscpy.c: New file.
532 * powerpc32/power6/wcsrchr.c: New file.
533 * powerpc64/power6/wcschr.c: New file.
534 * powerpc64/power6/wcscpy.c: New file.
535 * powerpc64/power6/wcsrchr.c: New file.
536
bcca0895
MK
5372012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
538
539 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
540 (two_way_short_needle): Use it.
5a4aaa33
RM
541 * string/strstr.c (AVAILABLE1_USES_J): Define.
542 * string/strcasestr.c: Likewise.
99677e57
MK
543
544 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
545 array references.
546 * string/strcasestr.c (TOLOWER): Make side-effect safe.
547
400726de
MK
548 [BZ #11607]
549 * NEWS: Add an entry.
550 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
551 define their defaults.
552 (two_way_short_needle): Detect end-of-string on-the-fly.
553 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
554 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
555 * string/bug-strcasestr1.c: New test.
556 * string/Makefile: Run it.
557
20a71f2c
MK
5582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
559
560 [BZ #11607]
561 * string/str-two-way.h (two_way_short_needle): Optimize matching of
562 the first character.
563
21ad0558
RM
5642012-08-21 Roland McGrath <roland@hack.frob.com>
565
566 * csu/elf-init.c (__libc_csu_irel): Function removed.
567 * csu/libc-start.c (apply_irel): New function.
568 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
569
0e1d9911
JM
5702012-08-21 Joseph Myers <joseph@codesourcery.com>
571
572 * sysdeps/unix/sysv/linux/kernel-features.h
573 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
574 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
575 <kernel-features.h>.
576 [__NR_fadvise64_64]: Make code unconditional.
577 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
578 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
579 !__NR_fadvise64_64)]: Likewise.
580 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
581 !__NR_fadvise64_64))]: Likewise.
582 [__NR_fadvise64]: Make code unconditional.
583 [!__NR_fadvise64]: Remove conditional code.
584 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
585 <kernel-features.h>.
586 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
587 unconditional.
588 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
589 conditional code.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
591 not include <kernel-features.h>.
592 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
593 unconditional.
594 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
595 conditional code.
596 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
597 include <kernel-features.h>.
598 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
599 unconditional.
600 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
601 conditional code.
602
14a50c9d
WS
6032012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
604
605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
606 slight instruction rearrangements per scrollpipe analysis.
607 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
608
c0f4faf0
RM
6092012-08-20 Roland McGrath <roland@hack.frob.com>
610
696da859
RM
611 * manual/syslog.texi (syslog; vsyslog, closelog):
612 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
613 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
614
c0f4faf0
RM
615 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
616 DSOCAPS to match condition on defining it.
617
348363b2
JM
6182012-08-20 Joseph Myers <joseph@codesourcery.com>
619
a35cbf28
JM
620 * sysdeps/unix/sysv/linux/kernel-features.h
621 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
623 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
624 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
626 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
627 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
629 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
630 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
631
445f7ecd
JM
632 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
633 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
634
348363b2
JM
635 * sysdeps/unix/sysv/linux/kernel-features.h
636 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
637 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
638 unconditional.
639 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
640 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
641 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
642 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
643 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
644 Make code unconditional.
645 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
646 (__mmap64) [!__NR_mmap2]: Likewise.
647 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
648 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
649 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
650 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
651 [__NR_mmap2]: Make code unconditional.
652 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
653 (__mmap64) [!__NR_mmap2]: Likewise.
654
bc5bc0e5
AK
6552012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
656
657 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
658
88d506de
AJ
6592012-08-18 Andreas Jaeger <aj@suse.de>
660
661 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
662
493387d2
MF
6632012-08-18 Mike Frysinger <vapier@gentoo.org>
664
665 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
666 * include/unistd.h (__have_sock_cloexec): Likewise.
667 (__have_pipe2): Likewise.
668 (__have_dup3): Likewise.
669
a277af22
MF
6702012-08-18 Mike Frysinger <vapier@gentoo.org>
671
672 [BZ #9685]
673 * include/unistd.h (__have_pipe2): Change define into an extern int.
674 (__have_dup3): Likewise.
675 * socket/have_sock_cloexec.c: Include fcntl.h.
676 (__have_pipe2): New variable.
677 (__have_dup3): Likewise.
678
fdab8fd3
MF
6792012-08-17 Mike Frysinger <vapier@gentoo.org>
680
681 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
682
31035e80
MP
6832012-08-17 Marek Polacek <polacek@redhat.com>
684
685 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
686 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
687
3bd9e993
RM
6882012-08-17 Roland McGrath <roland@hack.frob.com>
689
c91c505f
RM
690 * configure.in: Add AC_SUBST for sysheaders.
691 * configure: Regenerated.
692 * config.make.in (sysheaders): New substituted variable.
693
7c6f9d53
RM
694 * sysdeps/unix/mkfifo.c: Moved ...
695 * sysdeps/posix/mkfifo.c: ... here.
696 * sysdeps/unix/mkfifoat.c: Moved ...
697 * sysdeps/posix/mkfifoat.c: ... here.
698
699 * sysdeps/unix/utime.c: Moved ...
700 * sysdeps/posix/utime.c: ... here.
701
702 * sysdeps/unix/time.c: Moved ...
703 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
704 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
705 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
706
707 * sysdeps/unix/nice.c: Moved ...
708 * sysdeps/posix/nice.c: ... here.
709
710 * sysdeps/unix/alarm.c: Moved ...
711 * sysdeps/posix/alarm.c: ... here.
712
3bd9e993
RM
713 * intl/Makefile ($(codeset_mo)): Depend on the input file.
714
d1f09384
JL
7152012-08-17 Jeff Law <law@redhat.com>
716
717 * intl/Makefile (codeset_mo): New variable.
718 ($(codeset_mo)): New target.
719 (tst-codeset.out): Depend on that. Remove explicit rule.
720 (tst-gettext3.out, tst-gettext5.out): Likewise.
721 (LOCPATH-ENV, tst-codeset-ENV): New variables.
722 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
723 * intl/tst-codeset.sh: Remove.
724 * intl/tst-gettext3.sh: Likewise.
725 * intl/tst-gettext5.sh: Likewise.
726
2ae1ae5c
RM
7272012-08-17 Roland McGrath <roland@hack.frob.com>
728
c31fdb83
RM
729 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
730 * sysdeps/unix/syscalls.list: ... here.
731
a0844057
RM
732 * sysdeps/posix/getaddrinfo.c
733 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
734 (gaiconf_init, gaiconf_reload): Use them.
735 [!_STATBUF_ST_NSEC]
736 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
737 Define using time_t rather than struct timespec.
738
750c1f2a
RM
739 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
740 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
741 Macros removed.
742 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
743 [!NO_THREADS].
744 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
745 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
746 Likewise.
747
2ae1ae5c
RM
748 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
749 __libc_cleanup_push argument.
750
e66a42f5
RM
751 * bits/param.h: New file.
752 * misc/sys/param.h: New file.
753 * include/sys/param.h: New file.
754 * misc/Makefile (headers): Add bits/param.h.
755 * sysdeps/generic/sys/param.h: File removed.
756 * sysdeps/unix/sysv/linux/bits/param.h: New file.
757 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
758 * sysdeps/mach/hurd/bits/param.h: New file.
759 * sysdeps/mach/hurd/sys/param.h: New file.
760
b7c08a66
RM
761 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
762 last change.
763
b2e1c562
RM
764 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
765 [_IO_MTSAFE_IO].
766 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
767 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
768 New macros.
769
c75ccd4c
RM
770 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
771 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
772 rather than -D_IO_MTSAFE_IO conditionally.
773 * stdio-common/Makefile (CPPFLAGS): Likewise.
774 * wcsmbs/Makefile (CPPFLAGS): Likewise.
775 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
776 Use $(libio-mtsafe).
777 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
778 of -D_IO_MTSAFE_IO.
779 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
780 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
781 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
782 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
783 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
784 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
785 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
786 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
787 (CFLAGS-fread_u_chk.c): Likewise.
788 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
789 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
790 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
791 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
792 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
793 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
794 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
795 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
796 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
797
798 * libio/Makefile: Test [$(libc-reentrant) = yes]
799 instead of [$(filter %REENTRANT, $(defines)) nonempty].
800
801 * Makeconfig
802 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
803 * sysdeps/pthread/configure: File removed.
804 * sysdeps/pthread/Makeconfig: New file.
805 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
806 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
807
d9195db8
GB
8082012-08-16 Gary Benson <gbenson@redhat.com>
809
810 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
811 unmapping the first object in a namespace.
812
86466cd9
RM
8132012-08-16 Roland McGrath <roland@hack.frob.com>
814
815 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
816 (__internal_setnetgrent): ... this. Add internal_function to
817 definition. Add libc_hidden_def.
818 (setnetgrent): Update caller.
819 (internal_endnetgrent): Renamed to ...
820 (__internal_endnetgrent): ... this. Add internal_function to
821 definition. Add libc_hidden_def.
822 (endnetgrent): Update caller.
823 (internal_getnetgrent_r): Renamed to ...
824 (__internal_getnetgrent_r): ... this. Add internal_function to
825 definition. Add libc_hidden_def.
826 (__getnetgrent_r): Update caller.
827 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
828
c3c8283c
JM
8292012-08-16 Joseph Myers <joseph@codesourcery.com>
830
831 * stdlib/longlong.h: Update from GCC.
832
db1ee0a8
RM
8332012-08-16 Roland McGrath <roland@hack.frob.com>
834
835 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
836 on _QL, which is set by umul_ppmm but never used.
837 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
838 variables, which are set by GMP macros but never used.
839 * stdio-common/_itowa.c (_itowa): Likewise.
840 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
841 * stdlib/mod_1.c (mpn_mod_1): Likewise.
842
30f69637
CD
8432012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
844
845 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
846 struct La_sh_regs is not constant.
847 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
848 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
849 and struct La_sparc64_regs are not constant.
850
93a78ac4
JM
8512012-08-16 Joseph Myers <joseph@codesourcery.com>
852
853 * sysdeps/unix/sysv/linux/kernel-features.h
854 (__ASSUME_POSIX_TIMERS): Remove.
855 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
856 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
857 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
858 Make code unconditional.
859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
860 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
861 Make code unconditional.
862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
863 * sysdeps/unix/sysv/linux/clock_nanosleep.c
864 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
866 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
867 Make code unconditional.
868 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
869 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
870 (__libc_missing_posix_timers): Remove.
871
dd924cd7
RM
8722012-08-15 Roland McGrath <roland@hack.frob.com>
873
4b4f2771
RM
874 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
875 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
876
601c888b
RM
877 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
878
176790a7
RM
879 * elf/dl-sym.c: Include <stdlib.h>.
880
329bc018
RM
881 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
882 constants, which avoids warnings in 32-bit builds.
883
e04e272d
RM
884 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
885 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
886
952bf94a
RM
887 * misc/lseek.c: File moved to ...
888 * io/lseek.c: ... here.
889
7c99b50a
RM
890 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
891
dd924cd7
RM
892 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
893 shifting LEN more than 31 bits at once.
894
b3f479a8
LD
8952012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
896
897 [BZ #14195]
8c4ae0d4
RM
898 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
899 segmentation fault for a case of two empty input strings.
b3f479a8
LD
900 * string/test-strncasecmp.c (check1): Renamed to...
901 (bz12205): ...this.
902 (bz14195): Add new testcase for two empty input strings and N > 0.
903 (test_main): Call new testcase, adapt for renamed function.
904
9c55864e
AJ
9052012-08-15 Andreas Jaeger <aj@suse.de>
906
907 [BZ #14090]
908 * crypt/md5test2.c: New test, based on test supplied by Serge
909 Belyshev <belyshev@depni.sinp.msu.ru>.
910 * crypt/Makefile (xtests): Add md5test-giant..
911 * crypt/Makefile ($(objpfx)md5test-giant): Add.
912
02dcb6c5
PE
9132012-08-15 Paul Eggert <eggert@cs.ucla.edu>
914
915 [BZ #14090]
916 * crypt/md5.c (md5_process_block): Don't assume the buffer
917 length is less than 2**32.
918 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
919 length is less than 2**64.
920
a3f95dcc
RM
9212012-08-15 Roland McGrath <roland@hack.frob.com>
922
be75d758
RM
923 * string/str-two-way.h: Include <sys/param.h>.
924 (MAX): Macro removed.
925
7312ca90
RM
926 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
927 Move #define and #undef of memmove to just before and after
928 including <string.h>.
929
9a0a5486
RM
930 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
931 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
932 and after including <string.h>. Move declarations of
933 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
934 to before #include "string/memmove.c".
935
67cc348d
RM
936 * include/dirent.h: Declare __getdirentries.
937
a3f95dcc
RM
938 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
939 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
940
ca98e171
MF
9412012-08-14 Mike Frysinger <vapier@gentoo.org>
942
943 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
944 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
945 * sysdeps/i386/configure: Regenerated.
946 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
947 STABS_CURRENT_FILE, and STABS_FUN.
948 (END): Remove call to STABS_FUN_END.
949 (STABS_CURRENT_FILE1): Delete.
950 (STABS_CURRENT_FILE): Likewise.
951 (STABS_FUN): Likewise.
952 (STABS_FUN_END): Likewise.
953 (STABS_FUN2): Likewise.
954 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
955 * sysdeps/x86_64/configure: Regenerated.
956
5908bf46
RM
9572012-08-14 Roland McGrath <roland@hack.frob.com>
958
959 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 960 * elf/dl-lookup.c: Likewise.
5908bf46 961
f2c05b9e
JM
9622012-08-14 Joseph Myers <joseph@codesourcery.com>
963
964 * sysdeps/unix/sysv/linux/kernel-features.h
965 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
966 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
967 unconditionally.
968 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
969 unconditionally.
970 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
971 condition on __ASSUME_CLONE_THREAD_FLAGS.
972
e11f5155
AJ
9732012-08-14 Andreas Jaeger <aj@suse.de>
974
975 * sysdeps/i386/fpu/libm-test-ulps: Update.
976
51a9ba86
MK
9772012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
978
2fdd4f78
AJ
979 * include/atomic.h (atomic_exchange_and_add): Split into ...
980 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
981 New atomic macros.
51a9ba86 982
ba6cba9e
MT
9832012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
984
985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
986
42443a47
JL
9872012-08-13 Jeff Law <law@redhat.com>
988
989 * manual/stdio.texi (snprintf): Clarify handling of the trailing
990 null byte in the output string.
991
121dce05
JM
9922012-08-10 Joseph Myers <joseph@codesourcery.com>
993
994 * sysdeps/unix/sysv/linux/kernel-features.h
995 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
996 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
997 (__ASSUME_ARG_MAX_STACK_BASED): Define.
998 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
999 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
1000 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
1001 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
1002
bf51f568
JL
10032012-08-09 Jeff Law <law@redhat.com>
1004
1005 [BZ #13939]
1006 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
1007 When avoid_arena is set, don't retry in the that arena. Pick the
1008 next one, whatever it might be.
1009 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
1010 (arena_lock): Pass in new parameter to arena_get2.
1011 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
1012 arena_get2.
1013 (__libc_malloc): Unify retrying after main arena failure with
1014 __libc_memalign version.
1015 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
1016
f85fa270
L
10172012-08-09 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 [BZ #14166]
1020 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
1021 to __redirect_strstr.
1022 (__strstr_sse42): Use typeof __redirect_strstr.
1023 (__strstr_ia32): Likewise.
1024 (__libc_strstr): New prototype.
1025 (strstr): Renamed to ...
1026 (__libc_strstr): This.
1027 (strstr): New strong alias of __libc_strstr.
1028 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1029 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
1030 __redirect_time.
1031 Include <time.h>.
1032 (__libc_time): New prototype.
1033 (time_ifunc): Replace time with __libc_time.
1034 (time): New strong alias and hidden definition of __libc_time.
1035 (__GI_time): Remove strong alias.
1036 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
1037 Include <stddef.h>.
1038 (memmove): Redefined to __redirect_memmove.
1039 (__memmove_sse2): Use typeof __redirect_memmove.
1040 (__memmove_ssse3): Likewise.
1041 (__memmove_ssse3_back): Likewise.
1042 (__libc_memmove): New prototype.
1043 (memmove): Renamed to ...
1044 (__libc_memmove): This.
1045 (memmove): New strong alias of __libc_memmove.
1046
33b4a91e
MS
10472012-08-08 Mark Salter <msalter@redhat.com>
1048
1049 * elf/elf.h
1050 (R_MN10300_TLS_GD): Define.
1051 (R_MN10300_TLS_LD): Likewise.
1052 (R_MN10300_TLS_LDO): Likewise.
1053 (R_MN10300_TLS_GOTIE): Likewise.
1054 (R_MN10300_TLS_IE): Likewise.
1055 (R_MN10300_TLS_LE): Likewise.
1056 (R_MN10300_TLS_DTPMOD): Likewise.
1057 (R_MN10300_TLS_DTPOFF): Likewise.
1058 (R_MN10300_TLS_TPOFF): Likewise.
1059 (R_MN10300_SYM_DIFF): Likewise.
1060 (R_MN10300_ALIGN): Likewise.
1061 (R_MN10300_NUM): Update.
1062
b36137f1
JM
10632012-08-08 Joseph Myers <joseph@codesourcery.com>
1064
1065 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
1066 Remove.
1067
cdd915fd
RM
10682012-08-08 Roland McGrath <roland@hack.frob.com>
1069
a2433aac
RM
1070 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
1071
cdd915fd
RM
1072 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
1073 sysdeps/unix -> sysdeps/posix move.
1074 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1075
bf9b740a
AM
10762012-08-07 Allan McRae <allan@archlinux.org>
1077
1078 [BZ #14303]
1079 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
1080 (SUNOS_CPP): Likewise.
1081 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
1082 not found.
1083 (open_input): Call CPP using execvp.
1084
93df14ee
JM
10852012-08-07 Joseph Myers <joseph@codesourcery.com>
1086
1087 * sysdeps/unix/sysv/linux/kernel-features.h
1088 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1089 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1090 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1091 (__ASSUME_WAITID_SYSCALL): Likewise.
1092 * sysdeps/unix/sysv/linux/dl-execstack.c
1093 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1094 code unconditional.
1095 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1096 conditional code.
1097 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1098 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1099 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1100 code.
1101 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1102 unconditional.
1103 [__ASSUME_WAITID_SYSCALL]: Likewise.
1104 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1105
d34689de
RM
11062012-08-07 Roland McGrath <roland@hack.frob.com>
1107
a281decc
RM
1108 * sysdeps/unix/closedir.c: Renamed to ...
1109 * sysdeps/posix/closedir.c: ... here.
1110 * sysdeps/unix/dirfd.c: Renamed to ...
1111 * sysdeps/posix/dirfd.c: ... here.
1112 * sysdeps/unix/dirstream.h: Renamed to ...
1113 * sysdeps/posix/dirstream.h: ... here.
1114 * sysdeps/unix/fdopendir.c: Renamed to ...
1115 * sysdeps/posix/fdopendir.c: ... here.
1116 * sysdeps/unix/opendir.c: Renamed to ...
1117 * sysdeps/posix/opendir.c: ... here.
1118 * sysdeps/unix/readdir.c: Renamed to ...
1119 * sysdeps/posix/readdir.c: ... here.
1120 * sysdeps/unix/readdir_r.c: Renamed to ...
1121 * sysdeps/posix/readdir_r.c: ... here.
1122 * sysdeps/unix/rewinddir.c: Renamed to ...
1123 * sysdeps/posix/rewinddir.c: ... here.
1124 * sysdeps/unix/seekdir.c: Renamed to ...
1125 * sysdeps/posix/seekdir.c: ... here.
1126 * sysdeps/unix/telldir.c: Renamed to ...
1127 * sysdeps/posix/telldir.c: ... here.
1128 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1129 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1130 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1131 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1132
22895b47
RM
1133 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1134 * bits/fcntl.h: ... here.
1135
707a53b6
RM
1136 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1137 not 0.
1138 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1139 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1140 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1141 (struct flock): Move l_start, l_len to the beginning.
1142 Use __pid_t for l_pid.
1143 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1144 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1145 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1146 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1147 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1148 [__USE_LARGEFILE64] (struct flock64): New type.
1149 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1150
f0bd3e25
RM
1151 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1152 * bits/dirent.h: ... here.
1153
d34689de
RM
1154 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1155 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1156
6dad2c06
JM
11572012-08-07 Joseph Myers <joseph@codesourcery.com>
1158
1159 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1160 Change from 2.6.0 to 2.6.16.
1161 * sysdeps/unix/sysv/linux/configure: Regenerated.
1162 * sysdeps/unix/sysv/linux/kernel-features.h
1163 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1164 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1165 version.
1166 (__ASSUME_UTIMES): Likewise.
1167 (__ASSUME_CLONE_STOPPED): Remove.
1168 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1169 architectures, not kernel version.
1170 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1171 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1172 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1173 (__ASSUME_WAITID_SYSCALL): Likewise.
1174 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1175 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1176 * README: State 2.6.16 as minimum Linux kernel version. Do not
1177 refer to older versions.
1178
03af9520
RM
11792012-08-06 Roland McGrath <roland@hack.frob.com>
1180
8e49df1d
RM
1181 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1182 Define alphasort64 as an alias.
1183 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1184 Define versionsort64 as an alias.
1185 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1186 Define scandir64 as an alias.
1187 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1188 Define scandirat64 as an alias.
1189 * dirent/alphasort64.c (alphasort64):
1190 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1191 * dirent/versionsort64.c: Likewise.
1192 * dirent/scandir64.c: Likewise.
1193 * dirent/scandirat64.c: Likewise.
1194 * sysdeps/wordsize-64/alphasort.c: File removed.
1195 * sysdeps/wordsize-64/alphasort64.c: File removed.
1196 * sysdeps/wordsize-64/scandir.c: File removed.
1197 * sysdeps/wordsize-64/scandir64.c: File removed.
1198 * sysdeps/wordsize-64/scandirat.c: File removed.
1199 * sysdeps/wordsize-64/scandirat64.c: File removed.
1200 * sysdeps/wordsize-64/versionsort.c: File removed.
1201 * sysdeps/wordsize-64/versionsort64.c: File removed.
1202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1203 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1204 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1205 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1206 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1207 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1209 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1210
1211 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1213 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1215 [defined __arch64__ || defined __sparcv9]
1216 (__INO_T_MATCHES_INO64_T): New macro.
1217 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1218 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1219 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1220 * sysdeps/unix/sysv/linux/bits/dirent.h
1221 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1222 (_DIRENT_MATCHES_DIRENT64): New macro.
1223
03af9520
RM
1224 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1225 Define lockf64 as an alias.
1226 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1227 Define fseeko64 as an alias.
1228 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1229 Define ftello64 as an alias.
1230 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1231 Define _IO_fgetpos64 and fgetpos64 as aliases.
1232 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1233 Define _IO_fsetpos64 and fsetpos64 as aliases.
1234 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1235 Conditionalize body on this.
1236 * libio/fseeko64.c: Likewise.
1237 * libio/ftello64.c: Likewise.
1238 * libio/iofgetpos64.c: Likewise.
1239 * libio/iofsetpos64.c: Likewise.
1240 * sysdeps/wordsize-64/lockf.c: File removed.
1241 * sysdeps/wordsize-64/lockf64.c: File removed.
1242 * sysdeps/wordsize-64/fseeko.c: File removed.
1243 * sysdeps/wordsize-64/fseeko64.c: File removed.
1244 * sysdeps/wordsize-64/ftello.c: File removed.
1245 * sysdeps/wordsize-64/ftello64.c: File removed.
1246 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1247 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1248 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1249 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1250 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1251 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1253 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1255 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1257 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1259 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1260
1261 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1263 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1265 [defined __arch64__ || defined __sparcv9]
1266 (__OFF_T_MATCHES_OFF64_T): New macro.
1267 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1268 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1270 (__OFF_T_MATCHES_OFF64_T): New macro.
1271
c5757acd
L
12722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1273
1274 * stdlib/secure-getenv.c (__secure_getenv): Replace
1275 GLIBC_2_16 with GLIBC_2_17.
1276
3a31811e
L
12772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1278
1279 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1280 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1281
faa2bccb
DM
12822012-08-03 David S. Miller <davem@davemloft.net>
1283
1284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1285
85fe1997
JM
12862012-08-03 Joseph Myers <joseph@codesourcery.com>
1287
1288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1289 Remove.
1290 (__ASSUME_CORRECT_SI_PID): Likewise.
1291 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1292 (__ASSUME_TMPFS_NAME): Likewise.
1293 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1294 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1295 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1296 (HAVE_AUX_SECURE): Make definition unconditional.
1297 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1298 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1299
4f75b7a0
RM
13002012-08-03 Roland McGrath <roland@hack.frob.com>
1301
1302 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1303 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1304 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1305 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1306 __eloop_threshold instead of SYMLOOP_MAX.
1307
1308 * sysdeps/generic/eloop-threshold.h: New file.
1309 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1310 of MAXSYMLINKS.
1311 * elf/chroot_canon.c (chroot_canon): Likewise.
1312
7aab07e4
JM
13132012-08-03 Joseph Myers <joseph@codesourcery.com>
1314
1315 [BZ #13717]
1316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1317 Change to 2.6.0 everywhere.
1318 * sysdeps/unix/sysv/linux/configure: Regenerated.
1319 * sysdeps/unix/sysv/linux/kernel-features.h
1320 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1321 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1322 kernel versions.
1323 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1324 (__ASSUME_FUTEX_REQUEUE): Remove.
1325 (__ASSUME_STATFS64): Define unconditionally.
1326 (__ASSUME_AT_SECURE): Likewise.
1327 (__ASSUME_CORRECT_SI_PID): Likewise.
1328 (__ASSUME_TGKILL): Define without depending on kernel version for
1329 i386.
1330 (__ASSUME_UTIMES): Likewise.
1331 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1332 kernel version.
1333 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1334 (__ASSUME_TMPFS_NAME): Likewise.
1335 * README: Update reference to Linux kernel versions.
1336
b67e9372
MP
13372012-08-02 Marek Polacek <polacek@redhat.com>
1338
1f529f7d 1339 [BZ# 14150]
b67e9372
MP
1340 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1341 libc_cv_asm_type_prefix with %.
1342 * configure: Regenerated.
d2441631
RM
1343 * include/libc-symbols.h: Remove comment about
1344 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1345 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1346 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1347 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1348 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1349 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1350 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1351 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1352 * elf/tst-unique2mod1.c: Likewise.
1353 * elf/tst-unique1mod2.c: Likewise.
1354 * elf/tst-unique1mod1.c: Likewise.
1355 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1356 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1357 Replace ASM_TYPE_DIRECTIVE with .type.
1358 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1359 * sysdeps/i386/sysdep.h: Likewise.
1360 * sysdeps/x86_64/sysdep.h: Likewise.
1361 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1363 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1364 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1365 * sysdeps/powerpc/powerpc32/sysdep.h:
1366 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1367 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1368 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1369 * sysdeps/i386/fpu/e_powf.S: Likewise.
1370 * sysdeps/i386/fpu/e_expl.S: Likewise.
1371 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1372 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1373 * sysdeps/i386/fpu/e_pow.S: Likewise.
1374 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1376 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1377 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1378 * sysdeps/i386/fpu/e_log2.S: Likewise.
1379 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1381 * sysdeps/i386/fpu/e_powl.S: Likewise.
1382 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1383 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1384 * sysdeps/i386/fpu/e_logl.S: Likewise.
1385 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1386 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1387 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1388 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1389 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1390 * sysdeps/i386/fpu/e_log.S: Likewise.
1391 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1392 * sysdeps/i386/fpu/e_logf.S: Likewise.
1393 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1394 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1395 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1396 * sysdeps/i386/fpu/e_log10.S: Likewise.
1397 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1398 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1399 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1400 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1401 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1402 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1403 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1404 * sysdeps/i386/i686/strtok.S: Likewise.
1405 * sysdeps/i386/i386-mcount.S: Likewise.
1406 * sysdeps/i386/strtok.S: Likewise.
1407 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1408 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1410 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1411 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1412 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1413 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1414 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1415 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1416 * sysdeps/x86_64/_mcount.S: Likewise.
1417 * sysdeps/x86_64/strtok.S: Likewise.
1418 * sysdeps/sh/_mcount.S: Likewise.
1419
2747bf9a
RM
14202012-08-01 Roland McGrath <roland@hack.frob.com>
1421
1422 * libio/iofopen.c: Include <fcntl.h>.
1423 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1424 (_IO_fopen64, fopen64): Define as aliases.
1425 * libio/iofopen64.c: Include <fcntl.h>.
1426 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1427 Conditionalize body on this.
1428 * sysdeps/wordsize-64/iofopen.c: File removed.
1429 * sysdeps/wordsize-64/iofopen64.c: File removed.
1430
3fb791b8
MP
14312012-08-01 Marek Polacek <polacek@redhat.com>
1432
1433 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1434 Use dlfcn directly instead of a variable.
1435 (binfmt-subdir): Do not define.
1436 (dlfcn): Likewise.
1437
a9f1039f
JM
14382012-08-01 Joseph Myers <joseph@codesourcery.com>
1439
23bddc06
JM
1440 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1441 Remove all definitions.
1442 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1443 <kernel-features.h>.
1444 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1445 (miss_F_GETOWN_EX): Remove all definitions.
1446 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1447 macro definition.
1448 [!__ASSUME_FCNTL64]: Remove conditional code.
1449 [__ASSUME_FCNTL64]: Make code unconditional.
1450 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1451 <kernel-features.h>.
1452 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1453 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1454 (lockf64) [__NR_fcntl64]: Make code unconditional.
1455 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1456
a9f1039f
JM
1457 * sysdeps/unix/sysv/linux/kernel-features.h
1458 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1459 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1460 Make code unconditional.
1461 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1462 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1464 [__NR_vfork]: Make code unconditional.
1465 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1466 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1468 [__NR_vfork]: Make code unconditional.
1469 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1470 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1471
09c0ee5f
RM
14722012-08-01 Roland McGrath <roland@hack.frob.com>
1473
48aec5b9
RM
1474 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1475 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1476
cd97c966
RM
1477 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1478 Define mkstemp64 as an alias.
3f55550c
RM
1479 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1480 Define mkstemps64 as an alias.
cd97c966
RM
1481 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1482 Define mkostemp64 as an alias.
b8625cfc
RM
1483 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1484 Define mkostemps64 as an alias.
cd97c966
RM
1485 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1486 Conditionalize body on this.
1487 * misc/mkostemp64.c: Likewise.
b8625cfc 1488 * misc/mkostemps64.c: Likewise.
3f55550c 1489 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1490 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1491 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1492 * sysdeps/wordsize-64/mkostemp.c: File removed.
1493 * sysdeps/wordsize-64/mkstemp.c: File removed.
1494 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1495 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1496 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1497 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1498
09c0ee5f
RM
1499 [BZ #14138]
1500 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1501 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1502 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1503 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1504
1505 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1506 compat_symbol macros from <shlib-compat.h> rather than the underlying
1507 default_symbol_version and symbol_version macros, so that DEFAULT
1508 lines in shlib-versions are respected.
1509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1510
7e66ee51
FW
15112012-08-01 Florian Weimer <fweimer@redhat.com>
1512
1513 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1514 Declare with warn_unused_result.
1515 (setgid, setregid, setegid, setresgid): Likewise.
1516 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1517 Likewise.
1518 * WUR-REPORT: Remove set*id functions.
1519
d2a54255
PT
15202012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1521
1522 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1523
7ecdb005
RM
15242012-07-31 Roland McGrath <roland@hack.frob.com>
1525
789bd351
RM
1526 * include/sys/socket.h (__libc_accept, __libc_accept4):
1527 Add attribute_hidden.
1528 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1529
40ce302d
RM
1530 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1531 use of PTR_MANGLE.
1532 * inet/getnetgrent_r.c (setup): Likewise.
1533
7ecdb005
RM
1534 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1535
e2eabb2c
DM
15362012-07-31 David S. Miller <davem@davemloft.net>
1537
1538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1539
d0419dbf
JM
15402012-07-31 Joseph Myers <joseph@codesourcery.com>
1541
1542 [BZ #13629]
1543 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1544 value between 1.0 and 2.0 and smaller part has absolute value less
1545 than 1.0.
1546 * math/s_clog10.c (__clog10): Likewise.
1547 * math/s_clog10f.c (__clog10f): Likewise.
1548 * math/s_clog10l.c (__clog10l): Likewise.
1549 * math/s_clogf.c (__clogf): Likewise.
1550 * math/s_clogl.c (__clogl): Likewise.
1551 * math/libm-test.inc (clog_test): Add more tests.
1552 (clog10_test): Likewise.
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1555
2bc13872
FW
15562012-07-31 Florian Weimer <fweimer@redhat.com>
1557
1558 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1559 Exit with zero in case no suitable GID is found, and write a
1560 message to standard error.
1561
bea9b193
RM
15622012-07-30 Roland McGrath <roland@hack.frob.com>
1563
1564 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1565 rather than to 1.
1566 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1567 (MAXPATHLEN): Removed.
1568 (NOGROUP, NODEV): New macros.
1569 (setbit, clrbit, isset, isclr): New macros.
1570 (howmany, roundup, powerof2): New macros.
1571 (DEV_BSIZE): New macro.
1572
1573 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1574 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1575
1576 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1577 definition on [!__NO_LONG_DOUBLE_MATH].
1578
1579 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1580 PTR_MANGLE and PTR_DEMANGLE.
1581
1582 * socket/accept4.c (accept4): Rename to __libc_accept4.
1583 Define accept4 as a weak alias.
1584
1585 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1586 on [_DIRENT_HAVE_D_TYPE].
1587 * io/ftw.c (ftw_dir): Likewise.
1588
1589 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1590
1591 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1592
1593 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1594 Use the BSD numbers rather than the arbitrary ones we had.
1595 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1596 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1597 (SIGXCPU, SIGXFSZ): New macros.
1598 (_NSIG): Now 32.
1599
1600 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1601 initializer on [_LIBC_REENTRANT].
1602
1603 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1604 definitions inside [_POSIX_MAPPED_FILES].
1605
1606 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1607
1608 * dirent/opendir.c: Include <fcntl.h>.
1609
1610 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1611 (__libc_getspecific): Likewise.
1612 (__libc_key_create): Likewise.
1613
1614 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1615 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1616 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1617 (tmpfile64): Define as alias.
1618 * sysdeps/wordsize-64/tmpfile.c: File removed.
1619 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1621 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1622
1623 * stdio-common/vfscanf.c: Include <stdbool.h>.
1624 * nss/makedb.c: Likewise.
1625 * stdio-common/_i18n_number.h: Likewise.
1626 * argp/argp-help.c: Likewise.
1627 * posix/wordexp.c: Likewise.
1628 * sysdeps/posix/spawni.c: Likewise.
1629 * nss/nss_files/files-initgroups.c: Likewise.
1630 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1631 * nss/nss_files/files-initgroups.c: Likewise.
1632 * nss/nss_db/db-netgrp.c: Likewise.
1633 * nss/nss_db/db-initgroups.c: Likewise.
1634 * io/fchmodat.c: Include <sys/stat.h>.
1635
1636 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1637 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1638
1639 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1640 [HAVE_MMAP].
1641
1642 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1643 Add multiple inclusion protection.
1644
e5abc686
DM
16452012-07-27 David S. Miller <davem@davemloft.net>
1646
1647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1648
815e6fa3
GB
16492012-07-27 Gary Benson <gbenson@redhat.com>
1650
1651 [BZ #14298]
1652 * elf/rtld.c: Include <stap-probe.h>.
1653 (dl_main): Added static probes "init_start" and "init_complete".
1654 * elf/dl-load.c: Include <stap-probe.h>.
1655 (lose): Take new parameter "nsid".
1656 Added static probe "map_failed".
1657 (_dl_map_object_from_fd): Pass namespace id to lose.
1658 Added static probe "map_start".
1659 (open_verify): Pass namespace id to lose.
1660 * elf/dl-open.c: Include <stap-probe.h>.
1661 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1662 and "reloc_complete".
1663 * elf/dl-close.c: Include <stap-probe.h>.
1664 (_dl_close_worker): Added static probes "unmap_start" and
1665 "unmap_complete".
1666 * elf/rtld-debugger-interface.txt: New file documenting the above.
1667
9f98c16c
RM
16682012-07-26 Roland McGrath <roland@hack.frob.com>
1669
1670 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1671 rather than a string variable.
1672 * sunrpc/rpc_main.c (h_output): Likewise.
1673 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1674
f3c22df3
PT
16752012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1676
1677 * inet/check_native.c: New file.
1678
3129cfc6
JM
16792012-07-26 Joseph Myers <joseph@codesourcery.com>
1680
da865e95
JM
1681 [BZ #13629]
1682 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1683 if larger part has absolute value 1.0.
1684 * math/s_clog10.c (__clog10): Likewise.
1685 * math/s_clog10f.c (__clog10f): Likewise.
1686 * math/s_clog10l.c (__clog10l): Likewise.
1687 * math/s_clogf.c (__clogf): Likewise.
1688 * math/s_clogl.c (__clogl): Likewise.
1689 * math/libm-test.inc (clog_test): Add more tests.
1690 (clog10_test): Likewise.
1691 * sysdeps/i386/fpu/libm-test-ulps: Update.
1692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1693
3129cfc6
JM
1694 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1695 (pltexit): Likewise.
1696 (La_regs): Likewise.
1697 (La_retval): Likewise.
1698 (int_retval): Likewise.
1699 Update #error for removed macros to refer only to definitions in
1700 tst-audit.h.
1701 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1702 macro.
1703 (pltexit): Likewise.
1704 (La_regs): Likewise.
1705 (La_retval): Likewise.
1706 (int_retval): Likewise.
1707 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1708 macro.
1709 (pltexit): Likewise.
1710 (La_regs): Likewise.
1711 (La_retval): Likewise.
1712 (int_retval): Likewise.
1713 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1714 macro.
1715 (pltexit): Likewise.
1716 (La_regs): Likewise.
1717 (La_retval): Likewise.
1718 (int_retval): Likewise.
1719 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1720 macro.
1721 (pltexit): Likewise.
1722 (La_regs): Likewise.
1723 (La_retval): Likewise.
1724 (int_retval): Likewise.
1725 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1726 macro.
1727 (pltexit): Likewise.
1728 (La_regs): Likewise.
1729 (La_retval): Likewise.
1730 (int_retval): Likewise.
1731 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1732 macro.
1733 (pltexit): Likewise.
1734 (La_regs): Likewise.
1735 (La_retval): Likewise.
1736 (int_retval): Likewise.
1737 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1738 macro definitions in tst-audit.h.
1739 * sysdeps/i386/tst-audit.h: New file.
1740 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1741 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1742 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1743 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1744 * sysdeps/sh/tst-audit.h: Likewise.
1745 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1746 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1747 * sysdeps/x86_64/tst-audit.h: Likewise.
1748
bfc07087
AJ
17492012-07-26 Andreas Jaeger <aj@suse.de>
1750
b1b2aaf8
AJ
1751 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1752 ptrace.
1753
1754 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1755 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1756 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1757 PTRACE_O_MASK.
1758 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1759 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1760 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1761
bfc07087
AJ
1762 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1763 value.
1764
1765 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1766 _sigsys.
1767 (si_call_addr, si_syscall, si_arch): Define new macro.
1768 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1769 _sigsys.
1770 (si_call_addr, si_syscall, si_arch): Define new marcro.
1771 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1772 _sigsys.
1773 (si_call_addr, si_syscall, si_arch): Define new macro.
1774 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1775 _sigsys.
1776 (si_call_addr, si_syscall, si_arch): Define new macro.
1777
89b4b02f
JM
17782012-07-25 Joseph Myers <joseph@codesourcery.com>
1779
1780 [BZ #13717]
1781 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1782 Change to 2.4.21 where previously 2.4.1.
1783 * sysdeps/unix/sysv/linux/configure: Regenerated.
1784 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1785 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1786 Linux kernel version.
1787 (__ASSUME_STD_AUXV): Remove.
1788 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1789 kernel version.
1790 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1791 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1792 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1793 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1794 (__ASSUME_NETLINK_SUPPORT): Likewise.
1795 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1796 (__no_netlink_support): Remove conditional definition.
1797 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1798 Remove.
1799 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1800 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1801 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1802 (if_nameindex_ioctl): Remove.
1803 (if_nameindex_netlink): Do not handle __no_netlink_support.
1804 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1805 code.
1806 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1807 Remove conditional code.
1808 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1809 code.
1810 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1811 unconditional.
1812 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1813 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1814 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1815 Remove.
1816 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1817 [!__ASSUME_STD_AUXV]: Remove conditional code.
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1819 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1820 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1822 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1823 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1824 code.
1825 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1827 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1828 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1829 conditional code.
1830 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1832 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1833 code.
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1835 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1836 conditional code.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1838 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1839 code unconditional.
1840 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1841 conditional code.
1842 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1843 unconditional.
1844 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1845 conditional code.
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1847 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1848 unconditional.
1849 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1850 conditional code.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1852 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1853 code unconditional.
1854 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1855 conditional code.
1856 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1857 unconditional.
1858 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1859 conditional code.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1861 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1862 code unconditional.
1863 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1864 conditional code.
1865 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1866 unconditional.
1867 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1868 conditional code.
1869
842a39cd
AS
18702012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1871
1872 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1873 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1874 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1875 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1876 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1877 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1878 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1879 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1880 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1881 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1882 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1883 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1884 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1885 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1886 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1887 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1888 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1889 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1890 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1892 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1893 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1894 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1895
84b3fd84
FW
18962012-07-25 Florian Weimer <fweimer@redhat.com>
1897
1898 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1899 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1900 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1901 Introduce __libc_secure_getenv.
0c7936d5
FW
1902 * stdlib/Versions (2.17): Add secure_getenv
1903 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1904 * stdlib/secure-getenv.c: Rename __secure_getenv to
1905 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1906 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1907 * stdlib/tst-secure-getenv.c: New.
1908 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1909 * manual/startup.texi (Environment Access): Document
1910 secure_getenv.
84b3fd84
FW
1911 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1912 __libc_secure_getenv.
1913 * inet/ruserpass.c (ruserpass): Likewise.
1914 * malloc/mtrace.c (mtrace): Likewise.
1915 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1916 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1917 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1918 * sysdeps/posix/tempname.c: Likewise. Evaluate
1919 HAVE_SECURE_GETENV.
1920 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1921 __secure_getenv to __libc_secure_getenv.
84b3fd84 1922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1924 Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1926 Likewise.
1927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1934
56e49b71
JM
19352012-07-25 Joseph Myers <joseph@codesourcery.com>
1936
1937 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1938 (struct La_i86_retval): Likewise.
1939 (struct La_x86_64_regs): Likewise.
1940 (struct La_x86_64_retval): Likewise.
1941 (struct La_x32_regs): Likewise.
1942 (struct La_x32_retval): Likewise.
1943 (struct La_ppc32_regs): Likewise.
1944 (struct La_ppc32_retval): Likewise.
1945 (struct La_ppc64_regs): Likewise.
1946 (struct La_ppc64_retval): Likewise.
1947 (struct La_sh_regs): Likewise.
1948 (struct La_sh_retval): Likewise.
1949 (struct La_s390_32_regs): Likewise.
1950 (struct La_s390_32_retval): Likewise.
1951 (struct La_s390_64_regs): Likewise.
1952 (struct La_s390_64_retval): Likewise.
1953 (struct La_sparc32_regs): Likewise.
1954 (struct La_sparc32_retval): Likewise.
1955 (struct La_sparc64_regs): Likewise.
1956 (struct La_sparc64_retval): Likewise.
1957 (struct audit_ifaces): Remove architecture-specific pltenter and
1958 pltexit members.
1959 * sysdeps/i386/ldsodefs.h: New file.
1960 * sysdeps/powerpc/ldsodefs.h: Likewise.
1961 * sysdeps/s390/ldsodefs.h: Likewise.
1962 * sysdeps/sh/ldsodefs.h: Likewise.
1963 * sysdeps/sparc/ldsodefs.h: Likewise.
1964 * sysdeps/x86_64/ldsodefs.h: Likewise.
1965
354691b7
MP
19662012-07-25 Marek Polacek <polacek@redhat.com>
1967
1968 [BZ #6808]
1969 * math/libm-test.inc (yn_test): Add another test.
1970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1971 to ERANGE when the result is +-Inf.
1972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1973 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1974 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1975 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1976
bf9e2071
JM
19772012-07-24 Joseph Myers <joseph@codesourcery.com>
1978
1979 * conform/data/time.h-data (NULL): Use macro-constant. Require
1980 equal to 0.
1981 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1982 clock_t.
1983 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1984
57633811
TS
19852012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1986
1987 * configure.in <sysdeps resolving>: Correct printing
1988 Implies_before.
1989 * configure: Regenerate.
1990
c23c33b0
TS
19912012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1992
1993 * math/w_ilogb.c: Include <limits.h>.
1994 * math/w_ilogbl.c: Likewise.
1995
b5982523
JM
19962012-07-20 Joseph Myers <joseph@codesourcery.com>
1997
1998 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1999 va_copy. Document allowing for unavailable va_copy only as
2000 pre-C99 compatibility.
2001 * manual/string.texi (Copying and Concatenation): Use va_copy
2002 instead of __va_copy in concat example.
2003
ac4ea442
PT
20042012-07-20 Pino Toscano <toscano.pino@tiscali.it>
2005
2006 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
2007 (__sendto): Use create_address_port. Initialize APORT and deallocate
2008 it if not null.
2009
f98eafbd
PT
2010 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
2011 with O_NOLINK passed to __file_name_lookup.
2012
898c7aab
PT
2013 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
2014 with O_NOLINK passed to __file_name_lookup.
2015
0ced335a
PT
2016 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
2017 negative N or less than NGIDS.
2018
b3404dbd
PT
2019 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
2020 type to string_t. Set ERANGE as errno and return it if NAME is not big
2021 enough. Use memcpy instead of strncpy.
2022
0f48659e
JM
20232012-07-20 Joseph Myers <joseph@codesourcery.com>
2024
2025 * elf/Makefile (check-data): Remove.
2026 (localplt.data): New vpath directive.
2027 ($(objpfx)check-localplt.out): Use localplt.data from vpath
2028 instead of $(check-data).
2029 * scripts/data/localplt-generic.data: Move to ...
2030 * sysdeps/generic/localplt.data: ... here.
2031 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
2032 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
2033 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2035 ... here.
2036 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2038 ... here.
2039 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
2040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
2041 ... here.
2042 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
2043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2044 ... here.
2045 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
2046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
2047 ... here.
2048 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
2049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
2050 ... here.
2051
d37cbdaa
AZ
20522012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2053
2054 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
2055 PPC32 and PPC64 files.
2056 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
2057 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
2058
46f85fc2
AK
20592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2060
2061 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
2062 __makecontext_ret to ...
2063 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2064 ... here and call exit if uc_link is NULL. New file.
2065 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
2066 __makecontext_ret.S.
2067 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
2068 __makecontext_ret to ...
2069 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2070 ... here and call exit if uc_link is NULL. New file.
2071 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
2072 __makecontext_ret.S.
2073
08f43f9b
AK
20742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2075
2076 * elf/elf.h (R_390_IRELATIVE): New definition.
2077 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
2078 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
2079 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
2080 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2081 (elf_machine_lazy_rel): Likewise.
2082 * sysdeps/s390/dl-irel.h: New file.
2083 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2084 * sysdeps/s390/s390-64/memset.S: New asm code.
2085 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2086 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2087 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2088 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2089 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2090 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2091 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2092 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2093 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2094 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2095 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2096 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2097 * sysdeps/s390/s390-32/memset.S: New asm code.
2098 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2099
3b05db33
MP
21002012-07-17 Marek Polacek <polacek@redhat.com>
2101
2102 [BZ #14349]
2103 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2104 * sysdeps/s390/s390-64/configure.in: Likewise.
2105 * sysdeps/sparc/configure.in: Likewise.
2106 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2107 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2108 * sysdeps/i386/configure.in: Likewise.
2109 * sysdeps/x86_64/configure.in: Likewise.
2110 * sysdeps/sh/configure.in: Likewise.
2111 * sysdeps/s390/s390-32/configure: Regenerated.
2112 * sysdeps/s390/s390-64/configure: Likewise.
2113 * sysdeps/x86_64/configure: Likewise.
2114 * sysdeps/sh/configure: Likewise.
2115 * sysdeps/powerpc/powerpc64/configure: Likewise.
2116 * sysdeps/powerpc/powerpc32/configure: Likewise.
2117 * sysdeps/sparc/configure: Likwise.
2118 * sysdeps/i386/configure: Likewise.
2119
a66877c6
MP
2120 * elf/dl-open.c: Comment fixes.
2121
cfc82fd8
JM
21222012-07-17 Joseph Myers <joseph@codesourcery.com>
2123
bd29910a
JM
2124 * Makefile [CXX] (check-data): Remove.
2125 [CXX] (c++-types.data): New vpath directive.
2126 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2127 vpath. Do not allow for C++ type data being missing.
2128 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2129 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2130 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2131 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2132 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2133 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2134 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2136 ... here.
2137 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2139 ... here.
2140 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2142 ... here.
2143 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2145 ... here.
2146 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2148 ... here.
2149 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2151 ... here.
2152 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2154 ... here.
2155 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2157
cfc82fd8
JM
2158 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2159 definitions to architecture-specific files.
2160 (TLS_IE): Likewise.
2161 (TLS_LD): Likewise.
2162 (TLS_GD): Likewise.
2163 * sysdeps/i386/tls-macros.h: New file.
2164 * sysdeps/powerpc/tls-macros.h: Likewise.
2165 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2166 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2167 * sysdeps/sh/tls-macros.h: Likewise.
2168 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2169 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2170 * sysdeps/x86_64/tls-macros.h: Likewise.
2171
f7db3170
TS
21722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2173
07cbfc23
TS
2174 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2175 zero value for regular exit case.
2176
f7db3170
TS
2177 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2178 (__start_context): Preserve zero value for regular exit case.
2179
dc97c227
TS
21802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2181 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2182
2183 * manual/setjmp.texi (setcontext): Clarify normal process
2184 termination when uc_link is the null pointer.
2185 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2186 exit call.
2187
d0cd7d02
AS
21882012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2189
2190 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2191 preprocessor. Test for each exception mask separately.
2192
dd318934
AJ
21932012-07-16 Andreas Jaeger <aj@suse.de>
2194
2195 * po/ru.po: Update from translation team.
2196
8048311a
JM
21972012-07-15 Joseph Myers <joseph@codesourcery.com>
2198
2199 * conform/data/string.h-data (NULL): Use macro-constant. Require
2200 equal to 0.
2201 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2202 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2203 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2204 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2205 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2206
b637d46e
AJ
22072012-07-13 Andreas Jaeger <aj@suse.de>
2208
2209 * po/fr.po: Update from translation team.
2210
541428fe
MP
22112012-07-12 Marek Polacek <polacek@redhat.com>
2212
2213 [BZ #14173]
2214 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2216 loop condition.
2217
ec332e94
JM
22182012-07-12 Joseph Myers <joseph@codesourcery.com>
2219
2220 [BZ #13717]
2221 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2222 Change to 2.4.1 where previously 2.4.0.
2223 * sysdeps/unix/sysv/linux/configure: Regenerated.
2224 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2225 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2226 version.
2227 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2228 (__ASSUME_AT_CLKTCK): Remove.
2229 (__ASSUME_AT_PAGESIZE): Likewise.
2230 (__ASSUME_AT_XID): Likewise.
2231 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2232 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2233 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2234 unconditionally.
2235 (HAVE_AUX_PAGESIZE): Likewise.
2236 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2237 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2238 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2239
7b6e99be
JB
22402012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2241
2242 [BZ #14307]
2243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2244 the temporary buffer used to invoke __gethostbyname2_r,
2245 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2246 host_data / struct gaih_addrtuple.
2247 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2248 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2249 header file nss/nsswitch.h.
2250 * nss/nsswitch.h (global scope): Add definition of implementation
2251 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2252 resolv/nss_dns/dns-host.c).
2253
608404eb
AJ
22542012-07-11 Andreas Jaeger <aj@suse.de>
2255
2256 * po/fr.po: Update from translation team.
2257
71220aca
AJ
2258 * po/sv.po: Update from translation team
2259 * po/fr.po: Another update from translation team.
2260
28cfe843
AZ
22612012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2262
2263 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2264 for subnormals or multiply small sinh result by itself.
2265 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2267
6b90f981
DM
22682012-07-11 David S. Miller <davem@davemloft.net>
2269
2270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2271
c6825772
AS
22722012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2273
2274 [BZ #14347]
2275 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2276 (INTERNAL_MARK): Shift it here.
2277
7b8e0d49
MP
22782012-07-10 Marek Polacek <polacek@redhat.com>
2279
2280 [BZ #14151]
2281 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2282 libc_cv_asm_global_directive with .globl.
2283 * configure: Regenerated.
2284 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2285 with .globl.
2286 * sysdeps/i386/configure: Regenerated.
2287 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2288 with .globl.
2289 * sysdeps/x86_64/configure: Regenerated.
2290 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2291 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2292 * elf/tst-unique2mod2.c: Likewise.
2293 * elf/tst-unique2mod1.c: Likewise.
2294 * elf/tst-unique1mod2.c: Likewise.
2295 * elf/tst-unique1mod1.c: Likewise.
2296 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2297 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2299 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2300 * sysdeps/mach/sysdep.h: Likewise.
2301 * sysdeps/i386/sysdep.h: Likewise.
2302 * sysdeps/i386/i386-mcount.S: Likewise.
2303 * sysdeps/x86_64/_mcount.S: Likewise.
2304 * sysdeps/x86_64/sysdep.h: Likewise.
2305 * sysdeps/sh/_mcount.S: Likewise.
2306 * sysdeps/sh/sysdep.h: Likewise.
2307 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2308 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2309 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2310 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2311 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2312 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2313 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2314 * locale/localeinfo.h: Likewise.
2315 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2316 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2317
6c55cda3
RM
23182012-07-09 Roland McGrath <roland@hack.frob.com>
2319
2320 [BZ #14336]
2321 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2322 system".
2323 * manual/message.texi (The Uniforum approach): Likewise.
2324 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2325 (glibc iconv Implementation): Likewise.
2326
638a572e
JM
23272012-07-09 Joseph Myers <joseph@codesourcery.com>
2328
2329 [BZ #14337]
2330 * math/s_clog.c (__clog): Avoid scaling a value down where that
2331 could result in underflow.
2332 * math/s_clog10.c (__clog10): Likewise.
2333 * math/s_clog10f.c (__clog10f): Likewise.
2334 * math/s_clog10l.c (__clog10l): Likewise.
2335 * math/s_clogf.c (__clogf): Likewise.
2336 * math/s_clogl.c (__clogl): Likewise.
2337 * math/libm-test.inc (clog_test): Add more tests.
2338 (clog10_test): Likewise.
2339 * sysdeps/i386/fpu/libm-test-ulps: Update.
2340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2341
261f4859
AS
23422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2343
0abaf3e4
AS
2344 [BZ #14283]
2345 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2346 by 7 not 8 to examine high bit of fractional part.
2347
261f4859
AS
2348 [BZ #14042]
2349 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2350 for call to __mcount_internal.
2351 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2352 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2353 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2354
f17ac40d
JM
23552012-07-06 Joseph Myers <joseph@codesourcery.com>
2356
9ad63c23
JM
2357 [BZ #14154]
2358 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2359 approximation for values within 0x1p-13f of an odd multiple of
2360 pi/4.
2361 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2362 exception. Add more tests.
2363 * sysdeps/i386/fpu/libm-test-ulps: Update.
2364
f17ac40d
JM
2365 [BZ #6778]
2366 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2367 inputs and return -1 for them. Do not check for +Inf in case not
2368 reachable for +Inf.
2369 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2370 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2371 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2372 and return -1 for them. Do not check for +Inf in case not
2373 reachable for +Inf.
2374 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2375 define.
2376 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2377 and return -1 for them. Do not check for +Inf in case not
2378 reachable for +Inf.
2379 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2380 spurious underflow.
2381 * sysdeps/i386/fpu/libm-test-ulps: Update.
2382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2383
fb21f89b
MF
23842012-07-06 Mike Frysinger <vapier@gentoo.org>
2385
2386 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2387
cdfe2c5e
JM
23882012-07-05 Joseph Myers <joseph@codesourcery.com>
2389
2390 [BZ #14157]
2391 [BZ #14331]
2392 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2393 could result in spurious underflow. Scale down values above
2394 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2395 * math/s_csqrtf.c (__csqrtf): Likewise.
2396 * math/s_csqrtl.c (__csqrtl): Likewise.
2397 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2398 spurious underflow.
2399 * sysdeps/i386/fpu/libm-test-ulps: Update.
2400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2401
70d35b67
AS
24022012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2403
704bc459
AS
2404 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2405 xopen-msg.sed.
2406 * catgets/xopen-msg.awk: New file.
2407 * catgets/xopen-msg.sed: Removed.
2408
70d35b67
AS
2409 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2410 po2text.sed.
2411 * intl/po2test.awk: New file.
2412 * intl/po2test.sed: Removed.
2413
ca61cf32
JM
24142012-07-04 Joseph Myers <joseph@codesourcery.com>
2415
2416 [BZ #14328]
2417 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2418 or multiply small sinh result by itself.
2419 * math/s_ctanf.c (__ctanf): Likewise.
2420 * math/s_ctanh.c (__ctanh): Likewise.
2421 * math/s_ctanhf.c (__ctanhf): Likewise.
2422 * math/s_ctanhl.c (__ctanhl): Likewise.
2423 * math/s_ctanl.c (__ctanl): Likewise.
2424 * math/libm-test.inc (ctan_test_tonearest): New function.
2425 (ctan_test_towardzero): Likewise.
2426 (ctan_test_downward): Likewise.
2427 (ctan_test_upward): Likewise.
2428 (ctanh_test_tonearest): Likewise.
2429 (ctanh_test_towardzero): Likewise.
2430 (ctanh_test_downward): Likewise.
2431 (ctanh_test_upward): Likewise.
2432 (main): Call these new functions.
2433 * sysdeps/i386/fpu/libm-test-ulps: Update.
2434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2435
ca48a46a
MF
24362012-07-03 Mike Frysinger <vapier@gentoo.org>
2437
2438 * .gitignore: Delete /ports entry.
2439
9d63d37d
AJ
24402012-07-03 Andreas Jaeger <aj@suse.de>
2441
2442 * po/bg.po: Update from translation team.
2443 * po/cs.po: Likewise.
2444 * po/de.po: Likewise.
2445 * po/hr.po: Likewise.
2446 * po/nl.pl: Likewise.
2447 * po/pl.po: Likewise.
2448 * po/vi.po: Likewise.
2449
370ca3d2
JM
24502012-07-03 Joseph Myers <joseph@codesourcery.com>
2451
95f5a9a8
JM
2452 * Makeconfig [!+link] (+link-before-libc): New variable.
2453 [!+link] (+link-after-libc): Likewise.
2454 [!+link] (+link-tests): Likewise.
2455 [!+link] (+link): Define in terms of $(+link-before-libc) and
2456 $(+link-after-libc).
2457 [!+link-static] (+link-static-before-libc): New variable.
2458 [!+link-static] (+link-static-after-libc): Likewise.
2459 [!+link-static] (+link-static-tests): Likewise.
2460 [!+link-static] (+link-static): Define in terms of
2461 $(+link-static-before-libc) and $(+link-static-after-libc).
2462 [build-shared] (link-libc-before-gnulib): New variable.
2463 [build-shared] (link-libc-tests): Likewise.
2464 [build-shared] (link-libc): Define in terms of
2465 $(link-libc-before-gnulib).
2466 [!build-shared] (link-libc-tests): New variable.
2467 (link-libc-static-tests): New variable.
2468 [!gnulib] (gnulib-arch): New variable.
2469 [!gnulib] (gnulib-tests): Likewise.
2470 [!gnulib] (static-gnulib-arch): Likewise.
2471 [!gnulib] (static-gnulib-tests): Likewise.
2472 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2473 Define with "=" instead of ":=".
2474 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2475 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2476 * Rules (binaries-all-notests): New variable.
2477 (binaries-all-tests): Likewise.
2478 (binaries-static-notests): Likewise.
2479 (binaries-static-tests): Likewise.
2480 (binaries-all): Define using $(binaries-all-notests) and
2481 $(binaries-all-tests).
2482 (binaries-static): Define using $(binaries-static-notests) and
2483 $(binaries-static-tests).
2484 (binaries-shared-tests): New variable.
2485 (binaries-shared-notests): Likewise.
2486 (binaries-shared): Remove variable.
2487 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2488 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2489 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2490 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2491 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2492 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2493 * elf/Makefile (sln-modules): New variable.
2494 (extra-objs): Add $(sln-modules:=.o).
2495 (ldconfig-modules): Add static-stubs.
2496 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2497 * elf/static-stubs.c: New file.
2498
7a845b2c
JM
2499 [BZ #14283]
2500 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2501 by 7 not 8 to examine high bit of fractional part. Use volatile
2502 variables when splitting into final array of floats if
2503 __FLT_EVAL_METHOD__ != 0.
2504 * math/libm-test.inc (cos_test): Add another test.
2505 (sin_test): Likewise.
2506 * sysdeps/i386/fpu/libm-test-ulps: Update.
2507
e2283f38
JM
2508 [BZ #14273]
2509 * math/libm-test.inc (cosh_test): Add more tests.
2510
370ca3d2
JM
2511 * version.h (RELEASE): Set to "development".
2512 (VERSION): Set to "2.16.90".
2513
ee9247c3
CD
25142012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2515
2516 * NEWS: Update copyright. Remove last-updated date.
2517 Mention math library bug fixes and timezone data changes.
2518 * README: Mention GNU/Hurd, x32, and HPPA support status.
2519
4648c381
TS
25202012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2521
2522 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2523
aac78a43
AJ
25242012-06-27 Andreas Jaeger <aj@suse.de>
2525
2526 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2527
ed3dbfad
AJ
25282012-06-25 Andreas Jaeger <aj@suse.de>
2529
2530 * sysdeps/s390/fpu/libm-test-ulps: Update.
2531
4d0ee855
AS
25322012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2533 Thomas Schwinge <thomas@codesourcery.com>
2534
2535 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2536 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2538 fanotify_mark.
2539
af1bce34
TS
25402012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2541
a9fa33ba
TS
2542 * sysdeps/mach/start.c: Remove file.
2543 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2544 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2545 * sysdeps/sh/init-first.c: Likewise.
2546
58f902b8
TS
2547 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2548 registers for frame unwinding purposes, add CFI directives.
2549 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2551 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2552 Likewise.
2553
1518f58b
TS
2554 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2555 __fortify_fail returning.
2556 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2557
db9b5059
TS
2558 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2559 sysdeps/sh/____longjmp_chk.S.
2560 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2561 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2562 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2563 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2564
967705fe
TS
2565 * sysdeps/sh/abort-instr.h: New file.
2566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2567 process in case exit returns.
2568
a9def8c4
TS
2569 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2570 initialize the GOT register before use.
2571
2a649725
TS
2572 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2573 calculation of ARGC > 4.
2574
af1bce34
TS
2575 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2576 meaningful names to some local labels.
2577
d230f50a
KK
25782012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2579 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2580
2581 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2582 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2583 (__arch_compare_and_exchange_val_16_acq): Likewise.
2584 (__arch_compare_and_exchange_val_32_acq): Likewise.
2585 (atomic_exchange_and_add): Fix gUSA sequence.
2586 (atomic_add): Likewise.
2587 (atomic_add_negative): Likewise.
2588 (atomic_add_zero): Likewise.
2589 (atomic_bit_test_set): Likewise.
2590
0479b305
AS
25912012-06-22 Andreas Schwab <schwab@redhat.com>
2592
2593 [BZ #13579]
2594 * include/link.h (struct link_map): Add l_free_initfini.
2595 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2596 l_initfini.
2597 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2598 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2599 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2600 set.
2601
0e3933b9
CD
26022012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2603
2604 * configure.in: Use AC_LANG_SOURCE.
2605 * configure: Regenerate.
2606
4248b1b1
RM
26072012-06-22 Roland McGrath <roland@hack.frob.com>
2608
2609 * configure.in (libc_cv_localstatedir): New substituted variable.
2610 * configure: Regenerated.
2611 * config.make.in (localstatedir): New variable, substituted from
2612 libc_cv_localstatedir.
2613 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2614 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2615 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2616 * sysdeps/gnu/configure: Regenerated.
2617
006dd861
JL
26182012-06-21 Jeff Law <law@redhat.com>
2619
2620 [BZ #14277]
2621 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2622 free. Simplify list management for _LIBC case.
2623
79662d42
JM
26242012-06-21 Joseph Myers <joseph@codesourcery.com>
2625
b7abb4bf
JM
2626 [BZ #14273]
2627 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2628 Clear sign bit of 64-bit integer value before comparing against
2629 overflow value.
2630
79662d42
JM
2631 * sysdeps/mach/configure: Regenerated.
2632
1f150908
L
26332012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2634
2635 [BZ #14278]
2636 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2637
28363bbf
JL
26382012-06-21 Jeff Law <law@redhat.com>
2639
2640 [BZ #13882]
2641 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2642 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2643 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2644 * elf/dl-open.c (dl_open_worker): Likewise.
2645
09615db4
CD
26462012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2647
2648 * scripts/list-sources.sh: Scan PORTS for translations.
2649 * po/libc.pot: Regenerated.
2650
2174c6dd
AJ
26512012-06-21 Andreas Jaeger <aj@suse.de>
2652
2653 [BZ #12194]
2654 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2655 warning.
2656 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2657 * bits/byteswap-16.h (__bswap_16): Likewise.
2658 * bits/byteswap.h (__bswap_constant_16): Likewise.
2659
3ee947b1
L
26602012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2661
2662 [BZ #14117]
a2f34833
L
2663 * sysdeps/i386/fpu_control.h: Removed.
2664 * sysdeps/x86_64/fpu_control.h: Moved to ...
2665 * sysdeps/x86/fpu_control.h: Here.
2666
3ee947b1
L
2667 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2668 (_FPU_SETCW): Likewise.
2669
ed1825f8
L
26702012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2671
25f1282a
L
2672 [BZ #14117]
2673 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2674 * sysdeps/x86/fpu/bits/mathinline.h: This.
2675 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2676
ed1825f8
L
2677 [BZ #14050]
2678 [BZ #14117]
2679 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2680 functions if __x86_64__ is defined.
2681
36d54b74
CLT
26822012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2683
2684 * string/endian.h: Add !__ASSEMBLER__ condition for including
2685 conversion interfaces.
2686
10285c21
JM
26872012-06-15 Joseph Myers <joseph@codesourcery.com>
2688
2689 [BZ #14241]
2690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2691 of ABS(x) in calculating zero to negative powers other than odd
2692 integers.
2693 * math/libm-test.inc (pow_test): Add more tests.
2694
06c5abbd
AJ
26952012-06-15 Andreas Jaeger <aj@suse.de>
2696
2697 * manual/contrib.texi (Contributors): Update entry of Liubov
2698 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2699 Machado Filho.
2700
a3aeac40
CH
27012012-06-15 Cyril Hrubis <metan@ucw.cz>
2702
2703 * string/string.h: Add __wur to GNU version of strerror_r.
2704
49bdf4c1
L
27052012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2706
2707 [BZ #14229]
2708 * string/Makefile (tests): Add tst-strtok_r.
2709 * string/tst-strtok_r.c: New file.
2710 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2711 RAX_LP/RDX_LP on SAVE_PTR.
2712
834f9b8d
RM
27132012-06-14 Roland McGrath <roland@hack.frob.com>
2714
2715 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2716
75fa1921
JM
27172012-06-14 Joseph Myers <joseph@codesourcery.com>
2718
2719 * libm_test.inc (csqrt_test): Allow more spurious underflow
2720 exceptions.
2721 (j0_test): Likewise.
2722 (j1_test): Likewise.
2723 (y0_test): Likewise.
2724 (y1_test): Likewise.
2725
771766df
CD
27262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2727
2728 * po/Makefile (libc.pot): Use UTF-8 charset.
2729
ceb9e56b
PP
27302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2731
2732 [BZ #14210]
2733 Suppress sign-conversion warning from FD_SET.
2734 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2735 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2736 not unsigned long int.
2737 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2738
ddb28975
L
27392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2740
2741 [BZ #14050]
2742 [BZ #14117]
2743 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2744 __extern_always_inline instead of __extern_inline.
2745 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2746 (__signbit): Likewise.
2747 (__signbitl): Support C++ namespace.
2748 (lrintf): New inline function.
2749 (lrint): Likewise.
2750 (llrintf): Likewise.
2751 (llrint): Likewise.
2752 (fmaxf): Likewise.
2753 (fmax): Likewise.
2754 (fminf): Likewise.
2755 (fmin): Likewise.
2756 (rint): Likewise.
2757 (rintf): Likewise.
2758 (ceil): Likewise.
2759 (ceilf): Likewise.
2760 (floor): Likewise.
2761 (floorf): Likewise.
2762 (nearbyint): Likewise.
2763 (nearbyintf): Likewise.
2764
d7b4fb26
TS
27652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2766
2767 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2768 non-default versions.
2769
eb55f5c2
RM
27702012-06-11 Roland McGrath <roland@hack.frob.com>
2771
2772 [BZ #14218]
2773 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2774
366af02c
TS
27752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2776
99ff6e5c
TS
2777 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2778 (FE_UPWARD, FE_DOWNWARD): Don't define.
2779 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2780 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2781
366af02c
TS
2782 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2783 reading it.
2784 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2785 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2786
793ea851
KK
27872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2788
2789 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2791 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2792 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2793
a728a38f
L
27942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2795
2796 [BZ #14117]
c08010c7
L
2797 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2798 * sysdeps/i386/fpu/Implies: New file.
2799 * sysdeps/x86_64/fpu/Implies: Likewise.
2800 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2801 * sysdeps/x86/fpu/bits/fenv.h: This.
2802
a728a38f
L
2803 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2804 __SSE_MATH__.
2805
6e230d11
SP
28062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2807
2808 [BZ #14134]
2809 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2810 character 0xffff that matches the last element of the
2811 conversion table.
2812
1b671feb
AZ
28132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2814
2815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2816 fmodl commit.
2817
6043738b
AZ
28182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819
2820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2821 values higher than 25.6283.
2822
34ae0b32
AZ
28232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2824
2825 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2826 subnormal exponent extraction and add some __builtin_expect.
2827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2828 Fix for subnormal mantissa calculation.
2829
1214ec8f
MF
28302012-06-04 Mike Frysinger <vapier@gentoo.org>
2831
2832 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2833 cpu2 is -1 and errno is not ENOSYS.
2834
f3d1f93c
L
28352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 [BZ #14117]
0e4a3cd7
L
2838 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2839 * sysdeps/x86/bits/string.h: This.
2840 * sysdeps/x86_64/bits/string.h: Removed.
2841
6704c645
L
2842 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2843 if not compiling for x86-64, but compiling for >= i486.
2844
48495318
L
2845 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2846 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2847
14adcbfc
L
2848 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2849 New macro from Linux kernel 3.4.0.
2850 (FP_XSTATE_MAGIC2): Likewise.
2851 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2852 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2853 (struct _fpx_sw_bytes): New struct.
2854 (struct _xsave_hdr): Likewise.
2855 (struct _ymmh_state): Likewise.
2856 (struct _xstate): Likewise.
2857
68e408ab
L
2858 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2859 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2860 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2861 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2862 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2863 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2864
f3d1f93c
L
2865 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2866 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2867 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2868 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2869 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2870 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2871
d9dc34cd
TMQMF
28722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2873
2874 [BZ #13743]
2875 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2876 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2877 (sysdep_headers): Include sys/platform/ppc.h.
2878 * sysdeps/powerpc/test-gettimebase.c: Test for
2879 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2880 * manual/Makefile (appendices): Include platform.texi.
2881 * manual/contrib.texi (Contributors): Update @node pointers.
2882 * manual/maint.texi (Maintenance): Likewise.
2883 (Platform): New node.
2884 * manual/platform.texi: New file. Document the new features.
2885
4af3879c
SP
28862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2887 Jakub Jelinek <jakub@redhat.com>
2888
2889 [BZ #14188]
2890 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2891 where __builtin_expect is unavailable.
2892
2fd6ff13
DM
28932012-06-03 David S. Miller <davem@davemloft.net>
2894
2895 * stdlib/longlong.h: Updated from GCC.
2896
173f7220
AS
28972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2898
2899 [BZ #14042]
2900 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2901 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2902 __mcount_internal.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2904 (GLIBC_2.16): Likewise.
2905
f34a1c6f
L
29062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2909
88a4576f
JM
29102012-06-01 Joseph Myers <joseph@codesourcery.com>
2911
ea32bcdd
JM
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2913 (default-abi): New variable.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2915 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2916 variable.
2917 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2918 Likewise.
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2920 Likewise.
2921 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2922 Likewise.
2923
88a4576f
JM
2924 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2925 definition. Document in comment.
2926
402fe938
DM
29272012-06-01 David S. Miller <davem@davemloft.net>
2928
2929 * stdlib/longlong.h: Updated from GCC.
2930
3553723f
L
29312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2932
2933 [BZ #14117]
3bd872c4
L
2934 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2935 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2936 sys/debugreg.h sys/io.h here.
2937 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2938 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2939 sys/io.h.
2940 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2941 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2942 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2943 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2944 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2945 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2946
3553723f
L
2947 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2948 Define only if __x86_64__ is defined.
2949
4842e4fe
JM
29502012-06-01 Joseph Myers <joseph@codesourcery.com>
2951
c5bfe3d5
JM
2952 [BZ #14048]
2953 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2954 Use int64_t for variable i.
2955 * math/libm-test.inc (fmod_test): Add more tests.
2956
4842e4fe
JM
2957 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2958 z computation is not scheduled after fetestexcept.
2959 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2960 Use math_force_eval instead of asm to ensure calculation scheduled
2961 before exception test.
2962 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2963 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2964
efb73488
AJ
29652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2966
2967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2968 computation is not scheduled after fetestexcept.
2969
29bcce7c
L
29702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2971
2972 [BZ #14117]
2973 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2974 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2975
73a68f94
AZ
29762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977
2978 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2979 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2980
67b6df78
L
29812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2982
edf2933a 2983 [BZ #14117]
ebc64a18
L
2984 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2985 <bits/wordsize.h>.
2986 (__WCHAR_MIN): Support __WORDSIZE == 64.
2987 (__WCHAR_MAX): Likewise.
2988
edf2933a
L
2989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2990 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2991
57c6cf40
L
2992 [BZ #14183]
2993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2994 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2995
67b6df78 2996 [BZ #14117]
8eb6281e
L
2997 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2998 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2999
aac639f4
L
3000 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
3001 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
3002
67b6df78
L
3003 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
3004 Defined to 1 if __x86_64__ isn't defined.
3005 (_STAT_VER_LINUX_OLD): New.
3006 (st_atime): Remove duplicate.
3007 (st_mtime): Likewise.
3008 (st_ctime): Likewise.
3009
1c2cfe81
DM
30102012-05-31 David S. Miller <davem@davemloft.net>
3011
3012 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
3013 entries.
3014
5be8418c
AS
30152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
3016
e7725326
AS
3017 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
3018 gen-libm-test.pl.
3019
5be8418c
AS
3020 [BZ #14132]
3021 * elf/dl-reloc.c: Include <_itoa.h>.
3022 (_dl_reloc_bad_type): Remove use of INTUSE.
3023 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
3024 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
3025 * stdio-common/psiginfo.c (psiginfo): Likewise.
3026 * stdio-common/psignal.c (psignal): Likewise.
3027 * string/strsignal.c (strsignal): Likewise.
3028 * include/signal.h (_sys_siglist): Declare hidden proto.
3029 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
3030 INTVARDEF with libc_hidden_data_def.
3031 * stdio-common/itoa-udigits.c: Likewise.
3032 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
3033 (_itoa_lower_digits_internal): Remove declaration.
3034 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
3035 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
3036 (_sys_sigabbrev_internal): Remove aliases.
3037 (_sys_siglist): Define hidden alias.
3038
507352f1
MT
30392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
3040
3041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3042 bits/sysctl.h.
3043
42bbb1c3
L
30442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 [BZ #14117]
6bd784b6
L
3047 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
3048 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
3049
8bca20f0
L
3050 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
3051 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
3052 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
3053 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
3054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
3055 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
3056
f9e890a9
L
3057 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
3058 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
3059 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
3060
471101a1
L
3061 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
3062 with __addr.
3063 (insw): Likewise.
3064 (insl): Likewise.
3065 (outsb): Likewise.
3066 (outsw): Likewise.
3067 (outsl): Likewise.
3068
6451c862
L
3069 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
3070 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
3071 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
3072
a254b8c9
L
3073 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
3074 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
3075 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
3076 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
3077 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
3078 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
3079
b8dfdd92
L
3080 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
3081 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
3082
578cd270
L
3083 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3084 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3085
de662f5f
L
3086 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3088 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3089
25653439
L
3090 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3091 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3092 to ...
3093 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3094
6bad24a0
L
3095 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3096 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3097 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3098
42bbb1c3
L
3099 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3100 for x86-64.
3101 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3102
2d10d547
JM
31032012-05-31 Joseph Myers <joseph@codesourcery.com>
3104
3105 * math/math.h (M_El): Use two more decimal places.
3106 (M_LOG2El): Likewise.
3107 (M_LOG10El): Likewise.
3108 (M_LN2l): Likewise.
3109 (M_LN10l): Likewise.
3110 (M_PIl): Likewise.
3111 (M_PI_2l): Likewise.
3112 (M_PI_4l): Likewise.
3113 (M_1_PIl): Likewise.
3114 (M_2_PIl): Likewise.
3115 (M_2_SQRTPIl): Likewise.
3116 (M_SQRT2l): Likewise.
3117 (M_SQRT1_2l): Likewise.
3118
f230c29b
DM
31192012-05-31 David S. Miller <davem@davemloft.net>
3120
3121 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3122 values between float registers.
3123 * sysdeps/sparc/sparc64/memset.S: Likewise.
3124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3125
fed806c3
MF
31262012-05-31 Mike Frysinger <vapier@gentoo.org>
3127
3128 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3129 -D_FORTIFY_SOURCE=1.
3130 (CPPFLAGS-tst-longjmp_chk.c): Define.
3131 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3132 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3133 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3134 CFLAGS-tst-wchar-h.c.
3135
30917259
MP
31362012-05-31 Marek Polacek <polacek@redhat.com>
3137
3138 [BZ #14132]
3139 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3140 __endmntent_internal): Remove declaration.
3141 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3142 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3143 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3144
1c58d5dc
DM
31452012-05-30 David S. Miller <davem@davemloft.net>
3146
3147 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3148 (___Q_simulate_exceptions): Use real FP ops rather than writing
3149 into the %fsr.
3150 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3151 Likewise.
3152
7dc00e0d
L
31532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3154
3155 [BZ #14117]
0bd53985
L
3156 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3157 * sysdeps/x86/bits/xtitypes.h: This.
3158
3a257e66
L
3159 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3160 * sysdeps/x86/bits/wordsize.h: This.
3161
62f62904
L
3162 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3163 * sysdeps/x86/bits/huge_vall.h: This.
3164
404fe9d9
L
3165 * sysdeps/i386/bits/select.h: Removed.
3166 * sysdeps/x86_64/bits/select.h: Renamed to ...
3167 * sysdeps/x86/bits/select.h: This.
3168
d48d0446
L
3169 * sysdeps/i386/bits/setjmp.h: Removed.
3170 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3171 * sysdeps/x86/bits/setjmp.h: This.
3172
7dc00e0d
L
3173 * sysdeps/i386/bits/mathdef.h: Removed.
3174 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3175 * sysdeps/x86/bits/mathdef.h: This.
3176
03277f8f
AS
31772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3178
3179 [BZ #14132]
3180 * include/sys/socket.h (__connect_internal)
3181 (__libc_sa_len_internal): Remove declaration.
3182 (__connect, __libc_sa_len): Declare hidden_proto.
3183 (SA_LEN): Remove use of INTUSE.
3184 * socket/connect.c: Add libc_hidden_def.
3185 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3186 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3187 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3188 alias.
3189 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3190 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3191 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3192 of adding _internal alias.
3193
13764867
L
31942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3195
3196 [BZ #14117]
6bd97696
L
3197 * sysdeps/i386/bits/link.h: Removed.
3198 * sysdeps/i386/bits/linkmap.h: Likewise.
3199 * sysdeps/x86_64/bits/link.h: Renamed to ...
3200 * sysdeps/x86/bits/link.h: This.
3201 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3202 * sysdeps/x86/bits/linkmap.h: This.
3203
f726f0bb
L
3204 * sysdeps/i386/bits/endian.h: Removed.
3205 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3206 * sysdeps/x86/bits/endian.h: This.
3207
13764867
L
3208 * sysdeps/i386/bits/byteswap.h: Removed.
3209 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3210 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3211 * sysdeps/x86/bits/byteswap.h: This.
3212 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3213 * sysdeps/x86/bits/byteswap-16.h: This.
3214 * sysdeps/i386/Implies: Add x86.
3215 * sysdeps/x86_64/Implies: Likewise.
3216
ae251b0b
DM
32172012-05-30 David S. Miller <davem@davemloft.net>
3218
3219 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3220 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3222 (FP_TRAPPING_EXCEPTIONS): Define.
3223 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3224 (FP_TRAPPING_EXCEPTIONS): Define.
3225 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3226 subnormals only when inexact has been signalled or underflow
3227 exceptions are enabled.
3228 (_FP_PACK_CANONICAL): Likewise.
3229
d5c90867
L
32302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3231
3232 [BZ #14183]
3233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3234 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3235
63f1549e
RH
32362012-05-30 Richard Henderson <rth@twiddle.net>
3237
8d8f2279
RH
3238 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3239 with #ifndef NOT_IN_libc.
3240
63f1549e
RH
3241 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3242 marked to avoid plt entry.
3243
0ab0291b
L
32442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3245
3246 [BZ #14112]
3247 * Makeconfig (default-abi): New macro.
3248 (abi-includes): Likewise.
3249 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3250 $(abi-$(default-abi)-lib-soname) for soname if defined.
3251 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3252 abi-variants.
3253 * Makefile (installed-stubs): Likewise.
3254 * include/stubs-biarch.h: Removed.
3255 * scripts/lib-names.awk: Only handle one library at a time.
3256 * scripts/soversions.awk: Remove WORDSIZE support.
3257 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3258 entries.
3259 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3260 Removed.
3261 (syscall-list-default-condition): Likewise.
3262 (syscall-list-default-condition): Likewise.
3263 (syscall-list-includes): Likewise.
3264 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3265 syscall-list-* with abi-*. Handle undefined abi-variants.
3266 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3267 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3268 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3269 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3270 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3271 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3272 Removed.
3273 (syscall-list-32-options): Likewise.
3274 (syscall-list-32-condition): Likewise.
3275 (syscall-list-64-options): Likewise.
3276 (syscall-list-64-condition): Likewise.
3277 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3278 macro.
3279 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3280 Renamed to ...
3281 (abi-*): This.
3282 (abi-64-ld-soname): New macro.
3283 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3284 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3285 Renamed to ...
3286 (abi-*): This.
3287 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3288 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3289
4da0431d
JM
32902012-05-30 Joseph Myers <joseph@codesourcery.com>
3291
3a85279c
JM
3292 * sysdeps/unix/sysv/linux/kernel-features.h
3293 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3294 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3295 include <kernel-features.h>.
3296 [!__NR_ftruncate64]: Remove conditional code.
3297 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3298 [__NR_ftruncate64]: Make code unconditional.
3299 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3300 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3301 include <kernel-features.h>.
3302 [!__NR_ftruncate64]: Remove conditional code.
3303 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3304 [__NR_ftruncate64]: Make code unconditional.
3305 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3307 include <kernel-features.h>.
3308 [!__NR_ftruncate64]: Remove conditional code.
3309 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3310 [__NR_ftruncate64]: Make code unconditional.
3311 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3313 include <kernel-features.h>.
3314 [!__NR_ftruncate64]: Remove conditional code.
3315 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3316 [__NR_ftruncate64]: Make code unconditional.
3317 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3318
4da0431d
JM
3319 * configure.in (libc_cv_fpie): Weaken to a compile test using
3320 LIBC_TRY_CC_OPTION.
3321 * configure: Regenerated.
3322
11ef492c
AK
33232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3324
3325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3329 Refreshed.
3330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3336 Refreshed.
3337
d66ef399
DM
33382012-05-27 David S. Miller <davem@davemloft.net>
3339
3340 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3341 (___Q_zero): New.
3342 (__Q_simulate_exceptions): Return void. Change to simulate
3343 exceptions by writing into the %fsr.
3344 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3345 (__Qp_handle_exceptions): Likewise.
3346 (numbers): Delete.
3347 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3348 __Qp_handle_exceptions.
3349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3350 __Qp_handle_exceptions.
3351 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3352 as unused and give dummy FP_RND_NEAREST initializer.
3353 (FP_INHIBIT_RESULTS): Define.
3354 (___Q_simulate_exceptions): Update declaration.
3355 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3356 formatting.
3357 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3358 as unused and give dummy FP_RND_NEAREST initializer.
3359 (__Qp_handle_exceptions): Update declaration.
3360 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3361 formatting.
3362
04fb54b5
TS
33632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3364
3365 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3366 the temporary FPU control word.
3367 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3368 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3369 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3370 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3371 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3372 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3373 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3374 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3375 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3376 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3377 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3378
3f99608f
KK
33792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3380
3381 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3382 fields.
3383
65a4de4e
CLT
33842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3385
3386 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3387 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3388 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3389 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3390 Likewise.
3391 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3392 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3393 Likewise.
3394
15749d40
UD
33952012-05-27 Ulrich Drepper <drepper@gmail.com>
3396
3397 * po/h.po: Update from translation team.
3398
25dbcb27
AS
33992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3400
3d3f8e55
AS
3401 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3402
25dbcb27
AS
3403 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3404 handling of denormals.
3405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3406 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3407 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3408 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3412 Likewise.
3413
7ad47a80 34142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3415
3416 [BZ #14152]
3417 * math/libm-test.inc (fma_test): Don't always expect underflow
3418 exception.
3419
9c6ea9fa
SP
34202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3421
3422 [BZ #12416]
3423 * elf/tst-execstack.c: Include stackinfo.h.
3424 (do_test): Adjust test case to ensure that pthread_getattr_np
3425 behaviour remains the same after marking stack executable.
3426
a8239222
JM
34272012-05-25 Joseph Myers <joseph@codesourcery.com>
3428
3429 * sysdeps/unix/sysv/linux/kernel-features.h
3430 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3431 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3432 kernel-features.h.
3433 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3434 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3435 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3436 kernel-features.h.
3437 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3438 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3439
918b5606
L
34402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3441
3442 * configure.in: Define the default includes to being none.
3443 * configure: Regenerated.
3444
3a097cc7
RM
34452012-05-25 Roland McGrath <roland@hack.frob.com>
3446
8422c9a5
RM
3447 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3448 * sysdeps/x86_64/setjmp.S: Likewise.
3449 * sysdeps/i386/bsd-setjmp.S: Likewise.
3450 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3451 * sysdeps/i386/setjmp.S: Likewise.
3452 * sysdeps/i386/__longjmp.S: Likewise.
3453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3454 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3455
3a097cc7
RM
3456 * include/stap-probe.h: New file.
3457 * configure.in: Handle --enable-systemtap.
3458 * configure: Regenerated.
3459 * config.h.in (USE_STAP_PROBE): New #undef.
3460 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3461 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3462 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3463
21708942
JM
34642012-05-25 Joseph Myers <joseph@codesourcery.com>
3465
3466 [BZ #13717]
3467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3468 to 2.4.0 where earlier.
3469 * sysdeps/unix/sysv/linux/configure: Regenerated.
3470 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3471 <kernel-features.h>.
3472 [__ASSUME_32BITUIDS]: Make code unconditional.
3473 [!__ASSUME_32BITUIDS]: Remove conditional code.
3474 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3475 <kernel-features.h>.
3476 [__ASSUME_32BITUIDS]: Make code unconditional.
3477 [!__ASSUME_32BITUIDS]: Remove conditional code.
3478 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3479 [__ASSUME_32BITUIDS]: Make code unconditional.
3480 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3481 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
3506 <kernel-features.h>.
3507 [__ASSUME_32BITUIDS]: Make code unconditional.
3508 [!__ASSUME_32BITUIDS]: Remove conditional code.
3509 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3510 <kernel-features.h>.
3511 [__ASSUME_32BITUIDS]: Make code unconditional.
3512 [!__ASSUME_32BITUIDS]: Remove conditional code.
3513 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3514 <kernel-features.h>.
3515 [__ASSUME_32BITUIDS]: Make code unconditional.
3516 [!__ASSUME_32BITUIDS]: Remove conditional code.
3517 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3518 <kernel-features.h>.
3519 [__ASSUME_32BITUIDS]: Make code unconditional.
3520 [!__ASSUME_32BITUIDS]: Remove conditional code.
3521 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3522 <kernel-features.h>.
3523 [__NR_setresgid] (__setresgid): Do not declare.
3524 [__ASSUME_32BITUIDS]: Make code unconditional.
3525 [!__ASSUME_32BITUIDS]: Remove conditional code.
3526 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3527 <kernel-features.h>.
3528 [__NR_setresuid] (__setresuid): Do not declare.
3529 [__ASSUME_32BITUIDS]: Make code unconditional.
3530 [!__ASSUME_32BITUIDS]: Remove conditional code.
3531 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
3556 <kernel-features.h>.
3557 [__ASSUME_32BITUIDS]: Make code unconditional.
3558 [!__ASSUME_32BITUIDS]: Remove conditional code.
3559 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3560 <kernel-features.h>.
3561 [__ASSUME_32BITUIDS]: Make code unconditional.
3562 [!__ASSUME_32BITUIDS]: Remove conditional code.
3563 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3564 <kernel-features.h>.
3565 [__ASSUME_32BITUIDS]: Make code unconditional.
3566 [!__ASSUME_32BITUIDS]: Remove conditional code.
3567 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3568 <kernel-features.h>.
3569 [__ASSUME_32BITUIDS]: Make code unconditional.
3570 [!__ASSUME_32BITUIDS]: Remove conditional code.
3571 * sysdeps/unix/sysv/linux/kernel-features.h
3572 (__ASSUME_SETRESUID_SYSCALL): Remove.
3573 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3574 (__ASSUME_32BITUIDS): Likewise.
3575 (__ASSUME_LDT_WORKS): Likewise.
3576 (__ASSUME_O_DIRECTORY): Likewise.
3577 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3578 architecture but not kernel version.
3579 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3580 (__ASSUME_MMAP2_SYSCALL): Likewise.
3581 (__ASSUME_STAT64_SYSCALL): Likewise.
3582 (__ASSUME_IPC64): Likewise.
3583 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3584 <kernel-features.h>.
3585 [__ASSUME_32BITUIDS]: Make code unconditional.
3586 [!__ASSUME_32BITUIDS]: Remove conditional code.
3587 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3588 <kernel-features.h>.
3589 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3590 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3591 132096]: Remove conditional code.
3592 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3593 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3594 <kernel-features.h>.
3595 [__ASSUME_32BITUIDS]: Make code unconditional.
3596 [!__ASSUME_32BITUIDS]: Remove conditional code.
3597 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3598 <kernel-features.h>.
3599 [__ASSUME_32BITUIDS]: Make code unconditional.
3600 [!__ASSUME_32BITUIDS]: Remove conditional code.
3601 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3602 <kernel-features.h>.
3603 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3604 unconditional.
3605 (__setresgid): Do not declare.
3606 [__ASSUME_32BITUIDS]: Make code unconditional.
3607 [!__ASSUME_32BITUIDS]: Remove conditional code.
3608 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3609 <kernel-features.h>.
3610 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3611 unconditional.
3612 (__setresuid): Do not declare.
3613 [__ASSUME_32BITUIDS]: Make code unconditional.
3614 [!__ASSUME_32BITUIDS]: Remove conditional code.
3615 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3616 <kernel-features.h>.
3617 [__ASSUME_32BITUIDS]: Make code unconditional.
3618 [!__ASSUME_32BITUIDS]: Remove conditional code.
3619 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3620 <kernel-features.h>.
3621 [__ASSUME_32BITUIDS]: Make code unconditional.
3622 [!__ASSUME_32BITUIDS]: Remove conditional code.
3623
a386f1cc
RH
36242012-05-25 Richard Henderson <rth@twiddle.net>
3625
3626 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3627 dl_hwcap to ifunc resolver.
3628 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3629 elf_ifunc_invoke.
3630 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3631 dl_hwcap to ifunc resolver.
3632 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3633
b6550497
JM
36342012-05-24 Joseph Myers <joseph@codesourcery.com>
3635
3636 [BZ #14153]
3637 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3638 for |x| <= 2**-26, not 2**-57.
3639 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3640 exception.
3641
b0bc23a1
JL
36422012-05-24 Jeff Law <law@redhat.com>
3643
3644 * stdio-common/Makefile (tests): Add bug25.
3645 * stdio-common/bug25.c: New test.
3646
347c92e9
L
36472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3648
3649 [BZ #13576]
3650 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3651 multiple of MALLOC_ALIGNMENT in size.
3652 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3653
6bcc8b3f
JM
36542012-05-24 Joseph Myers <joseph@codesourcery.com>
3655
3656 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3657 Require >= 256.
3658 (FILENAME_MAX): Use macro-int-constant.
3659 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3660 (_IOFBF): Use macro-int-constant.
3661 (_IOLBF): Likewise.
3662 (_IONBF): Likewise.
3663 (SEEK_CUR): Likewise.
3664 (SEEK_END): Likewise.
3665 (SEEK_SET): Likewise.
3666 (TMP_MAX): Likewise.
3667 (EOF): Use macro-int-constant. Require < 0.
3668 (NULL): Use macro-constant. Require == 0.
3669 (stdin): Require type to be FILE *.
3670 (stdout): Likewise.
3671 (stderr): Likewise.
3672 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3673 macro-int-constant.
3674 (EXIT_SUCCESS): Likewise.
3675 (NULL): Use macro-constant. Require == 0.
3676 (RAND_MAX): Use macro-int-constant.
3677 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3678 [C99-based standards] (strtof): Require function.
3679 [C99-based standards] (strtold): Likewise.
3680 [C99-based standards] (strtoll): Likewise.
3681 [C99-based standards] (strtoull): Likewise.
3682 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3683 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3684 [ISO || ISO99 || ISO11] (math.h): Likewise.
3685 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3686 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3687 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3688
d18ea0c5
AS
36892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3690
3691 [BZ #14132]
56d25bb8
AS
3692 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3693 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3694 * intl/dgettext.c (DCGETTEXT): Likewise.
3695 * intl/gettext.c (DCGETTEXT): Likewise.
3696 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3697 * posix/regex_internal.h (gettext): Likewise.
3698 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3699 Remove declaration.
3700 * include/argz.h (__argz_count_internal)
3701 (__argz_stringify_internal): Remove declaration.
3702 (__argz_count, __argz_stringify): Declare hidden proto.
3703 * intl/dcgettext.c: Remove use of INTDEF.
3704 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3705 * string/argz-stringify.c: Likewise.
3706 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3707 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3708 Declare hidden proto.
d18ea0c5
AS
3709 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3710 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3711 Declare hidden proto.
3712 * include/stdio.h (__asprintf_internal): Don't declare.
3713 (__asprintf): Don't define as macro. Declare hidden proto.
3714 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3715 (__fsetlocking): Declare hidden proto.
3716 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3717 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3718 hidden proto.
3719 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3720 (_IO_setlinebuf): Remove use of INTUSE.
3721 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3722 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3723 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3724 Remove declaration.
3725 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3726 (_IO_do_flush): Remove use of INTUSE.
3727 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3728 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3729 (_IO_adjust_column, _IO_least_wmarker)
3730 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3731 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3732 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3733 (_IO_default_doallocate, _IO_wdefault_doallocate)
3734 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3735 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3736 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3737 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3738 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3739 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3740 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3741 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3742 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3743 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3744 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3745 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3746 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3747 proto.
3748 (_IO_flush_all_internal, _IO_adjust_column_internal)
3749 (_IO_default_uflow_internal, _IO_default_finish_internal)
3750 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3751 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3752 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3753 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3754 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3755 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3756 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3757 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3758 (_IO_file_close_internal, _IO_file_close_it_internal)
3759 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3760 (_IO_file_init_internal, _IO_file_attach_internal)
3761 (_IO_file_fopen_internal, _IO_file_read_internal)
3762 (_IO_file_sync_internal, _IO_file_seek_internal)
3763 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3764 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3765 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3766 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3767 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3768 (_IO_list_all_internal, _IO_link_in_internal)
3769 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3770 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3771 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3772 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3773 (_IO_do_write_internal, _IO_padn_internal)
3774 (_IO_getline_info_internal, _IO_getline_internal)
3775 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3776 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3777 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3778 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3779 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3780 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3781 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3782 with libc_hidden_ver, remove use of INTUSE.
3783 * libio/genops.c: Likewise.
3784 * libio/freopen.c: Likewise.
3785 * libio/freopen64.c: Likewise.
3786 * libio/iofclose.c: Likewise.
3787 * libio/iofdopen.c: Likewise.
3788 * libio/iofflush.c: Likewise.
3789 * libio/iofflush_u.c: Likewise.
3790 * libio/iofgets.c: Likewise.
3791 * libio/iofgets_u.c: Likewise.
3792 * libio/iofopen.c: Likewise.
3793 * libio/iofopncook.c: Likewise.
3794 * libio/iofread.c: Likewise.
3795 * libio/iofread_u.c: Likewise.
3796 * libio/ioftell.c: Likewise.
3797 * libio/iofwrite.c: Likewise.
3798 * libio/iogetline.c: Likewise.
3799 * libio/iogets.c: Likewise.
3800 * libio/iogetwline.c: Likewise.
3801 * libio/iopadn.c: Likewise.
3802 * libio/iopopen.c: Likewise.
3803 * libio/ioseekoff.c: Likewise.
3804 * libio/ioseekpos.c: Likewise.
3805 * libio/iosetbuffer.c: Likewise.
3806 * libio/iosetvbuf.c: Likewise.
3807 * libio/ioungetc.c: Likewise.
3808 * libio/ioungetwc.c: Likewise.
3809 * libio/iovdprintf.c: Likewise.
3810 * libio/iovsprintf.c: Likewise.
3811 * libio/iovsscanf.c: Likewise.
3812 * libio/memstream.c: Likewise.
3813 * libio/obprintf.c: Likewise.
3814 * libio/oldfileops.c: Likewise.
3815 * libio/oldiofclose.c: Likewise.
3816 * libio/oldiofdopen.c: Likewise.
3817 * libio/oldiofopen.c: Likewise.
3818 * libio/oldiopopen.c: Likewise.
3819 * libio/oldstdfiles.c: Likewise.
3820 * libio/putc.c: Likewise.
3821 * libio/setbuf.c: Likewise.
3822 * libio/setlinebuf.c: Likewise.
3823 * libio/stdfiles.c: Likewise.
3824 * libio/strops.c: Likewise.
3825 * libio/vasprintf.c: Likewise.
3826 * libio/vscanf.c: Likewise.
3827 * libio/vsnprintf.c: Likewise.
3828 * libio/vswprintf.c: Likewise.
3829 * libio/wfiledoalloc.c: Likewise.
3830 * libio/wfileops.c: Likewise.
3831 * libio/wgenops.c: Likewise.
3832 * libio/wmemstream.c: Likewise.
3833 * libio/wstrops.c: Likewise.
3834 * libio/__fpurge.c: Likewise.
3835 * libio/__fsetlocking.c: Likewise.
3836 * assert/assert.c: Likewise.
3837 * debug/fgets_chk.c: Likewise.
3838 * debug/fgets_u_chk.c: Likewise.
3839 * debug/fread_chk.c: Likewise.
3840 * debug/fread_u_chk.c: Likewise.
3841 * debug/gets_chk.c: Likewise.
3842 * debug/obprintf_chk.c: Likewise.
3843 * debug/vasprintf_chk.c: Likewise.
3844 * debug/vdprintf_chk.c: Likewise.
3845 * debug/vsnprintf_chk.c: Likewise.
3846 * debug/vsprintf_chk.c: Likewise.
3847 * malloc/mtrace.c: Likewise.
3848 * misc/error.c: Likewise.
3849 * misc/syslog.c: Likewise.
3850 * stdio-common/asprintf.c: Likewise.
3851 * stdio-common/fxprintf.c: Likewise.
3852 * stdio-common/getw.c: Likewise.
3853 * stdio-common/isoc99_fscanf.c: Likewise.
3854 * stdio-common/isoc99_scanf.c: Likewise.
3855 * stdio-common/isoc99_vfscanf.c: Likewise.
3856 * stdio-common/isoc99_vscanf.c: Likewise.
3857 * stdio-common/isoc99_vsscanf.c: Likewise.
3858 * stdio-common/printf-prs.c: Likewise.
3859 * stdio-common/printf_fp.c: Likewise.
3860 * stdio-common/printf_fphex.c: Likewise.
3861 * stdio-common/printf_size.c: Likewise.
3862 * stdio-common/putw.c: Likewise.
3863 * stdio-common/scanf.c: Likewise.
3864 * stdio-common/sprintf.c: Likewise.
3865 * stdio-common/tmpfile.c: Likewise.
3866 * stdio-common/vfprintf.c: Likewise.
3867 * stdio-common/vfscanf.c: Likewise.
3868 * stdlib/strfmon_l.c: Likewise.
3869 * sunrpc/openchild.c: Likewise.
3870 * sunrpc/xdr_stdio.c: Likewise.
3871 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3872 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3873
d6c33fda
RM
38742012-05-24 Roland McGrath <roland@hack.frob.com>
3875
c1487492
RM
3876 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3877
3878 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3879 in the third column, to generate for the shared library an IFUNC
3880 that uses _dl_vdso_vsym.
3881 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3882 * Makeconfig (object-suffixes-noshared): New variable.
3883
3884 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3885 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3886 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3887 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3888
d6c33fda
RM
3889 [BZ #14132]
3890 * include/sys/time.h (__gettimeofday): Remove macro.
3891 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3892 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3893 Remove INTDEF.
3894 (__gettimeofday): Add libc_hidden_def.
3895 (gettimeofday): Add libc_hidden_weak.
3896 * sysdeps/mach/gettimeofday.c: Likewise.
3897 * sysdeps/posix/gettimeofday.c: Likewise.
3898 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3899 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3901 (__gettimeofday_internal): Remove strong_alias.
3902 (__gettimeofday): Add libc_hidden_def.
3903 (gettimeofday): Add libc_hidden_weak.
3904 * sysdeps/unix/syscalls.list (gettimeofday):
3905 Remove __gettimeofday_internal alias.
3906
b5a2bbe6
L
39072012-05-24 Daniel Jacobowitz <drow@false.org>
3908 H.J. Lu <hongjiu.lu@intel.com>
3909
3910 [BZ #12495]
3911 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3912 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3913 (largebin_index_32_big): New.
3914 (largebin_index): Use it for 16-byte alignment.
3915 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3916 correction with front_misalign.
3917
cfba4fda
L
39182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3919
7f907421
L
3920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3922 Likewise.
3923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3926 Likewise.
3927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3928 Likewise.
3929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3930 Likewise.
3931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3932 Likewise.
3933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3934 Likewise.
3935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3936 Likewise.
3937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3938 Likewise.
3939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3940 Likewise.
3941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3942 Likewise.
3943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3944 Likewise.
3945
cfba4fda
L
3946 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3947 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3948
80bad0cc
JM
39492012-05-24 Joseph Myers <joseph@codesourcery.com>
3950
7a25eb06
JM
3951 [BZ #10846]
3952 [BZ #14036]
3953 * math/libm-test.inc (exp_test): Add test from bug 14036.
3954 (pow_test): Add test from bug 10846.
3955
795405f9
JM
3956 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3957 and other flags.
3958 (special_function): Do not include flags in test name.
3959 (parse_args): Likewise.
3960 * sysdeps/i386/fpu/libm-test-ulps: Update.
3961 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3962 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3963 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3965
80bad0cc
JM
3966 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3967 exceptions.
3968 * math/libm-test.inc ("Philosophy"): Update comment about
3969 exception testing.
3970 (UNDERFLOW_EXCEPTION): New macro.
3971 (UNDERFLOW_EXCEPTION_OK): Likewise.
3972 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3973 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3974 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3975 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3976 (INVALID_EXCEPTION_OK): Update value.
3977 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3978 (OVERFLOW_EXCEPTION_OK): Likewise.
3979 (IGNORE_ZERO_INF_SIGN): Likewise.
3980 (test_exceptions): Handle underflow exceptions.
3981 (acos_test): Update for underflow exception expectations.
3982 (cexp_test): Likewise.
3983 (clog_test): Likewise.
3984 (clog10_test): Likewise.
3985 (csqrt_test): Likewise.
3986 (ctan_test): Likewise.
3987 (ctanh_test): Likewise.
3988 (exp_test): Likewise.
3989 (exp10_test): Likewise.
3990 (exp2_test): Likewise.
3991 (expm1_test): Likewise.
3992 (fma_test): Likewise.
3993 (j0_test): Likewise.
3994 (jn_test): Likewise.
3995 (nexttoward_test): Likewise.
3996 (pow_test): Likewise.
3997 (scalbn_test): Likewise.
3998 (scalbln_test): Likewise.
3999 (tan_test): Likewise.
4000 (y1_test): Likewise.
4001 * sysdeps/i386/fpu/libm-test-ulps: Update.
4002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4003
9e0e3d0b
DM
40042012-05-23 David S. Miller <davem@davemloft.net>
4005
4006 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4007 (__libc_sigaction): Remove unused local variables.
4008
ccd0a08f
L
40092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4010
4011 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
4012
62bdf9a6
PE
40132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
4014
f8591f80
PE
4015 mktime: avoid signed integer overflow
4016 * time/mktime.c (__mktime_internal): Do not mishandle the case
4017 where diff == INT_MIN.
4018
94c7d826
PE
4019 mktime: simplify computation of average
4020 * time/mktime.c (ranged_convert): Use new time_t_avg function
4021 instead of rolling our own (probably-slower) code.
4022
ce73d683
PE
4023 mktime: do not assume signed right shift propagates sign bit
4024 * time/mktime.c (isdst_differ): New static function.
4025 (__mktime_internal): No need to normalize tm_isdst now.
4026 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
4027 tm_isdst values.
4028
72a22e59
PE
4029 mktime: merge another wrapv change from gnulib
4030 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
4031 from some compilers.
4032
68605433
PE
4033 mktime: remove incorrect attempt at unusual arithmetics
4034 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
4035 The code didn't really work on such machines anyway.
4036 (TYPE_MINIMUM): Assume two's complement.
4037 (twos_complement_arithmetic): Verify that long_int and time_t
4038 are two's complement (or unsigned, in the latter case).
4039
03cf7fe3
PE
4040 mktime: check signed shifts on long_int and time_t, too
4041 * time/mktime.c (SHR): Check that shifts work as desired
4042 on the types long_int and time_t too, as SHR is used on
4043 such types.
4044
f04dfbc2
PE
4045 mktime: do not assume 'long' is wide enough
4046 * time/mktime.c (verify): Move decl up.
4047 (long_int): New type.
4048 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
4049 to remove assumption in the code that 'long' is wide enough to
4050 store year values. This assumption is not true on x32 and on
4051 some non-glibc platforms.
4052
62bdf9a6
PE
4053 mktime: merge wrapv change from gnulib
4054 * time/mktime.c (WRAPV): New macro.
4055 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
4056 (guess_time_tm, __mktime_internal): Do not assume that signed
4057 integer overflow wraps around; modern compilers generate code
4058 where this assumption is no longer valid.
4059
5e292e4f
L
40602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4061
4062 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4063 Replace "jmp L(pseudo_end)" with "ret".
4064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
4065 Likewise.
4066
8caf8c87
AJ
40672012-05-23 Andreas Jaeger <aj@suse.de>
4068
4069 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
4070 * sysdeps/unix/sysv/linux/poll.c: Remove file.
4071
1a09dc56
AJ
40722012-05-23 Andreas Jaeger <aj@suse.de>
4073 Maximilian Attems <max@stro.at>
4074
4075 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
4076 New macros.
4077
1c87aba0
L
40782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
4079
4080 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
4081 code so that pseudo_end is just ret and the stack pointer is
4082 correct also for static library in error case.
4083
40e45bd5
JM
40842012-05-23 Joseph Myers <joseph@codesourcery.com>
4085
c2670533
JM
4086 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4087 move to syscalls.list.
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4092
40e45bd5
JM
4093 * manual/install.texi (Running make install): Do not mention Linux
4094 kernel version for which pt_chown is not needed.
4095 (Linux): Do not mention problems with nscd with 2.0 kernels.
4096 * INSTALL: Regenerated.
4097
be08eda5
AJ
40982012-05-23 Andreas Jaeger <aj@suse.de>
4099
4100 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4101 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4102 macro.
4103 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4104 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4105 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4106 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4107 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4108 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4109 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4110 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4111 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4112 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4113 * sysdeps/unix/sysv/linux/bits/in.h
4114 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4115
a6a056bb
RM
41162012-05-22 Roland McGrath <roland@hack.frob.com>
4117
4118 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4119 (PREPARE_VERSION): Just use assert instead, it will be elided
4120 under [NDEBUG] anyway.
4121
c9009328
L
41222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4123
4124 * sysdeps/unix/sysv/linux/Makefile: Include
4125 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4126 (sysdep_routines): Remove sysctl.
c9009328
L
4127 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4128 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4129 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4130 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4131 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4132
73338355
AJ
41332012-05-22 Andreas Jaeger <aj@suse.de>
4134
4135 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4136 that pseudo_end is just ret and the stack pointer is correct also
4137 for static library in error case.
4138
d44638b0
PP
41392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4140
4141 [BZ #14122]
4142 * nss/nsswitch.c (defconfig_entries): New variable.
4143 (__nss_database_lookup): Don't leak defconfig entries.
4144 (nss_parse_service_list): Don't leak on error paths.
4145 (free_database_entries): New function.
4146 (free_defconfig): New function.
4147 (free_mem): Move common code to free_database_entries.
4148
31a39bd8
L
41492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4150
da0331a8
L
4151 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4152 Add arch_prctl.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4154
31a39bd8
L
4155 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4156 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4158 New macro.
4159 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4160 (INTERNAL_SYSCALL_TYPES): Likewise.
4161 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4162 (LOAD_REGS_TYPES_[1-6]): Likewise.
4163 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4164 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4165
45470df3
AZ
41662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4167
4168 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4169 copysignl for GLIBC_2_0.
4170 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4171 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4173 logbl for GLIBC_2_0.
4174 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4175 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4176
98a61bcb
L
41772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4178
a4f6e481
L
4179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4180 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4181
f63d5db6
L
4182 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4183 Use "neg %eax".
4184
98a61bcb
L
4185 * time/mktime.c: Update copyright years.
4186
95770f14
PE
41872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4188
6226efbd
PE
4189 mktime: merge comment-quoting-style change from gnulib
4190 * time/mktime.c: Quote 'like this' in comments.
4191 The GNU coding standards suggest that we no longer quote `like this',
4192 as "`" and "'" are typically rendered asymmetrically nowadays.
4193 The typical gnulib style is to quote 'like this' when quoting
4194 code, and "like this" when quoting English.
4195
b99e4f78
PE
4196 * time/mktime.c (compile-command): Add "-I.".
4197
643e01e6
PE
4198 mktime: merge mktime-internal.h change from gnulib
4199 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4200
2554247d
PE
4201 mktime: merge time_r change from gnulib
4202 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4203
826dd0ab
PE
4204 mktime: merge DEBUG change from gnulib
4205 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4206 case system <time.h> has a #define.
4207
bd83aabe
PE
4208 mktime: merge <sys/types.h> change from gnulib
4209 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4210 since <time.t> is now guaranteed to define time_t.
4211
95770f14
PE
4212 mktime: merge HAVE_CONFIG_H change from gnulib
4213 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4214
5e1a27a9
L
42152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4216
0e44a77e
L
4217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4218 Use "neg %eax".
4219
5e1a27a9
L
4220 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4221 __rlim_t cast.
4222 (struct rusage): Use anonymous union to pad each field to
4223 __syscall_slong_t.
4224
46259bec
DM
42252012-05-21 David S. Miller <davem@davemloft.net>
4226
4227 * Makefules (o-iterator): Remove .s cases.
4228 (compile-command.s): Delete.
4229 (COMPILE.s): Delete.
4230 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4231
59f0c22e
JM
42322012-05-21 Joseph Myers <joseph@codesourcery.com>
4233
4234 * configure.in (libc_cv_predef_stack_protector): Only consider
4235 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4236 * configure: Regenerated.
4237
20c07380
L
42382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4239
bbb3154b
L
4240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4241 New macro. Use R*LP on int and pointer.
4242 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4243 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4244 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4245 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4246
20c07380
L
4247 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4248 [__WORDSIZE_TIME64_COMPAT32] instead of
4249 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4250 (struct utmp): Likewise.
4251 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4252 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4253 Renamed to ...
4254 (__WORDSIZE_TIME64_COMPAT32): This.
4255 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4256 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4257 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4258 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4259 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4260 (__WORDSIZE_TIME64_COMPAT32): New macro.
4261
d8d1017e
AJ
42622012-05-21 Andreas Jaeger <aj@suse.de>
4263
4264 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4265 only if [SHARED]. Add prototype for __wcschr_ia32.
4266
6c7fb145
RM
42672012-05-21 Roland McGrath <roland@hack.frob.com>
4268
4269 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4270 of %rbp unmolested in the jmp_buf while mangling the low bits.
4271 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4272 unmolested high bits of %rbp while demangling the low bits.
4273 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4274
66274218
AJ
42752012-05-21 Andreas Jaeger <aj@suse.de>
4276
07c58f8f
AJ
4277 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4278 * sunrpc/svc_simple.c: Use it for registerrpc.
4279 * sunrpc/xcrypt.c: Use it for passwd2des.
4280
66274218
AJ
4281 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4282
61f65140
L
42832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4284
4285 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4286 Don't define if [__SYSCALL_WORDSIZE != 32].
4287 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4288 New macro.
4289
5fefb436
AJ
42902012-05-21 Bruno Haible <bruno@clisp.org>
4291 Andreas Jaeger <aj@suse.de>
4292
4293 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4294 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4295 inptr and inend for must_buffer_ch.
4296 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4297 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4298 * stdio-common/Makefile (tests): Remove bug15.
4299 (bug15-ENV): Remove macro.
4300 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4301 anymore.
4302
d8e272ab
AJ
43032012-05-19 Andreas Jaeger <aj@suse.de>
4304 Roland McGrath <roland@hack.frob.com>
4305
4306 * manual/contrib.texi: Completely rewritten. It contains now an
4307 alphabetical list of contributors and their contributions.
4308
4a56a162
RH
43092012-05-21 Richard Henderson <rth@twiddle.net>
4310
4311 * misc/getauxval.c (__getauxval): Use unsigned long int.
4312 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4313 (getauxval): Use unsigned long int.
4314
d024d23c
L
43152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4316
4317 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4318
cbc00a03
RM
43192012-05-21 Roland McGrath <roland@hack.frob.com>
4320
4321 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4322 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4323 __alignof__ (long double).
4324
478143fa
AZ
43252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4326
4327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4328
c7683a6d
RH
43292012-05-20 Richard Henderson <rth@twiddle.net>
4330
4331 * misc/getauxval.c: New file.
4332 * misc/sys/auxv.h: New file.
4333 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4334 (routines): Add getauxval.
4335 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4336 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4337 * elf/dl-sysdep.c (_dl_auxv): Remove.
4338 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4339 * elf/dl-support.c (_dl_auxv): New variable.
4340 (_dl_aux_init): Initialize it.
4341 * manual/startup.texi (Auxiliary Vector): New node.
4342 * sysdeps/generic/bits/hwcap.h: New file.
4343 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4344 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4345 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4346 * sysdeps/sparc/sysdep.h: ... here. Include it.
4347 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4348 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4350 Update.
c7683a6d
RH
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4359
a6f1845d
AZ
43602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4361
4362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4363
cbcbe830
DM
43642012-05-19 David S. Miller <davem@davemloft.net>
4365
4366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4367
e0b16cc2
JM
43682012-05-19 Joseph Myers <joseph@codesourcery.com>
4369
4370 [BZ #14123]
4371 * math/s_ccosh.c: Include <float.h>
4372 (__ccosh): Avoid internal overflow calculating sinh and cosh
4373 values before multiplying by sin and cos values.
4374 * math/s_ccoshf.c: Likewise.
4375 * math/s_ccoshl.c: Likewise.
4376 * math/s_csin.c: Likewise.
4377 * math/s_csinf.c: Likewise.
4378 * math/s_csinl.c: Likewise.
4379 * math/s_csinh.c: Likewise.
4380 * math/s_csinhf.c: Likewise.
4381 * math/s_csinhl.c: Likewise.
4382 * math/libm-test.inc (ccos_test): Add more tests.
4383 (ccosh_test): Likewise.
4384 (csin_test): Likewise.
4385 (csinh_test): Likewise.
4386 * sysdeps/i386/fpu/libm-test-ulps: Update.
4387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4388
6ad13e08
L
43892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4390
f66f0ce8
L
4391 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4392 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4393
6ad13e08
L
4394 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4395
b1d072a7
JM
43962012-05-19 Joseph Myers <joseph@codesourcery.com>
4397
4398 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4399 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4400 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4401 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4402 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4403 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4404 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4405 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4406 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4407 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4408 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4409 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4410 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4411 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4412 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4413 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4414 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4415 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4416 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4417 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4418 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4419 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4420 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4421 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4422 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4423 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4424 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4425 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4426 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4427 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4428 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4429
9eae47cb
AJ
44302012-05-18 Andreas Jaeger <aj@suse.de>
4431
4432 * csu/.gitignore: Delete.
4433
bb07f69f
L
44342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4435
4436 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4437 (timex): Use __syscall_slong_t.
4438
e6bdb741
AJ
44392012-05-18 Andreas Jaeger <aj@suse.de>
4440 Carlos O'Donell <carlos_odonell@mentor.com>
4441
4442 * manual/install.texi (Configuring and compiling): Update
4443 description about files modified in the source directory.
d6c33fda 4444 * INSTALL: Regenerated.
e6bdb741 4445
1b74487e
L
44462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4447
4448 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4449 value. Use "or" to set return value to -1.
4450 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4451 negate return value.
4452
a88b64b9
TMQMF
44532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4454
4455 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4456 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4457 failure if the compiler has Graphite support disabled.
4458 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4459 Likewise.
4460 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4461 CFLAGS-memmove.c): Likewise.
4462 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4463 Likewise.
4464
3707636e
L
44652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4466
610b8622
L
4467 * sysdeps/x86_64/x32/_itoa.h: New file.
4468
7cd195df
L
4469 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4470 getdents system call only if kernel and user dirents have the
4471 same d_ino and d_off.
4472
94b07d20
L
4473 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4474 LLONG_MAX != LONG_MAX.
4475 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4476 (_fitoa_word): Likewise.
4477
18298070
L
4478 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4479 years.
4480 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4481 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4482 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4483
553c7ea4
L
4484 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4485 include <bits/wordsize.h>. Check __x86_64__ instead of
4486 __WORDSIZE.
4487 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4488 if __x86_64__ is defined. Use anonymous union on fpstate.
4489
3707636e
L
4490 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4491 anonymous union.
4492
b53ef01a
AS
44932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4494
37fb1dc0
AS
4495 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4496 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4497 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4498 Refer to _rtld_local_ro instead of _rtld_global_ro.
4499 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4500 Likewise.
4501 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4502 Likewise.
4503 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4504 Likewise.
4505 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4506 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4507 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4508
b53ef01a
AS
4509 * sysdeps/powerpc/powerpc32/dl-machine.c
4510 (__elf_machine_runtime_setup) [PROF]: Don't reference
4511 _dl_prof_resolve.
4512
7a185db2
AJ
45132012-05-18 Andreas Jaeger <aj@suse.de>
4514
4515 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4516 function only available for GCCs before 3.4 since GCC 3.4
4517 introduced a builtin.
4518 (lrint): Likewise.
4519 (llrintf): Likewise.
4520 (llrint): Likewise.
4521 (fmaxf): Likewise.
4522 (fmax): Likewise.
4523 (fminf): Likewise.
4524 (fmin): Likewise.
4525 (rint): Likewise.
4526 (rintf): Likewise.
4527 (nearbyint): Likewise.
4528 (nearbyintf): Likewise.
4529 (ceil): Likewise.
4530 (ceilf): Likewise.
4531 (floor): Likewise.
4532 (floorf): Likewise.
4533
3e5aef87
L
45342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4535
428bd707
L
4536 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4537 on both fields and cast pointer to __syscall_ulong_t.
4538
3e5aef87
L
4539 * bits/types.h (__fsword_t): New type.
4540 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4541 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4543 (__FSWORD_T_TYPE): Likewise.
4544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4545 (__FSWORD_T_TYPE): Likewise.
4546 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4547 (__FSWORD_T_TYPE): Likewise.
4548 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4549 (__FSWORD_T_TYPE): Likewise.
4550 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4551 __SWORD_TYPE with __fsword_t.
4552 (statfs64): Likewise.
4553
1ba7c3dc
DM
45542012-05-17 David S. Miller <davem@davemloft.net>
4555
4556 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4557
59910343
AJ
45582012-05-17 Andreas Jaeger <aj@suse.de>
4559
4560 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4561 warning.
4562
2e4c1e9e
L
45632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4564
4565 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4566
de7f5ce7
AJ
45672012-05-17 Andreas Jaeger <aj@suse.de>
4568
4569 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4570 when it is used.
4571
286abc3d
CM
45722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4573
4574 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4575
477cc68e
L
45762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4579 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4580
1a0994f5
CD
45812012-05-17 Andreas Jaeger <aj@suse.de>
4582 Carlos O'Donell <carlos_odonell@mentor.com>
4583
4584 [BZ #14059]
4585 * sysdeps/x86_64/multiarch/init-arch.h
4586 (bit_YMM_Usable): Rename to...
4587 (bit_AVX_Usable): ... this.
4588 (bit_FMA4_Usable): New macro.
4589 (bit_XMM_state): New macro.
4590 (bit_YMM_state): New macro.
4591 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4592 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4593 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4594 (CPUID_OSXSAVE): New macro.
4595 (CPUID_AVX): New macro.
4596 (CPUID_FMA4): New macro.
4597 (index_YMM_Usable): Rename to...
4598 (index_AVX_Usable): ... this.
4599 (HAS_AVX): Use HAS_ARCH_FEATURE.
4600 (HAS_FMA4): Likewise.
4601 (HAS_YMM_USABLE): Remove.
4602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4603 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4604 are present.
4605 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4606 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4607 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4608 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4609 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4610
0af797de
CM
46112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4612
4613 * math/libm-test.c: Support platforms without multiple rounding modes.
4614 * math/bug-nextafter.c: Support platforms without FP exceptions.
4615 * math/bug-nexttoward.c: Likewise.
4616 * math/test-fenv.c: Likewise.
4617 * math/test-misc.c: Likewise.
4618 * stdlib/bug-getcontext.c: Likewise.
4619
e39745ff
AJ
46202012-05-17 Andreas Jaeger <aj@suse.de>
4621
4622 * manual/examples/search.c (critter_cmp): Change signature to
4623 avoid warnings.
4624 * manual/string.texi (Collation Functions): Likewise.
4625
48970aba
L
46262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4627
4628 * bits/types.h: Fold copyright years.
4629 * bits/typesizes.h: Likewise.
4630 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4632 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4634 * time/time.h: Likewise.
4635
bedee953
PP
46362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4637
4638 [BZ #208]
4639 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4640 in instead of returning them. Return void.
4641 (__libc_mallinfo): Accumulate over all arenas.
4642 (__malloc_stats): Adjust for change in int_mallinfo interface.
4643
61653dfb
RM
46442012-05-16 Roland McGrath <roland@hack.frob.com>
4645
30b99d79
RM
4646 [BZ #10375]
4647 * configure.in (NM): Add AC_CHECK_TOOL for it.
4648 (libc_extra_cflags): New substituted variable.
4649 Check for -fstack-protector being used implicitly.
4650 * configure: Regenerated.
4651 * config.make.in (config-extra-cflags): New variable,
4652 gets @libc_extra_cflags@.
4653 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4654
61653dfb
RM
4655 [BZ #10375]
4656 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4657 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4658 * configure: Regenerated.
4659 * config.make.in (CPPUNDEFS): New substituted variable.
4660 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4661 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4662 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4663
661768bb
L
46642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4665
4666 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4667 (mq_attr): Use __syscall_slong_t.
4668
d4261567
L
46692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4670
4671 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4672 Check __x86_64__ instead of __WORDSIZE.
4673 (_STAT_VER_LINUX): Likewise.
4674 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4675 __syscall_ulong_t and __syscall_slong_t.
4676 (stat64): Likewise.
4677
cf3ff365
L
46782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4679
4680 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4681
76cf3e4d
L
46822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4683
4684 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4685
a637753a
L
46862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4687
4688 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4689 __syscall_ulong_t.
4690
d5e05119
L
4691 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4692 include <bits/wordsize.h>. Check __x86_64__ instead of
4693 __WORDSIZE.
4694 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4695 defined.
4696 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4697
f62ee380
L
4698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4699 include <bits/wordsize.h>. Check __x86_64__ instead of
4700 __WORDSIZE.
4701 (user_regs_struct): Use "__extension__ unsigned long long"
4702 instead of "unsigned long" if __x86_64__ is defined.
4703 (user): Likewise. Pad after pointer field if __ILP32__ is
4704 defined.
4705
4e124ced
JM
47062012-05-16 Joseph Myers <joseph@codesourcery.com>
4707
6a3951a0
JM
4708 * configure.in (makeinfo): Require version 4.5 or later. Allow
4709 versions 5 to 9.
4710 * configure: Regenerated.
4711 * manual/install.texi (texinfo): Increase version requirement to
4712 4.5 or later.
4713 * INSTALL: Regenerated.
4714
4e124ced
JM
4715 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4716
953ca31a
L
47172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4718
4719 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4720
617aca05
L
4721 * sysdeps/x86_64/x32/ffs.c: New file.
4722
5762f7ae
L
4723 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4724 __syscall_ulong_t.
4725 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4726 defined. Use __syscall_ulong_t.
4727 (shminfo): Use __syscall_ulong_t.
4728 (shm_info): Likewise.
4729
a26b6856
L
4730 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4731 __syscall_ulong_t.
4732
cb2b9ef7
L
4733 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4734 <bits/wordsize.h>.
4735 (msgqnum_t): Use __syscall_ulong_t.
4736 (msglen_t): Likewise.
4737 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4738 __syscall_ulong_t.
4739
34683bb0
L
4740 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4742
84a68786
L
4743 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4744
48baa5f1
L
4745 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4746 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4747
180be88b
L
4748 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4749 __syscall_slong_t.
4750
5e90c8ad
L
4751 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4752 include <bits/wordsize.h>. Check __x86_64__ instead of
4753 __WORDSIZE.
4754
23dfb58b
L
4755 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4756 "unsigned long long int" if __x86_64__ is defined.
4757 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4758
ce5d54b0
L
4759 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4760 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4761 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4762
13dc9eac
L
4763 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4764 <stdint.h>.
4765 (GET_PC): Cast to uintptr_t first.
4766 (GET_FRAME): Likewise.
4767 (GET_STACK): Likewise.
4768
a7895d15
L
4769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4770 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4772 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4774 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4776 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4777 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4779 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4781 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4783 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4785 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4787 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4789 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4795 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4797 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4798
656416c9
AS
47992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4800
5bd66283
AS
4801 * Makerules (+depfiles): Also collect depfiles from .oS in
4802 $(extra-objs).
4803 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4804 .oS, $(libnldbl-routines)).
4805
656416c9
AS
4806 * Makerules (native-compile-mkdep-flags): Define.
4807 * sunrpc/Makefile (extra-objs): Add $(addprefix
4808 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4809 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4810 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4811 calling $(make-target-directory).
4812
a46f2169
L
48132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4814
4815 * bits/types.h (__snseconds_t): Removed.
4816 * time/time.h (struct timespec): Replace __snseconds_t with
4817 __syscall_slong_t.
4818 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4819 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4820 Likewise.
4821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4822 (__SNSECONDS_T_TYPE): Likewise.
4823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4824 (__SNSECONDS_T_TYPE): Likewise.
4825 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4826 (__SNSECONDS_T_TYPE): Likewise.
4827
6af6528b
L
48282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4829
4830 * sysdeps/mach/hurd/bits/typesizes.h
4831 (__SYSCALL_SLONG_TYPE): New macro.
4832 (__SYSCALL_ULONG_TYPE): Likewise.
4833
de986b56
L
48342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4835
4836 * bits/types.h (__syscall_slong_t): New type.
4837 (__syscall_ulong_t): Likewise.
4838
4839 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4840 (__SYSCALL_ULONG_TYPE): Likewise.
4841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4842 (__SYSCALL_SLONG_TYPE): Likewise.
4843 (__SYSCALL_ULONG_TYPE): Likewise.
4844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4845 (__SYSCALL_SLONG_TYPE): Likewise.
4846 (__SYSCALL_ULONG_TYPE): Likewise.
4847 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4848 (__SYSCALL_SLONG_TYPE): Likewise.
4849 (__SYSCALL_ULONG_TYPE): Likewise.
4850
85736dc7
L
48512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4852
4853 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4854 Add sigaltstack-offsets.sym.
4855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4856 <sigaltstack-offsets.h>.
4857 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4858 longjmp_msg pointer.
4859 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4860 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4861 signal stack.
4862 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4863
cc03b296
JM
48642012-05-15 Joseph Myers <joseph@codesourcery.com>
4865
a9538892
JM
4866 * elf/stackguard-macros.h: Remove file.
4867 * sysdeps/generic/stackguard-macros.h: New file.
4868 * sysdeps/i386/stackguard-macros.h: Likewise.
4869 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4870 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4871 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4872 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4873 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4874 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4875 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4876 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4877 <elf/stackguard-macros.h>.
4878
cc03b296
JM
4879 [BZ #14109]
4880 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4881 __aligned__ in attribute.
4882 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4883 (gregset_t): Likewise.
4884
93171016
L
48852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4886
4887 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4888 * sysdeps/x86_64/64/Implies-after: Here. New file.
4889 * sysdeps/x86_64/x32/Implies-after: New file.
4890
d86813a0
L
48912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4892
4893 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4894 and access return value for _dl_profile_fixup. Use R10_LP to
4895 load frame size.
4896
2953ec75
L
48972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4898
4899 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4900
3b550e9e
L
49012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4902
4903 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4904 * sysdeps/x86_64/x32/sysdep.h: New file.
4905
eda41706
L
49062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4907
4908 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4909 * sysdeps/x86_64/setjmp.S: Likewise.
4910
9ea01d93
AZ
49112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4912
4913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4914 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4915 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4916 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4917 remove unused global constant.
4918
02a91938
CM
49192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4920
4921 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4922 include of <not-cancel.h>.
4923
6540185f
RM
49242012-05-15 Roland McGrath <roland@hack.frob.com>
4925
4926 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4927
509072a0
AJ
49282012-05-15 Jeff Law <law@redhat.com>
4929 Andreas Jaeger <aj@suse.de>
4930
4931 [BZ #13594]
4932 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4933 out from...
4934 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4935 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4936 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4937 code changing __hst_map_handle.map.
4938
ba75122d
RM
49392012-05-15 Roland McGrath <roland@hack.frob.com>
4940
4941 * configure.in (sysnames): Look for Implies-before and Implies-after
4942 files.
4943 * configure: Regenerated.
4944
890d8bd8
L
49452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4946
4947 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4948 8-byte data alignment with LP_SIZE alignment.
4949
f6ee6623
L
49502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4951
4952 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4953 into R10_LP.
4954
ea2626f6
L
49552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4956
4957 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4958
085f715e
L
49592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4960
4961 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4962 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4963 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4964 Likewise.
4965 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4966
be8498fc
L
49672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4968
4969 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4970 (stackinfo_sub_sp): Likewise.
4971
70bc83b9
L
49722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4973
4974 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4975 RAX_LP.
4976
9bc0b730
L
49772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4978
4979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4980 into R*_LP.
4981
6d2850e7
L
49822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4983
4984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4985 sizes into R*_LP.
4986
3cb84561
L
49872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4988
4989 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4990
54e2ed81
L
49912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4992
4993 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4994 into R11_LP and load __x86_64_shared_cache_size_half into
4995 R8_LP.
4996
8a17f349
L
49972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4998
4999 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
5000 R8_LP.
5001
777b1eea
AZ
50022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5003
5004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
5005 logb for POWER7.
5006 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
5007 logbf for POWER7.
5008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
5009 logbl for POWER7.
5010 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
5011 powerpc32/power7/fpu/s_logb.c via #include.
5012 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
5013 powerpc32/power7/fpu/s_logbf.c via #include.
5014 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
5015 powerpc32/power7/fpu/s_logbl.c via #include.
5016
d20d4ac2
JM
50172012-05-15 Joseph Myers <joseph@codesourcery.com>
5018
5019 * README.libm: Remove file.
5020
6cdef1ab
L
50212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5022
5023 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
5024 count for x32. Use R*_LP and omit operand-size suffix.
5025
0b254d8f
L
50262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5027
5028 * shlib-versions: Move x86_64-.*-linux.* entries to ...
5029 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5030 * sysdeps/x86_64/x32/shlib-versions: New file.
5031
ceb809dc
RM
50322012-05-14 Roland McGrath <roland@hack.frob.com>
5033
5034 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
5035 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
5036 Use _dl_fatal_printf instead.
5037
37f1abd4
JM
50382012-05-14 Joseph Myers <joseph@codesourcery.com>
5039
5040 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
5041 set if not set by the user. Do not allow for being unset.
5042 * sysdeps/unix/sysv/linux/configure: Regenerated.
5043
11de3a33
L
50442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5045
5046 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
5047 the `q' suffix from lea and replace .quad with ASM_ADDR.
5048
e02f153a
L
50492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5050
5051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
5052 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5053 instead of $17.
5054 (PTR_DEMANGLE): Likewise.
5055
520ae0fd
L
50562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5057
5058 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
5059 (LP_OP): Likewise.
5060 (ASM_ADDR): Likewise.
5061 (RAX_LP): Likewise.
5062 (RBP_LP): Likewise.
5063 (RBX_LP): Likewise.
5064 (RCX_LP): Likewise.
5065 (RDI_LP): Likewise.
5066 (RSI_LP): Likewise.
5067 (RSP_LP): Likewise.
5068 (R8_LP): Likewise.
5069 (R9_LP): Likewise.
5070 (R10_LP): Likewise.
5071 (R10_LP): Likewise.
5072 (R11_LP): Likewise.
5073 (R12_LP): Likewise.
5074 (R13_LP): Likewise.
5075 (R14_LP): Likewise.
5076 (R15_LP): Likewise.
5077
b985be81
L
50782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5079
5080 * sysdeps/x86_64/x32/dl-machine.h: New file.
5081
6a4888ff
AJ
50822012-05-14 Andreas Jaeger <aj@suse.de>
5083
5084 * manual/Makefile (subdir): Remove export of subdir.
5085 (all): Remove target.
5086 (.PHONY): Remove all from list.
5087 (mkinstalldirs): Remove.
5088 (.PHONY): Remove installdirs from list.
5089 ($(inst_infodir)/libc.info): Use make-target-directory.
5090 (installdirs): Remove.
5091 (subdir_%): Remove.
5092 (glibc-targets): Remove.
5093 (lib): Remove.
5094 (stubs): Remove.
5095 ($(objpfx)stubs ../po/manual.pot): Remove.
5096 ($(objpfx)stamp%): Remove.
5097 (make-target-directory): Remove.
5098 (subdir_install): Remove.
5099 (routines): Remove.
5100 (aux): Remove.
5101 (sources): Remove.
5102 (objects): Remove.
5103 (headers): Remove.
5104
5105 [BZ #13750]
5106 * manual/.gitignore: Remove, it's not needed anymore.
5107 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5108 all files in it.
5109 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5110 directory.
5111 (texis): Renamed to $(objpfx)texis.
5112 (texis-path): New, contains path to generated files.
5113 (chapters.%): Use texis-path for complete path, add extra argument
5114 libc-texinfo.sh.
5115 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5116 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5117 (summary,texi, stamp-summary): Use complete path of
5118 files. Generate files in build dir.
5119 (dir-add.texi): Build in build dir.
5120 (libm-err.texi,stamp-libm-err): Likewise.
5121 (version.texi, stamp-version): Likewise.
5122 (.%c.texi): Likewise.
5123 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5124 (mostlyclean): Remove target.
5125 (realclean): Remove target.
5126 (generated): Add new variable with contents from mostlyclean and
5127 realclean, remove entries duplicated in common-mostlyclean, add
5128 stamp-libm-err and stamp-version.
5129 (generated-dirs): Add libc directory.
5130 ($(inst_infodir)/libc.info): Install files from build dir.
5131
5132 * manual/install.texi (Configuring and compiling): Adjust since
5133 the info files are not part of the tar ball anymore.
5134
7ac77294
AJ
51352012-05-14 Andreas Jaeger <aj@suse.de>
5136
5137 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5138 variable.
5139
ffb7875d
JM
51402012-05-14 Joseph Myers <joseph@codesourcery.com>
5141
5142 [BZ #13717]
5143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5144 to 2.2.0 where earlier.
5145 * sysdeps/unix/sysv/linux/configure: Regenerated.
5146 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5147 Remove conditional code.
5148 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5149 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5150 Remove conditional code.
5151 [!__NR_lchown]: Likewise.
5152 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5153 [__NR_lchown]: Likewise.
5154 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5155 comment referencing __ASSUME_LCHOWN_SYSCALL.
5156 * sysdeps/unix/sysv/linux/i386/sigaction.c
5157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5159 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5160 Remove conditional code.
5161 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5162 (__protocol_available): Remove #if 0 code.
5163 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5164 conditional code.
5165 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5166 * sysdeps/unix/sysv/linux/kernel-features.h
5167 (__ASSUME_GETCWD_SYSCALL): Don't define.
5168 (__ASSUME_REALTIME_SIGNALS): Likewise.
5169 (__ASSUME_PREAD_SYSCALL): Likewise.
5170 (__ASSUME_PWRITE_SYSCALL): Likewise.
5171 (__ASSUME_POLL_SYSCALL): Likewise.
5172 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5173 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5174 non-SPARC.
5175 (__ASSUME_SIOCGIFNAME): Don't define.
5176 (__ASSUME_MSG_NOSIGNAL): Likewise.
5177 (__ASSUME_SENDFILE): Define unconditionally.
5178 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5179 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5180 conditional code.
5181 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5182 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5183 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5184 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5185 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5186 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5187 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5189 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5192 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5195 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5201 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5204 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5210 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5212 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5213 Remove conditional code.
5214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5215 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5216 Remove conditional code.
5217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5218 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5219 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5220 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5221 Remove conditional code.
5222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5223 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5224 Remove conditional code.
5225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5226 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5227 Remove conditional code.
5228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5229 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5230 Remove conditional code.
5231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5232 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5233 Remove conditional code.
5234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5235 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5236 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5238 * sysdeps/unix/sysv/linux/sigaction.c
5239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5241 * sysdeps/unix/sysv/linux/sigpending.c
5242 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5243 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5244 * sysdeps/unix/sysv/linux/sigprocmask.c
5245 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5246 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5247 * sysdeps/unix/sysv/linux/sigsuspend.c
5248 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5249 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5251 (__libc_missing_rt_sigs): Remove.
5252 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5253 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5254 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5255 Remove conditional code.
5256 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5257 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5258 return 1.
5259 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5260 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5261 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5262 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5263
1bfb7291
AJ
52642012-05-14 Andreas Jaeger <aj@suse.de>
5265
caae5a81
AJ
5266 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5267 it's not used in glibc.
5268 (__coshm1): Likewise.
5269 (__acosh1p): Likewise.
5270 (__sgn): Likewise.
5271
1bfb7291
AJ
5272 * manual/string.texi (Copying and Concatenation): Add missing
5273 variable in concat example.
5274 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5275
c044d724
L
52762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5277
144c5467 5278 [BZ #14103]
c044d724
L
5279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5280 __builtin_clzl with __builtin_clzll.
5281
2523c62b
L
52822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5283
5284 [BZ #14104]
5285 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5286 libc_freeres_ptr.
5287
d7bb4c42
LD
52882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5289
5290 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5291 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5292 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5293 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5294
9dc4e1fb
MF
52952012-05-14 Mike Frysinger <vapier@gentoo.org>
5296
5297 * NEWS: Update ia64 info.
5298
c7df0112
AS
52992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5300
5301 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5302 used as bcopy.
5303
dc70356c
TS
53042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5305
5306 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5307 * sysdeps/unix/syscalls.list (dup3): Likewise.
5308 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5309 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5310
9fb1a21f
L
53112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5312
5313 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5314 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5315
4822a2a5
L
53162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5317
5318 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5319 thread pointer.
5320 (TLS_IE): Use mov/add instead of movq/addq to load thread
5321 pointer.
5322 (TLS_GD_PREFIX): New.
5323 (TLS_GD): Use it.
5324
842b81d6
DM
53252012-05-11 David S. Miller <davem@davemloft.net>
5326
5327 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5328 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5329 (_FPU_SETCW): Likewise.
5330
1cf463cd
L
53312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5332
5333 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5334 is 32-byte aligned.
5335
60cc4a18
AS
53362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5337
5338 [BZ #11837]
5339 * iconvdata/gb18030.c: Update tables.
5340 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5341 characters specially.
5342 (BODY for TO_LOOP): Add encoding of missing ranges.
5343
febb44a4
TS
53442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5345
5346 [BZ #13673]
5347 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5348 * sysdeps/mach/hurd/dup3.c: Likewise.
5349 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5350 * sysdeps/powerpc/memmove.c:: Likewise.
5351
0a10fb9e
L
53522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5353
5354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5355 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5356
df8a552f
L
53572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5358
5359 * elf/elf.h (R_X86_64_RELATIVE64): New.
5360 (R_X86_64_NUM): Updated.
5361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5362 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5363 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5364 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5365 tst-quad1pie tst-quad2pie
5366 (modules-names): Add tst-quadmod1 tst-quadmod2.
5367 ($(objpfx)tst-quad1): New dependency.
5368 ($(objpfx)tst-quad2): Likewise.
5369 ($(objpfx)tst-quad1pie): Likewise.
5370 ($(objpfx)tst-quad2pie): Likewise.
5371 * sysdeps/x86_64/tst-quad1.c: New file.
5372 * sysdeps/x86_64/tst-quad1pie.c: New file.
5373 * sysdeps/x86_64/tst-quad2.c: Likewise.
5374 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5375 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5376 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5377 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5378 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5379
f34d6f84
ST
53802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5381
f42d41d1
ST
5382 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5383 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5384 * streams/stropts.h (t_scalar_t): Define type.
5385
3c3571fc
ST
5386 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5387 (_PATH_PRESERVE): Set to "/var/lib".
5388 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5389
61f06bd3
ST
5390 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5391 instead of int.
5392
918d4d71
ST
5393 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5394 if __dir_mkfile succeeded.
5395
f34d6f84
ST
5396 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5397 checking for _hurd_dtablesize. Unlock it right after having
5398 finished _hurd_dtable allocation.
5399
10589b4a
TS
54002012-05-10 Thomas Schwinge <thomas@schwinge.name>
5401
674cdbc7
TS
5402 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5403 * sysdeps/mach/hurd/configure: Regenerated.
5404 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5405 special-casing to...
5406 * sysdeps/gnu/configure.in: ... this new file.
5407 * sysdeps/unix/sysv/linux/configure: Regenerated.
5408 * sysdeps/gnu/configure: New generated file.
5409
8e41b99f
TS
5410 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5411 for Linux: use nsec instead of usec, as well as:
5412 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5413 members of type struct timespec.
5414 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5415 New macros.
5416 (struct stat64): Likewise.
5417 (_STATBUF_ST_NSEC): New macro.
5418 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5419
10589b4a
TS
5420 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5421 __strtoul_internal rather than strtoul.
5422
63643c85
PT
54232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5424
5425 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5426 and reject them.
5427
3faebe6a
ST
54282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5429
5430 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5431 which preserves existing values.
5432 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5433
c6474b07
PT
54342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5435
5436 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5437 TIMEOUT values. Return EINVAL for NFDS values either negative or
5438 greater than FD_SETSIZE.
5439
1043890b
ST
54402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5441
5442 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5443 allocated, call __vm_protect to finish enabling the existing space, and
5444 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5445 allocate the remainder.
5446
37ed8b9b
PT
54472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5448
5449 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5450 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5451
db653660
ST
54522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5453
37ed8b9b
PT
5454 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5455 sysdeps/mach/hurd/readlink.c.
b29d4053 5456
db653660
ST
5457 * posix/tst-sysconf.c (posix_options): Only use
5458 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5459 _POSIX_SYNCHRONIZED_IO when they are defined
5460 * sysdeps/mach/hurd/bits/posix_opt.h:
5461 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5462 (_XOPEN_REALTIME): Undefine macro.
5463 (_XOPEN_REALTIME_THREADS): Undefine macro.
5464 (_XOPEN_SHM): Undefine macro.
5465 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5466 macro to -1.
5467 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5468 macro to -1.
5469 (_POSIX_ASYNC_IO): Undefine macro.
5470 (_POSIX_PRIORITIZED_IO): Undefine macro.
5471 (_POSIX_SPIN_LOCKS): Define macro to -1.
5472
ee16e894
ST
5473 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5474 SA_NODEFER, SA_RESETHAND.
5475 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5476 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5477 F_DUPFD_CLOEXEC.
5478
6103ae3b
TS
54792012-05-10 Thomas Schwinge <thomas@schwinge.name>
5480
5481 * elf/Makefile (pldd-modules): Define unconditionally.
5482
80b4e5f3
TS
54832012-05-10 Thomas Schwinge <thomas@schwinge.name>
5484
5485 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5486
edadcbd6
ST
54872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5488
5489 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5490 Return ENOENT when name is empty.
5491 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5492
80694780
TS
54932012-05-10 Thomas Schwinge <thomas@schwinge.name>
5494
1792c087
TS
5495 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5496
80694780
TS
5497 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5498
6b645f0d
ST
54992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5500
80694780
TS
5501 Fix mlock in all cases except non-readable pages.
5502 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5503 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5504
6b645f0d
ST
5505 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5506 (__mkdir): When path is `/', just fail with EEXIST.
5507 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5508
e468f8a3
TS
55092012-05-10 Thomas Schwinge <thomas@schwinge.name>
5510
5511 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5512 <sys/uio.h> (for writev).
5513 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5514 and <sys/param.h> (for MIN).
5515
a4186cff
PT
55162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5517
5518 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5519 REQUESTED_TIME. Properly set the remaining time and return EINTR
5520 if interrupted.
5521
510bbf14
TS
55222012-05-10 Thomas Schwinge <thomas@schwinge.name>
5523
5524 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5525 Depend on against $(link-rpcuserlibs).
5526
5d5722e8
ST
55272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5528
a4186cff
PT
5529 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5530 (__libc_stack_end): Do not use attribute_relro.
5531 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5532 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5533 to libthread-provided value.
a4186cff
PT
5534 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5535 attribute_relro.
5d5722e8 5536
37233df9
TS
55372012-05-10 Thomas Schwinge <thomas@schwinge.name>
5538
be971a2b
TS
5539 [BZ #3748]
5540 * bits/libc-lock.h (__libc_once_get): New macro.
5541 * sysdeps/mach/bits/libc-lock.h: Likewise.
5542 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5544 instead of using implementation details.
5545
37233df9
TS
5546 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5547 * libio/freopen.c: Likewise.
5548 * libio/freopen64.c: Likewise.
5549 * misc/syslog.c: Likewise.
5550 * nscd/connections.c: Likewise.
5551 * nscd/netgroupcache.c: Likewise.
5552 * sysdeps/posix/getcwd.c: Likewise.
5553
38de94a5
RM
55542012-05-10 Roland McGrath <roland@hack.frob.com>
5555
5556 * math/w_ilogbf.c: Add #include <limits.h>.
5557
67530489
ST
55582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5559
a4186cff 5560 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5561 path instead of returning without unlocking.
5562
67530489
ST
5563 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5564 immediate-write ioctls.
5565 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5566
5aa3a74a
TS
55672012-05-10 Thomas Schwinge <thomas@schwinge.name>
5568
18bad2ae
TS
5569 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5570 __builtin_frame_address instead of making assumptions about the
5571 location of the return address relative to DATA. Force early load of
5572 the return address.
5573 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5574 __builtin_frame_address.
5575
5aa3a74a
TS
5576 dup3 for GNU Hurd.
5577 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5578 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5579 implement dup3 and do some further code clean-ups.
5580 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5581 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5582
ecd0de9a
ST
55832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5584
cd9fa985
ST
5585 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5586
a4186cff
PT
5587 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5588 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5589 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5590 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5591 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5592 d->port.lock.
802ca5a5 5593
a4186cff
PT
5594 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5595 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5596 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5597
bcf55240
TS
55982012-05-10 Thomas Schwinge <thomas@schwinge.name>
5599
6960eb42
TS
5600 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5601 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5602 definitions.
5603
eb43375f
TS
5604 accept4 for GNU Hurd.
5605 * include/sys/socket.h (__libc_accept4): New prototype.
5606 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5607 to implement __libc_accept4.
5608 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5609 __libc_accept4.
5610 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5611
bcf55240
TS
5612 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5613 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5614 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5615 signal-defines.sym.
5616
6178c55b
ST
56172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5618
a4186cff 5619 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5620
6f080c2f
TS
56212012-05-10 Thomas Schwinge <thomas@schwinge.name>
5622
5623 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5624 assertion on O_CLOEXEC flag.
5625 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5626 * hurd/intern-fd.c: Likewise.
5627 * hurd/port2fd.c: Likewise.
5628
bcfe3a54
ST
56292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5630
5631 [BZ #3906]
5632 * bits/in.h (IPV6_PKTINFO): Define new macro.
5633 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5634
89c9aa49
AZ
56352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5636
5637 [BZ #13954]
5638 [BZ #13955]
5639 [BZ #13956]
5640 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5642 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5643 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5645 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5646 * math/libm-test.inc (logb_test) : Additional logb tests.
5647
021db4be
AJ
56482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5649 Andreas Jaeger <aj@suse.de>
5650
5651 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5652 * configure: Regenerated.
5653 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5654 * config.make.in (link-obsolete-rpc): New substituted variable.
5655 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5656 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5657 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5658 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5659 so that libc.a contains the symbols.
5660 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5661 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5662 * sunrpc/auth_none.c: Likewise.
5663 * sunrpc/auth_unix.c: Likewise.
5664 * sunrpc/authdes_prot.c: Likewise.
5665 * sunrpc/authuxprot.c: Likewise.
5666 * sunrpc/clnt_gen.c: Likewise.
5667 * sunrpc/clnt_perr.c: Likewise.
5668 * sunrpc/clnt_raw.c: Likewise.
5669 * sunrpc/clnt_simp.c: Likewise.
5670 * sunrpc/clnt_tcp.c: Likewise.
5671 * sunrpc/clnt_udp.c: Likewise.
5672 * sunrpc/clnt_unix.c: Likewise.
5673 * sunrpc/des_crypt.c: Likewise.
5674 * sunrpc/des_soft.c: Likewise.
5675 * sunrpc/get_myaddr.c: Likewise.
5676 * sunrpc/key_call.c: Likewise.
5677 * sunrpc/key_prot.c: Likewise.
5678 * sunrpc/netname.c: Likewise.
5679 * sunrpc/pm_getmaps.c: Likewise.
5680 * sunrpc/pm_getport.c: Likewise.
5681 * sunrpc/pmap_clnt.c: Likewise.
5682 * sunrpc/pmap_prot.c: Likewise.
5683 * sunrpc/pmap_prot2.c: Likewise.
5684 * sunrpc/pmap_rmt.c: Likewise.
5685 * sunrpc/publickey.c: Likewise.
5686 * sunrpc/rpc_cmsg.c: Likewise.
5687 * sunrpc/rpc_common.c: Likewise.
5688 * sunrpc/rpc_dtable.c: Likewise.
5689 * sunrpc/rpc_prot.c: Likewise.
5690 * sunrpc/rpc_thread.c: Likewise.
5691 * sunrpc/rtime.c: Likewise.
5692 * sunrpc/svc.c: Likewise.
5693 * sunrpc/svc_auth.c: Likewise.
5694 * sunrpc/svc_raw.c: Likewise.
5695 * sunrpc/svc_run.c: Likewise.
5696 * sunrpc/svc_tcp.c: Likewise.
5697 * sunrpc/svc_udp.c: Likewise.
5698 * sunrpc/svc_unix.c: Likewise.
5699 * sunrpc/svcauth_des.c: Likewise.
5700 * sunrpc/xcrypt.c: Likewise.
5701 * sunrpc/xdr.c: Likewise.
5702 * sunrpc/xdr_array.c: Likewise.
5703 * sunrpc/xdr_float.c: Likewise.
5704 * sunrpc/xdr_intXX_t.c: Likewise.
5705 * sunrpc/xdr_mem.c: Likewise.
5706 * sunrpc/xdr_rec.c: Likewise.
5707 * sunrpc/xdr_ref.c: Likewise.
5708 * sunrpc/xdr_sizeof.c: Likewise.
5709 * sunrpc/xdr_stdio.c: Likewise.
5710
b5c086a2
RM
57112012-05-10 Roland McGrath <roland@hack.frob.com>
5712
5713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5714 change. Update copyright years.
5715
6d74dd09
JM
57162012-05-10 Joseph Myers <joseph@codesourcery.com>
5717
5718 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5719
28e72501
MK
57202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5721 Joseph Myers <joseph@codesourcery.com>
5722 Paul Pluzhnikov <ppluzhnikov@google.com>
5723
5724 [BZ #14012]
5725 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5726 requiring rpcgen.
5727 [cross-compiling] (extra-libs): Likewise.
5728 [cross-compiling] (extra-libs-others): Likewise.
5729 [cross-compiling] (librpcsvc-routines): Likewise.
5730 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5731 [cross-compiling] (omit-deps): Likewise.
5732 (sunrpc-CPPFLAGS): New variable.
5733 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5734 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5735 (cross-rpcgen-objs): New variable.
5736 (extra-objs): Append $(cross-rpcgen-objs).
5737 ($(cross-rpcgen-objs)): New rule.
5738 ($(objpfx)cross-rpcgen): Likewise.
5739 (rpcgen-cmd): Define to use $(built-program-file). Expand
5740 comment.
5741 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5742 ($(objpfx)x%.stmp): Likewise.
5743 * sunrpc/proto.h [IS_IN_build] (_): Define.
5744 [IS_IN_build] (_libc_intl_domainname): Likewise.
5745
c8c59454
L
57462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5747
5748 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5749 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5750 and R_X86_64_TPOFF64.
5751
6f27cd16
JM
57522012-05-10 Joseph Myers <joseph@codesourcery.com>
5753
5754 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5755 sysdeps/unix/sysv/syscalls.list.
5756 (stime): Likewise.
5757 (utime): Likewise.
5758 * sysdeps/unix/sysv/syscalls.list: Remove file.
5759
02467e1c
PE
57602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5761
5762 [BZ #3440]
5763 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5764 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5765 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5766 (__LC_IDENTIFICATION): Make these macros useful in #if
5767 expressions, as required by C99.
5768
da392631
AS
57692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5770
5771 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5772 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5773 after this.
5774
8115f29b
L
57752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5776
5777 * stdlib/longlong.h: Updated from GCC.
5778
bdd74070
AJ
57792012-05-09 Andreas Jaeger <aj@suse.de>
5780
edfe0dbe
AJ
5781 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5782 default is first entry.
5783 (run_mode): Set type.
5784 (main): Remove informal message about syslog.
5785 (options): Fix typo.
5786
bcfe3a54
ST
5787 [BZ #14053]
5788 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5789 to asm.
bcfe3a54
ST
5790 (lrint): Likewise.
5791 (llrintf): Likewise.
5792 (llrint): Likewise.
5793 (rint): Likewise.
5794 (rintf): Likewise.
5795 (nearbyint): Likewise.
5796 (nearbyintf): Likewise.
bdd74070 5797
91d8d69e
AJ
57982012-05-09 Andreas Jaeger <aj@suse.de>
5799 Pedro Alves <palves@redhat.com>
5800
5801 * nscd/nscd.c (run_mode): Use enum.
5802 (main): Cleanup coding style issue.
5803
bb90b80b
AJ
58042012-05-09 Alexandre Oliva <aoliva@redhat.com>
5805 Andreas Jaeger <aj@suse.de>
5806
bcfe3a54
ST
5807 * nscd/nscd.c (go_background): Replaced with...
5808 (run_mode): ... this.
bb90b80b 5809 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5810 (options): Add -F --foreground.
5811 (main): Implement it.
5812 (parse_opt): Parse it.
bb90b80b 5813
1a4b75a1
AJ
58142012-05-09 Andreas Jaeger <aj@suse.de>
5815
5816 [BZ #14083]
5817 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5818 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5819 -Wconversion warning.
5820 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5821 Likewise.
5822
b1cc2472
JM
58232012-05-09 Joseph Myers <joseph@codesourcery.com>
5824
5825 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5826 == 0.
5827 (LC_ALL): Use macro-int-constant.
5828 (LC_COLLATE): Likewise.
5829 (LC_CTYPE): Likewise.
5830 (LC_MESSAGES): Likewise.
5831 (LC_MONETARY): Likewise.
5832 (LC_NUMERIC): Likewise.
5833 (LC_TIME): Likewise.
5834 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5835 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5837 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5838 Specify type.
5839 [C99-based standards] (float_t): Expect type.
5840 [C99-based standards] (double_t): Expect type.
5841 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5842 type.
5843 [C99-based standards] (HUGE_VALL): Likewise.
5844 [C99-based standards] (INFINITY): Likewise.
5845 [C99-based standards] (NAN): Likewise.
5846 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5847 [C99-based standards] (FP_NAN): Likewise.
5848 [C99-based standards] (FP_NORMAL): Likewise.
5849 [C99-based standards] (FP_SUBNORMAL): Likewise.
5850 [C99-based standards] (FP_ZERO): Likewise.
5851 [C99-based standards] (FP_FAST_FMA): Use
5852 optional-macro-int-constant. Specify type. Require == 1.
5853 [C99-based standards] (FP_FAST_FMAF): Likewise.
5854 [C99-based standards] (FP_FAST_FMAL): Likewise.
5855 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5856 [C99-based standards] (FP_ILOGBNAN): Likewise.
5857 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5858 Specify type.
5859 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5860 [C99-based standards] (math_errhandling): Specify type.
5861 [ISO99 || ISO11] (signgam): Do not allow.
5862 [non-C99-based standards] (copysignf): Do not allow.
5863 [non-C99-based standards] (exp2f): Likewise.
5864 [non-C99-based standards] (log2f): Likewise.
5865 [non-C99-based standards] (modff): Allow.
5866 [non-C99-based standards] (erff): Do not allow.
5867 [non-C99-based standards] (erfcf): Likewise.
5868 [non-C99-based standards] (gammaf): Likewise.
5869 [non-C99-based standards] (hypotf): Likewise.
5870 [non-C99-based standards] (j0f): Likewise.
5871 [non-C99-based standards] (j1f): Likewise.
5872 [non-C99-based standards] (jnf): Likewise.
5873 [non-C99-based standards] (lgammaf): Likewise.
5874 [non-C99-based standards] (tgammaf): Likewise.
5875 [non-C99-based standards] (y0f): Likewise.
5876 [non-C99-based standards] (y1f): Likewise.
5877 [non-C99-based standards] (ynf): Likewise.
5878 [non-C99-based standards] (isnanf): Likewise.
5879 [non-C99-based standards] (acoshf): Likewise.
5880 [non-C99-based standards] (asinhf): Likewise.
5881 [non-C99-based standards] (atanhf): Likewise.
5882 [non-C99-based standards] (cbrtf): Likewise.
5883 [non-C99-based standards] (expm1f): Likewise.
5884 [non-C99-based standards] (ilogbf): Likewise.
5885 [non-C99-based standards] (log1pf): Likewise.
5886 [non-C99-based standards] (logbf): Likewise.
5887 [non-C99-based standards] (nextafterf): Likewise.
5888 [non-C99-based standards] (remainderf): Likewise.
5889 [non-C99-based standards] (rintf): Likewise.
5890 [non-C99-based standards] (scalbf): Likewise.
5891 [non-C99-based standards] (copysignl): Likewise.
5892 [non-C99-based standards] (exp2l): Likewise.
5893 [non-C99-based standards] (log2l): Likewise.
5894 [non-C99-based standards] (modfl): Allow.
5895 [non-C99-based standards] (erfl): Do not allow.
5896 [non-C99-based standards] (erfcl): Likewise.
5897 [non-C99-based standards] (gammal): Likewise.
5898 [non-C99-based standards] (hypotl): Likewise.
5899 [non-C99-based standards] (j0l): Likewise.
5900 [non-C99-based standards] (j1l): Likewise.
5901 [non-C99-based standards] (jnl): Likewise.
5902 [non-C99-based standards] (lgammal): Likewise.
5903 [non-C99-based standards] (tgammal): Likewise.
5904 [non-C99-based standards] (y0l): Likewise.
5905 [non-C99-based standards] (y1l): Likewise.
5906 [non-C99-based standards] (ynl): Likewise.
5907 [non-C99-based standards] (isnanl): Likewise.
5908 [non-C99-based standards] (acoshl): Likewise.
5909 [non-C99-based standards] (asinhl): Likewise.
5910 [non-C99-based standards] (atanhl): Likewise.
5911 [non-C99-based standards] (cbrtl): Likewise.
5912 [non-C99-based standards] (expm1l): Likewise.
5913 [non-C99-based standards] (ilogbl): Likewise.
5914 [non-C99-based standards] (log1pl): Likewise.
5915 [non-C99-based standards] (logbl): Likewise.
5916 [non-C99-based standards] (nextafterl): Likewise.
5917 [non-C99-based standards] (remainderl): Likewise.
5918 [non-C99-based standards] (rintl): Likewise.
5919 [non-C99-based standards] (scalbl): Likewise.
5920 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5921 [non-C99-based standards] (FP_*): Do not allow.
5922 [C99-based standards] (FP_*): Change to
5923 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5924 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5925 allow.
5926 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5927 (SIG_ERR): Likewise.
5928 [X/Open-based standards] (SIG_HOLD): Likewise.
5929 (SIG_IGN): Likewise.
5930 (SIGABRT): Use macro-int-constant. Specify type. Require
5931 positive value.
5932 (SIGFPE): Likewise.
5933 (SIGILL): Likewise.
5934 (SIGINT): Likewise.
5935 (SIGSEGV): Likewise.
5936 (SIGTER): Likewise.
5937 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5938 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5939 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5940 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5941 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5943 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5944 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5945 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5946 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5947 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5948 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5949 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5950 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5951 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5952 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5953 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5954 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5955 [X/Open-based standards] (SIGTRAP): Likewise.
5956 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5957 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5958 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5959 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5960 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5961 allow.
5962
b9f1922d
IW
59632012-05-08 Ian Wienand <ianw@vmware.com>
5964
5965 [BZ #14080]
5966 * time/tzset.c (__tzset_parse_tz): Update default rules for
5967 daylight time changes in the Energy Policy Act of 2005.
5968
1db86e88
AJ
59692012-05-09 Andreas Jaeger <aj@suse.de>
5970
5971 [BZ #13983]
5972 * elf/ldconfig.c (parse_conf): Change string to make clear that
5973 ldconfig only issued a warning if ld.so.conf does not exist.
5974
dee4a4e3
DM
59752012-05-08 David S. Miller <davem@davemloft.net>
5976
ee0db190
DM
5977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5978 movxtod instead of popping the value on the stack.
5979
dee4a4e3
DM
5980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5981
6a43ec98
CD
59822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5983
5984 * config.h.in: Add HAVE_ARM_PCS_VFP.
5985
05c2c961
RMG
59862012-05-08 Roland Mc Grath <roland@hack.frob.com>
5987
bcfe3a54
ST
5988 [BZ #13979]
5989 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5990 checking but the checks are disabled for any reason.
05c2c961 5991
4b30f61a
L
59922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5993
5994 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5995 and ELF64_R_TYPE with ELFW(R_TYPE).
5996
eee2bc67
JM
59972012-05-08 Joseph Myers <joseph@codesourcery.com>
5998
7ea5391a
JM
5999 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
6000 (ulimit): Likewise.
6001
eee2bc67
JM
6002 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
6003 (settimeofday): Likewise.
6004
abb66a67
MF
60052012-05-08 Mike Frysinger <vapier@gentoo.org>
6006
6007 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
6008 a struct th_u2 inside the union, and move tu_block/tu_code into
6009 a new th_u3 union of tu_block/tu_code inside of that. Move
6010 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
6011 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
6012 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
6013 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
6014 (th_stuff): Change to th_u1.tu_stuff.
6015 (th_data): Define.
6016 (th_msg): Change to th_u1.th_u2.tu_data.
6017
7f18b530
DM
60182012-05-07 David S. Miller <davem@davemloft.net>
6019
05760585
DM
6020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6021
7f18b530
DM
6022 [BZ #14074]
6023 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
6024 (SETUP_PIC_REG): Use it.
6025 (SETUP_PIC_REG_LEAF): Use it.
6026
495fd99f
JM
60272012-05-07 Joseph Myers <joseph@codesourcery.com>
6028
6029 [BZ #13885]
6030 [BZ #13923]
6031 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6032 USE_AS_EXPM1L.
6033 (EXPL_FINITE): Likewise.
6034 (FLDLOG): Likewise.
6035 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6036 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6037 e_expl.S.
6038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6039 USE_AS_EXPM1L.
6040 (EXPL_FINITE): Likewise.
6041 (FLDLOG): Likewise.
6042 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
6043 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
6044 e_expl.S.
6045 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
6046 test of -max_value argument for long double.
6047 * sysdeps/i386/fpu/libm-test-ulps: Update.
6048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6049
6693d694
DM
60502012-05-06 David S. Miller <davem@davemloft.net>
6051
6052 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
6053 quad soft-float symbols whose references which are compiler
6054 generated.
6055 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6056
6c23e11c
JM
60572012-05-06 Joseph Myers <joseph@codesourcery.com>
6058
d8b82cad
JM
6059 [BZ #13884]
6060 [BZ #13914]
6061 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6062 USE_AS_EXP10L.
6063 (EXPL_FINITE): Likewise.
6064 (FLDLOG): Likewise.
6065 (c0): Likewise.
6066 (c1): Likewise.
6067 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6068 Adjust comments for base varying.
6069 (__expl_finite): Change alias to EXPL_FINITE.
6070 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
6071 e_expl.S.
6072 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
6073 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6075 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
6076 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
6077 USE_AS_EXP10L.
6078 (EXPL_FINITE): Likewise.
6079 (FLDLOG): Likewise.
6080 (c0): Likewise.
6081 (c1): Likewise.
6082 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
6083 Adjust comments for base varying.
6084 (__expl_finite): Change alias to EXPL_FINITE.
6085 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6086 tests for bugs.
6087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6088
6c23e11c
JM
6089 [BZ #14064]
6090 * math/libm-test.inc (check_float_internal): Correct ulp
6091 calculation for subnormal expected results.
6092
29ba805c
AJ
60932012-05-06 Andreas Jaeger <aj@suse.de>
6094
6095 * Makeconfig (+math-flags): New, set to -frounding-math.
6096 (+cflags): Add +math-flags so that all of glibc gets compiled with
6097 it.
6098
6099 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6100
7b17aeda
JM
61012012-05-05 Joseph Myers <joseph@codesourcery.com>
6102
5779f134
JM
6103 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6104 Disable one test.
6105
41498f4d
JM
6106 [BZ #13787]
6107 [BZ #13922]
6108 [BZ #14036]
6109 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6110 (__ieee754_expl): Allow for and saturate large arguments.
6111 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6112 (u_threshold): Likewise.
6113 (__exp): Call __ieee754_exp before checking for overflow and
6114 underflow.
6115 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6116 (u_threshold): Likewise.
6117 (__expf): Call __ieee754_expf before checking for overflow and
6118 underflow.
6119 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6120 (u_threshold): Likewise.
6121 (__expl): Call __ieee754_expl before checking for overflow and
6122 underflow.
6123 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6124 (__ieee754_expl): Allow for and saturate large arguments.
6125 * math/libm-test.inc (exp_test): Add another test. Do not allow
6126 missing overflow exception on overflow.
6127 (expm1_test): Do not allow missing overflow exception on overflow.
6128
6698b8bf
JM
6129 * sysdeps/i386/fpu/e_expl.c: Move to ...
6130 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6131 rather than using inline asm.
6132 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6133 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6134 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6135
7b17aeda
JM
6136 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6137 (nice): Likewise.
6138 (poll): Likewise.
6139 (signal): Likewise.
6140 (time): Likewise.
6141 (times): Likewise.
6142
f7c85819
JM
61432012-05-04 Joseph Myers <joseph@codesourcery.com>
6144
6145 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6146 sysdeps/unix/common/syscalls.list.
6147 (fchmod): Likewise.
6148 (fchown): Likewise.
6149 (ftruncate): Likewise.
6150 (getrusage): Likewise.
6151 (gettimeofday): Likewise.
6152 (setpgid): Likewise.
6153 (setregid): Likewise.
6154 (setreuid): Likewise.
6155 (sigaction): Likewise.
6156 (truncate): Likewise.
6157 (vhangup): Likewise.
6158 * sysdeps/unix/common/syscalls.list: Remove file.
6159 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6160 * sysdeps/unix/sysv/linux/Implies: Likewise.
6161
336270d0
L
61622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6163
6164 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6166 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6167 Moved to ...
6168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6169 Here.
6170 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6171 to ...
6172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6173 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6174 to ...
6175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6176 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6177 to ...
6178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6179 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6180 to ...
6181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6182 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6183 to ...
6184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6185 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6186 to ...
6187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6188 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6189 to ...
6190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6191 Here.
6192 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6193 to ...
6194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6195 Here.
6196 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6197 to ...
6198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6199 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6200 Moved to ...
6201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6202 Here.
6203 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6204 to ...
6205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6206
d128e450
JM
62072012-05-04 Joseph Myers <joseph@codesourcery.com>
6208
fa8ee516
JM
6209 * sysdeps/unix/common/bits/dirent.h: Remove file.
6210 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6211
d128e450
JM
6212 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6213 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6214 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6215 * sysdeps/unix/bsd/isatty.c: Likewise.
6216 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6217 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6218 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6219
ff8faaf0 62202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6221
62881be4 6222 [BZ #13563]
31dc8730
AZ
6223 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6224 long double comparison inaccuracies.
6225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6227
6fef930c
AS
62282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6229
6230 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6232
8f203e6c
JM
62332012-05-04 Joseph Myers <joseph@codesourcery.com>
6234
6235 [BZ #14049]
6236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6237 nonzero digits before rounding a hex value.
6238 * stdlib/tst-strtod.c (tests): Add another test.
6239
5197d9c2
AK
62402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6241
6242 * sysdeps/s390/fpu/libm-test-ulps: Update.
6243
f0c1dedf
AJ
62442012-05-03 Andreas Jaeger <aj@suse.de>
6245
6246 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6247 does not get optimized out.
6248 (malloc_opt_barrier): New.
6249
a65ef2ae 62502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6251 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6252
2b942cb7 6253 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6254 intermediate file deletion.
2b942cb7 6255 (generated): Add .symlist files.
a65ef2ae 6256
54b71e02
JM
62572012-05-03 Joseph Myers <joseph@codesourcery.com>
6258
6259 [BZ #13775]
6260 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6261 Redirect under this condition.
6262 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6263 [__USE_GNU] (__dprintf_chk): Not under this condition.
6264 [__USE_GNU] (__vdprintf_chk): Likewise.
6265 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6266 under this condition.
6267 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6268 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6269 [__USE_XOPEN2K8] (vdprintf): Likewise.
6270 [__USE_GNU] (__dprintf_chk): Not under this condition.
6271 [__USE_GNU] (__vdprintf_chk): Likewise.
6272 [__USE_GNU] (dprintf): Likewise.
6273 [__USE_GNU] (vdprintf): Likewise.
6274
d3dfcc41
RM
62752012-05-03 Roland McGrath <roland@hack.frob.com>
6276
6277 * elf/Makefile (common-generated): Set this instead of generated for
6278 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6279 $(all-built-dso)-derived lists.
6280
7ac30cc5
AJ
62812012-05-03 Andreas Jaeger <aj@suse.de>
6282
0c51e550
AJ
6283 * sysdeps/i386/fpu/libm-test-ulps: Update.
6284
7ac30cc5
AJ
6285 * FAQ: Removed.
6286 * FAQ.in: Likewise.
6287 * scripts/gen-FAQ.pl: Likewise.
6288 * manual/install.texi (Installation): Point to online location of
6289 FAQ.
6290 * Makefile (files-for-dist): Remove FAQ.
6291 (FAQ): Remove.
6292
d4c2917f
AM
62932012-05-02 Allan McRae <allan@archlinux.org>
6294
6295 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6296 (LDFLAGS-reldepmod5.so): Likewise.
6297 (LDFLAGS-reldep6mod1.so): Likewise.
6298 (LDFLAGS-reldep6mod4.so): Likewise.
6299 (LDFLAGS-reldep8mod3.so): Likewise.
6300 (LDFLAGS-unload4mod1.so): Likewise.
6301 (LDFLAGS-unload4mod2.so): Likewise.
6302 (LDFLAGS-tst-initorder): Likewise.
6303 (LDFLAGS-tst-initordera2.so): Likewise.
6304 (LDFLAGS-tst-initordera3.so): Likewise.
6305 (LDFLAGS-tst-initordera4.so): Likewise.
6306 (LDFLAGS-tst-initorderb2.so): Likewise.
6307 (LDFLAGS-noload): Likewise.
6308 (LDFLAGS-next): Likewise.
6309 (LDFLAGS-order2mod1.so): Likewise.
6310 (LDFLAGS-order2mod2.so): Likewise.
6311 (LDFLAGS-tst-initorder2): Likewise.
6312 (LDFLAGS-tst-initorder2a.so): Likewise.
6313 (LDFLAGS-tst-initorder2b.so): Likewise.
6314 (LDFLAGS-tst-initorder2c.so): Likewise.
6315 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6316
d77f993f
DM
63172012-05-02 David S. Miller <davem@davemloft.net>
6318
6319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6320
171a70b4
PP
63212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6322
6323 [BZ #14055]
6324 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6325
0be196ad
AJ
63262012-05-02 Andreas Jaeger <aj@suse.de>
6327
6328 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6329 since we manipulate rounding mode.
6330 (CPPFLAGS-test-idouble.c): Likewise.
6331 (CPPFLAGS-test-ifloat.c): Likewise.
6332 (CFLAGS-test-ldouble.c): Likewise.
6333 (CFLAGS-test-double.c): Likewise.
6334 (CFLAGS-test-float.c): Likewise.
6335 (CFLAGS-test-misc.c): Likewise.
6336 (CFLAGS-test-test-fenv.c): Likewise.
6337
4f9d04aa
AZ
63382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
2b942cb7
RM
6340 [BZ #2550]
6341 [BZ #2570]
6342 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6343 comparisons to determine direction to adjust input.
4f9d04aa 6344
82a79e7d
RM
63452012-05-01 Roland McGrath <roland@hack.frob.com>
6346
f5a01ca9
RM
6347 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6348 output to the target.
6349
90fe4186
RM
6350 * scripts/localplt.awk: New file.
6351 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6352 (check-localplt-CFLAGS): Variable removed.
6353 ($(all-built-dso:=.jmprel)): New static pattern rule.
6354 (generated): Add those targets.
6355 (localplt-built-dso): New variable.
6356 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6357
6358 * elf/check-localplt.c: File removed.
6359
82397ed6
RM
6360 * scripts/check-execstack.awk: New file.
6361 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6362 (check-execstack-CFLAGS): Variable removed.
6363 ($(objpfx)check-execstack.h): Target removed.
6364 ($(objpfx)execstack-default): New target.
6365 (generated): Add that instead of check-execstack.h.
6366 ($(all-built-dso:=.phdr)): New static pattern rule.
6367 (generated): Add those targets.
6368 * elf/check-execstack.c: File removed.
6369
82a79e7d
RM
6370 * scripts/check-textrel.awk: New file.
6371 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6372 (check-textrel-CFLAGS): Variable removed.
6373 (all-built-dso): Use := to define.o
6374 ($(all-built-dso:=.dyn)): New static pattern rule.
6375 (generated): Add those targets.
6376 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6377 * config.make.in (READELF): New substituted variable.
6378 * elf/check-textrel.c: File removed.
6379
62fde54f 63802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6381
615605c9
JM
6382 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6383 allow.
6384 * conform/data/ctype.h-data [C99-based standards] (isblank):
6385 Expect function.
6386 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6387 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6389 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6390 Specify type. Require positive value.
6391 (EILSEQ): Likewise.
6392 (ERANGE): Likewise.
6393 [ISO || POSIX] (EILSEQ): Do not expect.
6394 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6395 Specify type. Require positive value.
6396 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6397 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6398 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6399 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6400 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6401 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6402 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6403 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6404 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6405 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6406 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6407 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6408 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6409 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6410 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6411 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6412 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6413 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6414 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6415 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6416 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6418 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6420 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6421 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6422 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6423 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6424 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6425 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6426 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6427 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6428 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6429 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6430 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6435 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6440 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6466 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6470 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6471 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6472 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6473 Require >= 2.
6474 (FLT_ROUNDS): Expect as macro, not constant.
6475 (FLT_MANT_DIG): Use macro-int-constant.
6476 (DBL_MANT_DIG): Likewise.
6477 (LDBL_MANT_DIG): Likewise.
6478 (FLT_DIG): Likewise.
6479 (DBL_DIG): Likewise.
6480 (LDBL_DIG): Likewise.
6481 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6482 (DBL_MIN_EXP): Likewise.
6483 (LDBL_MIN_EXP): Likewise.
6484 (FLT_MAX_EXP): Use macro-int-constant.
6485 (DBL_MAX_EXP): Likewise.
6486 (LDBL_MAX_EXP): Likewise.
6487 (FLT_MAX_10_EXP): Likewise.
6488 (DBL_MAX_10_EXP): Likewise.
6489 (LDBL_MAX_10_EXP): Likewise.
6490 (FLT_MAX): Use macro-constant.
6491 (DBL_MAX): Likewise.
6492 (LDBL_MAX): Likewise.
6493 (FLT_EPSILON): Use macro-constant. Give upper bound.
6494 (DBL_EPSILON): Likewise.
6495 (LDBL_EPSILON): Likewise.
6496 (FLT_MIN): Likewise.
6497 (DBL_MIN): Likewise.
6498 (LDBL_MIN): Likewise.
6499 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6500 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6501 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6502 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6503 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6504 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6505 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6506 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6507 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6508 [ISO11] (FLT_TRUE_MIN): Likewise.
6509 [ISO11] (LDBL_TRUE_MIN): Likewise.
6510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6511 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6512 (SCHAR_MIN): Use macro-int-constant. Specify type.
6513 (SCHAR_MAX): Likewise.
6514 (UCHAR_MAX): Likewise.
6515 (CHAR_MIN): Likewise.
6516 (CHAR_MAX): Likewise.
6517 (MB_LEN_MAX): Use macro-int-constant.
6518 (SHRT_MIN): Use macro-int-constant. Specify type.
6519 (SHRT_MAX): Likewise.
6520 (USHRT_MAX): Likewise.
6521 (INT_MAX): Likewise.
6522 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6523 bound negative.
6524 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6525 bound with "U".
6526 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6527 bound with "L".
6528 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6529 bound negative. Suffix upper bound with "L".
6530 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6531 bound with "UL".
6532 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6533 Specify type.
6534 [C99-based standards] (LLONG_MAX): Likewise.
6535 [C99-based standards] (ULLONG_MAX): Likewise.
6536 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6537 == 0.
6538 [ISO11] (max_align_t): Require type.
6539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6540
c9140a62
JM
6541 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6542 from $CFLAGS, without defining away __attribute__ calls.
6543 (checknamespace): Use $CFLAGS_namespace.
6544
9af0bf29
JM
6545 * conform/conformtest.pl (@keywords): Only include C99 keywords
6546 for standards based on C99 or C11.
6547
343222a2
JM
6548 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6549 Disable tests.
6550 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6551 UNIX98]: Likewise.
6552
661f8cf0
JM
6553 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6554 usability of symbols in #if.
6555
ee74b9cb
JM
6556 * conform/conformtest.pl: If macro or constant types start
6557 "promoted:", expect the symbol to be of the following type
6558 promoted by the integer promotions.
62fde54f 6559
aafc49b3
JM
6560 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6561 in one place. Also handle "macro-constant".
6562
fefdf574
JM
6563 * conform/conformtest.pl: Only accept expected macro values with
6564 "==". Parse all "macro" lines in one place.
6565 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6566
f2d922fe
JM
6567 * conform/conformtest.pl: Handle braced types on "constant" lines
6568 instead of handling "typed-constant".
6569 * conform/data/signal.h-data: Use "constant" instead of
6570 "typed-constant".
6571
d22956c9
JM
6572 * conform/conformtest.pl: Handle "optional-" at start of lines in
6573 one place rather than duplicating several cases. Handle each
6574 format of "macro" line with initial "optional-".
6575
028e2e38
JM
6576 * conform/conformtest.pl: Only accept expected constant or
6577 optional-constant values with "==". Parse all "constant" lines in
6578 one place. Parse all "optional-constant" lines in one place.
6579 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6580 * conform/data/fmtmsg.h-data: Likewise.
6581 * conform/data/netinet/in.h-data: Likewise.
6582 * conform/data/tar.h-data: Likewise.
6583 * conform/data/limits.h-data: Use "==" form on "constant" and
6584 "optional-constant" lines.
6585
1b8f2850
JM
6586 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6587 Use -std=c99 for XOPEN2K.
6588 (@knownproblems): Remove.
6589 (newtoken): Don't check %isknown.
6590
a05a144b
JM
6591 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6592 Do not expect macro.
6593 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6605 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6606 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6607 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6608 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6610 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6611 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6612 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6613 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6618 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6619 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6623 [XPG3] (acosh): Likewise.
6624 [XPG3] (asinh): Likewise.
6625 [XPG3] (atanh): Likewise.
6626 [XPG3] (cbrt): Likewise.
6627 [XPG3] (expm1): Likewise.
6628 [XPG3] (ilogb): Likewise.
6629 [XPG3] (log1p): Likewise.
6630 [XPG3] (logb): Likewise.
6631 [XPG3] (nextafter): Likewise.
6632 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6633 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6634 [XPG3] (remainder): Likewise.
6635 [XPG3] (rint): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6643 [UNIX98 || XOPEN2K] (scalb): Expect.
6644 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6645 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6646 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6647 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6651 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6661 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6662 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6663 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6664 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6665 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6666 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6667 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6668 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6669 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6670 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6671 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6672 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6673 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6674 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6675 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6676 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6677 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6678 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6679 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6680 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6684 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6685 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6686 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6688 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6689 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6690 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6695 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6696 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6697 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6698 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6699 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6700 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6701 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6702 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6703 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6704 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6705 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6706 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6707 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6708 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6709 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6710 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6711 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6712 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6713 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6714 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6715 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6716 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6717 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6718 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6719 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6720 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6721 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6722 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6723 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6724 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6725 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6726 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6727 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6728 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6729 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6730 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6731 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6732 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6733 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6734 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6735 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6736 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6737 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6738 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6739 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6740 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6741 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6742 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6743 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6744 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6745 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6746 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6747 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6748 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6749 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6750 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6751 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6752 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6753 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6754 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6755 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6756 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6757 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6758 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6759 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6760 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6761 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6762 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6763 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6764 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6765 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6766 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6767 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6768 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6769 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6770 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6771 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6772 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6773 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6774 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6775 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6776 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6777 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6778 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6779 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6780 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6781
73c5ebe3
JM
6782 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6783 _XOPEN_SOURCE_EXTENDED for XPG4.
6784
39c33b6c
JM
6785 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6786
62fde54f
JM
6787 * Makeconfig (localtime): Remove variable.
6788 (inst_localtime-file): Likewise.
6789
0741d64c
AS
67902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6791
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6793 Update.
6794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6795 Update.
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6797 Update.
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6799 Update.
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6801 Update.
6802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6803 Update.
6804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6805 Update.
6806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6807 Update.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6809 Update.
6810
7cb029ee
JM
68112012-05-01 Joseph Myers <joseph@codesourcery.com>
6812
6813 [BZ #2550]
6814 [BZ #2570]
6815 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6816 comparisons to determine direction to adjust input.
6817 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6818 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6819 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6820 Likewise.
6821 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6822 Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6824 Likewise.
6825 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6826 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6827 Likewise.
6828 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6829 Likewise.
6830 * math/libm-test.inc (nexttoward_test): Add more tests.
6831
412bd966
AS
68322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6833
6834 [BZ #14040]
6835 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6836 in version GLIBC_2.1, not GLIBC_2.0.
6837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6838 Likewise.
6839
9568c0c2
JM
68402012-04-30 Joseph Myers <joseph@codesourcery.com>
6841
adfbc8ac
JM
6842 [BZ #13942]
6843 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6844 (1 - x) * (1 + x).
6845 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6846 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6847 * math/libm-test.inc (acos_test): Add more tests.
6848 (asin_test): Likewise.
6849 * sysdeps/i386/fpu/libm-test-ulps: Update.
6850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6851
5ba3cc69
JM
6852 [BZ #14034]
6853 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6854 of square root.
6855 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6856 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6857 * math/libm-test.inc (acos_test_tonearest): New function.
6858 (acos_test_towardzero): Likewise.
6859 (acos_test_downward): Likewise.
6860 (acos_test_upward): Likewise.
6861 (asin_test_tonearest): Likewise.
6862 (asin_test_towardzero): Likewise.
6863 (asin_test_downward): Likewise.
6864 (asin_test_upward): Likewise.
6865 (main): Call the new functions.
6866 * sysdeps/i386/fpu/libm-test-ulps: Update.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6868
9568c0c2
JM
6869 [BZ #13884]
6870 [BZ #13924]
6871 * math/e_exp10.c: Include <float.h>.
6872 (__ieee754_exp10): Handle underflow here rather than multiplying
6873 large negative argument by M_LN10.
6874 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6875 of __ieee754_expf.
6876 * math/e_exp10l.c: Include <float.h>.
6877 (__ieee754_exp10l): Handle underflow here rather than multiplying
6878 large negative argument by M_LN10l.
6879 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6880 spurious overflow exception on underflow.
6881
5ac3ea17
MP
68822012-04-29 Marek Polacek <polacek@redhat.com>
6883
6884 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6885 (__fortify_function): New macro.
6886 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6887 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6888 __extern_always_inline.
6889 * libio/bits/stdio2.h: Likewise.
6890 * libio/bits/stdio.h: Likewise.
6891 * string/string.h: Likewise.
6892 * string/bits/string3.h: Likewise.
6893 * include/stdio.h: Likewise.
6894 * stdlib/bits/stdlib.h: Likewise.
6895 * stdlib/stdlib.h: Likewise.
6896 * rt/bits/mqueue2.h: Likewise.
6897 * rt/mqueue.h: Likewise.
6898 * posix/bits/unistd.h: Likewise.
6899 * posix/unistd.h: Likewise.
6900 * io/bits/poll2.h: Likewise.
6901 * io/bits/fcntl2.h: Likewise.
6902 * io/fcntl.h: Likewise.
6903 * io/sys/poll.h: Likewise.
6904 * misc/bits/syslog.h: Likewise.
6905 * misc/bits/syslog-ldbl.h: Likewise.
6906 * misc/sys/syslog.h: Likewise.
6907 * socket/bits/socket2.h: Likewise.
6908 * socket/sys/socket.h: Likewise.
6909 * debug/tst-chk1.c: Likewise.
6910 * wcsmbs/bits/wchar2.h: Likewise.
6911 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6912 * wcsmbs/wchar.h: Likewise.
6913
ecf0ebfb
AJ
69142012-04-29 Andreas Jaeger <aj@suse.de>
6915
6916 * Makerules (tests): Remove enable-check-abi protection.
6917 (check-abi-warn): Remove.
6918 (check-abi-%): Remove check-abi-warn usage.
6919
6920 * configure.in: Remove check-abi configure option.
6921 * configure: Regenerated.
6922 * config.make.in (enable-check-abi): Remove.
6923
6d5c57fa
AS
69242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6925
24c5d07e 6926 [BZ #14033]
ded5180a
AS
6927 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6928 double functions to double *_finite functions.
6929
7e0d315d
AS
6930 [BZ #13941]
6931 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6932 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6933 LDBL_MIN_EXP.
6934 * stdio-common/Makefile (tests): Add tst-sprintf3.
6935 * stdio-common/tst-sprintf3.c: New file.
6936
6d5c57fa
AS
6937 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6938 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6939
0749ff8b
JM
69402012-04-28 Joseph Myers <joseph@codesourcery.com>
6941
6942 * conform/conformtest.pl: Remove duplicate typed-constant
6943 handling.
6944
8dbd5d7b
DM
69452012-04-28 David S. Miller <davem@davemloft.net>
6946
6947 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6948 (check-abi-%): Remove AWK script prerequisite and explicit
6949 abilist directory.
6950 (check-abi): Rewrite to just diff the symlist with the abilist.
6951 (config-tls, config-abi-config): Delete, no longer used.
6952 (update-abi-%): Remove AWK script and explicit abilist directory.
6953 (update-abi): Rewrite to simply compare and conditionally copy the
6954 symlist and the sysdep abilist file. Remove update-abi-config
6955 checks.
6956 * abilist/ld.abilist: Remove.
6957 * abilist/libBrokenLocale.abilist: Remove.
6958 * abilist/libanl.abilist: Remove.
6959 * abilist/libcrypt.abilist: Remove.
6960 * abilist/libdl.abilist: Remove.
6961 * abilist/librt.abilist: Remove.
6962 * abilist/libthread_db.abilist: Remove.
6963 * abilist/libutil.abilist: Remove.
6964 * scripts/extract-abilist.awk: Remove.
6965 * scripts/merge-abilist.awk: Remove.
6966 * sysdeps/generic/libcidn.abilist: New file.
6967 * sysdeps/generic/libnss_compat.abilist: New file.
6968 * sysdeps/generic/libnss_db.abilist: New file.
6969 * sysdeps/generic/libnss_dns.abilist: New file.
6970 * sysdeps/generic/libnss_files.abilist: New file.
6971 * sysdeps/generic/libnss_hesiod.abilist: New file.
6972 * sysdeps/generic/libnss_nis.abilist: New file.
6973 * sysdeps/generic/libnss_nisplus.abilist: New file.
6974 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6975 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6976 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6977 file.
6978 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6979 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6980 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6981 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6982 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6983 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6984 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6985 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6986 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6987 file.
6988 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6989 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6990 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6991 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6992 file.
6993 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6994 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6995 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6996 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6997 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6998 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6999 file.
7000 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
7001 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
7002 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
7003 file.
7004 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
7005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
7006 New file.
7007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
7008 New file.
7009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
7010 New file.
7011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
7012 New file.
7013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
7014 New file.
7015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
7016 New file.
7017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
7018 New file.
7019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
7020 New file.
7021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
7022 New file.
7023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
7024 New file.
7025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
7026 New file.
7027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
7028 New file.
7029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
7030 New file.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
7032 file.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7034 New file.
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7036 New file.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
7038 file.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7040 New file.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7042 New file.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
7044 file.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7046 New file.
7047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7048 New file.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7050 New file.
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7052 New file.
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7054 New file.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7056 New file.
7057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
7058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
7059 file.
7060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7061 New file.
7062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
7063 file.
7064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
7065 file.
7066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
7067 file.
7068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
7069 file.
7070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
7071 file.
7072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7073 New file.
7074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
7075 file.
7076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
7077 file.
7078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7079 New file.
7080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
7081 file.
7082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
7083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7084 file.
7085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7086 New file.
7087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7088 file.
7089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7090 file.
7091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7092 file.
7093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7094 file.
7095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7096 file.
7097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7098 New file.
7099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7100 file.
7101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7102 file.
7103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7104 New file.
7105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7106 file.
7107 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7108 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7109 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7110 file.
7111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7112 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7113 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7114 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7115 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7116 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7117 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7118 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7119 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7120 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7123 file.
7124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7125 New file.
7126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7127 file.
7128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7129 file.
7130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7131 file.
7132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7133 file.
7134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7135 file.
7136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7137 New file.
7138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7139 New file.
7140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7141 file.
7142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7143 New file.
7144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7145 file.
7146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7148 file.
7149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7150 New file.
7151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7152 file.
7153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7154 file.
7155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7156 file.
7157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7158 file.
7159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7160 file.
7161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7162 New file.
7163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7164 New file.
7165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7166 file.
7167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7168 New file.
7169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7170 file.
7171
41d73a1b
JM
71722012-04-28 Joseph Myers <joseph@codesourcery.com>
7173
7174 * conform/conformtest.pl: Fix typo in handling typed-constant from
7175 allow-header.
7176
28aeeda4
JM
71772012-04-27 Joseph Myers <joseph@codesourcery.com>
7178
adae8f5e
JM
7179 * README: Cut down references to pre-2.6 Linux kernels and
7180 Linuxthreads. Update lists of configurations in libc and ports
7181 and sort alphabetically. Say "or newer" with Linux kernel version
7182 requirements.
7183
28aeeda4
JM
7184 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7185
a462cb63
RA
71862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7187
7188 [BZ #887]
7189 * math/libm-test.inc (logb_test_downward): New test to expose
7190 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7191 rounding mode.
7192
6ad3493e
JM
71932012-04-27 Joseph Myers <joseph@codesourcery.com>
7194
7195 [BZ #14027]
7196 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7197 to be done.
7198 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7199 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7200
2ce4f015
JM
72012012-04-26 Joseph Myers <joseph@codesourcery.com>
7202
5aeb141a
JM
7203 * sysdeps/unix/i386/brk.S: Remove file.
7204 * sysdeps/unix/i386/dl-brk.S: Likewise.
7205 * sysdeps/unix/i386/pipe.S: Likewise.
7206 * sysdeps/unix/i386/sigreturn.S: Likewise.
7207 * sysdeps/unix/i386/syscall.S: Likewise.
7208 * sysdeps/unix/i386/vfork.S: Likewise.
7209 * sysdeps/unix/i386/wait.S: Likewise.
7210
7143acae
JM
7211 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7212 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7213
2ce4f015
JM
7214 * configure.in (arm*-none*): Do not allow without
7215 --enable-hacker-mode.
7216 (netbsd*): Remove case setting base_os.
7217 (386bsd*): Likewise.
7218 (freebsd*): Likewise.
7219 (bsdi*): Likewise.
7220 (osf*): Likewise.
7221 (sunos*): Likewise.
7222 (ultrix*): Likewise.
7223 (newsos*): Likewise.
7224 (dynix*): Likewise.
7225 (*bsd*): Likewise.
7226 (sysv*): Likewise.
7227 (isc*): Likewise.
7228 (esix*): Likewise.
7229 (sco*): Likewise.
7230 (minix*): Likewise.
7231 (irix4*): Likewise.
7232 (irix6*): Likewise.
7233 (solaris[2-9]*): Likewise.
7234 (none): Likewise.
7235 * configure: Regenerated.
7236
0ac229c8
AZ
72372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7238
7239 [BZ #11521]
7240 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7241 overflow or cancellation in calculating denominator.
7242 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7244 down expression to avoid unexpected rounding in newer GCCs.
7245 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7246
33f244f4
DM
72472012-04-26 David S. Miller <davem@davemloft.net>
7248
7249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7250 long-double compat symbols.
7251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7264
cfa1f3e8
DM
72652012-04-25 David S. Miller <davem@davemloft.net>
7266
7267 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7268 HWCAP_* values only after the memory barriers have been defined.
7269 (atomic_full_barrier): Define.
7270 (atomic_read_barrier): Define.
7271 (atomic_write_barrier): Define.
7272
6e236b92
SP
72732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
7275 * shlib-versions: Add libgcc_s version information.
7276 * sysdeps/generic/libgcc_s.h: Remove.
7277 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7278 libgcc_s.h.
7279 * sysdeps/gnu/unwind-resume.c: Likewise.
7280 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7281
aab39a09
DM
72822012-04-25 David S. Miller <davem@davemloft.net>
7283
7284 * sysdeps/unix/sparc/brk.S: Delete.
7285 * sysdeps/unix/sparc/dl-brk.S: Delete.
7286 * sysdeps/unix/sparc/pipe.S: Delete.
7287 * sysdeps/unix/sparc/sysdep.S: Delete.
7288 * sysdeps/unix/sparc/sysdep.h: Delete.
7289 * sysdeps/unix/sparc/vfork.S: Delete.
7290 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7291 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7292 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7293 ret_ERRVAL, r0, r1, MOVE): Define.
7294 (JUMPTARGET): Remove.
7295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7296 sysdeps/unix/sparc/sysdep.h
7297 (ENTRY, END): Remove.
7298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7299
a3cc4f48
JM
73002012-04-25 Joseph Myers <joseph@codesourcery.com>
7301
2ed8cda2
JM
7302 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7303 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7304 -DIS_IN_build.
7305
35d76d59
JM
7306 * timezone/README: Update upstream location and email address for
7307 tzcode and tzdata.
7308 * timezone/zdump.c: Update from tzcode 2012b.
7309 * timezone/zic.c: Likewise.
7310
a3cc4f48
JM
7311 * configure.in (libc_cv_as_needed): Remove test.
7312 * configure: Regenerated.
7313 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7314 conditional definition.
7315 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7316 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7317 * config.make.in (have-as-needed): Remove variable.
7318
ceab42c3
SP
73192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7320 Paul Pluzhnikov <ppluzhnikov@google.com>
7321
7322 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7323 strings correctly.
7324
3ce2865f
CLT
73252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7326
7327 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7328 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7329 * sysdeps/sh/strlen.S: Likewise.
7330
f37e0d68
JM
73312012-04-24 Joseph Myers <joseph@codesourcery.com>
7332
ae186e9a
JM
7333 * sysdeps/unix/fork.S: Remove file.
7334 * sysdeps/unix/i386/fork.S: Likewise.
7335 * sysdeps/unix/sparc/fork.S: Likewise.
7336
b96914af
JM
7337 * sysdeps/unix/system.c: Remove file.
7338 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7339
f37e0d68
JM
7340 * sysdeps/unix/getegid.S: Remove file.
7341 * sysdeps/unix/geteuid.S: Likewise.
7342
87ef29ca
RM
73432012-04-24 Roland McGrath <roland@hack.frob.com>
7344
83bcd236
RM
7345 * scripts/check-localplt.awk: New file.
7346 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7347 of diff.
7348 * scripts/data/localplt-generic.data: Add a comment.
7349
87ef29ca
RM
7350 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7351 NODE when __dir_mkfile failed.
7352 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7353 Reported by Ludovic Courtès <ludo@gnu.org>.
7354
e5a6e567
AJ
73552012-04-24 Andreas Jaeger <aj@suse.de>
7356
7357 * Makerules (common-clean): Also remove gen-as-const-headers
7358 files.
7359
c1820385
JM
73602012-04-24 Joseph Myers <joseph@codesourcery.com>
7361
7362 * Makerules (native-compile): Do not change working directory for
7363 build. Use $(OUTPUT_OPTION) in command.
7364 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7365
94e02fc4
AZ
73662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7367
7368 [BZ #13886]
7369 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7370 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7371 * math/libm-test.inc (floor_test): Add more tests.
7372 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7373
3a533ca3
JM
73742012-04-24 Joseph Myers <joseph@codesourcery.com>
7375
940ab4b3
JM
7376 * sysdeps/unix/getdents.c: Remove file.
7377 * sysdeps/unix/sysv/getdents.c: Likewise.
7378 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7379
90e037bd
JM
7380 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7381 sysdeps/unix/mman/syscalls.list.
7382 (mmap): Likewise.
7383 (mprotect): Likewise.
7384 (msync): Likewise.
7385 (munmap): Likewise.
7386 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7387 * sysdeps/unix/mman/syscalls.list: Remove.
7388 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7389
3a533ca3
JM
7390 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7391 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7392 * configure: Regenerated.
7393 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7394 $(libgcc_s_suffix).
7395 * config.make.in (libgcc_s_suffix): Remove variable.
7396
1ad743de
JM
73972012-04-23 Joseph Myers <joseph@codesourcery.com>
7398
4ad451e2
JM
7399 * sysdeps/unix/sysv/gethostname.c: Move to ...
7400 * sysdeps/posix/gethostname.c: ... here.
7401
5e37ce39
JM
7402 * sysdeps/unix/execve.S: Remove file.
7403
1ad743de
JM
7404 * sysdeps/unix/_exit.S: Remove file.
7405
4e681b5b
AJ
74062012-04-23 Andreas Jaeger <aj@suse.de>
7407
7408 [BZ #13739]
7409 * manual/Makefile: Remove make dist support, there's no
7410 need for a stand-alone documentation tar ball.
7411 (TEXI2DVI): Define always, it's not in Makeconfig.
7412 (dist): Removed.
7413 (tar-it): Removed.
7414 (edition): Removed.
7415 (glibc-doc-$(edition).tar): Removed
7416 (%.Z): Removed.
7417 (%.gz): Removed.
7418 (%.uu): Removed.
7419 (ETAGS): Remove, it's in Makeconfig.
7420 (move-if-change): Remove, it's in Makeconfig.
7421
c0baea34
PE
74222013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7423
7424 [BZ #13970]
7425 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7426 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7427 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7428 (strtod_l, strtof_l, strtold_l): Remove __wur.
7429 It is not necessarily an error to ignore strtol's return value.
7430 One can reliably look at the stored endptr to decide whether
7431 the number had valid syntax.
7432
7c0616fa
AJ
74332012-04-21 Andreas Jaeger <aj@suse.de>
7434
803cb6b7 7435 [BZ #13739]
7c0616fa
AJ
7436 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7437
b0fe253f
JM
74382012-04-21 Joseph Myers <joseph@codesourcery.com>
7439
7440 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7441 * sysdeps/unix/sysv/Versions: Remove file.
7442
8280f22d
MT
74432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7444
7445 [BZ #13927]
7446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7447
75ce411f 74482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7449
7450 [BZ #7064]
7451 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7452 version from __vm86.
7453
097d59fa
JM
74542012-04-20 Joseph Myers <joseph@codesourcery.com>
7455
a90f3bcb
JM
7456 * sysdeps/unix/common/lxstat.c: Remove file.
7457 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7458
edc7ea78
JM
7459 * sysdeps/unix/sysv/Makefile: Remove file.
7460
cb78c221
JM
7461 * sysdeps/unix/sysv/direct.h: Remove file.
7462
efa6a45f
JM
7463 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7464 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7465 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7466 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7467 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7468 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7469 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7470
9c9f2d0c
JM
7471 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7472
4541c83b
JM
7473 * sysdeps/unix/xmknod.c: Remove file.
7474 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7475
f5d153a0
JM
7476 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7477
aa746595
JM
7478 * sysdeps/unix/sysv/i386/time.S: Remove file.
7479
cce5905e
JM
7480 * sysdeps/unix/fxstat.c: Remove file.
7481 * sysdeps/unix/xstat.c: Likewise.
7482 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7483
37fa3841
JM
7484 * sysdeps/unix/sysv/sigaction.c: Remove file.
7485
ff1962a3
JM
7486 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7487 (sysdep_headers): Remove variable.
7488 [termio.h not in sysdep_headers] (generated): Likewise.
7489 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7490 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7491 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7492 * sysdeps/unix/sysv/tcflow.c: Likewise.
7493 * sysdeps/unix/sysv/tcflush.c: Likewise.
7494 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7495 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7496 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7497 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7498 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7499
e7740d31
JM
7500 * sysdeps/unix/siglist.c: Remove file.
7501
ee06f18b
JM
7502 * sysdeps/unix/getppid.S: Remove file.
7503
097d59fa
JM
7504 * sysdeps/unix/mkdir.c: Remove file.
7505 * sysdeps/unix/rmdir.c: Likewise.
7506
ff3d51ec
AS
75072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7508
7509 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7510 ERR_MAX value.
7511 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7512 errlist-compat value.
7513
50f81fd7
DM
75142012-04-18 David S. Miller <davem@davemloft.net>
7515
7516 * sysdeps/generic/memcopy.h (reg_char): Delete.
7517 * debug/strcat_chk.c: Use char, not reg_char.
7518 * debug/strcpy_chk.c: Likewise.
7519 * debug/strncat_chk.c: Likewise.
7520 * debug/strncpy_chk.c: Likewise.
7521 * string/memchr.c: Likewise.
7522 * string/memrchr.c: Likewise.
7523 * string/rawmemchr.c: Likewise.
7524 * string/strcat.c: Likewise.
7525 * string/strchr.c: Likewise.
7526 * string/strchrnul.c: Likewise.
7527 * string/strcmp.c: Likewise.
7528 * string/strcpy.c: Likewise.
7529 * string/strncat.c: Likewise.
7530 * string/strncmp.c: Likewise.
7531 * string/strncpy.c: Likewise.
7532
8ff41c46
WS
75332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7534
7535 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7536 __builtin_memcopy is called when src and dest ranges are known to not
7537 overlap.
7538
6b652f46
WS
75392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7540
7541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7542 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7543 fwd_align_merge macro call.
7544 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7545 bwd_align_merge macro call.
7546 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7547
b282631e
WS
75482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7549
7550 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7551 bwd_align_merge macros.
7552 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7553 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7554 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7555
95aa737c
DM
75562012-04-18 David S. Miller <davem@davemloft.net>
7557
7558 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7559
7a99a614
AJ
75602012-04-18 Andreas Jaeger <aj@suse.de>
7561
7562 [BZ# 6794]
7563 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7564 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7565 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7566
7567 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7568 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7569 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7570
7571 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7572 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7573 Adjust for changed ldbl-128 files.
7574
7575 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7576 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7577 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7578
e5270c23
DM
75792012-04-17 David S. Miller <davem@davemloft.net>
7580
7581 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7582
fb5e92c9
AS
75832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7584
7585 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7586 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7587 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7588 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7589 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7590 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7591
76da7265
AZ
75922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7593
7594 [BZ #6794]
7595 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7596 * math/libm-test.inc: Add ilogb errno and exception tests.
7597 * math/w_ilogb.c: New file: ilogb wrapper.
7598 * math/w_ilogbf.c: New file: ilogbf wrapper.
7599 * math/w_ilogbl.c: New file: ilogbl wrapper.
7600 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7601 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7602 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7603 exception being thrown with 0.0 as argument.
7604 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7605 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7606 exception being thrown with 0.0 as argument.
7607 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7608 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7609 exception being thrown with 0.0 as argument.
7610 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7611 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7612 exception being thrown with 0.0 as argument.
7613 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7614 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7616 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7617 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7618 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7619 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7620 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7621 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7622
0396e69d
PB
76232012-04-17 Petr Baudis <pasky@ucw.cz>
7624
7625 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7626 with altivec.
7627
750b5926
MP
76282012-04-16 Marek Polacek <polacek@redhat.com>
7629
7630 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7631
751728a1
MP
76322012-04-16 Marek Polacek <polacek@redhat.com>
7633
7634 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7635 operands of fdivp instruction.
7636
34a27407
L
76372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7638
7639 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7640 * elf/tst-auditmod3b.c: Likewise.
7641 * elf/tst-auditmod4b.c: Likewise.
7642 * elf/tst-auditmod5b.c: Likewise.
7643 * elf/tst-auditmod6b.c: Likewise.
7644 * elf/tst-auditmod6c.c: Likewise.
7645 * elf/tst-auditmod7b.c: Likewise.
7646 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7647 * sysdeps/x86_64/preconfigure.in: Likewise.
7648 * sysdeps/x86_64/preconfigure: Regenerated.
7649
7e73e17d
L
76502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7651
7652 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7653 __ILP32__.
7654
c7a6ab72
AB
76552012-04-13 Antoine Balestrat <merkil33@gmail.com>
7656
7657 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7658 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7659
a9e8e0e0
CL
76602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7661
7662 [BZ #13973]
7663 * locale/iso-639.def: Fix gl language name. Spotted by
7664 Yaron Shahrabani.
7665
ec98af7d
RM
76662012-04-12 Roland McGrath <roland@hack.frob.com>
7667
7668 [BZ #2074]
7669 * libio/libio.h (__io_write_fn): Update comment.
7670
247c3ede
PB
76712012-04-12 Petr Baudis <pasky@ucw.cz>
7672
7673 [BZ #2074]
7674 * stdio.texi (Hook Functions): The user provided writer function
7675 is not allowed to return -1.
7676
55939d6d
DM
76772012-04-11 David S. Miller <davem@davemloft.net>
7678
7679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7680
90020f5a
MF
76812012-04-11 Mike Frysinger <vapier@gentoo.org>
7682
7683 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7684 Add a leading slash to rtkaio.
7685
288f9098
JM
76862012-04-11 Jim Meyering <meyering@redhat.com>
7687
90020f5a
MF
7688 [BZ #11959]
7689 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7690 It is not necessarily an error to ignore fwrite's return
7691 value. One can reliably use ferror to test for errors after
7692 the fact.
288f9098 7693
4be2b570
L
76942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7695
7696 * bits/types.h (__snseconds_t): New type.
7697 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7698
7699 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7701 (__SNSECONDS_T_TYPE): Likewise.
7702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7703 (__SNSECONDS_T_TYPE): Likewise.
7704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7705 (__SNSECONDS_T_TYPE): Likewise.
7706
288f9098 77072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7708
7709 [BZ #2636]
7710 * manual/time.texi (Processor Time): Return type of times is
7711 elapsed real time since an arbitrary point in the past.
7712 (CPU Time): Move CLK_TCK from here...
7713 (Processor Time): ...to here. Correct description.
7714 * manual/conf.texi (Constants for Sysconf): Correct description of
7715 _SC_CLK_TCK.
7716
d7dd4413
DM
77172012-04-10 David S. Miller <davem@davemloft.net>
7718
7719 [BZ #13967]
7720 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7721 where the is a gap between DT_REL(A) and DT_JMPREL.
7722
b46068fc
L
77232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7724
7725 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7726 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7727 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7728
73d65cc3
SP
77292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7730
7731 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7732 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7733 (dl_main): Handle --inhibit-cache.
7734 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7735 _dl_inhibit_cache.
7736 * elf/dl-load.c (_dl_map_object): Use it.
7737 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7738
bcc8d661
JM
77392012-04-09 Joseph Myers <joseph@codesourcery.com>
7740
8f9a2fae
JM
7741 [BZ #13872]
7742 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7743 (__ieee754_powl): Saturate large exponents rather than testing for
7744 overflow of y*log2(x).
7745 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7746 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7747 exceptions.
7748
bcc8d661
JM
7749 [BZ #11521]
7750 * math/s_ctan.c: Include <float.h>.
7751 (__ctan): Avoid internal overflow or cancellation in calculating
7752 denominator.
7753 * math/s_ctanf.c: Likewise.
7754 * math/s_ctanl.c: Likewise.
7755 * math/s_ctanh.c: Likewise.
7756 * math/s_ctanhf.c: Likewise.
7757 * math/s_ctanhl.c: Likewise.
7758 * math/libm-test.inc (ctan_test): Add more tests.
7759 (ctanh_test): Likewise.
7760 * sysdeps/i386/fpu/libm-test-ulps: Update.
7761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7762
823fbbb4
AJ
77632012-04-09 Andreas Jaeger <aj@suse.de>
7764
03879793
AJ
7765 [BZ #6894]
7766 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7767 is an optional BSD extension.
7768
823fbbb4
AJ
7769 [BZ #10254]
7770 * manual/stdio.texi (Opening Streams): Document additional fopen
7771 parameters.
7772
8de131cb
RM
77732012-04-09 Roland McGrath <roland@hack.frob.com>
7774
7775 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7776 %eax without telling the compiler.
7777
c0ed9d7d
CD
77782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7779
7780 [BZ # 13963]
7781 * manual/install.texi: Use sourceware.org.
7782
c483f6b4
JM
77832012-04-09 Joseph Myers <joseph@codesourcery.com>
7784
d7dd9453
JM
7785 [BZ #13873]
7786 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7787 (__ieee754_pow): Generate overflow and underflow using huge*huge
7788 and tiny*tiny rather than just returning constant infinity or zero
7789 for large exponents.
7790 * math/libm-test.inc (pow_test): Require overflow exceptions for
7791 applicable cases of large exponents.
7792
c483f6b4
JM
7793 [BZ #706]
7794 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7795 (__ieee754_pow): Use iterative multiplication algorithm only for
7796 integer exponents with absolute value below 1024. Check for odd
7797 integer exponents when using algorithm for real exponents.
7798 * math/libm-test.inc (pow_test): Add more tests.
7799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7800
d2de7579
JM
78012012-04-08 Joseph Myers <joseph@codesourcery.com>
7802
7803 [BZ #13705]
7804 * math/libm-test.inc (exp_test): Do not allow overflow exception
7805 on underflow test.
7806
f77f1232
AJ
78072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7808
7809 [BZ #13705]
7810 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7811 instead of __kernel_standard_f.
7812
3884932b
MF
78132012-04-08 Mike Frysinger <vapier@gentoo.org>
7814
7815 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7816 * sysdeps/x86_64/memset_chk.S: Likewise.
7817
54472e9c
AJ
78182012-04-08 Andreas Jaeger <aj@suse.de>
7819
6ab0fbfc
AJ
7820 [BZ #10153]
7821 * manual/startup.texi (Environment Access): Describe return value
7822 for putenv and setenv.
7823
61efba8c
AJ
7824 [BZ #6895]
7825 * manual/filesys.texi (Directory Entries): Add description for
7826 DT_LNK.
7827
95c3f29a
AJ
7828 [BZ #6890]
7829 * manual/filesys.texi (Directory Entries): Clarify that it's file
7830 system not operating system in the description of DT_UNKNOWN.
7831
54472e9c
AJ
7832 [BZ #6578]
7833 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7834
624254b1
SC
78352012-04-08 Stephen Compall <s11@member.fsf.org>
7836
7837 [BZ #6649]
7838 * manual/llio.texi (Opening and Closing Files): Add cross
7839 reference to explain mode argument.
7840
1e4920e0
MF
78412012-04-07 Mike Frysinger <vapier@gentoo.org>
7842
7843 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7844 * sysdeps/x86_64/memset_chk.S: Likewise.
7845
5ed848f3
DM
78462012-04-07 David S. Miller <davem@davemloft.net>
7847
7848 * elf/elf.h (R_SPARC_WDISP10): Define.
7849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7850 R_SPARC_SIZE32.
7851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7852 R_SPARC_SIZE64 and R_SPARC_H34.
7853
96154cd8
CD
78542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7855
7856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7857 conditions and remove no longer applicable assertion.
7858
9904dc47
L
78592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7860
7861 * bits/byteswap.h: Include <features.h>.
7862 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7863 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7864
f8887d0a
L
78652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7866
7867 * bits/byteswap.h (__bswap_16): Removed.
7868 Include <bits/byteswap-16.h> to get __bswap_16.
7869 * sysdeps/i386/bits/byteswap.h: Likewise.
7870 * sysdeps/s390/bits/byteswap.h: Likewise.
7871 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7872 * bits/byteswap-16.h: New file.
7873 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7874 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7875 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7876 * string/Makefile (headers): Add bits/byteswap-16.h.
7877
62470f60
PP
78782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7879
7880 [BZ #13895]
7881 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7882 extra indirection.
7883 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7884 * nss/tst-nss-static.c: New.
7885
4dad7bab
RM
78862012-04-06 Robert Millan <rmh@gnu.org>
7887
7888 [BZ #6486]
7889 * manual/llio.texi (File Position Primitive): lseek
7890 refers to WHENCE when it really means OFFSET.
7891
e9142a17
AJ
78922012-04-06 Andreas Jaeger <aj@suse.de>
7893
2c040eff
AJ
7894 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7895 strncmp declarations.
7896
e9142a17
AJ
7897 * abilist/libc.abilist: Add __poll and __ppoll.
7898
ff9f1c5f
DM
78992012-04-05 David S. Miller <davem@davemloft.net>
7900
dcd2ae90
DM
7901 * scripts/check-local-headers.sh: Accept a host triplet in the
7902 path matched by the exclude regexp.
7903
993eb054
DM
7904 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7905 definition.
7906 * sysdeps/powerpc/powerpc32/dl-machine.h
7907 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7908 * sysdeps/s390/s390-32/dl-machine.h
7909 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7910 * sysdeps/sparc/sparc32/dl-machine.h
7911 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7912 * sysdeps/sparc/sparc64/dl-machine.h
7913 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7914
ff9f1c5f
DM
7915 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7916 lazy binding.
48e2e132 7917 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7918 undefined symbol errors.
7919
48e2e132 7920 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7921 DT_NEEDED entries.
7922
e80d6f94
MM
79232012-04-05 Michael Matz <matz@suse.de>
7924
7925 [BZ #13592]
7926 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7927
349fa79f
AJ
79282012-04-05 Andreas Jaeger <aj@suse.de>
7929
7930 [BZ #13908]
7931 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7932 comment.
7933
f402708f
KK
79342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7935
7936 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7937 which ROUND is no valid rounding mode.
7938
2ecccfc9
KK
79392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7940
7941 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7942 read again.
7943 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7944
8a53f50f
KK
79452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7946
7947 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7948 an exception using FPU order intentionally.
7949
79502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7951
7952 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7953 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7954 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7955 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7956
d653abb7
SJ
79572012-04-05 Simon Josefsson <simon@josefsson.org>
7958
7959 [BZ #12340]
7960 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7961 EINVAL when BUFLEN is too smal.
7962
c3b1bf7d
TS
79632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7964
7965 [BZ #13553]
7966 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7967 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7968
b1aa60f3
AJ
79692012-04-03 Andreas Jaeger <aj@suse.de>
7970
c3b1bf7d 7971 [BZ #13938]
67f60a26
AJ
7972 * manual/setjmp.texi (System V contexts): Fix sentence.
7973
b1aa60f3
AJ
7974 [BZ #13926]
7975 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7976 New macro for this case.
7977 [!__GNUC__] (__bswap_64): New inline function for this case.
7978 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7979 * bits/byteswap.h: Likewise.
7980 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7981 ull, guard with __GLIBC_HAVE_LONG_LONG.
7982
7983 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7984 __GLIBC_HAVE_LONG_LONG.
7985
7986 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7987 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7988
39c59c35
TMQMF
79892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7990
7991 [BZ #13691]
7992 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7993 inptr and inend, rather than using last_ch.
7994
135ffda8
DM
79952012-04-02 David S. Miller <davem@davemloft.net>
7996
7997 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7998 * stdio-common/printf-parse.h (read_int): Change return type to
7999 'int', return -1 on INT_MAX overflow.
8000 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
8001 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8002 overflows INT_MAX. Check for overflow of in-format-string precision
8003 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
8004 SIZE_MAX not INT_MAX for integer overflow test.
8005 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
8006 skip the construct in the format string but do not record anything.
8007 * stdio-common/bug22.c: Adjust to test both width/prevision
8008 INT_MAX overflow as well as total length INT_MAX overflow. Check
8009 explicitly for proper errno values.
8010
228c019e
TS
80112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
8012
302cadd3
TS
8013 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
8014 CHAR_MAX.
8015 * string/test-strcmp.c [! WIDE]: Likewise.
8016 * time/tst-mktime2.c: Likewise for INT_MAX.
8017 * string/test-string.h: #include <sys/param.h> for MIN.
8018
228c019e
TS
8019 * csu/init-first.c (__libc_init_first): Call __ctype_init.
8020 * sysdeps/i386/init-first.c (init): Likewise.
8021 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
8022 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
8023 * sysdeps/sh/init-first.c (init): Likewise.
8024
cfa633f5
UD
80252012-04-01 Ulrich Drepper <drepper@gmail.com>
8026
8027 * po/ru.po: Update from translation team.
d1635ef8 8028 * po/vi.po: Likewise.
cfa633f5 8029
6cd0a5ea
SP
80302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8031
8032 * resolv/nss_dns/dns-host.c: Merge copyright years.
8033
4b43400f
LD
80342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8035
8036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8037 Optimize memcpy with prefetch if
8038 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
8039 src, dst pointers have unequal 16 byte alignments.
8040
48c41d04
SP
80412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8042
8043 [BZ #13928]
8044 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
8045 from a CNAME entry and return the minimum ttl for the query.
8046 (gaih_getanswer_slice): Likewise.
8047
b8dc394d
JL
80482012-03-30 Jeff Law <law@redhat.com>
8049
8050 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
8051 due to long keys.
8052 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8053 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8054
2f5a5ed0
JL
8055 * resolv/nss_dns/dns-host.c: Update copyright year.
8056
1d39e359
UD
80572012-03-30 Ulrich Drepper <drepper@gmail.com>
8058
c030f70c 8059 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 8060 requests to save a system call. Fix check that all bytes are sent.
c030f70c 8061
1d39e359
UD
8062 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
8063 comments for sendmmsg.
8064
80652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
8066
8067 [BZ #13691]
8068 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
8069 with only 1 character between 0x0041 and 0x01b0.
8070 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
8071 * wcsmbs/tst-mbsnrtowcs.c: New file.
8072
20fde227
DM
80732012-03-29 David S. Miller <davem@davemloft.net>
8074
8075 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
8076 small copies by hand.
8077
984a4237
JL
80782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8079
8080 [BZ #13761]
8081 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
8082 _nss_compat_initgroups_dyn): Fall back to malloc/free
8083 for large group memberships.
8084
18c9d62b
DM
80852012-03-28 David S. Miller <davem@davemloft.net>
8086
88d85d4f
DM
8087 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8088 that branches into memcpy.
8089 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8091 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8092 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8094 bits.
8095 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8096 implementation too.
8097 * sysdeps/sparc/mempcpy.S: New file.
8098
e5aa83e1
DM
8099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8100 the IFUNC routine in the libc case.
8101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8102
88570753
DM
8103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8104 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8105 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8106 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8107 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8108 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8109 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8110 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8111
249d7567
DM
8112 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8113 loop to 256 bytes instead of 64 bytes and fix test signedness.
8114
18c9d62b
DM
8115 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8116 * sysdeps/sparc/sparc32/Makefile: rather than here...
8117 * sysdeps/sparc/sparc64/Makefile: and here.
8118
05f3d1f6
UD
81192012-03-28 Ulrich Drepper <drepper@gmail.com>
8120
8121 * malloc/mallocbug.c: Avoid warnings about unused variables.
8122
86ae07a8
JL
81232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8124
8125 [BZ #13760]
8126 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8127 in the right place. Discard and retry query if response is
8128 larger than input buffer size.
8129
41bf21a1
JM
81302012-03-28 Joseph Myers <joseph@codesourcery.com>
8131
d6270972
JM
8132 [BZ #369]
8133 [BZ #2678]
8134 [BZ #3866]
8135 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8136 x for large integer exponent.
8137 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8138 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8139 sign of result as needed afterwards.
8140 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8141 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8142 result for underflowing pow the same as for overflow.
8143 (__kernel_standard_l): Handle powl overflow and underflow here
8144 rather than calling __kernel_standard.
8145 * math/libm-test.inc (pow_test): Add more tests.
8146
414fca03 8147 [BZ #3868]
41bf21a1
JM
8148 [BZ #13879]
8149 [BZ #13910]
8150 [BZ #13911]
8151 [BZ #13912]
8152 [BZ #13913]
8153 [BZ #13915]
8154 [BZ #13916]
8155 [BZ #13917]
8156 [BZ #13918]
8157 [BZ #13919]
8158 [BZ #13920]
8159 [BZ #13921]
8160 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8161 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8162 (__kernel_standard_l): New function.
8163 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8164 __kernel_standard.
8165 * math/w_acosl.c (__acosl): Likewise.
8166 * math/w_asinl.c (__asinl): Likewise.
8167 * math/w_atan2l.c (__atan2l): Likewise.
8168 * math/w_atanhl.c (__atanhl): Likewise.
8169 * math/w_coshl.c (__coshl): Likewise.
8170 * math/w_exp10l.c (__exp10l): Likewise.
8171 * math/w_exp2l.c (__exp2l): Likewise.
8172 * math/w_fmodl.c (__fmodl): Likewise.
8173 * math/w_hypotl.c (__hypotl): Likewise.
8174 * math/w_j0l.c (__j0l, __y0l): Likewise.
8175 * math/w_j1l.c (__j1l, __y1l): Likewise.
8176 * math/w_jnl.c (__jnl, __ynl): Likewise.
8177 * math/w_lgammal.c (__lgammal): Likewise.
8178 * math/w_log10l.c (__log10l): Likewise.
8179 * math/w_log2l.c (__log2l): Likewise.
8180 * math/w_logl.c (__logl): Likewise.
8181 * math/w_powl.c (__powl): Likewise.
8182 * math/w_remainderl.c (__remainderl): Likewise.
8183 * math/w_scalbl.c (sysv_scalbl): Likewise.
8184 * math/w_sinhl.c (__sinhl): Likewise.
8185 * math/w_sqrtl.c (__sqrtl): Likewise.
8186 * math/w_tgammal.c (__tgammal): Likewise.
8187 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8188 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8189 * math/libm-test.inc (acos_test): Add more tests.
8190 (acosh_test): Likewise.
8191 (asin_test): Likewise.
8192 (atanh_test): Likewise.
8193 (exp_test): Likewise.
8194 (exp10_test): Likewise.
8195 (exp2_test): Likewise.
8196 (expm1_test): Likewise.
8197 (lgamma_test): Likewise.
8198 (log_test): Likewise.
8199 (log10_test): Likewise.
8200 (log1p_test): Likewise.
8201 (log2_test): Likewise.
8202 (pow_test): Do not allow some spurious overflow exceptions.
8203 (sqrt_test): Add more tests.
8204 (tgamma_test): Likewise.
8205 (y0_test): Likewise.
8206 (y1_test): Likewise.
8207 (yn_test): Likewise.
8208
dd62fda6
AB
82092012-03-27 Anton Blanchard <anton@samba.org>
8210
8211 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8212 MAP_HUGETLB.
8213 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8214 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8215 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8216
1e3cdfda
AJ
82172012-03-27 David S. Miller <davem@davemloft.net>
8218
b855ab85
DM
8219 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8220
1e3cdfda
AJ
8221 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8222 have-as-vis3 check.
8223
82242012-03-27 Andreas Jaeger <aj@suse.de>
8225
8226 * sysdeps/x86_64/elf/configure.in: Moved to ...
8227 * sysdeps/x86_64/configure.in: ... here.
8228 * sysdeps/x86_64/elf/start.S: Moved to ...
8229 * sysdeps/x86_64/start.S: ... here.
8230 * sysdeps/x86_64/elf/configure: Delete.
8231
8232 * sysdeps/x86_64/configure.in: Merge contents from
8233 sysdeps/i386/configure.in (without i686 check).
8234
8235 * sysdeps/i386/elf/Versions: Merge into ...
8236 * sysdeps/i386/Versions: ... this.
8237 * sysdeps/i386/elf/Versions: Delete file.
8238 * sysdeps/i386/elf/start.S: Moved to ...
8239 * sysdeps/i386/start.S: ...here.
8240 * sysdeps/i386/elf/configure.in: Merge into...
8241 * sysdeps/i386/configure.in: ...here.
8242 * sysdeps/i386/elf/configure.in: Delete file.
8243 * sysdeps/i386/elf/configure: Delete file.
8244
8245 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8246 * debug/backtracesyms.c: ... here.
8247 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8248 * debug/backtracesymsfd.c: ... here.
8249 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8250 * sysdeps/generic/ifunc-sel.h: ... here.
8251
8252 * sysdeps/unix/i386/start.c: Delete file.
8253 * sysdeps/unix/sparc/start.c: Delete file.
8254 * sysdeps/unix/start.c: Delete file.
8255
8256 * sysdeps/sh/elf/configure.in: Moved to ...
8257 * sysdeps/sh/configure.in: ... here.
8258 * sysdeps/sh/elf/start.S: Moved to ...
8259 * sysdeps/sh/start.S: ... here.
8260 * sysdeps/sh/elf/configure: Delete file.
8261
8262 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8263 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8264 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8265 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8266 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8267 * sysdeps/powerpc/powerpc64/start.S: here.
8268 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8269 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8270 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8271 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8272 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8273
8274 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8275 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8276 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8277 * sysdeps/powerpc/powerpc32/start.S: ... here.
8278 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8279 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8280 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8281
8282 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8283 * sysdeps/powerpc/ifunc-sel.h: ... here.
8284 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8285 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8286
8287 * sysdeps/sparc/elf/configure.in: Moved to ...
8288 * sysdeps/sparc/configure.in: ... here.
8289 * sysdeps/sparc/elf/configure: Delete file.
8290 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8291 * sysdeps/sparc/sparc32/start.S: ... here.
8292 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8293 * sysdeps/sparc/sparc64/start.S: ... here.
8294 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8295 * sysdeps/sparc/sparc32/Makefile: ... this.
8296 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8297 * sysdeps/sparc/sparc64/Makefile: ... this.
8298
8299 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8300 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8301 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8302 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8303 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8304 * sysdeps/s390/s390-32/setjmp.S: ... here.
8305 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8306 * sysdeps/s390/s390-32/configure.in: ... here.
8307 * sysdeps/s390/s390-32/elf/configure: Delete file.
8308 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8309 * sysdeps/s390/s390-32/start.S: ... here.
8310
8311 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8312 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8313 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8314 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8315 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8316 * sysdeps/s390/s390-64/setjmp.S: ... here.
8317 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8318 * sysdeps/s390/s390-64/configure.in: ... here
8319 * sysdeps/s390/s390-64/elf/configure: Delete file.
8320 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8321 * sysdeps/s390/s390-64/start.S: ... here.
8322 * sysdeps/s390/s390-64/elf/configure: Delete.
8323
8324 * configure.in: Remove support for elf directories in sysdeps.
8325
8326 * configure: Regenerated.
8327 * sysdeps/i386/configure: Regenerated.
8328 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8329 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8330 * sysdeps/s390/s390-32/configure: Regenerated.
8331 * sysdeps/s390/s390-64/configure: Regenerated.
8332 * sysdeps/sh/configure: Regenerated.
8333 * sysdeps/sparc/configure: Regenerated.
8334 * sysdeps/x86_64/configure: Regenerated.
8335
a3f61311
AS
83362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8337
c876e002
AS
8338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8339
a3f61311
AS
8340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8341 denormal result into account.
8342
ac4c54f0
RM
83432012-03-25 Roland McGrath <roland@hack.frob.com>
8344
8345 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8346 Reported by Allan McRae <allan@archlinux.org>.
8347
6a9b9c02
JL
83482012-03-23 Jeff Law <law@redhat.com>
8349
8350 * nss/getnssent.c (__nss_getent): Fix typo.
8351
4c42a0c1
DM
83522012-03-23 David S. Miller <davem@davemloft.net>
8353
8354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8355
1532c7ac
L
83562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8357
8358 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8359 to pad to uint64_t for each field.
8360 (dl_tls_index): Replace unsigned long with uint64_t.
8361
3ff42526
PP
83622012-03-23 Daniel Jacobowitz <dmj@google.com>
8363 Paul Pluzhnikov <ppluzhnikov@google.com>
8364
8365 [BZ #6528]
8366 * grp/Makefile (otherlibs): Don't set it.
8367 * inet/Makefile (otherlibs): Likewise.
8368 * login/Makefile (otherlibs): Likewise.
8369 * nscd/Makefile (otherlibs): Likewise.
8370 * posix/Makefile (otherlibs): Likewise.
8371 * pwd/Makefile (otherlibs): Likewise.
8372 * rt/Makefile (otherlibs): Likewise.
8373 * sunrpc/Makefile (otherlibs): Likewise.
8374 * nss/Makefile (otherlibs): Likewise.
8375 Add libnss_files to routines and static-only-routines.
8376 ($(objpfx)getent): Remove rule.
8377 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8378 static-only-routines.
8379
7c69cd14
JM
83802012-03-22 Joseph Myers <joseph@codesourcery.com>
8381
8382 [BZ #13892]
8383 * math/s_cexp.c: Include <float.h>.
8384 (__cexp): Handle exp result overflowing not necessarily
8385 overflowing both real and imaginary parts of result.
8386 * math/s_cexpf.c: Likewise.
8387 * math/s_cexpl.c: Likewise.
8388 * math/libm-test.inc (cexp_test): Add more tests.
8389 * sysdeps/i386/fpu/libm-test-ulps: Update.
8390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8391
81b035fe
L
83922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8393
8394 * include/link.h (ELFW): New macro.
8395 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8396 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8397
1da7940c
L
83982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8399
8400 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8401 with uint64_t.
8402
b749dbb9
L
84032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8404
8405 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8406 declaration.
8407 (struct La_x32_retval): Likewise.
8408
2ff87f3f
L
84092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8410
8411 * sysdeps/x86_64/preconfigure.in: New file.
8412 * sysdeps/x86_64/preconfigure: New generated file.
8413
c0df8e69
JM
84142012-03-22 Joseph Myers <joseph@codesourcery.com>
8415
48e44791
JM
8416 [BZ #13824]
8417 * math/e_exp2l.c: Include <float.h>.
8418 (__ieee754_exp2l): Handle overflow and underflow cases
8419 separately. Only pass fractional part of argument to
8420 __ieee754_expl.
8421 * math/libm-test.inc (exp2_test): Add more tests.
8422
c0df8e69
JM
8423 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8424 negating x to take absolute value.
8425 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8426 Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8428 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8429 Likewise.
8430 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8431 computing low part if x was negated.
8432 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8433
c8e43ba7
L
84342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8435
8436 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8437 la_x32_gnu_pltexit.
8438 (pltexit): Cast int_retval to ptrdiff_t.
8439 * elf/tst-auditmod3b.c: Likewise.
8440 * elf/tst-auditmod4b.c: Likewise.
8441 * elf/tst-auditmod5b.c: Likewise.
8442 * elf/tst-auditmod6b.c: Likewise.
8443 * elf/tst-auditmod6c.c: Likewise.
8444 * elf/tst-auditmod7b.c: Likewise.
8445
8446 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8447 and x32_gnu_pltexit.
8448
8449 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8450 __ELF_NATIVE_CLASS.
8451 (La_x32_regs): New macro.
8452 (La_x32_retval): Likewise.
8453 (la_x32_gnu_pltenter): New function prototype.
8454 (la_x32_gnu_pltexit): Likewise.
8455
7998fa78
AS
84562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8457
dcb33988
AS
8458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8459 exponent.
8460
233fc563
AS
8461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8462
7998fa78
AS
8463 * configure.in (libc_cv_cc_nofma): Check for option to disable
8464 generation of FMA instructions.
8465 * configure: Regenerate.
8466 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8467 * sysdeps/ieee754/dbl-64/Makefile: New file.
8468 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8469 Remove brandred-fma4.
8470 (CFLAGS-brandred-fma4.c): Remove.
8471 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8472 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8473 define.
8474 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8475 define.
8476
8e95c99a
L
84772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8480 LLONG_MAX != LONG_MAX.
8481 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8482 (_fitoa_word): Likewise.
8483 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8484 LLONG_MAX != LONG_MAX.
8485 * stdio-common/_itowa.h: Include <_itoa.h>.
8486 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8487 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8488 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8489 only if not defined.
8490 (_ITOA_WORD_TYPE): Likewise.
8491 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8492 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8493
6f4db457
DM
84942012-03-21 David S. Miller <davem@davemloft.net>
8495
8496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8497
7785fe5a
L
84982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8499
8500 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8501 of x86_64 when setting libc_cv_slibdir, libdir and
8502 libc_cv_localedir.
8503 * sysdeps/unix/sysv/linux/configure: Regenerated.
8504
4535cd55
JM
85052012-03-21 Joseph Myers <joseph@codesourcery.com>
8506
8507 * manual/lang.texi (Old Varargs): Remove section.
8508 (How Variadic): Update menu.
8509 (va_start): Do not mention varargs.h.
8510
17228132
TS
85112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8512 Joseph Myers <joseph@codesourcery.com>
8513
8514 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8515 link test.
8516 * configure: Regenerated.
8517
8149f976
TS
85182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8519
05f3d1f6
UD
8520 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8521 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8522 conformtest.pl
8149f976 8523
1a4ac776
JM
85242012-03-21 Joseph Myers <joseph@codesourcery.com>
8525
be22ce65
JM
8526 * NOTES: Remove.
8527 * Makefile (files-for-dist): Remove NOTES.
8528 (NOTES): Remove rule.
8529 * README: Don't refer to NOTES.
8530 * manual/creature.texi: Don't include macros.texi.
8531 * manual/intro.texi (creature.texi): Remove comment referring to
8532 NOTES.
8533
40b601fb
JM
8534 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8535 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8536 * configure: Regenerated.
8537 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8538 LIBC_TRY_CC_OPTION.
8539 (libc_cv_as_i686): Likewise.
8540 (libc_cv_cc_avx): Likewise.
8541 (libc_cv_cc_sse2avx): Likewise.
8542 (libc_cv_cc_fma4): Likewise.
8543 (libc_cv_cc_novzeroupper): Likewise.
8544 * sysdeps/i386/configure: Regenerated.
8545
1a4ac776
JM
8546 [BZ #13883]
8547 * sysdeps/i386/fpu/s_cexp.S: Remove.
8548 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8549 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8550 * math/libm-test.inc (cexp_test): Add more tests.
8551 * sysdeps/i386/fpu/libm-test-ulps: Update.
8552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8553
a458e7fe
AM
85542012-03-21 Allan McRae <allan@archlinux.org>
8555
8556 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8557
0cb7efc5
JM
85582012-03-21 Joseph Myers <joseph@codesourcery.com>
8559
8560 [BZ #13871]
8561 * math/w_exp2.c: Do not include <float.h>.
8562 (o_threshold, u_threshold): Remove.
8563 (__exp2): Calculate result before checking finiteness and calling
8564 __kernel_standard.
8565 * math/w_exp2f.c: Likewise.
8566 * math/w_exp2l.c: Likewise.
8567 * math/libm-test.inc (exp2_test): Require overflow exception for
8568 1e6 input.
2460d3aa
JM
8569
8570 [BZ #3866]
8571 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8572 range of signed 64-bit integers before using fistpll. Remove
8573 checks for whether integers fit in mantissa bits.
8574 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8575 the range of signed 32-bit integers before using fistpl. Remove
8576 checks for whether integers fit in mantissa bits.
8577 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8578 (__ieee754_powl): Test for y outside the range of signed 64-bit
8579 integers before using fistpll. Reduce 64-bit values to 63-bit
8580 ones as needed.
8581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8582 divide-by-zero is raised for zero to large negative powers.
8583 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8584 (__ieee754_powl): Test for y outside the range of signed 64-bit
8585 integers before using fistpll. Reduce 64-bit values to 63-bit
8586 ones as needed.
8587 * math/libm-test.inc (pow_test): Add more tests.
8588
eb96ffb0
L
85892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8590
8591 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8592 <stdio-common/_itoa.h>.
8593 * debug/segfault.c: Likewise.
8594 * elf/dl-cache.c: Likewise.
8595 * elf/dl-minimal.c: Likewise.
8596 * elf/dl-misc.c: Likewise.
8597 * elf/dl-sysdep.c: Likewise.
8598 * elf/dl-version.c: Likewise.
8599 * elf/rtld.c: Likewise.
8600 * hurd/hurdsock.c: Likewise.
8601 * hurd/lookup-retry.c: Likewise.
8602 * malloc/malloc.c: Likewise.
8603 * malloc/mtrace.c: Likewise.
8604 * nscd/nscd_getgr_r.c: Likewise.
8605 * nscd/nscd_getpw_r.c: Likewise.
8606 * nscd/nscd_getserv_r.c: Likewise.
8607 * posix/getopt_init.c: Likewise.
8608 * posix/wordexp.c: Likewise.
8609 * stdio-common/_itoa.c: Likewise.
8610 * stdio-common/printf_fphex.c: Likewise.
8611 * stdio-common/vfprintf.c: Likewise.
8612 * string/_strerror.c: Likewise.
8613 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8614 * sysdeps/i386/i686/hp-timing.h: Likewise.
8615 * sysdeps/mach/_strerror.c: Likewise.
8616 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8617 * sysdeps/mach/hurd/sethostid.c: Likewise.
8618 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8619 * sysdeps/mach/xpg-strerror.c: Likewise.
8620 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8621 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8622 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8623 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8624 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8625 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8626 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8627 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8628 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8629 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8630 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8631 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8632 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8633 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8634 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8635 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8636 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8637 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8638 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8639 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8640 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8641
8642 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8643
8644 * stdio-common/_itoa.h: Moved to ...
8645 * sysdeps/generic/_itoa.h: Here.
8646
8647 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8648
8649 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8650 instead of "_itoa.h" and "_itowa.h".
8651 * stdio-common/vfprintf.: Likewise.
8652
d1af992d
L
86532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8654
8655 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8656 <bits/wordsize.h>.
8657 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8658 (__signbit): Likwise.
8659 (llrintf): Likwise.
8660 (llrint): Likwise.
8661
114883e0
L
86622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8665 __WORDSIZE != 64.
8666
c135cc1b
JM
86672012-03-20 Joseph Myers <joseph@codesourcery.com>
8668
8669 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8670 OVERFLOW_EXCEPTION_OK.
8671 * math/libm-test.inc ("Philosophy"): Update comment about
8672 exception testing.
8673 (OVERFLOW_EXCEPTION): Define.
8674 (OVERFLOW_EXCEPTION_OK): Likewise.
8675 (INVALID_EXCEPTION_OK): Renumber.
8676 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8677 (IGNORE_ZERO_INF_SIGN): Likewise.
8678 (test_exceptions): Handle FE_OVERFLOW.
8679 (exp10_test): Expect overflow exceptions.
8680 (exp2_test): Likewise.
8681 (expm1_test): Likewise.
8682 (nextafter_test): Likewise.
8683 (pow_test): Likewise.
8684 (scalbn_test): Likewise.
8685 (scalbln_test): Likewise.
8686
95443d88
L
86872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8688
8689 * sysdeps/x86_64/bits/atomic.h
8690 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8691 64bit integer.
8692 (atomic_exchange_acq): Likewise.
8693 (__arch_exchange_and_add_body): Likewise.
8694 (__arch_add_body): Likewise.
8695 (atomic_add_negative): Likewise.
8696 (atomic_add_zero): Likewise.
8697
490df6c4
L
86982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8699
c2722551 8700 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8701 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8702
5e52b189
L
87032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8704
8705 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8706 Check __x86_64__ instead of __WORDSIZE.
8707
a9879d4c
L
87082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8709
8710 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8711
5df98260
DM
87122012-03-19 David S. Miller <davem@davemloft.net>
8713
e1497744
DM
8714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8715
5df98260
DM
8716 * sysdeps/sparc/fpu/fenv_private.h: New file.
8717 * sysdeps/sparc/fpu/math_private.h: Use it.
8718 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8719 Remove.
8720 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8721 (libc_feholdexcept_setroundl): Remove.
8722 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8723 Remove.
8724 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8725 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8726
b4c35121
L
87272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8728
8729 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8730 int64_t instead of long int.
8731 (INSERT_WORDS64): Likwise.
8732
56965fd7
L
87332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8734
8735 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8736 _Unwind_GetCFA return to _Unwind_Ptr first.
8737
83d1aec8
JM
87382012-03-19 Joseph Myers <joseph@codesourcery.com>
8739
1897ad44
JM
8740 [BZ #13629]
8741 * math/s_clog.c: Include <float.h>.
8742 (__clog): Scale large or subnormal inputs.
8743 * math/s_clogf.c: Likewise.
8744 * math/s_clogl.c: Likewise.
8745 * math/s_clog10.c: Include <float.h>.
8746 (M_LOG10_2): Define.
8747 (__clog10): Scale large or subnormal inputs.
8748 * math/s_clog10f.c: Likewise.
8749 * math/s_clog10l.c: Likewise.
8750 * math/libm-test.inc (clog_test): Add more tests.
8751 (clog10_test): Likewise.
8752 * sysdeps/i386/fpu/libm-test-ulps: Update.
8753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8754
7726d6a9
JM
8755 [BZ #11451]
8756 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8757 x and y.
8758 * math/libm-test.inc (atan2_test): Add another test.
8759
83d1aec8
JM
8760 * Makerules (common-objdir-compile): Remove.
8761 * sysdeps/unix/Makefile (config-generated): Do not add
8762 $(unix-generated) to variable.
8763 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8764 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8765 Remove rule.
8766 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8767 Likewise.
8768 [generic bits/local_lim.h] (before-compile): Do not append to
8769 variable.
8770 [generic bits/local_lim.h] (common-generated): Likewise.
8771 [generic sys/param.h] (before-compile): Do not append to variable.
8772 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8773 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8775 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8776 include.
8777 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8778 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8779 [generic sys/param.h] ($(addprefix
8780 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8781 [generic sys/param.h] (common-generated): Do not append to
8782 variable.
8783 [generic sys/param.h] (sysdep_headers): Likewise.
8784 [generic bits/errno.h] (before-compile): Do not append to
8785 variable.
8786 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8787 rule.
8788 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8789 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8790 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8791 [generic bits/errno.h] (common-generated): Do not append to
8792 variable.
8793 [generic bits/ioctls.h] (before-compile): Do not append to
8794 variable.
8795 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8796 rule.
8797 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8798 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8799 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8800 rule.
8801 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8802 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8803 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8804 [generic bits/ioctls.h] (common-generated): Do not append to
8805 variable.
8806 [generic sys/syscall.h] (syscall.h): Remove variable.
8807 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8808 rule.
8809 [generic sys/syscall.h] (before-compile): Do not append to
8810 variable.
8811 [generic sys/syscall.h] (common-generated): Likewise.
8812 * sysdeps/unix/errnos-tmpl.c: Remove file.
8813 * sysdeps/unix/errnos.awk: Likewise.
8814 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8815 * sysdeps/unix/ioctls.awk: Likewise.
8816 * sysdeps/unix/mk-local_lim.c: Likewise.
8817 * sysdeps/unix/snarf-ioctls: Likewise.
8818
4851a949
RH
88192012-03-19 Richard Henderson <rth@twiddle.net>
8820
bd37f2ee
RH
8821 * sysdeps/i386/fpu/fenv_private.h: New file.
8822 * sysdeps/i386/fpu/math_private.h: Use it.
8823 (math_opt_barrier, math_force_eval): Remove.
8824 (libc_feholdexcept_setround_53bit): Remove.
8825 (libc_feupdateenv_53bit): Remove.
8826 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8827 (math_opt_barrier, math_force_eval): Remove.
8828 (libc_feholdexcept): Remove.
8829 (libc_feholdexcept_setround): Remove.
8830 (libc_fetestexcept, libc_fesetenv): Remove.
8831 (libc_feupdateenv_test): Remove.
8832 (libc_feupdateenv, libc_feholdsetround): Remove.
8833 (libc_feresetround): Remove.
8834
d0adc922
RH
8835 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8836 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8837
0fe0f1f8
RH
8838 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8839 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8840 (libc_feupdateenv_testl): New.
8841 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8842 (libc_feupdateenv_testf): New.
8843 (libc_feupdateenv): Use libc_feupdateenv_test.
8844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8845 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8846
eb92c487
RH
8847 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8848 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8849 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8850 (libc_feresetround_noex): New.
8851 (libc_feresetround_noexf): New.
8852 (libc_feresetround_noexl): New.
8853 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8854 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8855 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8856 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8857 SET_RESTORE_ROUND.
8858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8860 (__cos): Likewise.
8861 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8862 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8863 SET_RESTORE_ROUND_NOEX.
8864 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8865 SET_RESTORE_ROUND_NOEXF.
8866 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8867 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8868 (libc_feholdsetroundf): New.
8869 (libc_feresetround, libc_feresetroundf): New.
8870
7d2e8012
RH
8871 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8872 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8873 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8874
b4dabbb4
RH
8875 * sysdeps/generic/math_private.h: Include <fenv.h>.
8876 (default_libc_feholdexcept): New.
8877 (default_libc_feholdexcept_setround): New.
8878 (default_libc_fesetenv, default_libc_feupdateenv): New.
8879 (libc_feholdexcept): Only define if undefined.
8880 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8881 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8882 (libc_feholdexcept_setroundl): Likewise.
8883 (libc_feholdexcept_setround_53bit): Likewise.
8884 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8885 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8886 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8887 (libc_feupdateenv_53bit): Likewise.
8888 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8889 (libc_feholdexcept): Convert from macro to inline function.
8890 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8891 (libc_fesetenv, libc_feupdateenv): Likewise.
8892
4851a949
RH
8893 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8894 not previously defined.
8895 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8896 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8897 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8898 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8899 * sysdeps/ieee754/flt-32/math_private.h: New file.
8900 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8901 math_private.h below SET_FLOAT_WORD.
8902 (__isnan, __isinf_ns, __finite): Remove.
8903 (__isnanf, __isinf_nsf, __finitef): Remove.
8904
e79d442e
AS
89052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8906
8907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8908
90b80344
DM
89092012-03-17 David S. Miller <davem@davemloft.net>
8910
8911 [BZ #6471]
8912 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8913 for 2.16.
8914
edc21804
DM
89152012-03-16 David S. Miller <davem@davemloft.net>
8916
77e927af
DM
8917 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8918 warnings.
8919
374976dd
DM
8920 [BZ #6471]
8921 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8922 properly.
8923 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8924 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8925 sysdep_routines when subdir is sysvipc.
8926 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8927 __getshmlba helper.
8928
edc21804
DM
8929 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8930
473c3ef3
L
89312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8932
8933 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8934 [__LP64__].
8935
eb0f39b6
L
89362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8937
8938 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8939 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8940 (__lround): Renamed to ...
8941 (__llround): This. Replace long int with long long int.
8942 Define lround functions as aliases of llround functions.
8943 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8944
6b6cd74b
L
89452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8946
8947 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8948 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8949 adresses to uintptr_t. Replace "long int" and "unsigned long
8950 int" with "greg_t" on va_arg.
8951
f1a77b01
L
89522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8953
8954 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8955 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8956
8957 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8958 Move e_machine check before EI_CLASS check. Handle x32
8959 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8960 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8961 SKIP_EM_IA_64 and include
8962 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8963
8964 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8965 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8966 (add_system_dir): New macro.
8967
8968 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8969 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8970
11b90b9f
JM
89712012-03-16 Joseph Myers <joseph@codesourcery.com>
8972
c36e1d23
JM
8973 [BZ #2551]
8974 [BZ #2552]
8975 [BZ #2553]
8976 [BZ #2554]
8977 [BZ #2562]
8978 [BZ #2563]
8979 [BZ #2565]
8980 [BZ #2566]
8981 [BZ #2576]
8982 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8983 (y0): Likewise.
8984 * math/w_j0f.c (j0f): Likewise.
8985 (y0f): Likewise.
8986 * math/w_j0l.c (__j0l): Likewise.
8987 (__y0l): Likewise.
8988 * math/w_j1.c (j1): Likewise.
8989 (y1): Likewise.
8990 * math/w_j1f.c (j1f): Likewise.
8991 (y1f): Likewise.
8992 * math/w_j1l.c (__j1l): Likewise.
8993 (__y1l): Likewise.
8994 * math/w_jn.c (jn): Likewise.
8995 (yn): Likewise.
8996 * math/w_jnf.c (jnf): Likewise.
8997 (ynf): Likewise.
8998 * math/w_jnl.c (__jnl): Likewise.
8999 (__ynl): Likewise.
9000 * math/libm-test.inc (j0_test): Add more tests.
9001 (j1_test): Likewise.
9002 (jn_test): Likewise. Add trailing semicolon to existing test.
9003 (y0_test): Likewise.
9004 (y1_test): Likewise.
9005 * sysdeps/i386/fpu/libm-test-ulps: Update.
9006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9007
11b90b9f
JM
9008 [BZ #13851]
9009 [BZ #13854]
9010 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9011 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
9012 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
9013 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
9014 (__tanl): Set errno for infinite argument.
9015 * sysdeps/i386/fpu/mptan.c: Remove.
9016 * sysdeps/i386/fpu/s_tan.S: Likewise.
9017 * sysdeps/i386/fpu/s_tanl.S: Likewise.
9018 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
9019 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
9020 * math/libm-test.inc (tan_test): Add more tests and enable more
9021 tests for double and long double.
9022 * sysdeps/i386/fpu/libm-test-ulps: Update.
9023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9024
6a1bd2a1
JK
90252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9026
9027 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
9028 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
9029
10a803e0
RM
90302012-03-16 Roland McGrath <roland@hack.frob.com>
9031
9032 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
9033 * configure.in: Use it for both main tree and add-ons.
9034 * configure: Regenerated.
9035
f196c7f7
L
90362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9037
9038 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
9039
8848d99d
JM
90402012-03-16 Joseph Myers <joseph@codesourcery.com>
9041
96cbe7f4
JM
9042 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
9043 in comment.
9044
8848d99d
JM
9045 [BZ #13851]
9046 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
9047 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9049 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
9051 infinite argument.
9052 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
9053 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
9054 != 0 for prec == 2.
9055 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
9056 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
9057 * sysdeps/i386/fpu/s_cosl.S: Likewise.
9058 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
9059 * sysdeps/i386/fpu/s_sinl.S: Likewise.
9060 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
9061 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
9062 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
9063 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
9064 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
9065 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
9066 * math/libm-test.inc (cos_test): Add more tests and enable more
9067 tests for long double.
9068 (sin_test): Likewise.
9069 (sincos_test): Likewise.
9070 * sysdeps/i386/fpu/libm-test-ulps: Update.
9071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9072
dd7f4703
DM
90732012-03-16 David S. Miller <davem@davemloft.net>
9074
9075 * sysdeps/sparc/fpu/math_private.h: New file.
9076
006f1daa
DM
90772012-03-15 David S. Miller <davem@davemloft.net>
9078
c0c83bc8
DM
9079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
9080 file.
e6a62e18 9081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
9083 file.
e6a62e18
DM
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9090 sysdep routines.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9092
88cb87d9
DM
9093 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9094 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9095
006f1daa 9096 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9098 sparc-ifunc.h
006f1daa 9099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9101 Likewise.
9102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9103 Likewise.
006f1daa
DM
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9108 Likewise.
006f1daa
DM
9109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9114 Likewise.
9115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9116 Likewise.
006f1daa
DM
9117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9136 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9141
11e0098e
AS
91422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9143
9144 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9145 scaling.
9146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9147
e85b09d0
AJ
91482012-03-15 Andreas Jaeger <aj@suse.de>
9149
9150 [BZ #13852]
9151 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9152 ieee754/flt-32 implementation for sin, cos and sincos.
9153 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9154 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9155 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9156 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9157 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9158 ieee754/flt-32 implementation for tan.
9159
9160 * math/libm-test.inc (cos_test): Enable some large input tests for
9161 float as well
9162 (sin_test): Likewise.
9163 (sincos_test): Likewise.
9164 (tan_test): Add tests for large input.
9165
9166 * sysdeps/i386/fpu/libm-test-ulps: Update.
9167
81c64153
AJ
91682012-03-15 Andreas Jaeger <aj@suse.de>
9169
9170 [BZ #13658]
9171 * math/libm-test.inc (cos_test): Add more test cases.
9172 (sin_test): Likewise.
9173 (sincos_test): Likewise.
9174
7bbfa5c6
AJ
91752012-03-15 Andreas Jaeger <aj@suse.de>
9176
9177 [BZ #13837]
9178 * math/libm-test.inc (cos_test): Add a test case for large input
9179 value.
9180 (sin_test): Likewise.
9181 (sincos_test): Likewise.
9182
91832012-03-15 Andreas Jaeger <aj@suse.de>,
9184 Joseph Myers <joseph@codesourcery.com>
9185
9186 [BZ #13658]
0671f479 9187 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9188 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9189 * sysdeps/i386/fpu/branred.c: Likewise.
9190 * sysdeps/i386/fpu/dosincos.c: Likewise.
9191 * sysdeps/i386/fpu/mpa.c: Likewise.
9192 * sysdeps/i386/fpu/s_cos.S: Likewise.
9193 * sysdeps/i386/fpu/s_sin.S: Likewise.
9194 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9195 * sysdeps/i386/fpu/sincos32.c: Likewise.
9196
9197 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9198 Define.
9199 (libc_feupdateenv_53bit): Define.
9200 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9201 Define.
9202 (libc_feupdateenv_53bit): Define.
9203
9204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9205 53 bit (without extend i386 double precision).
9206
9207 * math/libm-test.inc (sincos_test): Add tests for large input.
9208 (sin): Likewise.
9209 (cos): Likewise.
9210
9211 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9212
9cad04ea
AS
92132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9214
9215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9216
f7062b9a
DM
92172012-03-15 David S. Miller <davem@davemloft.net>
9218
9219 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9220 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9221 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9222 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9235 file.
f7062b9a 9236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9238 file.
f7062b9a 9239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9241 file.
f7062b9a 9242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9244 file.
f7062b9a
DM
9245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9247 fmin/fmax sysdep routines.
9248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9249
7bd951ff
DM
92502012-03-14 David S. Miller <davem@davemloft.net>
9251
559398ab
DM
9252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9279 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9280 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9281 routines.
9282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9283 file.
559398ab 9284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9286 file.
559398ab 9287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9289 file.
559398ab 9290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9292 file.
559398ab 9293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9295 file.
559398ab 9296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9298 file.
9299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9300 file.
9301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9302 file.
9303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9304 file.
9305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9306 New file.
9307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9308 file.
9309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9310 file.
559398ab 9311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9313 file.
559398ab 9314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9316 file.
559398ab 9317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9319 file.
559398ab 9320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9322 VIS3 routines.
559398ab
DM
9323
9324 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9325 New file.
9326
5a1c1e32
DM
9327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9328
eae47a36
DM
9329 * sysdeps/sparc/configure.in: New file.
9330 * sysdeps/sparc/configure: Generate.
9331 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9332 * configure: Regenerate.
9333 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9334 * config.make.in (have-as-vis3): New.
9335 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9336 available use -Av9d instead of -Av9a.
9337 * sysdeps/sparc/sparc64/Makefile: Likewise.
9338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9340 New file.
9341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9342 file.
9343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9344 New file.
9345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9346 file.
eae47a36
DM
9347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9351 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9352
c0c83bc8
DM
9353 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9354 fzeros/fnegs to load 0x80000000 into a float register instead of
9355 using the stack.
7bd951ff
DM
9356 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9357
bd951ccb
JM
93582012-03-14 Joseph Myers <joseph@codesourcery.com>
9359
9360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9361 bits/syscall.h.
9362 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9363 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9364 ($(inst_includedir)/bits/syscall.h): Remove rule.
9365 ($(objpfx)bits/syscall.d): Include instead of
9366 $(objpfx)syscall-list.d.
9367 (generated): Change syscall-list.h and syscall-list.d to
9368 bits/syscall.h and bits/syscall.d.
9369
bb4e6db2
RM
93702012-03-14 Roland McGrath <roland@hack.frob.com>
9371
9372 [BZ #13846]
9373 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9374
aa4a2ae1
JM
93752012-03-14 Joseph Myers <joseph@codesourcery.com>
9376
e456826d
JM
9377 [BZ #13841]
9378 * math/s_csqrt.c: Include <float.h>.
9379 (__csqrt): Scale large or subnormal inputs.
9380 * math/s_csqrtf.c: Likewise.
9381 * math/s_csqrtl.c: Likewise.
9382 * math/libm-test.inc (csqrt_test): Add more tests.
9383 * sysdeps/i386/fpu/libm-test-ulps: Update.
9384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9385
aa4a2ae1
JM
9386 [BZ #13840]
9387 * math/libm-test.inc (hypot_test): Add more tests.
9388
7c10fd35
DM
93892012-03-13 David S. Miller <davem@davemloft.net>
9390
9391 [BZ #13840]
9392 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9393 double-precision for the calculation instead of scaling.
9394
f453b98b
JM
93952012-03-13 Joseph Myers <joseph@codesourcery.com>
9396
9397 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9398 manipulate bits before adding and subtracting TWO52[sx].
9399 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9400 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9401 Likewise.
9402 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9403
09a3453f
DM
94042012-03-13 David S. Miller <davem@davemloft.net>
9405
8e59da90
DM
9406 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9407 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9409 rtld-global-offsets.h
9410 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9411
2a8ab7f2
DM
9412 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9413 large parameters.
9414
10f62770
DM
9415 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9416
5f0bdb18
DM
9417 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9418 'err' in the ifdef scope in which it is actually used.
9419
09a3453f
DM
9420 * nss/nss_db/db-init.c: Include string.h
9421
b4b2eb5e
DM
94222012-03-12 David S. Miller <davem@davemloft.net>
9423
98bb2f1c
DM
9424 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9425 masking out of the most significant byte of random value used.
9426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9427 Fix coding style in previous change.
9428
b4b2eb5e
DM
9429 * sysdeps/unix/sysv/linux/kernel-features.h
9430 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9431 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9432 expression.
9433 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9434 later.
9435
6e226b09
DM
94362012-03-11 David S. Miller <davem@davemloft.net>
9437
a1bcbd40
DM
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9439 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9440 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9441 for 'resultvar' otherwise things get truncated on 64-bit.
9442
cb9d6174
DM
9443 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9444 Fix masking out of the most significant byte of random value used.
9445
6e226b09
DM
9446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9447
058c132d
AS
94482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9449
9450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9451
2d2cd515
DM
94522012-03-09 David S. Miller <davem@davemloft.net>
9453
9454 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9455 variables with appropriate CPP guards.
9456 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9457 frame pointer, not the stack pointer. Correct layout comments. Fix test
9458 on resulting framesize and the management of the outregs buffer for pltexit.
9459 Preserve floating point return values across _dl_call_pltexit call.
9460 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9461 framesize and the management of the outregs buffer for pltexit.
9462 Preserve floating point return values across _dl_call_pltexit
9463 call.
9464 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9465 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9466 (print_exit): Fix format string for return register value.
9467
9a07f9d0
JM
94682012-03-10 Joseph Myers <joseph@codesourcery.com>
9469
9470 * sunrpc/Makefile (others): Add rpcgen.
9471 ($(objpfx)rpcgen): Remove special build rule and dependency on
9472 libc.
9473 * sunrpc/rpcgen.c: New file.
9474
547b5e30
PE
94752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9476
c524201a
PE
9477 [BZ #13673]
9478 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9479 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9480 * sysdeps/i386/crti.S: Likewise.
9481 * sysdeps/i386/crtn.S: Likewise.
9482 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9483 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9484 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9485 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9486 * sysdeps/sh/crti.S: Likewise.
9487 * sysdeps/sh/crtn.S: Likewise.
9488 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9489
7b6235f2
PE
9490 [BZ #13673]
9491 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9492 with URL.
9493 * locale/programs/locfile-kw.gperf: Likewise.
9494 * locale/programs/charmap-kw.h: Regenerated.
9495 * locale/programs/locfile-kw.h: Likewise.
9496
547b5e30
PE
9497 [BZ #13673]
9498 * intl/plural.y: Replace FSF snail mail address with URL.
9499 * intl/plural.c: Regenerated.
9500
5f0a5dae
RH
95012012-03-09 Richard Henderson <rth@twiddle.net>
9502
9503 * include/math_private.h: Remove file.
9504 * math/math_private.h: Move file ...
9505 * sysdeps/generic/math_private.h: ... here.
9506
b8c03620
RH
9507 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9508 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9509 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9510
4e234f5d 9511 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9512 and <math_private.h>.
9513 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9514 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9515 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9516 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9517 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9518 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9521 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9522 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9524 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9525 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9527 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9528 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9529 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9530 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9531 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9532 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9534 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9535 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9538 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9539 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9543 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9545 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9546 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9547 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9548 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9550 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9551 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9552 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9553 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9554 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9555 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9556 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9557 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9560 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9570 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9571 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9577 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9601 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9602 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9603 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9604 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9606 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9607 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9608 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9609 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9610 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9611 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9612 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9613 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9614 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9615 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9616 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9617 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9618 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9619 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9620 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9621 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9622 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9623 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9624 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9625 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9626 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9627 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9628 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9629 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9630 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9631 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9632 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9633 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9634 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9635 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9636 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9637 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9639 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9640 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9641 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9642 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9643 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9644 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9645 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9646 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9647 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9648 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9649 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9650 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9651 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9652 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9653 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9654 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9655 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9656 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9657 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9658 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9659 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9660 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9661 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9662 * sysdeps/ieee754/k_standard.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9698 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9706 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9764 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9765 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9782 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9783 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9785 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9786 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9790 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9795 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9796 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9802 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9808 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9809 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9811 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9812 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9813 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9819 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9820 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9823 * sysdeps/ieee754/s_lib_version.c: Likewise.
9824 * sysdeps/ieee754/s_matherr.c: Likewise.
9825 * sysdeps/ieee754/s_signgam.c: Likewise.
9826 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9827 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9828 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9829 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9830 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9831 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9832 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9833 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9834 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9835 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9836 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9837 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9838 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9839 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9840 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9841 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9843 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9844 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9847
1991fa03
JM
98482012-03-09 Joseph Myers <joseph@codesourcery.com>
9849
9850 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9851 * sunrpc/rpc_main.c: Likewise.
9852 * sunrpc/rpc_svcout.c: Likewise.
9853
60d6f5a6
DM
98542012-03-09 David S. Miller <davem@davemloft.net>
9855
9856 * include/math_private.h: New file.
9857
4962050e
JM
98582012-03-09 Joseph Myers <joseph@codesourcery.com>
9859
02a6f887
JM
9860 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9861 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9862 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9863 from <bits/socket_type.h>.
9864 (enum __socket_type): Don't define here.
9865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9867 bits/socket_type.h.
9868
c6e013c1
JM
9869 [BZ #13566]
9870 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9871 checking __USE_GNU.
9872
4962050e
JM
9873 * Makerules ($(inst_includedir)/%.h): New rule.
9874 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9875 (install-others): Remove variable setting.
9876 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9877
38842f45
RH
98782012-03-08 Richard Henderson <rth@twiddle.net>
9879
67bb6da6
RH
9880 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9881 from macro to inline function; merge with the
9882 !__LIBC_INTERNAL_MATH_INLINES version.
9883 (__ieee754_sqrtf): Likewise.
9884
15194b4b
RH
9885 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9886 to inline function.
9887 (__rintf, __floor, __floorf): Likewise.
9888
64e21ede
RH
9889 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9890 macro to inline function.
9891 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9892
38842f45
RH
9893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9894 not <math/math_private.h>.
9895
c64bf5fe
DM
98962012-03-08 David S. Miller <davem@davemloft.net>
9897
9898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9899 copyright year.
9900 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9901
82d86f28
TS
99022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9903
9904 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9905 normalization.
9906 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9907 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9908
aea5d727
UD
99092012-03-08 Ulrich Drepper <drepper@gmail.com>
9910
9911 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9912 be defined individually, they must be defined as a block. Define
9913 S for printing a string instead of hidint the different by using a
9914 macro for adding the 'l'.
9915 * stdio-common/tst-fphex-wide.c: Adjust.
9916
70bca0a3
MP
99172012-03-07 Marek Polacek <polacek@redhat.com>
9918
9919 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9920
65b81130
MP
99212012-03-08 Marek Polacek <polacek@redhat.com>
9922
9923 [BZ #13806]
9924 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9925 * stdio-common/tst-fphex.c: Define a few macros to make the
9926 test reusable. Use them.
9927 * stdio-common/tst-fphex-wide.c: New file.
9928
07037eeb
JM
99292012-03-08 Joseph Myers <joseph@codesourcery.com>
9930
a7a93d50
JM
9931 [BZ #6911]
9932 * manual/macros.texi (gnusystems): New macro.
9933 (nongnusystems): Likewise.
9934 (gnulinuxhurdsystems): Likewise.
9935 (gnuhurdsystems): Likewise..
9936 (gnulinuxsystems): Likewise.
9937 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9938 variants of the GNU system, not "GNU system".
9939 * manual/conf.texi: Likewise.
9940 * manual/errno.texi: Likewise. Update example of errno macro
9941 expansion.
9942 * manual/filesys.texi: Likewise.
9943 (getumask): Document as specific to GNU/Hurd.
9944 * manual/install.texi: Likewise. Reword some references to
9945 GNU/Linux.
9946 * manual/intro.texi: Likewise.
9947 * manual/io.texi: Likewise.
9948 (File Name Portability): Detail which constraints are inapplicable
9949 to all GNU systems and which are only inapplicable to GNU/Hurd.
9950 * manual/job.texi: Likewise.
9951 * manual/llio.texi: Likewise.
9952 (O_NOCTTY): Document as present on GNU/Linux.
9953 * manual/maint.texi: Likewise.
9954 * manual/memory.texi: Likewise.
9955 * manual/pattern.texi: Likewise.
9956 * manual/pipe.texi: Likewise.
9957 * manual/process.texi: Likewise.
9958 * manual/resource.texi: Likewise.
9959 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9960 child on GNU/Hurd.
9961 * manual/setjmp.texi: Likewise.
9962 * manual/signal.texi: Likewise.
9963 * manual/startup.texi: Likewise.
9964 * manual/stdio.texi: Likewise.
9965 * manual/terminal.texi: Likewise.
9966 (ONLCR): Document as POSIX.
9967 (OXTABS): Document availability on GNU/Linux as XTABS.
9968 (ONOEOT): Document availability separately from other bits.
9969 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9970 * manual/time.texi: Likewise.
9971 * manual/users.texi: Likewise.
9972 * INSTALL: Regenerated.
9973 * sysdeps/gnu/errlist.c: Regenerated.
9974
07037eeb
JM
9975 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9976 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9977 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9978 puts.
9979 * configure: Regenerated.
9980
d1d3431a
JM
99812012-03-07 Joseph Myers <joseph@codesourcery.com>
9982
af6a1e37
JM
9983 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9984 default includes instead of AC_HEADER_CHECK.
9985 * sysdeps/i386/configure: Regenerated.
9986
d1d3431a
JM
9987 [BZ #10716]
9988 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9989 * math/s_cacoshf.c (__cacoshf): Likewise.
9990 * math/s_cacoshl.c (__cacoshl): Likewise.
9991 * math/s_casinh.c (__casinh): Set signs of result from argument.
9992 * math/s_casinhf.c (__casinhf): Likewise.
9993 * math/s_casinhl.c (__casinhl): Likewise.
9994 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9995 (casinh_test): Add more tests.
9996 * sysdeps/i386/fpu/libm-test-ulps: Update.
9997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9998
482ff4da
UD
99992012-03-07 Ulrich Drepper <drepper@gmail.com>
10000
872fda05
UD
10001 * po/zh_TW.po: Update from translation team.
10002
a4300c7a
UD
10003 * login/Makefile (distribute): Remove variable.
10004 * catgets/Makefile: Likewise.
10005 * mach/Makefile: Likewise.
10006 * malloc/Makefile: Likewise.
10007 * misc/Makefile: Likewise.
10008 * iconv/Makefile: Likewise.
10009 * nscd/Makefile: Likewise.
10010 * hurd/Makefile: Likewise.
10011 * manual/Makefile: Likewise.
10012 * locale/Makefile: Likewise.
10013 * intl/Makefile: Likewise.
10014 * conform/Makefile: Likewise.
10015 * nss/Makefile: Likewise.
10016 * time/Makefile: Likewise.
10017 * soft-fp/Makefile: Likewise.
10018 * dirent/Makefile: Likewise.
10019 * gmon/Makefile: Likewise.
10020 * po/Makefile: Likewise.
10021 * rt/Makefile: Likewise.
10022 * socket/Makefile: Likewise.
10023 * math/Makefile: Likewise.
10024 * signal/Makefile: Likewise.
10025 * debug/Makefile: Likewise.
10026 * elf/Makefile: Likewise.
10027 * timezone/Makefile: Likewise.
10028 * stdlib/Makefile: Likewise.
10029 * iconvdata/Makefile: Likewise.
10030 * sunrpc/Makefile: Likewise.
10031 * io/Makefile: Likewise.
10032 * argp/Makefile: Likewise.
10033 * inet/Makefile: Likewise.
10034 * hesiod/Makefile: Likewise.
10035 * grp/Makefile: Likewise.
10036 * csu/Makefile: Likewise.
10037 * wctype/Makefile: Likewise.
10038 * crypt/Makefile: Likewise.
10039 * libio/Makefile: Likewise.
10040 * string/Makefile: Likewise.
10041 * nis/Makefile: Likewise.
10042 * resolv/Makefile: Likewise.
10043 * stdio-common/Makefile: Likewise.
10044 * wcsmbs/Makefile: Likewise.
10045 * dlfcn/Makefile: Likewise.
10046 * posix/Makefile: Likewise.
10047
3b7c4e74 10048 [BZ #6959]
482ff4da
UD
10049 * timezone/Makefile: Don't install timezone files, just the programs
10050 and scripts.
10051
f72ed77d
UD
100522012-03-06 Ulrich Drepper <drepper@gmail.com>
10053
a000466f
UD
10054 * nss/databases.def: Add missing gshadow entry.
10055
f72ed77d
UD
10056 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
10057
a53b7a4e
MP
100582012-03-06 Marek Polacek <polacek@redhat.com>
10059
10060 [BZ #13726]
10061 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
10062 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10063 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
10064 * stdio-common/tst-long-dbl-fphex.c: New file.
10065
e9258400
DM
100662012-03-06 David S. Miller <davem@davemloft.net>
10067
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10069 (set_obp_int): New function.
10070 (get_obp_int): New function.
10071 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
10072 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
10073 Avoid unused variable warnings on 'val' and use builtin_expect.
10074 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
10075 __builtin_expect.
e9258400
DM
10076 (INLINE_CLONE_SYSCALL): Likewise.
10077
3bd2c723
DM
100782012-03-05 David S. Miller <davem@davemloft.net>
10079
10080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10081
bbb78d03
AS
100822012-03-05 Andreas Schwab <schwab@linux-m68k.org>
10083
884c5db4
AS
10084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10085
bbb78d03
AS
10086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10087 only for |x| >= 40.
10088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10089
1c9f702a 100902012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10091
10092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10093 Replace gettimeofday with __vdso_gettimeofday.
10094
7be16f82
RM
10095 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10096 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10097 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10098
10099 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10100 time with __vdso_time.
10101
ed58a00f
JM
101022012-03-05 Joseph Myers <joseph@codesourcery.com>
10103
10104 * manual/lang.texi (size_t): Note types to which size_t may be
10105 equivalent with the GNU C Library, but do not describe when
10106 differences between them are significant.
10107
30ee4ced
AJ
101082012-03-05 Andreas Jaeger <aj@suse.de>
10109
10110 * sysdeps/i386/fpu/libm-test-ulps: Update.
10111
b7cd39e8
JM
101122012-03-05 Joseph Myers <joseph@codesourcery.com>
10113
10114 [BZ #3976]
10115 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10116 (__ieee754_pow): Save and restore rounding mode and use
10117 round-to-nearest for main computations.
10118 * math/libm-test.inc (pow_test_tonearest): New function.
10119 (pow_test_towardzero): Likewise.
10120 (pow_test_downward): Likewise.
10121 (pow_test_upward): Likewise.
10122 (main): Call the new functions.
10123 * sysdeps/i386/fpu/libm-test-ulps: Update.
10124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10125
10126 [BZ #3976]
10127 * math/libm-test.inc (cosh_test_tonearest): New function.
10128 (cosh_test_towardzero): Likewise.
10129 (cosh_test_downward): Likewise.
10130 (cosh_test_upward): Likewise.
10131 (sinh_test_tonearest): Likewise.
10132 (sinh_test_towardzero): Likewise.
10133 (sinh_test_downward): Likewise.
10134 (sinh_test_upward): Likewise.
10135 (main): Call the new functions.
10136 * sysdeps/i386/fpu/libm-test-ulps: Update.
10137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10138
6c6a98c9
TV
101392012-03-05 Tom de Vries <tom@codesourcery.com>
10140
10141 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10142 default stack guard is set in last bytes.
10143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10144
21bb2d2e 101452012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10146
21bb2d2e 10147 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10148
21bb2d2e
AJ
10149 [BZ #13656]
10150 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10151 possibly allocate from heap instead of stack.
10152 * stdio-common/bug-vfprintf-nargs.c: New file.
10153 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10154
c6922934
AS
101552012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10156
10157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10158
bc957d53
MP
101592012-03-03 Marek Polacek <polacek@redhat.com>
10160
10161 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10162 * math/math_private.h: Likewise.
10163 * stdlib/tst-strtod.c: Likewise.
10164 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10165 * sysdeps/x86_64/bits/atomic.h: Likewise.
10166
6358490d
DM
101672012-03-02 David S. Miller <davem@davemloft.net>
10168
10169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10173 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10174 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10175 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10176 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10177
01ae168d
RM
101782012-03-02 Roland McGrath <roland@hack.frob.com>
10179
d9a17c07
RM
10180 [BZ #13792]
10181 * manual/examples/README: New file, says the example source files
10182 can be used under GPL>=2.
10183 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10184 line containing just "*/".
10185 * manual/examples/add.c: Add copyright header (GPL>=2).
10186 * manual/examples/argp-ex1.c: Likewise.
10187 * manual/examples/argp-ex2.c: Likewise.
10188 * manual/examples/argp-ex3.c: Likewise.
10189 * manual/examples/argp-ex4.c: Likewise.
10190 * manual/examples/atexit.c: Likewise.
10191 * manual/examples/db.c: Likewise.
10192 * manual/examples/dir.c: Likewise.
10193 * manual/examples/dir2.c: Likewise.
10194 * manual/examples/execinfo.c: Likewise.
10195 * manual/examples/filecli.c: Likewise.
10196 * manual/examples/filesrv.c: Likewise.
10197 * manual/examples/fmtmsgexpl.c: Likewise.
10198 * manual/examples/genpass.c: Likewise.
10199 * manual/examples/inetcli.c: Likewise.
10200 * manual/examples/inetsrv.c: Likewise.
10201 * manual/examples/isockad.c: Likewise.
10202 * manual/examples/longopt.c: Likewise.
10203 * manual/examples/memopen.c: Likewise.
10204 * manual/examples/memstrm.c: Likewise.
10205 * manual/examples/mkfsock.c: Likewise.
10206 * manual/examples/mkisock.c: Likewise.
10207 * manual/examples/mygetpass.c: Likewise.
10208 * manual/examples/pipe.c: Likewise.
10209 * manual/examples/popen.c: Likewise.
10210 * manual/examples/rprintf.c: Likewise.
10211 * manual/examples/search.c: Likewise.
10212 * manual/examples/select.c: Likewise.
10213 * manual/examples/setjmp.c: Likewise.
10214 * manual/examples/sigh1.c: Likewise.
10215 * manual/examples/sigusr.c: Likewise.
10216 * manual/examples/stpcpy.c: Likewise.
10217 * manual/examples/strdupa.c: Likewise.
10218 * manual/examples/strftim.c: Likewise.
10219 * manual/examples/strncat.c: Likewise.
10220 * manual/examples/subopt.c: Likewise.
10221 * manual/examples/swapcontext.c: Likewise.
10222 * manual/examples/termios.c: Likewise.
10223 * manual/examples/testopt.c: Likewise.
10224 * manual/examples/testpass.c: Likewise.
10225 * manual/examples/timeval_subtract.c: Likewise.
10226
01ae168d
RM
10227 [BZ #13792]
10228 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10229 function to ...
10230 * manual/timeval_subtract.c.texi: ... here, new file.
10231
49efa33d
DM
102322012-03-02 David S. Miller <davem@davemloft.net>
10233
10234 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10235
28afd92d
JM
102362012-03-02 Joseph Myers <joseph@codesourcery.com>
10237
804360ed
JM
10238 [BZ #3976]
10239 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10240 (__sin): Save and restore rounding mode and use round-to-nearest
10241 for all computations.
10242 (__cos): Save and restore rounding mode and use round-to-nearest
10243 for all computations.
10244 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10245 <fenv.h>.
10246 (tan): Save and restore rounding mode and use round-to-nearest for
10247 all computations.
10248 * math/libm-test.inc (cos_test_tonearest): New function.
10249 (cos_test_towardzero): Likewise.
10250 (cos_test_downward): Likewise.
10251 (cos_test_upward): Likewise.
10252 (sin_test_tonearest): Likewise.
10253 (sin_test_towardzero): Likewise.
10254 (sin_test_downward): Likewise.
10255 (sin_test_upward): Likewise.
10256 (tan_test_tonearest): Likewise.
10257 (tan_test_towardzero): Likewise.
10258 (tan_test_downward): Likewise.
10259 (tan_test_upward): Likewise.
10260 (main): Call the new functions.
10261 * sysdeps/i386/fpu/libm-test-ulps: Update.
10262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10263
a6d06d7b
JM
10264 [BZ #10135]
10265 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10266 small n, then large n, before computing and testing k+n.
10267 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10269 Likewise.
10270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10271 Likewise.
10272 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10273 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10274 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10275 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10280 * math/libm-test.inc (scalbn_test): Add more tests.
10281 (scalbln_test): Likewise.
10282
07e12bb3
JM
10283 * manual/filesys.texi (mode_t): Describe constraints on size and
10284 signedness, not exact equivalence to a particular type.
10285 (ino_t): Likewise.
10286 (ino64_t): Likewise.
10287 (dev_t): Likewise.
10288 (nlink_t): Likewise.
10289 (blkcnt_t): Likewise.
10290 (blkcnt64_t): Likewise.
10291 * manual/llio.texi (off_t): Likewise.
10292
28afd92d
JM
10293 [BZ #3976]
10294 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10295 (__ieee754_exp): Save and restore rounding mode and use
10296 round-to-nearest for all computations.
10297 * math/libm-test.inc (exp_test_tonearest): New function.
10298 (exp_test_towardzero): Likewise.
10299 (exp_test_downward): Likewise.
10300 (exp_test_upward): Likewise.
10301 (main): Call the new functions.
10302 * sysdeps/i386/fpu/libm-test-ulps: Update.
10303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10304
b1eeb65d
CD
103052012-03-01 Chris Demetriou <cgd@google.com>
10306
10307 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10308 have predictable order.
10309
53362a4b
DM
103102012-03-01 David S. Miller <davem@davemloft.net>
10311
3c969083
DM
10312 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10313
759707de
DM
10314 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10315 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10316 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10317 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10318
dfdb8ff2
DM
10319 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10320 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10321 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10323 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10324 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10325 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10326 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10327 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10328
ead89f96
DM
10329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10330
7f66bd07
DM
10331 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10332 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10333 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10334
53362a4b
DM
10335 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10336 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10337 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10338 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10339 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10342 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10343 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10344 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10345 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10351 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10352 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10353 * sysdeps/sparc/elf/configure: Regenerated.
10354
7b1902cb
JM
103552012-03-01 Joseph Myers <joseph@codesourcery.com>
10356
bec039bc
JM
10357 * configure.in (AS, LD): Require binutils 2.20 or later.
10358 * configure: Regenerated.
10359 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10360 as required minimum version.
10361 * INSTALL: Regenerated.
10362
7b1902cb
JM
10363 [BZ #2541]
10364 [BZ #4108]
10365 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10366 before squaring exponent.
10367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10368 bottom long double and 27 bits of top long double before squaring
10369 exponent.
10370 * math/libm-test.inc (erfc_test): Add more tests.
10371 * sysdeps/i386/fpu/libm-test-ulps: Update.
10372 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10374
f775c276
KT
103752012-03-01 Kai Tietz <ktietz@redhat.com>
10376
10377 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10378 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10379 containing bit-fields.
10380 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10381 * soft-fp/single.h (_FP_UNION_S): Likewise.
10382 * soft-fp/double.h (_FP_UNION_D): Likewise.
10383
5b8a4d4a
JM
103842012-02-29 Joseph Myers <joseph@codesourcery.com>
10385
0bab47b6
JM
10386 [BZ #13786]
10387 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10388 not include ../strcmp.S.
10389 [USE_AS_STRNCASECMP_L]: Likewise.
10390 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10391 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10392 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10393 (__strncasecmp_l_ia32): Define as alias to
10394 __strncasecmp_l_nonascii.
10395
0fcad3e2
JM
10396 [BZ #5794]
10397 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10398 * sysdeps/i386/fpu/libm-test-ulps: Update.
10399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10400
5b8a4d4a
JM
10401 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10403
8fdceb2e
JL
104042012-02-29 Jeff Law <law@redhat.com>
10405
10406 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10407 out of bounds read.
10408
1f393a11
MP
104092012-02-29 Marek Polacek <polacek@redhat.com>
10410
10411 [BZ #13706]
10412 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10413 * elf/Makefile: Add rules to run tst-unused-dep.out.
10414
8847f037
DM
104152012-02-28 David S. Miller <davem@davemloft.net>
10416
10417 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10418 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10421 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10422 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10423
169d7f11
JM
104242012-02-29 Joseph Myers <joseph@codesourcery.com>
10425
10426 * math/libm-test.inc (llround_test): Move one test from
10427 lround_test. Use TEST_f_L in moved test.
10428 (lround_test): Move misplaced test to llround_test. Add testcase
10429 from bug 2561.
10430
39adf059
UD
104312012-02-28 Ulrich Drepper <drepper@gmail.com>
10432
10433 * sysdeps/x86_64/fpu/e_expf.S: New file.
10434 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10435
71b5d1c5
SB
104362012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10437
10438 [BZ #13637]
10439 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10440 of remain_len that may cause incomplete multi-byte character and
10441 false match.
10442 * posix/bug-regex33.c: New file.
10443 * posix/Makefile (tests): Add bug-regex33.
10444
1f77f049
JM
104452012-02-28 Joseph Myers <joseph@codesourcery.com>
10446
10447 * manual/macros.texi: New file.
10448 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10449 * manual/libc.texinfo: Include macros.texi.
10450 * manual/creatute.texi: Likewise.
10451 * manual/install.texi: Likewise.
10452 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10453 @glibcadj{} in references to the GNU C Library.
10454 * manual/charset.texi: Likewise.
10455 * manual/conf.texi: Likewise.
10456 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10457 when not using those macros.
10458 * manual/creature.texi: Likewise.
10459 * manual/crypt.texi: Likewise.
10460 * manual/errno.texi: Likewise.
10461 * manual/filesys.texi: Likewise.
10462 * manual/header.texi: Likewise.
10463 * manual/install.texi: Likewise.
10464 * manual/intro.texi: Likewise.
10465 * manual/io.texi: Likewise.
10466 * manual/job.texi: Likewise.
10467 * manual/lang.texi: Likewise.
10468 * manual/libc.texiinfo: Likewise.
10469 * manual/llio.texi: Likewise.
10470 * manual/locale.texi: Likewise.
10471 * manual/maint.texi: Likewise.
10472 * manual/math.texi: Likewise.
10473 * manual/memory.texi: Likewise.
10474 * manual/message.texi: Likewise.
10475 * manual/nss.texi: Likewise.
10476 * manual/pattern.texi: Likewise.
10477 * manual/process.texi: Likewise.
10478 * manual/resource.texi: Likewise.
10479 * manual/search.texi: Likewise.
10480 * manual/setjmp.texi: Likewise.
10481 * manual/signal.texi: Likewise.
10482 * manual/socket.texi: Likewise.
10483 * manual/startup.texi: Likewise.
10484 * manual/stdio.texi: Likewise.
10485 * manual/string.texi: Likewise.
10486 * manual/sysinfo.texi: Likewise.
10487 * manual/syslog.texi: Likewise.
10488 * manual/terminal.texi: Likewise.
10489 * manual/time.texi: Likewise.
10490 * manual/users.texi: Likewise.
10491 * INSTALL: Regenerated.
10492 * NOTES: Regenerated.
d40c5d54 10493 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10494
450bf206
AS
104952012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10496
10497 * include/dirent.h: Include <dirstream.h> before
10498 <dirent/dirent.h>.
10499
741a235b
DM
105002012-02-28 David S. Miller <davem@davemloft.net>
10501
10502 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10503 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10504 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10505 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10506
d6b5aa58
DM
105072012-02-27 David S. Miller <davem@davemloft.net>
10508
1aff59a3
DM
10509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10511 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10512 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10513
d6b5aa58
DM
10514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10515 frame pointer instead of stack pointer relative arg slot.
10516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10519
433f48bf
CD
105202012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10521
10522 [BZ #3992]
10523 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10524
d674b76d
DM
105252012-02-27 David S. Miller <davem@davemloft.net>
10526
10527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10531 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10532 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10533 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10534 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10535
0e7727f7
JM
105362012-02-27 Joseph Myers <joseph@codesourcery.com>
10537
10538 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10539 later. Allow versions 5-9.
43be4ca2 10540 * configure: Regenerated.
0e7727f7
JM
10541 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10542 required minimum version and 4.6 as recommended version. Do not
10543 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10544 * INSTALL: Regenerated.
0e7727f7 10545
a78bc654
DM
105462012-02-27 David S. Miller <davem@davemloft.net>
10547
428d5830
DM
10548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10552 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10553 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10554 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10555 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10556
a78bc654
DM
10557 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10558 manipulate bits before adding and subtracting TWO112[sx].
10559 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10560
4579f81c
RM
105612012-02-27 Roland McGrath <roland@hack.frob.com>
10562
36c8acb4
RM
10563 [BZ #13775]
10564 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10565 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10566 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10567 being in POSIX, because they are in 1003.1-2008.
10568
84ad622b
RM
10569 * rt/tst-aio.c: Include <fcntl.h>.
10570 * rt/tst-aio7.c: Likewise.
10571 * rt/tst-aio64.c: Likewise.
10572
4579f81c
RM
10573 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10574
abd923db
JM
105752012-02-27 Joseph Myers <joseph@codesourcery.com>
10576
10577 * manual/install.texi (--with-headers): Describe headers as
10578 interface headers, not private headers.
10579 (Specific advice for GNU/Linux systems): Describe use of headers
10580 from "make headers_install", not private headers from older
10581 kernels.
43be4ca2 10582 * INSTALL: Regenerated.
abd923db
JM
10583 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10584 Change to 2.6.19.
10585 * sysdeps/unix/sysv/linux/configure: Regenerated.
10586
6664049b
JM
10587 * manual/llio.texi (fclean): Remove documentation.
10588
bb8b6697
JM
10589 * manual/Makefile (libc-texi-generated): New variable. Include
10590 version.texi.
10591 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10592 $(libc-texi-generated), not duplicated list of files.
10593 (version.texi, stamp-version): New rules.
10594 (realclean): Remove $(libc-texi-generated), not individual files
10595 from that list. Do not remove dir-add.texinfo.
10596 * manual/libc.texinfo: Comment out uses of edition numbers and
10597 references to printed manual. Remove last-updated dates.
10598 (EDITION): Comment out.
10599 (ISBN): Likewise.
10600 (VERSION, UPDATED): Remove.
10601 (version.texi): Include.
10602
12e5c3b9
AS
106032012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10604
10605 * sysdeps/posix/spawni.c: Include <signal.h>.
10606 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10607 * sysdeps/pthread/aio_fsync.c: Likewise.
10608
4efeffc1 106092012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10610
ba63ba08
UD
10611 * conform/Makefile (tests): Run only when not cross-compiling and
10612 when fast-check is not defined.
10613
d94a4670
UD
10614 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10615 * conform/data/limits.h-data: Fixes for POSIX2008.
10616 * conform/run-conformtest.sh: Run all tests.
10617 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10618 headers.
10619 * include/bits/dlfcn.h: Likewise.
10620 * include/langinfo.h: Likewise.
10621 * include/monetary.h: Likewise.
10622 * include/sys/poll.h: Likewise.
10623
10624 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10625 for __USE_GNU.
10626 * posix/spawn.h: Define __need_sigset_t.
10627 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10628 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10629 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10630 to get sigevent_t only.
10631 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10632 only for __USE_GNU.
10633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10634 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10635 process_vm_writev only for __USE_GNU.
10636 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10637
10638 * conform/Makefile: For now ignore errors from run-conformtest.
10639 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10640 POSIX to avoid namespace pollution. Don't prepend headers.
10641 * conform/data/aio.h-data: Fixes for POSIX testing.
10642 * conform/data/fcntl.h-data: Likewise.
10643 * conform/data/glob.h-data: Likewise.
10644 * conform/data/grp.h-data: Likewise.
10645 * conform/data/pthread.h-data: Likewise.
10646 * conform/data/pwd.h-data: Likewise.
10647 * conform/data/signal.h-data: Likewise.
10648 * conform/data/spawn.h-data: Likewise.
10649 * conform/data/stdio.h-data: Likewise.
10650 * conform/data/stdlib.h-data: Likewise.
10651 * conform/data/stropts.h-data: Likewise.
10652 * conform/data/sys/mman.h-data: Likewise.
10653 * conform/data/sys/stat.h-data: Likewise.
10654 * conform/data/sys/types.h-data: Likewise.
10655 * conform/data/sys/wait.h-data: Likewise.
10656 * conform/data/time.h-data: Likewise.
10657 * conform/data/unistd.h-data: Likewise.
10658 * conform/data/utime.h-data: Likewise.
10659
10660 * io/sys/stat.h: fchmod was always in POSIX.
10661 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10662 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10663 * rt/aio.h: Define __need_timespec before including <time.h>.
10664 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10665 struct. Add forward declaration of pthread_attr_t and use it in
10666 sigevent.
10667 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10669 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10670 always remove CLK_TCK definition.
10671
c20105c3
AS
106722012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10673
10674 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10675
7a270350
UD
106762012-02-25 Ulrich Drepper <drepper@gmail.com>
10677
31341567
UD
10678 * conform/run-conformtest.sh: New file.
10679 * conform/Makefile: Run run-conformtest for tests.
10680 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10681 support.
10682
10683 * conform/data/uchar.h-data: New file.
10684 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10685 * conform/data/arpa/inet.h-data: Likewise.
10686 * conform/data/assert.h-data: Likewise.
10687 * conform/data/complex.h-data: Likewise.
10688 * conform/data/cpio.h-data: Likewise.
10689 * conform/data/ctype.h-data: Likewise.
10690 * conform/data/dirent.h-data: Likewise.
10691 * conform/data/dlfcn.h-data: Likewise.
10692 * conform/data/errno.h-data: Likewise.
10693 * conform/data/fcntl.h-data: Likewise.
10694 * conform/data/float.h-data: Likewise.
10695 * conform/data/fmtmsg.h-data: Likewise.
10696 * conform/data/fnmatch.h-data: Likewise.
10697 * conform/data/ftw.h-data: Likewise.
10698 * conform/data/glob.h-data: Likewise.
10699 * conform/data/grp.h-data: Likewise.
10700 * conform/data/iconv.h-data: Likewise.
10701 * conform/data/inttypes.h-data: Likewise.
10702 * conform/data/langinfo.h-data: Likewise.
10703 * conform/data/libgen.h-data: Likewise.
10704 * conform/data/limits.h-data: Likewise.
10705 * conform/data/locale.h-data: Likewise.
10706 * conform/data/math.h-data: Likewise.
10707 * conform/data/monetary.h-data: Likewise.
10708 * conform/data/mqueue.h-data: Likewise.
10709 * conform/data/ndbm.h-data: Likewise.
10710 * conform/data/net/if.h-data: Likewise.
10711 * conform/data/netdb.h-data: Likewise.
10712 * conform/data/netinet/in.h-data: Likewise.
10713 * conform/data/nl_types.h-data: Likewise.
10714 * conform/data/poll.h-data: Likewise.
10715 * conform/data/pthread.h-data: Likewise.
10716 * conform/data/pwd.h-data: Likewise.
10717 * conform/data/regex.h-data: Likewise.
10718 * conform/data/sched.h-data: Likewise.
10719 * conform/data/search.h-data: Likewise.
10720 * conform/data/semaphore.h-data: Likewise.
10721 * conform/data/setjmp.h-data: Likewise.
10722 * conform/data/signal.h-data: Likewise.
10723 * conform/data/spawn.h-data: Likewise.
10724 * conform/data/stdarg.h-data: Likewise.
10725 * conform/data/stdio.h-data: Likewise.
10726 * conform/data/stdlib.h-data: Likewise.
10727 * conform/data/string.h-data: Likewise.
10728 * conform/data/strings.h-data: Likewise.
10729 * conform/data/stropts.h-data: Likewise.
10730 * conform/data/sys/ipc.h-data: Likewise.
10731 * conform/data/sys/mman.h-data: Likewise.
10732 * conform/data/sys/msg.h-data: Likewise.
10733 * conform/data/sys/resource.h-data: Likewise.
10734 * conform/data/sys/select.h-data: Likewise.
10735 * conform/data/sys/sem.h-data: Likewise.
10736 * conform/data/sys/shm.h-data: Likewise.
10737 * conform/data/sys/socket.h-data: Likewise.
10738 * conform/data/sys/stat.h-data: Likewise.
10739 * conform/data/sys/statvfs.h-data: Likewise.
10740 * conform/data/sys/time.h-data: Likewise.
10741 * conform/data/sys/timeb.h-data: Likewise.
10742 * conform/data/sys/times.h-data: Likewise.
10743 * conform/data/sys/types.h-data: Likewise.
10744 * conform/data/sys/uio.h-data: Likewise.
10745 * conform/data/sys/un.h-data: Likewise.
10746 * conform/data/sys/utsname.h-data: Likewise.
10747 * conform/data/sys/wait.h-data: Likewise.
10748 * conform/data/syslog.h-data: Likewise.
10749 * conform/data/tar.h-data: Likewise.
10750 * conform/data/termios.h-data: Likewise.
10751 * conform/data/utime.h-data: Likewise.
10752 * conform/data/utmpx.h-data: Likewise.
10753 * conform/data/varargs.h-data: Likewise.
10754 * conform/data/wchar.h-data: Likewise.
10755 * conform/data/wctype.h-data: Likewise.
10756 * conform/data/wordexp.h-data: Likewise.
10757
10758 * include/stropts.h: New file.
10759 * include/uchar.h: New file.
10760 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10761 * include/assert.h: Likewise.
10762 * include/ctype.h: Likewise.
10763 * include/dirent.h: Likewise.
10764 * include/dlfcn.h: Likewise.
10765 * include/fcntl.h: Likewise.
10766 * include/fnmatch.h: Likewise.
10767 * include/glob.h: Likewise.
10768 * include/grp.h: Likewise.
10769 * include/libio.h: Likewise.
10770 * include/locale.h: Likewise.
10771 * include/math.h: Likewise.
10772 * include/net/if.h: Likewise.
10773 * include/netdb.h: Likewise.
10774 * include/netinet/in.h: Likewise.
10775 * include/pthread.h: Likewise.
10776 * include/pwd.h: Likewise.
10777 * include/regex.h: Likewise.
10778 * include/sched.h: Likewise.
10779 * include/search.h: Likewise.
10780 * include/setjmp.h: Likewise.
10781 * include/signal.h: Likewise.
10782 * include/stdio.h: Likewise.
10783 * include/stdlib.h: Likewise.
10784 * include/string.h: Likewise.
10785 * include/sys/cdefs.h: Likewise.
10786 * include/sys/mman.h: Likewise.
10787 * include/sys/msg.h: Likewise.
10788 * include/sys/resource.h: Likewise.
10789 * include/sys/select.h: Likewise.
10790 * include/sys/socket.h: Likewise.
10791 * include/sys/stat.h: Likewise.
10792 * include/sys/statvfs.h: Likewise.
10793 * include/sys/time.h: Likewise.
10794 * include/sys/times.h: Likewise.
10795 * include/sys/uio.h: Likewise.
10796 * include/sys/utsname.h: Likewise.
10797 * include/sys/wait.h: Likewise.
10798 * include/termios.h: Likewise.
10799 * include/time.h: Likewise.
10800 * include/ulimit.h: Likewise.
10801 * include/unistd.h: Likewise.
10802 * include/utime.h: Likewise.
10803 * include/wchar.h: Likewise.
10804 * include/wctype.h: Likewise.
10805 * include/wordexp.h: Likewise.
10806
10807 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10808
7a270350
UD
10809 * time/time.h: TIME_UTC must be a macro.
10810 Make timespec_get available for ISO C11 only as well.
10811
7724defc
UD
108122012-02-24 Ulrich Drepper <drepper@gmail.com>
10813
10814 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10815 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10816
6b1d1d46
JM
108172012-02-24 Joseph Myers <joseph@codesourcery.com>
10818
10819 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10820
0f8bbd69
JM
108212012-02-24 Joseph Myers <joseph@codesourcery.com>
10822
10823 * manual/texinfo.tex: Update to version 2012-01-19.16.
10824
66ab80bc
JM
108252012-02-24 Joseph Myers <joseph@codesourcery.com>
10826
10827 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10828
74981cc5
RM
108292012-02-24 Roland McGrath <roland@hack.frob.com>
10830
ee968201
RM
10831 [BZ #13738]
10832 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10833 * manual/fdl-1.3.texi: New file.
10834 * manual/fdl-1.1.texi: File removed.
10835
74981cc5
RM
10836 [BZ #13738]
10837 * manual/libc.texinfo (FDL_VERSION): New @set.
10838 Use it for mention of FDL in cover text.
10839 (Documentation License): Use it in @include file name.
10840
7bb764bc
JM
108412012-02-22 Joseph Myers <joseph@codesourcery.com>
10842 Roland McGrath <roland@hack.frob.com>
10843
10844 [BZ #5461]
10845 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10846 not LONG_LONG_MAX and LONG_LONG_MIN.
10847 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10848 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10849 name.
10850 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10851
6cbeae47
JM
108522012-02-22 Joseph Myers <joseph@codesourcery.com>
10853
10854 [BZ #2547]
10855 [BZ #11365]
10856 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10857 manipulate bits before adding and subtracting TWO23[sx].
10858 * math/libm-test.inc (nearbyint_test): Add more tests.
10859
fe45ce09
JM
108602012-02-22 Joseph Myers <joseph@codesourcery.com>
10861
10862 [BZ #2548]
10863 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10864 bits before adding and subtracting TWO23[sx].
10865 * math/libm-test.inc (rint_test): Add more tests.
10866 (rint_test_tonearest): Likewise.
10867 (rint_test_towardzero): Likewise.
10868 (rint_test_downward): Likewise.
10869 (rint_test_upward: Likewise.
10870
ff3b3d82
JM
108712012-02-22 Joseph Myers <joseph@codesourcery.com>
10872
10873 [BZ #10110]
10874 * include/stdc-predef.h: New file. Extracted from features.h.
10875 * include/features.h: Include stdc-predef.h.
10876 * Makefile (headers): Add stdc-predef.h.
10877 * CONFORMANCE (Compiler limitations): Update.
10878
ef0aab35
JM
108792012-02-22 Joseph Myers <joseph@codesourcery.com>
10880
10881 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10882
58639409
DM
108832012-02-21 David S. Miller <davem@davemloft.net>
10884
10885 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10886 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10887
c0e70b25
DM
108882012-02-20 David S. Miller <davem@davemloft.net>
10889
10890 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10891 using a normal save/restore sequence, rather than allocating a
10892 dummy stack frame just to store a frame pointer and restore.
10893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10894
fb06851d
JM
108952012-02-21 Joseph Myers <joseph@codesourcery.com>
10896
10897 * manual/install.texi: Fix stray word in line-wrapped comment.
10898
7a8b71c3
DM
108992012-02-20 David S. Miller <davem@davemloft.net>
10900
d510c123
DM
10901 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10902 both binutils and gcc support GOTDATA.
10903
0722d7c2
DM
10904 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10905 "rd %pc" in the PIC register setup sequences.
10906
3d2b3019
DM
10907 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10908 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10909 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10910 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10911 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10913 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10916 (SYSCALL_ERROR_HANDLER): Likewise.
10917 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10920 (SYSCALL_ERROR_HANDLER): Likewise.
10921
c80098a9
DM
10922 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10923 (HAVE_GCC_GOTDATA): New.
10924 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10925 relocation support in both binutils and gcc.
10926 * sysdeps/sparc/elf/configure: Regenerate.
10927
3a2545a0
DM
10928 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10929 * sysdeps/sparc/sparc32/elf/configure: Delete.
10930 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10931 * sysdeps/sparc/sparc64/elf/configure: Delete.
10932 * sysdeps/sparc/elf/configure.in: New file.
10933 * sysdeps/sparc/elf/configure: Generate.
10934
7a8b71c3
DM
10935 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10936 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10937 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10938 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10939 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10940
f1e86fca
JM
109412012-02-21 Joseph Myers <joseph@codesourcery.com>
10942
10943 * manual/install.texi: Do not mention specific glibc version
10944 numbers.
10945 * manual/libc.texinfo (VERSION, UPDATED): Update.
10946 (@copying): Use @copyright{} and range of years.
10947
0e7dfaef
JM
109482012-02-21 Joseph Myers <joseph@codesourcery.com>
10949
10950 [BZ #13695]
10951 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10952 [crti.S not in sysdirs] (generated): Do not append.
10953 [crti.S not in sysdirs] (omit-deps): Likewise.
10954 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10955 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10956 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10957 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10958 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10959 Likewise.
10960 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10961 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10962 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10963 * csu/defs.awk: Remove file.
10964 * sysdeps/generic/initfini.c: Likewise.
10965 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10966 variable.
10967 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10968 Likewise.
10969
599af3ca
JM
109702012-02-20 Joseph Myers <joseph@codesourcery.com>
10971
10972 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10973 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10974 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10975 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10976 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10977 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10978 <bits/epoll.h>.
10979 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10980 (__EPOLL_PACKED): Define to empty if not defined by
10981 <bits/epoll.h>.
10982 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10984 bits/epoll.h.
10985
0e499750
JM
109862012-02-20 Joseph Myers <joseph@codesourcery.com>
10987
10988 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10989 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10990 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10991 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10992 <bits/timerfd.h>.
10993 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10995 bits/timerfd.h.
10996
5ad91f6e
JM
109972012-02-20 Joseph Myers <joseph@codesourcery.com>
10998
10999 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
11000 in C locale.
11001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11002 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
11003 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
11004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005
06b99b02
AJ
110062012-02-20 Aurelien Jarno <aurelien@aurel32.net>
11007
11008 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11009 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11010
7638c0fd
AS
110112012-02-19 Andreas Schwab <schwab@linux-m68k.org>
11012
11013 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
11014 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
11015 defined.
11016 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
11017 Likewise.
11018 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
11019 entry for 2.16.
11020
92221550
AJ
110212012-02-19 Aurelien Jarno <aurelien@aurel32.net>
11022
11023 * math/w_acos.c: Use non-signaling floating-point comparisons.
11024 * math/w_acosf.c: Likewise.
11025 * math/w_acosh.c: Likewise.
11026 * math/w_acoshf.c: Likewise.
11027 * math/w_acoshl.c: Likewise.
11028 * math/w_acosl.c: Likewise.
11029 * math/w_asin.c: Likewise.
11030 * math/w_asinf.c: Likewise.
11031 * math/w_asinl.c: Likewise.
11032 * math/w_atanh.c: Likewise.
11033 * math/w_atanhf.c: Likewise.
11034 * math/w_atanhl.c: Likewise.
11035 * math/w_exp2.c: Likewise.
11036 * math/w_exp2f.c: Likewise.
11037 * math/w_exp2l.c: Likewise.
11038 * math/w_j0.c: Likewise.
11039 * math/w_j0f.c: Likewise.
11040 * math/w_j0l.c: Likewise.
11041 * math/w_j1.c: Likewise.
11042 * math/w_j1f.c: Likewise.
11043 * math/w_j1l.c: Likewise.
11044 * math/w_jn.c: Likewise.
11045 * math/w_jnf.c: Likewise.
11046 * math/w_log.c: Likewise.
11047 * math/w_log10.c: Likewise.
11048 * math/w_log10f.c: Likewise.
11049 * math/w_log10l.c: Likewise.
11050 * math/w_log2.c: Likewise.
11051 * math/w_log2f.c: Likewise.
11052 * math/w_log2l.c: Likewise.
11053 * math/w_logf.c: Likewise.
11054 * math/w_logl.c: Likewise.
11055 * math/w_sqrt.c: Likewise.
11056 * math/w_sqrtf.c: Likewise.
11057 * math/w_sqrtl.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11061 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11062 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11063
ebaf36eb
JM
110642012-02-19 Joseph Myers <joseph@codesourcery.com>
11065
11066 [BZ #9739]
11067 * manual/string.texi (strnlen): Use correct parameter name in
11068 equivalent expression.
11069
71c254a6
JM
110702012-02-19 Joseph Myers <joseph@codesourcery.com>
11071
11072 [BZ #11174]
11073 * manual/users.texi (seteuid): Consistently use neweuid for
11074 argument name.
11075
16d2c631
JM
110762012-02-19 Joseph Myers <joseph@codesourcery.com>
11077
11078 [BZ #13704]
11079 * manual/nss.texi (Services in the NSS configuration): Correct
11080 list of services in example configuration file.
11081
cd837b09
NB
110822012-02-19 Nick Bowler <nbowler@draconx.ca>
11083
11084 [BZ #11322]
11085 * manual/arith.texi: Remove statements about negative zero
11086 behaving identically to zero.
11087
02c4bbad
JM
110882012-02-18 Joseph Myers <joseph@codesourcery.com>
11089
11090 [BZ #5993]
11091 * manual/install.texi: Do not document upgrading from libc5.
11092
366842e7
JM
110932012-02-18 Joseph Myers <joseph@codesourcery.com>
11094
11095 [BZ #4596]
11096 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11097
dd54084d
DM
110982012-02-18 David S. Miller <davem@davemloft.net>
11099
11100 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11101 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11102 %o7 across the call.
11103 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11104 instead.
11105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11106 SETUP_PIC_REG_LEAF.
11107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11108 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11109 * sysdeps/sparc/crtn.S: Likewise.
11110
2bcc53a3
UD
111112012-02-17 Ulrich Drepper <drepper@gmail.com>
11112
11113 * aout/Makefile: Remove.
11114
09c093b5
RK
111152012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11116
11117 [BZ #13058]
11118 * manual/examples/argp-ex1.c (main): Format definition in GNU
11119 style.
11120 * manual/examples/argp-ex2.c (main): Likewise.
11121 * manual/examples/argp-ex3.c (main): Likewise.
11122 * manual/examples/argp-ex4.c (main): Likewise.
11123 * manual/examples/longopt.c (main): Use new-style prototype
11124 definition.
11125 * manual/examples/strncat.c (main): Specify return type and use
11126 (void) for arguments.
11127 * manual/examples/subopt.c (main): Use char **argv argument.
11128
2ee633a2
JM
111292012-02-17 Joseph Myers <joseph@codesourcery.com>
11130
11131 [BZ #5077]
11132 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11133 rounding modes.
11134
0520adde
FB
111352012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11136
11137 [BZ #6907]
11138 * manual/string.texi (strchr): Change when strchrnul is
11139 recommended.
11140
3f4081cd
DGM
111412012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11142
11143 [BZ #174]
11144 * manual/locale.texi (setlocale): Document LOCPATH.
11145
d1b10e78
JM
111462012-02-17 Joseph Myers <joseph@codesourcery.com>
11147
11148 [BZ #10210]
11149 * manual/process.texi (execle): Move @dots{} before last argument.
11150
79c6869c
PB
111512012-02-17 Paul Bolle <pebolle@tiscali.nl>
11152
11153 [BZ #12047]
11154 * manual/charset.texi (Generic Charset Conversion): Fix typo
11155 (LC_TYPE -> LC_CTYPE).
11156
cc6e48bc
NB
111572012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11158
11159 [BZ #5805]
11160 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11161 (scalbnf): Likewise.
11162 (scalbnl): Likewise.
11163 (scalbln): Likewise.
11164 (scalblnf): Likewise.
11165 (scalblnl): Likewise.
11166 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11167 (vwarnx): Likewise.
11168 (verr): Likewise.
11169 (verrx): Likewise.
11170 * manual/filesys.texi (telldir): Use braces around return type.
11171 * manual/llio.texi (mmap): Add space after comma.
11172 (mmap64): Likewise.
11173 * manual/math.texi (jn): Use @var{} on parameter names.
11174 (jnf): Likewise.
11175 (jnl): Likewise.
11176 (yn): Likewise.
11177 (ynf): Likewise.
11178 (ynl): Likewise.
11179 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11180 line.
11181 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11182 "...".
11183 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11184 (sched_get_priority_max): Likewise.
11185 * manual/signal.texi (sigvec): Add space after comma.
11186 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11187 names.
11188 (if_indextoname): Likewise.
11189 (if_freenameindex): Likewise.
11190 (sendto): Use ',' instead of '.' in prototype.
11191 * manual/startup.texi (syscall): Use @dots{} instead of literal
11192 "...".
11193 * manual/stdio.texi (__fpending): Separate initial words of
11194 paragraph from @deftypefun line.
11195 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11196 "...".
11197 (vsyslog): Use @var{} on parameter names.
11198 * manual/terminal.texi (stty): Use @var{} on parameter names.
11199 * manual/users.texi (getutmp): Use @var{} on parameter names.
11200 (getutmpx): Likewise.
11201
5b23062f
JM
112022012-02-17 Joseph Myers <joseph@codesourcery.com>
11203
11204 [BZ #6884]
11205 * manual/stdio.texi (fopen): Fix typos in description of
11206 ",ccs=STRING".
11207
8dee4833
AJ
112082012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11209
11210 [BZ #4026]
11211 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11212 get clock_id definition.
11213
9078ce93
TS
112142012-02-17 Thomas Schwinge <thomas@schwinge.name>
11215
11216 [BZ #4822]
11217 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11218 (madvise): Cast every argument to void on its own.
11219
3835c55f
JM
112202012-02-17 Joseph Myers <joseph@codesourcery.com>
11221
11222 [BZ #9902]
11223 * manual/startup.texi (Exit Status): Fix typo.
11224
35c47e37
JM
112252012-02-17 Joseph Myers <joseph@codesourcery.com>
11226
11227 [BZ #10140]
11228 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11229 * manual/examples/argp-ex2.c: Likewise.
11230 * manual/examples/argp-ex3.c: Likewise.
11231
e3b69ca7
RH
112322012-02-16 Richard Henderson <rth@redhat.com>
11233
11234 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11235 * sysdeps/s390/s390-32/initfini.c: Remove.
11236 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11237 * sysdeps/s390/s390-64/initfini.c: Remove.
11238
df83af67
KK
112392012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11240
11241 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11242 compiler output for sysdeps/generic/initfini.c.
11243 * sysdeps/sh/elf/initfini.c: Remove file.
11244
f63f3380
DM
112452012-02-16 David S. Miller <davem@davemloft.net>
11246
fb59b3a4
DM
11247 [BZ #11494]
11248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11249
f63f3380
DM
11250 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11251 * sysdeps/sparc/crti.S: New file.
11252 * sysdeps/sparc/crtn.S: New file.
11253 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11254 * sysdeps/sparc/sparc64/Makefile: Likewise.
11255
df6a4a4a
MF
112562012-02-15 Mike Frysinger <vapier@gentoo.org>
11257
6dd8f3dc 11258 [BZ #3335]
df6a4a4a
MF
11259 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11260
1cac7236
RM
112612012-02-15 Roland McGrath <roland@hack.frob.com>
11262
d2c736f8
RM
11263 [BZ #4822]
11264 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11265
1cac7236
RM
11266 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11267 (write, read, close): Likewise.
11268 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11269
8e475601
JM
112702012-02-15 Joseph Myers <joseph@codesourcery.com>
11271
11272 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11273 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11274 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11275 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11276 <bits/signalfd.h>.
11277 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11279 bits/signalfd.h.
11280
ed656b40
MP
112812012-02-14 Marek Polacek <polacek@redhat.com>
11282
11283 * sysdeps/x86_64/crti.S: New file.
11284 * sysdeps/x86_64/crtn.S: New file.
11285 * sysdeps/x86_64/elf/initfini.c: Remove file.
11286
2a979d3a
JM
112872012-02-13 Joseph Myers <joseph@codesourcery.com>
11288
11289 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11290 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11291 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11292 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11293 <bits/inotify.h>.
11294 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11296 bits/inotify.h.
11297
2a418ac3
JM
112982012-02-13 Joseph Myers <joseph@codesourcery.com>
11299
11300 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11301 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11302 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11303 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11304 <bits/eventfd.h>.
11305 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11307 bits/eventfd.h.
11308
fb779be7
TS
113092012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11310
e19e83c5
RM
11311 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11312 __feraiseexcept instead of feraiseexcept.
7c35ffed 11313
fb779be7
TS
11314 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11315 nanosleep invocations.
11316 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11317 strings, and add error checking for a nanosleep invocations.
11318
59ba27a6
PE
113192012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11320
11321 Replace FSF snail mail address with URLs, as per GNU coding standards.
11322 Most of the snail mail addresses were wrong anyway, and omitting
11323 them makes the source code easier to maintain. Almost all of the
11324 changes are to license notices and to locale LC_IDENTIFICATION
11325 addresses, except for this one:
11326 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11327 not its snail mail address.
11328
57b957eb
RH
113292012-02-09 Richard Henderson <rth@twiddle.net>
11330
af850b1c
RH
11331 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11332 of kernel-features.h.
11333
57b957eb
RH
11334 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11335
6b73181a
MP
113362012-02-08 Marek Polacek <polacek@redhat.com>
11337
11338 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11339 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11340 * sysdeps/gnu/_G_config.h: Likewise.
11341 * sysdeps/generic/_G_config.h: Likewise.
11342
26ecc33a
AS
113432012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11344
6c6dbc63
AS
11345 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11346 tests.
11347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11348
e216c012
AS
11349 * sysdeps/powerpc/powerpc32/crti.S: New file.
11350 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11351 * sysdeps/powerpc/powerpc64/crti.S: New file.
11352 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11353
26ecc33a
AS
11354 * Makeconfig (have-initfini): Don't set.
11355 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11356 * configure.in (nopic_initfini): Don't substitute.
11357 * config.h.in (HAVE_INITFINI): Don't #undef.
11358 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11359 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11360
3add8e13
JM
113612012-02-08 Joseph Myers <joseph@codesourcery.com>
11362
11363 Support crti.S and crtn.S provided directly by architectures.
11364 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11365 [crti.S in sysdirs] (omit-deps): Likewise.
11366 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11367 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11368 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11369 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11370 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11371 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11372 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11373 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11374 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11375 compiler output for sysdeps/generic/initfini.c.
11376 * sysdeps/i386/elf/Makefile: Remove file.
11377 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11378
a22f12b4
MP
113792012-02-07 Marek Polacek <polacek@redhat.com>
11380
11381 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11382 * sysdeps/gnu/_G_config.h: Likewise.
11383 * sysdeps/mach/hurd/_G_config.h: Likewise.
11384
148cf100
MP
113852012-02-07 Marek Polacek <polacek@redhat.com>
11386
11387 * math/Makefile (tests): Add tst-CMPLX2.
11388 * math/tst-CMPLX2.c: New file.
11389
cfdc0dd7
AS
113902012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11391
84ba42c4
AS
11392 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11393
cfdc0dd7
AS
11394 * math/libm-test.inc (jn_test): Add missing L suffix.
11395
622c86f4
MP
113962012-02-06 Marek Polacek <polacek@redhat.com>
11397
11398 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11399 * sysdeps/i386/fpu/e_powf.S: Likewise.
11400 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11401 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11403 * sysdeps/i386/fpu/e_pow.S: Likewise.
11404 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11405 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11406 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11407 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11408 * sysdeps/i386/fpu/e_log2.S: Likewise.
11409 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11410 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11411 * sysdeps/i386/fpu/e_powl.S: Likewise.
11412 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11413 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11414 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11415 * sysdeps/i386/fpu/e_logl.S: Likewise.
11416 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11417 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11418 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11419 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11420 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11422 * sysdeps/i386/fpu/e_log.S: Likewise.
11423 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11424 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11425 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11426 * sysdeps/i386/fpu/e_logf.S: Likewise.
11427 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11428 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11429 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11430 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11431 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11432 * sysdeps/i386/fpu/e_log10.S: Likewise.
11433 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11434 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11435 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11436 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11437 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11438 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11439 * sysdeps/i386/asm-syntax.h: Likewise.
11440 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11441 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11442 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11443 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11444 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11445 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11446 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11447 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11448 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11449 * sysdeps/powerpc/sysdep.h: Likewise.
11450 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11451 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11452
d4a54ac6
JM
114532012-02-06 Joseph Myers <joseph@codesourcery.com>
11454
11455 [BZ #411]
11456 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11457
314054ea
JM
114582012-02-06 Joseph Myers <joseph@codesourcery.com>
11459
11460 * sysdeps/i386/sysdep.h: Include <features.h>.
11461 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11462 version.
11463
d8e0ca50
JM
114642012-02-05 Joseph Myers <joseph@codesourcery.com>
11465
11466 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11467 Define.
11468 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11469 LOAD_PIC_REG_STR.
11470
b1da7dd9
JM
114712012-02-03 Joseph Myers <joseph@codesourcery.com>
11472
11473 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11474 (SETUP_PIC_REG): Use GET_PC_THUNK.
11475 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11476 macro.
11477
9a1d9254
JM
114782012-02-03 Joseph Myers <joseph@codesourcery.com>
11479
11480 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11481 for non-PIC compilation.
11482 (SETUP_PIC_REG): Add .p2align directive.
11483 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11484 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11485 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11486 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11487 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11488 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11489 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11491 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11492 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11493 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11494 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11495 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11496 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11497 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11498 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11499 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11500 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11501 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11502 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11504 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11505 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11506 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11508 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11510 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11511 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11512 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11513 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11514 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11515 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11516 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11517 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11518 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11519 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11520 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11521 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11522 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11523 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11524
65dc3b75
JM
115252012-02-03 Joseph Myers <joseph@codesourcery.com>
11526
11527 * math/tst-CMPLX.c: Include <stdio.h>.
11528
d55bf177
JM
115292012-01-31 Joseph Myers <joseph@codesourcery.com>
11530
11531 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11532 float.
11533 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11534 * sysdeps/sparc/bits/mathdef.h: Likewise.
11535
69db4f8f
MP
115362012-01-31 Marek Polacek <polacek@redhat.com>
11537
11538 * libio/libio.h: Don't define _PARAMS.
11539 * locale/programs/config.h: Don't define PARAMS.
11540 * stdlib/strtol_l.c: Likewise.
11541 (__strtol_l): Remove PARAMS from the prototype.
11542
41b81892
UD
115432012-01-31 Ulrich Drepper <drepper@gmail.com>
11544
3b49edc0
UD
11545 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11546 names. Just use the correct names. Remove unnecessary wrapper
11547 functions.
11548 * malloc/arena.c: Likewise.
11549 * malloc/hooks.c: Likewise.
11550
41b81892
UD
11551 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11552 ARENA_TEST says not to. Simplify test for creation of a new arena.
11553 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11554
27a25b6e
UD
115552012-01-30 Ulrich Drepper <drepper@gmail.com>
11556
11557 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11558 into tail calls.
11559 (update_get_addr): New function.
11560 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11561 GET_ADDR_MODULE parameter.
11562
c8a89e7d
JM
115632012-01-30 Joseph Myers <joseph@codesourcery.com>
11564
11565 * crypt/cert.c: Remove __STDC__ conditionals.
11566 * crypt/crypt-entry.c: Likewise.
11567 * crypt/crypt_util.c: Likewise.
11568 * libio/filedoalloc.c: Likewise.
11569 * libio/fileops.c: Likewise.
11570 * libio/genops.c: Likewise.
11571 * libio/iofclose.c: Likewise.
11572 * libio/iofdopen.c: Likewise.
11573 * libio/iofopen.c: Likewise.
11574 * libio/iofopen64.c: Likewise.
11575 * libio/iogetdelim.c: Likewise.
11576 * libio/iopopen.c: Likewise.
11577 * libio/obprintf.c: Likewise.
11578 * libio/oldfileops.c: Likewise.
11579 * libio/oldiofclose.c: Likewise.
11580 * libio/oldiofdopen.c: Likewise.
11581 * libio/oldiofopen.c: Likewise.
11582 * libio/oldiopopen.c: Likewise.
11583 * libio/wfiledoalloc.c: Likewise.
11584 * libio/wgenops.c: Likewise.
11585 * locale/programs/xmalloc.c: Likewise.
11586 * misc/syslog.c: Likewise.
11587 * stdio-common/xbug.c: Likewise.
11588 * string/memchr.c: Likewise.
11589 * string/memcmp.c: Likewise.
11590 * string/memrchr.c: Likewise.
11591 * string/rawmemchr.c: Likewise.
11592 * sysdeps/posix/getcwd.c: Likewise.
11593 * time/strftime_l.c: Likewise.
11594
3b100462
JM
115952012-01-30 Joseph Myers <joseph@codesourcery.com>
11596
11597 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11598 * config.make.in (config-cflags-sse2avx): Define.
11599 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11600 Fix typo.
11601
607998af
CM
116022012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11603
11604 * scripts/config.guess: Update from upstream config git repository.
11605 * scripts/config.sub: Likewise.
11606
3601428f
CM
116072012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11608
3ac8b282
CM
11609 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11610 (EM_NUM): Update.
11611 (R_TILEPRO_*, R_TILEGX_*): New macros.
11612
e034841e
CM
11613 * scripts/firstversions.awk: Fix bug in version range handling.
11614
540d7568
CM
11615 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11616
3601428f
CM
11617 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11618
463de862
CM
11619 * include/sys/epoll.h: New file.
11620 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11621 libc_hidden_def.
11622
73139a76
UD
116232012-01-28 Ulrich Drepper <drepper@gmail.com>
11624
96bc5b45
UD
11625 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11626 Avoid unnecessary __WORDSIZE == 64 test.
11627 (fmaxf): Use VEX format if possible.
11628 (fmax): Likewise.
11629 (fminf): Likewise.
11630 (fmin): Likewise.
11631
56f6f6a2
UD
11632 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11633 * math/math_private.h: Remove libc_fegetround* and
11634 libc_fesetround*.
11635 * sysdeps/i386/configure.in: Check for -msse2avx.
11636 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11637 also if SSE2AVX is defined.
11638 Remove libc_fegetround* and libc_fesetround*.
11639 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11640 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11641 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11642 of HAS_YMM_USABLE.
11643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11644 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11648
73139a76
UD
11649 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11650
d73f93a4
AZ
116512012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11652
11653 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11654 size is not set.
11655 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11656
6ee65ed6
UD
116572012-01-27 Ulrich Drepper <drepper@gmail.com>
11658
11659 [BZ #13618]
11660 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11661 relocation.
11662 * Makeconfig (libm): Define.
11663 * elf/Makefile: Add rules to build and run tst-relsort1.
11664 * elf/tst-relsort1.c: New file.
11665 * elf/tst-relsort1mod1.c: New file.
11666 * elf/tst-relsort1mod2.c: New file.
11667
8db21882
JM
116682012-01-27 Joseph Myers <joseph@codesourcery.com>
11669
11670 * math/s_ldexp.c: Remove __STDC__ conditionals.
11671 * math/s_ldexpf.c: Likewise.
11672 * math/s_ldexpl.c: Likewise.
11673 * math/s_nextafter.c: Likewise.
11674 * math/s_nexttowardf.c: Likewise.
11675 * math/s_significand.c: Likewise.
11676 * math/s_significandf.c: Likewise.
11677 * math/s_significandl.c: Likewise.
11678 * math/w_jnl.c: Likewise.
11679 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11680 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11681 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11682 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11683 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11691 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11692 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11693 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11694 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11696 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11698 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11699 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11700 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11701 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11703 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11704 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11705 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11706 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11707 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11708 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11709 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11710 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11712 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11713 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11715 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11716 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11717 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11718 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11719 * sysdeps/ieee754/k_standard.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11784 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11786 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11789 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11794 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11795 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11799 * sysdeps/ieee754/s_matherr.c: Likewise.
11800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11804
965a54a4
JM
118052012-01-26 Joseph Myers <joseph@codesourcery.com>
11806
11807 * crypt/md5.h: Remove __STDC__ conditionals.
11808 * libio/libioP.h: Likewise.
11809 * locale/programs/config.h: Likewise.
11810 * sysdeps/generic/sysdep.h: Likewise.
11811 * sysdeps/i386/asm-syntax.h: Likewise.
11812 * sysdeps/s390/asm-syntax.h: Likewise.
11813 * sysdeps/unix/sysdep.h: Likewise.
11814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11816
7071ad79
JM
118172012-01-26 Joseph Myers <joseph@codesourcery.com>
11818
11819 * libio/libio.h: Remove __STDC__ conditionals.
11820 * malloc/obstack.h: Likewise.
11821 * math/complex.h: Likewise.
11822 * math/math.h: Likewise.
11823 * sysdeps/generic/_G_config.h: Likewise.
11824 * sysdeps/gnu/_G_config.h: Likewise.
11825 * sysdeps/mach/hurd/_G_config.h: Likewise.
11826 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11827 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11828 * sysdeps/sparc/bits/mathdef.h: Likewise.
11829
afc5ed09
UD
118302012-01-26 Ulrich Drepper <drepper@gmail.com>
11831
11832 [BZ #13583]
11833 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11834 Clean up HAS_* macros.
afc5ed09 11835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11836 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11837 possible.
11838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11839 HAS_AVX.
11840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11845
bdb6de1d
JM
118462012-01-25 Joseph Myers <joseph@codesourcery.com>
11847
11848 * elf/tst-unique3.cc (gets): Remove declaration.
11849 * elf/tst-unique3lib.cc (gets): Likewise.
11850 * elf/tst-unique3lib2.cc (gets): Likewise.
11851 * elf/tst-unique4.cc (gets): Likewise.
11852
b15549e6
UD
118532012-01-24 Ulrich Drepper <drepper@gmail.com>
11854
11855 * include/stdio.h: Add C++ protection. Add gets declarations and
11856 definitions.
11857 * debug/tst-chk1.c: Don't declare gets here.
11858 * stdio-common/tst-gets.c: Likewise.
11859
a037381f
JM
118602012-01-24 Joseph Myers <joseph@codesourcery.com>
11861
11862 * posix/glob: Remove directory.
11863
f1d4aa75
JM
118642012-01-24 Joseph Myers <joseph@codesourcery.com>
11865
11866 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11867
81c0c964
PT
118682012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11869
11870 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11871 of the non-standard EPFNOSUPPORT.
11872
0ea698ae
ST
118732011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11874
11875 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11876 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11877 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11878
d220b117
UD
118792012-01-21 Ulrich Drepper <drepper@gmail.com>
11880
11881 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11882
3e1aa84e
UD
118832012-01-20 Ulrich Drepper <drepper@gmail.com>
11884
11885 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11886 transient errors.
11887 * nscd/grpcache.c (cache_addgr): Likewise.
11888 * nscd/hstcache.c (cache_addhst): Likewise.
11889 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11890 * nscd/pwdcache.c (cache_addpw): Likewise.
11891 * nscd/servicescache.c (cache_addserv): Likewise.
11892
400aa020
UD
118932012-01-16 Ulrich Drepper <drepper@gmail.com>
11894
d77e7869
UD
11895 * malloc/malloc.c: Various cleanups.
11896 * malloc/hooks.c: Likewise.
11897
400aa020
UD
11898 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11899 * stdlib/bug-fmtmsg1.c: New file.
11900
11901 * stdlib/fmtmsg.c (init): Add missing unlock.
11902 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11903
e0a309cf
MP
119042012-01-12 Marek Polacek <polacek@redhat.com>
11905
11906 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11907 and _GNU_SOURCE.
11908
929d11c7
WS
119092012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11910
11911 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11912 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11913 macro to ensure uniqueness of label name.
11914 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11915 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11916
41d0e869
UD
119172012-01-11 Ulrich Drepper <drepper@gmail.com>
11918
0cc5ed3b
UD
11919 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11920
41d0e869
UD
11921 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11922 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11923 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11925
a47a831a
UD
119262012-01-10 Ulrich Drepper <drepper@gmail.com>
11927
daa891c0
UD
11928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11929
11930 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11931 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11932 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11933
e58ef0f2
UD
11934 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11935
a47a831a 11936 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11937 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11938 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11940
11941 * math/bits/math-finite.h: Add ldexp support.
11942
a0bfc9c7
MP
119432012-01-10 Marek Polacek <polacek@redhat.com>
11944
11945 * locale/programs/localedef.h (show_archive_content): Add noreturn
11946 attribute.
11947
d6e97a1d
UD
119482012-01-09 Ulrich Drepper <drepper@gmail.com>
11949
11950 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11951
d5835c26
UD
119522012-01-08 Ulrich Drepper <drepper@gmail.com>
11953
e5f484c6
UD
11954 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11955
d5835c26
UD
11956 * io/Makefile (headers): Add bits/poll2.h.
11957
d1f741e9
WS
119582011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11959
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11961 typo #include statement.
11962
ec09c1c4
UD
119632012-01-08 Ulrich Drepper <drepper@gmail.com>
11964
11965 * include/sys/cdefs.h: Define __attribute_alloc_size.
11966 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11967 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11968 * elf/pldd.c: Likewise.
11969 * iconv/iconv_charmap.c: Likewise.
11970 * iconv/iconvconfig.c: Likewise.
11971 * iconv/strtab.c: Likewise.
11972 * locale/programs/locale.c: Likewise.
11973 * locale/programs/localedef.h: Likewise.
11974 * locale/programs/simple-hash.c: Likewise.
11975 * nscd/nscd.h: Likewise.
11976 * nss/makedb.c: Likewise.
11977 * sysdeps/generic/ldconfig.h: Likewise.
11978 * locale/programs/localedef.c: Remove xmalloc prototype.
11979 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11980
20b38e03
PP
119812012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11982
11983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11984 appropriate.
11985
a0da5fe1
UD
119862012-01-08 Ulrich Drepper <drepper@gmail.com>
11987
1d5a644a 11988 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11989 * math/tst-CMPLX.c: New file.
1d5a644a 11990
8784a6db
UD
11991 * math/complex.h (CMPLXL): Fix typo.
11992
d9a216c0
UD
11993 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11994 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11995 GLIBC_2.16.
11996 * debug/tst-chk1.c: Add poll and ppoll tests.
11997 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11998 * include/sys/poll.h: Add hidden proto for ppoll.
11999 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
12000 * sysdeps/mach/hurd/ppoll.c: Likewise.
12001 * io/ppoll.c: Likewise.
12002 * debug/poll_chk.c: New file.
12003 * debug/ppoll_chk.c: New file.
12004 * include/bits/poll2.h: New file.
12005 * io/bits/poll2.h: New file.
12006
ac097f5c
UD
12007 [BZ #1350]
12008 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
12009
2119dcfa
UD
12010 * configure.in: static is always set to yes. Remove.
12011 * config.make.in: Don't set build-static.
12012 * Makeconfig: Remove use of build-static.
12013 * dlfcn/Makefile: Likewise.
12014 * elf/Makefile: Likewise.
12015 * math/Makefile: Likewise.
12016 * misc/Makefile: Likewise.
12017 * nptl/Makefile: Likewise.
12018 * sysdeps/mach/hurd/Makefile: Likewise.
12019
121766a9
UD
12020 * configure.in: PWD_P is not used anymore.
12021 * config.make.in: Remove PWD_P entry.
12022
51a1d39c 12023 * configure.in: Remove last remnants of RANLIB.
8720d066 12024 No need to check for signed size_t anymore.
215f4bdc
UD
12025 Don't set libc_commonpagesize and libc_relro_required here for Alpha
12026 and IA-64.
3857022a 12027 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
12028 * aclocal.m4: Likewise.
12029
d3ed7225
UD
12030 * wcsmbs/mbrtoc16.c: Implement using towc function.
12031 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
12032 * wcsmbs/wcsmbsload.c: Likewise.
12033 * iconv/gconv_simple.c: Likewise.
12034 * iconv/gconv_int.h: Likewise.
12035 * iconv/gconv_builtin.h: Likewise.
12036 * iconv/iconv_prog.c: Remove CHAR16 handling.
12037
12038 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
12039
12040 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
12041
a0da5fe1
UD
12042 * configure.in: Remove --with-elf and --enable-bounded options.
12043 Dont set base_machine for ia64. More non-ELF conditions removed.
12044 Remove testing and setting of leading underscore information.
12045 * config.make.in (build-bounded): Set to no.
12046 * config.h.in: Remove NO_UNDERSCORES entry.
12047 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
12048 them.
12049 * csu/start.c: Remove !NO_UNDERSCORE code.
12050 * locale/localeinfo.h: Likewise.
12051 * sysdeps/generic/machine-gmon.h: Likewise.
12052 * sysdeps/generic/sysdep.h: Likewise.
12053 * sysdeps/i386/sysdep.h: Likewise.
12054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12055 * sysdeps/mach/sysdep.h: Likewise.
12056 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12057 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12058 * sysdeps/sh/sysdep.h: Likewise.
12059 * sysdeps/sparc/sparc32/alloca.S: Likewise.
12060 * sysdeps/unix/i386/sysdep.S: Likewise.
12061 * sysdeps/unix/sparc/start.c: Likewise.
12062 * sysdeps/unix/sparc/sysdep.S: Likewise.
12063 * sysdeps/unix/sparc/sysdep.h: Likewise.
12064 * sysdeps/unix/start.c: Likewise.
12065 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12066 * sysdeps/x86_64/sysdep.h: Likewise.
12067
df78418a
UD
120682012-01-07 Ulrich Drepper <drepper@gmail.com>
12069
a784e502
UD
12070 [BZ #13553]
12071 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
12072 for non-gcc.
12073 * argp/argp-fmtstream.h: Use const instead __const.
12074 * argp/argp.h: Likewise.
12075 * assert/assert.h: Likewise.
12076 * bits/fenv.h: Likewise.
12077 * bits/sched.h: Likewise.
12078 * bits/sigset.h: Likewise.
12079 * bits/sigthread.h: Likewise.
12080 * catgets/nl_types.h: Likewise.
12081 * conform/data/pthread.h-data: Likewise.
12082 * crypt/crypt-private.h: Likewise.
12083 * crypt/crypt.h: Likewise.
12084 * crypt/crypt_util.c: Likewise.
12085 * ctype/ctype.h: Likewise.
12086 * debug/execinfo.h: Likewise.
12087 * debug/mbsnrtowcs_chk.c: Likewise.
12088 * debug/mbsrtowcs_chk.c: Likewise.
12089 * debug/wcsnrtombs_chk.c: Likewise.
12090 * debug/wcsrtombs_chk.c: Likewise.
12091 * debug/wcstombs_chk.c: Likewise.
12092 * dirent/dirent.h: Likewise.
12093 * dlfcn/dlfcn.h: Likewise.
12094 * elf/neededtest4.c: Likewise.
12095 * grp/grp.h: Likewise.
12096 * gshadow/gshadow.h: Likewise.
12097 * iconv/gconv.h: Likewise.
12098 * iconv/gconv_int.h: Likewise.
12099 * iconv/gconv_simple.c: Likewise.
12100 * iconv/iconv.h: Likewise.
12101 * iconv/loop.c: Likewise.
12102 * iconv/skeleton.c: Likewise.
12103 * include/aio.h: Likewise.
12104 * include/aliases.h: Likewise.
12105 * include/argz.h: Likewise.
12106 * include/arpa/inet.h: Likewise.
12107 * include/assert.h: Likewise.
12108 * include/dirent.h: Likewise.
12109 * include/dlfcn.h: Likewise.
12110 * include/execinfo.h: Likewise.
12111 * include/fcntl.h: Likewise.
12112 * include/fenv.h: Likewise.
12113 * include/glob.h: Likewise.
12114 * include/grp.h: Likewise.
12115 * include/libintl.h: Likewise.
12116 * include/mntent.h: Likewise.
12117 * include/netdb.h: Likewise.
12118 * include/pwd.h: Likewise.
12119 * include/rpc/netdb.h: Likewise.
12120 * include/sched.h: Likewise.
12121 * include/search.h: Likewise.
12122 * include/shadow.h: Likewise.
12123 * include/signal.h: Likewise.
12124 * include/stdio.h: Likewise.
12125 * include/stdlib.h: Likewise.
12126 * include/string.h: Likewise.
12127 * include/sys/socket.h: Likewise.
12128 * include/sys/stat.h: Likewise.
12129 * include/sys/statfs.h: Likewise.
12130 * include/sys/statvfs.h: Likewise.
12131 * include/sys/syslog.h: Likewise.
12132 * include/sys/time.h: Likewise.
12133 * include/sys/uio.h: Likewise.
12134 * include/time.h: Likewise.
12135 * include/unistd.h: Likewise.
12136 * include/utmp.h: Likewise.
12137 * include/wchar.h: Likewise.
12138 * include/wctype.h: Likewise.
12139 * inet/aliases.h: Likewise.
12140 * inet/arpa/inet.h: Likewise.
12141 * inet/netinet/ether.h: Likewise.
12142 * inet/netinet/in.h: Likewise.
12143 * intl/libintl.h: Likewise.
12144 * io/bits/fcntl2.h: Likewise.
12145 * io/fcntl.h: Likewise.
12146 * io/ftw.h: Likewise.
12147 * io/sys/poll.h: Likewise.
12148 * io/sys/stat.h: Likewise.
12149 * io/sys/statfs.h: Likewise.
12150 * io/sys/statvfs.h: Likewise.
12151 * io/utime.h: Likewise.
12152 * libio/bits/stdio.h: Likewise.
12153 * libio/bits/stdio2.h: Likewise.
12154 * libio/libio.h: Likewise.
12155 * libio/libioP.h: Likewise.
12156 * libio/stdio.h: Likewise.
12157 * locale/lc-ctype.c: Likewise.
12158 * locale/locale.h: Likewise.
12159 * login/utmp.h: Likewise.
12160 * malloc/arena.c: Likewise.
12161 * malloc/malloc.c: Likewise.
12162 * malloc/malloc.h: Likewise.
12163 * malloc/mcheck.c: Likewise.
12164 * malloc/mtrace.c: Likewise.
12165 * math/bits/mathcalls.h: Likewise.
12166 * math/fenv.h: Likewise.
12167 * math/math_private.h: Likewise.
12168 * misc/bits/error.h: Likewise.
12169 * misc/bits/syslog.h: Likewise.
12170 * misc/err.h: Likewise.
12171 * misc/error.h: Likewise.
12172 * misc/fstab.h: Likewise.
12173 * misc/mntent.h: Likewise.
12174 * misc/regexp.h: Likewise.
12175 * misc/search.h: Likewise.
12176 * misc/sgtty.h: Likewise.
12177 * misc/sys/mman.h: Likewise.
12178 * misc/sys/syslog.h: Likewise.
12179 * misc/sys/uio.h: Likewise.
12180 * misc/sys/xattr.h: Likewise.
12181 * misc/ttyent.h: Likewise.
12182 * nis/rpcsvc/ypclnt.h: Likewise.
12183 * nss/nss.h: Likewise.
12184 * posix/bits/unistd.h: Likewise.
12185 * posix/fnmatch.h: Likewise.
12186 * posix/glob.h: Likewise.
12187 * posix/sched.h: Likewise.
12188 * posix/spawn.h: Likewise.
12189 * posix/sys/wait.h: Likewise.
12190 * posix/unistd.h: Likewise.
12191 * posix/wordexp.h: Likewise.
12192 * pwd/pwd.h: Likewise.
12193 * resolv/netdb.h: Likewise.
12194 * resource/sys/resource.h: Likewise.
12195 * rt/aio.h: Likewise.
12196 * rt/bits/mqueue2.h: Likewise.
12197 * rt/mqueue.h: Likewise.
12198 * shadow/shadow.h: Likewise.
12199 * signal/signal.h: Likewise.
12200 * socket/send.c: Likewise.
12201 * socket/sendto.c: Likewise.
12202 * socket/sys/socket.h: Likewise.
12203 * stdio-common/printf.h: Likewise.
12204 * stdlib/bits/stdlib.h: Likewise.
12205 * stdlib/fmtmsg.h: Likewise.
12206 * stdlib/monetary.h: Likewise.
12207 * stdlib/stdlib.h: Likewise.
12208 * stdlib/ucontext.h: Likewise.
12209 * streams/stropts.h: Likewise.
12210 * string/argz.h: Likewise.
12211 * string/bits/string2.h: Likewise.
12212 * string/string.h: Likewise.
12213 * string/strings.h: Likewise.
12214 * sunrpc/rpc/auth.h: Likewise.
12215 * sunrpc/rpc/auth_des.h: Likewise.
12216 * sunrpc/rpc/clnt.h: Likewise.
12217 * sunrpc/rpc/netdb.h: Likewise.
12218 * sunrpc/rpc/pmap_clnt.h: Likewise.
12219 * sunrpc/rpc/xdr.h: Likewise.
12220 * sysdeps/generic/inttypes.h: Likewise.
12221 * sysdeps/generic/net/if.h: Likewise.
12222 * sysdeps/generic/sys/swap.h: Likewise.
12223 * sysdeps/gnu/net/if.h: Likewise.
12224 * sysdeps/gnu/utmpx.h: Likewise.
12225 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12226 * sysdeps/i386/i486/bits/string.h: Likewise.
12227 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12228 * sysdeps/s390/bits/string.h: Likewise.
12229 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12230 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12231 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12232 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12233 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12234 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12235 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12236 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12237 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12238 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12239 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12240 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12241 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12242 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12243 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12244 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12245 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12247 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12249 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12250 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12251 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12252 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12253 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12254 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12255 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12257 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12258 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12259 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12260 * sysvipc/sys/ipc.h: Likewise.
12261 * sysvipc/sys/msg.h: Likewise.
12262 * sysvipc/sys/sem.h: Likewise.
12263 * sysvipc/sys/shm.h: Likewise.
12264 * termios/termios.h: Likewise.
12265 * time/sys/time.h: Likewise.
12266 * time/time.h: Likewise.
12267 * wcsmbs/bits/wchar2.h: Likewise.
12268 * wcsmbs/uchar.h: Likewise.
12269 * wcsmbs/wchar.h: Likewise.
12270 * wctype/wctype.h: Likewise.
12271
0269750c
UD
12272 [BZ #13551]
12273 * Makeconfig: Remove all but ELF support including AIX support.
12274 * Makerules: Likewise.
12275 * config.h.in: Likewise.
12276 * config.make.in: Likewise.
12277 * configure: Likewise.
12278 * configure.in: Likewise.
12279 * csu/Makefile: Likewise.
12280 * csu/version.c: Likewise.
12281 * debug/Makefile: Likewise.
12282 * dlfcn/Makefile: Likewise.
12283 * elf/Makefile: Likewise.
12284 * extra-lib.mk: Likewise.
12285 * iconv/Makefile: Likewise.
12286 * include/libc-symbols.h: Likewise.
12287 * include/shlib-compat.h: Likewise.
12288 * resolv/Makefile: Likewise.
12289 * resolv/res_libc.c: Likewise.
12290 * rt/Makefile: Likewise.
12291 * sysdeps/i386/asm-syntax.h: Likewise.
12292 * sysdeps/i386/sysdep.h: Likewise.
12293 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12294 * sysdeps/mach/sysdep.h: Likewise.
12295 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12296 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12297 * sysdeps/s390/asm-syntax.h: Likewise.
12298 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12300 * sysdeps/sh/sysdep.h: Likewise.
12301 * sysdeps/unix/sparc/sysdep.h: Likewise.
12302 * sysdeps/wordsize-32/divdi3.c: Likewise.
12303 * sysdeps/x86_64/sysdep.h: Likewise.
12304
00bbd29b
UD
12305 * argp/Versions: Remove _argp_unlock_xxx.
12306
12307 [BZ #13559]
12308 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12309 * abilist/libBrokenLocale.abilist: Likewise.
12310 * abilist/libanl.abilist: Likewise.
12311 * abilist/libc.abilist: Likewise.
12312 * abilist/libcrypt.abilist: Likewise.
12313 * abilist/libdl.abilist: Likewise.
12314 * abilist/libm.abilist: Likewise.
12315 * abilist/libnsl.abilist: Likewise.
12316 * abilist/libpthread.abilist: Likewise.
12317 * abilist/libresolv.abilist: Likewise.
12318 * abilist/librt.abilist: Likewise.
12319 * abilist/libthread_db.abilist: Likewise.
12320 * abilist/libutil.abilist: Likewise.
12321 * abilist/libnss_db.abilist: New file.
12322
12323 * scripts/abilist.awk: Add support for indirect functions.
12324
a2693a0e
UD
12325 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12326
3f05895f
UD
12327 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12328
ecb6fb48
UD
12329 * shlib-versions: Remove entries for ports architectures.
12330
664f8cb9
UD
12331 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12332 files in ports.
12333 * elf/stackguard-macros.h: Remove support for IA-64.
12334 * elf/tst-auditmod1.c: Likewise.
12335 * sysdeps/generic/ldsodefs.h: Likewise.
12336
7ae81d88
UD
12337 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12338 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12339 configure files.
12340
bdeba135
UD
12341 [BZ #13552]
12342 * configure.in: Remove --enable-omitfp support.
12343 * FAQ.in: Adjust.
12344 * config.make.in: Likewise.
12345 * Makeconfig: Likewise.
12346 * manual/install.texi: Likewise.
12347
d75a0a62
UD
12348 In case anyone cares, the IA-64 architecture could move to ports.
12349 * sysdeps/ia64/*: Removed.
12350 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12351 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12352
dcc9756b
UD
12353 [BZ #13555]
12354 * configure.in: Remove entries for unsupported architectures.
12355
d3761ebc 12356 [BZ #13533]
9954432e
UD
12357 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12358 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12359 routines.
12360 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12361 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12362 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12363 fall back to using wcrtomb.
12364 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12365 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12366 renaming.
12367 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12368 * wcsmbs/tst-c16c32-1.c: New file.
12369
12370 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12371 local variable.
12372
c3a87236
UD
12373 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12374
28926a1b
UD
12375 * elf/tst-unique3.cc: Add explicit declaration of gets.
12376 * elf/tst-unique3lib.cc: Likewise.
12377 * elf/tst-unique3lib2.cc: Likewise.
12378 * elf/tst-unique4.cc: Likewise.
12379
df78418a
UD
12380 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12381
8ecd6b2a
JM
123822012-01-06 Joseph Myers <joseph@codesourcery.com>
12383
12384 [BZ #13566]
12385 * assert/assert.h (static_assert): Don't define for C++.
12386 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12387 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12388
9f115170
UD
123892012-01-03 Ulrich Drepper <drepper@gmail.com>
12390
5e0d0300
UD
12391 * iconv/loop.c (single loop): Fix assertion in storing of
12392 remaining bytes.
12393
9f115170
UD
12394 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12395
81fb02b0
UD
123962012-01-01 Ulrich Drepper <drepper@gmail.com>
12397
12398 * posix/getconf.c: Update copyright year.
12399 * nss/getent.c: Likewise.
a316c1f6 12400 * nss/makedb.c: Likewise.
81fb02b0
UD
12401 * iconv/iconvconfig.c: Likewise.
12402 * iconv/iconv_prog.c: Likewise.
12403 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12404 * elf/pldd.c: Likewise.
12405 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12406 * catgets/gencat.c: Likewise.
12407 * csu/version.c: Likewise.
12408 * elf/ldd.bash.in: Likewise.
12409 * elf/sprof.c (print_version): Likewise.
12410 * locale/programs/locale.c: Likewise.
12411 * locale/programs/localedef.c: Likewise.
a316c1f6 12412 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12413 * nscd/nscd.c (print_version): Likewise.
12414 * debug/xtrace.sh: Likewise.
12415 * malloc/memusage.sh: Likewise.
12416 * malloc/mtrace.pl: Likewise.
12417 * debug/catchsegv.sh: Likewise.
12418
2ba92745
JJ
124192011-12-30 Jakub Jelinek <jakub@redhat.com>
12420
12421 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12422 pure attribute.
12423
dadebdae
UD
124242011-12-24 Ulrich Drepper <drepper@gmail.com>
12425
d3761ebc 12426 [BZ #13533]
db6af3eb
UD
12427 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12428 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12429 transformations.
12430 * iconv/gconv_int.h: Likewise.
12431 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12432 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12433 from libc for GLIBC_2.16.
12434 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12435 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12436 * wcsmbs/uchar.h: Really define mbstate_t.
12437 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12438 * wcsmbs/c16rtomb.c: New file.
12439 * wcsmbs/mbrtoc16.c: New file.
12440 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12441 for C/POSIX locale.
12442 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12443 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12444
dadebdae
UD
12445 * wcsmbs/wchar.h: Add missing __restrict.
12446
67371b56
UD
124472011-12-23 Ulrich Drepper <drepper@gmail.com>
12448
74033a25
UD
12449 [BZ #13532]
12450 * time/Makefile (routines): Add timespec_get.
12451 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12452 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12453 timespec for ISO C11.
12454 * time/timespec_get.c: New file.
12455 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12456 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12457
380d7e87
UD
12458 [BZ #13531]
12459 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12460 * stdlib/stdlib.h: Declare aligned_alloc.
12461 * Versions.def: Add GLIBC_2.16 for libc.
12462 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12463
4e9e7a35
UD
12464 [BZ 13527]
12465 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12466 ISO C11.
12467
380d7e87 12468 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12469 code.
12470
03a71829
UD
12471 [BZ #13528]
12472 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12473
839e283e
UD
12474 [BZ #13529]
12475 * assert/assert.h (static_assert): Define.
12476
ce5294e2 12477 * version.h: Update for 2.16 development version.
90fa7312 12478
8d44e150 12479 [BZ #13526]
d7809905
UD
12480 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12481 _ISOC11_SOURCE.
12482
c0da14cd
UD
12483 * version.h (RELEASE): Bump for 2.15 release.
12484 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12485
530a3249
MP
12486 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12487 Patch by Marek Polacek <mpolacek@redhat.com>.
12488
67371b56
UD
12489 * bits/byteswap.h: Protect long long constants with __extension__.
12490 * sysdeps/i386/bits/byteswap.h: Likewise.
12491 * sysdeps/ia64/bits/byteswap.h: Likewise.
12492 * sysdeps/s390/bits/byteswap.h: Likewise.
12493 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12494
15db4de1
LD
124952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12496
12497 [BZ #13540]
bbe315ea
LD
12498 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12499 destination buffer.
15db4de1
LD
12500 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12501
2b2596b1
MP
125022011-12-23 Marek Polacek <polacek@redhat.com>
12503
12504 * elf/dl-addr.c (determine_info): Add inline keyword.
12505 * elf/tst-auditmod4b.c (check_avx): Likewise.
12506 * elf/tst-auditmod6b.c (check_avx): Likewise.
12507 * elf/tst-auditmod6c.c (check_avx): Likewise.
12508 * elf/tst-auditmod7b.c (check_avx): Likewise.
12509
70c6c246
UD
125102011-12-23 Ulrich Drepper <drepper@gmail.com>
12511
12512 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12513 !__SSE_MATH__.
12514
c044cf14
LD
125152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12516
15db4de1 12517 [BZ #13540]
c044cf14
LD
12518 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12519 processing for last bytes.
12520
6b13d9d9
BH
125212011-08-06 Bruno Haible <bruno@clisp.org>
12522
d455f537
BH
12523 [BZ #13061]
12524 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12525 U+0385, not to U+1FEE.
12526
6b13d9d9
BH
12527 [BZ #13062]
12528 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12529 entry for U+00A5 U+0301.
12530
db910efd
UD
125312011-12-22 Ulrich Drepper <drepper@gmail.com>
12532
27deeafc
UD
12533 [BZ #13166]
12534 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12535 buffer for the output is too small.
12536
aed9d171
UD
12537 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12538 optimization.
12539
db910efd
UD
12540 [BZ #13185]
12541 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12542 SSE flags if possible.
12543
2bd779ae
LD
125442011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12545
e7f9dac3 12546 [BZ #13540]
2bd779ae
LD
12547 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12548 processing for last bytes.
12549
154bfc16
JM
125502011-12-22 Joseph Myers <joseph@codesourcery.com>
12551
12552 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12553 (syscall-list-default-options, syscall-list-default-condition)
12554 (syscall-list-includes): Define.
12555 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12556 list of ABIs and options and #if conditions for each ABI. Do not
12557 handle common syscalls between ABIs specially.
12558 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12559 Remove.
12560 (syscall-list-variants, syscall-list-32bit-options)
12561 (syscall-list-32bit-condition, syscall-list-64bit-options)
12562 (syscall-list-64bit-condition): Define.
12563 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12564 (syscall-list-variants, syscall-list-32bit-options)
12565 (syscall-list-32bit-condition, syscall-list-64bit-options)
12566 (syscall-list-64bit-condition): Define.
12567 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12568 Remove.
12569 (syscall-list-variants, syscall-list-32bit-options)
12570 (syscall-list-32bit-condition, syscall-list-64bit-options)
12571 (syscall-list-64bit-condition): Define.
12572 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12573 Remove.
12574 (syscall-list-variants, syscall-list-32bit-options)
12575 (syscall-list-32bit-condition, syscall-list-64bit-options)
12576 (syscall-list-64bit-condition): Define.
12577
21eaf3a5
UD
125782011-12-22 Ulrich Drepper <drepper@gmail.com>
12579
16c6f992
UD
12580 * locale/iso-639.def: Add brx entry.
12581
41043168
UD
12582 [BZ #13328]
12583 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12584 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12585
21eaf3a5
UD
12586 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12587 __feraiseexcept_renamed.
12588
e3a851a2
UD
125892011-12-21 Ulrich Drepper <drepper@gmail.com>
12590
4920765e
UD
12591 [BZ #13538]
12592 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12593 EPOLLET with unsigned values.
12594 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12595 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12596
e3a851a2
UD
12597 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12598 to large cancellation.
12599 * math/s_cacoshf.c: Likewise.
12600 * math/s_cacoshl.c: Likewise.
12601
b27e24b8
RK
126022011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12603
12604 [BZ #13305]
aebefeee 12605 [BZ #12786]
b27e24b8
RK
12606 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12607 * math/s_cacoshf.c: Likewise.
12608 * math/s_cacoshl.c: Likewise.
12609
ee190f67
UD
126102011-12-21 Ulrich Drepper <drepper@gmail.com>
12611
12612 [BZ #13439]
12613 * iconv/gconv.h: Define __GCONV_SWAP.
12614 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12615 * iconvdata/utf-16.c: Likewise.
12616 * iconvdata/utf-32.c: Likewise.
12617
707f25df
AS
126182011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12619
12620 [BZ #13524]
12621 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12622 numerator after shifting it by one limb.
12623
d2daaa1e
RÁE
126242011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12625
12626 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12627 under [__USE_EXTERN_INLINES].
12628
a4647e72
UD
126292011-12-17 Ulrich Drepper <drepper@gmail.com>
12630
12631 [BZ #13446]
12632 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12633
f0b264f1
AZ
126342011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12635
12636 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12637 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12638 optimized code.
12639 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12640 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12641 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12642 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12643 for strncasecmp/strncasecmp_l compilation.
12644 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12645 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12646
8ef4f244
MP
126472011-12-08 Marek Polacek <mpolacek@redhat.com>
12648
12649 [BZ #13484]
12650 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12651 of __asm__.
12652
97ac2654
UD
126532011-12-17 Ulrich Drepper <drepper@gmail.com>
12654
12655 [BZ #13506]
12656 * time/tzfile.c (__tzfile_read): Check values from file header.
12657
91d2a845
WS
126582011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12659
12660 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12661 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12662 * powerpc/powerpc32/dl-start.S: Likewise.
12663 * powerpc/powerpc32/elf/start.S: Likewise.
12664 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12665 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12666 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12667 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12668 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12669 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12670 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12671 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12672 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12673 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12674 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12675 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12676 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12677 * powerpc/powerpc32/memset.S: Likewise.
12678 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12679 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12680 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12681 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12682 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12683 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12684 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12685 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12686 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12687 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12688 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12689 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12690 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12691
a1267ba1
AZ
126922011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12693
12694 * math/libm-test.inc: Added more nearbyint tests.
12695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12698 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12699
ad8ac1bd
RL
127002011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12701
12702 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12703 FD_CLOEXEC.
12704
1d3e4b61
UD
127052011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12706
12707 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12708 Add wcscpy-ssse3 wcscpy-c.
12709 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12710 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12711 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12712 * sysdeps/x86_64/wcschr.S: New file.
12713 * sysdeps/x86_64/wcsrchr.S: New file.
12714 * string/test-strcmp.c: Remove checking of wcscmp function for
12715 wrong alignments.
12716 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12717 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12718 wcsrchr-sse2 wcsrchr-c.
12719 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12720 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12721 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12722 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12723 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12724 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12725 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12726 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12727 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12728 * wcsmbc/wcschr.c (WCSCHR): New macro.
12729
5b330a2d
UD
127302011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12731
12732 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12733 * wcsmbs/test-wcsrchr.c: New file.
12734 * string/test-strrchr.c: Add wcsrchr support.
12735 (WIDE): New macro.
12736 * wcsmbs/test-wcscpy.c: New file.
12737 * string/test-strcpy.c: Add wcscpy support.
12738 (WIDE): New macro.
26428b7c 12739
f039c043
UD
127402011-12-10 Ulrich Drepper <drepper@gmail.com>
12741
12742 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12743 the inner loop.
12744
850fb039
AS
127452011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12746
12747 [BZ #13472]
12748 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12749
4efbd5cb
UD
127502011-12-04 Ulrich Drepper <drepper@gmail.com>
12751
52ff5dd0 12752 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12753 Minor optimizations.
52ff5dd0 12754
4efbd5cb
UD
12755 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12756 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12757 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12758
8a426e12
UD
127592011-12-03 Ulrich Drepper <drepper@gmail.com>
12760
aff2453d
UD
12761 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12762 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12763 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12764 for gcc to avoid warnings.
12765 * inet/Makefile (tests): Add tst-checks.
12766 * inet/tst-checks.c: New file.
12767
12768 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12769 warning.
12770
12771 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12772 __wmemcmp_sse2.
12773
12774 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12775 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12776
8a426e12
UD
12777 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12778
9bea3473
UD
127792011-12-02 Ulrich Drepper <drepper@gmail.com>
12780
3a965496
UD
12781 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12782 problem.
12783
9bea3473
UD
12784 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12785
f101631b
UD
127862011-11-29 Joseph Myers <joseph@codesourcery.com>
12787
12788 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12789 conditional on GCC version.
12790 (__arch_compare_and_exchange_val_8_acq)
12791 (__arch_compare_and_exchange_val_16_acq)
12792 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12793 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12794 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12795
a98275aa
UD
127962011-12-02 Joseph Myers <joseph@codesourcery.com>
12797
12798 * sysdeps/sh/backtrace.c: New file.
12799
d4cc29a2
AS
128002011-12-02 Andreas Schwab <schwab@redhat.com>
12801
12802 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12803 parenthesis.
12804
6257af2d
AS
128052011-12-01 Andreas Schwab <schwab@redhat.com>
12806
12807 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12808 falling back to utime.
12809
b5f44c1a
AS
128102011-11-30 Andreas Schwab <schwab@redhat.com>
12811
12812 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12813 expectations for float.
12814
f3a6cc0a
AS
128152011-11-29 Andreas Schwab <schwab@redhat.com>
12816
12817 * locale/weight.h (findidx): Add parameter len.
12818 * locale/weightwc.h (findidx): Likewise.
12819 * posix/fnmatch_loop.c (FCT): Adjust caller.
12820 * posix/regcomp.c (build_equiv_class): Likewise.
12821 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12822 * posix/regexec.c (check_node_accept_bytes): Likewise.
12823 * string/strcoll_l.c (STRCOLL): Likewise.
12824 * string/strxfrm_l.c (STRXFRM): Likewise.
12825
9d65ea3a
UD
128262011-11-17 Ulrich Drepper <drepper@gmail.com>
12827
12828 * Makefile.in: Remove CVSOPT handling.
12829 * configure.in: Remove use of AC_REVISION.
12830 * iconvdata/Makefile (distribute): No need to filter out CVS.
12831 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12832 handling.
12833
5583a086
AS
128342011-11-16 Andreas Schwab <schwab@redhat.com>
12835
12836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12837 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12838 [USE_AS_STRNCASECMP_L]: Likewise.
12839 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12840 NO_TLS_DIRECT_SEG_REFS.
12841 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12842 Fix argument offsets for non-PIC.
12843 [USE_AS_STRNCASECMP_L]: Likewise.
12844 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12845 NO_TLS_DIRECT_SEG_REFS.
12846
d62a8200
UD
128472011-11-15 Ulrich Drepper <drepper@gmail.com>
12848
9d65ea3a 12849 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12850 O_CLOEXEC.
12851 * locale/loadlocale.c (_nl_load_locale): Likewise.
12852
09f93bd3
AS
128532011-11-15 Andreas Schwab <schwab@redhat.com>
12854
446514f9
AS
12855 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12856 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12857 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12858 (SYSCALL_GETTIME): Set errno on error.
12859
09f93bd3
AS
12860 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12861 count references to noai6ai_cached.
12862
312be3f9
UD
128632011-11-15 Ulrich Drepper <drepper@gmail.com>
12864
12865 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12866
12867 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12868 FD_CLOEXEC for /proc/self/maps.
12869
12870 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12871 FD_CLOEXEC for /proc/meminfo.
12872
12873 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12874 gai.conf.
12875
12876 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12877 FD_CLOEXEC for given file.
12878
12879 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12880
12881 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12882 FD_CLOEXEC for /etc/hosts.
12883 (_gethtent): Likewise.
12884
12885 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12886
12887 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12888 cancellation and set FD_CLOEXEC for /etc/netgroup.
12889
12890 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12891 reading /etc/publickey.
12892
12893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12894 allow cancellation when reading /etc/group.
12895
12896 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12897 cancellation.
12898 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12899
12900 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12901 when using data file.
12902
12903 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12904
12905 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12906 (write_nis_obj): Use "c" and "e" in fopen.
12907
12908 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12909
12910 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12911
12912 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12913
12914 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12915
12916 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12917 locale.alias.
12918
12919 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12920
12921 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12922
12923 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12924
12925 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12926 file parsing and set FD_CLOEXEC.
12927
82af0fa8
UD
129282011-11-14 Ulrich Drepper <drepper@gmail.com>
12929
12930 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12931
a5fb313c
AS
129322011-11-14 Andreas Schwab <schwab@redhat.com>
12933
12934 * malloc/arena.c (arena_get2): Don't call reused_arena when
12935 _int_new_arena failed.
12936
6abf3465
UD
129372011-11-14 Ulrich Drepper <drepper@gmail.com>
12938
12939 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12940 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12942 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12943 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12944 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12945 to compile strcasecmp and strncasecmp.
12946 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12947 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12948
12949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12950
76e3966e
UD
129512011-11-13 Ulrich Drepper <drepper@gmail.com>
12952
12953 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12954 locale-defines.sym to gen-as-const-headers.
12955 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12956 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12958 to compile strcasecmp and strncasecmp.
12959 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12960 strcasecmp_l and strncasecmp_l.
12961 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12962 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12963 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12964 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12965 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12966 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12967 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12968 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12969 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12970 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12971 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12972
ab26144e
UD
129732011-11-12 Ulrich Drepper <drepper@gmail.com>
12974
7edb22ef
UD
12975 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12976 result of SYSDEP_GETTIME_CPU to retval.
12977 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12978 parameter list to macro. Remove trailing semicolon. Adjust users.
12979
9694fc44
UD
12980 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12981 variable.
12982
8ad89ef8
UD
12983 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12984 mantissa words.
12985 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12986
0c822ef9
UD
12987 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12988 from unused variable.
12989
874e0564
UD
12990 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12991 DWARF definitions.
12992 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12993 for assembling.
12994
3a2edc79
UD
12995 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12996 over namespaces.
12997
f3c2577f
UD
12998 * sunrpc/rpc_prot.c (rejected): Fix case value.
12999
294ce126
UD
13000 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
13001 unsigned long long int to avoid warnings in shift.
13002
5e2b63c6
UD
13003 * posix/regex_internal.c (re_string_reconstruct): Actually use result
13004 of use of trans.
13005 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
13006 variable tmp.
13007
e7f4b08e
UD
13008 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
13009 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13010 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13011
ab26144e
UD
13012 * nis/nis_table.c (nis_list): Use variable of correct type for
13013 result of __follow_path call.
13014
8a6d5255
AZ
130152011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13016
13017 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
13018 of math functions ceil, trunc, floor, round, and sqrt, when
13019 avaliable on the platform.
13020 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
13021 name clash.
13022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13025
aaddc98c
MP
130262011-10-30 Marek Polacek <mpolacek@redhat.com>
13027
13028 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
13029 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13030
95b7042b
RM
130312011-11-11 Roland McGrath <roland@hack.frob.com>
13032
13033 * include/unistd.h: Fix __readlink return type.
13034 Reported by Chris Metcalf <cmetcalf@tilera.com>.
13035
57769839
UD
130362011-11-11 Ulrich Drepper <drepper@gmail.com>
13037
13038 * stdlib/ucontext.h: Undo last change for makecontext.
13039
edc5984d
AS
130402011-11-11 Andreas Schwab <schwab@redhat.com>
13041
98591e58
AS
13042 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
13043
edc5984d
AS
13044 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
13045 * setjmp/setjmp.h: Mark functions as non-leaf.
13046 * setjmp/bits/setjmp2.h: Likewise.
13047 * stdlib/ucontext.h: Likewise.
13048
77cdc054
AS
130492011-11-10 Andreas Schwab <schwab@redhat.com>
13050
13051 * malloc/arena.c (_int_new_arena): Don't increment narenas.
13052 (reused_arena): Don't check arena limit.
13053 (arena_get2): Atomically check arena limit.
13054
fe72eebd
UD
130552011-11-08 Ulrich Drepper <drepper@gmail.com>
13056
5f078c32
UD
13057 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
13058 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
13059
fe72eebd
UD
13060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
13061 instructions.
13062
ae1bc2fa
AS
130632011-11-07 Andreas Schwab <schwab@redhat.com>
13064
7583a88d
AS
13065 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
13066 handler when locking.
13067
ae1bc2fa
AS
13068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13069 Fix size of allocated buffer.
13070
10fb0bfa
AS
130712011-11-04 Andreas Schwab <schwab@redhat.com>
13072
998832a4
AS
13073 [BZ #10103]
13074 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
13075 declarations for long double functions.
13076 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
13077
10fb0bfa
AS
13078 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
13079
3d7ba52b
AS
130802011-11-03 Andreas Schwab <schwab@redhat.com>
13081
a9ae54a1
AS
13082 * nscd/nscd.c (main): Don't start AVC thread until credentials are
13083 installed.
13084
3d7ba52b
AS
13085 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13086 is disabled.
13087
bc8db248
ST
130882011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13089
13090 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13091
45b96dd6
AS
130922011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13093
647776f6
AS
13094 * include/alloca.h (stackinfo_alloca_round): Define.
13095 (extend_alloca): Use it.
13096 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13097 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13098 here.
13099
d91a8b93
AS
13100 * scripts/check-local-headers.sh: Ignore libaudit.h.
13101
45b96dd6
AS
13102 * nscd/Makefile (extra-objs): Make recursively expanded.
13103
432d41ce
UD
131042011-11-01 Ulrich Drepper <drepper@gmail.com>
13105
34372fc6
UD
13106 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13108
fadb59f8
UD
13109 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13110 * posix/tst-rfc3484-2.c: Likewise.
13111 * posix/tst-rfc3484-3.c: Likewise.
13112
78239589
UD
13113 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13114 process_vm_writev.
13115 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13116 process_vm_writev.
13117 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13118 process_vm_writev from libc using GLIBC_2.15 version.
13119
432d41ce
UD
13120 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13121
02f9c6cf
PP
131222011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13123
13124 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13125 stack usage.
13126
3a2c0242
UD
131272011-10-31 Ulrich Drepper <drepper@gmail.com>
13128
f4ec4833
UD
13129 [BZ #13367]
13130 * nss/getent.c (initgroups_keys): Show error message in case no group
13131 names are given.
13132
3a2c0242
UD
13133 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13134 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13135 __bump_nl_timestamp.
13136 * nscd/connections (nscd_init): When host database is served open
13137 netlink socket and request notification about configuration changes.
13138 (main_loop_poll): Track netlink file descriptor and bump timestamp
13139 in case data becomes available.
13140 (main_loop_epoll): Likewise.
13141 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13142 (database_pers_head): Add extra_data fileds.
13143 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13144 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13145 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13146 Adjust caller.
13147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13148 in6ai data, call __free_in6ai.
13149 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13150 Add -DHAVE_NETLINK.
13151 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13152 interface information. Reuse previous data if netlink timestamp
13153 is not changed.
13154 (__bump_nl_timestamp): New function.
13155 (__free_in6ai): New function.
13156
636064eb
UD
131572011-10-30 Ulrich Drepper <drepper@gmail.com>
13158
13159 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13160 close_not_cancel_no_status here.
13161 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13162
9beb2334
UD
131632011-10-29 Ulrich Drepper <drepper@gmail.com>
13164
6ef76f3b
UD
13165 [BZ #13276]
13166 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13167 return value.
13168
0ffc4f3e 13169 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13170 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13171 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13172
cb95113e
UD
131732011-07-03 Andreas Jaeger <aj@suse.de>
13174
13175 [BZ #10709]
13176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13177 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13178 * math/libm-test.inc (sin_test): Add test case.
13179
a1b560ff
UD
131802011-10-29 Ulrich Drepper <drepper@gmail.com>
13181
c9aaface
UD
13182 [BZ #13337]
13183 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13184 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13185
d272e7f1
UD
13186 * elf/chroot_canon.c (chroot_canon): Cleanups.
13187
1bc33071
UD
13188 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13189
1760874d
TJ
13190 [BZ #13335]
13191 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13192 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13193
51d91b18
UD
13194 * string/test-strchr.c: Make usable for strchrnul testing.
13195 * string/test-strchrnul.c: New file.
13196 * string/Makefile (strop-tests): Add strchrnul.
13197
a1b560ff 13198 * po/it.po: Update from translation team.
b611fb81 13199 * po/es.po: Likewise.
a1b560ff 13200
a5b81e1f
UD
132012011-10-28 Ulrich Drepper <drepper@gmail.com>
13202
fd52bc6d
UD
13203 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13204 the three constants needed as parameters. Drop the others.
13205 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13206 __m128i_strloadu_tolower.
52e4b9eb
UD
13207 Create and initialize variable zero and use it in all the places
13208 where _mm_setzero_si128 was used.
fd52bc6d 13209
a5b81e1f
UD
13210 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13211 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13212 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13214 anymore.
13215 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13216 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13217 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13218 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13219 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13220 __mpranred, __mptan.
13221 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13222 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13223 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13224 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13225 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13226 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13228 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13229 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13230
b4343346
AS
132312011-10-28 Andreas Schwab <schwab@redhat.com>
13232
0c92d8a8
AS
13233 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13234 redefine if SHARED.
13235 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13236
b4343346
AS
13237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13238 wide char related routines to wcsmbs subdir.
13239
3871f58f
AS
132402011-10-27 Andreas Schwab <schwab@redhat.com>
13241
13242 [BZ #13344]
13243 * misc/sys/cdefs.h (__THROWNL): Define.
13244 * posix/unistd.h: Use __THREADNL instead of __THREAD
13245 for memory synchronization functions.
13246
94d44d9f
RM
132472011-10-26 Roland McGrath <roland@hack.frob.com>
13248
21b64b15 13249 [BZ #13349]
94d44d9f
RM
13250 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13251 doesn't exist.
13252 * manual/stdio.texi (Obstack Streams): Node removed.
13253
f6ce9294
AS
132542011-10-26 Andreas Schwab <schwab@redhat.com>
13255
80479147
AS
13256 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13257 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13258 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13259
f6ce9294
AS
13260 * math/math_private.h (math_force_eval): Allow non-addressable
13261 arguments.
13262 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13263
618280a1
UD
132642011-10-25 Ulrich Drepper <drepper@gmail.com>
13265
e0016b11
UD
13266 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13267 file is not needed.
13268
13269 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13270 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13276 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13277 Add AVX variants.
13278 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13279 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13280 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13281 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13282 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13283 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13284 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13285 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13286 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13287 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13288 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13289 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13290 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13291 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13292 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13293 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13294 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13295 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13296 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13297
13298 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13299 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13300
618280a1
UD
13301 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13302 place. Use VEX encoding when compiling for AVX.
13303
37822576
AS
133042011-10-25 Andreas Schwab <schwab@redhat.com>
13305
1f1e1947
AS
13306 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13307 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13308
37822576
AS
13309 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13310
31ea014d
UD
133112011-10-25 Ulrich Drepper <drepper@gmail.com>
13312
d7826aa1 13313 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13314 useless if() expression.
d7826aa1
UD
13315 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13324 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13326 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13327 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13328 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13329 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13330 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13331 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13333 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13334
31ea014d
UD
13335 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13336
16437fec
AS
133372011-10-25 Andreas Schwab <schwab@redhat.com>
13338
13339 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13340 condition.
13341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13342
31d3cc00
UD
133432011-10-25 Ulrich Drepper <drepper@gmail.com>
13344
13345 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13346 .text section. Avoid duplicate constants.
13347 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13357 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13359 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13362 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13364 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13370 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13371 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13372 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13373 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13374 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13375 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13376 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13377 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13378 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13379 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13380 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13381 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13382 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13383 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13385 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13386 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13387 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13388 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13389 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13390 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13391 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13392
58985aa9
UD
133932011-10-24 Ulrich Drepper <drepper@gmail.com>
13394
202c9deb
UD
13395 * sysdeps/x86_64/dla.h: Move to ...
13396 * sysdeps/x86_64/fpu/dla.h: ...here.
13397 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13398 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13399
af968f62
UD
13400 * config.make.in: Add have-mfma4 entry.
13401 * configure.in: Substitute libc_cv_cc_fma4.
13402 * math/Makefile (dbl-only-routines): Add sincostab.
13403 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13404 Use __sincostab not sincos.
13405 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13406 name is a macro.
13407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13411 using __copysign.
13412 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13413 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13414 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13415 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13416 and __inv.
13417 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13418 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13419 __copysign.
13420 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13421 define aliases when function name is a macro.
13422 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13423 sysdeps/ieee754/dbl-64/sincos.tbl.
13424 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13425 fma4-enabled routines.
13426 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13427 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13428 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13429 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13430 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13431 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13432 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13433 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13434 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13435 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13436 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13437 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13438 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13439 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13440 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13441 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13442 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13443 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13444 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13445 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13446 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13447 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13449 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13451 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13452 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13453 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13454 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13455 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13456
58985aa9
UD
13457 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13458 rename.
13459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13467
a201fbcf
AS
134682011-10-24 Andreas Schwab <schwab@redhat.com>
13469
13470 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13471
fc2ee42a
LD
134722011-10-23 Ulrich Drepper <drepper@gmail.com>
13473
bb3129bd
UD
13474 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13475
0275fff8
UD
13476 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13477 prediction.
13478 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13479
2fa2ae85
UD
13480 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13481 Remove unused variable magic_bits.
13482 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13483
fc2ee42a
LD
13484 * string/strnlen.c: Define and use STRNLEN macro.
13485 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13486 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13488 * wcsmbs/wcslen.c: Define and use WCSLEN.
13489 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13490 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13491 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13492 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13493 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13494 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13495 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13496
ce7dd29f
LD
134972011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13498
13499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13500 strnlen-sse2-no-bsf.
13501 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13503 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13504 Add strnlen support.
13505 (USE_AS_STRNLEN): New macro.
13506 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13507 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13508 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13509 * sysdeps/x86_64/wcslen.S: New file.
13510
979c70a3
MZ
135112011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13512
13513 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13514 XMM-moves are used for copying on small sizes.
13515
2d09f82f
LD
135162011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13517
13518 * wcsmbs/Makefile (strop-tests): Add wcschr.
13519 * wcsmbs/test-wcschr.c: New file.
13520 * string/test-strchr.c: Update.
13521 Add wcschr support.
13522 (WIDE): New macro.
13523
619fccca
LD
135242011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13525
2d09f82f 13526 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13527 * wcsmbs/test-wcslen.c: New file.
13528 * string/test-strlen.c: Update.
13529 Add wcslen support.
13530 (WIDE): New macro.
13531
09f699ea
UD
135322011-10-23 Ulrich Drepper <drepper@gmail.com>
13533
13534 * po/it.po: Update from translation team.
13535
95584d3b
LD
135362011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13537
13538 * sysdeps/x86_64/wcscmp.S: Update.
13539 Fix wrong comparison semantics.
13540 wcscmp shall use signed comparison not unsigned.
13541 Don't use substraction to avoid overflow bug.
13542 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13543 * wcsmbc/wcscmp.c: Likewise.
13544 * string/test-strcmp.c: Likewise.
13545 Add new tests to check cases with negative values.
13546
c8b3296b
UD
135472011-10-23 Ulrich Drepper <drepper@gmail.com>
13548
13549 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13550 * sysdeps/x86_64/dla.h: ...here. New file.
13551 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13560
246ad57a
AS
135612011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13562
13563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13564 __ynl_finite aliases.
13565
a1a87169
UD
135662011-10-22 Ulrich Drepper <drepper@gmail.com>
13567
0d355eb7
UD
13568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13569
a1a87169
UD
13570 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13571 define DLA_FMA.
13572 [DLA_FMA] (EMULV): Use DLA_FMA.
13573 [DLA_FMA] (MUL12): Use EMULV.
13574 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13575 that are not needed.
13576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13583
ee2aafe0
AS
135842011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13585
13586 * math/s_nan.c: Undef __nan.
13587 * math/s_nanf.c: Undef __nanf.
13588 * math/s_nanl.c: Undef __nanl.
13589 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13590 "math_private.h".
13591
bc62c2fb
UD
135922011-10-22 Ulrich Drepper <drepper@gmail.com>
13593
77425c63
UD
13594 * math/s_catan.c: Add branch predictions.
13595 * math/s_catanf.c: Likewise.
13596 * math/s_catanh.c: Likewise.
13597 * math/s_catanhf.c: Likewise.
13598 * math/s_catanhl.c: Likewise.
13599 * math/s_catanl.c: Likewise.
13600 * math/s_cexp.c: Likewise.
13601 * math/s_cexpf.c: Likewise.
13602 * math/s_cexpl.c: Likewise.
13603 * math/s_clog.c: Likewise.
13604 * math/s_clog10.c: Likewise.
13605 * math/s_clog10f.c: Likewise.
13606 * math/s_clog10l.c: Likewise.
13607 * math/s_clogf.c: Likewise.
13608 * math/s_clogl.c: Likewise.
13609 * math/s_csqrt.c: Likewise.
13610 * math/s_csqrtf.c: Likewise.
13611 * math/s_csqrtl.c: Likewise.
13612 * math/s_ctanf.c: Likewise.
13613 * math/s_ctanh.c: Likewise.
13614 * math/s_ctanhf.c: Likewise.
13615 * math/s_ctanhl.c: Likewise.
13616 * math/s_ctanl.c: Likewise.
13617
bc62c2fb
UD
13618 * math/math_private.h: Define __nan, __nanf, __nanl.
13619 * math/s_cacosh.c: Include <math_private.h>.
13620 * math/s_cacoshl.c: Likewise.
13621 * math/s_casinh.c: Likewise.
13622 * math/s_casinhf.c: Likewise.
13623 * math/s_casinhl.c: Likewise.
13624 * math/s_ccos.c: Rely entire on ccosh.
13625 * math/s_ccosf.c: Rely entire on ccoshf.
13626 * math/s_ccosl.c: Rely entirely on ccoshl.
13627 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13628 Remove tests for FE_INVALID.
13629 * math/s_ccoshf.c: Likewise.
13630 * math/s_ccoshl.c: Likewise.
13631 * math/s_csin.c: Likewise.
13632 * math/s_csinf.c: Likewise.
13633 * math/s_csinh.c Likewise.
13634 * math/s_csinhf.c: Likewise.
13635 * math/s_csinhl.c: Likewise.
13636 * math/s_csinl.c: Likewise.
13637 * math/s_ctan.c: Likewise.
13638 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13639 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13640 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13641
8ec250a4
UD
136422011-10-21 Ulrich Drepper <drepper@gmail.com>
13643
c196fed8
UD
13644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13645 compilation problems.
13646
8ec250a4
UD
13647 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13648 __builtin_expect.
13649
8d4f46c6
UD
136502011-10-20 Ulrich Drepper <drepper@gmail.com>
13651
ed72b654
UD
13652 * sysdeps/i386/configure.in: Test for -mfma4 option.
13653 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13654 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13655 COMMON_CPUID_INDEX_80000001.
13656 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13657 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13658 use it if FMA3 is not supported.
13659 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13660
8d4f46c6
UD
13661 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13662 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13663
d45c60c2
AS
136642011-10-20 Andreas Schwab <schwab@redhat.com>
13665
13666 [BZ #12892]
13667 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13668 it would create a cycle with a link time dependency.
13669
d9a4d2ab
UD
136702011-10-19 Ulrich Drepper <drepper@gmail.com>
13671
855d1560
UD
13672 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13673 instruction.
13674 * string/Makefile (strop-tests): Add rawmemchr.
13675 * string/test-rawmemchr.c: New file.
13676
d9a4d2ab
UD
13677 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13678 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13679 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13680 when compiling str{,n}casecmp and when AVX is available. Hook up
13681 new optimized code in initializers.
13682
8f3b1ffe
AS
136832011-10-19 Andreas Schwab <schwab@redhat.com>
13684
13685 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13686 __feraiseexcept instead of feraiseexcept.
13687
d38f1dba
UD
136882011-10-18 Ulrich Drepper <drepper@gmail.com>
13689
d9a8d0ab
UD
13690 * math/math_private.h: Define defaults for libc_fetestexcept and
13691 libc_feupdateenv.
13692 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13693 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13694 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13695 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13696 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13697 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13698 libc_fetestexcept and libc_feupdateenv.
13699
4855e3dd
UD
13700 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13701 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13702 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13703 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13704 libc_feholdexcept_setround.
13705
581d30e3
UD
13706 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13707 Add s_nearbyint-c and s_nearbyintf-c.
13708 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13709 nearbyintf inlines.
13710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13711 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13713 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13714
d38f1dba
UD
13715 * math/math_private.h: Define defaults for libc_fegetround,
13716 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13717 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13718 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13719 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13720 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13721 standard functions.
13722 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13723 Remove comments and hacks for old compiler versions.
13724 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13725 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13726 libc_feholdexceptl.
13727
caa6c9d8
AS
137282011-10-18 Andreas Schwab <schwab@redhat.com>
13729
13730 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13731 (__feraiseexcept_renamed): Add __NTH.
13732 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13733 namespace violations.
13734
97c066e6
UD
137352011-10-17 Ulrich Drepper <drepper@gmail.com>
13736
99ce7b04
UD
13737 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13738
1004d182
UD
13739 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13740
228a984d
UD
13741 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13742 recently added interfaces.
13743 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13744
c8553a6a
UD
13745 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13746 about macro parameter expansion.
13747
ed22dcf6
UD
13748 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13749 __NO_MATH_INLINES is defined. Cleanups.
13750
13751 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13752 and __floorf is target has SSE4.1.
13753 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13754 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13756 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13757
b171c137
UD
13758 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13759 name.
13760 (floorf): Likewise.
13761
97c066e6
UD
13762 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13763
629f62ef
AS
137642011-10-17 Andreas Schwab <schwab@redhat.com>
13765
49a43d80
AS
13766 * misc/sys/cdefs.h: Fix last change.
13767
629f62ef
AS
13768 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13769 database lookup.
13770
e453f6cd
UD
137712011-10-16 Ulrich Drepper <drepper@gmail.com>
13772
aa78043a
UD
13773 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13774
ad0f5cad
UD
13775 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13781 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13782 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13783 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13784 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13785 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13786 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13787 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13788 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13789 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13790 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13791 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13792 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13793 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13794 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13795 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13796 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13797
13798 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13799 ceil, ceilf, floor, floorf.
13800
13801 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13802 Perform IRELATIVE relocations last.
13803
e453f6cd
UD
13804 * elf/do-rel.h: Add another parameter nrelative, replacing the
13805 local variable with the same name. Change name of the function
13806 to end in Rel or Rela (uppercase).
13807 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13808 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13809 elf_dynamic_do_##reloc function.
13810
fd5bdc09
UD
138112011-10-15 Ulrich Drepper <drepper@gmail.com>
13812
79b195b5
UD
13813 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13814 is sufficient, at least on modern CPUs.
13815
d4a28569
UD
13816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13817
b61099b5
UD
13818 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13819 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13820
bcf01e6d
UD
13821 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13822 __expl_finite.
13823 * math/bits/math-finite.h: Add entries for exp.
13824 * math/e_expl.c: Add __*_finite alias.
13825 * sysdeps/i386/fpu/e_exp.S: Likewise.
13826 * sysdeps/i386/fpu/e_expf.S: Likewise.
13827 * sysdeps/i386/fpu/e_expl.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13829 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13833 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13834 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13835
ba1a0d59
UD
13836 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13837 is sufficient, at least on modern CPUs.
13838
fd5bdc09
UD
13839 * ctype/ctype-info.c (__ctype_init): Define.
13840 * include/ctype.h (__ctype_init): Declare.
13841 (__ctype_b_loc): The variable is always initialized.
13842 (__ctype_toupper_loc): Likewise.
13843 (__ctype_tolower_loc): Likewise.
13844 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13845 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13846
7872cfb0
AS
138472011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13848
b468825a
AS
13849 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13850
7872cfb0
AS
13851 * configure.in: Also look in $cxxmachine/include for C++ system
13852 headers.
13853
be13f7bf
LD
138542011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13855
13856 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13857 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13858 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13859 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13860 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13861 (USE_AS_WMEMCMP): New macro.
13862 Fixing indents.
13863 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13864 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13865 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13866 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13868 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13869 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13870 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13871 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13872 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13873 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13874 (USE_AS_WMEMCMP): New macro.
13875 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13876 * sysdeps/string/test-memcmp.c: Update.
13877 Fix simple_wmemcmp.
13878 Add new tests.
13879 * wcsmbs/wmemcmp.c: Update.
13880 (WMEMCMP): New macro.
13881 Fix overflow bug.
13882
556a2007
AJ
138832011-10-12 Andreas Jaeger <aj@suse.de>
13884
13885 [BZ #13268]
13886 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13887
538faaa7
UD
138882011-10-15 Ulrich Drepper <drepper@gmail.com>
13889
ab6737ff
UD
13890 * libio/iofwide.c (do_length): Avoid warning.
13891
538faaa7
UD
13892 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13893
396a21b1
UD
138942011-10-14 Ulrich Drepper <drepper@gmail.com>
13895
cdf2901f
UD
13896 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13897
38ad40ce
UD
13898 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13899 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13900 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13901 * sysdeps/i386/i686/fpu/e_log.S: New file.
13902 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13903 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13904
396a21b1
UD
13905 * ctype/ctype.h: Add support for inlined isXXX functions when
13906 compiling C++ code.
13907
6b1f68c9
AS
139082011-10-14 Andreas Schwab <schwab@redhat.com>
13909
349290c0
AS
13910 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13911
6b1f68c9
AS
13912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13913
f2282d42
RM
139142011-10-13 Roland McGrath <roland@hack.frob.com>
13915
13916 [BZ #13291]
13917 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13918
5298ffa8
AS
139192011-10-13 Andreas Schwab <schwab@redhat.com>
13920
714fad23
AS
13921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13922 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13923 feraiseexcept.
13924
81dcc7fb
AS
13925 * sysdeps/x86_64/memrchr.S: Check for zero size.
13926
5298ffa8
AS
13927 * string/stratcliff.c: Add memrchr tests.
13928
951fbcec
LD
139292011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13930
13931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13932 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13933 rawmemchr-sse2 rawmemchr-sse2-bsf.
13934 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13935 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13936 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13937 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13938 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13939 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13940 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13941 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13943 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13944 * string/memrchr.c (MEMRCHR): New macro.
13945
0ac5ae23
UD
139462011-10-12 Ulrich Drepper <drepper@gmail.com>
13947
13948 Add integration with gcc's -ffinite-math-only and optimize wrapper
13949 functions in libm.
13950 * Versions.def: Define GLIBC_2.15 version for libm.
13951 * math/Makefile (headers): Add bits/math-finite.h.
13952 * math/bits/math-finite.h: New file.
13953 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13954 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13955 * math/e_acoshl.c: Add __*_finite alias.
13956 * math/e_acosl.c: Likewise.
13957 * math/e_asinl.c: Likewise.
13958 * math/e_atan2l.c: Likewise.
13959 * math/e_atanhl.c: Likewise.
13960 * math/e_coshl.c: Likewise.
13961 * math/e_exp10.c: Likewise.
13962 * math/e_exp10f.c: Likewise.
13963 * math/e_exp10l.c: Likewise.
13964 * math/e_exp2l.c: Likewise.
13965 * math/e_fmodl.c: Likewise.
13966 * math/e_gammal_r.c: Likewise.
13967 * math/e_hypotl.c: Likewise.
13968 * math/e_j0l.c: Likewise.
13969 * math/e_j1l.c: Likewise.
13970 * math/e_jnl.c: Likewise.
13971 * math/e_lgammal_r.c: Likewise.
13972 * math/e_log10l.c: Likewise.
13973 * math/e_log2l.c: Likewise.
13974 * math/e_logl.c: Likewise.
13975 * math/e_powl.c: Likewise.
13976 * math/e_sinhl.c: Likewise.
13977 * math/e_sqrtl.c: Likewise.
13978 * math/e_scalb.c: Completely rewritten and optimized.
13979 * math/e_scalbf.c: Likewise.
13980 * math/e_scalbl.c: Likewise.
13981 * math/w_acos.c: Likewise.
13982 * math/w_acosf.c: Likewise.
13983 * math/w_acosl.c: Likewise.
13984 * math/w_acosh.c: Likewise.
13985 * math/w_acoshf.c: Likewise.
13986 * math/w_acoshl.c: Likewise.
13987 * math/w_asin.c: Likewise.
13988 * math/w_asinf.c: Likewise.
13989 * math/w_asinl.c: Likewise.
13990 * math/w_atan2.c: Likewise.
13991 * math/w_atan2f.c: Likewise.
13992 * math/w_atan2l.c: Likewise.
13993 * math/w_atanh.c: Likewise.
13994 * math/w_atanhf.c: Likewise.
13995 * math/w_atanhl.c: Likewise.
13996 * math/w_exp10.c: Likewise.
13997 * math/w_exp10f.c: Likewise.
13998 * math/w_exp10l.c: Likewise.
13999 * math/w_fmod.c: Likewise.
14000 * math/w_fmodf.c: Likewise.
14001 * math/w_fmodl.c: Likewise.
14002 * math/w_j0.c: Likewise.
14003 * math/w_j0f.c: Likewise.
14004 * math/w_j0l.c: Likewise.
14005 * math/w_j1.c: Likewise.
14006 * math/w_j1f.c: Likewise.
14007 * math/w_j1l.c: Likewise.
14008 * math/w_jn.c: Likewise.
14009 * math/w_jnf.c: Likewise.
14010 * math/w_log.c: Likewise.
14011 * math/w_logf.c: Likewise.
14012 * math/w_logl.c: Likewise.
14013 * math/w_log10.c: Likewise.
14014 * math/w_log10f.c: Likewise.
14015 * math/w_log10l.c: Likewise.
14016 * math/w_log2.c: Likewise.
14017 * math/w_log2f.c: Likewise.
14018 * math/w_log2l.c: Likewise.
14019 * math/w_pow.c: Likewise.
14020 * math/w_powf.c: Likewise.
14021 * math/w_powl.c: Likewise.
14022 * math/w_remainder.c: Likewise.
14023 * math/w_remainderf.c: Likewise.
14024 * math/w_remainderl.c: Likewise.
14025 * math/w_scalb.c: Likewise.
14026 * math/w_scalbf.c: Likewise.
14027 * math/w_scalbl.c: Likewise.
14028 * math/w_sqrt.c: Likewise.
14029 * math/w_sqrtf.c: Likewise.
14030 * math/w_sqrtl.c: Likewise.
14031 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
14032 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
14033 used.
14034 * math/math_private.h: Declare __kernel_standard_f.
14035 * math/w_cosh.c: Remove cruft and optimize a bit.
14036 * math/w_coshf.c: Likewise.
14037 * math/w_coshl.c: Likewise.
14038 * math/w_exp2.c: Likewise.
14039 * math/w_exp2f.c: Likewise.
14040 * math/w_exp2l.c: Likewise.
14041 * math/w_hypot.c: Likewise.
14042 * math/w_hypotf.c: Likewise.
14043 * math/w_hypotl.c: Likewise.
14044 * math/w_lgamma.c: Likewise.
14045 * math/w_lgamma_r.c: Likewise.
14046 * math/w_lgammaf.c: Likewise.
14047 * math/w_lgammaf_r.c: Likewise.
14048 * math/w_lgammal.c: Likewise.
14049 * math/w_lgammal_r.c: Likewise.
14050 * math/w_sinh.c: Likewise.
14051 * math/w_sinhf.c: Likewise.
14052 * math/w_sinhl.c: Likewise.
14053 * math/w_tgamma.c: Likewise.
14054 * math/w_tgammaf.c: Likewise.
14055 * math/w_tgammal.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14058 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
14059 Minor optimizations. Pretty printing. Remove cruft.
14060 * sysdeps/i386/fpu/e_acosf.S: Likewise.
14061 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14062 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14063 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14064 * sysdeps/i386/fpu/e_acosl.c: Likewise.
14065 * sysdeps/i386/fpu/e_asin.S: Likewise.
14066 * sysdeps/i386/fpu/e_asinf.S: Likewise.
14067 * sysdeps/i386/fpu/e_atan2.S: Likewise.
14068 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
14069 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
14070 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14071 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14073 * sysdeps/i386/fpu/e_exp10.S: Likewise.
14074 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
14075 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
14076 * sysdeps/i386/fpu/e_exp2.S: Likewise.
14077 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
14078 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
14079 * sysdeps/i386/fpu/e_fmod.S: Likewise.
14080 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
14081 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
14082 * sysdeps/i386/fpu/e_hypot.S: Likewise.
14083 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14084 * sysdeps/i386/fpu/e_log.S: Likewise.
14085 * sysdeps/i386/fpu/e_log10.S: Likewise.
14086 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14087 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14088 * sysdeps/i386/fpu/e_log2.S: Likewise.
14089 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14090 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14091 * sysdeps/i386/fpu/e_logf.S: Likewise.
14092 * sysdeps/i386/fpu/e_logl.S: Likewise.
14093 * sysdeps/i386/fpu/e_pow.S: Likewise.
14094 * sysdeps/i386/fpu/e_powf.S: Likewise.
14095 * sysdeps/i386/fpu/e_powl.S: Likewise.
14096 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14097 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14098 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14099 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14100 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14101 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14102 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14103 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14104 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14126 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14127 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14128 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14129 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14130 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14131 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14132 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14133 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14134 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14136 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14138 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14139 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14140 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14141 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14142 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14143 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14144 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14145 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14146 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14160 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14161 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14162 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14163 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14170 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14183 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14185 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14193 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14194 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14196 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14197 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14198 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14199 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14200 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14201 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14202 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14203 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14204 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14205 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14206 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14207 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14208 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14209 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14210 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14211 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14212 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14213 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14214 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14215 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14216 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14217 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14218 (__isnanf): Likewise.
14219 (__isinf_ns): Likewise.
14220 (__isinf_nsf): Likewise.
14221 (__finite): Likewise.
14222 (__finitef): Likewise.
14223 (__ieee754_sqrt): Define as macro.
14224 (__ieee754_sqrtf): Define as macro.
14225 (__ieee754_sqrtl): Define as macro.
14226 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14227 inlined copy.
14228 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14229 __FINITE_MATH_ONLY__ consistent.
14230 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14231
12cc2fcd
AS
142322011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14233
a843a204
AS
14234 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14235 of rawmemchr.
14236
12cc2fcd
AS
14237 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14238
c853acd5
UD
142392011-10-09 Ulrich Drepper <drepper@gmail.com>
14240
14241 * po/ja.po: Update from translation team.
14242
c658d255
RM
142432011-10-08 Roland McGrath <roland@hack.frob.com>
14244
110946e4
RM
14245 * locale/programs/locarchive.c (prepare_address_space): New function.
14246 (create_archive, enlarge_archive, open_archive): Use it.
14247
50604220
RM
14248 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14249 inside [SHARED], where it is used.
14250
c658d255
RM
14251 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14252
14253 * nss/getent.c (netgroup_keys): Remove unused variable.
14254 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14255
6a621eb7
UD
142562011-10-08 Ulrich Drepper <drepper@gmail.com>
14257
7edb55ce
UD
14258 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14259 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14261 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14262 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14263 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14264 * math/Makefile (libm-calls): Add s_isinf_ns.
14265 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14266 * math/multc3.c: Likewise.
14267 * math/s_casin.c: Likewise.
14268 * math/s_casinf.c: Likewise.
14269 * math/s_casinl.c: Likewise.
14270 * math/s_ccos.c: Likewise.
14271 * math/s_ccosf.c: Likewise.
14272 * math/s_ccosl.c: Likewise.
14273 * math/s_ctan.c: Likewise.
14274 * math/s_ctanf.c: Likewise.
14275 * math/s_ctanh.c: Likewise.
14276 * math/s_ctanhf.c: Likewise.
14277 * math/s_ctanhl.c: Likewise.
14278 * math/s_ctanl.c: Likewise.
14279 * math/w_fmod.c: Likewise.
14280 * math/w_fmodf.c: Likewise.
14281 * math/w_fmodl.c: Likewise.
14282 * math/w_remainder.c: Likewise.
14283 * math/w_remainderf.c: Likewise.
14284 * math/w_remainderl.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14286 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14289 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14290 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14291 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14292 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14293
187da0ae
UD
14294 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14295 of the number.
14296 * stdio-common/printf_fphex.c: Likewise.
14297 * stdio-common/printf_size.c: Likewise.
14298
9277c064
UD
14299 * math/e_exp10.c: Include math_private.h using <...> not "...".
14300 * math/e_exp10f.c: Likewise.
14301 * math/e_exp10l.c: Likewise.
14302 * math/e_exp2l.c: Likewise.
14303 * math/e_j0l.c: Likewise.
14304 * math/e_j1l.c: Likewise.
14305 * math/e_jnl.c: Likewise.
14306 * math/e_lgammal_r.c: Likewise.
14307 * math/e_rem_pio2l.c: Likewise.
14308 * math/e_scalb.c: Likewise.
14309 * math/e_scalbf.c: Likewise.
14310 * math/e_scalbl.c: Likewise.
14311 * math/k_cosl.c: Likewise.
14312 * math/k_sinl.c: Likewise.
14313 * math/k_tanl.c: Likewise.
14314 * math/s_cacoshf.c: Likewise.
14315 * math/s_catan.c: Likewise.
14316 * math/s_catanf.c: Likewise.
14317 * math/s_catanh.c: Likewise.
14318 * math/s_catanhf.c: Likewise.
14319 * math/s_catanhl.c: Likewise.
14320 * math/s_catanl.c: Likewise.
14321 * math/s_ccosh.c: Likewise.
14322 * math/s_ccoshf.c: Likewise.
14323 * math/s_ccoshl.c: Likewise.
14324 * math/s_cexp.c: Likewise.
14325 * math/s_cexpf.c: Likewise.
14326 * math/s_cexpl.c: Likewise.
14327 * math/s_clog.c: Likewise.
14328 * math/s_clog10.c: Likewise.
14329 * math/s_clog10f.c: Likewise.
14330 * math/s_clog10l.c: Likewise.
14331 * math/s_clogf.c: Likewise.
14332 * math/s_clogl.c: Likewise.
14333 * math/s_csin.c: Likewise.
14334 * math/s_csinf.c: Likewise.
14335 * math/s_csinh.c: Likewise.
14336 * math/s_csinhf.c: Likewise.
14337 * math/s_csinhl.c: Likewise.
14338 * math/s_csinl.c: Likewise.
14339 * math/s_csqrt.c: Likewise.
14340 * math/s_csqrtf.c: Likewise.
14341 * math/s_csqrtl.c: Likewise.
14342 * math/s_ctan.c: Likewise.
14343 * math/s_ctanf.c: Likewise.
14344 * math/s_ctanh.c: Likewise.
14345 * math/s_ctanhf.c: Likewise.
14346 * math/s_ctanhl.c: Likewise.
14347 * math/s_ctanl.c: Likewise.
14348 * math/s_ldexp.c: Likewise.
14349 * math/s_ldexpf.c: Likewise.
14350 * math/s_ldexpl.c: Likewise.
14351 * math/s_significand.c: Likewise.
14352 * math/s_significandf.c: Likewise.
14353 * math/s_significandl.c: Likewise.
14354 * math/w_acos.c: Likewise.
14355 * math/w_acosf.c: Likewise.
14356 * math/w_acosh.c: Likewise.
14357 * math/w_acoshf.c: Likewise.
14358 * math/w_acoshl.c: Likewise.
14359 * math/w_acosl.c: Likewise.
14360 * math/w_asin.c: Likewise.
14361 * math/w_asinf.c: Likewise.
14362 * math/w_asinl.c: Likewise.
14363 * math/w_atan2.c: Likewise.
14364 * math/w_atan2f.c: Likewise.
14365 * math/w_atan2l.c: Likewise.
14366 * math/w_atanh.c: Likewise.
14367 * math/w_atanhf.c: Likewise.
14368 * math/w_atanhl.c: Likewise.
14369 * math/w_cosh.c: Likewise.
14370 * math/w_coshf.c: Likewise.
14371 * math/w_coshl.c: Likewise.
14372 * math/w_dremf.c: Likewise.
14373 * math/w_exp10.c: Likewise.
14374 * math/w_exp10f.c: Likewise.
14375 * math/w_exp10l.c: Likewise.
14376 * math/w_exp2.c: Likewise.
14377 * math/w_exp2f.c: Likewise.
14378 * math/w_fmod.c: Likewise.
14379 * math/w_fmodf.c: Likewise.
14380 * math/w_fmodl.c: Likewise.
14381 * math/w_hypot.c: Likewise.
14382 * math/w_hypotf.c: Likewise.
14383 * math/w_hypotl.c: Likewise.
14384 * math/w_j0.c: Likewise.
14385 * math/w_j0f.c: Likewise.
14386 * math/w_j0l.c: Likewise.
14387 * math/w_j1.c: Likewise.
14388 * math/w_j1f.c: Likewise.
14389 * math/w_j1l.c: Likewise.
14390 * math/w_jn.c: Likewise.
14391 * math/w_jnf.c: Likewise.
14392 * math/w_jnl.c: Likewise.
14393 * math/w_lgamma.c: Likewise.
14394 * math/w_lgamma_r.c: Likewise.
14395 * math/w_lgammaf.c: Likewise.
14396 * math/w_lgammaf_r.c: Likewise.
14397 * math/w_lgammal.c: Likewise.
14398 * math/w_lgammal_r.c: Likewise.
14399 * math/w_log.c: Likewise.
14400 * math/w_log10.c: Likewise.
14401 * math/w_log10f.c: Likewise.
14402 * math/w_log10l.c: Likewise.
14403 * math/w_log2.c: Likewise.
14404 * math/w_log2f.c: Likewise.
14405 * math/w_log2l.c: Likewise.
14406 * math/w_logf.c: Likewise.
14407 * math/w_logl.c: Likewise.
14408 * math/w_pow.c: Likewise.
14409 * math/w_powf.c: Likewise.
14410 * math/w_powl.c: Likewise.
14411 * math/w_remainder.c: Likewise.
14412 * math/w_remainderf.c: Likewise.
14413 * math/w_remainderl.c: Likewise.
14414 * math/w_scalb.c: Likewise.
14415 * math/w_scalbf.c: Likewise.
14416 * math/w_scalbl.c: Likewise.
14417 * math/w_sinh.c: Likewise.
14418 * math/w_sinhf.c: Likewise.
14419 * math/w_sinhl.c: Likewise.
14420 * math/w_sqrt.c: Likewise.
14421 * math/w_sqrtf.c: Likewise.
14422 * math/w_sqrtl.c: Likewise.
14423 * math/w_tgamma.c: Likewise.
14424 * math/w_tgammaf.c: Likewise.
14425 * math/w_tgammal.c: Likewise.
14426
6a621eb7
UD
14427 * po/ja.po: Update from translation team.
14428
bf582445
AJ
144292011-09-29 Andreas Jaeger <aj@suse.de>
14430
f9efbf3a
AJ
14431 [BZ #13179]
14432 * sunrpc/netname.c (netname2host): Fix logic.
14433
bf582445
AJ
14434 [BZ #6779]
14435 [BZ #6783]
14436 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14437 correctly.
14438 * math/w_remainder.c (__remainder): Likewise.
14439 * math/w_remainderf.c (__remainderf): Likewise.
14440 * math/libm-test.inc (remainder_test): Add test cases.
14441
48693bea
AK
144422011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14443
14444 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14445 sdiv_qrnnd.
14446
42622229
LD
144472011-10-07 Ulrich Drepper <drepper@gmail.com>
14448
14449 * string/test-memcmp.c: Avoid unncessary #defines.
14450 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14451
093ecf92
LD
144522011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14453
14454 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14455 Use new sse2 version for core i3 - i7 as it's faster
14456 than sse42 version.
14457 (bit_Prefer_PMINUB_for_stringop): New.
14458 * sysdeps/x86_64/rawmemchr.S: Update.
14459 Replace with faster SSE2 version.
14460 * sysdeps/x86_64/memrchr.S: New file.
14461 * sysdeps/x86_64/memchr.S: Update.
14462 Replace with faster SSE2 version.
14463
fde56e5c
MP
144642011-09-12 Marek Polacek <mpolacek@redhat.com>
14465
14466 * elf/dl-load.c (lose): Add cast to avoid warning.
14467
21fd49a9
UD
144682011-10-07 Ulrich Drepper <drepper@gmail.com>
14469
5a06e643
UD
14470 * po/ca.po: Update from translation team.
14471
684ae515
UD
14472 * inet/getnetgrent_r.c: Hook up nscd.
14473 * nscd/Makefile (routines): Add nscd_netgroup.
14474 (nscd-modules): Add netgroupcache.
14475 (CFLAGS-netgroupcache.c): Define.
14476 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14477 (cache_search): Add const to second parameter.
14478 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14479 INNETGR.
14480 (dbs): Add netgrdb entry.
14481 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14482 (verify_persistent_db): Handle netgrdb.
14483 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14484 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14485 GETFDNETGR.
14486 (netgroup_response_header): Define.
14487 (innetgroup_response_header): Define.
14488 (datahead): Add netgroup_response_header and innetgroup_response_header
14489 elements.
14490 * nscd/nscd.conf: Add entries for netgroup cache.
14491 * nscd/nscd.h (dbtype): Add netgrdb.
14492 (_PATH_NSCD_NETGROUP_DB): Define.
14493 (netgroup_iov_disabled): Declare.
14494 (xmalloc, xcalloc, xrealloc): Move declarations here.
14495 (cache_search): Adjust prototype.
14496 Add netgroup-related prototypes.
14497 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14498 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14499 (__nscd_innetgr): Declare.
14500 * nscd/selinux.c (perms): Use access_vector_t as element type and
14501 add netgroup-related initializers.
14502 * nscd/netgroupcache.c: New file.
14503 * nscd/nscd_netgroup.c: New file.
14504 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14505 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14506 For four parameters use innetgr.
14507 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14508 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14509 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14510 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14511
21fd49a9
UD
14512 * nscd/connections.c (register_traced_file): Don't register file
14513 for disabled databases.
14514
054c0457
UD
145152011-10-06 Ulrich Drepper <drepper@gmail.com>
14516
32b63198
UD
14517 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14518
054c0457
UD
14519 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14520 from tree and freeing node.
14521
64031225
JO
145222011-09-25 Jiri Olsa <jolsa@redhat.com>
14523
14524 * nss/nsswitch.c (__nss_database_lookup): Handle
14525 nss_parse_service_list out of memory case.
14526
0490345c
JO
145272011-09-15 Jiri Olsa <jolsa@redhat.com>
14528
14529 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14530 out of memory case.
14531
3a62d00d
AS
145322011-10-04 Andreas Schwab <schwab@redhat.com>
14533
14534 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14535 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14536 pass it down.
14537 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14538 elf_machine_rela, elf_machine_lazy_rel.
14539 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14540 (ELF_DYNAMIC_DO_REL): Likewise.
14541 (ELF_DYNAMIC_DO_RELA): Likewise.
14542 (ELF_DYNAMIC_RELOCATE): Likewise.
14543 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14544 to ELF_DYNAMIC_DO_REL.
14545 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14546 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14547 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14548 elf_machine_rela.
14549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14550 skip_ifunc, don't call ifunc function if non-zero.
14551 (elf_machine_rela): Likewise.
14552 (elf_machine_lazy_rel): Likewise.
14553 (elf_machine_lazy_rela): Likewise.
14554 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14555 (elf_machine_lazy_rel): Likewise.
14556 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14557 Likewise.
14558 (elf_machine_lazy_rel): Likewise.
14559 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14560 Likewise.
14561 (elf_machine_lazy_rel): Likewise.
14562 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14563 (elf_machine_lazy_rel): Likewise.
14564 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14565 (elf_machine_lazy_rel): Likewise.
14566 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14567 (elf_machine_lazy_rel): Likewise.
14568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14569 (elf_machine_lazy_rel): Likewise.
14570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14571 (elf_machine_lazy_rel): Likewise.
14572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14573 (elf_machine_lazy_rel): Likewise.
14574
68577918
UD
145752011-09-28 Ulrich Drepper <drepper@gmail.com>
14576
14577 * nss/nss_files/files-init.c (_nss_files_init): Use static
14578 initialization for all the *_traced_file variables.
14579
68822d74
AS
145802011-09-28 Andreas Schwab <schwab@redhat.com>
14581
14582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14583
2056100b
RM
145842011-09-27 Roland McGrath <roland@hack.frob.com>
14585
14586 [BZ #13226]
14587 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14588
32c76b63
AS
145892011-09-27 Andreas Schwab <schwab@redhat.com>
14590
14591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14592 Reread the line before reparsing it.
14593
bf972c9d
AS
145942011-09-26 Andreas Schwab <schwab@redhat.com>
14595
14596 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14597
e057a1b5
JM
145982011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14599 Maxim Kuvyrkov <maxim@codesourcery.com>
14600 Joseph Myers <joseph@codesourcery.com>
14601
14602 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14603 if needed for __stack_chk_guard.
14604
bc7e1c36
RM
146052011-09-19 Roland McGrath <roland@hack.frob.com>
14606
ecb1482f
RM
14607 * sysdeps/posix/spawni.c (script_execute): Always define it.
14608 It will be optimized away if unused.
14609 (maybe_script_execute): New function.
14610 (__spawni): Call it.
14611
bc7e1c36
RM
14612 * Makerules: Don't include tls.make.
14613 (config-tls): Always set to thread.
14614 * tls.make.c: File removed.
14615
1c3b002b
MF
146162011-09-19 Mike Frysinger <vapier@gentoo.org>
14617
14618 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14619 * config.make.in (CPPFLAGS-config): New substituted variable.
14620
2840865d
UD
146212011-09-15 Ulrich Drepper <drepper@gmail.com>
14622
88738eb6
UD
14623 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14624
cbf645a6 14625 [BZ #13192]
2840865d
UD
14626 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14627 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14628
b402e91a
RM
146292011-09-15 Roland McGrath <roland@hack.frob.com>
14630
14631 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14632 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14633 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14634 (CALL_FAIL): Likewise.
14635 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14636 (CALL_FAIL): Macro removed.
14637 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14638
4c1a1f71
UD
146392011-09-15 Ulrich Drepper <drepper@gmail.com>
14640
14641 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14642 for __FINITE_MATH_ONLY__ == 1.
14643
edc121be
AS
146442011-09-15 Andreas Schwab <schwab@redhat.com>
14645
14646 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14647 __ieee754_sqrt instead of sqrt.
14648 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14649 __ieee754_sqrtf instead of sqrtf.
14650 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14651 __floorf instead of floorf.
14652 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14653 __floorf, __truncf instead of floorf, truncf.
14654
cd205654
UD
146552011-09-14 Ulrich Drepper <drepper@gmail.com>
14656
ee4d0315
UD
14657 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14658
cd205654
UD
14659 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14660 __extern_always_inline.
14661 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14662 32-bit.
14663
48b67d71
AS
146642011-09-14 Andreas Schwab <schwab@redhat.com>
14665
14666 * elf/rtld.c (dl_main): Also relocate in dependency order when
14667 doing symbol dependency testing.
14668
1ae12c75
AS
146692011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14670
14671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14672 Always define `refsym'.
14673
995a80df
AS
146742011-09-13 Andreas Schwab <schwab@redhat.com>
14675
e529793b
AS
14676 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14677 (__FD_ELT): Renamed from __FDELT.
14678 * misc/bits/select2.h (__FD_ELT): Likewise.
14679 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14680 __FD_MASK instead of __FDELT, __FDMASK.
14681 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14682 Likewise.
14683 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14684 Likewise.
14685
52d4fef8
AS
14686 * elf/Makefile (gen-ldd): Fix pattern.
14687
995a80df
AS
14688 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14689 (init_tls): Likewise.
14690
8682f8b0
UD
146912011-09-12 Ulrich Drepper <drepper@gmail.com>
14692
14693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14694
de82006d
AS
146952011-09-12 Andreas Schwab <schwab@redhat.com>
14696
a7c8e6a1
AS
14697 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14698 `struct cmsghdr *' instead of `void *'.
14699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14700 Likewise.
14701
0f31fe77
AS
147022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14703
14704 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14705 if non-absolute.
14706 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14707 ldd_rewrite_script.
0f31fe77 14708
32b4c839
UD
147092011-09-11 Ulrich Drepper <drepper@gmail.com>
14710
83cd1420
UD
14711 * configure.in: Remove --with-tls option.
14712 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14713 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14714 out in case it is missing.
14715 * sysdeps/ia64/elf/configure.in: Likewise.
14716 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14717 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14718 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14719 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14720 * sysdeps/sh/elf/configure.in: Likewise.
14721 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14722 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14723 * sysdeps/x86_64/elf/configure.in: Likewise.
14724 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14725 * sysdeps/mach/hurd/tls.h: Likewise.
14726
633f745d
UD
14727 [BZ #13067]
14728 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14729
f318beb8
UD
14730 [BZ #13090]
14731 * configure.in: Fix use of AC_INIT.
14732
32b4c839
UD
14733 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14734
3ce1f295
UD
147352011-09-10 Ulrich Drepper <drepper@gmail.com>
14736
bb016596
UD
14737 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14738 __set_errno.
8e58439c
UD
14739 * malloc/hooks.c: Likewise.
14740
aebae053 14741 [BZ #11929]
02d46fc4
UD
14742 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14743 variables statically.
14744 (narenas): Initialize.
14745 (list_lock): Initialize.
bb016596
UD
14746 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14747 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14748 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14749 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14750 Add initializers to main_arena and mp_.
14751 (malloc_state): Remove pagesize member. Change all users to use
14752 GLRO(dl_pagesize).
14753
14754 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14755 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14756 is always initialized.
14757
22a89187
UD
14758 * malloc/malloc.c: Removed unused configurations and dead code.
14759 * malloc/arena.c: Likewise.
14760 * malloc/hooks.c: Likewise.
02d46fc4 14761 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14762
d063d164
UD
14763 * include/tls.h: Removed. USE___THREAD must always be defined.
14764 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14765 * elf/dl-libc.c: Likewise.
14766 * elf/dl-tsd.c: Likewise.
14767 * include/errno.h: Likewise.
14768 * include/netdb.h: Likewise.
14769 * include/resolv.h: Likewise.
14770 * inet/herrno-loc.c: Likewise.
14771 * inet/herrno.c: Likewise.
14772 * malloc/arena.c: Likewise.
14773 * malloc/hooks.c: Likewise.
14774 * malloc/malloc.c: Likewise.
14775 * resolv/res-state.c: Likewise.
14776 * resolv/res_libc.c: Likewise.
14777 * sysdeps/i386/dl-machine.h: Likewise.
14778 * sysdeps/ia64/dl-machine.h: Likewise.
14779 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14780 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14781 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14782 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14783 * sysdeps/sh/dl-machine.h: Likewise.
14784 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14785 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14786 * sysdeps/unix/i386/sysdep.S: Likewise.
14787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14788 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14793 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14798 * sysdeps/x86_64/dl-machine.h: Likewise.
14799 * tls.make.c: Likewise.
14800
3ce1f295
UD
14801 * configure.in: Remove --with-__thread option. Make tests for
14802 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14803 tls_model attribute fail if no support is available. Remove
14804 USE_IN_LIBIO.
14805 * Makeconfig: Adjust for dropped configure option. All features are
14806 now mandatory.
14807 * Makerules: Likewise.
14808 * Versions.def: Likewise.
14809 * argp/argp-fmtstream.c: Likewise.
14810 * argp/argp-fmtstream.h: Likewise.
14811 * argp/argp-help.c: Likewise.
14812 * assert/assert.c: Likewise.
14813 * config.h.in: Likewise.
14814 * config.make.in: Likewise.
14815 * configure: Likewise.
14816 * configure.in: Likewise.
14817 * csu/Versions: Likewise.
14818 * csu/init.c: Likewise.
14819 * elf/tst-audit2.c: Likewise.
14820 * elf/tst-tls10.c: Likewise.
14821 * elf/tst-tls10.h: Likewise.
14822 * elf/tst-tls11.c: Likewise.
14823 * elf/tst-tls12.c: Likewise.
14824 * elf/tst-tls14.c: Likewise.
14825 * elf/tst-tlsmod11.c: Likewise.
14826 * elf/tst-tlsmod12.c: Likewise.
14827 * elf/tst-tlsmod13.c: Likewise.
14828 * elf/tst-tlsmod13a.c: Likewise.
14829 * elf/tst-tlsmod14a.c: Likewise.
14830 * elf/tst-tlsmod15b.c: Likewise.
14831 * elf/tst-tlsmod16a.c: Likewise.
14832 * elf/tst-tlsmod16b.c: Likewise.
14833 * elf/tst-tlsmod7.c: Likewise.
14834 * elf/tst-tlsmod8.c: Likewise.
14835 * elf/tst-tlsmod9.c: Likewise.
14836 * gmon/gmon.c: Likewise.
14837 * grp/fgetgrent_r.c: Likewise.
14838 * grp/putgrent.c: Likewise.
14839 * hurd/fopenport.c: Likewise.
14840 * include/libc-symbols.h: Likewise.
14841 * include/tls.h: Likewise.
14842 * intl/gettextP.h: Likewise.
14843 * intl/loadinfo.h: Likewise.
14844 * locale/global-locale.c: Likewise.
14845 * locale/localeinfo.h: Likewise.
14846 * mach/devstream.c: Likewise.
14847 * malloc/arena.c: Likewise.
14848 * malloc/set-freeres.c: Likewise.
14849 * misc/err.c: Likewise.
14850 * misc/getttyent.c: Likewise.
14851 * misc/mntent_r.c: Likewise.
14852 * posix/getopt.c: Likewise.
14853 * posix/wordexp.c: Likewise.
14854 * pwd/fgetpwent_r.c: Likewise.
14855 * resolv/Versions: Likewise.
14856 * resolv/res_hconf.c: Likewise.
14857 * shadow/fgetspent_r.c: Likewise.
14858 * shadow/putspent.c: Likewise.
14859 * stdio-common/printf_fphex.c: Likewise.
14860 * stdio-common/tmpfile.c: Likewise.
14861 * stdlib/abort.c: Likewise.
14862 * stdlib/fmtmsg.c: Likewise.
14863 * sunrpc/auth_unix.c: Likewise.
14864 * sunrpc/clnt_perr.c: Likewise.
14865 * sunrpc/clnt_tcp.c: Likewise.
14866 * sunrpc/clnt_udp.c: Likewise.
14867 * sunrpc/clnt_unix.c: Likewise.
14868 * sunrpc/openchild.c: Likewise.
14869 * sunrpc/svc_simple.c: Likewise.
14870 * sunrpc/svc_tcp.c: Likewise.
14871 * sunrpc/svc_udp.c: Likewise.
14872 * sunrpc/svc_unix.c: Likewise.
14873 * sunrpc/xdr.c: Likewise.
14874 * sunrpc/xdr_array.c: Likewise.
14875 * sunrpc/xdr_rec.c: Likewise.
14876 * sunrpc/xdr_ref.c: Likewise.
14877 * sunrpc/xdr_stdio.c: Likewise.
14878
1248c1c4
PB
148792011-09-09 Ulrich Drepper <drepper@gmail.com>
14880
14881 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14882
148832011-07-03 Andreas Jaeger <aj@suse.de>
14884
14885 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14886 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14887 regenerate with gen-libm-tests.pl.
14888
148892010-05-12 Petr Baudis <pasky@suse.cz>
14890
14891 [BZ #11589]
14892 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14893 around j0() zero points by switching to j1().
14894 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14895 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14896 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14897 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14898
f22e1074
UD
148992011-09-09 Ulrich Drepper <drepper@gmail.com>
14900
f19009c1
UD
14901 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14902 instead of 0.
14903 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14904 instead of 0. .
14905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14906 Patch in part by Pavel Roskin <proski@gnu.org>.
14907
3f8cc204
UD
14908 [BZ #13138]
14909 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14910 realloc.
14911 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14912 Free memory block if necessary.
14913
f22e1074
UD
14914 [BZ #12847]
14915 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14916 be NULL. Don't lock in this case.
14917
0a2349f9
RM
149182011-09-09 Roland McGrath <roland@hack.frob.com>
14919
14920 * elf/elf.h (ELFOSABI_GNU): New macro.
14921 (ELFOSABI_LINUX): Define to that.
14922
f3cdd467
DZ
149232011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14924
14925 * string/strncat.c (strncat): Undef the symbol in case it has been
14926 defined in bits/string.h.
14927
74718d13
UD
149282011-09-09 Ulrich Drepper <drepper@gmail.com>
14929
633e9e0f
UD
14930 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14931
0a2349f9 14932 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14933 link map.
14934
f9924780
AJ
149352011-08-17 Andreas Jaeger <aj@suse.de>
14936
14937 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14938
7f5517aa
PP
149392011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14940 Ian Lance Taylor <iant@google.com>
14941
14942 * math/libm-test.inc (lround_test): New testcase.
14943 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14944
762011fe
UD
149452011-09-08 Ulrich Drepper <drepper@gmail.com>
14946
92963737
UD
14947 * Makefile: Remove support for automatic cvs check-ins.
14948 * Makerules: Likewise.
14949 * config.make.in: Likewise.
14950 * configure.in: Likewise.
14951 * intl/Makefile: Likewise.
14952 * locale/Makefile: Likewise.
14953 * po/Makefile: Likewise.
14954 * posix/Makefile: Likewise.
14955 * sysdeps/gnu/Makefile: Likewise.
14956 * sysdeps/mach/hurd/Makefile: Likewise.
14957 * sysdeps/sparc/sparc32/Makefile: Likewise.
14958
b0727fd8
JS
14959 [BZ #13118]
14960 * posix/Makefile (bug-regex32-ENV): Define.
14961 Patch by John Stanley <jpsinthemix@verizon.net>.
14962
a0f33f99
UD
14963 * misc/Makefile (headers): Add bits/select2.h.
14964 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14965 * misc/bits/select2.h: New file.
14966 * include/bits/select2.h: New file.
14967 * debug/Makefile (routines): Add fdelt_chk.
14968 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14969 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14970 FD_ISSET.
14971 * debug/fdelt_chk.c: New file.
14972
762011fe
UD
14973 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14974 * wcsmbs/test-wmemcmp.c: Likewise.
14975 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14976 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14977
149782011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14979
14980 * string/Makefile (strop-tests): Add memcmp.
14981 * string/test-wmemcmp.c: New file.
14982 * string/test-memcmp.c: Add wmemcmp support.
14983
7f513ec8
RM
149842011-09-08 Roland McGrath <roland@hack.frob.com>
14985
0442afb4
RM
14986 [BZ #13153]
14987 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14988 2011-07-19 change.
14989
7f513ec8
RM
14990 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14991 garbage value in a __mach_port_mod_refs call in the cases of the
14992 task-self and thread-self ports.
14993
a12b2239
ST
149942011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14995
14996 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14997
610f9ab4
AS
149982011-09-08 Andreas Schwab <schwab@redhat.com>
14999
7f513ec8 15000 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 15001
48882a1a
LD
150022011-09-07 Ulrich Drepper <drepper@gmail.com>
15003
b49865be
UD
15004 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
15005
fdc86bc9
UD
15006 * elf/dl-libc.c (dlerror_run): Pass back error code from
15007 dl_catch_error.
15008
c966526a
UD
15009 [BZ #13123]
15010 * elf/dl-load.c (lose): Free l_origin if it is valid.
15011
48882a1a
LD
15012 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
15013 names.
15014 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15015 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15016 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15018 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15019 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
15020
77a2a8b4
AZ
150212011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15022
15023 * sysdeps/powerpc/fpu/e_hypot.c: New file.
15024 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
15025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
15026 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
15027 * sysdeps/powerpc/fpu/k_cosf.c: New file.
15028 * sysdeps/powerpc/fpu/k_sinf.c: New file.
15029 * sysdeps/powerpc/fpu/s_cosf.c: New file.
15030 * sysdeps/powerpc/fpu/s_sinf.c: New file.
15031 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
15032 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
15033
24f579d8
AM
150342011-08-15 Alan Modra <amodra@gmail.com>
15035
15036 [BZ #13092]
15037 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
15038 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
15039 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
15040 ppc_mcount to static-only-routines.
15041 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
15042 __mcount_internal.
15043 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
15044 __mcount_internal with usual JUMPTARGET. Remove useless nop.
15045
3d4837df
UD
150462011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
15047
15048 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
15049 for finite and infinity parameters.
15050
22700377
WS
150512011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15052
15053 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
15054 and add nop instructions for throughput optimization.
15055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15056
5025581e
WS
150572011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
15058
15059 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
15060 aligned copy for power7 with vector-scalar instructions.
15061 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15062
08a300c9
L
150632011-07-24 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
15066 AVX check.
15067
59178ef9
AS
150682011-09-07 Andreas Schwab <schwab@redhat.com>
15069
15070 [BZ #13144]
15071 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
15072 last change.
15073
e38ba7ab
UD
150742011-09-07 Ulrich Drepper <drepper@gmail.com>
15075
15076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15077 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
15078 syscall wrapper around clock_gettime in __vdso_clock_gettime.
15079 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
15080 clock_gettime.
15081
d53a73ac
UD
150822011-09-06 Ulrich Drepper <drepper@gmail.com>
15083
fc8bffcc
UD
15084 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15085 Forgot to demangle the pointer.
15086
ceaa0c5d
UD
15087 * sysdeps/i386/sysdep.h: Define atom_text_section.
15088 * sysdeps/x86_64/sysdep.h: Likewise.
15089 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15090 section with atom_text_section.
15091 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15092 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15093 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15094 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15095 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15096
a77d3c17
UD
15097 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15098 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15099 already be defined. Change to take two parameters and don't assign
15100 result to variable. Adjust all users.
15101 Define INTERNAL_GETTIME if not already defined.
15102 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15103 call.
15104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15105 HAVE_CLOCK_GETTIME_VSYSCALL.
15106 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15107
d53a73ac
UD
15108 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15109 gettimeofday vsyscall, just use time.
15110
a8f84144
AS
151112011-09-06 Andreas Schwab <schwab@redhat.com>
15112
15113 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15114 <errno.h>.
15115
ef606249
UD
151162011-09-06 Ulrich Drepper <drepper@gmail.com>
15117
15118 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15119 syscall on x86-64.
15120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15121 syscall.
15122 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15123 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15124 syscall if possible.
15125
6585cb60
UD
151262011-09-05 Ulrich Drepper <drepper@gmail.com>
15127
15128 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15129 e_ident. Don't pass to find_mapsXX.
15130 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15131
a5f524e4
LD
151322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15133
15134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15135 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15136 * sysdeps/x86_64/multiarch/strchr.S: Update.
15137 Check bit_slow_BSF bit.
15138 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15139 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15140 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15141
554881ef
UD
151422011-09-05 Ulrich Drepper <drepper@gmail.com>
15143
d96de963
UD
15144 [BZ #13134]
15145 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15146 before glibc 2.15.
15147 (tryshell): Define.
15148 (__spawni): Change last parameter to be flag. Test
15149 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15150 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15151 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15152 * posix/spawni.c: Likewise.
15153 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15154 * posix/spawnp.c: Likewise. Change normal version to use
15155 SPAWN_XFLAGS_USE_PATH.
15156 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15157 SPAWN_XFLAGS_TRY_SHELL.
15158
d48e5868
UD
15159 [BZ #13150]
15160 * posix/glob.h: Remove gcc 1.x support.
15161
554881ef
UD
15162 [BZ #13068]
15163 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15164
693fb948
LD
151652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15166
15167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15168 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15169 strrchr-sse2-bsf
15170 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15171 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15172 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15173 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15174 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15175 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15176
1b48c537
UD
151772011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15178
49d42c37
UD
15179 * sysdeps/x86_64/wcscmp.S: New file.
15180
1b48c537
UD
15181 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15182 wcscmp-c wcscmp-sse2
15183 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15184 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15185 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15186 * wcsmbs/wcscmp.c: Allow renaming.
15187
15c95c5d
DM
151882011-09-05 David S. Miller <davem@davemloft.net>
15189
15190 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15191 stack slot, rather than the struct return pointer slot.
15192 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15193 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15195 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15196
2f0ad8f3
UD
151972011-09-05 Ulrich Drepper <drepper@gmail.com>
15198
d88ae418
UD
15199 * po/ja.po: Update from translation team.
15200
2f0ad8f3
UD
15201 [BZ #13144]
15202 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15203 kernel in 64-bit binaries.
15204
5f4318d1
DM
152052011-09-01 David S. Miller <davem@davemloft.net>
15206
15207 * elf/elf.h (HWCAP_SPARC_*): Move to..
15208 * sysdeps/sparc/sysdep.h: this new file and add new values.
15209 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15210 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15211 _DL_HWCAP_COUNT to 24.
15212 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15213 entries.
15214 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15215 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15216 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15218 instead of magic constants.
15219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15220
3ba57516
DM
152212011-08-31 David S. Miller <davem@davemloft.net>
15222
15223 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15225 Reimplement to do errno handling inline.
15226 (SYSCALL_ERROR_HANDLER): New macro.
15227 (__SYSCALL_STRING): Do not do errno handling in asm.
15228 (__CLONE_SYSCALL_STRING): Delete.
15229 (__INTERNAL_SYSCALL_STRING): Delete.
15230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15231 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15232 (PSEUDO): Reimplement to do errno handling inline.
15233 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15234 (SYSCALL_ERROR_HANDLER): New macro.
15235 (__SYSCALL_STRING): Do not do errno handling in asm.
15236 (__CLONE_SYSCALL_STRING): Delete.
15237 (__INTERNAL_SYSCALL_STRING): Delete.
15238 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15239 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15240 i386.
15241 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15242 (inline_syscall*): Add 'err' argument.
15243 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15244 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15245 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15246 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15247
15248 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15249 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15250
2bc17433
AS
152512011-08-30 Andreas Schwab <schwab@redhat.com>
15252
15253 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15254
fbeb5f4d
JO
152552011-08-29 Jiri Olsa <jolsa@redhat.com>
15256
15257 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15258 directive.
15259
ad69cc26
DM
152602011-08-24 David S. Miller <davem@davemloft.net>
15261
15262 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15263
39dd69df
AS
152642011-08-24 Andreas Schwab <schwab@redhat.com>
15265
15266 * elf/Makefile: Add rules to build and run unload8 test.
15267 * elf/unload8.c: New file.
15268 * elf/unload8mod1.c: New file.
15269 * elf/unload8mod1x.c: New file.
15270 * elf/unload8mod2.c: New file.
15271 * elf/unload8mod3.c: New file.
15272
15273 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15274 it wasn't used.
15275
2c0b250a
DM
152762011-08-23 David S. Miller <davem@davemloft.net>
15277
15278 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15279 subtract stack bias.
15280 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15281 %sp not %fp in calculations.
15282 (_JMPBUF_UNWINDS_ADJ): Likewise.
15283
22044b48
DM
15284 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15285 (aio_suspend): Call it to force an exception region around the
15286 AIO_MISC_WAIT() invocation.
15287
2cae4995
AS
152882011-08-23 Andreas Schwab <schwab@redhat.com>
15289
15290 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15291 backslash.
15292
873a772e
AJ
152932011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15294
15295 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15296 protection macro.
15297 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15298 and <dl-machine.h>.
15299 (Elf64_FuncDesc): Remove.
15300
25ad0df1
DM
153012011-08-22 David S. Miller <davem@davemloft.net>
15302
15303 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15304 sigaltstack check, add missing cfi directives.
15305 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15306 missing cfi directives, and sigaltstack handling.
15307
e888bcbe
AS
153082011-08-16 Andreas Schwab <schwab@redhat.com>
15309
15310 [BZ #11724]
15311 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15312 object is seen twice.
15313 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15314
15315 * elf/Makefile (distribute): Add tst-initorder2.c.
15316 (tests): Add tst-initorder2.
15317 (modules-names): Add tst-initorder2a tst-initorder2b
15318 tst-initorder2c tst-initorder2d. Add rules to build them.
15319 ($(objpfx)tst-initorder2.out): New rule.
15320 * elf/tst-initorder2.c: New file.
15321 * elf/tst-initorder2.exp: New file.
15322
87162f46
AS
153232011-08-22 Andreas Schwab <schwab@redhat.com>
15324
70538b7f
AS
15325 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15326
f55ffe58
AS
15327 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15328 dependencies back to end of function.
15329
87162f46
AS
15330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15331 $(elfobjdir)/ld.so.
15332
91b392a4
UD
153332011-08-21 Ulrich Drepper <drepper@gmail.com>
15334
15335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15336 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15338 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15339 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15340 of __vdso_gettimeofday.
15341 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15342 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15343 attribute_hidden.
15344 (_libc_vdso_platform_setup): Remove initialization of
15345 __vdso_gettimeofday and __vdso_time.
15346
5c43483f
UD
153472011-08-20 Ulrich Drepper <drepper@gmail.com>
15348
775a77e7
UD
15349 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15350 and fgetc_unlocked.
15351 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15352 getc_unlocked.
89f447ed 15353
49c74ba9
UD
15354 * elf/dl-open.c (add_to_global): Report additions to the global scope
15355 for LD_DEBUG=scopes.
15356 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15357 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15358
5c43483f
UD
15359 [BZ #13114]
15360 * stdio-common/Makefile (tests): Add bug24.
15361 * stdio-common/bug24.c: New file.
15362
a101b025
AJ
153632011-08-19 Andreas Jaeger <aj@suse.de>
15364
15365 [BZ #13114]
15366 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15367 non-existant file when using close-on-exec mode.
15368
c88f1766
UD
153692011-08-20 Ulrich Drepper <drepper@gmail.com>
15370
0276a718
UD
15371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15372 the very first instruction.
15373
c88f1766
UD
15374 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15375 the CFI state in the end.
15376 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15377 inclusion of dl-trampoline.h.
15378 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15379
51ccffa0
AS
153802011-08-19 Andreas Schwab <schwab@redhat.com>
15381
94d7165f
AS
15382 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15383 expectations for long double.
15384
51ccffa0
AS
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15386 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15387
fd708658 153882011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15389
15390 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15391 artificual limit depends upon the system page size.
15392
44f0a71e
UD
153932011-08-17 Ulrich Drepper <drepper@gmail.com>
15394
15395 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15396 * resolv/Makefile: Define CFLAGS-libresolv.
15397
8de79a24
AS
153982011-08-17 Andreas Schwab <schwab@redhat.com>
15399
15400 * nss/makedb.c (compute_tables): Make variables used in nested
15401 function static.
15402
27724598
UD
154032011-08-17 Ulrich Drepper <drepper@gmail.com>
15404
c5305d88
UD
15405 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15406 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15407 if buffer was too small.
15408
27724598
UD
15409 * elf/pldd.c (main): Attach to all threads in the process.
15410 Rewrite /proc handling to use *at functions.
15411
076fe015
UD
154122011-08-16 Ulrich Drepper <drepper@gmail.com>
15413
174baab3
UD
15414 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15415 specifies first scope to show.
15416 (dl_open_worker): Update callers. Move printing scope of new
15417 object to before the relocation.
44f0a71e 15418 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15419 * sysdeps/generic/ldsodefs.h: Update declaration.
15420
076fe015
UD
15421 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15422 string for the scope number.
15423
a60df2c3
UD
154242011-08-14 Ulrich Drepper <drepper@gmail.com>
15425
15426 * nscd/servicescache.c (cache_addserv): Make sure written is always
15427 initialized.
15428
5e4287d1
RM
154292011-08-14 Roland McGrath <roland@hack.frob.com>
15430
85ae0589
RM
15431 * sysdeps/i386/i486/bits/atomic.h
15432 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15433 statement expression, so as to suppress "set but not used" warning.
15434 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15435
69f63097
RM
15436 * string/strncat.c (STRNCAT): Use prototype definition.
15437
675456ef
RM
15438 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15439 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15440 -Iprograms here.
15441 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15442 (localedef-modules): Add localedef.
15443 (locale-modules): Add locale.
15444
5e4287d1
RM
15445 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15446 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15447 to avoid a warning.
15448
9c96ff23
DM
154492011-08-14 David S. Miller <davem@davemloft.net>
15450
15451 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15452 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15453
f9ddf089
UD
154542011-08-13 Ulrich Drepper <drepper@gmail.com>
15455
44f0a71e 15456 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15457 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15458 * elf/rtld.c (dl_main): Set l_name of vDSO.
15459 Call _dl_show_scope when DL_DEBUG_SCOPES.
15460 (process_dl_debug): Recognize scopes flag and also set it for all.
15461 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15462 Declare _dl_show_scope.
15463
1dc27704
UD
15464 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15465 (do_dlopen): Pass caller_dlopen to dl_open.
15466 (__libc_dlopen_mode): Initialize caller_dlopen.
15467
f9ddf089
UD
15468 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15469 of libc. Make tolower call locale-independent. Optimize a bit by
15470 using isdigit instead of isalnum.
15471 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15472
9ac533d3
UD
154732011-08-12 Ulrich Drepper <drepper@gmail.com>
15474
15475 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15476 was a dependency or dynamically loaded.
15477
89edf2e9
UD
154782011-08-11 Ulrich Drepper <drepper@gmail.com>
15479
8e999d29
UD
15480 * intl/l10nflist.c: Allow architecture-specific pop function.
15481 * sysdeps/x86_64/l10nflist.c: New file.
15482
89edf2e9
UD
15483 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15484 classification.
15485
14d96785
AS
154862011-08-10 Andreas Schwab <schwab@redhat.com>
15487
15488 * include/dirent.h: Add libc_hidden_proto for scandirat and
15489 scandirat64. Don't declare __scandirat64.
15490 * dirent/scandirat.c: Add libc_hidden_def.
15491 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15492 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15493
6761ac04
DM
154942011-08-10 David S. Miller <davem@davemloft.net>
15495
15496 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15497 enum.
15498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15500 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15501
c55fbd1e
UD
155022011-08-09 Ulrich Drepper <drepper@gmail.com>
15503
15504 * Versions.def [libc]: Add GLIBC_2.15.
15505 * dirent/Makefile (routines): Add scandirat and scandirat64.
15506 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15507 GLIBC_2.15.
15508 * dirent/dirent.h: Declare scandirat and scandirat64.
15509 * dirent/scandirat.c: New file.
15510 * dirent/scandirat64.c: New file.
15511 * sysdeps/wordsize-64/scandirat.c: New file.
15512 * sysdeps/wordsize-64/scandirat64.c: New file.
15513 * dirent/opendir.c: Define opendirat.
15514 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15515 using scandirat.
15516 * dirent/scandir64.c: Adjust for scandir.c change.
15517 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15518 __scandirat64, and __scandir_cancel_handler.
15519 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15520 additional parameter and use openat instead of open (outside of ld.so).
15521 Add new __opendir as wrapper around __opendirat.
15522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15523 here without requiring old scandirat implementation.
15524
879165f2
UD
155252011-08-08 Ulrich Drepper <drepper@gmail.com>
15526
15527 * dirent/scandir.c (cancel_handler): Renamed to
15528 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15529 defined. Adjust users.
15530 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15531 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15532
cb7e923b
UD
155332011-08-04 Ulrich Drepper <drepper@gmail.com>
15534
16292edd
UD
15535 * string/test-string.h (IMPL): Use __STRING to expand name and then
15536 stringify it.
15537
cb7e923b
UD
15538 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15539 of cleanups.
15540
cff82933
LD
155412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15542
15543 * string/Makefile: Update.
15544 (strop-tests): Append strncat.
15545 * string/test-wcscmp.c: New file.
15546 New comprehensive test for wcscmp.
15547 * string/test-strcmp.c: Update.
15548 (WIDE): New define.
15549
9be9bfcc
AS
155502011-07-22 Andreas Schwab <schwab@redhat.com>
15551
15552 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15553 line.
15554
2e96f1c7
AS
155552011-07-26 Andreas Schwab <schwab@redhat.com>
15556
15557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15558 encoding to ACE if AI_IDN.
15559
85188888
JJ
155602011-08-01 Jakub Jelinek <jakub@redhat.com>
15561
15562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15563 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15564
5fa16e9b
LD
155652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15566
15567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15568 Fix overflow bug in strncat.
15569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15570
15571 * string/test-strncat.c: Update.
15572 Add new tests for checking overflow bugs.
15573
155742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15575
15576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15577 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15578 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15579 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15580 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15581 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15582 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15583 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15584 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15585
15586 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15587 (USE_AS_STRCAT): Define.
15588 Add strcat and strncat support.
15589 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15590
8c1a459f
AS
155912011-07-25 Andreas Schwab <schwab@redhat.com>
15592
15593 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15594 __n bigger than INT_MAX+1.
15595 (__strncmp_g): Likewise.
15596
bba33c28
UD
155972011-07-23 Ulrich Drepper <drepper@gmail.com>
15598
798be72d
UD
15599 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15600 * libio/stido.h: Likewise.
15601
8accd4dc
UD
15602 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15603 (AF_NFC): Define.
15604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15605 (AF_NFC): Define.
15606
cbff0d96
UD
15607 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15610 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15612
9191c04a
UD
15613 [BZ #13021]
15614 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15615 installed.
15616
bba33c28
UD
15617 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15618 typo.
15619 (_dl_x86_64_save_sse): Likewise.
15620
90f139dd
UD
156212011-07-22 Ulrich Drepper <drepper@gmail.com>
15622
1aae088a
UD
15623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15624 OSXSAVE.
15625 (_dl_x86_64_save_sse): Likewise.
15626
8e2045f5
UD
15627 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15628
90f139dd
UD
15629 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15630
1d002f25
AS
156312011-07-21 Andreas Schwab <schwab@redhat.com>
15632
15633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15634 change.
15635 (_dl_x86_64_save_sse): Use correct AVX check.
15636
21137f89
UD
156372011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15638
15639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15640 bug in strncpy/strncat.
15641 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15642
a65c0b7a
UD
156432011-07-21 Ulrich Drepper <drepper@gmail.com>
15644
15645 * string/tester.c (test_strcat): Add tests for different alignments
15646 of source and destination.
15647 (test_strncat): Likewise.
15648
6986b98a
UD
156492011-07-20 Ulrich Drepper <drepper@gmail.com>
15650
90bb2039
UD
15651 [BZ #12852]
15652 * posix/glob.c (glob): Check passed in values before using them in
15653 expressions to avoid some overflows.
15654 (glob_in_dir): Likewise.
15655
5644ef54
UD
15656 [BZ #13007]
15657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15658 check for AVX enablement so that we don't crash with old kernels and
15659 new hardware.
15660 * elf/tst-audit4.c: Add same checks here.
15661 * elf/tst-audit6.c: Likewise.
15662
15663 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15664
bfc9dc9b
AS
156652011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15666
15667 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15668
702e64bb
UD
156692011-07-20 Ulrich Drepper <drepper@gmail.com>
15670
15671 * po/cs.po: Update from translation team.
15672 * po/bg.po: Likewise.
15673
295e904f
MP
156742011-07-12 Marek Polacek <mpolacek@redhat.com>
15675
15676 * misc/sys/cdefs.h: Add support for const attribute.
15677 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15678 to gnu_dev_{major,minor,makedev} functions.
15679
3ff94596
MP
156802011-07-20 Marek Polacek <mpolacek@redhat.com>
15681
15682 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15683
28b59fca
AS
156842011-07-20 Andreas Schwab <schwab@redhat.com>
15685
15686 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15687 strlen results.
15688
19df733e
AK
156892011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15690
15691 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15692 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15693 register in order to avoid conflicts with the soft frame pointer
15694 being held in r11 when necessary.
15695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15696 (INTERNAL_VSYSCALL_NCS): Likewise.
15697
c8835729
MP
156982011-07-14 Marek Polacek <mpolacek@redhat.com>
15699
15700 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15701 * elf/dl-fini.c (_dl_fini): Adjust caller.
15702 * elf/dl-close.c (_dl_close_worker): Likewise.
15703 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15704
b902330c
MP
157052011-07-15 Marek Polacek <mpolacek@redhat.com>
15706
8991e135
MP
15707 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15708 "aux_cache->nlibs < 0".
15709
b902330c
MP
15710 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15711 in the reload-count case.
15712
99710781
LD
157132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15714
15715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15716 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15717 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15718 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15719 * sysdeps/x86_64/multiarch/strcat.S: New file.
15720 * sysdeps/x86_64/multiarch/strncat.S: New file.
15721 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15722 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15723 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15724 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15725 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15726 (USE_AS_STRCAT): Define.
15727 Add strcat and strncat support.
15728 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15729 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15730 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15731 * string/strncat.c: Update.
15732 (USE_AS_STRNCAT): Define.
15733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15734 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15735 and i7.
15736 * sysdeps/x86_64/multiarch/init-arch.h
15737 (bit_Prefer_PMINUB_for_stringop): New.
15738 (index_Prefer_PMINUB_for_stringop): Likewise.
15739 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15740 bit_Prefer_PMINUB_for_stringop.
15741
7dc6bd90
UD
157422011-07-19 Ulrich Drepper <drepper@gmail.com>
15743
15744 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15745 buffer64.
15746 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15747 of casting of buffer.
15748 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15749 buffer32 and buffer64.
15750 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15751 writes instead of casting of buffer.
15752 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15753 buffer32.
15754 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15755 casting of buffer.
15756
e0e72284
AS
157572011-07-19 Andreas Schwab <schwab@redhat.com>
15758
15759 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15760
feb1eb0b
UD
157612011-07-19 Ulrich Drepper <drepper@gmail.com>
15762
15763 * nscd/nscd.c (termination_handler): Don't do anything for a database
15764 if it has not yet been initialized.
15765
298711ff
UD
157662011-07-18 Ulrich Drepper <drepper@gmail.com>
15767
15768 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15769
157702011-07-15 Marek Polacek <mpolacek@redhat.com>
15771
15772 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15773
f9d68389
UD
157742011-07-18 Ulrich Drepper <drepper@gmail.com>
15775
15776 * po/nl.po: Update from translation team.
15777 * po/sv.po: Likewise.
15778
db290cf5
RM
157792011-07-16 Roland McGrath <roland@hack.frob.com>
15780
15781 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15782 now disallowed by GCC.
5c550700 15783
fd5e21c7
RM
15784 * configure.in (use-default-link): Default to yes if a test -shared
15785 link meets our qualifications.
15786 * configure: Regenerated.
15787
5c550700
RM
15788 * config.make.in (output-format): New variable.
15789 * configure.in: Check for ld --print-output-format support.
15790 * configure: Regenerated.
15791 * Makerules ($(common-objpfx)format.lds)
15792 [$(output-format) != unknown]: Just use $(output-format),
15793 instead of the linker-script munging.
15794
9fa2c032
RM
157952011-07-14 Roland McGrath <roland@hack.frob.com>
15796
a6928d51
RM
15797 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15798 of $(common-objpfx)shlib.lds.
15799 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15800
661607b3
RM
15801 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15802 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15803
9fa2c032
RM
15804 * configure.in (-z relro check): Adjust test code to add a large
15805 writable data section after it.
15806 * configure: Regenerated.
15807
defe9061
RM
158082011-07-11 Roland McGrath <roland@hack.frob.com>
15809
15810 * configure.in (-z relro check): Fix test code to make the variable
15811 truly const.
15812 * configure: Regenerated.
15813
319b9ad4
UD
158142011-07-11 Ulrich Drepper <drepper@gmail.com>
15815
15816 * nscd/nscd.h (struct traced_file): Define.
15817 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15818 elements. Add traced_files.
15819 (inotify_fd): Declare.
15820 (register_traced_file): Declare.
15821 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15822 (inotify_fd): Export.
15823 (resolv_conf_descr): Remove.
15824 (nscd_init): Move inotify descriptor creation to main.
15825 Don't register files for notification here.
15826 (register_traced_file): New function.
15827 (invalidate_cache): Don't use reset_res to determine whether to call
15828 res_init, go through the list of registered files.
15829 (main_loop_poll): The inotify descriptors are now stored in the
15830 structures for the traced files.
15831 (main_loop_epoll): Likewise
15832 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15833 to __nss_disable_nscd.
15834 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15835 for a database anymore. Check the records for all the registered
15836 files instead.
15837 * nss/Makefile (libnss_files-routines): Add files-init.
15838 (libnss_db-routines): Add db-init.
15839 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15840 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15841 * nss/nss_db/db-init.c: New file.
15842 * nss/nss_files/files-init.c: New file.
15843 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15844 __nss_lookup_function.
15845 (__nss_lookup_function): Call nss_load_library.
15846 (nss_load_all_libraries): New function.
15847 (__nss_disable_nscd): Take parameter with callback function for files
15848 to register. Set is_nscd. Load all the DSOs for the NSS modules
15849 used for the cached services.
15850 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15851 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15852 options for features to all the files in nscd.
15853
15854 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15855
23bee3e8
RM
158562011-07-10 Roland McGrath <roland@hack.frob.com>
15857
15858 * csu/elf-init.c (__libc_csu_init): Comment typo.
15859
46a5b7f0
UD
158602011-07-09 Ulrich Drepper <drepper@gmail.com>
15861
15862 * po/pl.po: Update from translation team.
15863 * po/ja.po: Likewise.
15864 * po/ru.po: Likewise.
15865 * po/ko.po: Likewise.
15866 * po/fr.po: Likewise.
15867
d30cf5bb
RM
158682011-07-09 Roland McGrath <roland@hack.frob.com>
15869
113ddea4
RM
15870 * configure.in (.ctors/.dtors header and trailer check):
15871 Use an empirical test on a built program.
15872 * configure: Regenerated.
15873
574920b4
RM
15874 * configure.in (-z relro check): Use an empirical test on a built DSO.
15875 Detect, but do not require, on ia64.
15876 * configure: Regenerated.
15877
d30cf5bb
RM
15878 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15879 Update tests that use readelf to use $READELF instead.
15880 * configure: Regenerated.
15881
8538fdb3
UD
158822011-07-08 Ulrich Drepper <drepper@gmail.com>
15883
15884 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15885 if the result is not used.
15886
04d08991
AJ
158872011-07-05 Andreas Jaeger <aj@suse.de>
15888
15889 [BZ#9696]
15890 * stdlib/tst-strtod.c: Add testcase.
15891
de283087
AD
158922011-07-07 Ulrich Drepper <drepper@gmail.com>
15893
4e5f31c8 15894 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15895 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15896 The latter has a higher limit. Take additional parameter to pass to
15897 the new function.
15898 (__pathconf): Pass file to __statfs_link_max.
15899 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15900 __statfs_link_max.
15901 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15902 __statfs_link_max.
15903
de283087
AD
15904 [BZ #12868]
15905 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15907 Handle Lustre.
15908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15909 (__statfs_filesize_max): Likewise.
15910 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15911
c75fa153
AJ
159122011-07-05 Andreas Jaeger <aj@suse.de>
15913
15914 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15915
1a544854
UD
159162011-07-06 Marek Polacek <mpolacek@redhat.com>
15917
15918 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15919 `status' variable.
15920 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15921 Likewise.
15922
6f0eec67
UD
159232011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15924
15925 * Makefile (strop-tests): Add strncat.
15926 * string/test-strncat.c: New file.
15927
aae30307
UD
159282011-06-30 Marek Polacek <mpolacek@redhat.com>
15929
15930 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15931
c0cfb5eb
UD
159322011-06-21 Andreas Jaeger <aj@suse.de>
15933
15934 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15935 Copy rule from iconvdata/Makefile.
15936
01636b21
UD
159372011-07-06 Ulrich Drepper <drepper@gmail.com>
15938
15939 [BZ #12922]
15940 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15941 but no long options are defined, just return 'W'.
15942
9895c8bc
UD
159432011-06-22 Marek Polacek <mpolacek@redhat.com>
15944
15945 [BZ #9696]
15946 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15947
5d4cf042
UD
159482011-07-06 Ulrich Drepper <drepper@gmail.com>
15949
15950 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15951 netgroups to read.
960e5535 15952 (innetgr): Likewise.
5d4cf042 15953
751eb97e
RM
159542011-07-05 Roland McGrath <roland@hack.frob.com>
15955
15956 * config.make.in (install_root): Default to $(DESTDIR).
15957
f15f1e45
UD
159582011-07-05 Ulrich Drepper <drepper@gmail.com>
15959
15960 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15961
4e34ac6a
RM
159622011-07-02 Roland McGrath <roland@hack.frob.com>
15963
5e9b6af4
RM
15964 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15965
84f9ea0f
RM
15966 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15967 containing directory rather than embedding absolute directory names.
15968
ea5ee9f7
RM
15969 * scripts/check-local-headers.sh: Rewritten using awk.
15970 Match by word, not by line. Print error messages for matches.
15971 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15972
1b74661a
RM
15973 * Makerules [shlib-lds-flags empty]:
15974 ($(common-objpfx)libc_pic.opts): New target.
15975 ($(common-objpfx)libc_pic.os.clean): New target.
15976 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15977
15978 * config.make.in (OBJCOPY): New variable.
15979 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15980 * configure: Regenerated.
15981
f781ef40
RM
15982 * config.make.in (use-default-link): New variable.
15983 * configure.in (use_default_link): Grok --with-default-link to set it.
15984 * configure: Regenerated.
15985 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15986 (shlib-lds, shlib-lds-flags): Define to empty.
15987
2d4fa81e
RM
15988 * Makerules (shlib-lds): New variable.
15989 (shlib-lds-flags): New variable.
15990 (build-shlib, build-moduile, build-module-asneeded): Use it.
15991 ($(common-objpfx)libc.so): Use $(shlib-lds).
15992 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15993 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15994
31fffa6b
RM
15995 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15996 DT_FLAGS/DT_FLAGS_1 with zero flags.
15997
4e34ac6a
RM
15998 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15999 linker script munging.
16000
fcfc776b
UD
160012011-07-02 Ulrich Drepper <drepper@gmail.com>
16002
16003 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
16004 as 128-bit value.
16005 * crypt/sha512.c (sha512_process_block): Perform total addition using
16006 128-bit if possible.
16007 (__sha512_finish_ctx): Likewise.
16008 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
16009 as 64-bit value.
16010 * crypt/sha256.c (SWAP64): Define.
16011 (sha256_process_block): Perform total addition using 64-bit if
16012 possible.
16013 (__sha256_finish_ctx): Likewise.
16014
99231d9a
UD
160152011-07-01 Ulrich Drepper <drepper@gmail.com>
16016
16017 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
16018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16019 * nscd/hstcache.c (cache_addhst): Likewise.
16020 * nscd/grpcache.c (cache_addgr): Likewise.
16021 * nscd/aicache.c (addhstaiX): Likewise
16022 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
16023
445b4a53
TK
160242011-07-01 Thorsten Kukuk <kukuk@suse.de>
16025
16026 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
16027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16028 * nscd/hstcache.c (cache_addhst): Likewise.
16029 * nscd/grpcache.c (cache_addgr): Likewise.
16030 * nscd/aicache.c (addhstaiX): Likewise
16031
6d4d8e8e
AS
160322011-07-01 Andreas Schwab <schwab@redhat.com>
16033
16034 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
16035 domain only when needed.
16036
89f654c5
AS
160372011-06-30 Andreas Schwab <schwab@redhat.com>
16038
16039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
16040 is always restored.
16041
cf3b23ff
UD
160422011-06-29 Ulrich Drepper <drepper@gmail.com>
16043
16044 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
16045 are re-adding the entry.
16046 * nscd/servicescache.c (cache_addserv): Likewise.
16047
751626f9
AJ
160482011-06-30 Aurelien Jarno <aurelien@aurel32.net>
16049
16050 * sysdeps/generic/dl-irel.h: fix protection against multiple
16051 inclusions.
16052 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
16053
9113ea1f
UD
160542011-06-28 Ulrich Drepper <drepper@gmail.com>
16055
5c0b8d90
UD
16056 [BZ #12935]
16057 * malloc/memusage.sh: Fix quoting in message.
16058 * debug/xtrace.sh: Likewise.
16059
9113ea1f
UD
16060 * configure.in: Remove support for --experimental-malloc option, make
16061 it the default.
16062 * config.make.in: Likewise.
16063 * malloc/Makefile: Likewise.
16064
a4172181
AS
160652011-06-27 Andreas Schwab <schwab@redhat.com>
16066
16067 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
16068 two-byte characters.
16069
78a7eee7
RM
160702011-06-27 Roland McGrath <roland@hack.frob.com>
16071
62bede13
RM
16072 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
16073 AC_CACHE_CHECK invocation.
16074 * configure: Regenerated.
16075
78a7eee7
RM
16076 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
16077
5ce33a62
UD
160782011-06-27 Ulrich Drepper <drepper@gmail.com>
16079
034807a9
UD
16080 [BZ #12350]
16081 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
16082 bit from old_res_options.
16083
4902da17
UD
16084 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16085
5ce33a62
UD
16086 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16087 value type for setfct.
16088
c2344f56
L
160892011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16090
16091 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16092 __gettimeofday instead of gettimeofday.
16093
68468076
UD
160942011-06-26 Ulrich Drepper <drepper@gmail.com>
16095
16096 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16097
acb0d739
L
160982011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16099
16100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16101
16102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16103 info.
16104
8912479f
L
161052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16106
16107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16108 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16109 strcpy-sse2-unaligned strncpy-sse2-unaligned
16110 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16111 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16112 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16113 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16114 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16115 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16116 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16117 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16118 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16119 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16120 (STRCPY): Support SSE2 and SSSE3 versions.
16121
d5495a11
UD
161222011-06-24 Ulrich Drepper <drepper@gmail.com>
16123
16124 [BZ #12874]
16125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16126 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16127 kernels which artificially limit size of requests.
16128
0b1cbaae
L
161292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16130
16131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16132 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16133 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16134 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16135 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16136 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16137 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16138 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16139 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16140 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16141 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16142 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16143 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16144 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16145 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16147 Enable unaligned load optimization for Intel Core i3, i5 and i7
16148 processors.
16149 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16150 Define.
16151 (index_Fast_Unaligned_Load): Define.
16152 (HAS_FAST_UNALIGNED_LOAD): Define.
16153
07f494a0
MP
161542011-06-23 Marek Polacek <mpolacek@redhat.com>
16155
16156 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16157
fa3fc0fe
UD
161582011-06-22 Ulrich Drepper <drepper@gmail.com>
16159
16160 [BZ #12907]
16161 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16162 until it is clear that the information is realy needed.
16163 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16164
e12df166
AS
161652011-06-22 Andreas Schwab <schwab@redhat.com>
16166
16167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16168
852eb34d
UD
161692011-06-22 Ulrich Drepper <drepper@gmail.com>
16170
84e2a551
UD
16171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16172 /sys/devices/system/cpu/online if it is usable.
16173
852eb34d
UD
16174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16175 reading the information from the /proc filesystem to once a second.
16176
6e502e19
UD
161772011-06-21 Andreas Jaeger <aj@suse.de>
16178
16179 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16180 NULL after inclusion of kernel headers.
16181
75d39ff2
UD
161822011-06-21 Ulrich Drepper <drepper@gmail.com>
16183
51f9aa6a
UD
16184 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16185 calls to internal_setent.
16186
c0244a9d
UD
16187 [BZ #12885]
16188 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16189 addresses using gethostbyname4_r ignore IPv4 addresses.
16190
c5e3c2ae
UD
16191 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16192 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16193
75d39ff2
UD
16194 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16195
42675c6f
DM
161962011-06-20 David S. Miller <davem@davemloft.net>
16197
16198 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16199 inclusions.
16200 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16201
16202 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16203 (elf_irel): Use it.
16204 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16205 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16206 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16207 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16208 * sysdeps/x86_64/dl-irel.h: Likewise.
16209
16210 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16211 * elf/dl-sym.c: Likewise.
16212
57912a71
UD
162132011-06-15 Ulrich Drepper <drepper@gmail.com>
16214
16215 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16216 need to dereference resplen2.
16217
ee22793d
AS
162182011-06-14 Andreas Schwab <schwab@redhat.com>
16219
16220 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16221
a9e836b0
UD
162222011-06-15 Ulrich Drepper <drepper@gmail.com>
16223
77fb9117
UD
16224 * Makeconfig: Define vardbdir and inst_vardbdir.
16225 * nss/Makefile: Add rules to install db-Makefile.
16226
40c1b22c
UD
16227 * nss/nss_db/db-XXX.c: Cleanup.
16228
9f2da732
UD
16229 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16230 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16231 GLIBC_PRIVATE.
16232 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16233 * nss/makedb.c: Implement -g option to specify that value strings
16234 are generated and should not be added to table iterated over for
16235 get*ent calls.
16236 * nss/nss_db/db-initgroups.c: New file.
16237
82e9a1f7
UD
16238 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16239 interface.
16240
c41af17e
UD
16241 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16242 (internal_getgrouplist): Adjust to name change.
16243 Update use_initgroups_entry if this is not the first call.
16244 * nss/databases.def: Add initgroups entry.
16245
a9e836b0
UD
16246 * nss/makedb.c (compute_tables): Check result of multiple hash table
16247 sizes to minimize maximum chain length.
16248
2666d441
UD
162492011-06-14 Ulrich Drepper <drepper@gmail.com>
16250
16251 * Versions.def: Add entry for libnss_db.
16252 * shlib-versions: Likewise.
16253 * nss/Makefile: Add rules to build libnss_db.
16254 * nss/Versions: Add libnss_db information. Organize libnss_files
16255 entries better.
16256 * nss/db-Makefile: Add gshadow support. Change rules for the new
16257 makedb progra. Some minor improvements to generate smaller files.
16258 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16259 here from...
16260 * nss/makedb.c: ...here.
16261 Improve database format to be smaller and require less memory at
16262 runtime.
16263 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16264 db anymore.
16265 * nss/nss_db/db-netgrp.c: Likewise.
16266 * nss/nss_db/db-open.c: Likewise.
16267 * nss/nss_files/flies-XXX.x: Adjust comments.
16268 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16269 * nss/nss_files/files-grp.c: Likewise.
16270 * nss/nss_files/files-hosts.c: Likewise.
16271 * nss/nss_files/files-network.c: Likewise.
16272 * nss/nss_files/files-proto.c: Likewise.
16273 * nss/nss_files/files-pwd.c: Likewise.
16274 * nss/nss_files/files-rpc.c: Likewise.
16275 * nss/nss_files/files-service.c: Likewise.
16276 * nss/nss_files/files-sgrp.c: Likewise.
16277 * nss/nss_files/files-spwd.c: Likewise.
16278 * nss/nss_db/db-alias.c: Removed.
16279 * nss/nss_db/dummy-db.h: Removed.
16280
9ee76b5a
UD
162812011-06-02 Ulrich Drepper <drepper@gmail.com>
16282
16283 * nss/makedb.c: Rewritten to not use database library.
16284 * nss/Makefile: Update to build new makedb program.
16285
c71ca1f8
AJ
162862011-06-14 Andreas Jaeger <aj@suse.de>
16287
16288 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16289 memset declaration.
16290
3154bfb8
UD
162912011-06-10 Andreas Schwab <schwab@redhat.com>
16292
16293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16294 tmpbuf.
16295
b350afab
RM
162962011-06-10 Roland McGrath <roland@hack.frob.com>
16297
decd4e50
RM
16298 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16299 * elf/Makefile ($(objpfx)ld.so): Likewise.
16300
5615eaf2
RM
16301 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16302 Don't list ld.so twice in dependencies.
16303
16304 * posix/bug-regex31.c: Include <stdlib.h>.
16305
16306 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16307
16308 * nis/nss_compat/compat-spwd.c
16309 (getspent_next_nss_netgr): Remove unused variable.
16310 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16311
16312 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16313 nonmembers" output to use the right array.
16314
16315 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16316
16317 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16318
16319 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16320 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16321 * catgets/gencat.c (read_input_file): Likewise.
16322 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16323
16324 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16325 variable definition inside #if's controlling its use.
16326
16327 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16328
16329 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16330
16331 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16332
16333 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16334 unreachable code.
16335
16336 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16337
b68e08db
RM
16338 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16339 * configure: Regenerated.
16340
b350afab
RM
16341 * Makerules: Revert last change.
16342 * elf/Makefile: Likewise.
16343
28368601
RM
163442011-06-09 Roland McGrath <roland@hack.frob.com>
16345
16346 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16347 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16348 (reloc-link): Likewise.
16349
11988f8f
UD
163502011-06-09 Ulrich Drepper <drepper@gmail.com>
16351
16352 * elf/Makefile: Add rules to build pldd.
16353 * elf/pldd.c: New file.
16354 * elf/pldd-xx.c: New file.
16355
e80fab37
UD
163562011-06-07 Ulrich Drepper <drepper@gmail.com>
16357
16358 * version.h: Update for 2.15 development version.
16359
9b849836
DM
163602011-06-07 David S. Miller <davem@davemloft.net>
16361
16362 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16363 ifuncs.
16364 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16365 elf_machine_lazy_rel): Likewise.
16366 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16367 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16368 elf_machine_lazy_rel): Likewise.
16369 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16370 dl_hwcap via passed in argument.
16371 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16372 Likewise.
16373
5a31b283
AK
163742011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16375
16376 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16377
069e52f8
RM
163782011-06-06 Roland McGrath <roland@hack.frob.com>
16379
16380 [BZ #12849]
16381 * manual/fdl-1.1.texi: New file, verbatim from:
16382 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16383 * manual/lgpl-2.1.texi: New file, verbatim from:
16384 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16385 * manual/Makefile (licenses): New variable, list those new file names.
16386 (texis): Use it.
16387 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16388
16389 * manual/fdl.texi: File removed.
16390 * manual/lesser.texi: File removed.
16391 * manual/libc.texinfo (Copying, Documentation License):
16392 Use new @include file names, put @appendix directive before @include.
16393
f16846a5
JJ
163942011-06-04 Jakub Jelinek <jakub@redhat.com>
16395
16396 [BZ #12841]
16397 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16398 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16399 (mq_open): Add __NTH.
16400
3d29045b
L
164012011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16402
16403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16404 Assume Intel Core i3/i5/i7 processor if AVX is available.
16405
8c297311
UD
164062011-05-31 Ulrich Drepper <drepper@gmail.com>
16407
16408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16409 typo.
16410
c8fc0c91
UD
164112011-05-31 Andreas Schwab <schwab@redhat.com>
16412
16413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16414 memory. Use alloca_account. Fix memory leak when retrying.
16415
5b27a807
UD
164162011-05-31 Ulrich Drepper <drepper@gmail.com>
16417
356f8bc6
UD
16418 * version.h (RELEASE): Bump for 2.14 release.
16419 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16420
5b27a807
UD
16421 * config.make.in (RANLIB): Remove entry.
16422
01f16ab0
UD
164232011-05-30 Ulrich Drepper <drepper@gmail.com>
16424
41fce8bd
UD
16425 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16426 (libc.pot): Work around missing support for .ksh extension in xgettext.
16427
4769ae77
UD
16428 [BZ #12684]
16429 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16430 if both request failed.
16431 (send_dg): In case of server errors clear resplen or *resplen2.
16432
6b1e7d19
UD
16433 [BZ #12454]
16434 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16435 when there are multiple maps.
16436 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16437 (_dl_fini): Remove test here.
16438
01f16ab0
UD
16439 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16440
b1ebd700
UD
164412011-05-29 Ulrich Drepper <drepper@gmail.com>
16442
7ae22829
UD
16443 [BZ #12350]
16444 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16445 bit from old_res_options.
16446 (gaih_inet): Likewise.
16447
553149f6 16448 [BZ #11099]
18a84741 16449 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16450 as signed.
16451
652ffab1
UD
16452 * resolv/res_init.c (res_setoptions): Make the code more compact.
16453
16985fd0
UD
16454 [BZ #11558]
16455 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16456 set RES_USEVC.
16457
0464f746
UD
16458 [BZ #11634]
16459 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16460
7d17596c
UD
16461 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16462
cf6bbbd7
UD
16463 [BZ #11781]
16464 * malloc/malloc.h: Declare malloc hook variables as volatile.
16465
13f1ab36
UD
16466 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16467 in last patch.
16468
b1ebd700
UD
16469 [BZ #11799]
16470 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16471 raise in the comment.
80e2212d
UD
16472 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16473 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16474 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16475
ce67228d
UD
164762011-05-28 Ulrich Drepper <drepper@gmail.com>
16477
8887a920
UD
16478 [BZ #12811]
16479 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16480 grow the buffers more if it already has to be sufficient.
16481 (build_wcs_upper_buffer): Likewise.
16482 * posix/regexec.c (check_matching): Likewise.
16483 (clean_state_log_if_needed): Likewise.
16484 (extend_buffers): Don't enlarge buffers beyond size of the input
16485 buffer.
16486 Patches mostly by Emil Wojak <emil@wojak.eu>.
16487 * posix/bug-regex32.c: New file.
16488 * posix/Makefile (tests): Add bug-regex32.
16489
4f031072
UD
16490 * locale/findlocale.c (_nl_find_locale): Return right away if
16491 _nl_explode_name failed.
16492 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16493
d0478f0c
UD
16494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16495
de81b246
UD
16496 * debug/xtrace.sh: Unify messages.
16497 * malloc/memusage.sh: Likewise.
16498
c738465a
UD
16499 [BZ #12813]
16500 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16501 time symbol from vDSO. Substitute with vsyscall if not available.
16502 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16503 __vdso_time.
16504
f1f929d7
UD
16505 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16506 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16507 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16508 Add sendmmsg and internal_sendmmsg.
16509 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16510 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16511 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16512
ce67228d
UD
16513 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16514 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16515 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16516
e57420c6
UD
165172011-05-27 Ulrich Drepper <drepper@gmail.com>
16518
a8509ca5
UD
16519 [BZ #12813]
16520 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16521 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16522 available.
16523 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16524 __vdso_getcpu.
16525
e57420c6
UD
16526 [BZ #12814]
16527 * iconvdata/Makefile (tests): Add bug-iconv9.
16528 * iconvdata/bug-iconv9.c: New file.
16529
4d07db15
AS
165302011-05-27 Andreas Schwab <schwab@redhat.com>
16531
16532 [BZ #12814]
16533 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16534
ea486f69
JJ
165352011-05-25 Jakub Jelinek <jakub@redhat.com>
16536
16537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16538 (struct user_regs_struct): Change intcs field back to cs.
16539
6f038433
UD
165402011-05-25 Ulrich Drepper <drepper@gmail.com>
16541
16542 * po/ja.po: Update from translation team.
16543
67f86a25
UD
165442011-05-23 Ulrich Drepper <drepper@gmail.com>
16545
16546 [BZ #12795]
16547 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16548 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16549
def7fbd6
AS
165502011-05-20 Andreas Schwab <schwab@redhat.com>
16551
16552 * stdlib/longlong.h: Update from GCC.
16553
f50ef8f1
AS
165542011-05-23 Andreas Schwab <schwab@redhat.com>
16555
16556 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16557 parameter name.
16558 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16559 Add parameter name.
16560 (__sysconf): Pass it down.
16561
de7ce8f1
UD
165622011-05-22 Ulrich Drepper <drepper@gmail.com>
16563
f2962a71
UD
16564 [BZ #12671]
16565 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16566 some situations.
16567 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16568 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16569 add in in __libc_use_alloca calls. Adjust callers.
16570 (glob): Use malloc in some situations.
16571
de7ce8f1
UD
16572 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16573 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16574 pltexit.
16575
aec84f53
UD
165762011-05-21 Ulrich Drepper <drepper@gmail.com>
16577
05bb4a68
UD
16578 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16579 and CLOCK_BOOTTIME_ALARM.
16580
7ea72f99
UD
16581 [BZ #12782]
16582 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16583 is returned.
16584
7e4afad5
UD
16585 * string/_strerror.c (__strerror_r): Print negative errors as signed
16586 numbers.
16587
8e211fec
UD
16588 [BZ #12777]
16589 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16590 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16591 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16592
f7d82dc9
UD
16593 * configure.in: Fix typo in redirection and correct removal of test
16594 files in two cases.
16595
cc9e536d
UD
16596 [BZ #12788]
16597 * locale/setlocale.c (new_composite_name): Fix test to check for
16598 identical name of all categories.
16599
aec84f53
UD
16600 [BZ #12792]
16601 * libio/filedoalloc.c (local_isatty): New function.
16602 (_IO_file_doallocate): Use local_isatty.
16603 * stdio-common/perror.c (perror): In case a new stream is used
16604 forward the stream error.
16605 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16606 error flag.
16607
78e64fdc
RT
166082011-05-20 Ulrich Drepper <drepper@gmail.com>
16609
34a9094f
UD
16610 [BZ #11869]
16611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16612 alloca.
16613 * include/alloca.h (extend_alloca_account): Define.
16614
78e64fdc
RT
16615 [BZ #11857]
16616 * posix/regex.h: Fix comments with documentation of user-accessible
16617 fields after compilation and describe correct free'ing of pattern
16618 after re_compile_pattern.
16619 Patch by Reuben Thomas <rrt@sc3d.org>.
16620
457bddfc
RA
166212011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16622
16623 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16624 and -mno-altivec to prevent the compiler from using Altivec and/or
16625 VSX instructions when the corresponding registers are not available.
16626
a4527b51
AS
166272011-05-19 Andreas Schwab <schwab@redhat.com>
16628
16629 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16630
ed690b2f
UD
166312011-05-19 Ulrich Drepper <drepper@gmail.com>
16632
16633 * libio/freopen.c (freopen): Use __dup2, not dup2.
16634 * libio/freopen64.c (freopen64): Likewise.
16635
8db73634
L
166362011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16637
16638 [BZ #12775]
16639 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16640 * math/Makefile (tests): Add test-powl.
16641 (CFLAGS-test-powl.c): Define.
16642 * math/test-powl.c: New file.
16643
0a197a9d
L
166442011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16645
16646 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16647
ee30c380
UD
166482011-05-17 Ulrich Drepper <drepper@gmail.com>
16649
16650 [BZ #11837]
16651 * iconvdata/gb18030.c: Update to GB18020-2005.
16652
6ce75379
UD
166532011-05-16 Ulrich Drepper <drepper@gmail.com>
16654
a4b89fd8
AR
16655 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16656 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16657 Patch by Aharon Robbins <arnold@skeeve.com>.
16658
ea389b12
UD
16659 [BZ #11892]
16660 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16661 on the stack.
16662
68a3f91f
UD
16663 [BZ #11895]
16664 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16665 through underflows.
16666
15cc7dd1
UD
16667 [BZ #12766]
16668 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16669 point to strings before performing equality test for error_one_per_line
16670 mode.
16671
f3799213
UD
16672 [BZ #11697]
16673 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16674
d79a9c94
UD
16675 [BZ #11820]
16676 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16677 (struct user_fpregs_struct): Avoid __uint*_t types.
16678
56e5eb46
UD
16679 [BZ #6420]
16680 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16681 symbol info. Use it instead of calling _dl_addr locally.
16682 (lock_and_info): New function.
16683 (tr_freehook): Call lock_and_info and pass symbol info as additional
16684 parameter to tr_where.
16685 (tr_mallochook): Likewise.
16686 (tr_reallochook): Likewise.
16687 (tr_memalignhook): Likewise.
16688
6ce75379
UD
16689 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16690 used and couldn't be at all thread-safe.
16691
f8a3b5bf
UD
166922011-05-15 Ulrich Drepper <drepper@gmail.com>
16693
94b7cc37
UD
16694 * libio/freopen.c (freopen): Don't close old file descriptor
16695 before the new one is opened. Instead dup the new file descriptor
16696 to the old one after the new stream is created.
16697 * libio/freopen64.c (freopen64): Likewise.
16698 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16699 * libio/fileops.c (_IO_new_file_close_it): Handle new
16700 _IO_FLAGS2_NOCLOSE flag.
16701 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16702 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16703 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16704 _IO_FLAGS2_NOCLOSE flag.
16705 * include/unistd.h: Add hidden_proto for dup3.
16706 Define __have_dup3.
16707 * io/dup3.c: Define hidden symbol.
16708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16709
bd25564e
UD
16710 [BZ #7101]
16711 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16712 when an incomplete long option is used.
16713 * posix/tst-getopt_long1.c: New file.
16714 * posix/Makefile (tests): Add tst-getopt_long1.
16715
c84cfef4
UD
16716 [BZ #10138]
16717 * scripts/config.guess: Update from autoconf-2.68.
16718 * scripts/config.sub: Likewise.
16719
3b85df27
UD
16720 [BZ #10157]
16721 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16722 tests into ...
16723 (has_cpuclock): ...this. New function.
16724 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16725 macro here based on has_cpuclock code.
16726
15a856b1
UD
16727 [BZ #10149]
16728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16729 First byte (not low byte) is now always NUL.
16730 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16731
05f399e6
UD
16732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16733 Use non-cancelable interfaces.
16734
10a52685 16735 [BZ #9809]
94ecc67d
UD
16736 * locale/iso-639.def: Add entry for Sorani.
16737
f8a3b5bf
UD
16738 [BZ #11901]
16739 * include/stdlib.h: Move include protection to the right place.
16740 Define abort_msg_s. Declare __abort_msg with it.
16741 * stdlib/abort.c (__abort_msg): Adjust type.
16742 * assert/assert.c (__assert_fail_base): New function. Majority
16743 of code from __assert_fail. Allocate memory for __abort_msg with
16744 mmap.
16745 (__assert_fail): Now call __assert_fail_base.
16746 * assert/assert-perr.c: Remove bulk of implementation. Use
16747 __assert_fail_base.
16748 * include/assert.hL Declare __assert_fail_base.
16749 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16750 mmap.
16751 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16752
1af4e298
UD
167532011-05-14 Ulrich Drepper <drepper@gmail.com>
16754
f8a3b5bf 16755 [BZ #11952]
d26dfc60
MG
16756 [BZ #12453]
16757 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16758 until all modules are registered in the DTV.
16759 * elf/Makefile: Add rules to build and run tst-tls19.
16760 * elf/tst-tls19.c: New file.
16761 * elf/tst-tls19mod1.c: New file.
16762 * elf/tst-tls19mod2.c: New file.
16763 * elf/tst-tls19mod3.c: New file.
16764 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16765
2fc54d6f
UD
16766 [BZ #12083]
16767 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16768 correctly.
16769
98d76b46
UD
16770 [BZ #12601]
16771 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16772 two-byte sequence errors.
16773 * iconvdata/Makefile (tests): Add bug-iconv8.
16774 * iconvdata/bug-iconv8.c: New file.
16775
da3c19ef
UD
16776 [BZ #12626]
16777 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16778 buf2 definition.
16779
ca408c15
UD
16780 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16781
d6f67f7d
UD
16782 [BZ #12432]
16783 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16784 (dummy_getcfa): New function.
16785 (init): Get _Unwind_GetCFA address, use dummy if not found.
16786 (backtrace_helper): In recursion check, also check whether CFA changes.
16787 (__backtrace): Completely initialize arg.
16788
1af4e298 16789 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16790 storing incomplete byte sequence in state object. Avoid testing for
16791 guaranteed too small input if we know there is enough data available.
1af4e298 16792
da62f81b
AS
167932011-05-11 Andreas Schwab <schwab@redhat.com>
16794
16795 * Makeconfig (+link-pie): Indent.
16796 * Rules (binaries-pie): Define if $(have-fpie) and
16797 $(build-shared).
16798 (binaries-shared): Also filter out $(binaries-pie).
16799 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16800 * nscd/Makefile (others-pie): Add nscd.
16801 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16802 ($(objpfx)nscd): Remove command override.
16803 * login/Makefile (others-pie): Add pt_chown.
16804 ($(objpfx)pt_chown): Remove command override.
16805 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16806 remove command overrides.
16807
fcabc0f8
UD
168082011-05-13 Ulrich Drepper <drepper@gmail.com>
16809
20030ae6
UD
16810 * libio/tst_putwc.c: Fix error messages.
16811
fcabc0f8
UD
16812 [BZ #12724]
16813 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16814 currently writing and seek to current position when not.
16815 * libio/Makefile (tests): Add bug-fclose1.
16816 * libio/bug-fclose1.c: New file.
16817
320a5dc0
PB
168182011-05-12 Ulrich Drepper <drepper@gmail.com>
16819
16820 [BZ #12511]
16821 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16822 don't set DF_1_NODELETE here.
16823 (do_lookup_x): When entering new entry test for copy relocation
16824 and if necessary set DF_1_NODELETE flag.
16825 * elf/tst-unique4.cc: New file.
16826 * elf/tst-unique4.h: New file.
16827 * elf/tst-unique4lib.cc: New file.
16828 * elf/Makefile: Add rules to build and run tst-unique4.
16829 Patch by Piotr Bury <pbury@goahead.com>.
16830
22836f52
UD
168312011-05-11 Ulrich Drepper <drepper@gmail.com>
16832
f574184a
UD
16833 [BZ #12052]
16834 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16835
e1fb097f
UD
16836 [BZ #12625]
16837 * misc/mntent_r.c (addmntent): Flush the stream after the output
16838
22836f52
UD
16839 [BZ #12393]
16840 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16841 (is_trusted_path_normalize): Skip initial colon. Append slash
16842 to empty buffer. Duplicate is_trusted_path code but allow
16843 constructed patch to be prefix.
16844 (is_dst): Allow $ORIGIN followed by /.
16845 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16846 Correct testing of result of is_trusted_path_normalize
16847 (decompose_rpath): Fix warning.
16848
7b3b0b2a
UD
168492011-05-10 Ulrich Drepper <drepper@gmail.com>
16850
16851 [BZ #11257]
16852 * grp/initgroups.c (internal_getgrouplist): When we found the service
16853 list through the initgroups entry in nsswitch.conf do not always
16854 continue on a successful lookup. Don't always use the
eac80ce2 16855 __nss_group_database value if it is set.
7b3b0b2a
UD
16856 * nss/nsswitch.conf (initgroups): Change action for successful db
16857 lookup to continue for compatibility.
16858
2a81eaa5
UD
168592011-05-09 Ulrich Drepper <drepper@gmail.com>
16860
be97a69e
UD
16861 [BZ #11532]
16862 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16863 and CP774 modules.
16864 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16865 and CP774 modules.
16866 * iconvdata/tst-tables.sh: Likewise.
16867 * iconvdata/cp770.c: New file.
16868 * iconvdata/cp771.c: New file.
16869 * iconvdata/cp772.c: New file.
16870 * iconvdata/cp773.c: New file.
16871 * iconvdata/cp774.c: New file.
16872 * iconvdata/testdata/CP770: New file.
16873 * iconvdata/testdata/CP770..UTF8: New file.
16874 * iconvdata/testdata/CP771: New file.
16875 * iconvdata/testdata/CP771..UTF8: New file.
16876 * iconvdata/testdata/CP772: New file.
16877 * iconvdata/testdata/CP772..UTF8: New file.
16878 * iconvdata/testdata/CP773: New file.
16879 * iconvdata/testdata/CP773..UTF8: New file.
16880 * iconvdata/testdata/CP774: New file.
16881 * iconvdata/testdata/CP774..UTF8: New file.
16882
16883 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16884 END CHARMAP line.
16885 * iconvdata/gen-8bit-gap.sh: Likewise.
16886 * iconvdata/gen-8bit.sh: Likewise.
16887
c1e9e399
UD
16888 * locale/iso-639.def: Add ary entry.
16889
24c55fb3 16890 [BZ #11258]
96b4b1b0
UD
16891 * locale/C-translit.h.in: Add U20A1 transliteration.
16892
bdc2f971
KB
16893 [BZ #12178]
16894 * locale/iso-639.def: Add wae entry.
16895 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16896
2952b117
UD
16897 [BZ #12545]
16898 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16899 for n.
16900
2a81eaa5
UD
16901 [BZ #12711]
16902 * locale/C-translit.h.in: Add entry for U20B9.
16903 Patch by pravin.d.s@gmail.com.
16904
28377d1b
UD
169052011-05-08 Ulrich Drepper <drepper@gmail.com>
16906
7fb90fb8
UD
16907 [BZ #12713]
16908 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16909 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16910 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16911 in rtld. Use *stat64.
7fb90fb8 16912 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16913 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16914 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16915 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16916 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16917 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16918 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16919 __fstatat64 macros.
7fb90fb8
UD
16920 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16921 * dirent/rewinddir.c: Add libc_hidden_def.
16922 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16923 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16924
28377d1b
UD
16925 * include/dirent.h (__alloc_dir): Add flags parameter.
16926 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16927 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16928 __alloc_dir.
16929 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16930 from fdopendir if O_CLOEXEC is already set.
16931
66bdbaa4
AM
169322011-03-15 Alan Modra <amodra@gmail.com>
16933
16934 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16935 l_tls_firstbyte_offset non-zero. Save padding offset in
16936 l_tls_firstbyte_offset for later use.
16937 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16938 freeing static tls block.
16939
95721191
JN
169402011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16941
16942 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16943 where #ifdef was intended. The intent is to prevent ARG_MAX from
16944 being defined by the kernel headers.
16945
f87dfb1f
UD
169462011-05-07 Ulrich Drepper <drepper@gmail.com>
16947
16948 [BZ #12734]
16949 * resolv/resolv.h: Define RES_NOTLDQUERY.
16950 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16951 no-tld-query and set RES_NOTLDQUERY.
16952 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16953 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16954 modern BIND to search name as TLD unless forbidden.
16955
47c3cd7a
UD
169562011-05-07 Petr Baudis <pasky@suse.cz>
16957 Ulrich Drepper <drepper@gmail.com>
16958
16959 [BZ #12393]
16960 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16961 (is_trusted_path): ...to here.
c1e9ea35 16962 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16963 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16964 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16965
8a35c912
PP
169662011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16967
16968 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16969 __BEGIN/__END_DECLS.
16970
acd41f47
UD
169712011-05-06 Ulrich Drepper <drepper@gmail.com>
16972
16973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16974 NSS_STATUS_NOTFOUND if no record was found.
16975
597df647
AS
169762011-05-05 Andreas Schwab <schwab@redhat.com>
16977
16978 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16979 (headers-not-in-tirpc): Remove rpc/netdb.h
16980 * resolv/netdb.h: Revert last change.
16981
b9af1301
PP
169822011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16983
16984 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16985 circular dependency between libgcc.a and libc.a.
16986
4e34d5f5
AS
169872011-05-05 Andreas Schwab <schwab@redhat.com>
16988
16989 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16990 * nis/Makefile: Don't install rpcsvc/*.
16991 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16992 instead of <rpc/types.h>.
16993 (MAXHOSTNAMELEN): Define.
16994
00ee369c
AS
169952011-05-03 Andreas Schwab <schwab@redhat.com>
16996
16997 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16998
0b592a30
MB
169992011-04-28 Maciej Babinski <mbabinski@google.com>
17000
17001 [BZ #12714]
17002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17003 gethostbyname4_r when IPv6 results are possible.
17004
6e04cbbe
UD
170052011-05-02 Ulrich Drepper <drepper@gmail.com>
17006
17007 [BZ #12723]
17008 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
17009 _PC_PIPE_BUF handling.
17010
e4ecafe0
BH
170112011-04-30 Bruno Haible <bruno@clisp.org>
17012
17013 [BZ #12717]
17014 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
17015 * resolv/netdb.h (getnameinfo): Change type of flags parameter
17016 to 'int'.
17017 * inet/getnameinfo.c (getnameinfo): Likewise.
17018
125ee683
UD
170192011-04-29 Ulrich Drepper <drepper@gmail.com>
17020
17021 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
17022 to groups setting in database lookup.
17023 * nss/nsswitch.conf: Add initgroups entry.
17024
b722481a
EB
170252011-04-22 Ulrich Drepper <drepper@gmail.com>
17026
17027 [BZ #12685]
17028 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
17029 mode string.
17030 Patch by Eric Blake <eblake@redhat.com>.
17031
4df46dbd
L
170322011-04-20 H.J. Lu <hongjiu.lu@intel.com>
17033
17034 * sunrpc/Makefile (need-export-routines): Add svc_run.
17035 (routines): Remove svc_run.
17036 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
17037 * sunrpc/clnt_perr.c (clnt_perrno): Export.
17038 * sunrpc/svc_run.c (svc_run): Likewise.
17039 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17040
e84142d2
UD
170412011-04-21 Ulrich Drepper <drepper@gmail.com>
17042
17043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
17044 problem in reallocation in last patch.
17045
877175d8
UD
170462011-04-20 Ulrich Drepper <drepper@gmail.com>
17047
17048 * sunrpc/Makefile: Move inclusion of Rules.
17049
ab8eed78
UD
170502011-04-19 Ulrich Drepper <drepper@gmail.com>
17051
17052 * nss/nss_files/files-initgroups.c: New file.
17053 * nss/Makefile (libnss_files-routines): Add files-initgroups.
17054 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
17055 _nss_files_initgroups_dyn.
17056
e3d8f584
RS
170572011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
17058
17059 * elf/elf.h (R_ARM_IRELATIVE): Define.
17060
af190f45
UD
170612011-04-19 Ulrich Drepper <drepper@gmail.com>
17062
17063 * po/ru.po: Update from translation team.
17064
53cf59ef
UD
170652011-04-17 Ulrich Drepper <drepper@gmail.com>
17066
17067 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
17068 dependencies.
17069
4c559bcd
MF
170702011-02-06 Mike Frysinger <vapier@gentoo.org>
17071
17072 [BZ #12653]
17073 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
17074 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
17075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17076 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17078
4420675c
AS
170792011-03-28 Andreas Schwab <schwab@linux-m68k.org>
17080
17081 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
17082 differing bytes.
17083 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17086
75ea32ab
UD
170872011-04-17 Ulrich Drepper <drepper@gmail.com>
17088
17089 [BZ #12420]
17090 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17091 storing it.
17092 * stdlib/bug-getcontext.c: New file.
17093 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17094
27390476
AK
170952011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17096
17097 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17098 instructions into .machine "z9-109".
17099 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17100 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17101
10442705
AK
171022011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17103
17104 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17105 between environment variables and auxiliary vector.
17106
7b57bfe5
UD
171072011-04-16 Ulrich Drepper <drepper@gmail.com>
17108
17109 * Makefile: Add rules to build linkobj/libc.so.
17110 * include/libc-symbols.h: Define libc_hidden_nolink.
17111 * include/rpc/auth.h: Mark functions which are to be hidden.
17112 * include/rpc/auth_des.h: Likewise.
17113 * include/rpc/auth_unix.h: Likewise.
17114 * include/rpc/clnt.h: Likewise.
17115 * include/rpc/des_crypt.h: Likewise.
17116 * include/rpc/key_prot.h: Likewise.
17117 * include/rpc/pmap_clnt.h: Likewise.
17118 * include/rpc/pmap_prot.h: Likewise.
17119 * include/rpc/pmap_rmt.h: Likewise.
17120 * include/rpc/rpc_msg.h: Likewise.
17121 * include/rpc/svc.h: Likewise.
17122 * include/rpc/svc_auth.h: Likewise.
17123 * include/rpc/xdr.h: Likewise.
17124 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17125 * nss/Makefile: Likewise.
17126 * sunrpc/Makefile: Don't install headers. Build library with normal
17127 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17128 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17129 for the compat linking library. Remove use of INTDEF/INTUSE.
17130 * sunrpc/auth_none.c: Likewise.
17131 * sunrpc/auth_unix.c: Likewise.
17132 * sunrpc/authdes_prot.c: Likewise.
17133 * sunrpc/authuxprot.c: Likewise.
17134 * sunrpc/clnt_gen.c: Likewise.
17135 * sunrpc/clnt_perr.c: Likewise.
17136 * sunrpc/clnt_raw.c: Likewise.
17137 * sunrpc/clnt_simp.c: Likewise.
17138 * sunrpc/clnt_tcp.c: Likewise.
17139 * sunrpc/clnt_udp.c: Likewise.
17140 * sunrpc/clnt_unix.c: Likewise.
17141 * sunrpc/des_crypt.c: Likewise.
17142 * sunrpc/des_soft.c: Likewise.
17143 * sunrpc/get_myaddr.c: Likewise.
17144 * sunrpc/key_call.c: Likewise.
17145 * sunrpc/key_prot.c: Likewise.
17146 * sunrpc/netname.c: Likewise.
17147 * sunrpc/pm_getmaps.c: Likewise.
17148 * sunrpc/pm_getport.c: Likewise.
17149 * sunrpc/pmap_clnt.c: Likewise.
17150 * sunrpc/pmap_prot.c: Likewise.
17151 * sunrpc/pmap_prot2.c: Likewise.
17152 * sunrpc/pmap_rmt.c: Likewise.
17153 * sunrpc/publickey.c: Likewise.
17154 * sunrpc/rpc_cmsg.c: Likewise.
17155 * sunrpc/rpc_common.c: Likewise.
17156 * sunrpc/rpc_dtable.c: Likewise.
17157 * sunrpc/rpc_prot.c: Likewise.
17158 * sunrpc/rpc_thread.c: Likewise.
17159 * sunrpc/rtime.c: Likewise.
17160 * sunrpc/svc.c: Likewise.
17161 * sunrpc/svc_auth.c: Likewise.
17162 * sunrpc/svc_authux.c: Likewise.
17163 * sunrpc/svc_raw.c: Likewise.
17164 * sunrpc/svc_run.c: Likewise.
17165 * sunrpc/svc_simple.c: Likewise.
17166 * sunrpc/svc_tcp.c: Likewise.
17167 * sunrpc/svc_udp.c: Likewise.
17168 * sunrpc/svc_unix.c: Likewise.
17169 * sunrpc/svcauth_des.c: Likewise.
17170 * sunrpc/xcrypt.c: Likewise.
17171 * sunrpc/xdr.c: Likewise.
17172 * sunrpc/xdr_array.c: Likewise.
17173 * sunrpc/xdr_float.c: Likewise.
17174 * sunrpc/xdr_intXX_t.c: Likewise.
17175 * sunrpc/xdr_mem.c: Likewise.
17176 * sunrpc/xdr_rec.c: Likewise.
17177 * sunrpc/xdr_ref.c: Likewise.
17178 * sunrpc/xdr_sizeof.c: Likewise.
17179 * sunrpc/xdr_stdio.c: Likewise.
17180
e6c61494
UD
171812011-04-10 Ulrich Drepper <drepper@gmail.com>
17182
17183 [BZ #12650]
17184 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17185 * sysdeps/ia64/dl-tls.h: Likewise.
17186 * sysdeps/powerpc/dl-tls.h: Likewise.
17187 * sysdeps/s390/dl-tls.h: Likewise.
17188 * sysdeps/sh/dl-tls.h: Likewise.
17189 * sysdeps/sparc/dl-tls.h: Likewise.
17190 * sysdeps/x86_64/dl-tls.h: Likewise.
17191 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17192
34fe483e
AS
171932011-03-14 Andreas Schwab <schwab@redhat.com>
17194
17195 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17196 rpath element also skip the following colon.
17197 (expand_dynamic_string_token): Add is_path parameter and pass
17198 down to DL_DST_REQUIRED and _dl_dst_substitute.
17199 (decompose_rpath): Call expand_dynamic_string_token with
17200 non-zero is_path. Ignore empty rpaths.
17201 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17202 with zero is_path.
17203
f12a32e6
AS
172042011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17205
17206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17207 Make cancelable.
17208
38a7d692
UD
172092011-04-09 Ulrich Drepper <drepper@gmail.com>
17210
17211 [BZ #12655]
17212 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17213 Patch by Filipe David Manana <fdmanana@apache.org>.
17214
e451d22b
AS
172152011-04-07 Andreas Schwab <schwab@redhat.com>
17216
17217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17218 Maintain aligned stack.
17219 (CHECK_RSP): Remove unused macro.
17220
dedc7c7b
UD
172212011-04-03 Ulrich Drepper <drepper@gmail.com>
17222
17223 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17224 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17225
94521213
UD
172262011-04-02 Ulrich Drepper <drepper@gmail.com>
17227
17228 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17229
8cb700c0 17230 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17231
0354e355
L
172322011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17233
17234 [BZ #12518]
17235 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17236 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17237 * sysdeps/x86_64/memmove.c: New file.
17238 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17239 (memcpy): Renamed to ...
17240 (__new_memcpy): This.
17241 (memcpy): Provide GLIBC_2_14 memcpy.
17242 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17243 (memcpy): Provide GLIBC_2_2_5 memcpy.
17244
8593482f
UD
172452011-04-01 Ulrich Drepper <drepper@gmail.com>
17246
17247 [BZ #12631]
17248 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17249
81a5726b
AS
172502011-03-30 Andreas Schwab <schwab@redhat.com>
17251
17252 * misc/syncfs.c: New file.
17253 * misc/Makefile (routines): Add syncfs.
17254 * posix/unistd.h: Declare syncfs.
17255 * sysdeps/unix/syscalls.list: Add syncfs.
17256
00e5419f
AS
172572011-04-01 Andreas Schwab <schwab@redhat.com>
17258
17259 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17260 open_by_handle_at.
17261 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17266 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17267 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17268
748876bf
UD
172692011-04-01 Ulrich Drepper <drepper@gmail.com>
17270
658e451d
UD
17271 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17272 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17273 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17278
748876bf
UD
17279 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17280 sync_file_range.c with -fexceptions.
17281 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17282 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17283 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17284 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17285 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17286 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17288 sync_file_range as cancellation point
17289 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17290 now a wrapper around __call_sync_file_range with cancellation handling.
17291 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17292 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17293 function name to __call_sync_file_range.
17294 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17295 Add call_sync_file_range.
748876bf 17296
6e63d5e1
AS
172972011-04-01 Andreas Schwab <schwab@redhat.com>
17298
17299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17300 bits/timex.h.
6e63d5e1 17301
46998f74
UD
173022011-04-01 Ulrich Drepper <drepper@gmail.com>
17303
4c1423ed
UD
17304 * iconv/iconv.h: Fix typo in comment.
17305 * io/fcntl.h: Likewise.
17306 * libio/stdio.h: Likewise.
17307 * posix/spawn.h: Likewise.
17308 * posix/unistd.h: Likewise.
17309 * stdlib/stdlib.h: Likewise.
17310 * time/time.h: Likewise.
17311 * wcsmbs/wchar.h: Likewise.
17312
158648c0
UD
17313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17314 open_by_handle): Add.
17315 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17316 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17317 Augment a few comments.
17318 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17319 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17323 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17324 open_by_handle.
17325
46998f74
UD
17326 * io/fcntl.h (AT_EMPTY_PATH): Define.
17327
83fe108b
UD
173282011-03-30 Ulrich Drepper <drepper@gmail.com>
17329
17330 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17331 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17332 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17333 to...
17334 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17335 * Versions.def: Add GLIBC_2.14.
17336 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17337 Export.
83fe108b 17338
bb242059
UD
173392011-03-22 Ulrich Drepper <drepper@gmail.com>
17340
17341 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17342 round counter.
17343 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17344
c97a1282
L
173452011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17346
17347 [BZ #12597]
17348 * string/test-strncmp.c (do_page_test): New function.
17349 (check2): Likewise.
17350 (test_main): Call check2.
17351 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17352
2a115601
UD
173532011-03-20 Ulrich Drepper <drepper@gmail.com>
17354
17355 [BZ #12587]
17356 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17357 Handle cache information in CPU leaf 4.
17358 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17359
8126d904
UD
173602011-03-18 Ulrich Drepper <drepper@gmail.com>
17361
042c49c6 17362 [BZ #12583]
8126d904
UD
17363 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17364 character representation.
17365 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17366
ccfe366e
RA
173672011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17368
17369 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17370 END(__isnan) to END(__isnanf) to match function entry point/label
17371 EALIGN(__isnanf,...).
17372
c6e13027
JJ
173732011-03-10 Jakub Jelinek <jakub@redhat.com>
17374
17375 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17376
33f85a3f
UD
173772011-03-10 Ulrich Drepper <drepper@gmail.com>
17378
028478fa
UD
17379 [BZ #12510]
17380 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17381 copy from the symbol referenced in the relocation to initialize the
17382 used variable.
17383 Patch by Piotr Bury <pbury@goahead.com>.
17384 * elf/Makefile: Add rules to build and tst-unique3.
17385 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17386 * elf/tst-unique3.cc: New file.
17387 * elf/tst-unique3.h: New file.
17388 * elf/tst-unique3lib.cc: New file.
17389 * elf/tst-unique3lib2.cc: New file.
17390
33f85a3f
UD
17391 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17392
03592fc7
MF
173932011-03-10 Mike Frysinger <vapier@gentoo.org>
17394
17395 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17396 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17397 to _start.
03592fc7 17398
6a5ee102
UD
173992011-03-06 Ulrich Drepper <drepper@gmail.com>
17400
17401 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17402 to-be-loaded object along a path to loader is ld.so.
17403
7e4ba49c
HJ
174042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17405 Ulrich Drepper <drepper@gmail.com>
17406
17407 * sysdeps/x86_64/memset.S: After aligning destination, code
17408 branches to different locations depending on the value of
17409 misalignment, when multiarch is enabled. Fix this.
17410
174112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17412
17413 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17414 Set _x86_64_preferred_memory_instruction for AMD processsors.
17415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17416 Set bit_Prefer_SSE_for_memop for AMD processors.
17417
13a804de
UD
174182011-03-04 Ulrich Drepper <drepper@gmail.com>
17419
17420 * libio/fmemopen.c (fmemopen): Optimize a bit.
17421
9d25c392
AS
174222011-03-03 Andreas Schwab <schwab@redhat.com>
17423
17424 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17425
a5543c6a
RM
174262011-03-03 Roland McGrath <roland@redhat.com>
17427
17428 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17429
012d35f7
DM
174302011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17431
7e4ba49c 17432 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17433 __bzero_ultra1 instead of __memset_ultra1.
17434
4bff6e01
AS
174352011-02-23 Andreas Schwab <schwab@redhat.com>
17436 Ulrich Drepper <drepper@gmail.com>
17437
17438 [BZ #12509]
17439 * include/link.h (struct link_map): Add l_orig_initfini.
17440 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17441 returning unsuccessfully.
17442 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17443 close of a file loaded at startup, restore the original l_initfini
17444 list.
17445 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17446 list, store the pointer.
17447 * elf/Makefile ($(objpfx)noload-mem): New rule.
17448 (noload-ENV): Define.
17449 (tests): Add $(objpfx)noload-mem.
17450 * elf/noload.c: Include <memcheck.h>.
17451 (main): Call mtrace. Close all opened handles.
17452
f2092faf
AS
174532011-02-17 Andreas Schwab <schwab@redhat.com>
17454
17455 [BZ #12454]
17456 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17457 dependencies are missing.
17458
6c8a2e88
ST
174592011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17460
f2092faf 17461 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17462 Hurd needs munmap.
17463 * sysdeps/mach/hurd/ifreq.h: New file.
17464
84a42118
PB
174652011-01-27 Petr Baudis <pasky@suse.cz>
17466 Ulrich Drepper <drepper@gmail.com>
17467
071f805e 17468 [BZ 12445]#
84a42118
PB
17469 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17470 to extend_alloca().
17471 * stdio-common/bug23.c: New file.
17472 * stdio-common/Makefile (tests): Add bug23.
17473
e23fe25b
AS
174742010-09-28 Andreas Schwab <schwab@redhat.com>
17475 Ulrich Drepper <drepper@gmail.com>
17476
17477 [BZ #12489]
17478 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17479 before performing relro protection. At old place add assertion
17480 to make sure nothing changed.
17481
d3f02e10
NS
174822011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17483 Glauber de Oliveira Costa <glommer@gmail.com>
17484
17485 * elf/elf.h: Add new ARM TLS relocs.
17486
d55fd7a5
RA
174872011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17488
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17490 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17491 cast from r3.
17492 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17493 'tests' variable.
17494 * sysdeps/wordsize-64/tst-writev.c: New file.
17495
2206397e
RA
174962011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17497
17498 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17499 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17500 insns in _dl_start to prevent a TOC reference before relocs are
17501 resolved.
17502
e9433893
UD
175032011-02-15 Ulrich Drepper <drepper@gmail.com>
17504
17505 [BZ #12469]
17506 * Makeconfig: Remove RANLIB definition.
17507 * Makerules: Don't use RANLIB.
17508 * aclocal.m4: Remove ranlib test.
17509 * configure.in: No need to check for ranlib.
17510 * elf/rtld-Rules: Don't use RANLIB.
17511
f75286c6
ST
175122011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17513
8e31c82d
ST
17514 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17515 protection macro.
17516 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17517 inclusion protection macro.
17518
f75286c6
ST
17519 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17520 SIGRTMIN and SIGRTMAX and print information in that case only when
17521 SIGRTMIN is defined.
17522
c1d0e639
JJ
175232011-02-11 Jakub Jelinek <jakub@redhat.com>
17524
17525 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17526 arginfo fn returning -1.
17527
17528 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17529 and thousands string is zero terminated.
17530
edf9294e
AS
175312011-02-03 Andreas Schwab <schwab@redhat.com>
17532
17533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17534 sysdeps/unix/sysv/linux/bits/socket.h.
17535
2b7e92df
ST
175362011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17537
edf9294e
AS
17538 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17539 (__CPU_COUNT): Remove old macros.
17540 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17541 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17542 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17543 (__sched_cpualloc, __sched_cpufree): Add declarations.
17544
a4c7ea7b
UD
175452011-02-05 Ulrich Drepper <drepper@gmail.com>
17546
17547 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17548 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17549 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17550 (readdhstai): Return value of addhstaiX call.
17551 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17552 (addgrbyX): Return value returned by cache_addgr.
17553 (readdgrbyname): Return value returned by addgrbyX.
17554 (readdgrbygid): Likewise.
17555 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17556 (addpwbyX): Return value returned by cache_addpw.
17557 (readdpwbyname): Return value returned by addhstbyX.
17558 (readdpwbyuid): Likewise.
17559 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17560 (addservbyX): Return value returned by cache_addserv.
17561 (readdservbyname): Return value returned by addservbyX:
17562 (readdservbyport): Likewise.
17563 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17564 (addhstbyX): Return value returned by cache_addhst.
17565 (readdhstbyname): Return value returned by addhstbyX.
17566 (readdhstbyaddr): Likewise.
17567 (readdhstbynamev6): Likewise.
17568 (readdhstbyaddrv6): Likewise.
17569 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17570 (readdinitgroups): Return value returned by addinitgroupsX.
17571 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17572 (prune_cache): Keep track of timeout value of re-added entries.
17573 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17574 * nscd/nscd.h: Adjust prototypes of readd* functions.
17575
a0bf67cc
RM
175762011-02-04 Roland McGrath <roland@redhat.com>
17577
17578 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17579 (nis_stats): Likewise.
17580 * nis/nis_modify.c (nis_modify): Likewise.
17581 * nis/nis_remove.c (nis_remove): Likewise.
17582 * nis/nis_add.c (nis_add): Likewise.
17583
17584 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17585
17586 * posix/fnmatch_loop.c: Add some consts.
17587
17588 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17589
435b95eb
L
175902011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17591
17592 [BZ #12460]
17593 * config.make.in (config-cflags-novzeroupper): Define.
17594 * configure.in: Substitute libc_cv_cc_novzeroupper.
17595 * elf/Makefile (AVX-CFLAGS): Define.
17596 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17597 (CFLAGS-tst-auditmod4a.c): Likewise.
17598 (CFLAGS-tst-auditmod4b.c): Likewise.
17599 (CFLAGS-tst-auditmod6b.c): Likewise.
17600 (CFLAGS-tst-auditmod6c.c): Likewise.
17601 (CFLAGS-tst-auditmod7b.c): Likewise.
17602 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17603
8517b15e
UD
176042011-02-02 Ulrich Drepper <drepper@gmail.com>
17605
17606 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17607 function to the callback.
17608 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17609
10a656fe
AS
176102011-02-02 Andreas Schwab <schwab@redhat.com>
17611
17612 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17613 of errno.
17614
968dad0a
UD
176152011-01-19 Ulrich Drepper <drepper@gmail.com>
17616
9f94d2ea 17617 [BZ #11724]
968dad0a
UD
17618 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17619 of constructors.
17620 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17621 of destructors.
17622 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17623
17624 [BZ #11724]
17625 * elf/Makefile: Add rules to build and run new test.
17626 * elf/tst-initorder.c: New file.
17627 * elf/tst-initorder.exp: New file.
17628 * elf/tst-initordera1.c: New file.
17629 * elf/tst-initordera2.c: New file.
17630 * elf/tst-initordera3.c: New file.
17631 * elf/tst-initordera4.c: New file.
17632 * elf/tst-initorderb1.c: New file.
17633 * elf/tst-initorderb2.c: New file.
17634 * elf/tst-order-a1.c: New file.
17635 * elf/tst-order-a2.c: New file.
17636 * elf/tst-order-a3.c: New file.
17637 * elf/tst-order-a4.c: New file.
17638 * elf/tst-order-b1.c: New file.
17639 * elf/tst-order-b2.c: New file.
17640 * elf/tst-order-main.c: New file.
17641 New test case by George Gensure <werkt0@gmail.com>.
17642
86e92359
UD
176432010-10-01 Andreas Schwab <schwab@redhat.com>
17644
17645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17646 decoding ACE if AI_CANONIDN.
17647
5d5732b0
UD
176482011-01-18 Ulrich Drepper <drepper@gmail.com>
17649
17650 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17651
a77e8cbc
UD
176522011-01-17 Ulrich Drepper <drepper@gmail.com>
17653
6392473f
UD
17654 * version.h (RELEASE): Bump for 2.13 release.
17655 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17656
620a0529
UD
17657 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17658
18ba70a5
UD
17659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17660 MADV_NOHUGEPAGE.
32465c3e
UD
17661 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17662 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17663 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17666 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17667
c0dafcf1
UD
17668 * posix/getconf.c: Update copyright year.
17669 * catgets/gencat.c: Likewise.
17670 * csu/version.c: Likewise.
17671 * debug/catchsegv.sh: Likewise.
17672 * debug/xtrace.sh: Likewise.
17673 * elf/ldconfig.c: Likewise.
17674 * elf/ldd.bash.in: Likewise.
17675 * elf/sprof.c (print_version): Likewise.
17676 * iconv/iconv_prog.c: Likewise.
17677 * iconv/iconvconfig.c: Likewise.
17678 * locale/programs/locale.c: Likewise.
17679 * locale/programs/localedef.c: Likewise.
17680 * malloc/memusage.sh: Likewise.
17681 * malloc/mtrace.pl: Likewise.
17682 * nscd/nscd.c (print_version): Likewise.
17683 * nss/getent.c: Likewise.
17684
a77e8cbc
UD
17685 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17686 PF_CAIF, and PF_ALG.
17687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17688
77e8bddf
AS
176892011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17690
1f20b93a
AS
17691 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17692 (modules-names): Use them.
17693 (ifunc-test-modules, ifunc-pie-tests): Define.
17694 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17695 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17696 (test-extras): Likewise.
17697 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17698 $(compile-command.c).
17699 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17700 (all-built-dso): Define.
17701 (check-textrel.out, check-execstack.out): Depend on it.
17702
77e8bddf
AS
17703 * configure.in: Don't override --enable-multi-arch.
17704
bc425b33
UD
177052011-01-15 Ulrich Drepper <drepper@gmail.com>
17706
17707 [BZ #6812]
17708 * nscd/hstcache.c (tryagain): Define.
17709 (cache_addhst): Return tryagain not notfound for temporary errors.
17710 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17711 failed.
17712
794c3ad3
UD
177132011-01-14 Ulrich Drepper <drepper@gmail.com>
17714
70181fdd
UD
17715 [BZ #10563]
17716 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17717 to make the syscall.
17718 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17719
794c3ad3
UD
17720 [BZ #12378]
17721 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17722 and fall back to matching as normal character if the string ends before
17723 the matching ']' is found. This is what POSIX requires.
17724 * posix/testfnm.c: Adjust test result.
17725 * posix/globtest.sh: Adjust test result. Add new test.
17726 * posix/tst-fnmatch.input: Likewise.
17727 * posix/tst-fnmatch2.c: Add new test.
17728
68dc9497
AS
177292010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17730
17731 * elf/Makefile (check-execstack): Revert last change. Depend on
17732 check-execstack.h.
17733 (check-execstack.h): New target.
17734 (generated): Add check-execstack.h.
17735 * elf/check-execstack.c: Include "check-execstack.h".
17736 (main): Revert last change.
17737 (handle_file): Return zero if GNU_STACK is absent and
17738 DEFAULT_STACK_PERMS doesn't include PF_X.
17739
451f001b
UD
177402011-01-13 Ulrich Drepper <drepper@gmail.com>
17741
cfa28e56
UD
17742 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17743 in child fails because the descriptor is already closed.
8cf8ce17
UD
17744 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17745 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17746 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17747
1086d70d
UD
17748 [BZ #12397]
17749 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17750 syscall.
17751
451f001b
UD
17752 [BZ #10484]
17753 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17754 temporary buffer used to handle multi lookups locally.
a85b5cb4 17755 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17756
08769175
UD
177572011-01-12 Ulrich Drepper <drepper@gmail.com>
17758
17759 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17760 loader is ld.so.
17761
5e49c52e
UD
177622011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17763
17764 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17765 alignment for SSE2.
17766
60522a5f
UD
177672011-01-12 Ulrich Drepper <drepper@gmail.com>
17768
17769 [BZ #12394]
17770 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17771 characters. When rounding increased number of integer digits recompute
17772 number of groups.
17773 * stdio-common/tst-grouping.c: New file.
17774 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17775
f257bbd7
UD
177762011-01-09 Ulrich Drepper <drepper@gmail.com>
17777
17778 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17779 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17780
17781 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17782 void.
17783 * bits/select.h: Likewise.
17784
fa9c15cb
UD
177852011-01-08 Ulrich Drepper <drepper@gmail.com>
17786
17787 * po/ja.po: Update from translation team.
17788
16c2895f
DM
177892011-01-04 David S. Miller <davem@sunset.davemloft.net>
17790
17791 [BZ #11155]
17792 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17793 implementation just like for lxstat, fxstatat, et al.
17794
2543fef2
JM
177952010-12-27 Jim Meyering <meyering@redhat.com>
17796
17797 [BZ #12348]
17798 * posix/regexec.c (build_trtable): Return failure indication upon
17799 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17800
98727dbe
UD
178012010-12-25 Ulrich Drepper <drepper@gmail.com>
17802
5bd6dc5c
UD
17803 [BZ #12201]
17804 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17805 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17806 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17807 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17808
97983464
UD
17809 [BZ #12207]
17810 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17811
98727dbe
UD
17812 [BZ #12204]
17813 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17814 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17815
4a531bb0
L
178162010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17817
17818 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17819 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17820 script has SORT_BY_INIT_PRIORITY.
17821 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17822 NO_CTORS_DTORS_SECTIONS is defined.
17823 * elf/soinit.c: Likewise.
17824 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17825 NO_CTORS_DTORS_SECTIONS is defined.
17826 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17827 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17828 * sysdeps/sh/init-first.c: Likewise.
17829 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17830
07eb4b71
UD
178312010-12-24 Ulrich Drepper <drepper@gmail.com>
17832
17833 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17834 always use the slow path.
17835
30950a5f
RA
178362010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17837
17838 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17839 similar rule which adds the sysdep directories to the header search in
17840 order to pick up the correct platform stackinfo.h.
17841 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17842 perform test if it is, otherwise return successfully without testing.
17843 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17844 DEFAULT_STACK_PERMS define in stackinfo.h.
17845 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17846 defined in stackinfo.h.
17847 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17848 DEFAULT_STACK_PERMS defined in stackinfo.h.
17849 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17850 * sysdeps/ia64/stackinfo.h: Likewise.
17851 * sysdeps/s390/stackinfo.h: Likewise.
17852 * sysdeps/sh/stackinfo.h: Likewise.
17853 * sysdeps/sparc/stackinfo.h: Likewise.
17854 * sysdeps/x86_64/stackinfo.h: Likewise.
17855 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17856 PF_X for powerpc64. Retain PF_X for powerpc32.
17857
db753e2c
UD
178582010-12-19 Ulrich Drepper <drepper@gmail.com>
17859
14b697f7
UD
17860 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17861 accurately.
db753e2c
UD
17862 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17863 GETDENTS_64BIT_ALIGNED.
17864
28300719
UD
178652010-12-14 Ulrich Drepper <dreper@gmail.com>
17866
14b697f7 17867 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17868
4f197237
AS
178692010-12-10 Andreas Schwab <schwab@redhat.com>
17870
dbb0472f
AS
17871 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17872 _GNU_SOURCE.
17873
4f197237
AS
17874 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17875 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17876 Remove __restrict.
17877 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17878 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17879
fb88ac72
UD
178802010-12-09 Ulrich Drepper <drepper@gmail.com>
17881
17882 [BZ #11655]
17883 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17884 are initialized.
17885
42acbb92
JJ
178862010-12-09 Jakub Jelinek <jakub@redhat.com>
17887
17888 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17889
c038d98d
UD
178902010-12-03 Ulrich Drepper <drepper@gmail.com>
17891
17892 * po/it.po: Update from translation team.
17893
3a4a2499
L
178942010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17895
17896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17897 unused codes.
17898
1e24cf6e
UD
178992010-11-30 Ulrich Drepper <drepper@gmail.com>
17900
17901 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17902
a7690819
AS
179032010-11-24 Andreas Schwab <schwab@redhat.com>
17904
17905 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17906 specially.
17907 (gaih_getanswer_slice): Likewise.
17908
3bf8d1b1
JJ
179092010-10-20 Jakub Jelinek <jakub@redhat.com>
17910
17911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17912
6db52fbb
PB
179132010-05-31 Petr Baudis <pasky@suse.cz>
17914
17915 [BZ #11149]
17916 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17917 silently even in the chroot mode.
17918
eaca7569
UD
179192010-11-22 Ulrich Drepper <drepper@gmail.com>
17920
17921 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17922 last patch a bit. Pretty printing
17923
3056dcdb
UD
179242010-05-31 Petr Baudis <pasky@suse.cz>
17925
17926 [BZ #10085]
17927 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17928 initialization of skip_initgroups_dyn.
17929
cf7c9078
UD
179302010-11-19 Ulrich Drepper <drepper@gmail.com>
17931
17932 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17933 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17934
a1fb5e3e
UD
179352010-11-16 Ulrich Drepper <drepper@gmail.com>
17936
17937 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17938
3540d66b
AS
179392010-11-11 Andreas Schwab <schwab@redhat.com>
17940
17941 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17942 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17943 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17944 ($(objpfx)tst-fnmatch-mem): New rule.
17945 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17946 * posix/tst-fnmatch.c (main): Call mtrace.
17947
13b69574
L
179482010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17949
17950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17951 Support Intel processor model 6 and model 0x2c.
17952
da93d214
LM
179532010-11-10 Luis Machado <luisgpm@br.ibm.com>
17954
17955 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17956 signed comparison.
17957
8ca52c6e
L
179582010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17959
17960 [BZ #12205]
17961 * string/test-strncasecmp.c (check_result): New function.
17962 (do_one_test): Use it.
17963 (check1): New function.
17964 (test_main): Use it.
17965 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17966 Support strcasecmp and strncasecmp.
17967
69da074d
UD
179682010-11-08 Ulrich Drepper <drepper@gmail.com>
17969
17970 [BZ #12194]
17971 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17972 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17973
ff02d528
L
179742010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17975
17976 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17977 IFUNC support.
17978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17979 memset-x86-64.
17980 * sysdeps/x86_64/multiarch/bzero.S: New file.
17981 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17982 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17983 * sysdeps/x86_64/multiarch/memset.S: New file.
17984 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17986 Set bit_Prefer_SSE_for_memop for Intel processors.
17987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17988 Define.
17989 (index_Prefer_SSE_for_memop): Define.
17990 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17991
344d0b54
LM
179922010-11-04 Luis Machado <luisgpm@br.ibm.com>
17993
17994 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17995 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17996
c0dde15b
UD
179972010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17998
17999 [BZ #12191]
18000 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18001 (__x86_64_raw_data_cache_size_half): Likewise.
18002 (__x86_64_raw_shared_cache_size): Likewise.
18003 (__x86_64_raw_shared_cache_size_half): Likewise.
18004
18005 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
18006 (__x86_64_raw_data_cache_size_half): Likewise.
18007 (__x86_64_raw_shared_cache_size): Likewise.
18008 (__x86_64_raw_shared_cache_size_half): Likewise.
18009 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
18010 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
18011 and __x86_64_raw_shared_cache_size_half. Round
18012 __x86_64_data_cache_size_half, __x86_64_data_cache_size
18013 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18014 to multiple of 256 bytes.
18015
0e516e0e
MS
180162010-11-03 Ulrich Drepper <drepper@gmail.com>
18017
18018 [BZ #12167]
18019 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
18020 of inacessible symlinks. Verify result of symlink before returning it.
18021 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18022 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
18023
0e012e87
ER
180242010-10-28 Erich Ritz <erichritz@gmail.com>
18025
18026 * math/math.h (isinf): Fix typo in comment.
18027
de0ff7bc
UD
180282010-11-01 Ulrich Drepper <drepper@gmail.com>
18029
18030 * po/da.po: Update from translation team.
18031
fa41c84d
UD
180322010-10-26 Ulrich Drepper <drepper@gmail.com>
18033
18034 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
18035 is added to the list.
18036
f0967738
AK
180372010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18038 Ulrich Drepper <drepper@gmail.com>
18039
18040 * elf/dl-object.c (_dl_new_object): Don't append the new object to
18041 the global list here. Move code to...
18042 (_dl_add_to_namespace_list): ...here. New function.
18043 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
18044 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
18045 * elf/dl-load.c (lose): Don't remove the element from the list.
18046 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
18047 (_dl_map_object): Likewise.
18048
180492010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
18050
18051 [BZ #12159]
18052 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
18053 into all bytes of SSE register.
18054 Patch by Richard Li <richardpku@gmail.com>.
18055
f0967738 180562010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
18057
18058 [BZ #12140]
18059 * malloc/malloc.c (_int_free): Fill correct number of bytes when
18060 perturbing.
18061
d0b9e94f
MB
180622010-10-20 Michael B. Brutman <brutman@us.ibm.com>
18063
18064 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
18065 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
18066 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
18067 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
18069 submachine.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18071
8e9f92e9
AS
180722010-10-22 Andreas Schwab <schwab@redhat.com>
18073
18074 * include/dlfcn.h (__RTLD_SECURE): Define.
18075 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
18076 mode & __RTLD_SECURE instead.
18077 (open_path): Rename preloaded parameter to secure.
18078 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18079 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
18080 * elf/dl-deps.c (openaux): Likewise.
18081 * elf/rtld.c (struct map_args): Remove is_preloaded.
18082 (map_doit): Don't use it.
18083 (dl_main): Likewise.
18084 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18085 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18086
bc96fbda
AS
180872010-09-09 Andreas Schwab <schwab@redhat.com>
18088
18089 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18090 (sysd-rules-targets): Remove duplicates.
18091 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18092 rtld-%.$o dependency.
18093
22cd1c9b
AS
180942010-10-18 Andreas Schwab <schwab@redhat.com>
18095
18096 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18097 _dl_map_object do it.
18098
18edac48
UD
180992010-10-19 Ulrich Drepper <drepper@gmail.com>
18100
18101 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18102 fast fma builtins, define the macros in the C99 standard.
18103 (FP_FAST_FMAF): Likewise.
18104 (FP_FAST_FMAL): Likewise.
18105 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18106
18107 * bits/mathdef.h: Update copyright year.
18108 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18109
d2050124
MM
181102010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18111
18112 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18113 builtins, define the macros in the C99 standard.
18114 (FP_FAST_FMAF): Likewise.
18115 (FP_FAST_FMAL): Likewise.
18116 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18117 multiply/add.
18118 (FP_FAST_FMAF): Likewise.
18119
475facd1
JJ
181202010-10-15 Jakub Jelinek <jakub@redhat.com>
18121
18122 [BZ #3268]
18123 * math/libm-test.inc (fma_test): Some new testcases.
18124 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18125 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18126 y and infinite z. Do multiplication by C already in long double.
18127 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18129 y and infinite z. Do bitwise or of inexact bit into u.d.
18130 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18131 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18132 * sysdeps/i386/fpu/s_fma.S: Removed.
18133 * sysdeps/i386/fpu/s_fmal.S: Removed.
18134
7c08a05c
JJ
181352010-10-16 Jakub Jelinek <jakub@redhat.com>
18136
18137 [BZ #3268]
18138 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18140 computation is not scheduled after fetestexcept. Fix value
18141 of minimum denormal long double.
18142
f3f7372d
JJ
181432010-10-14 Jakub Jelinek <jakub@redhat.com>
18144
18145 [BZ #3268]
18146 * math/libm-test.inc (fma_test): Add some more tests.
18147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18148 correctly.
18149
14d43591
AS
181502010-10-15 Andreas Schwab <schwab@redhat.com>
18151
18152 * scripts/data/localplt-s390-linux-gnu.data: New file.
18153 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18154
5e908464
JJ
181552010-10-13 Jakub Jelinek <jakub@redhat.com>
18156
18157 [BZ #3268]
18158 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18159 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18160 instead of dbl-64.
18161 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18162 inlines.
18163 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18165 if one of x and y is very large and the other is subnormal.
18166 * sysdeps/s390/fpu/s_fmaf.c: New file.
18167 * sysdeps/s390/fpu/s_fma.c: New file.
18168 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18169 * sysdeps/powerpc/fpu/s_fma.S: New file.
18170 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18171 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18172 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18173
181742010-10-12 Jakub Jelinek <jakub@redhat.com>
18175
18176 [BZ #3268]
18177 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18178 fma tests.
18179 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18180 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18181 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18182 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18183 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18184 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18186
b833d51f
UD
181872010-10-12 Ulrich Drepper <drepper@redhat.com>
18188
18189 [BZ #12078]
18190 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18191 * posix/bug-regex31.input: Add test case.
18192
1751705d
UD
181932010-10-11 Ulrich Drepper <drepper@gmail.com>
18194
e9b9cbf5
UD
18195 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18196 * posix/bug-regex31.input: New file.
18197
18198 [BZ #12078]
18199 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18200 (parse_sub_exp): Fix last change, use postorder.
18201
ef06edbe
UD
18202 * posix/bug-regex31.c: New file.
18203 * posix/Makefile: Add rules to build and run bug-regex31.
18204
a129c80d
UD
18205 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18206
18207 [BZ #12078]
18208 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18209
b76b818e
UD
18210 [BZ #12108]
18211 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18212 to have entries in sys_siglist.
18213
1751705d
UD
18214 [BZ #12093]
18215 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18216 be NULL.
18217
9ff8d36f
JJ
182182010-10-07 Jakub Jelinek <jakub@redhat.com>
18219
18220 [BZ #3268]
18221 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18222 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18223 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18224 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18225 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18226 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18227 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18228 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18229 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18230 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18231 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18232 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18233 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18234 * math/ftestexcept.c (fetestexcept): Likewise.
18235 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18236 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18237 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18238 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18239 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18240 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18241 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18242
af325969
UD
182432010-10-11 Ulrich Drepper <drepper@gmail.com>
18244
c579b202 18245 [BZ #12107]
af325969
UD
18246 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18247 newline.
18248
67a67b95
UD
182492010-10-06 Ulrich Drepper <drepper@gmail.com>
18250
18251 * string/bug-strstr1.c: New file.
18252 * string/Makefile: Add rules to build and run bug-strstr1.
18253
5fb308bc
EB
182542010-10-05 Eric Blake <eblake@redhat.com>
18255
18256 [BZ #12092]
18257 * string/str-two-way.h (two_way_long_needle): Always clear memory
18258 when skipping input due to the shift table.
18259
45db99c7
UD
182602010-10-03 Ulrich Drepper <drepper@gmail.com>
18261
3b111893
UD
18262 [BZ #12005]
18263 * malloc/mcheck.c: Handle large requests.
18264
45db99c7
UD
18265 [BZ #12077]
18266 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18267 for strncmp and strncasecmp.
18268 * string/stratcliff.c: Add tests for strcmp and strncmp.
18269 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18270
cf7a1eb8
NI
182712010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18272
18273 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18274 __set_fpscr.
18275
6484ba5e
AJ
182762010-09-30 Andreas Jaeger <aj@suse.de>
18277
18278 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18279 (CGROUP_SUPER_MAGIC): Define.
18280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18281 Handle btrfs and cgroup file systems.
18282 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18283 Likewise.
18284
91c42559
LM
182852010-09-27 Luis Machado <luisgpm@br.ibm.com>
18286
18287 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18288 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18289
87a97932
AK
182902010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18291
18292 [BZ #12067]
18293 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18294 trying to locate the ELF header.
18295
c21cc9bc
AS
182962010-09-27 Andreas Schwab <schwab@redhat.com>
18297
18298 [BZ #11611]
18299 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18300 Mask out sign-bit copies when constructing f_fsid.
18301
315970f6
PB
183022010-09-24 Petr Baudis <pasky@suse.cz>
18303
18304 * debug/stack_chk_fail_local.c: Add missing licence exception.
18305 * debug/warning-nop.c: Likewise.
18306
1ac7a2c7
JM
183072010-09-15 Joseph Myers <joseph@codesourcery.com>
18308
18309 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18310 implementing getdents64 using getdents syscall, set d_type if
18311 __ASSUME_GETDENTS32_D_TYPE.
18312
56801c50
AS
183132010-09-16 Andreas Schwab <schwab@redhat.com>
18314
18315 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18316 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18317
dda51327
UD
183182010-09-21 Ulrich Drepper <drepper@redhat.com>
18319
18320 [BZ #12037]
18321 * posix/unistd.h: Undo change of feature selection for ftruncate from
18322 2010-01-11.
18323
8ffcee4a
UD
183242010-09-20 Ulrich Drepper <drepper@redhat.com>
18325
a545ecd9 18326 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18327 detection.
18328
e24f0a8b
AS
183292010-09-20 Andreas Schwab <schwab@redhat.com>
18330
18331 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18332 fanotify_mark.
18333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18334
7291c56f
AS
183352010-09-14 Andreas Schwab <schwab@redhat.com>
18336
18337 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18338 variables after CHECK_SP call.
18339 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18340
bc5fb037
AS
183412010-09-13 Andreas Schwab <schwab@redhat.com>
18342 Ulrich Drepper <drepper@redhat.com>
18343
18344 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18345 re-relocationg ld.so.
18346 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18347 _dl_init_paths call.
18348 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18349 here anymore.
18350
e66e7419
UD
183512010-09-14 Ulrich Drepper <drepper@redhat.com>
18352
18353 * resolv/res_init.c (__res_vinit): Count the default server we added.
18354
c044aa75
CLT
183552010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18356 Ulrich Drepper <drepper@redhat.com>
18357
18358 [BZ #11968]
18359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18360 (____longjmp_chk): Use %ebx for saving value across system call.
18361 Add unwind info.
18362
32cf4069
AS
183632010-09-06 Andreas Schwab <schwab@redhat.com>
18364
18365 * manual/Makefile: Don't mix pattern rules with normal rules.
18366
817328ee
AS
183672010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18368
18369 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18370 operation.
18371 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18372 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18373 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18374 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18375 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18376 Likewise.
18377
29fddf61
UD
183782010-09-04 Ulrich Drepper <drepper@redhat.com>
18379
18380 [BZ #11979]
18381 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18382 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18383
0959ffc9
UD
183842010-09-02 Ulrich Drepper <drepper@redhat.com>
18385
18386 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18387 * sysdeps/x86_64/addmul_1.S: Likewise.
18388 * sysdeps/x86_64/lshift.S: Likewise.
18389 * sysdeps/x86_64/mul_1.S: Likewise.
18390 * sysdeps/x86_64/rshift.S: Likewise.
18391 * sysdeps/x86_64/sub_n.S: Likewise.
18392 * sysdeps/x86_64/submul_1.S: Likewise.
18393
ece29840
ST
183942010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18395
0959ffc9
UD
18396 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18397 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18398 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18399 * bits/sched.h [__need_schedparam]
ece29840 18400 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18401 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18402 (__defined_schedparam): Define to 1.
ece29840
ST
18403 (__sched_param): New structure, identical to sched_param.
18404 (__need_schedparam): Undefine.
18405
e53a31fe
MF
184062010-08-31 Mike Frysinger <vapier@gentoo.org>
18407
fdc0c10d
MF
18408 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18409 (epoll_create1): Declare.
18410
e53a31fe
MF
18411 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18412
a726d796
AS
184132010-08-31 Andreas Schwab <schwab@redhat.com>
18414
18415 [BZ #7066]
18416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18417 shifting retval into place.
18418
2f3e3dc7
UD
184192010-09-01 Ulrich Drepper <drepper@redhat.com>
18420
f2933da9
UD
18421 * nis/rpcsvc/nis.h: Update copyright notice.
18422 * nis/rpcsvc/nis.x: Likewise.
18423 * nis/rpcsvc/nis_callback.h: Likewise.
18424 * nis/rpcsvc/nis_callback.x: Likewise.
18425 * nis/rpcsvc/nis_object.x: Likewise.
18426 * nis/rpcsvc/nis_tags.h: Likewise.
18427 * nis/rpcsvc/yp.h: Likewise.
18428 * nis/rpcsvc/yp.x: Likewise.
18429 * nis/rpcsvc/ypupd.h: Likewise.
18430 * nis/yp_xdr.c: Likewise.
18431 * nis/ypupdate_xdr.c: Likewise.
18432
2f3e3dc7
UD
18433 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18434 mainly the body of pmap_getport. Add parameters to specify timeouts.
18435 (pmap_getport): Use __libc_rpc_getport.
18436 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18437 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18438 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18439
f3dcc2f9
AS
184402010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18441
18442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18443 fanotify_mark.
18444
6d34eb5b
RM
184452010-08-27 Roland McGrath <roland@redhat.com>
18446
18447 * sysdeps/i386/i686/multiarch/Makefile
18448 (CFLAGS-varshift.c): New variable.
18449
9ea3de11
UD
184502010-08-27 Ulrich Drepper <drepper@redhat.com>
18451
c96d23fc
UD
18452 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18453 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18454
9ea3de11
UD
18455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18456
18457 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18458
623aac7f
L
184592010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18460
18461 * sysdeps/x86_64/strlen.S: Unroll the loop.
18462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18463 strlen-sse2 strlen-sse2-bsf.
18464 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18465 __strlen_no_bsf if bit_Slow_BSF is set.
18466 (__strlen_sse42): Removed.
18467 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18468 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18469
8b2b7715
RM
184702010-08-25 Roland McGrath <roland@redhat.com>
18471
18472 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18473 * sysdeps/x86_64/multiarch/varshift.c: New file.
18474 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18475 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18476 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18477 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18478
e73015f2
L
184792010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18480
18481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18482 strlen-sse2 strlen-sse2-bsf.
18483 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18484 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18485 (__strlen_sse2): Removed.
18486 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18489 bit_Slow_BSF for Atom.
18490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18491 (index_Slow_BSF): Define.
18492 (HAS_SLOW_BSF): Define.
18493
df24a73e
UD
184942010-08-25 Ulrich Drepper <drepper@redhat.com>
18495
18496 [BZ #10851]
18497 * resolv/res_init.c (__res_vinit): When no server address at all
18498 is given default to loopback.
18499
f2ac4868
RM
185002010-08-24 Roland McGrath <roland@redhat.com>
18501
09055553
RM
18502 * configure.in: Remove config-name.h generation.
18503 * configure: Regenerated.
18504 * config-name.in: File removed.
18505 * scripts/config-uname.sh: New file.
18506 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18507 ($(objdir)config-name.h): New target.
18508
f2ac4868
RM
18509 * sunrpc/rpc_parse.h: Avoid nested comment.
18510
73f27d5e
RH
185112010-08-24 Richard Henderson <rth@redhat.com>
18512 Ulrich Drepper <drepper@redhat.com>
18513 H.J. Lu <hongjiu.lu@intel.com>
18514
18515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18517 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18518 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18519 _mm_alignr_epi8 with _mm_loadu_si128.
18520 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18521 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18522 (__m128i_shift_right): Removed.
18523 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18524 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18525 * sysdeps/x86_64/multiarch/varshift.h: New file.
18526 * sysdeps/x86_64/multiarch/varshift.S: New file.
18527
84b9230c
MF
185282010-08-21 Mike Frysinger <vapier@gentoo.org>
18529
18530 * configure.in: Move assembler checks to before sysdep dir checking.
18531
9bbd0ddc
PB
185322010-08-20 Petr Baudis <pasky@suse.cz>
18533
18534 * LICENSES: Sync the sunrpc license.
18535
9da4bb31
UD
185362010-08-19 Ulrich Drepper <drepper@redhat.com>
18537
a7ab6ec8
UD
18538 * sunrpc/auth_des.c: Update copyright notice once again.
18539 * sunrpc/auth_none.c: Likewise.
18540 * sunrpc/auth_unix.c: Likewise.
18541 * sunrpc/authdes_prot.c: Likewise.
18542 * sunrpc/authuxprot.c: Likewise.
18543 * sunrpc/bindrsvprt.c: Likewise.
18544 * sunrpc/clnt_gen.c: Likewise.
18545 * sunrpc/clnt_perr.c: Likewise.
18546 * sunrpc/clnt_raw.c: Likewise.
18547 * sunrpc/clnt_simp.c: Likewise.
18548 * sunrpc/clnt_tcp.c: Likewise.
18549 * sunrpc/clnt_udp.c: Likewise.
18550 * sunrpc/clnt_unix.c: Likewise.
18551 * sunrpc/des_crypt.c: Likewise.
18552 * sunrpc/des_soft.c: Likewise.
18553 * sunrpc/get_myaddr.c: Likewise.
18554 * sunrpc/getrpcport.c: Likewise.
18555 * sunrpc/key_call.c: Likewise.
18556 * sunrpc/key_prot.c: Likewise.
18557 * sunrpc/openchild.c: Likewise.
18558 * sunrpc/pm_getmaps.c: Likewise.
18559 * sunrpc/pm_getport.c: Likewise.
18560 * sunrpc/pmap_clnt.c: Likewise.
18561 * sunrpc/pmap_prot.c: Likewise.
18562 * sunrpc/pmap_prot2.c: Likewise.
18563 * sunrpc/pmap_rmt.c: Likewise.
18564 * sunrpc/rpc/auth.h: Likewise.
18565 * sunrpc/rpc/auth_unix.h: Likewise.
18566 * sunrpc/rpc/clnt.h: Likewise.
18567 * sunrpc/rpc/des_crypt.h: Likewise.
18568 * sunrpc/rpc/key_prot.h: Likewise.
18569 * sunrpc/rpc/netdb.h: Likewise.
18570 * sunrpc/rpc/pmap_clnt.h: Likewise.
18571 * sunrpc/rpc/pmap_prot.h: Likewise.
18572 * sunrpc/rpc/pmap_rmt.h: Likewise.
18573 * sunrpc/rpc/rpc.h: Likewise.
18574 * sunrpc/rpc/rpc_des.h: Likewise.
18575 * sunrpc/rpc/rpc_msg.h: Likewise.
18576 * sunrpc/rpc/svc.h: Likewise.
18577 * sunrpc/rpc/svc_auth.h: Likewise.
18578 * sunrpc/rpc/types.h: Likewise.
18579 * sunrpc/rpc/xdr.h: Likewise.
18580 * sunrpc/rpc_clntout.c: Likewise.
18581 * sunrpc/rpc_cmsg.c: Likewise.
18582 * sunrpc/rpc_common.c: Likewise.
18583 * sunrpc/rpc_cout.c: Likewise.
18584 * sunrpc/rpc_dtable.c: Likewise.
18585 * sunrpc/rpc_hout.c: Likewise.
18586 * sunrpc/rpc_main.c: Likewise.
18587 * sunrpc/rpc_parse.c: Likewise.
18588 * sunrpc/rpc_parse.h: Likewise.
18589 * sunrpc/rpc_prot.c: Likewise.
18590 * sunrpc/rpc_sample.c: Likewise.
18591 * sunrpc/rpc_scan.c: Likewise.
18592 * sunrpc/rpc_scan.h: Likewise.
18593 * sunrpc/rpc_svcout.c: Likewise.
18594 * sunrpc/rpc_tblout.c: Likewise.
18595 * sunrpc/rpc_util.c: Likewise.
18596 * sunrpc/rpc_util.h: Likewise.
18597 * sunrpc/rpcinfo.c: Likewise.
18598 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18599 * sunrpc/rpcsvc/key_prot.x: Likewise.
18600 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18601 * sunrpc/rpcsvc/mount.x: Likewise.
18602 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18603 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18604 * sunrpc/rpcsvc/rex.x: Likewise.
18605 * sunrpc/rpcsvc/rstat.x: Likewise.
18606 * sunrpc/rpcsvc/rusers.x: Likewise.
18607 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18608 * sunrpc/rpcsvc/spray.x: Likewise.
18609 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18610 * sunrpc/rtime.c: Likewise.
18611 * sunrpc/svc.c: Likewise.
18612 * sunrpc/svc_auth.c: Likewise.
18613 * sunrpc/svc_authux.c: Likewise.
18614 * sunrpc/svc_raw.c: Likewise.
18615 * sunrpc/svc_run.c: Likewise.
18616 * sunrpc/svc_simple.c: Likewise.
18617 * sunrpc/svc_tcp.c: Likewise.
18618 * sunrpc/svc_udp.c: Likewise.
18619 * sunrpc/svc_unix.c: Likewise.
18620 * sunrpc/svcauth_des.c: Likewise.
18621 * sunrpc/xcrypt.c: Likewise.
18622 * sunrpc/xdr.c: Likewise.
18623 * sunrpc/xdr_array.c: Likewise.
18624 * sunrpc/xdr_float.c: Likewise.
18625 * sunrpc/xdr_mem.c: Likewise.
18626 * sunrpc/xdr_rec.c: Likewise.
18627 * sunrpc/xdr_ref.c: Likewise.
18628 * sunrpc/xdr_sizeof.c: Likewise.
18629 * sunrpc/xdr_stdio.c: Likewise.
18630
9da4bb31
UD
18631 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18632 handling.
18633
bdaa77bc
AS
186342010-08-19 Andreas Schwab <schwab@redhat.com>
18635
18636 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18637
fe2f79db
LM
186382010-08-19 Luis Machado <luisgpm@br.ibm.com>
18639
18640 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18641 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18642 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18643 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18645 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18646 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18647 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18648 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18649 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18650 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18651 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18652 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18653 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18654
b9b42ee0
AB
186552010-07-26 Anton Blanchard <anton@samba.org>
18656
18657 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18658 * malloc/arena.c (heap_trim): Likewise.
18659
1c06ba31
UD
186602010-08-16 Ulrich Drepper <drepper@redhat.com>
18661
18662 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18663 here. Not...
18664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18665 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18666
f8392f40
L
186672010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18668
18669 * sysdeps/i386/elf/Makefile: New file.
18670
3162f12e
AS
186712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18672
18673 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18674 from fanotify_init.
18675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18677
28c90b2c
UD
186782010-08-15 Ulrich Drepper <drepper@redhat.com>
18679
18680 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18681 of strncasecmp_l.
1feccb6c 18682 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18683
ca6bb004
UD
186842010-08-14 Ulrich Drepper <drepper@redhat.com>
18685
e9f82e0d
UD
18686 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18687 strncase_l-nonascii.
18688 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18689 Add strncase_l-ssse3.
18690 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18691 * sysdeps/x86_64/strcmp.S: Likewise.
18692 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18693 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18694 * sysdeps/x86_64/strncase.S: New file.
18695 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18696 * sysdeps/x86_64/strncase_l.S: New file.
18697 * string/Makefile (strop-tests): Add strncasecmp.
18698 * string/test-strncasecmp.c: New file.
18699
18700 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18701 warning.
18702
ca6bb004
UD
18703 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18704 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18705
052fa7b3
AS
187062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18707
18708 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18709
962dba78
UD
187102010-08-12 Ulrich Drepper <drepper@redhat.com>
18711
18712 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18713 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18714 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18715
bebff237
AM
187162010-05-01 Alan Modra <amodra@gmail.com>
18717
18718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18719 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18720 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18721 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18722 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18723 tidying. Don't tail-call __sigjmp_save for static lib.
18724 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18725 save location.
18726 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18727 (CALL_MCOUNT): Add eh info, and nop after bl.
18728 (TAIL_CALL_SYSCALL_ERROR): New macro.
18729 (PSEUDO_RET): Use it.
18730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18731 Correct save location of integer regs and cr.
18732 (_dl_profile_resolve): Correct cr save location. Delete nops
18733 after bl when SHARED. Reduce cfi size a little by better
18734 placement of cfi directives.
18735 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18736 make a stack frame. Instead use parm save area as a temp.
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18738 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18740 Don't make a stack frame for parent, use parm save area.
18741 Increase child stack frame to 112 bytes. Don't save unused reg,
18742 and adjust reg usage. Set up cfi on error recovery and
18743 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18745 (__makecontext): Add dummy nop after jump to exit.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18747 Use correct parm save area and cr save, reduce stack frame.
18748 Correct cfi for possible PSEUDO_RET frame setup.
18749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18750 Branch to local label emitted by PSEUDO_RET rather than
18751 __syscall_error.
18752
02637374
AS
187532010-08-12 Andreas Schwab <schwab@redhat.com>
18754
18755 [BZ #11904]
18756 * locale/programs/locale.c (print_assignment): New function.
18757 (show_locale_vars): Use it.
18758
c3e2f19b
UD
187592010-08-11 Ulrich Drepper <drepper@redhat.com>
18760
3cdaa6ad
UD
18761 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18762 field.
18763 (struct statfs64): Likewise.
18764 (_STATFS_F_FLAGS): Define.
18765 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18767 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18768 (ST_VALID): Define locally.
18769 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18770 __statvfs_getflags, use the provided value.
18771 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18772 __ASSUME_STATFS_F_FLAGS.
18773
754f7da3
UD
18774 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18775
10b3bedc
UD
18776 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18777 Add sys/fanotify.h.
18778 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18779 fanotify_mask for GLIBC_2.13.
18780 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18781 fanotify_init and fanotify_mark.
18782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18783 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18784
c08fb0d7
UD
18785 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18786 Add prlimit.
18787 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18788 prlimit64 for GLIBC_2.13.
18789 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18790 prlimit64.
18791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18792 syscall.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18794 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18795 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18796 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18797 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18798 add prlimit alias.
18799 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18800
15bac72b
UD
18801 [BZ #11903]
18802 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18803 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18804
c3e2f19b
UD
18805 * nss/Makefile: Add rules to build and run tst-nss-test1.
18806 * shlib-versions: Add entry for libnss_test1.
18807 * nss/nss_test1.c: New file.
18808 * nss/tst-nss-test1.c: New file.
18809
18810 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18811 (__nss_configure_lookup): Set appropriate entry in
18812 __nss_configure_lookup to true.
18813 * nss/nsswitch.h: Define enum with indeces of databases in
18814 databases and __nss_database_custom arrays. Declare
18815 __nss_database_custom.
18816 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18817 to avoid using nscd when custom rules are installed.
18818 * nss/getXXbyYY_r.c: Likewise.
18819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18820
18821 * nss/nss_files/files-parse.c: Whitespace fixes.
18822
f15ce4d8
UD
188232010-08-09 Ulrich Drepper <drepper@redhat.com>
18824
18825 [BZ #11883]
18826 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18827 * posix/fnmatch_loop.c: Likewise.
18828
d22e4cc9
AK
188292010-07-17 Andi Kleen <ak@linux.intel.com>
18830
18831 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18832 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18833 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18834 * Versions.def [GLIBC_2.13]: Add.
18835
805bc17d
UD
188362010-08-06 Ulrich Drepper <drepper@redhat.com>
18837
18838 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18839 Also fail if tpwd after pwuid call is NULL.
18840
5a42321d
ST
188412010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18842
18843 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18844 when converting to ms.
18845
fd3ebeda
ST
188462010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18847
18848 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18849 EOPNOTSUPP errors with ENOTTY.
18850 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18851 EOPNOTSUPP errors with ENOTTY.
18852
73507d3a
UD
188532010-07-31 Ulrich Drepper <drepper@redhat.com>
18854
18855 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18856 Add strcasecmp_l-ssse3.
18857 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18858 strcasecmp.
18859 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18860 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18861 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18862
fe36dd02
UD
188632010-07-30 Ulrich Drepper <drepper@redhat.com>
18864
66f6765a
UD
18865 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18866
42e08a54
UD
18867 * string/Makefile (strop-tests): Add strcasecmp.
18868 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18869 strcasecmp_l-nonascii.
18870 (gen-as-const-headers): Add locale-defines.sym.
18871 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18872 * sysdeps/x86_64/strcasecmp.S: New file.
18873 * sysdeps/x86_64/strcasecmp_l.S: New file.
18874 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18875 * sysdeps/x86_64/locale-defines.sym: New file.
18876 * string/test-strcasecmp.c: New file.
18877
fe36dd02
UD
18878 * string/test-strcasestr.c: Test both ends of the range of characters.
18879 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18880
48cbc0d6
RM
188812010-07-29 Roland McGrath <roland@redhat.com>
18882
76e6d6bc 18883 [BZ #11856]
48cbc0d6
RM
18884 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18885
880113d9
UD
188862010-07-27 Ulrich Drepper <drepper@redhat.com>
18887
18888 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18889 for ld.so.
18890
deb9cabb
AS
188912010-07-27 Andreas Schwab <schwab@redhat.com>
18892
18893 * manual/memory.texi (Malloc Tunable Parameters): Document
18894 M_PERTURB.
18895
1c7570ff
RM
188962010-07-26 Roland McGrath <roland@redhat.com>
18897
18898 [BZ #11840]
18899 * configure.in (-fgnu89-inline check): Set and substitute
18900 gnu89_inline, not libc_cv_gnu89_inline.
18901 * configure: Regenerated.
18902 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18903
24fb0f88
UD
189042010-07-26 Ulrich Drepper <drepper@redhat.com>
18905
18906 * string/test-strnlen.c: New file.
18907 * string/Makefile (strop-tests): Add strnlen.
18908 * string/tester.c (test_strnlen): Add a few more test cases.
18909 * string/tst-strlen.c: Better error reporting.
18910
18911 * sysdeps/x86_64/strnlen.S: New file.
18912
8e96b93a
UD
189132010-07-24 Ulrich Drepper <drepper@redhat.com>
18914
18915 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18916 lower-latency instructions.
18917
dbc676d4
UD
189182010-07-23 Ulrich Drepper <drepper@redhat.com>
18919
18920 * string/test-strcasestr.c: New file.
18921 * string/test-strstr.c: New file.
18922 * string/Makefile (strop-tests): Add strstr and strcasestr.
18923 * string/str-two-way.h: Don't undefine MAX.
18924 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18925
f6a31e0e
AS
189262010-07-21 Andreas Schwab <schwab@redhat.com>
18927
18928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18929 strcasestr-nonascii.
18930 (CFLAGS-strcasestr-nonascii.c): Define.
18931 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18932 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18933 Remove unused attribute.
18934
5dbc3b6c
RM
189352010-07-20 Roland McGrath <roland@redhat.com>
18936
18937 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18938 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18939 ld.so.cache was broken. With it, there is no way to disable dsocaps
18940 like LD_HWCAP_MASK can disable hwcaps.
18941
23d101d8
EPM
189422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18943
18944 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18945
cc9f2e47
UD
189462010-07-16 Ulrich Drepper <drepper@redhat.com>
18947
18948 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18949 call in strcasestr.
18950 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18951 __strcasestr_sse42_nonascii.
18952 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18953 strcasestr-nonascii.c.
18954 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18955
77c1b069
LM
189562010-06-15 Luis Machado <luisgpm@br.ibm.com>
18957
18958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18959 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18961 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18962
440566c3
UD
189632010-07-09 Ulrich Drepper <drepper@redhat.com>
18964
18965 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18966 fcntl.
18967
5be9d05d
AS
189682010-07-06 Andreas Schwab <schwab@redhat.com>
18969
c30b7ee2 18970 [BZ #11577]
5be9d05d
AS
18971 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18972 dl_signal_cerror.
18973
8a492a67
UD
189742010-07-06 Ulrich Drepper <drepper@redhat.com>
18975
18976 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18977 _PC_PIPE_BUF using F_GETPIPE_SZ.
18978
713df3d5
RM
189792010-07-05 Roland McGrath <roland@redhat.com>
18980
18981 * manual/arith.texi (Rounding Functions): Fix rint description
18982 implicit in round description.
18983
702e8f14
UD
189842010-07-02 Ulrich Drepper <drepper@redhat.com>
18985
18986 * elf/Makefile: Fix linking for a few tests to make recent linker
18987 happy.
18988
52ed8be9
AS
189892010-06-30 Andreas Schwab <schwab@redhat.com>
18990
18991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18992 $(common-objpfx)libc_nonshared.a.
18993
f47c9a11
LM
189942010-06-21 Luis Machado <luisgpm@br.ibm.com>
18995
18996 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18997 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18998 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18999 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19000 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
19001 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
19002 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19003 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
19007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
19013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
19016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
19018 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
19019 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
19020 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
19021 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
19022 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
19023 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
19024 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
19025 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
19026 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
19027 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
19028 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
19029 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
19031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
19033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
19034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
19035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
19037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
19040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
19041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
19043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
19044
6fb8cbcb
L
190452010-06-25 H.J. Lu <hongjiu.lu@intel.com>
19046
19047 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
19048 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
19049 * string/memmove.c (memmove): Renamed to ...
19050 (MEMMOVE): ...this. Default to memmove.
19051 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
19052 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
19053 (END_CHK): Define.
19054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19055 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
19056 mempcpy-ssse3-back memmove-ssse3-back.
19057 * sysdeps/x86_64/multiarch/bcopy.S: New file .
19058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
19059 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
19060 * sysdeps/x86_64/multiarch/memcpy.S: New file.
19061 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
19062 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
19063 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
19064 * sysdeps/x86_64/multiarch/memmove.c: New file.
19065 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
19066 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
19067 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
19068 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
19069 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
19070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
19071 Define.
19072 (index_Fast_Copy_Backward): Define.
19073 (HAS_ARCH_FEATURE): Define.
19074 (HAS_FAST_REP_STRING): Define.
19075 (HAS_FAST_COPY_BACKWARD): Define.
19076
4e733bac 190772010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
19078
19079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19080 Restore proper fallback handling.
19081
63c4ed22
UD
190822010-06-19 Ulrich Drepper <drepper@redhat.com>
19083
ac2b484c
UD
19084 [BZ #11701]
19085 * posix/group_member.c (__group_member): Correct checking loop.
19086
63c4ed22
UD
19087 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19088 OOM in getpwuid_r correctly. Return error number when the caller
19089 should return, otherwise -1.
19090 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19091 call returning > 0 value.
19092 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19093
765ade4b
AS
190942010-06-07 Andreas Schwab <schwab@redhat.com>
19095
19096 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19097 libc_nonshared.a from targets in modules-names.
19098
80da2e09
KS
190992010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19100
19101 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19102 requires it.
19103
158db122
LM
191042010-06-10 Luis Machado <luisgpm@br.ibm.com>
19105
19106 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19107 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19110
caa78cf8
AS
191112010-06-02 Andreas Schwab <schwab@redhat.com>
19112
19113 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19114
b2ef2c01
UD
191152010-06-14 Ulrich Drepper <drepper@redhat.com>
19116
19117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19118 and F_GETPIPE_SZ.
19119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19125
fbd643b6
RM
191262010-06-14 Roland McGrath <roland@redhat.com>
19127
19128 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19129
f32f2869
JJ
191302010-06-07 Jakub Jelinek <jakub@redhat.com>
19131
19132 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19133 __REDIRECT followed by __THROW.
19134 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19135 * posix/getopt.h (getopt): Likewise.
19136
2a50c078
EPM
191372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19138
19139 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19140 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19141 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19142 in AT_FLAGS.
19143 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19144 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19145
eb5ad2eb
LM
191462010-05-28 Luis Machado <luisgpm@br.ibm.com>
19147
19148 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19149
3c88fe1e
L
191502010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19151
19152 [BZ #11640]
19153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19154 Properly check family and model.
19155
d2f73151
TY
191562010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19157
19158 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19159
ebd2e13d
LM
191602010-05-24 Luis Machado <luisgpm@br.ibm.com>
19161
19162 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19163
b32b8b45
UD
191642010-05-21 Ulrich Drepper <drepper@redhat.com>
19165
19166 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19167 symbol reference.
19168
9acbe24d
AS
191692010-05-19 Andreas Schwab <schwab@redhat.com>
19170
19171 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19172 symbol reference.
19173
f0ccf6ea
AS
191742010-05-21 Andreas Schwab <schwab@redhat.com>
19175
3d04ff3a
AS
19176 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19177 and internal_recvmmsg.
19178 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19179 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19180 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19181 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19182
f0ccf6ea
AS
19183 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19184 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19185 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19186
5b08ac57
AS
191872010-05-20 Andreas Schwab <schwab@redhat.com>
19188
19189 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19190
4828935d
LM
191912010-05-17 Luis Machado <luisgpm@br.ibm.com>
19192
19193 POWER7 optimizations.
19194 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19195 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19196
373d545e
UD
191972010-05-19 Ulrich Drepper <drepper@redhat.com>
19198
19199 * version.h: Update for 2.13 development version.
19200
21a2b1ae
AS
192012010-05-12 Andrew Stubbs <ams@codesourcery.com>
19202
19203 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19204 exceptions. Return 0.
19205
3f7dcb2b
RM
192062010-05-07 Roland McGrath <roland@redhat.com>
19207
19208 * elf/ldconfig.c (main): Add a const.
19209
5f24d53a 192102010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19211
a160f8d8
UD
19212 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19213 (args_options): Add no-idn option.
19214 (ahosts_keys_int): Add idn_flags to ai_flags.
19215 (parse_option): Handle 'i' option to clear idn_flags.
19216
5f24d53a
UD
19217 * malloc/malloc.c (_int_free): Possible race in the most recently
19218 added check. Only act on the data if no current modification
19219 happened.
265bb1ce
UD
19220
19221See ChangeLog.17 for earlier changes.
This page took 2.489983 seconds and 5 git commands to generate.