]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use crtbeginT.o to statically link programs
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a5055ad1
L
12012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14544]
4 * Makeconfig (link-static-before-libc): Replace $(+prector)
5 with $(+prectorT).
6 (link-static-after-libc): Replace $(+postctor) with
7 $(+postctorT).
8 (link-bounded): Replace $(+prector)/$(+postctor) with
9 $(+prectorT)/$(+postctorT).
10 (+prectorT): New macro.
11 (+postctorT): Likewise.
12
ed8c2ecd
JM
132012-09-06 Joseph Myers <joseph@codesourcery.com>
14
15 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16 (round_str): Handle values above the maximum for IBM long double
17 as inexact.
18 * stdlib/tst-strtod-round.c (tests): Regenerated.
19
14c996c8
AK
202012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21
22 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23 assembler flag.
24 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25 zarch_nohighgprs around the zarch optimized routines.
26 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29 for zarch.
30
430d6ce6
DM
312012-09-05 David S. Miller <davem@davemloft.net>
32
33 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34
ff04dda4
DM
35 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
36 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39 entries.
40
24d4e01b
AO
412012-09-05 Alexandre Oliva <aoliva@redhat.com>
42
43 * malloc/arena.c: Fold copyright years.
44 * malloc/mcheck.c, malloc/memusage.c: Likewise.
45
61d58174
AO
462012-09-05 Alexandre Oliva <aoliva@redhat.com>
47
48 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
49
20196a5e
AO
502012-09-05 Alexandre Oliva <aoliva@redhat.com>
51
52 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
53
5c447383
AO
542012-09-05 Alexandre Oliva <aoliva@redhat.com>
55
56 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57 change internal state upon failure.
58
fad64255
AO
592012-09-05 Alexandre Oliva <aoliva@redhat.com>
60
61 * malloc/mcheck.c (mcheck_check_all): Fix typo.
62 * malloc/memusage.c (mmap): Likewise.
63 (mmap64, mremap): Likewise. Adjust name in comment.
64
1ffb8c90
SP
652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66
67 * libio/fileops.c: Fix typos in comments.
68 * libio/oldfileops.c: Likewise.
69 * libio/wfileops.c: Likewise.
70
6ef9cc37
SP
712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
72
73 [BZ #1349]
74 * malloc/Makefile (tests): Add tst-malloc-usable test case.
75 (tst-malloc-usable-ENV): Set environment for test case.
76 * malloc/hooks.c (malloc_check_get_size): New function to get
77 requested size.
78 * malloc/malloc.c (musable): Use malloc_check_get_size.
79 * malloc/tst-malloc-usable.c: New test case.
80
4d038ae3
AS
812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
82
83 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
84
c4e85184
AM
852012-09-05 Allan McRae <allan@archlinux.org>
86
b9dafc56 87 [BZ #13966]
c4e85184
AM
88 * configure.in (CXX_SYSINCLUDES): Use compiler output to
89 determine header location.
90 * configure: Regenerated.
91
e1343020
AS
922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
93
94 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
95 float format.
96 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
97 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
98 format.
e1343020
AS
99 (test): Regenerate.
100
0a9f1987
DM
1012012-09-04 David S. Miller <davem@davemloft.net>
102
103 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
104 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
105 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
106
29237804
FW
1072012-09-04 Florian Weimer <fweimer@redhat.com>
108
109 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
110 failures.
111
edb3cb88
FW
112 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
113
60160d83
JM
1142012-09-04 Joseph Myers <joseph@codesourcery.com>
115
116 [BZ #9914]
117 * libio/iogetdelim.c: Include <limits.h>.
118 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
119 + len + 1 would overflow.
120
bcd6c8dc
AJ
1212012-09-03 Andreas Jaeger <aj@suse.de>
122
123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125
4ffffbd2
LD
1262012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
127
128 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
129 Add s_sinf-sse2, s_conf-sse2.
130
131 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
132 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
133 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
134 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
135
136 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
137 for using routine as __sinf_ia32.
138 Use macro for function declaration and weak_alias.
139 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
140 for using routine as __cosf_ia32.
141 Use macro for function declaration and weak_alias.
142
143 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
144 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
145
146 * sysdeps/x86_64/fpu/s_sinf.S: New file.
147 * sysdeps/x86_64/fpu/s_cosf.S: New file.
148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
149
150 * math/libm-test.inc (cos_test): Add more test cases.
151 (sin_test): Likewise.
152 (sincos_test): Likewise.
153
511fa286
AK
1542012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
155
156 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
157 (IFUNC_RESOLVE): Make pointers to the specialized implementations
158 hidden.
159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
160
5f30cfec
L
1612012-09-02 H.J. Lu <hongjiu.lu@intel.com>
162
163 [BZ #14538]
164 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
165 first element of the GOT.
166 (elf_machine_load_address): Return the difference between
167 the runtime address of _DYNAMIC and elf_machine_dynamic ().
168
0786794f
AM
1692012-09-01 Allan McRae <allan@archlinux.org>
170
5f30cfec
L
171 [BZ #13412]
172 * configure.in (AWK): Require gawk version 3.0 or later.
173 * configure: Regenerated.
0786794f 174
26889eac
JM
1752012-09-01 Joseph Myers <joseph@codesourcery.com>
176
177 * sysdeps/unix/sysv/linux/kernel-features.h
178 (__ASSUME_POSIX_CPU_TIMERS): Remove.
179 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
180 [__NR_clock_getres]: Make code unconditional.
181 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
182 (clock_getcpuclockid): Remove code left unreachable by removal of
183 conditionals.
184 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
185 code unconditional.
186 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
187 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
188 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
189 Make code unconditional.
190 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
192 * sysdeps/unix/sysv/linux/clock_settime.c
193 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
194 conditional code.
195 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
196 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
197
d22e28b0
L
1982012-08-29 H.J. Lu <hongjiu.lu@intel.com>
199
200 [BZ #14476]
201 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
202 scripts/test-installation.pl.
203
204 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
205 and $ld_so_version if it is set.
206
050af9c4
SP
2072012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
208
209 [BZ #14516]
210 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
211 failure if reading from procfs failed.
212 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
213
ad845c0b
JM
2142012-08-27 Joseph Myers <joseph@codesourcery.com>
215
216 * sysdeps/unix/sysv/linux/kernel-features.h
217 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
218 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
219 Remove conditional code.
220 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
221 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
222 Remove conditional code.
223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
224 * sysdeps/unix/sysv/linux/i386/fxstat.c
225 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
227 * sysdeps/unix/sysv/linux/i386/fxstatat.c
228 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
230 * sysdeps/unix/sysv/linux/i386/lxstat.c
231 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
233 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
234 Remove conditional code.
235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
236 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
237 Remove conditional code.
238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
239 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
240 <kernel-features.h>.
241 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
242 Remove.
243 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
244 Remove conditional code.
245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
246 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
247 Remove conditional.
248
5dbf56af
MF
2492012-08-27 Mike Frysinger <vapier@gentoo.org>
250
251 [BZ #5400]
252 * NEWS: Add fixed bug number.
253
d6e70f43
JM
2542012-08-27 Joseph Myers <joseph@codesourcery.com>
255
7efb4737
JM
256 [BZ #14519]
257 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
258 underflowing exponent in case of negative sign.
259 * stdlib/tst-strtod-round-data: Add more tests.
260 * stdlib/tst-strtod-round.c (tests): Regenerated.
261
af92131a
JM
262 [BZ #3479]
263 * stdlib/strtod_l.c (NDIG): Remove.
264 (HEXNDIG): Likewise.
265 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
266 smallest representable value.
267 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
268 lie within an exact representation of 1/2 ulp of the result.
269 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
270 unconditionally.
271 (TENS_P9_IDX): Define unconditionally.
272 (TENS_P9_SIZE): Likewise.
273 (TENS_P10_IDX): Likewise.
274 (TENS_P10_SIZE): Likewise.
275 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
276 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
277 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
278 entries for 10^2^13 and 10^2^14.
279 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
280 (TENS_P13_IDX): Define.
281 (TENS_P13_SIZE): Likewise.
282 (TENS_P14_IDX): Likewise.
283 (TENS_P14_SIZE): Likewise.
284 (_fpioconst_pow10): Change array size to
285 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
286 unconditional.
287 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
288 1024]: Add entries for 10^2^13 and 10^2^14.
289 [LAST_POW10 > _LAST_POW10]: Remove #error.
290 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
291 (_fpioconst_pow10): Change array size to
292 FPIOCONST_POW10_ARRAY_SIZE.
293 * stdlib/gen-fpioconst.c: New file.
294 * stdlib/gen-tst-strtod-round.c: Likewise.
295 * stdlib/tst-strtod-round-data: Likewise.
296 * stdlib/tst-strtod-round.c: Likewise.
297 * stdlib/Makefile (tests): Add tst-strtod-round.
298
d6e70f43
JM
299 [BZ #14459]
300 * stdlib/strtod_l.c: Include <stdint.h>.
301 (NDEBUG): Do not define.
302 (round_and_return): Change EXPONENT parameter to type intmax_t.
303 Rearrange calculations to avoid internal overflow possibilities.
304 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
305 Rearrange calculations to avoid internal overflow possibilities.
306 Assert that number fits inside MPNSIZE limbs.
307 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
308 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
309 calculations and add assertions to avoid internal overflow
310 possibilities. Add casts to avoid signed/unsigned operations.
311 * stdlib/tst-strtod-overflow.c: New file.
312 * stdlib/Makefile (tests): Add tst-strtod-overflow.
313
1f529f7d
MP
3142012-08-25 Marek Polacek <polacek@redhat.com>
315
316 * time/time.h: Fix some typos in comments.
317
59a629f1
RM
3182012-08-23 Roland McGrath <roland@hack.frob.com>
319
320 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
321 * posix/tst-rfc3484-2.c: Likewise.
322 * posix/tst-rfc3484-3.c: Likewise.
323
d3bafbc9
SM
3242012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
325
326 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
327 (EF_ARM_ABI_FLOAT_HARD): Likewise.
328
4efcc022
JM
3292012-08-23 Joseph Myers <joseph@codesourcery.com>
330
331 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
332 #include of fxstatat64.c.
333
3cc3ef96
RM
3342012-08-22 Roland McGrath <roland@hack.frob.com>
335
f04e2132
RM
336 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
337 * shadow/getspent_r.c: Likewise.
338 * shadow/getspnam.c: Likewise.
339 * shadow/getspnam_r.c: Likewise.
340 * gshadow/getsgent.c: Likewise.
341 * gshadow/getsgent_r.c: Likewise.
342 * gshadow/getsgnam.c: Likewise.
343 * gshadow/getsgnam_r.c: Likewise.
344 * inet/getnetbyad.c: Likewise.
345 * inet/getnetbyad_r.c: Likewise.
346 * inet/getnetbynm.c: Likewise.
347 * inet/getnetbynm_r.c: Likewise.
348 * inet/getnetent.c: Likewise.
349 * inet/getnetent_r.c: Likewise.
350 * inet/getproto.c: Likewise.
351 * inet/getproto_r.c: Likewise.
352 * inet/getprtent.c: Likewise.
353 * inet/getprtent_r.c: Likewise.
354 * inet/getprtname.c: Likewise.
355 * inet/getprtname_r.c: Likewise.
356 * inet/getrpcbyname.c: Likewise.
357 * inet/getrpcbyname_r.c: Likewise.
358 * inet/getrpcbynumber.c: Likewise.
359 * inet/getrpcbynumber_r.c: Likewise.
360 * inet/getrpcent.c: Likewise.
361 * inet/getrpcent_r.c: Likewise.
362 * inet/getaliasent.c: Likewise.
363 * inet/getaliasent_r.c: Likewise.
364 * inet/getaliasname.c: Likewise.
365 * inet/getaliasname_r.c: Likewise.
366 * nscd/getgrgid_r.c: Likewise.
367 * nscd/getgrnam_r.c: Likewise.
368 * nscd/gethstbyad_r.c: Likewise.
369 * nscd/gethstbynm3_r.c: Likewise.
370 * nscd/getpwnam_r.c: Likewise.
371 * nscd/getpwuid_r.c: Likewise.
372 * nscd/getsrvbynm_r.c: Likewise.
373 * nscd/getsrvbypt_r.c: Likewise.
374 * nscd/gai.c: Likewise.
375
c53d909c
RM
376 * configure.in (build_nscd): New substituted variable, set
377 by --disable-build-nscd and defaults to $use_nscd.
378 * configure: Regenerated.
379 * config.make.in (build-nscd): New substituted variable.
380 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
381 Change conditional to require [$(build-nscd) = yes] as well.
382 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
383
3cc3ef96
RM
384 [BZ# 13696]
385 * configure.in (use_nscd): New substituted variable, set by
386 --disable-nscd. If enabled, define USE_NSCD.
387 * configure: Regenerated.
388 * config.h.in: Add USE_NSCD.
389 * config.make.in (use-nscd): New substituted variable.
390 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
391 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
392 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
393 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
394 (CFLAGS-getgrnam_r.c): Likewise.
395 (CFLAGS-initgroups.c): Likewise.
396 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
397 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
398 Variables removed.
399 * inet/getnetgrent_r.c
400 (nscd_setnetgrent): New function, broken out of ...
401 (setnetgrent): ... here. Call it.
402 (innetgr): Conditionalize nscd bits on [USE_NSCD].
403 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
404 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
405 * nscd/Makefile (routines, aux): Move definitions after include of
406 Makeconfig. Conditionalize on [$(use-nscd) != no].
407 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
408 Conditionalize on [USE_NSCD].
409 (is_nscd, nscd_init_cb): Likewise.
410 (nss_load_library): Conditionalize init callback on [USE_NSCD].
411 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
412 * nss/nss_db/db-init.c: Likewise.
413 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
414 [USE_NSCD].
415 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
416 (make_request): Use it.
417 (cache_valid_p): New function.
418 (__check_pf): Use it.
419 * NEWS: Add item for --disable-nscd.
420
07e51550
DL
4212012-08-22 Dmitry V. Levin <ldv@altlinux.org>
422
423 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
424 to support sed >= 4.2.1-20-ga9bf076.
425 * configure: Regenerated.
426
35a5b08b
RM
4272012-08-22 Roland McGrath <roland@hack.frob.com>
428
429 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
430 Conditionalize whole body on [IREL].
431
8479f23a
JL
4322012-08-22 Jeff Law <law@redhat.com>
433
434 [BZ #14505]
435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
436 if the family is PF_UNSPEC.
437
48da0b21
MF
4382012-08-22 Mike Frysinger <vapier@gentoo.org>
439
440 * Makerules (lib-version): Rename from V.
441 (install-lib-nosubdir): Change V to lib-version.
442
15d0da8c
WS
4432012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
444
445 [BZ #14252]
446 * powerpc32/power6/wcschr.c: New file.
447 * powerpc32/power6/wcscpy.c: New file.
448 * powerpc32/power6/wcsrchr.c: New file.
449 * powerpc64/power6/wcschr.c: New file.
450 * powerpc64/power6/wcscpy.c: New file.
451 * powerpc64/power6/wcsrchr.c: New file.
452
bcca0895
MK
4532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
454
455 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
456 (two_way_short_needle): Use it.
5a4aaa33
RM
457 * string/strstr.c (AVAILABLE1_USES_J): Define.
458 * string/strcasestr.c: Likewise.
99677e57
MK
459
460 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
461 array references.
462 * string/strcasestr.c (TOLOWER): Make side-effect safe.
463
400726de
MK
464 [BZ #11607]
465 * NEWS: Add an entry.
466 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
467 define their defaults.
468 (two_way_short_needle): Detect end-of-string on-the-fly.
469 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
470 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
471 * string/bug-strcasestr1.c: New test.
472 * string/Makefile: Run it.
473
20a71f2c
MK
4742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
475
476 [BZ #11607]
477 * string/str-two-way.h (two_way_short_needle): Optimize matching of
478 the first character.
479
21ad0558
RM
4802012-08-21 Roland McGrath <roland@hack.frob.com>
481
482 * csu/elf-init.c (__libc_csu_irel): Function removed.
483 * csu/libc-start.c (apply_irel): New function.
484 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
485
0e1d9911
JM
4862012-08-21 Joseph Myers <joseph@codesourcery.com>
487
488 * sysdeps/unix/sysv/linux/kernel-features.h
489 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
490 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
491 <kernel-features.h>.
492 [__NR_fadvise64_64]: Make code unconditional.
493 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
494 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
495 !__NR_fadvise64_64)]: Likewise.
496 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
497 !__NR_fadvise64_64))]: Likewise.
498 [__NR_fadvise64]: Make code unconditional.
499 [!__NR_fadvise64]: Remove conditional code.
500 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
501 <kernel-features.h>.
502 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
503 unconditional.
504 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
505 conditional code.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
507 not include <kernel-features.h>.
508 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
509 unconditional.
510 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
511 conditional code.
512 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
513 include <kernel-features.h>.
514 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
515 unconditional.
516 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
517 conditional code.
518
14a50c9d
WS
5192012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
520
521 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
522 slight instruction rearrangements per scrollpipe analysis.
523 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
524
c0f4faf0
RM
5252012-08-20 Roland McGrath <roland@hack.frob.com>
526
696da859
RM
527 * manual/syslog.texi (syslog; vsyslog, closelog):
528 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
529 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
530
c0f4faf0
RM
531 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
532 DSOCAPS to match condition on defining it.
533
348363b2
JM
5342012-08-20 Joseph Myers <joseph@codesourcery.com>
535
a35cbf28
JM
536 * sysdeps/unix/sysv/linux/kernel-features.h
537 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
539 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
540 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
542 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
543 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
545 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
546 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
547
445f7ecd
JM
548 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
549 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
550
348363b2
JM
551 * sysdeps/unix/sysv/linux/kernel-features.h
552 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
553 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
554 unconditional.
555 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
556 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
557 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
558 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
559 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
560 Make code unconditional.
561 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
562 (__mmap64) [!__NR_mmap2]: Likewise.
563 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
564 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
565 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
566 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
567 [__NR_mmap2]: Make code unconditional.
568 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
569 (__mmap64) [!__NR_mmap2]: Likewise.
570
bc5bc0e5
AK
5712012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
572
573 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
574
88d506de
AJ
5752012-08-18 Andreas Jaeger <aj@suse.de>
576
577 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
578
493387d2
MF
5792012-08-18 Mike Frysinger <vapier@gentoo.org>
580
581 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
582 * include/unistd.h (__have_sock_cloexec): Likewise.
583 (__have_pipe2): Likewise.
584 (__have_dup3): Likewise.
585
a277af22
MF
5862012-08-18 Mike Frysinger <vapier@gentoo.org>
587
588 [BZ #9685]
589 * include/unistd.h (__have_pipe2): Change define into an extern int.
590 (__have_dup3): Likewise.
591 * socket/have_sock_cloexec.c: Include fcntl.h.
592 (__have_pipe2): New variable.
593 (__have_dup3): Likewise.
594
fdab8fd3
MF
5952012-08-17 Mike Frysinger <vapier@gentoo.org>
596
597 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
598
31035e80
MP
5992012-08-17 Marek Polacek <polacek@redhat.com>
600
601 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
602 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
603
3bd9e993
RM
6042012-08-17 Roland McGrath <roland@hack.frob.com>
605
c91c505f
RM
606 * configure.in: Add AC_SUBST for sysheaders.
607 * configure: Regenerated.
608 * config.make.in (sysheaders): New substituted variable.
609
7c6f9d53
RM
610 * sysdeps/unix/mkfifo.c: Moved ...
611 * sysdeps/posix/mkfifo.c: ... here.
612 * sysdeps/unix/mkfifoat.c: Moved ...
613 * sysdeps/posix/mkfifoat.c: ... here.
614
615 * sysdeps/unix/utime.c: Moved ...
616 * sysdeps/posix/utime.c: ... here.
617
618 * sysdeps/unix/time.c: Moved ...
619 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
620 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
621 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
622
623 * sysdeps/unix/nice.c: Moved ...
624 * sysdeps/posix/nice.c: ... here.
625
626 * sysdeps/unix/alarm.c: Moved ...
627 * sysdeps/posix/alarm.c: ... here.
628
3bd9e993
RM
629 * intl/Makefile ($(codeset_mo)): Depend on the input file.
630
d1f09384
JL
6312012-08-17 Jeff Law <law@redhat.com>
632
633 * intl/Makefile (codeset_mo): New variable.
634 ($(codeset_mo)): New target.
635 (tst-codeset.out): Depend on that. Remove explicit rule.
636 (tst-gettext3.out, tst-gettext5.out): Likewise.
637 (LOCPATH-ENV, tst-codeset-ENV): New variables.
638 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
639 * intl/tst-codeset.sh: Remove.
640 * intl/tst-gettext3.sh: Likewise.
641 * intl/tst-gettext5.sh: Likewise.
642
2ae1ae5c
RM
6432012-08-17 Roland McGrath <roland@hack.frob.com>
644
c31fdb83
RM
645 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
646 * sysdeps/unix/syscalls.list: ... here.
647
a0844057
RM
648 * sysdeps/posix/getaddrinfo.c
649 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
650 (gaiconf_init, gaiconf_reload): Use them.
651 [!_STATBUF_ST_NSEC]
652 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
653 Define using time_t rather than struct timespec.
654
750c1f2a
RM
655 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
656 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
657 Macros removed.
658 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
659 [!NO_THREADS].
660 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
661 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
662 Likewise.
663
2ae1ae5c
RM
664 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
665 __libc_cleanup_push argument.
666
e66a42f5
RM
667 * bits/param.h: New file.
668 * misc/sys/param.h: New file.
669 * include/sys/param.h: New file.
670 * misc/Makefile (headers): Add bits/param.h.
671 * sysdeps/generic/sys/param.h: File removed.
672 * sysdeps/unix/sysv/linux/bits/param.h: New file.
673 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
674 * sysdeps/mach/hurd/bits/param.h: New file.
675 * sysdeps/mach/hurd/sys/param.h: New file.
676
b7c08a66
RM
677 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
678 last change.
679
b2e1c562
RM
680 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
681 [_IO_MTSAFE_IO].
682 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
683 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
684 New macros.
685
c75ccd4c
RM
686 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
687 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
688 rather than -D_IO_MTSAFE_IO conditionally.
689 * stdio-common/Makefile (CPPFLAGS): Likewise.
690 * wcsmbs/Makefile (CPPFLAGS): Likewise.
691 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
692 Use $(libio-mtsafe).
693 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
694 of -D_IO_MTSAFE_IO.
695 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
696 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
697 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
698 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
699 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
700 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
701 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
702 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
703 (CFLAGS-fread_u_chk.c): Likewise.
704 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
705 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
706 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
707 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
708 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
709 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
710 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
711 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
712 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
713
714 * libio/Makefile: Test [$(libc-reentrant) = yes]
715 instead of [$(filter %REENTRANT, $(defines)) nonempty].
716
717 * Makeconfig
718 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
719 * sysdeps/pthread/configure: File removed.
720 * sysdeps/pthread/Makeconfig: New file.
721 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
722 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
723
d9195db8
GB
7242012-08-16 Gary Benson <gbenson@redhat.com>
725
726 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
727 unmapping the first object in a namespace.
728
86466cd9
RM
7292012-08-16 Roland McGrath <roland@hack.frob.com>
730
731 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
732 (__internal_setnetgrent): ... this. Add internal_function to
733 definition. Add libc_hidden_def.
734 (setnetgrent): Update caller.
735 (internal_endnetgrent): Renamed to ...
736 (__internal_endnetgrent): ... this. Add internal_function to
737 definition. Add libc_hidden_def.
738 (endnetgrent): Update caller.
739 (internal_getnetgrent_r): Renamed to ...
740 (__internal_getnetgrent_r): ... this. Add internal_function to
741 definition. Add libc_hidden_def.
742 (__getnetgrent_r): Update caller.
743 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
744
c3c8283c
JM
7452012-08-16 Joseph Myers <joseph@codesourcery.com>
746
747 * stdlib/longlong.h: Update from GCC.
748
db1ee0a8
RM
7492012-08-16 Roland McGrath <roland@hack.frob.com>
750
751 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
752 on _QL, which is set by umul_ppmm but never used.
753 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
754 variables, which are set by GMP macros but never used.
755 * stdio-common/_itowa.c (_itowa): Likewise.
756 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
757 * stdlib/mod_1.c (mpn_mod_1): Likewise.
758
30f69637
CD
7592012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
760
761 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
762 struct La_sh_regs is not constant.
763 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
764 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
765 and struct La_sparc64_regs are not constant.
766
93a78ac4
JM
7672012-08-16 Joseph Myers <joseph@codesourcery.com>
768
769 * sysdeps/unix/sysv/linux/kernel-features.h
770 (__ASSUME_POSIX_TIMERS): Remove.
771 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
772 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
773 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
774 Make code unconditional.
775 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
776 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
777 Make code unconditional.
778 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
779 * sysdeps/unix/sysv/linux/clock_nanosleep.c
780 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
781 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
782 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
783 Make code unconditional.
784 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
785 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
786 (__libc_missing_posix_timers): Remove.
787
dd924cd7
RM
7882012-08-15 Roland McGrath <roland@hack.frob.com>
789
4b4f2771
RM
790 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
791 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
792
601c888b
RM
793 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
794
176790a7
RM
795 * elf/dl-sym.c: Include <stdlib.h>.
796
329bc018
RM
797 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
798 constants, which avoids warnings in 32-bit builds.
799
e04e272d
RM
800 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
801 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
802
952bf94a
RM
803 * misc/lseek.c: File moved to ...
804 * io/lseek.c: ... here.
805
7c99b50a
RM
806 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
807
dd924cd7
RM
808 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
809 shifting LEN more than 31 bits at once.
810
b3f479a8
LD
8112012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
812
813 [BZ #14195]
8c4ae0d4
RM
814 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
815 segmentation fault for a case of two empty input strings.
b3f479a8
LD
816 * string/test-strncasecmp.c (check1): Renamed to...
817 (bz12205): ...this.
818 (bz14195): Add new testcase for two empty input strings and N > 0.
819 (test_main): Call new testcase, adapt for renamed function.
820
9c55864e
AJ
8212012-08-15 Andreas Jaeger <aj@suse.de>
822
823 [BZ #14090]
824 * crypt/md5test2.c: New test, based on test supplied by Serge
825 Belyshev <belyshev@depni.sinp.msu.ru>.
826 * crypt/Makefile (xtests): Add md5test-giant..
827 * crypt/Makefile ($(objpfx)md5test-giant): Add.
828
02dcb6c5
PE
8292012-08-15 Paul Eggert <eggert@cs.ucla.edu>
830
831 [BZ #14090]
832 * crypt/md5.c (md5_process_block): Don't assume the buffer
833 length is less than 2**32.
834 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
835 length is less than 2**64.
836
a3f95dcc
RM
8372012-08-15 Roland McGrath <roland@hack.frob.com>
838
be75d758
RM
839 * string/str-two-way.h: Include <sys/param.h>.
840 (MAX): Macro removed.
841
7312ca90
RM
842 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
843 Move #define and #undef of memmove to just before and after
844 including <string.h>.
845
9a0a5486
RM
846 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
847 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
848 and after including <string.h>. Move declarations of
849 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
850 to before #include "string/memmove.c".
851
67cc348d
RM
852 * include/dirent.h: Declare __getdirentries.
853
a3f95dcc
RM
854 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
855 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
856
ca98e171
MF
8572012-08-14 Mike Frysinger <vapier@gentoo.org>
858
859 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
860 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
861 * sysdeps/i386/configure: Regenerated.
862 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
863 STABS_CURRENT_FILE, and STABS_FUN.
864 (END): Remove call to STABS_FUN_END.
865 (STABS_CURRENT_FILE1): Delete.
866 (STABS_CURRENT_FILE): Likewise.
867 (STABS_FUN): Likewise.
868 (STABS_FUN_END): Likewise.
869 (STABS_FUN2): Likewise.
870 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
871 * sysdeps/x86_64/configure: Regenerated.
872
5908bf46
RM
8732012-08-14 Roland McGrath <roland@hack.frob.com>
874
875 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 876 * elf/dl-lookup.c: Likewise.
5908bf46 877
f2c05b9e
JM
8782012-08-14 Joseph Myers <joseph@codesourcery.com>
879
880 * sysdeps/unix/sysv/linux/kernel-features.h
881 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
882 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
883 unconditionally.
884 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
885 unconditionally.
886 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
887 condition on __ASSUME_CLONE_THREAD_FLAGS.
888
e11f5155
AJ
8892012-08-14 Andreas Jaeger <aj@suse.de>
890
891 * sysdeps/i386/fpu/libm-test-ulps: Update.
892
51a9ba86
MK
8932012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
894
2fdd4f78
AJ
895 * include/atomic.h (atomic_exchange_and_add): Split into ...
896 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
897 New atomic macros.
51a9ba86 898
ba6cba9e
MT
8992012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
900
901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
902
42443a47
JL
9032012-08-13 Jeff Law <law@redhat.com>
904
905 * manual/stdio.texi (snprintf): Clarify handling of the trailing
906 null byte in the output string.
907
121dce05
JM
9082012-08-10 Joseph Myers <joseph@codesourcery.com>
909
910 * sysdeps/unix/sysv/linux/kernel-features.h
911 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
912 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
913 (__ASSUME_ARG_MAX_STACK_BASED): Define.
914 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
915 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
916 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
917 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
918
bf51f568
JL
9192012-08-09 Jeff Law <law@redhat.com>
920
921 [BZ #13939]
922 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
923 When avoid_arena is set, don't retry in the that arena. Pick the
924 next one, whatever it might be.
925 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
926 (arena_lock): Pass in new parameter to arena_get2.
927 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
928 arena_get2.
929 (__libc_malloc): Unify retrying after main arena failure with
930 __libc_memalign version.
931 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
932
f85fa270
L
9332012-08-09 H.J. Lu <hongjiu.lu@intel.com>
934
935 [BZ #14166]
936 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
937 to __redirect_strstr.
938 (__strstr_sse42): Use typeof __redirect_strstr.
939 (__strstr_ia32): Likewise.
940 (__libc_strstr): New prototype.
941 (strstr): Renamed to ...
942 (__libc_strstr): This.
943 (strstr): New strong alias of __libc_strstr.
944 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
945 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
946 __redirect_time.
947 Include <time.h>.
948 (__libc_time): New prototype.
949 (time_ifunc): Replace time with __libc_time.
950 (time): New strong alias and hidden definition of __libc_time.
951 (__GI_time): Remove strong alias.
952 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
953 Include <stddef.h>.
954 (memmove): Redefined to __redirect_memmove.
955 (__memmove_sse2): Use typeof __redirect_memmove.
956 (__memmove_ssse3): Likewise.
957 (__memmove_ssse3_back): Likewise.
958 (__libc_memmove): New prototype.
959 (memmove): Renamed to ...
960 (__libc_memmove): This.
961 (memmove): New strong alias of __libc_memmove.
962
33b4a91e
MS
9632012-08-08 Mark Salter <msalter@redhat.com>
964
965 * elf/elf.h
966 (R_MN10300_TLS_GD): Define.
967 (R_MN10300_TLS_LD): Likewise.
968 (R_MN10300_TLS_LDO): Likewise.
969 (R_MN10300_TLS_GOTIE): Likewise.
970 (R_MN10300_TLS_IE): Likewise.
971 (R_MN10300_TLS_LE): Likewise.
972 (R_MN10300_TLS_DTPMOD): Likewise.
973 (R_MN10300_TLS_DTPOFF): Likewise.
974 (R_MN10300_TLS_TPOFF): Likewise.
975 (R_MN10300_SYM_DIFF): Likewise.
976 (R_MN10300_ALIGN): Likewise.
977 (R_MN10300_NUM): Update.
978
b36137f1
JM
9792012-08-08 Joseph Myers <joseph@codesourcery.com>
980
981 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
982 Remove.
983
cdd915fd
RM
9842012-08-08 Roland McGrath <roland@hack.frob.com>
985
a2433aac
RM
986 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
987
cdd915fd
RM
988 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
989 sysdeps/unix -> sysdeps/posix move.
990 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
991
bf9b740a
AM
9922012-08-07 Allan McRae <allan@archlinux.org>
993
994 [BZ #14303]
995 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
996 (SUNOS_CPP): Likewise.
997 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
998 not found.
999 (open_input): Call CPP using execvp.
1000
93df14ee
JM
10012012-08-07 Joseph Myers <joseph@codesourcery.com>
1002
1003 * sysdeps/unix/sysv/linux/kernel-features.h
1004 (__ASSUME_PROT_GROWSUPDOWN): Remove.
1005 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1006 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1007 (__ASSUME_WAITID_SYSCALL): Likewise.
1008 * sysdeps/unix/sysv/linux/dl-execstack.c
1009 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
1010 code unconditional.
1011 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
1012 conditional code.
1013 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
1014 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
1015 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
1016 code.
1017 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
1018 unconditional.
1019 [__ASSUME_WAITID_SYSCALL]: Likewise.
1020 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
1021
d34689de
RM
10222012-08-07 Roland McGrath <roland@hack.frob.com>
1023
a281decc
RM
1024 * sysdeps/unix/closedir.c: Renamed to ...
1025 * sysdeps/posix/closedir.c: ... here.
1026 * sysdeps/unix/dirfd.c: Renamed to ...
1027 * sysdeps/posix/dirfd.c: ... here.
1028 * sysdeps/unix/dirstream.h: Renamed to ...
1029 * sysdeps/posix/dirstream.h: ... here.
1030 * sysdeps/unix/fdopendir.c: Renamed to ...
1031 * sysdeps/posix/fdopendir.c: ... here.
1032 * sysdeps/unix/opendir.c: Renamed to ...
1033 * sysdeps/posix/opendir.c: ... here.
1034 * sysdeps/unix/readdir.c: Renamed to ...
1035 * sysdeps/posix/readdir.c: ... here.
1036 * sysdeps/unix/readdir_r.c: Renamed to ...
1037 * sysdeps/posix/readdir_r.c: ... here.
1038 * sysdeps/unix/rewinddir.c: Renamed to ...
1039 * sysdeps/posix/rewinddir.c: ... here.
1040 * sysdeps/unix/seekdir.c: Renamed to ...
1041 * sysdeps/posix/seekdir.c: ... here.
1042 * sysdeps/unix/telldir.c: Renamed to ...
1043 * sysdeps/posix/telldir.c: ... here.
1044 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
1045 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1046 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
1047 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1048
22895b47
RM
1049 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
1050 * bits/fcntl.h: ... here.
1051
707a53b6
RM
1052 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
1053 not 0.
1054 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
1055 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
1056 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
1057 (struct flock): Move l_start, l_len to the beginning.
1058 Use __pid_t for l_pid.
1059 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
1060 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
1061 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
1062 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
1063 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
1064 [__USE_LARGEFILE64] (struct flock64): New type.
1065 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
1066
f0bd3e25
RM
1067 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
1068 * bits/dirent.h: ... here.
1069
d34689de
RM
1070 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
1071 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
1072
6dad2c06
JM
10732012-08-07 Joseph Myers <joseph@codesourcery.com>
1074
1075 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1076 Change from 2.6.0 to 2.6.16.
1077 * sysdeps/unix/sysv/linux/configure: Regenerated.
1078 * sysdeps/unix/sysv/linux/kernel-features.h
1079 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
1080 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
1081 version.
1082 (__ASSUME_UTIMES): Likewise.
1083 (__ASSUME_CLONE_STOPPED): Remove.
1084 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
1085 architectures, not kernel version.
1086 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
1087 (__ASSUME_NO_CLONE_DETACHED): Likewise.
1088 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
1089 (__ASSUME_WAITID_SYSCALL): Likewise.
1090 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
1091 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
1092 * README: State 2.6.16 as minimum Linux kernel version. Do not
1093 refer to older versions.
1094
03af9520
RM
10952012-08-06 Roland McGrath <roland@hack.frob.com>
1096
8e49df1d
RM
1097 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
1098 Define alphasort64 as an alias.
1099 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
1100 Define versionsort64 as an alias.
1101 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
1102 Define scandir64 as an alias.
1103 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
1104 Define scandirat64 as an alias.
1105 * dirent/alphasort64.c (alphasort64):
1106 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
1107 * dirent/versionsort64.c: Likewise.
1108 * dirent/scandir64.c: Likewise.
1109 * dirent/scandirat64.c: Likewise.
1110 * sysdeps/wordsize-64/alphasort.c: File removed.
1111 * sysdeps/wordsize-64/alphasort64.c: File removed.
1112 * sysdeps/wordsize-64/scandir.c: File removed.
1113 * sysdeps/wordsize-64/scandir64.c: File removed.
1114 * sysdeps/wordsize-64/scandirat.c: File removed.
1115 * sysdeps/wordsize-64/scandirat64.c: File removed.
1116 * sysdeps/wordsize-64/versionsort.c: File removed.
1117 * sysdeps/wordsize-64/versionsort64.c: File removed.
1118 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
1119 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1120 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1121 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1122 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1123 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1124 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1125 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1126
1127 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1128 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1129 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1130 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1131 [defined __arch64__ || defined __sparcv9]
1132 (__INO_T_MATCHES_INO64_T): New macro.
1133 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1134 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1135 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1136 * sysdeps/unix/sysv/linux/bits/dirent.h
1137 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1138 (_DIRENT_MATCHES_DIRENT64): New macro.
1139
03af9520
RM
1140 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1141 Define lockf64 as an alias.
1142 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1143 Define fseeko64 as an alias.
1144 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1145 Define ftello64 as an alias.
1146 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1147 Define _IO_fgetpos64 and fgetpos64 as aliases.
1148 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1149 Define _IO_fsetpos64 and fsetpos64 as aliases.
1150 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1151 Conditionalize body on this.
1152 * libio/fseeko64.c: Likewise.
1153 * libio/ftello64.c: Likewise.
1154 * libio/iofgetpos64.c: Likewise.
1155 * libio/iofsetpos64.c: Likewise.
1156 * sysdeps/wordsize-64/lockf.c: File removed.
1157 * sysdeps/wordsize-64/lockf64.c: File removed.
1158 * sysdeps/wordsize-64/fseeko.c: File removed.
1159 * sysdeps/wordsize-64/fseeko64.c: File removed.
1160 * sysdeps/wordsize-64/ftello.c: File removed.
1161 * sysdeps/wordsize-64/ftello64.c: File removed.
1162 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1163 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1164 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1165 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1166 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1167 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1168 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1169 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1170 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1171 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1172 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1173 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1174 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1175 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1176
1177 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1178 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1179 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1181 [defined __arch64__ || defined __sparcv9]
1182 (__OFF_T_MATCHES_OFF64_T): New macro.
1183 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1184 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1186 (__OFF_T_MATCHES_OFF64_T): New macro.
1187
c5757acd
L
11882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1189
1190 * stdlib/secure-getenv.c (__secure_getenv): Replace
1191 GLIBC_2_16 with GLIBC_2_17.
1192
3a31811e
L
11932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1196 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1197
faa2bccb
DM
11982012-08-03 David S. Miller <davem@davemloft.net>
1199
1200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1201
85fe1997
JM
12022012-08-03 Joseph Myers <joseph@codesourcery.com>
1203
1204 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1205 Remove.
1206 (__ASSUME_CORRECT_SI_PID): Likewise.
1207 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1208 (__ASSUME_TMPFS_NAME): Likewise.
1209 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1210 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1211 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1212 (HAVE_AUX_SECURE): Make definition unconditional.
1213 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1214 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1215
4f75b7a0
RM
12162012-08-03 Roland McGrath <roland@hack.frob.com>
1217
1218 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1219 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1220 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1221 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1222 __eloop_threshold instead of SYMLOOP_MAX.
1223
1224 * sysdeps/generic/eloop-threshold.h: New file.
1225 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1226 of MAXSYMLINKS.
1227 * elf/chroot_canon.c (chroot_canon): Likewise.
1228
7aab07e4
JM
12292012-08-03 Joseph Myers <joseph@codesourcery.com>
1230
1231 [BZ #13717]
1232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1233 Change to 2.6.0 everywhere.
1234 * sysdeps/unix/sysv/linux/configure: Regenerated.
1235 * sysdeps/unix/sysv/linux/kernel-features.h
1236 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1237 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1238 kernel versions.
1239 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1240 (__ASSUME_FUTEX_REQUEUE): Remove.
1241 (__ASSUME_STATFS64): Define unconditionally.
1242 (__ASSUME_AT_SECURE): Likewise.
1243 (__ASSUME_CORRECT_SI_PID): Likewise.
1244 (__ASSUME_TGKILL): Define without depending on kernel version for
1245 i386.
1246 (__ASSUME_UTIMES): Likewise.
1247 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1248 kernel version.
1249 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1250 (__ASSUME_TMPFS_NAME): Likewise.
1251 * README: Update reference to Linux kernel versions.
1252
b67e9372
MP
12532012-08-02 Marek Polacek <polacek@redhat.com>
1254
1f529f7d 1255 [BZ# 14150]
b67e9372
MP
1256 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1257 libc_cv_asm_type_prefix with %.
1258 * configure: Regenerated.
d2441631
RM
1259 * include/libc-symbols.h: Remove comment about
1260 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
1261 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1262 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1263 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1264 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1265 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1266 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1267 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1268 * elf/tst-unique2mod1.c: Likewise.
1269 * elf/tst-unique1mod2.c: Likewise.
1270 * elf/tst-unique1mod1.c: Likewise.
1271 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1272 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1273 Replace ASM_TYPE_DIRECTIVE with .type.
1274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1275 * sysdeps/i386/sysdep.h: Likewise.
1276 * sysdeps/x86_64/sysdep.h: Likewise.
1277 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1279 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 1280 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
1281 * sysdeps/powerpc/powerpc32/sysdep.h:
1282 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
1283 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1284 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1285 * sysdeps/i386/fpu/e_powf.S: Likewise.
1286 * sysdeps/i386/fpu/e_expl.S: Likewise.
1287 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1288 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1289 * sysdeps/i386/fpu/e_pow.S: Likewise.
1290 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1291 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1292 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1293 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1294 * sysdeps/i386/fpu/e_log2.S: Likewise.
1295 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1296 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1297 * sysdeps/i386/fpu/e_powl.S: Likewise.
1298 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1299 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1300 * sysdeps/i386/fpu/e_logl.S: Likewise.
1301 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1302 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1303 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1304 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1305 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1306 * sysdeps/i386/fpu/e_log.S: Likewise.
1307 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1308 * sysdeps/i386/fpu/e_logf.S: Likewise.
1309 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1310 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1311 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1312 * sysdeps/i386/fpu/e_log10.S: Likewise.
1313 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1314 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1315 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1316 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1317 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1318 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1319 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1320 * sysdeps/i386/i686/strtok.S: Likewise.
1321 * sysdeps/i386/i386-mcount.S: Likewise.
1322 * sysdeps/i386/strtok.S: Likewise.
1323 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1324 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1325 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1326 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1327 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1328 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1329 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1330 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1331 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1332 * sysdeps/x86_64/_mcount.S: Likewise.
1333 * sysdeps/x86_64/strtok.S: Likewise.
1334 * sysdeps/sh/_mcount.S: Likewise.
1335
2747bf9a
RM
13362012-08-01 Roland McGrath <roland@hack.frob.com>
1337
1338 * libio/iofopen.c: Include <fcntl.h>.
1339 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1340 (_IO_fopen64, fopen64): Define as aliases.
1341 * libio/iofopen64.c: Include <fcntl.h>.
1342 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1343 Conditionalize body on this.
1344 * sysdeps/wordsize-64/iofopen.c: File removed.
1345 * sysdeps/wordsize-64/iofopen64.c: File removed.
1346
3fb791b8
MP
13472012-08-01 Marek Polacek <polacek@redhat.com>
1348
1349 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1350 Use dlfcn directly instead of a variable.
1351 (binfmt-subdir): Do not define.
1352 (dlfcn): Likewise.
1353
a9f1039f
JM
13542012-08-01 Joseph Myers <joseph@codesourcery.com>
1355
23bddc06
JM
1356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1357 Remove all definitions.
1358 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1359 <kernel-features.h>.
1360 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1361 (miss_F_GETOWN_EX): Remove all definitions.
1362 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1363 macro definition.
1364 [!__ASSUME_FCNTL64]: Remove conditional code.
1365 [__ASSUME_FCNTL64]: Make code unconditional.
1366 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1367 <kernel-features.h>.
1368 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1369 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1370 (lockf64) [__NR_fcntl64]: Make code unconditional.
1371 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1372
a9f1039f
JM
1373 * sysdeps/unix/sysv/linux/kernel-features.h
1374 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1375 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1376 Make code unconditional.
1377 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1378 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1380 [__NR_vfork]: Make code unconditional.
1381 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1382 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1384 [__NR_vfork]: Make code unconditional.
1385 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1386 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1387
09c0ee5f
RM
13882012-08-01 Roland McGrath <roland@hack.frob.com>
1389
48aec5b9
RM
1390 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1391 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1392
cd97c966
RM
1393 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1394 Define mkstemp64 as an alias.
3f55550c
RM
1395 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1396 Define mkstemps64 as an alias.
cd97c966
RM
1397 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1398 Define mkostemp64 as an alias.
b8625cfc
RM
1399 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1400 Define mkostemps64 as an alias.
cd97c966
RM
1401 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1402 Conditionalize body on this.
1403 * misc/mkostemp64.c: Likewise.
b8625cfc 1404 * misc/mkostemps64.c: Likewise.
3f55550c 1405 * misc/mkstemps64.c: Likewise.
cd97c966
RM
1406 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1407 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1408 * sysdeps/wordsize-64/mkostemp.c: File removed.
1409 * sysdeps/wordsize-64/mkstemp.c: File removed.
1410 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1411 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1413 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1414
09c0ee5f
RM
1415 [BZ #14138]
1416 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1417 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1418 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1419 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1420
1421 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1422 compat_symbol macros from <shlib-compat.h> rather than the underlying
1423 default_symbol_version and symbol_version macros, so that DEFAULT
1424 lines in shlib-versions are respected.
1425 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1426
7e66ee51
FW
14272012-08-01 Florian Weimer <fweimer@redhat.com>
1428
1429 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1430 Declare with warn_unused_result.
1431 (setgid, setregid, setegid, setresgid): Likewise.
1432 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1433 Likewise.
1434 * WUR-REPORT: Remove set*id functions.
1435
d2a54255
PT
14362012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1437
1438 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1439
7ecdb005
RM
14402012-07-31 Roland McGrath <roland@hack.frob.com>
1441
789bd351
RM
1442 * include/sys/socket.h (__libc_accept, __libc_accept4):
1443 Add attribute_hidden.
1444 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1445
40ce302d
RM
1446 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1447 use of PTR_MANGLE.
1448 * inet/getnetgrent_r.c (setup): Likewise.
1449
7ecdb005
RM
1450 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1451
e2eabb2c
DM
14522012-07-31 David S. Miller <davem@davemloft.net>
1453
1454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1455
d0419dbf
JM
14562012-07-31 Joseph Myers <joseph@codesourcery.com>
1457
1458 [BZ #13629]
1459 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1460 value between 1.0 and 2.0 and smaller part has absolute value less
1461 than 1.0.
1462 * math/s_clog10.c (__clog10): Likewise.
1463 * math/s_clog10f.c (__clog10f): Likewise.
1464 * math/s_clog10l.c (__clog10l): Likewise.
1465 * math/s_clogf.c (__clogf): Likewise.
1466 * math/s_clogl.c (__clogl): Likewise.
1467 * math/libm-test.inc (clog_test): Add more tests.
1468 (clog10_test): Likewise.
1469 * sysdeps/i386/fpu/libm-test-ulps: Update.
1470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1471
2bc13872
FW
14722012-07-31 Florian Weimer <fweimer@redhat.com>
1473
1474 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1475 Exit with zero in case no suitable GID is found, and write a
1476 message to standard error.
1477
bea9b193
RM
14782012-07-30 Roland McGrath <roland@hack.frob.com>
1479
1480 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1481 rather than to 1.
1482 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1483 (MAXPATHLEN): Removed.
1484 (NOGROUP, NODEV): New macros.
1485 (setbit, clrbit, isset, isclr): New macros.
1486 (howmany, roundup, powerof2): New macros.
1487 (DEV_BSIZE): New macro.
1488
1489 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1490 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1491
1492 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1493 definition on [!__NO_LONG_DOUBLE_MATH].
1494
1495 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1496 PTR_MANGLE and PTR_DEMANGLE.
1497
1498 * socket/accept4.c (accept4): Rename to __libc_accept4.
1499 Define accept4 as a weak alias.
1500
1501 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1502 on [_DIRENT_HAVE_D_TYPE].
1503 * io/ftw.c (ftw_dir): Likewise.
1504
1505 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1506
1507 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1508
1509 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1510 Use the BSD numbers rather than the arbitrary ones we had.
1511 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1512 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1513 (SIGXCPU, SIGXFSZ): New macros.
1514 (_NSIG): Now 32.
1515
1516 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1517 initializer on [_LIBC_REENTRANT].
1518
1519 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1520 definitions inside [_POSIX_MAPPED_FILES].
1521
1522 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1523
1524 * dirent/opendir.c: Include <fcntl.h>.
1525
1526 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1527 (__libc_getspecific): Likewise.
1528 (__libc_key_create): Likewise.
1529
1530 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1531 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1532 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1533 (tmpfile64): Define as alias.
1534 * sysdeps/wordsize-64/tmpfile.c: File removed.
1535 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1537 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1538
1539 * stdio-common/vfscanf.c: Include <stdbool.h>.
1540 * nss/makedb.c: Likewise.
1541 * stdio-common/_i18n_number.h: Likewise.
1542 * argp/argp-help.c: Likewise.
1543 * posix/wordexp.c: Likewise.
1544 * sysdeps/posix/spawni.c: Likewise.
1545 * nss/nss_files/files-initgroups.c: Likewise.
1546 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1547 * nss/nss_files/files-initgroups.c: Likewise.
1548 * nss/nss_db/db-netgrp.c: Likewise.
1549 * nss/nss_db/db-initgroups.c: Likewise.
1550 * io/fchmodat.c: Include <sys/stat.h>.
1551
1552 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1553 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1554
1555 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1556 [HAVE_MMAP].
1557
1558 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1559 Add multiple inclusion protection.
1560
e5abc686
DM
15612012-07-27 David S. Miller <davem@davemloft.net>
1562
1563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1564
815e6fa3
GB
15652012-07-27 Gary Benson <gbenson@redhat.com>
1566
1567 [BZ #14298]
1568 * elf/rtld.c: Include <stap-probe.h>.
1569 (dl_main): Added static probes "init_start" and "init_complete".
1570 * elf/dl-load.c: Include <stap-probe.h>.
1571 (lose): Take new parameter "nsid".
1572 Added static probe "map_failed".
1573 (_dl_map_object_from_fd): Pass namespace id to lose.
1574 Added static probe "map_start".
1575 (open_verify): Pass namespace id to lose.
1576 * elf/dl-open.c: Include <stap-probe.h>.
1577 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1578 and "reloc_complete".
1579 * elf/dl-close.c: Include <stap-probe.h>.
1580 (_dl_close_worker): Added static probes "unmap_start" and
1581 "unmap_complete".
1582 * elf/rtld-debugger-interface.txt: New file documenting the above.
1583
9f98c16c
RM
15842012-07-26 Roland McGrath <roland@hack.frob.com>
1585
1586 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1587 rather than a string variable.
1588 * sunrpc/rpc_main.c (h_output): Likewise.
1589 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1590
f3c22df3
PT
15912012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1592
1593 * inet/check_native.c: New file.
1594
3129cfc6
JM
15952012-07-26 Joseph Myers <joseph@codesourcery.com>
1596
da865e95
JM
1597 [BZ #13629]
1598 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1599 if larger part has absolute value 1.0.
1600 * math/s_clog10.c (__clog10): Likewise.
1601 * math/s_clog10f.c (__clog10f): Likewise.
1602 * math/s_clog10l.c (__clog10l): Likewise.
1603 * math/s_clogf.c (__clogf): Likewise.
1604 * math/s_clogl.c (__clogl): Likewise.
1605 * math/libm-test.inc (clog_test): Add more tests.
1606 (clog10_test): Likewise.
1607 * sysdeps/i386/fpu/libm-test-ulps: Update.
1608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1609
3129cfc6
JM
1610 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1611 (pltexit): Likewise.
1612 (La_regs): Likewise.
1613 (La_retval): Likewise.
1614 (int_retval): Likewise.
1615 Update #error for removed macros to refer only to definitions in
1616 tst-audit.h.
1617 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1618 macro.
1619 (pltexit): Likewise.
1620 (La_regs): Likewise.
1621 (La_retval): Likewise.
1622 (int_retval): Likewise.
1623 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1624 macro.
1625 (pltexit): Likewise.
1626 (La_regs): Likewise.
1627 (La_retval): Likewise.
1628 (int_retval): Likewise.
1629 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1630 macro.
1631 (pltexit): Likewise.
1632 (La_regs): Likewise.
1633 (La_retval): Likewise.
1634 (int_retval): Likewise.
1635 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1636 macro.
1637 (pltexit): Likewise.
1638 (La_regs): Likewise.
1639 (La_retval): Likewise.
1640 (int_retval): Likewise.
1641 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1642 macro.
1643 (pltexit): Likewise.
1644 (La_regs): Likewise.
1645 (La_retval): Likewise.
1646 (int_retval): Likewise.
1647 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1648 macro.
1649 (pltexit): Likewise.
1650 (La_regs): Likewise.
1651 (La_retval): Likewise.
1652 (int_retval): Likewise.
1653 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1654 macro definitions in tst-audit.h.
1655 * sysdeps/i386/tst-audit.h: New file.
1656 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1657 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1658 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1659 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1660 * sysdeps/sh/tst-audit.h: Likewise.
1661 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1662 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1663 * sysdeps/x86_64/tst-audit.h: Likewise.
1664
bfc07087
AJ
16652012-07-26 Andreas Jaeger <aj@suse.de>
1666
b1b2aaf8
AJ
1667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1668 ptrace.
1669
1670 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1671 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1672 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1673 PTRACE_O_MASK.
1674 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1675 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1677
bfc07087
AJ
1678 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1679 value.
1680
1681 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1682 _sigsys.
1683 (si_call_addr, si_syscall, si_arch): Define new macro.
1684 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1685 _sigsys.
1686 (si_call_addr, si_syscall, si_arch): Define new marcro.
1687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1688 _sigsys.
1689 (si_call_addr, si_syscall, si_arch): Define new macro.
1690 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1691 _sigsys.
1692 (si_call_addr, si_syscall, si_arch): Define new macro.
1693
89b4b02f
JM
16942012-07-25 Joseph Myers <joseph@codesourcery.com>
1695
1696 [BZ #13717]
1697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1698 Change to 2.4.21 where previously 2.4.1.
1699 * sysdeps/unix/sysv/linux/configure: Regenerated.
1700 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1701 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1702 Linux kernel version.
1703 (__ASSUME_STD_AUXV): Remove.
1704 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1705 kernel version.
1706 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1707 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1708 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1709 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1710 (__ASSUME_NETLINK_SUPPORT): Likewise.
1711 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1712 (__no_netlink_support): Remove conditional definition.
1713 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1714 Remove.
1715 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1716 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1717 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1718 (if_nameindex_ioctl): Remove.
1719 (if_nameindex_netlink): Do not handle __no_netlink_support.
1720 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1721 code.
1722 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1723 Remove conditional code.
1724 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1725 code.
1726 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1727 unconditional.
1728 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1729 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1730 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1731 Remove.
1732 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1733 [!__ASSUME_STD_AUXV]: Remove conditional code.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1735 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1736 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1738 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1739 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1740 code.
1741 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1743 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1744 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1745 conditional code.
1746 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1748 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1749 code.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1751 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1752 conditional code.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1754 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1755 code unconditional.
1756 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1757 conditional code.
1758 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1759 unconditional.
1760 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1761 conditional code.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1763 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1764 unconditional.
1765 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1766 conditional code.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1768 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1769 code unconditional.
1770 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1771 conditional code.
1772 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1773 unconditional.
1774 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1775 conditional code.
1776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1777 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1778 code unconditional.
1779 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1780 conditional code.
1781 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1782 unconditional.
1783 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1784 conditional code.
1785
842a39cd
AS
17862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1787
1788 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1789 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1790 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1791 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1792 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1793 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1794 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1795 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1796 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1797 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1798 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1799 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1800 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1801 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1802 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1803 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1804 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1805 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1806 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1808 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1809 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1810 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1811
84b3fd84
FW
18122012-07-25 Florian Weimer <fweimer@redhat.com>
1813
1814 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
1815 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1816 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1817 Introduce __libc_secure_getenv.
0c7936d5
FW
1818 * stdlib/Versions (2.17): Add secure_getenv
1819 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1820 * stdlib/secure-getenv.c: Rename __secure_getenv to
1821 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1822 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
1823 * stdlib/tst-secure-getenv.c: New.
1824 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
1825 * manual/startup.texi (Environment Access): Document
1826 secure_getenv.
84b3fd84
FW
1827 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1828 __libc_secure_getenv.
1829 * inet/ruserpass.c (ruserpass): Likewise.
1830 * malloc/mtrace.c (mtrace): Likewise.
1831 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 1832 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
1833 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1834 * sysdeps/posix/tempname.c: Likewise. Evaluate
1835 HAVE_SECURE_GETENV.
1836 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 1837 __secure_getenv to __libc_secure_getenv.
84b3fd84 1838 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1840 Likewise.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1842 Likewise.
1843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 1850
56e49b71
JM
18512012-07-25 Joseph Myers <joseph@codesourcery.com>
1852
1853 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1854 (struct La_i86_retval): Likewise.
1855 (struct La_x86_64_regs): Likewise.
1856 (struct La_x86_64_retval): Likewise.
1857 (struct La_x32_regs): Likewise.
1858 (struct La_x32_retval): Likewise.
1859 (struct La_ppc32_regs): Likewise.
1860 (struct La_ppc32_retval): Likewise.
1861 (struct La_ppc64_regs): Likewise.
1862 (struct La_ppc64_retval): Likewise.
1863 (struct La_sh_regs): Likewise.
1864 (struct La_sh_retval): Likewise.
1865 (struct La_s390_32_regs): Likewise.
1866 (struct La_s390_32_retval): Likewise.
1867 (struct La_s390_64_regs): Likewise.
1868 (struct La_s390_64_retval): Likewise.
1869 (struct La_sparc32_regs): Likewise.
1870 (struct La_sparc32_retval): Likewise.
1871 (struct La_sparc64_regs): Likewise.
1872 (struct La_sparc64_retval): Likewise.
1873 (struct audit_ifaces): Remove architecture-specific pltenter and
1874 pltexit members.
1875 * sysdeps/i386/ldsodefs.h: New file.
1876 * sysdeps/powerpc/ldsodefs.h: Likewise.
1877 * sysdeps/s390/ldsodefs.h: Likewise.
1878 * sysdeps/sh/ldsodefs.h: Likewise.
1879 * sysdeps/sparc/ldsodefs.h: Likewise.
1880 * sysdeps/x86_64/ldsodefs.h: Likewise.
1881
354691b7
MP
18822012-07-25 Marek Polacek <polacek@redhat.com>
1883
1884 [BZ #6808]
1885 * math/libm-test.inc (yn_test): Add another test.
1886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1887 to ERANGE when the result is +-Inf.
1888 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1889 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1890 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1891 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1892
bf9e2071
JM
18932012-07-24 Joseph Myers <joseph@codesourcery.com>
1894
1895 * conform/data/time.h-data (NULL): Use macro-constant. Require
1896 equal to 0.
1897 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1898 clock_t.
1899 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1900
57633811
TS
19012012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1902
1903 * configure.in <sysdeps resolving>: Correct printing
1904 Implies_before.
1905 * configure: Regenerate.
1906
c23c33b0
TS
19072012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1908
1909 * math/w_ilogb.c: Include <limits.h>.
1910 * math/w_ilogbl.c: Likewise.
1911
b5982523
JM
19122012-07-20 Joseph Myers <joseph@codesourcery.com>
1913
1914 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1915 va_copy. Document allowing for unavailable va_copy only as
1916 pre-C99 compatibility.
1917 * manual/string.texi (Copying and Concatenation): Use va_copy
1918 instead of __va_copy in concat example.
1919
ac4ea442
PT
19202012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1921
1922 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1923 (__sendto): Use create_address_port. Initialize APORT and deallocate
1924 it if not null.
1925
f98eafbd
PT
1926 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1927 with O_NOLINK passed to __file_name_lookup.
1928
898c7aab
PT
1929 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1930 with O_NOLINK passed to __file_name_lookup.
1931
0ced335a
PT
1932 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1933 negative N or less than NGIDS.
1934
b3404dbd
PT
1935 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1936 type to string_t. Set ERANGE as errno and return it if NAME is not big
1937 enough. Use memcpy instead of strncpy.
1938
0f48659e
JM
19392012-07-20 Joseph Myers <joseph@codesourcery.com>
1940
1941 * elf/Makefile (check-data): Remove.
1942 (localplt.data): New vpath directive.
1943 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1944 instead of $(check-data).
1945 * scripts/data/localplt-generic.data: Move to ...
1946 * sysdeps/generic/localplt.data: ... here.
1947 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1948 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1949 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1951 ... here.
1952 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1954 ... here.
1955 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1957 ... here.
1958 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1960 ... here.
1961 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1963 ... here.
1964 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1966 ... here.
1967
d37cbdaa
AZ
19682012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1969
1970 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1971 PPC32 and PPC64 files.
1972 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1973 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1974
46f85fc2
AK
19752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1976
1977 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1978 __makecontext_ret to ...
1979 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1980 ... here and call exit if uc_link is NULL. New file.
1981 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1982 __makecontext_ret.S.
1983 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1984 __makecontext_ret to ...
1985 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1986 ... here and call exit if uc_link is NULL. New file.
1987 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1988 __makecontext_ret.S.
1989
08f43f9b
AK
19902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1991
1992 * elf/elf.h (R_390_IRELATIVE): New definition.
1993 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1994 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1995 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1996 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1997 (elf_machine_lazy_rel): Likewise.
1998 * sysdeps/s390/dl-irel.h: New file.
1999 * sysdeps/s390/s390-64/memcpy.S: New asm code.
2000 * sysdeps/s390/s390-64/memset.S: New asm code.
2001 * sysdeps/s390/s390-64/memcmp.S: New asm code.
2002 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
2003 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
2004 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
2005 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
2006 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
2007 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
2008 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
2009 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
2010 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
2011 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
2012 * sysdeps/s390/s390-32/memcpy.S: New asm code.
2013 * sysdeps/s390/s390-32/memset.S: New asm code.
2014 * sysdeps/s390/s390-32/memcmp.S: New asm code.
2015
3b05db33
MP
20162012-07-17 Marek Polacek <polacek@redhat.com>
2017
2018 [BZ #14349]
2019 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
2020 * sysdeps/s390/s390-64/configure.in: Likewise.
2021 * sysdeps/sparc/configure.in: Likewise.
2022 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
2023 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
2024 * sysdeps/i386/configure.in: Likewise.
2025 * sysdeps/x86_64/configure.in: Likewise.
2026 * sysdeps/sh/configure.in: Likewise.
2027 * sysdeps/s390/s390-32/configure: Regenerated.
2028 * sysdeps/s390/s390-64/configure: Likewise.
2029 * sysdeps/x86_64/configure: Likewise.
2030 * sysdeps/sh/configure: Likewise.
2031 * sysdeps/powerpc/powerpc64/configure: Likewise.
2032 * sysdeps/powerpc/powerpc32/configure: Likewise.
2033 * sysdeps/sparc/configure: Likwise.
2034 * sysdeps/i386/configure: Likewise.
2035
a66877c6
MP
2036 * elf/dl-open.c: Comment fixes.
2037
cfc82fd8
JM
20382012-07-17 Joseph Myers <joseph@codesourcery.com>
2039
bd29910a
JM
2040 * Makefile [CXX] (check-data): Remove.
2041 [CXX] (c++-types.data): New vpath directive.
2042 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
2043 vpath. Do not allow for C++ type data being missing.
2044 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
2045 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
2046 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
2047 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
2048 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
2049 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
2050 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2052 ... here.
2053 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2055 ... here.
2056 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
2057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
2058 ... here.
2059 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
2060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
2061 ... here.
2062 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
2063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
2064 ... here.
2065 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
2067 ... here.
2068 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
2069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
2070 ... here.
2071 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
2072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
2073
cfc82fd8
JM
2074 * elf/tls-macros.h (TLS_LE): Move architecture-specific
2075 definitions to architecture-specific files.
2076 (TLS_IE): Likewise.
2077 (TLS_LD): Likewise.
2078 (TLS_GD): Likewise.
2079 * sysdeps/i386/tls-macros.h: New file.
2080 * sysdeps/powerpc/tls-macros.h: Likewise.
2081 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
2082 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
2083 * sysdeps/sh/tls-macros.h: Likewise.
2084 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
2085 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
2086 * sysdeps/x86_64/tls-macros.h: Likewise.
2087
f7db3170
TS
20882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2089
07cbfc23
TS
2090 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
2091 zero value for regular exit case.
2092
f7db3170
TS
2093 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2094 (__start_context): Preserve zero value for regular exit case.
2095
dc97c227
TS
20962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
2097 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2098
2099 * manual/setjmp.texi (setcontext): Clarify normal process
2100 termination when uc_link is the null pointer.
2101 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
2102 exit call.
2103
d0cd7d02
AS
21042012-07-16 Andreas Schwab <schwab@linux-m68k.org>
2105
2106 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
2107 preprocessor. Test for each exception mask separately.
2108
dd318934
AJ
21092012-07-16 Andreas Jaeger <aj@suse.de>
2110
2111 * po/ru.po: Update from translation team.
2112
8048311a
JM
21132012-07-15 Joseph Myers <joseph@codesourcery.com>
2114
2115 * conform/data/string.h-data (NULL): Use macro-constant. Require
2116 equal to 0.
2117 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2118 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2119 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2120 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2121 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2122
b637d46e
AJ
21232012-07-13 Andreas Jaeger <aj@suse.de>
2124
2125 * po/fr.po: Update from translation team.
2126
541428fe
MP
21272012-07-12 Marek Polacek <polacek@redhat.com>
2128
2129 [BZ #14173]
2130 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2131 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2132 loop condition.
2133
ec332e94
JM
21342012-07-12 Joseph Myers <joseph@codesourcery.com>
2135
2136 [BZ #13717]
2137 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2138 Change to 2.4.1 where previously 2.4.0.
2139 * sysdeps/unix/sysv/linux/configure: Regenerated.
2140 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2141 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2142 version.
2143 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2144 (__ASSUME_AT_CLKTCK): Remove.
2145 (__ASSUME_AT_PAGESIZE): Likewise.
2146 (__ASSUME_AT_XID): Likewise.
2147 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2148 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2149 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2150 unconditionally.
2151 (HAVE_AUX_PAGESIZE): Likewise.
2152 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2153 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2154 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2155
7b6e99be
JB
21562012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2157
2158 [BZ #14307]
2159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2160 the temporary buffer used to invoke __gethostbyname2_r,
2161 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2162 host_data / struct gaih_addrtuple.
2163 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2164 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2165 header file nss/nsswitch.h.
2166 * nss/nsswitch.h (global scope): Add definition of implementation
2167 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2168 resolv/nss_dns/dns-host.c).
2169
608404eb
AJ
21702012-07-11 Andreas Jaeger <aj@suse.de>
2171
2172 * po/fr.po: Update from translation team.
2173
71220aca
AJ
2174 * po/sv.po: Update from translation team
2175 * po/fr.po: Another update from translation team.
2176
28cfe843
AZ
21772012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2178
2179 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2180 for subnormals or multiply small sinh result by itself.
2181 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2183
6b90f981
DM
21842012-07-11 David S. Miller <davem@davemloft.net>
2185
2186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2187
c6825772
AS
21882012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2189
2190 [BZ #14347]
2191 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2192 (INTERNAL_MARK): Shift it here.
2193
7b8e0d49
MP
21942012-07-10 Marek Polacek <polacek@redhat.com>
2195
2196 [BZ #14151]
2197 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2198 libc_cv_asm_global_directive with .globl.
2199 * configure: Regenerated.
2200 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2201 with .globl.
2202 * sysdeps/i386/configure: Regenerated.
2203 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2204 with .globl.
2205 * sysdeps/x86_64/configure: Regenerated.
2206 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2207 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2208 * elf/tst-unique2mod2.c: Likewise.
2209 * elf/tst-unique2mod1.c: Likewise.
2210 * elf/tst-unique1mod2.c: Likewise.
2211 * elf/tst-unique1mod1.c: Likewise.
2212 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2213 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2215 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2216 * sysdeps/mach/sysdep.h: Likewise.
2217 * sysdeps/i386/sysdep.h: Likewise.
2218 * sysdeps/i386/i386-mcount.S: Likewise.
2219 * sysdeps/x86_64/_mcount.S: Likewise.
2220 * sysdeps/x86_64/sysdep.h: Likewise.
2221 * sysdeps/sh/_mcount.S: Likewise.
2222 * sysdeps/sh/sysdep.h: Likewise.
2223 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2224 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2225 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2226 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2227 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2228 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2229 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2230 * locale/localeinfo.h: Likewise.
2231 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2232 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2233
6c55cda3
RM
22342012-07-09 Roland McGrath <roland@hack.frob.com>
2235
2236 [BZ #14336]
2237 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2238 system".
2239 * manual/message.texi (The Uniforum approach): Likewise.
2240 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2241 (glibc iconv Implementation): Likewise.
2242
638a572e
JM
22432012-07-09 Joseph Myers <joseph@codesourcery.com>
2244
2245 [BZ #14337]
2246 * math/s_clog.c (__clog): Avoid scaling a value down where that
2247 could result in underflow.
2248 * math/s_clog10.c (__clog10): Likewise.
2249 * math/s_clog10f.c (__clog10f): Likewise.
2250 * math/s_clog10l.c (__clog10l): Likewise.
2251 * math/s_clogf.c (__clogf): Likewise.
2252 * math/s_clogl.c (__clogl): Likewise.
2253 * math/libm-test.inc (clog_test): Add more tests.
2254 (clog10_test): Likewise.
2255 * sysdeps/i386/fpu/libm-test-ulps: Update.
2256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2257
261f4859
AS
22582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2259
0abaf3e4
AS
2260 [BZ #14283]
2261 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2262 by 7 not 8 to examine high bit of fractional part.
2263
261f4859
AS
2264 [BZ #14042]
2265 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2266 for call to __mcount_internal.
2267 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2268 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2269 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2270
f17ac40d
JM
22712012-07-06 Joseph Myers <joseph@codesourcery.com>
2272
9ad63c23
JM
2273 [BZ #14154]
2274 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2275 approximation for values within 0x1p-13f of an odd multiple of
2276 pi/4.
2277 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2278 exception. Add more tests.
2279 * sysdeps/i386/fpu/libm-test-ulps: Update.
2280
f17ac40d
JM
2281 [BZ #6778]
2282 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2283 inputs and return -1 for them. Do not check for +Inf in case not
2284 reachable for +Inf.
2285 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2286 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2287 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2288 and return -1 for them. Do not check for +Inf in case not
2289 reachable for +Inf.
2290 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2291 define.
2292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2293 and return -1 for them. Do not check for +Inf in case not
2294 reachable for +Inf.
2295 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2296 spurious underflow.
2297 * sysdeps/i386/fpu/libm-test-ulps: Update.
2298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2299
fb21f89b
MF
23002012-07-06 Mike Frysinger <vapier@gentoo.org>
2301
2302 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2303
cdfe2c5e
JM
23042012-07-05 Joseph Myers <joseph@codesourcery.com>
2305
2306 [BZ #14157]
2307 [BZ #14331]
2308 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2309 could result in spurious underflow. Scale down values above
2310 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2311 * math/s_csqrtf.c (__csqrtf): Likewise.
2312 * math/s_csqrtl.c (__csqrtl): Likewise.
2313 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2314 spurious underflow.
2315 * sysdeps/i386/fpu/libm-test-ulps: Update.
2316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2317
70d35b67
AS
23182012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2319
704bc459
AS
2320 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2321 xopen-msg.sed.
2322 * catgets/xopen-msg.awk: New file.
2323 * catgets/xopen-msg.sed: Removed.
2324
70d35b67
AS
2325 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2326 po2text.sed.
2327 * intl/po2test.awk: New file.
2328 * intl/po2test.sed: Removed.
2329
ca61cf32
JM
23302012-07-04 Joseph Myers <joseph@codesourcery.com>
2331
2332 [BZ #14328]
2333 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2334 or multiply small sinh result by itself.
2335 * math/s_ctanf.c (__ctanf): Likewise.
2336 * math/s_ctanh.c (__ctanh): Likewise.
2337 * math/s_ctanhf.c (__ctanhf): Likewise.
2338 * math/s_ctanhl.c (__ctanhl): Likewise.
2339 * math/s_ctanl.c (__ctanl): Likewise.
2340 * math/libm-test.inc (ctan_test_tonearest): New function.
2341 (ctan_test_towardzero): Likewise.
2342 (ctan_test_downward): Likewise.
2343 (ctan_test_upward): Likewise.
2344 (ctanh_test_tonearest): Likewise.
2345 (ctanh_test_towardzero): Likewise.
2346 (ctanh_test_downward): Likewise.
2347 (ctanh_test_upward): Likewise.
2348 (main): Call these new functions.
2349 * sysdeps/i386/fpu/libm-test-ulps: Update.
2350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2351
ca48a46a
MF
23522012-07-03 Mike Frysinger <vapier@gentoo.org>
2353
2354 * .gitignore: Delete /ports entry.
2355
9d63d37d
AJ
23562012-07-03 Andreas Jaeger <aj@suse.de>
2357
2358 * po/bg.po: Update from translation team.
2359 * po/cs.po: Likewise.
2360 * po/de.po: Likewise.
2361 * po/hr.po: Likewise.
2362 * po/nl.pl: Likewise.
2363 * po/pl.po: Likewise.
2364 * po/vi.po: Likewise.
2365
370ca3d2
JM
23662012-07-03 Joseph Myers <joseph@codesourcery.com>
2367
95f5a9a8
JM
2368 * Makeconfig [!+link] (+link-before-libc): New variable.
2369 [!+link] (+link-after-libc): Likewise.
2370 [!+link] (+link-tests): Likewise.
2371 [!+link] (+link): Define in terms of $(+link-before-libc) and
2372 $(+link-after-libc).
2373 [!+link-static] (+link-static-before-libc): New variable.
2374 [!+link-static] (+link-static-after-libc): Likewise.
2375 [!+link-static] (+link-static-tests): Likewise.
2376 [!+link-static] (+link-static): Define in terms of
2377 $(+link-static-before-libc) and $(+link-static-after-libc).
2378 [build-shared] (link-libc-before-gnulib): New variable.
2379 [build-shared] (link-libc-tests): Likewise.
2380 [build-shared] (link-libc): Define in terms of
2381 $(link-libc-before-gnulib).
2382 [!build-shared] (link-libc-tests): New variable.
2383 (link-libc-static-tests): New variable.
2384 [!gnulib] (gnulib-arch): New variable.
2385 [!gnulib] (gnulib-tests): Likewise.
2386 [!gnulib] (static-gnulib-arch): Likewise.
2387 [!gnulib] (static-gnulib-tests): Likewise.
2388 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2389 Define with "=" instead of ":=".
2390 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2391 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2392 * Rules (binaries-all-notests): New variable.
2393 (binaries-all-tests): Likewise.
2394 (binaries-static-notests): Likewise.
2395 (binaries-static-tests): Likewise.
2396 (binaries-all): Define using $(binaries-all-notests) and
2397 $(binaries-all-tests).
2398 (binaries-static): Define using $(binaries-static-notests) and
2399 $(binaries-static-tests).
2400 (binaries-shared-tests): New variable.
2401 (binaries-shared-notests): Likewise.
2402 (binaries-shared): Remove variable.
2403 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2404 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2405 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2406 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2407 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2408 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2409 * elf/Makefile (sln-modules): New variable.
2410 (extra-objs): Add $(sln-modules:=.o).
2411 (ldconfig-modules): Add static-stubs.
2412 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2413 * elf/static-stubs.c: New file.
2414
7a845b2c
JM
2415 [BZ #14283]
2416 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2417 by 7 not 8 to examine high bit of fractional part. Use volatile
2418 variables when splitting into final array of floats if
2419 __FLT_EVAL_METHOD__ != 0.
2420 * math/libm-test.inc (cos_test): Add another test.
2421 (sin_test): Likewise.
2422 * sysdeps/i386/fpu/libm-test-ulps: Update.
2423
e2283f38
JM
2424 [BZ #14273]
2425 * math/libm-test.inc (cosh_test): Add more tests.
2426
370ca3d2
JM
2427 * version.h (RELEASE): Set to "development".
2428 (VERSION): Set to "2.16.90".
2429
ee9247c3
CD
24302012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2431
2432 * NEWS: Update copyright. Remove last-updated date.
2433 Mention math library bug fixes and timezone data changes.
2434 * README: Mention GNU/Hurd, x32, and HPPA support status.
2435
4648c381
TS
24362012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2437
2438 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2439
aac78a43
AJ
24402012-06-27 Andreas Jaeger <aj@suse.de>
2441
2442 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2443
ed3dbfad
AJ
24442012-06-25 Andreas Jaeger <aj@suse.de>
2445
2446 * sysdeps/s390/fpu/libm-test-ulps: Update.
2447
4d0ee855
AS
24482012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2449 Thomas Schwinge <thomas@codesourcery.com>
2450
2451 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2452 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2453 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2454 fanotify_mark.
2455
af1bce34
TS
24562012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2457
a9fa33ba
TS
2458 * sysdeps/mach/start.c: Remove file.
2459 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2460 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2461 * sysdeps/sh/init-first.c: Likewise.
2462
58f902b8
TS
2463 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2464 registers for frame unwinding purposes, add CFI directives.
2465 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2466 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2467 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2468 Likewise.
2469
1518f58b
TS
2470 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2471 __fortify_fail returning.
2472 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2473
db9b5059
TS
2474 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2475 sysdeps/sh/____longjmp_chk.S.
2476 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2477 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2478 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2479 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2480
967705fe
TS
2481 * sysdeps/sh/abort-instr.h: New file.
2482 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2483 process in case exit returns.
2484
a9def8c4
TS
2485 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2486 initialize the GOT register before use.
2487
2a649725
TS
2488 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2489 calculation of ARGC > 4.
2490
af1bce34
TS
2491 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2492 meaningful names to some local labels.
2493
d230f50a
KK
24942012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2495 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2496
2497 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2498 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2499 (__arch_compare_and_exchange_val_16_acq): Likewise.
2500 (__arch_compare_and_exchange_val_32_acq): Likewise.
2501 (atomic_exchange_and_add): Fix gUSA sequence.
2502 (atomic_add): Likewise.
2503 (atomic_add_negative): Likewise.
2504 (atomic_add_zero): Likewise.
2505 (atomic_bit_test_set): Likewise.
2506
0479b305
AS
25072012-06-22 Andreas Schwab <schwab@redhat.com>
2508
2509 [BZ #13579]
2510 * include/link.h (struct link_map): Add l_free_initfini.
2511 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2512 l_initfini.
2513 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2514 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2515 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2516 set.
2517
0e3933b9
CD
25182012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2519
2520 * configure.in: Use AC_LANG_SOURCE.
2521 * configure: Regenerate.
2522
4248b1b1
RM
25232012-06-22 Roland McGrath <roland@hack.frob.com>
2524
2525 * configure.in (libc_cv_localstatedir): New substituted variable.
2526 * configure: Regenerated.
2527 * config.make.in (localstatedir): New variable, substituted from
2528 libc_cv_localstatedir.
2529 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2530 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2531 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2532 * sysdeps/gnu/configure: Regenerated.
2533
006dd861
JL
25342012-06-21 Jeff Law <law@redhat.com>
2535
2536 [BZ #14277]
2537 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2538 free. Simplify list management for _LIBC case.
2539
79662d42
JM
25402012-06-21 Joseph Myers <joseph@codesourcery.com>
2541
b7abb4bf
JM
2542 [BZ #14273]
2543 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2544 Clear sign bit of 64-bit integer value before comparing against
2545 overflow value.
2546
79662d42
JM
2547 * sysdeps/mach/configure: Regenerated.
2548
1f150908
L
25492012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2550
2551 [BZ #14278]
2552 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2553
28363bbf
JL
25542012-06-21 Jeff Law <law@redhat.com>
2555
2556 [BZ #13882]
2557 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2558 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 2559 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
2560 * elf/dl-open.c (dl_open_worker): Likewise.
2561
09615db4
CD
25622012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2563
2564 * scripts/list-sources.sh: Scan PORTS for translations.
2565 * po/libc.pot: Regenerated.
2566
2174c6dd
AJ
25672012-06-21 Andreas Jaeger <aj@suse.de>
2568
2569 [BZ #12194]
2570 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2571 warning.
2572 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2573 * bits/byteswap-16.h (__bswap_16): Likewise.
2574 * bits/byteswap.h (__bswap_constant_16): Likewise.
2575
3ee947b1
L
25762012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2577
2578 [BZ #14117]
a2f34833
L
2579 * sysdeps/i386/fpu_control.h: Removed.
2580 * sysdeps/x86_64/fpu_control.h: Moved to ...
2581 * sysdeps/x86/fpu_control.h: Here.
2582
3ee947b1
L
2583 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2584 (_FPU_SETCW): Likewise.
2585
ed1825f8
L
25862012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2587
25f1282a
L
2588 [BZ #14117]
2589 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2590 * sysdeps/x86/fpu/bits/mathinline.h: This.
2591 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2592
ed1825f8
L
2593 [BZ #14050]
2594 [BZ #14117]
2595 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2596 functions if __x86_64__ is defined.
2597
36d54b74
CLT
25982012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2599
2600 * string/endian.h: Add !__ASSEMBLER__ condition for including
2601 conversion interfaces.
2602
10285c21
JM
26032012-06-15 Joseph Myers <joseph@codesourcery.com>
2604
2605 [BZ #14241]
2606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2607 of ABS(x) in calculating zero to negative powers other than odd
2608 integers.
2609 * math/libm-test.inc (pow_test): Add more tests.
2610
06c5abbd
AJ
26112012-06-15 Andreas Jaeger <aj@suse.de>
2612
2613 * manual/contrib.texi (Contributors): Update entry of Liubov
2614 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2615 Machado Filho.
2616
a3aeac40
CH
26172012-06-15 Cyril Hrubis <metan@ucw.cz>
2618
2619 * string/string.h: Add __wur to GNU version of strerror_r.
2620
49bdf4c1
L
26212012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2622
2623 [BZ #14229]
2624 * string/Makefile (tests): Add tst-strtok_r.
2625 * string/tst-strtok_r.c: New file.
2626 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2627 RAX_LP/RDX_LP on SAVE_PTR.
2628
834f9b8d
RM
26292012-06-14 Roland McGrath <roland@hack.frob.com>
2630
2631 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2632
75fa1921
JM
26332012-06-14 Joseph Myers <joseph@codesourcery.com>
2634
2635 * libm_test.inc (csqrt_test): Allow more spurious underflow
2636 exceptions.
2637 (j0_test): Likewise.
2638 (j1_test): Likewise.
2639 (y0_test): Likewise.
2640 (y1_test): Likewise.
2641
771766df
CD
26422012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2643
2644 * po/Makefile (libc.pot): Use UTF-8 charset.
2645
ceb9e56b
PP
26462012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2647
2648 [BZ #14210]
2649 Suppress sign-conversion warning from FD_SET.
2650 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2651 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2652 not unsigned long int.
2653 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2654
ddb28975
L
26552012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2656
2657 [BZ #14050]
2658 [BZ #14117]
2659 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2660 __extern_always_inline instead of __extern_inline.
2661 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2662 (__signbit): Likewise.
2663 (__signbitl): Support C++ namespace.
2664 (lrintf): New inline function.
2665 (lrint): Likewise.
2666 (llrintf): Likewise.
2667 (llrint): Likewise.
2668 (fmaxf): Likewise.
2669 (fmax): Likewise.
2670 (fminf): Likewise.
2671 (fmin): Likewise.
2672 (rint): Likewise.
2673 (rintf): Likewise.
2674 (ceil): Likewise.
2675 (ceilf): Likewise.
2676 (floor): Likewise.
2677 (floorf): Likewise.
2678 (nearbyint): Likewise.
2679 (nearbyintf): Likewise.
2680
d7b4fb26
TS
26812012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2682
2683 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2684 non-default versions.
2685
eb55f5c2
RM
26862012-06-11 Roland McGrath <roland@hack.frob.com>
2687
2688 [BZ #14218]
2689 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2690
366af02c
TS
26912012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2692
99ff6e5c
TS
2693 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2694 (FE_UPWARD, FE_DOWNWARD): Don't define.
2695 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2696 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2697
366af02c
TS
2698 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2699 reading it.
2700 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2701 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2702
793ea851
KK
27032012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2704
2705 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2707 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2708 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2709
a728a38f
L
27102012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2711
2712 [BZ #14117]
c08010c7
L
2713 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2714 * sysdeps/i386/fpu/Implies: New file.
2715 * sysdeps/x86_64/fpu/Implies: Likewise.
2716 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2717 * sysdeps/x86/fpu/bits/fenv.h: This.
2718
a728a38f
L
2719 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2720 __SSE_MATH__.
2721
6e230d11
SP
27222012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2723
2724 [BZ #14134]
2725 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2726 character 0xffff that matches the last element of the
2727 conversion table.
2728
1b671feb
AZ
27292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2730
2731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2732 fmodl commit.
2733
6043738b
AZ
27342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2735
2736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2737 values higher than 25.6283.
2738
34ae0b32
AZ
27392012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2740
2741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2742 subnormal exponent extraction and add some __builtin_expect.
2743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2744 Fix for subnormal mantissa calculation.
2745
1214ec8f
MF
27462012-06-04 Mike Frysinger <vapier@gentoo.org>
2747
2748 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2749 cpu2 is -1 and errno is not ENOSYS.
2750
f3d1f93c
L
27512012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2752
2753 [BZ #14117]
0e4a3cd7
L
2754 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2755 * sysdeps/x86/bits/string.h: This.
2756 * sysdeps/x86_64/bits/string.h: Removed.
2757
6704c645
L
2758 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2759 if not compiling for x86-64, but compiling for >= i486.
2760
48495318
L
2761 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2762 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2763
14adcbfc
L
2764 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2765 New macro from Linux kernel 3.4.0.
2766 (FP_XSTATE_MAGIC2): Likewise.
2767 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2768 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2769 (struct _fpx_sw_bytes): New struct.
2770 (struct _xsave_hdr): Likewise.
2771 (struct _ymmh_state): Likewise.
2772 (struct _xstate): Likewise.
2773
68e408ab
L
2774 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2775 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2776 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2777 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2778 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2779 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2780
f3d1f93c
L
2781 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2782 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2783 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2784 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2785 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2786 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2787
d9dc34cd
TMQMF
27882012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2789
2790 [BZ #13743]
2791 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2792 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2793 (sysdep_headers): Include sys/platform/ppc.h.
2794 * sysdeps/powerpc/test-gettimebase.c: Test for
2795 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2796 * manual/Makefile (appendices): Include platform.texi.
2797 * manual/contrib.texi (Contributors): Update @node pointers.
2798 * manual/maint.texi (Maintenance): Likewise.
2799 (Platform): New node.
2800 * manual/platform.texi: New file. Document the new features.
2801
4af3879c
SP
28022012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2803 Jakub Jelinek <jakub@redhat.com>
2804
2805 [BZ #14188]
2806 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2807 where __builtin_expect is unavailable.
2808
2fd6ff13
DM
28092012-06-03 David S. Miller <davem@davemloft.net>
2810
2811 * stdlib/longlong.h: Updated from GCC.
2812
173f7220
AS
28132012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2814
2815 [BZ #14042]
2816 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2817 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2818 __mcount_internal.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2820 (GLIBC_2.16): Likewise.
2821
f34a1c6f
L
28222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2825
88a4576f
JM
28262012-06-01 Joseph Myers <joseph@codesourcery.com>
2827
ea32bcdd
JM
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2829 (default-abi): New variable.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2831 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2832 variable.
2833 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2834 Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2836 Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2838 Likewise.
2839
88a4576f
JM
2840 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2841 definition. Document in comment.
2842
402fe938
DM
28432012-06-01 David S. Miller <davem@davemloft.net>
2844
2845 * stdlib/longlong.h: Updated from GCC.
2846
3553723f
L
28472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2848
2849 [BZ #14117]
3bd872c4
L
2850 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2851 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2852 sys/debugreg.h sys/io.h here.
2853 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2854 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2855 sys/io.h.
2856 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2857 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2858 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2859 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2860 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2861 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2862
3553723f
L
2863 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2864 Define only if __x86_64__ is defined.
2865
4842e4fe
JM
28662012-06-01 Joseph Myers <joseph@codesourcery.com>
2867
c5bfe3d5
JM
2868 [BZ #14048]
2869 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2870 Use int64_t for variable i.
2871 * math/libm-test.inc (fmod_test): Add more tests.
2872
4842e4fe
JM
2873 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2874 z computation is not scheduled after fetestexcept.
2875 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2876 Use math_force_eval instead of asm to ensure calculation scheduled
2877 before exception test.
2878 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2879 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2880
efb73488
AJ
28812012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2882
2883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2884 computation is not scheduled after fetestexcept.
2885
29bcce7c
L
28862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2887
2888 [BZ #14117]
2889 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2890 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2891
73a68f94
AZ
28922012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2893
2894 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2895 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2896
67b6df78
L
28972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2898
edf2933a 2899 [BZ #14117]
ebc64a18
L
2900 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2901 <bits/wordsize.h>.
2902 (__WCHAR_MIN): Support __WORDSIZE == 64.
2903 (__WCHAR_MAX): Likewise.
2904
edf2933a
L
2905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2906 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2907
57c6cf40
L
2908 [BZ #14183]
2909 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2910 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2911
67b6df78 2912 [BZ #14117]
8eb6281e
L
2913 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2914 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2915
aac639f4
L
2916 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2917 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2918
67b6df78
L
2919 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2920 Defined to 1 if __x86_64__ isn't defined.
2921 (_STAT_VER_LINUX_OLD): New.
2922 (st_atime): Remove duplicate.
2923 (st_mtime): Likewise.
2924 (st_ctime): Likewise.
2925
1c2cfe81
DM
29262012-05-31 David S. Miller <davem@davemloft.net>
2927
2928 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2929 entries.
2930
5be8418c
AS
29312012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2932
e7725326
AS
2933 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2934 gen-libm-test.pl.
2935
5be8418c
AS
2936 [BZ #14132]
2937 * elf/dl-reloc.c: Include <_itoa.h>.
2938 (_dl_reloc_bad_type): Remove use of INTUSE.
2939 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2940 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2941 * stdio-common/psiginfo.c (psiginfo): Likewise.
2942 * stdio-common/psignal.c (psignal): Likewise.
2943 * string/strsignal.c (strsignal): Likewise.
2944 * include/signal.h (_sys_siglist): Declare hidden proto.
2945 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2946 INTVARDEF with libc_hidden_data_def.
2947 * stdio-common/itoa-udigits.c: Likewise.
2948 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2949 (_itoa_lower_digits_internal): Remove declaration.
2950 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2951 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2952 (_sys_sigabbrev_internal): Remove aliases.
2953 (_sys_siglist): Define hidden alias.
2954
507352f1
MT
29552012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2956
2957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2958 bits/sysctl.h.
2959
42bbb1c3
L
29602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2961
2962 [BZ #14117]
6bd784b6
L
2963 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2964 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2965
8bca20f0
L
2966 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2967 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2968 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2969 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2970 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2971 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2972
f9e890a9
L
2973 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2974 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2975 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2976
471101a1
L
2977 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2978 with __addr.
2979 (insw): Likewise.
2980 (insl): Likewise.
2981 (outsb): Likewise.
2982 (outsw): Likewise.
2983 (outsl): Likewise.
2984
6451c862
L
2985 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2986 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2987 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2988
a254b8c9
L
2989 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2990 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2991 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2992 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2993 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2994 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2995
b8dfdd92
L
2996 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2997 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2998
578cd270
L
2999 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
3000 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
3001
de662f5f
L
3002 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
3003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
3004 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
3005
25653439
L
3006 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
3007 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
3008 to ...
3009 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
3010
6bad24a0
L
3011 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
3012 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
3013 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
3014
42bbb1c3
L
3015 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
3016 for x86-64.
3017 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
3018
2d10d547
JM
30192012-05-31 Joseph Myers <joseph@codesourcery.com>
3020
3021 * math/math.h (M_El): Use two more decimal places.
3022 (M_LOG2El): Likewise.
3023 (M_LOG10El): Likewise.
3024 (M_LN2l): Likewise.
3025 (M_LN10l): Likewise.
3026 (M_PIl): Likewise.
3027 (M_PI_2l): Likewise.
3028 (M_PI_4l): Likewise.
3029 (M_1_PIl): Likewise.
3030 (M_2_PIl): Likewise.
3031 (M_2_SQRTPIl): Likewise.
3032 (M_SQRT2l): Likewise.
3033 (M_SQRT1_2l): Likewise.
3034
f230c29b
DM
30352012-05-31 David S. Miller <davem@davemloft.net>
3036
3037 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
3038 values between float registers.
3039 * sysdeps/sparc/sparc64/memset.S: Likewise.
3040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3041
fed806c3
MF
30422012-05-31 Mike Frysinger <vapier@gentoo.org>
3043
3044 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
3045 -D_FORTIFY_SOURCE=1.
3046 (CPPFLAGS-tst-longjmp_chk.c): Define.
3047 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
3048 (CPPFLAGS-tst-longjmp_chk2.c): Define.
3049 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
3050 CFLAGS-tst-wchar-h.c.
3051
30917259
MP
30522012-05-31 Marek Polacek <polacek@redhat.com>
3053
3054 [BZ #14132]
3055 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
3056 __endmntent_internal): Remove declaration.
3057 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
3058 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
3059 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
3060
1c58d5dc
DM
30612012-05-30 David S. Miller <davem@davemloft.net>
3062
3063 * sysdeps/sparc/sparc32/soft-fp/q_util.c
3064 (___Q_simulate_exceptions): Use real FP ops rather than writing
3065 into the %fsr.
3066 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
3067 Likewise.
3068
7dc00e0d
L
30692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3070
3071 [BZ #14117]
0bd53985
L
3072 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
3073 * sysdeps/x86/bits/xtitypes.h: This.
3074
3a257e66
L
3075 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
3076 * sysdeps/x86/bits/wordsize.h: This.
3077
62f62904
L
3078 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
3079 * sysdeps/x86/bits/huge_vall.h: This.
3080
404fe9d9
L
3081 * sysdeps/i386/bits/select.h: Removed.
3082 * sysdeps/x86_64/bits/select.h: Renamed to ...
3083 * sysdeps/x86/bits/select.h: This.
3084
d48d0446
L
3085 * sysdeps/i386/bits/setjmp.h: Removed.
3086 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
3087 * sysdeps/x86/bits/setjmp.h: This.
3088
7dc00e0d
L
3089 * sysdeps/i386/bits/mathdef.h: Removed.
3090 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
3091 * sysdeps/x86/bits/mathdef.h: This.
3092
03277f8f
AS
30932012-05-30 Andreas Schwab <schwab@linux-m68k.org>
3094
3095 [BZ #14132]
3096 * include/sys/socket.h (__connect_internal)
3097 (__libc_sa_len_internal): Remove declaration.
3098 (__connect, __libc_sa_len): Declare hidden_proto.
3099 (SA_LEN): Remove use of INTUSE.
3100 * socket/connect.c: Add libc_hidden_def.
3101 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
3102 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
3103 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
3104 alias.
3105 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
3107 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
3108 of adding _internal alias.
3109
13764867
L
31102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3111
3112 [BZ #14117]
6bd97696
L
3113 * sysdeps/i386/bits/link.h: Removed.
3114 * sysdeps/i386/bits/linkmap.h: Likewise.
3115 * sysdeps/x86_64/bits/link.h: Renamed to ...
3116 * sysdeps/x86/bits/link.h: This.
3117 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
3118 * sysdeps/x86/bits/linkmap.h: This.
3119
f726f0bb
L
3120 * sysdeps/i386/bits/endian.h: Removed.
3121 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3122 * sysdeps/x86/bits/endian.h: This.
3123
13764867
L
3124 * sysdeps/i386/bits/byteswap.h: Removed.
3125 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3126 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3127 * sysdeps/x86/bits/byteswap.h: This.
3128 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3129 * sysdeps/x86/bits/byteswap-16.h: This.
3130 * sysdeps/i386/Implies: Add x86.
3131 * sysdeps/x86_64/Implies: Likewise.
3132
ae251b0b
DM
31332012-05-30 David S. Miller <davem@davemloft.net>
3134
3135 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3136 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3137 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3138 (FP_TRAPPING_EXCEPTIONS): Define.
3139 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3140 (FP_TRAPPING_EXCEPTIONS): Define.
3141 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3142 subnormals only when inexact has been signalled or underflow
3143 exceptions are enabled.
3144 (_FP_PACK_CANONICAL): Likewise.
3145
d5c90867
L
31462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3147
3148 [BZ #14183]
3149 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3150 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3151
63f1549e
RH
31522012-05-30 Richard Henderson <rth@twiddle.net>
3153
8d8f2279
RH
3154 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3155 with #ifndef NOT_IN_libc.
3156
63f1549e
RH
3157 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3158 marked to avoid plt entry.
3159
0ab0291b
L
31602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 [BZ #14112]
3163 * Makeconfig (default-abi): New macro.
3164 (abi-includes): Likewise.
3165 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3166 $(abi-$(default-abi)-lib-soname) for soname if defined.
3167 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3168 abi-variants.
3169 * Makefile (installed-stubs): Likewise.
3170 * include/stubs-biarch.h: Removed.
3171 * scripts/lib-names.awk: Only handle one library at a time.
3172 * scripts/soversions.awk: Remove WORDSIZE support.
3173 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3174 entries.
3175 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3176 Removed.
3177 (syscall-list-default-condition): Likewise.
3178 (syscall-list-default-condition): Likewise.
3179 (syscall-list-includes): Likewise.
3180 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3181 syscall-list-* with abi-*. Handle undefined abi-variants.
3182 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3183 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3184 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3185 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3186 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3187 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3188 Removed.
3189 (syscall-list-32-options): Likewise.
3190 (syscall-list-32-condition): Likewise.
3191 (syscall-list-64-options): Likewise.
3192 (syscall-list-64-condition): Likewise.
3193 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3194 macro.
3195 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3196 Renamed to ...
3197 (abi-*): This.
3198 (abi-64-ld-soname): New macro.
3199 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3200 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3201 Renamed to ...
3202 (abi-*): This.
3203 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3204 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3205
4da0431d
JM
32062012-05-30 Joseph Myers <joseph@codesourcery.com>
3207
3a85279c
JM
3208 * sysdeps/unix/sysv/linux/kernel-features.h
3209 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3210 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3211 include <kernel-features.h>.
3212 [!__NR_ftruncate64]: Remove conditional code.
3213 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3214 [__NR_ftruncate64]: Make code unconditional.
3215 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3216 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3217 include <kernel-features.h>.
3218 [!__NR_ftruncate64]: Remove conditional code.
3219 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3220 [__NR_ftruncate64]: Make code unconditional.
3221 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3223 include <kernel-features.h>.
3224 [!__NR_ftruncate64]: Remove conditional code.
3225 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3226 [__NR_ftruncate64]: Make code unconditional.
3227 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3229 include <kernel-features.h>.
3230 [!__NR_ftruncate64]: Remove conditional code.
3231 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3232 [__NR_ftruncate64]: Make code unconditional.
3233 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3234
4da0431d
JM
3235 * configure.in (libc_cv_fpie): Weaken to a compile test using
3236 LIBC_TRY_CC_OPTION.
3237 * configure: Regenerated.
3238
11ef492c
AK
32392012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3240
3241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3245 Refreshed.
3246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3252 Refreshed.
3253
d66ef399
DM
32542012-05-27 David S. Miller <davem@davemloft.net>
3255
3256 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3257 (___Q_zero): New.
3258 (__Q_simulate_exceptions): Return void. Change to simulate
3259 exceptions by writing into the %fsr.
3260 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3261 (__Qp_handle_exceptions): Likewise.
3262 (numbers): Delete.
3263 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3264 __Qp_handle_exceptions.
3265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3266 __Qp_handle_exceptions.
3267 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3268 as unused and give dummy FP_RND_NEAREST initializer.
3269 (FP_INHIBIT_RESULTS): Define.
3270 (___Q_simulate_exceptions): Update declaration.
3271 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3272 formatting.
3273 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3274 as unused and give dummy FP_RND_NEAREST initializer.
3275 (__Qp_handle_exceptions): Update declaration.
3276 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3277 formatting.
3278
04fb54b5
TS
32792012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3280
3281 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3282 the temporary FPU control word.
3283 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3284 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3285 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3286 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3287 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3288 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3289 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3290 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3291 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3292 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3293 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3294
3f99608f
KK
32952012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3296
3297 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3298 fields.
3299
65a4de4e
CLT
33002012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3301
3302 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3303 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3304 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3305 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3306 Likewise.
3307 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3308 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3309 Likewise.
3310
15749d40
UD
33112012-05-27 Ulrich Drepper <drepper@gmail.com>
3312
3313 * po/h.po: Update from translation team.
3314
25dbcb27
AS
33152012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3316
3d3f8e55
AS
3317 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3318
25dbcb27
AS
3319 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3320 handling of denormals.
3321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3322 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3323 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3324 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3326 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3328 Likewise.
3329
7ad47a80 33302012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
3331
3332 [BZ #14152]
3333 * math/libm-test.inc (fma_test): Don't always expect underflow
3334 exception.
3335
9c6ea9fa
SP
33362012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3337
3338 [BZ #12416]
3339 * elf/tst-execstack.c: Include stackinfo.h.
3340 (do_test): Adjust test case to ensure that pthread_getattr_np
3341 behaviour remains the same after marking stack executable.
3342
a8239222
JM
33432012-05-25 Joseph Myers <joseph@codesourcery.com>
3344
3345 * sysdeps/unix/sysv/linux/kernel-features.h
3346 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3347 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3348 kernel-features.h.
3349 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3350 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3351 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3352 kernel-features.h.
3353 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3354 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3355
918b5606
L
33562012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3357
3358 * configure.in: Define the default includes to being none.
3359 * configure: Regenerated.
3360
3a097cc7
RM
33612012-05-25 Roland McGrath <roland@hack.frob.com>
3362
8422c9a5
RM
3363 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3364 * sysdeps/x86_64/setjmp.S: Likewise.
3365 * sysdeps/i386/bsd-setjmp.S: Likewise.
3366 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3367 * sysdeps/i386/setjmp.S: Likewise.
3368 * sysdeps/i386/__longjmp.S: Likewise.
3369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3370 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3371
3a097cc7
RM
3372 * include/stap-probe.h: New file.
3373 * configure.in: Handle --enable-systemtap.
3374 * configure: Regenerated.
3375 * config.h.in (USE_STAP_PROBE): New #undef.
3376 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3377 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3378 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3379
21708942
JM
33802012-05-25 Joseph Myers <joseph@codesourcery.com>
3381
3382 [BZ #13717]
3383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3384 to 2.4.0 where earlier.
3385 * sysdeps/unix/sysv/linux/configure: Regenerated.
3386 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3387 <kernel-features.h>.
3388 [__ASSUME_32BITUIDS]: Make code unconditional.
3389 [!__ASSUME_32BITUIDS]: Remove conditional code.
3390 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3391 <kernel-features.h>.
3392 [__ASSUME_32BITUIDS]: Make code unconditional.
3393 [!__ASSUME_32BITUIDS]: Remove conditional code.
3394 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3395 [__ASSUME_32BITUIDS]: Make code unconditional.
3396 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3397 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3398 <kernel-features.h>.
3399 [__ASSUME_32BITUIDS]: Make code unconditional.
3400 [!__ASSUME_32BITUIDS]: Remove conditional code.
3401 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3402 <kernel-features.h>.
3403 [__ASSUME_32BITUIDS]: Make code unconditional.
3404 [!__ASSUME_32BITUIDS]: Remove conditional code.
3405 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3406 <kernel-features.h>.
3407 [__ASSUME_32BITUIDS]: Make code unconditional.
3408 [!__ASSUME_32BITUIDS]: Remove conditional code.
3409 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3410 <kernel-features.h>.
3411 [__ASSUME_32BITUIDS]: Make code unconditional.
3412 [!__ASSUME_32BITUIDS]: Remove conditional code.
3413 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3414 <kernel-features.h>.
3415 [__ASSUME_32BITUIDS]: Make code unconditional.
3416 [!__ASSUME_32BITUIDS]: Remove conditional code.
3417 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3418 <kernel-features.h>.
3419 [__ASSUME_32BITUIDS]: Make code unconditional.
3420 [!__ASSUME_32BITUIDS]: Remove conditional code.
3421 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3422 <kernel-features.h>.
3423 [__ASSUME_32BITUIDS]: Make code unconditional.
3424 [!__ASSUME_32BITUIDS]: Remove conditional code.
3425 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3426 <kernel-features.h>.
3427 [__ASSUME_32BITUIDS]: Make code unconditional.
3428 [!__ASSUME_32BITUIDS]: Remove conditional code.
3429 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3430 <kernel-features.h>.
3431 [__ASSUME_32BITUIDS]: Make code unconditional.
3432 [!__ASSUME_32BITUIDS]: Remove conditional code.
3433 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3434 <kernel-features.h>.
3435 [__ASSUME_32BITUIDS]: Make code unconditional.
3436 [!__ASSUME_32BITUIDS]: Remove conditional code.
3437 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3438 <kernel-features.h>.
3439 [__NR_setresgid] (__setresgid): Do not declare.
3440 [__ASSUME_32BITUIDS]: Make code unconditional.
3441 [!__ASSUME_32BITUIDS]: Remove conditional code.
3442 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3443 <kernel-features.h>.
3444 [__NR_setresuid] (__setresuid): Do not declare.
3445 [__ASSUME_32BITUIDS]: Make code unconditional.
3446 [!__ASSUME_32BITUIDS]: Remove conditional code.
3447 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3448 <kernel-features.h>.
3449 [__ASSUME_32BITUIDS]: Make code unconditional.
3450 [!__ASSUME_32BITUIDS]: Remove conditional code.
3451 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3452 <kernel-features.h>.
3453 [__ASSUME_32BITUIDS]: Make code unconditional.
3454 [!__ASSUME_32BITUIDS]: Remove conditional code.
3455 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3456 <kernel-features.h>.
3457 [__ASSUME_32BITUIDS]: Make code unconditional.
3458 [!__ASSUME_32BITUIDS]: Remove conditional code.
3459 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3460 <kernel-features.h>.
3461 [__ASSUME_32BITUIDS]: Make code unconditional.
3462 [!__ASSUME_32BITUIDS]: Remove conditional code.
3463 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3464 <kernel-features.h>.
3465 [__ASSUME_32BITUIDS]: Make code unconditional.
3466 [!__ASSUME_32BITUIDS]: Remove conditional code.
3467 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3468 <kernel-features.h>.
3469 [__ASSUME_32BITUIDS]: Make code unconditional.
3470 [!__ASSUME_32BITUIDS]: Remove conditional code.
3471 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3472 <kernel-features.h>.
3473 [__ASSUME_32BITUIDS]: Make code unconditional.
3474 [!__ASSUME_32BITUIDS]: Remove conditional code.
3475 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3476 <kernel-features.h>.
3477 [__ASSUME_32BITUIDS]: Make code unconditional.
3478 [!__ASSUME_32BITUIDS]: Remove conditional code.
3479 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3480 <kernel-features.h>.
3481 [__ASSUME_32BITUIDS]: Make code unconditional.
3482 [!__ASSUME_32BITUIDS]: Remove conditional code.
3483 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3484 <kernel-features.h>.
3485 [__ASSUME_32BITUIDS]: Make code unconditional.
3486 [!__ASSUME_32BITUIDS]: Remove conditional code.
3487 * sysdeps/unix/sysv/linux/kernel-features.h
3488 (__ASSUME_SETRESUID_SYSCALL): Remove.
3489 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3490 (__ASSUME_32BITUIDS): Likewise.
3491 (__ASSUME_LDT_WORKS): Likewise.
3492 (__ASSUME_O_DIRECTORY): Likewise.
3493 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3494 architecture but not kernel version.
3495 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3496 (__ASSUME_MMAP2_SYSCALL): Likewise.
3497 (__ASSUME_STAT64_SYSCALL): Likewise.
3498 (__ASSUME_IPC64): Likewise.
3499 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3500 <kernel-features.h>.
3501 [__ASSUME_32BITUIDS]: Make code unconditional.
3502 [!__ASSUME_32BITUIDS]: Remove conditional code.
3503 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3504 <kernel-features.h>.
3505 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3506 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3507 132096]: Remove conditional code.
3508 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3509 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
3518 <kernel-features.h>.
3519 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3520 unconditional.
3521 (__setresgid): Do not declare.
3522 [__ASSUME_32BITUIDS]: Make code unconditional.
3523 [!__ASSUME_32BITUIDS]: Remove conditional code.
3524 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3525 <kernel-features.h>.
3526 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3527 unconditional.
3528 (__setresuid): Do not declare.
3529 [__ASSUME_32BITUIDS]: Make code unconditional.
3530 [!__ASSUME_32BITUIDS]: Remove conditional code.
3531 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
3536 <kernel-features.h>.
3537 [__ASSUME_32BITUIDS]: Make code unconditional.
3538 [!__ASSUME_32BITUIDS]: Remove conditional code.
3539
a386f1cc
RH
35402012-05-25 Richard Henderson <rth@twiddle.net>
3541
3542 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3543 dl_hwcap to ifunc resolver.
3544 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3545 elf_ifunc_invoke.
3546 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3547 dl_hwcap to ifunc resolver.
3548 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3549
b6550497
JM
35502012-05-24 Joseph Myers <joseph@codesourcery.com>
3551
3552 [BZ #14153]
3553 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3554 for |x| <= 2**-26, not 2**-57.
3555 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3556 exception.
3557
b0bc23a1
JL
35582012-05-24 Jeff Law <law@redhat.com>
3559
3560 * stdio-common/Makefile (tests): Add bug25.
3561 * stdio-common/bug25.c: New test.
3562
347c92e9
L
35632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 [BZ #13576]
3566 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3567 multiple of MALLOC_ALIGNMENT in size.
3568 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3569
6bcc8b3f
JM
35702012-05-24 Joseph Myers <joseph@codesourcery.com>
3571
3572 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3573 Require >= 256.
3574 (FILENAME_MAX): Use macro-int-constant.
3575 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3576 (_IOFBF): Use macro-int-constant.
3577 (_IOLBF): Likewise.
3578 (_IONBF): Likewise.
3579 (SEEK_CUR): Likewise.
3580 (SEEK_END): Likewise.
3581 (SEEK_SET): Likewise.
3582 (TMP_MAX): Likewise.
3583 (EOF): Use macro-int-constant. Require < 0.
3584 (NULL): Use macro-constant. Require == 0.
3585 (stdin): Require type to be FILE *.
3586 (stdout): Likewise.
3587 (stderr): Likewise.
3588 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3589 macro-int-constant.
3590 (EXIT_SUCCESS): Likewise.
3591 (NULL): Use macro-constant. Require == 0.
3592 (RAND_MAX): Use macro-int-constant.
3593 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3594 [C99-based standards] (strtof): Require function.
3595 [C99-based standards] (strtold): Likewise.
3596 [C99-based standards] (strtoll): Likewise.
3597 [C99-based standards] (strtoull): Likewise.
3598 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3599 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3600 [ISO || ISO99 || ISO11] (math.h): Likewise.
3601 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3602 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3604
d18ea0c5
AS
36052012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3606
3607 [BZ #14132]
56d25bb8
AS
3608 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3609 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3610 * intl/dgettext.c (DCGETTEXT): Likewise.
3611 * intl/gettext.c (DCGETTEXT): Likewise.
3612 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3613 * posix/regex_internal.h (gettext): Likewise.
3614 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3615 Remove declaration.
3616 * include/argz.h (__argz_count_internal)
3617 (__argz_stringify_internal): Remove declaration.
3618 (__argz_count, __argz_stringify): Declare hidden proto.
3619 * intl/dcgettext.c: Remove use of INTDEF.
3620 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3621 * string/argz-stringify.c: Likewise.
3622 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3623 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3624 Declare hidden proto.
d18ea0c5
AS
3625 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3626 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3627 Declare hidden proto.
3628 * include/stdio.h (__asprintf_internal): Don't declare.
3629 (__asprintf): Don't define as macro. Declare hidden proto.
3630 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3631 (__fsetlocking): Declare hidden proto.
3632 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3633 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3634 hidden proto.
3635 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3636 (_IO_setlinebuf): Remove use of INTUSE.
3637 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3638 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3639 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3640 Remove declaration.
3641 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3642 (_IO_do_flush): Remove use of INTUSE.
3643 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3644 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3645 (_IO_adjust_column, _IO_least_wmarker)
3646 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3647 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3648 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3649 (_IO_default_doallocate, _IO_wdefault_doallocate)
3650 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3651 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3652 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3653 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3654 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3655 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3656 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3657 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3658 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3659 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3660 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3661 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3662 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3663 proto.
3664 (_IO_flush_all_internal, _IO_adjust_column_internal)
3665 (_IO_default_uflow_internal, _IO_default_finish_internal)
3666 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3667 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3668 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3669 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3670 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3671 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3672 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3673 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3674 (_IO_file_close_internal, _IO_file_close_it_internal)
3675 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3676 (_IO_file_init_internal, _IO_file_attach_internal)
3677 (_IO_file_fopen_internal, _IO_file_read_internal)
3678 (_IO_file_sync_internal, _IO_file_seek_internal)
3679 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3680 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3681 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3682 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3683 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3684 (_IO_list_all_internal, _IO_link_in_internal)
3685 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3686 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3687 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3688 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3689 (_IO_do_write_internal, _IO_padn_internal)
3690 (_IO_getline_info_internal, _IO_getline_internal)
3691 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3692 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3693 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3694 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3695 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3696 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3697 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3698 with libc_hidden_ver, remove use of INTUSE.
3699 * libio/genops.c: Likewise.
3700 * libio/freopen.c: Likewise.
3701 * libio/freopen64.c: Likewise.
3702 * libio/iofclose.c: Likewise.
3703 * libio/iofdopen.c: Likewise.
3704 * libio/iofflush.c: Likewise.
3705 * libio/iofflush_u.c: Likewise.
3706 * libio/iofgets.c: Likewise.
3707 * libio/iofgets_u.c: Likewise.
3708 * libio/iofopen.c: Likewise.
3709 * libio/iofopncook.c: Likewise.
3710 * libio/iofread.c: Likewise.
3711 * libio/iofread_u.c: Likewise.
3712 * libio/ioftell.c: Likewise.
3713 * libio/iofwrite.c: Likewise.
3714 * libio/iogetline.c: Likewise.
3715 * libio/iogets.c: Likewise.
3716 * libio/iogetwline.c: Likewise.
3717 * libio/iopadn.c: Likewise.
3718 * libio/iopopen.c: Likewise.
3719 * libio/ioseekoff.c: Likewise.
3720 * libio/ioseekpos.c: Likewise.
3721 * libio/iosetbuffer.c: Likewise.
3722 * libio/iosetvbuf.c: Likewise.
3723 * libio/ioungetc.c: Likewise.
3724 * libio/ioungetwc.c: Likewise.
3725 * libio/iovdprintf.c: Likewise.
3726 * libio/iovsprintf.c: Likewise.
3727 * libio/iovsscanf.c: Likewise.
3728 * libio/memstream.c: Likewise.
3729 * libio/obprintf.c: Likewise.
3730 * libio/oldfileops.c: Likewise.
3731 * libio/oldiofclose.c: Likewise.
3732 * libio/oldiofdopen.c: Likewise.
3733 * libio/oldiofopen.c: Likewise.
3734 * libio/oldiopopen.c: Likewise.
3735 * libio/oldstdfiles.c: Likewise.
3736 * libio/putc.c: Likewise.
3737 * libio/setbuf.c: Likewise.
3738 * libio/setlinebuf.c: Likewise.
3739 * libio/stdfiles.c: Likewise.
3740 * libio/strops.c: Likewise.
3741 * libio/vasprintf.c: Likewise.
3742 * libio/vscanf.c: Likewise.
3743 * libio/vsnprintf.c: Likewise.
3744 * libio/vswprintf.c: Likewise.
3745 * libio/wfiledoalloc.c: Likewise.
3746 * libio/wfileops.c: Likewise.
3747 * libio/wgenops.c: Likewise.
3748 * libio/wmemstream.c: Likewise.
3749 * libio/wstrops.c: Likewise.
3750 * libio/__fpurge.c: Likewise.
3751 * libio/__fsetlocking.c: Likewise.
3752 * assert/assert.c: Likewise.
3753 * debug/fgets_chk.c: Likewise.
3754 * debug/fgets_u_chk.c: Likewise.
3755 * debug/fread_chk.c: Likewise.
3756 * debug/fread_u_chk.c: Likewise.
3757 * debug/gets_chk.c: Likewise.
3758 * debug/obprintf_chk.c: Likewise.
3759 * debug/vasprintf_chk.c: Likewise.
3760 * debug/vdprintf_chk.c: Likewise.
3761 * debug/vsnprintf_chk.c: Likewise.
3762 * debug/vsprintf_chk.c: Likewise.
3763 * malloc/mtrace.c: Likewise.
3764 * misc/error.c: Likewise.
3765 * misc/syslog.c: Likewise.
3766 * stdio-common/asprintf.c: Likewise.
3767 * stdio-common/fxprintf.c: Likewise.
3768 * stdio-common/getw.c: Likewise.
3769 * stdio-common/isoc99_fscanf.c: Likewise.
3770 * stdio-common/isoc99_scanf.c: Likewise.
3771 * stdio-common/isoc99_vfscanf.c: Likewise.
3772 * stdio-common/isoc99_vscanf.c: Likewise.
3773 * stdio-common/isoc99_vsscanf.c: Likewise.
3774 * stdio-common/printf-prs.c: Likewise.
3775 * stdio-common/printf_fp.c: Likewise.
3776 * stdio-common/printf_fphex.c: Likewise.
3777 * stdio-common/printf_size.c: Likewise.
3778 * stdio-common/putw.c: Likewise.
3779 * stdio-common/scanf.c: Likewise.
3780 * stdio-common/sprintf.c: Likewise.
3781 * stdio-common/tmpfile.c: Likewise.
3782 * stdio-common/vfprintf.c: Likewise.
3783 * stdio-common/vfscanf.c: Likewise.
3784 * stdlib/strfmon_l.c: Likewise.
3785 * sunrpc/openchild.c: Likewise.
3786 * sunrpc/xdr_stdio.c: Likewise.
3787 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3788 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3789
d6c33fda
RM
37902012-05-24 Roland McGrath <roland@hack.frob.com>
3791
c1487492
RM
3792 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3793
3794 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3795 in the third column, to generate for the shared library an IFUNC
3796 that uses _dl_vdso_vsym.
3797 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3798 * Makeconfig (object-suffixes-noshared): New variable.
3799
3800 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3801 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3802 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3803 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3804
d6c33fda
RM
3805 [BZ #14132]
3806 * include/sys/time.h (__gettimeofday): Remove macro.
3807 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3808 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3809 Remove INTDEF.
3810 (__gettimeofday): Add libc_hidden_def.
3811 (gettimeofday): Add libc_hidden_weak.
3812 * sysdeps/mach/gettimeofday.c: Likewise.
3813 * sysdeps/posix/gettimeofday.c: Likewise.
3814 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3815 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3817 (__gettimeofday_internal): Remove strong_alias.
3818 (__gettimeofday): Add libc_hidden_def.
3819 (gettimeofday): Add libc_hidden_weak.
3820 * sysdeps/unix/syscalls.list (gettimeofday):
3821 Remove __gettimeofday_internal alias.
3822
b5a2bbe6
L
38232012-05-24 Daniel Jacobowitz <drow@false.org>
3824 H.J. Lu <hongjiu.lu@intel.com>
3825
3826 [BZ #12495]
3827 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3828 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3829 (largebin_index_32_big): New.
3830 (largebin_index): Use it for 16-byte alignment.
3831 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3832 correction with front_misalign.
3833
cfba4fda
L
38342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3835
7f907421
L
3836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3838 Likewise.
3839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3840 Likewise.
3841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3842 Likewise.
3843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3844 Likewise.
3845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3846 Likewise.
3847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3848 Likewise.
3849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3850 Likewise.
3851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3852 Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3854 Likewise.
3855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3856 Likewise.
3857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3858 Likewise.
3859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3860 Likewise.
3861
cfba4fda
L
3862 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3863 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3864
80bad0cc
JM
38652012-05-24 Joseph Myers <joseph@codesourcery.com>
3866
7a25eb06
JM
3867 [BZ #10846]
3868 [BZ #14036]
3869 * math/libm-test.inc (exp_test): Add test from bug 14036.
3870 (pow_test): Add test from bug 10846.
3871
795405f9
JM
3872 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3873 and other flags.
3874 (special_function): Do not include flags in test name.
3875 (parse_args): Likewise.
3876 * sysdeps/i386/fpu/libm-test-ulps: Update.
3877 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3878 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3879 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3881
80bad0cc
JM
3882 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3883 exceptions.
3884 * math/libm-test.inc ("Philosophy"): Update comment about
3885 exception testing.
3886 (UNDERFLOW_EXCEPTION): New macro.
3887 (UNDERFLOW_EXCEPTION_OK): Likewise.
3888 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3889 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3890 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3891 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3892 (INVALID_EXCEPTION_OK): Update value.
3893 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3894 (OVERFLOW_EXCEPTION_OK): Likewise.
3895 (IGNORE_ZERO_INF_SIGN): Likewise.
3896 (test_exceptions): Handle underflow exceptions.
3897 (acos_test): Update for underflow exception expectations.
3898 (cexp_test): Likewise.
3899 (clog_test): Likewise.
3900 (clog10_test): Likewise.
3901 (csqrt_test): Likewise.
3902 (ctan_test): Likewise.
3903 (ctanh_test): Likewise.
3904 (exp_test): Likewise.
3905 (exp10_test): Likewise.
3906 (exp2_test): Likewise.
3907 (expm1_test): Likewise.
3908 (fma_test): Likewise.
3909 (j0_test): Likewise.
3910 (jn_test): Likewise.
3911 (nexttoward_test): Likewise.
3912 (pow_test): Likewise.
3913 (scalbn_test): Likewise.
3914 (scalbln_test): Likewise.
3915 (tan_test): Likewise.
3916 (y1_test): Likewise.
3917 * sysdeps/i386/fpu/libm-test-ulps: Update.
3918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3919
9e0e3d0b
DM
39202012-05-23 David S. Miller <davem@davemloft.net>
3921
3922 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3923 (__libc_sigaction): Remove unused local variables.
3924
ccd0a08f
L
39252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3926
3927 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3928
62bdf9a6
PE
39292012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3930
f8591f80
PE
3931 mktime: avoid signed integer overflow
3932 * time/mktime.c (__mktime_internal): Do not mishandle the case
3933 where diff == INT_MIN.
3934
94c7d826
PE
3935 mktime: simplify computation of average
3936 * time/mktime.c (ranged_convert): Use new time_t_avg function
3937 instead of rolling our own (probably-slower) code.
3938
ce73d683
PE
3939 mktime: do not assume signed right shift propagates sign bit
3940 * time/mktime.c (isdst_differ): New static function.
3941 (__mktime_internal): No need to normalize tm_isdst now.
3942 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3943 tm_isdst values.
3944
72a22e59
PE
3945 mktime: merge another wrapv change from gnulib
3946 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3947 from some compilers.
3948
68605433
PE
3949 mktime: remove incorrect attempt at unusual arithmetics
3950 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3951 The code didn't really work on such machines anyway.
3952 (TYPE_MINIMUM): Assume two's complement.
3953 (twos_complement_arithmetic): Verify that long_int and time_t
3954 are two's complement (or unsigned, in the latter case).
3955
03cf7fe3
PE
3956 mktime: check signed shifts on long_int and time_t, too
3957 * time/mktime.c (SHR): Check that shifts work as desired
3958 on the types long_int and time_t too, as SHR is used on
3959 such types.
3960
f04dfbc2
PE
3961 mktime: do not assume 'long' is wide enough
3962 * time/mktime.c (verify): Move decl up.
3963 (long_int): New type.
3964 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3965 to remove assumption in the code that 'long' is wide enough to
3966 store year values. This assumption is not true on x32 and on
3967 some non-glibc platforms.
3968
62bdf9a6
PE
3969 mktime: merge wrapv change from gnulib
3970 * time/mktime.c (WRAPV): New macro.
3971 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3972 (guess_time_tm, __mktime_internal): Do not assume that signed
3973 integer overflow wraps around; modern compilers generate code
3974 where this assumption is no longer valid.
3975
5e292e4f
L
39762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3979 Replace "jmp L(pseudo_end)" with "ret".
3980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3981 Likewise.
3982
8caf8c87
AJ
39832012-05-23 Andreas Jaeger <aj@suse.de>
3984
3985 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3986 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3987
1a09dc56
AJ
39882012-05-23 Andreas Jaeger <aj@suse.de>
3989 Maximilian Attems <max@stro.at>
3990
3991 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3992 New macros.
3993
1c87aba0
L
39942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3995
3996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3997 code so that pseudo_end is just ret and the stack pointer is
3998 correct also for static library in error case.
3999
40e45bd5
JM
40002012-05-23 Joseph Myers <joseph@codesourcery.com>
4001
c2670533
JM
4002 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
4003 move to syscalls.list.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4008
40e45bd5
JM
4009 * manual/install.texi (Running make install): Do not mention Linux
4010 kernel version for which pt_chown is not needed.
4011 (Linux): Do not mention problems with nscd with 2.0 kernels.
4012 * INSTALL: Regenerated.
4013
be08eda5
AJ
40142012-05-23 Andreas Jaeger <aj@suse.de>
4015
4016 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
4017 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
4018 macro.
4019 * sysdeps/unix/sysv/linux/s390/bits/mman.h
4020 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4021 * sysdeps/unix/sysv/linux/sh/bits/mman.h
4022 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4023 * sysdeps/unix/sysv/linux/i386/bits/mman.h
4024 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4025 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
4026 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
4028 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
4029 * sysdeps/unix/sysv/linux/bits/in.h
4030 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
4031
a6a056bb
RM
40322012-05-22 Roland McGrath <roland@hack.frob.com>
4033
4034 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
4035 (PREPARE_VERSION): Just use assert instead, it will be elided
4036 under [NDEBUG] anyway.
4037
c9009328
L
40382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4039
4040 * sysdeps/unix/sysv/linux/Makefile: Include
4041 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 4042 (sysdep_routines): Remove sysctl.
c9009328
L
4043 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
4044 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
4045 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
4046 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
4047 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
4048
73338355
AJ
40492012-05-22 Andreas Jaeger <aj@suse.de>
4050
4051 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
4052 that pseudo_end is just ret and the stack pointer is correct also
4053 for static library in error case.
4054
d44638b0
PP
40552012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4056
4057 [BZ #14122]
4058 * nss/nsswitch.c (defconfig_entries): New variable.
4059 (__nss_database_lookup): Don't leak defconfig entries.
4060 (nss_parse_service_list): Don't leak on error paths.
4061 (free_database_entries): New function.
4062 (free_defconfig): New function.
4063 (free_mem): Move common code to free_database_entries.
4064
31a39bd8
L
40652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4066
da0331a8
L
4067 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
4068 Add arch_prctl.
4069 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
4070
31a39bd8
L
4071 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4072 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
4073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
4074 New macro.
4075 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4076 (INTERNAL_SYSCALL_TYPES): Likewise.
4077 (LOAD_ARGS_TYPES_[1-6]): Likewise.
4078 (LOAD_REGS_TYPES_[1-6]): Likewise.
4079 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
4080 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
4081
45470df3
AZ
40822012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4083
4084 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
4085 copysignl for GLIBC_2_0.
4086 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
4087 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
4088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
4089 logbl for GLIBC_2_0.
4090 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4091 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4092
98a61bcb
L
40932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4094
a4f6e481
L
4095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
4096 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4097
f63d5db6
L
4098 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4099 Use "neg %eax".
4100
98a61bcb
L
4101 * time/mktime.c: Update copyright years.
4102
95770f14
PE
41032012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4104
6226efbd
PE
4105 mktime: merge comment-quoting-style change from gnulib
4106 * time/mktime.c: Quote 'like this' in comments.
4107 The GNU coding standards suggest that we no longer quote `like this',
4108 as "`" and "'" are typically rendered asymmetrically nowadays.
4109 The typical gnulib style is to quote 'like this' when quoting
4110 code, and "like this" when quoting English.
4111
b99e4f78
PE
4112 * time/mktime.c (compile-command): Add "-I.".
4113
643e01e6
PE
4114 mktime: merge mktime-internal.h change from gnulib
4115 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
4116
2554247d
PE
4117 mktime: merge time_r change from gnulib
4118 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
4119
826dd0ab
PE
4120 mktime: merge DEBUG change from gnulib
4121 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4122 case system <time.h> has a #define.
4123
bd83aabe
PE
4124 mktime: merge <sys/types.h> change from gnulib
4125 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4126 since <time.t> is now guaranteed to define time_t.
4127
95770f14
PE
4128 mktime: merge HAVE_CONFIG_H change from gnulib
4129 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4130
5e1a27a9
L
41312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4132
0e44a77e
L
4133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4134 Use "neg %eax".
4135
5e1a27a9
L
4136 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4137 __rlim_t cast.
4138 (struct rusage): Use anonymous union to pad each field to
4139 __syscall_slong_t.
4140
46259bec
DM
41412012-05-21 David S. Miller <davem@davemloft.net>
4142
4143 * Makefules (o-iterator): Remove .s cases.
4144 (compile-command.s): Delete.
4145 (COMPILE.s): Delete.
4146 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4147
59f0c22e
JM
41482012-05-21 Joseph Myers <joseph@codesourcery.com>
4149
4150 * configure.in (libc_cv_predef_stack_protector): Only consider
4151 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4152 * configure: Regenerated.
4153
20c07380
L
41542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4155
bbb3154b
L
4156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4157 New macro. Use R*LP on int and pointer.
4158 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
4159 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4160 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
4161 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4162
20c07380
L
4163 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4164 [__WORDSIZE_TIME64_COMPAT32] instead of
4165 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4166 (struct utmp): Likewise.
4167 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4168 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4169 Renamed to ...
4170 (__WORDSIZE_TIME64_COMPAT32): This.
4171 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4172 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4173 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4174 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4175 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4176 (__WORDSIZE_TIME64_COMPAT32): New macro.
4177
d8d1017e
AJ
41782012-05-21 Andreas Jaeger <aj@suse.de>
4179
4180 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4181 only if [SHARED]. Add prototype for __wcschr_ia32.
4182
6c7fb145
RM
41832012-05-21 Roland McGrath <roland@hack.frob.com>
4184
4185 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4186 of %rbp unmolested in the jmp_buf while mangling the low bits.
4187 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4188 unmolested high bits of %rbp while demangling the low bits.
4189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4190
66274218
AJ
41912012-05-21 Andreas Jaeger <aj@suse.de>
4192
07c58f8f
AJ
4193 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4194 * sunrpc/svc_simple.c: Use it for registerrpc.
4195 * sunrpc/xcrypt.c: Use it for passwd2des.
4196
66274218
AJ
4197 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4198
61f65140
L
41992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4200
4201 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4202 Don't define if [__SYSCALL_WORDSIZE != 32].
4203 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4204 New macro.
4205
5fefb436
AJ
42062012-05-21 Bruno Haible <bruno@clisp.org>
4207 Andreas Jaeger <aj@suse.de>
4208
4209 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4210 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4211 inptr and inend for must_buffer_ch.
4212 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4213 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4214 * stdio-common/Makefile (tests): Remove bug15.
4215 (bug15-ENV): Remove macro.
4216 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4217 anymore.
4218
d8e272ab
AJ
42192012-05-19 Andreas Jaeger <aj@suse.de>
4220 Roland McGrath <roland@hack.frob.com>
4221
4222 * manual/contrib.texi: Completely rewritten. It contains now an
4223 alphabetical list of contributors and their contributions.
4224
4a56a162
RH
42252012-05-21 Richard Henderson <rth@twiddle.net>
4226
4227 * misc/getauxval.c (__getauxval): Use unsigned long int.
4228 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4229 (getauxval): Use unsigned long int.
4230
d024d23c
L
42312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4232
4233 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4234
cbc00a03
RM
42352012-05-21 Roland McGrath <roland@hack.frob.com>
4236
4237 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4238 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4239 __alignof__ (long double).
4240
478143fa
AZ
42412012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4242
4243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4244
c7683a6d
RH
42452012-05-20 Richard Henderson <rth@twiddle.net>
4246
4247 * misc/getauxval.c: New file.
4248 * misc/sys/auxv.h: New file.
4249 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4250 (routines): Add getauxval.
4251 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4252 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4253 * elf/dl-sysdep.c (_dl_auxv): Remove.
4254 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4255 * elf/dl-support.c (_dl_auxv): New variable.
4256 (_dl_aux_init): Initialize it.
4257 * manual/startup.texi (Auxiliary Vector): New node.
4258 * sysdeps/generic/bits/hwcap.h: New file.
4259 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4260 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4261 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4262 * sysdeps/sparc/sysdep.h: ... here. Include it.
4263 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4264 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4266 Update.
c7683a6d
RH
4267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4270 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4275
a6f1845d
AZ
42762012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4277
4278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4279
cbcbe830
DM
42802012-05-19 David S. Miller <davem@davemloft.net>
4281
4282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4283
e0b16cc2
JM
42842012-05-19 Joseph Myers <joseph@codesourcery.com>
4285
4286 [BZ #14123]
4287 * math/s_ccosh.c: Include <float.h>
4288 (__ccosh): Avoid internal overflow calculating sinh and cosh
4289 values before multiplying by sin and cos values.
4290 * math/s_ccoshf.c: Likewise.
4291 * math/s_ccoshl.c: Likewise.
4292 * math/s_csin.c: Likewise.
4293 * math/s_csinf.c: Likewise.
4294 * math/s_csinl.c: Likewise.
4295 * math/s_csinh.c: Likewise.
4296 * math/s_csinhf.c: Likewise.
4297 * math/s_csinhl.c: Likewise.
4298 * math/libm-test.inc (ccos_test): Add more tests.
4299 (ccosh_test): Likewise.
4300 (csin_test): Likewise.
4301 (csinh_test): Likewise.
4302 * sysdeps/i386/fpu/libm-test-ulps: Update.
4303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4304
6ad13e08
L
43052012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4306
f66f0ce8
L
4307 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4308 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4309
6ad13e08
L
4310 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4311
b1d072a7
JM
43122012-05-19 Joseph Myers <joseph@codesourcery.com>
4313
4314 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4315 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4316 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4317 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4318 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4319 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4320 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4321 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4322 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4323 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4324 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4325 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4326 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4327 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4328 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4329 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4330 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4331 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4332 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4333 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4334 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4335 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4336 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4337 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4338 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4339 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4340 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4341 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4342 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4343 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4344 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4345
9eae47cb
AJ
43462012-05-18 Andreas Jaeger <aj@suse.de>
4347
4348 * csu/.gitignore: Delete.
4349
bb07f69f
L
43502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4353 (timex): Use __syscall_slong_t.
4354
e6bdb741
AJ
43552012-05-18 Andreas Jaeger <aj@suse.de>
4356 Carlos O'Donell <carlos_odonell@mentor.com>
4357
4358 * manual/install.texi (Configuring and compiling): Update
4359 description about files modified in the source directory.
d6c33fda 4360 * INSTALL: Regenerated.
e6bdb741 4361
1b74487e
L
43622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4363
4364 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4365 value. Use "or" to set return value to -1.
4366 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4367 negate return value.
4368
a88b64b9
TMQMF
43692012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4370
4371 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4372 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4373 failure if the compiler has Graphite support disabled.
4374 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4375 Likewise.
4376 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4377 CFLAGS-memmove.c): Likewise.
4378 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4379 Likewise.
4380
3707636e
L
43812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4382
610b8622
L
4383 * sysdeps/x86_64/x32/_itoa.h: New file.
4384
7cd195df
L
4385 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4386 getdents system call only if kernel and user dirents have the
4387 same d_ino and d_off.
4388
94b07d20
L
4389 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4390 LLONG_MAX != LONG_MAX.
4391 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4392 (_fitoa_word): Likewise.
4393
18298070
L
4394 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4395 years.
4396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4397 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4398 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4399
553c7ea4
L
4400 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4401 include <bits/wordsize.h>. Check __x86_64__ instead of
4402 __WORDSIZE.
4403 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4404 if __x86_64__ is defined. Use anonymous union on fpstate.
4405
3707636e
L
4406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4407 anonymous union.
4408
b53ef01a
AS
44092012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4410
37fb1dc0
AS
4411 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4412 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4413 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4414 Refer to _rtld_local_ro instead of _rtld_global_ro.
4415 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4416 Likewise.
4417 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4418 Likewise.
4419 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4420 Likewise.
4421 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4422 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4423 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4424
b53ef01a
AS
4425 * sysdeps/powerpc/powerpc32/dl-machine.c
4426 (__elf_machine_runtime_setup) [PROF]: Don't reference
4427 _dl_prof_resolve.
4428
7a185db2
AJ
44292012-05-18 Andreas Jaeger <aj@suse.de>
4430
4431 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4432 function only available for GCCs before 3.4 since GCC 3.4
4433 introduced a builtin.
4434 (lrint): Likewise.
4435 (llrintf): Likewise.
4436 (llrint): Likewise.
4437 (fmaxf): Likewise.
4438 (fmax): Likewise.
4439 (fminf): Likewise.
4440 (fmin): Likewise.
4441 (rint): Likewise.
4442 (rintf): Likewise.
4443 (nearbyint): Likewise.
4444 (nearbyintf): Likewise.
4445 (ceil): Likewise.
4446 (ceilf): Likewise.
4447 (floor): Likewise.
4448 (floorf): Likewise.
4449
3e5aef87
L
44502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4451
428bd707
L
4452 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4453 on both fields and cast pointer to __syscall_ulong_t.
4454
3e5aef87
L
4455 * bits/types.h (__fsword_t): New type.
4456 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4457 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4459 (__FSWORD_T_TYPE): Likewise.
4460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4461 (__FSWORD_T_TYPE): Likewise.
4462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4463 (__FSWORD_T_TYPE): Likewise.
4464 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4465 (__FSWORD_T_TYPE): Likewise.
4466 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4467 __SWORD_TYPE with __fsword_t.
4468 (statfs64): Likewise.
4469
1ba7c3dc
DM
44702012-05-17 David S. Miller <davem@davemloft.net>
4471
4472 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4473
59910343
AJ
44742012-05-17 Andreas Jaeger <aj@suse.de>
4475
4476 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4477 warning.
4478
2e4c1e9e
L
44792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4480
4481 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4482
de7f5ce7
AJ
44832012-05-17 Andreas Jaeger <aj@suse.de>
4484
4485 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4486 when it is used.
4487
286abc3d
CM
44882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4489
4490 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4491
477cc68e
L
44922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4493
4494 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4495 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4496
1a0994f5
CD
44972012-05-17 Andreas Jaeger <aj@suse.de>
4498 Carlos O'Donell <carlos_odonell@mentor.com>
4499
4500 [BZ #14059]
4501 * sysdeps/x86_64/multiarch/init-arch.h
4502 (bit_YMM_Usable): Rename to...
4503 (bit_AVX_Usable): ... this.
4504 (bit_FMA4_Usable): New macro.
4505 (bit_XMM_state): New macro.
4506 (bit_YMM_state): New macro.
4507 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4508 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4509 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4510 (CPUID_OSXSAVE): New macro.
4511 (CPUID_AVX): New macro.
4512 (CPUID_FMA4): New macro.
4513 (index_YMM_Usable): Rename to...
4514 (index_AVX_Usable): ... this.
4515 (HAS_AVX): Use HAS_ARCH_FEATURE.
4516 (HAS_FMA4): Likewise.
4517 (HAS_YMM_USABLE): Remove.
4518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4519 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4520 are present.
4521 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4522 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4523 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4524 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4525 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4526
0af797de
CM
45272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4528
4529 * math/libm-test.c: Support platforms without multiple rounding modes.
4530 * math/bug-nextafter.c: Support platforms without FP exceptions.
4531 * math/bug-nexttoward.c: Likewise.
4532 * math/test-fenv.c: Likewise.
4533 * math/test-misc.c: Likewise.
4534 * stdlib/bug-getcontext.c: Likewise.
4535
e39745ff
AJ
45362012-05-17 Andreas Jaeger <aj@suse.de>
4537
4538 * manual/examples/search.c (critter_cmp): Change signature to
4539 avoid warnings.
4540 * manual/string.texi (Collation Functions): Likewise.
4541
48970aba
L
45422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4543
4544 * bits/types.h: Fold copyright years.
4545 * bits/typesizes.h: Likewise.
4546 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4547 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4550 * time/time.h: Likewise.
4551
bedee953
PP
45522012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4553
4554 [BZ #208]
4555 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4556 in instead of returning them. Return void.
4557 (__libc_mallinfo): Accumulate over all arenas.
4558 (__malloc_stats): Adjust for change in int_mallinfo interface.
4559
61653dfb
RM
45602012-05-16 Roland McGrath <roland@hack.frob.com>
4561
30b99d79
RM
4562 [BZ #10375]
4563 * configure.in (NM): Add AC_CHECK_TOOL for it.
4564 (libc_extra_cflags): New substituted variable.
4565 Check for -fstack-protector being used implicitly.
4566 * configure: Regenerated.
4567 * config.make.in (config-extra-cflags): New variable,
4568 gets @libc_extra_cflags@.
4569 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4570
61653dfb
RM
4571 [BZ #10375]
4572 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4573 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4574 * configure: Regenerated.
4575 * config.make.in (CPPUNDEFS): New substituted variable.
4576 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4577 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4578 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4579
661768bb
L
45802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4581
4582 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4583 (mq_attr): Use __syscall_slong_t.
4584
d4261567
L
45852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4586
4587 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4588 Check __x86_64__ instead of __WORDSIZE.
4589 (_STAT_VER_LINUX): Likewise.
4590 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4591 __syscall_ulong_t and __syscall_slong_t.
4592 (stat64): Likewise.
4593
cf3ff365
L
45942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4595
4596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4597
76cf3e4d
L
45982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4599
4600 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4601
a637753a
L
46022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4603
4604 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4605 __syscall_ulong_t.
4606
d5e05119
L
4607 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4608 include <bits/wordsize.h>. Check __x86_64__ instead of
4609 __WORDSIZE.
4610 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4611 defined.
4612 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4613
f62ee380
L
4614 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4615 include <bits/wordsize.h>. Check __x86_64__ instead of
4616 __WORDSIZE.
4617 (user_regs_struct): Use "__extension__ unsigned long long"
4618 instead of "unsigned long" if __x86_64__ is defined.
4619 (user): Likewise. Pad after pointer field if __ILP32__ is
4620 defined.
4621
4e124ced
JM
46222012-05-16 Joseph Myers <joseph@codesourcery.com>
4623
6a3951a0
JM
4624 * configure.in (makeinfo): Require version 4.5 or later. Allow
4625 versions 5 to 9.
4626 * configure: Regenerated.
4627 * manual/install.texi (texinfo): Increase version requirement to
4628 4.5 or later.
4629 * INSTALL: Regenerated.
4630
4e124ced
JM
4631 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4632
953ca31a
L
46332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4634
4635 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4636
617aca05
L
4637 * sysdeps/x86_64/x32/ffs.c: New file.
4638
5762f7ae
L
4639 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4640 __syscall_ulong_t.
4641 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4642 defined. Use __syscall_ulong_t.
4643 (shminfo): Use __syscall_ulong_t.
4644 (shm_info): Likewise.
4645
a26b6856
L
4646 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4647 __syscall_ulong_t.
4648
cb2b9ef7
L
4649 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4650 <bits/wordsize.h>.
4651 (msgqnum_t): Use __syscall_ulong_t.
4652 (msglen_t): Likewise.
4653 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4654 __syscall_ulong_t.
4655
34683bb0
L
4656 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4657 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4658
84a68786
L
4659 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4660
48baa5f1
L
4661 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4662 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4663
180be88b
L
4664 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4665 __syscall_slong_t.
4666
5e90c8ad
L
4667 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4668 include <bits/wordsize.h>. Check __x86_64__ instead of
4669 __WORDSIZE.
4670
23dfb58b
L
4671 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4672 "unsigned long long int" if __x86_64__ is defined.
4673 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4674
ce5d54b0
L
4675 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4676 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4677 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4678
13dc9eac
L
4679 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4680 <stdint.h>.
4681 (GET_PC): Cast to uintptr_t first.
4682 (GET_FRAME): Likewise.
4683 (GET_STACK): Likewise.
4684
a7895d15
L
4685 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4687 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4688 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4689 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4690 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4691 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4692 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4693 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4694 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4695 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4697 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4698 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4699 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4700 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4701 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4702 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4704 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4705 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4709 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4710 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4711 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4712 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4713 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4714
656416c9
AS
47152012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4716
5bd66283
AS
4717 * Makerules (+depfiles): Also collect depfiles from .oS in
4718 $(extra-objs).
4719 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4720 .oS, $(libnldbl-routines)).
4721
656416c9
AS
4722 * Makerules (native-compile-mkdep-flags): Define.
4723 * sunrpc/Makefile (extra-objs): Add $(addprefix
4724 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4725 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4726 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4727 calling $(make-target-directory).
4728
a46f2169
L
47292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4730
4731 * bits/types.h (__snseconds_t): Removed.
4732 * time/time.h (struct timespec): Replace __snseconds_t with
4733 __syscall_slong_t.
4734 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4735 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4736 Likewise.
4737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4738 (__SNSECONDS_T_TYPE): Likewise.
4739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4740 (__SNSECONDS_T_TYPE): Likewise.
4741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4742 (__SNSECONDS_T_TYPE): Likewise.
4743
6af6528b
L
47442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4745
4746 * sysdeps/mach/hurd/bits/typesizes.h
4747 (__SYSCALL_SLONG_TYPE): New macro.
4748 (__SYSCALL_ULONG_TYPE): Likewise.
4749
de986b56
L
47502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4751
4752 * bits/types.h (__syscall_slong_t): New type.
4753 (__syscall_ulong_t): Likewise.
4754
4755 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4756 (__SYSCALL_ULONG_TYPE): Likewise.
4757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4758 (__SYSCALL_SLONG_TYPE): Likewise.
4759 (__SYSCALL_ULONG_TYPE): Likewise.
4760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4761 (__SYSCALL_SLONG_TYPE): Likewise.
4762 (__SYSCALL_ULONG_TYPE): Likewise.
4763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4764 (__SYSCALL_SLONG_TYPE): Likewise.
4765 (__SYSCALL_ULONG_TYPE): Likewise.
4766
85736dc7
L
47672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4768
4769 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4770 Add sigaltstack-offsets.sym.
4771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4772 <sigaltstack-offsets.h>.
4773 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4774 longjmp_msg pointer.
4775 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4776 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4777 signal stack.
4778 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4779
cc03b296
JM
47802012-05-15 Joseph Myers <joseph@codesourcery.com>
4781
a9538892
JM
4782 * elf/stackguard-macros.h: Remove file.
4783 * sysdeps/generic/stackguard-macros.h: New file.
4784 * sysdeps/i386/stackguard-macros.h: Likewise.
4785 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4786 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4787 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4788 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4789 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4790 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4791 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4792 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4793 <elf/stackguard-macros.h>.
4794
cc03b296
JM
4795 [BZ #14109]
4796 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4797 __aligned__ in attribute.
4798 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4799 (gregset_t): Likewise.
4800
93171016
L
48012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4802
4803 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4804 * sysdeps/x86_64/64/Implies-after: Here. New file.
4805 * sysdeps/x86_64/x32/Implies-after: New file.
4806
d86813a0
L
48072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4808
4809 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4810 and access return value for _dl_profile_fixup. Use R10_LP to
4811 load frame size.
4812
2953ec75
L
48132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4814
4815 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4816
3b550e9e
L
48172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4818
4819 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4820 * sysdeps/x86_64/x32/sysdep.h: New file.
4821
eda41706
L
48222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4823
4824 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4825 * sysdeps/x86_64/setjmp.S: Likewise.
4826
9ea01d93
AZ
48272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4828
4829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4830 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4831 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4832 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4833 remove unused global constant.
4834
02a91938
CM
48352012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4836
4837 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4838 include of <not-cancel.h>.
4839
6540185f
RM
48402012-05-15 Roland McGrath <roland@hack.frob.com>
4841
4842 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4843
509072a0
AJ
48442012-05-15 Jeff Law <law@redhat.com>
4845 Andreas Jaeger <aj@suse.de>
4846
4847 [BZ #13594]
4848 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4849 out from...
4850 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4851 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4852 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4853 code changing __hst_map_handle.map.
4854
ba75122d
RM
48552012-05-15 Roland McGrath <roland@hack.frob.com>
4856
4857 * configure.in (sysnames): Look for Implies-before and Implies-after
4858 files.
4859 * configure: Regenerated.
4860
890d8bd8
L
48612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4862
4863 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4864 8-byte data alignment with LP_SIZE alignment.
4865
f6ee6623
L
48662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4867
4868 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4869 into R10_LP.
4870
ea2626f6
L
48712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4872
4873 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4874
085f715e
L
48752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4876
4877 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4878 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4879 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4880 Likewise.
4881 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4882
be8498fc
L
48832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4884
4885 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4886 (stackinfo_sub_sp): Likewise.
4887
70bc83b9
L
48882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4889
4890 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4891 RAX_LP.
4892
9bc0b730
L
48932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4894
4895 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4896 into R*_LP.
4897
6d2850e7
L
48982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4899
4900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4901 sizes into R*_LP.
4902
3cb84561
L
49032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4904
4905 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4906
54e2ed81
L
49072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4908
4909 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4910 into R11_LP and load __x86_64_shared_cache_size_half into
4911 R8_LP.
4912
8a17f349
L
49132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4914
4915 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4916 R8_LP.
4917
777b1eea
AZ
49182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4919
4920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4921 logb for POWER7.
4922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4923 logbf for POWER7.
4924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4925 logbl for POWER7.
4926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4927 powerpc32/power7/fpu/s_logb.c via #include.
4928 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4929 powerpc32/power7/fpu/s_logbf.c via #include.
4930 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4931 powerpc32/power7/fpu/s_logbl.c via #include.
4932
d20d4ac2
JM
49332012-05-15 Joseph Myers <joseph@codesourcery.com>
4934
4935 * README.libm: Remove file.
4936
6cdef1ab
L
49372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4938
4939 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4940 count for x32. Use R*_LP and omit operand-size suffix.
4941
0b254d8f
L
49422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4943
4944 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4945 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4946 * sysdeps/x86_64/x32/shlib-versions: New file.
4947
ceb809dc
RM
49482012-05-14 Roland McGrath <roland@hack.frob.com>
4949
4950 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4951 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4952 Use _dl_fatal_printf instead.
4953
37f1abd4
JM
49542012-05-14 Joseph Myers <joseph@codesourcery.com>
4955
4956 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4957 set if not set by the user. Do not allow for being unset.
4958 * sysdeps/unix/sysv/linux/configure: Regenerated.
4959
11de3a33
L
49602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4961
4962 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4963 the `q' suffix from lea and replace .quad with ASM_ADDR.
4964
e02f153a
L
49652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4966
4967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4968 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4969 instead of $17.
4970 (PTR_DEMANGLE): Likewise.
4971
520ae0fd
L
49722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4973
4974 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4975 (LP_OP): Likewise.
4976 (ASM_ADDR): Likewise.
4977 (RAX_LP): Likewise.
4978 (RBP_LP): Likewise.
4979 (RBX_LP): Likewise.
4980 (RCX_LP): Likewise.
4981 (RDI_LP): Likewise.
4982 (RSI_LP): Likewise.
4983 (RSP_LP): Likewise.
4984 (R8_LP): Likewise.
4985 (R9_LP): Likewise.
4986 (R10_LP): Likewise.
4987 (R10_LP): Likewise.
4988 (R11_LP): Likewise.
4989 (R12_LP): Likewise.
4990 (R13_LP): Likewise.
4991 (R14_LP): Likewise.
4992 (R15_LP): Likewise.
4993
b985be81
L
49942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4995
4996 * sysdeps/x86_64/x32/dl-machine.h: New file.
4997
6a4888ff
AJ
49982012-05-14 Andreas Jaeger <aj@suse.de>
4999
5000 * manual/Makefile (subdir): Remove export of subdir.
5001 (all): Remove target.
5002 (.PHONY): Remove all from list.
5003 (mkinstalldirs): Remove.
5004 (.PHONY): Remove installdirs from list.
5005 ($(inst_infodir)/libc.info): Use make-target-directory.
5006 (installdirs): Remove.
5007 (subdir_%): Remove.
5008 (glibc-targets): Remove.
5009 (lib): Remove.
5010 (stubs): Remove.
5011 ($(objpfx)stubs ../po/manual.pot): Remove.
5012 ($(objpfx)stamp%): Remove.
5013 (make-target-directory): Remove.
5014 (subdir_install): Remove.
5015 (routines): Remove.
5016 (aux): Remove.
5017 (sources): Remove.
5018 (objects): Remove.
5019 (headers): Remove.
5020
5021 [BZ #13750]
5022 * manual/.gitignore: Remove, it's not needed anymore.
5023 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
5024 all files in it.
5025 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
5026 directory.
5027 (texis): Renamed to $(objpfx)texis.
5028 (texis-path): New, contains path to generated files.
5029 (chapters.%): Use texis-path for complete path, add extra argument
5030 libc-texinfo.sh.
5031 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
5032 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
5033 (summary,texi, stamp-summary): Use complete path of
5034 files. Generate files in build dir.
5035 (dir-add.texi): Build in build dir.
5036 (libm-err.texi,stamp-libm-err): Likewise.
5037 (version.texi, stamp-version): Likewise.
5038 (.%c.texi): Likewise.
5039 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
5040 (mostlyclean): Remove target.
5041 (realclean): Remove target.
5042 (generated): Add new variable with contents from mostlyclean and
5043 realclean, remove entries duplicated in common-mostlyclean, add
5044 stamp-libm-err and stamp-version.
5045 (generated-dirs): Add libc directory.
5046 ($(inst_infodir)/libc.info): Install files from build dir.
5047
5048 * manual/install.texi (Configuring and compiling): Adjust since
5049 the info files are not part of the tar ball anymore.
5050
7ac77294
AJ
50512012-05-14 Andreas Jaeger <aj@suse.de>
5052
5053 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
5054 variable.
5055
ffb7875d
JM
50562012-05-14 Joseph Myers <joseph@codesourcery.com>
5057
5058 [BZ #13717]
5059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5060 to 2.2.0 where earlier.
5061 * sysdeps/unix/sysv/linux/configure: Regenerated.
5062 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
5063 Remove conditional code.
5064 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
5065 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
5066 Remove conditional code.
5067 [!__NR_lchown]: Likewise.
5068 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5069 [__NR_lchown]: Likewise.
5070 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
5071 comment referencing __ASSUME_LCHOWN_SYSCALL.
5072 * sysdeps/unix/sysv/linux/i386/sigaction.c
5073 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5074 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5075 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
5076 Remove conditional code.
5077 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
5078 (__protocol_available): Remove #if 0 code.
5079 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
5080 conditional code.
5081 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
5082 * sysdeps/unix/sysv/linux/kernel-features.h
5083 (__ASSUME_GETCWD_SYSCALL): Don't define.
5084 (__ASSUME_REALTIME_SIGNALS): Likewise.
5085 (__ASSUME_PREAD_SYSCALL): Likewise.
5086 (__ASSUME_PWRITE_SYSCALL): Likewise.
5087 (__ASSUME_POLL_SYSCALL): Likewise.
5088 (__ASSUME_LCHOWN_SYSCALL): Likewise.
5089 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
5090 non-SPARC.
5091 (__ASSUME_SIOCGIFNAME): Don't define.
5092 (__ASSUME_MSG_NOSIGNAL): Likewise.
5093 (__ASSUME_SENDFILE): Define unconditionally.
5094 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
5095 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
5096 conditional code.
5097 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
5098 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
5099 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5100 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5101 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
5102 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
5103 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
5105 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5108 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
5111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5114 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
5117 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5120 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5126 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5128 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5129 Remove conditional code.
5130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5131 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5132 Remove conditional code.
5133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5134 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5135 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5136 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5137 Remove conditional code.
5138 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5139 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5140 Remove conditional code.
5141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5142 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5143 Remove conditional code.
5144 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5145 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5146 Remove conditional code.
5147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5148 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5149 Remove conditional code.
5150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5151 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5154 * sysdeps/unix/sysv/linux/sigaction.c
5155 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5156 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5157 * sysdeps/unix/sysv/linux/sigpending.c
5158 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5159 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5160 * sysdeps/unix/sysv/linux/sigprocmask.c
5161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5163 * sysdeps/unix/sysv/linux/sigsuspend.c
5164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5166 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5167 (__libc_missing_rt_sigs): Remove.
5168 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5169 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5170 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5171 Remove conditional code.
5172 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5173 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5174 return 1.
5175 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5176 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5177 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5178 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5179
1bfb7291
AJ
51802012-05-14 Andreas Jaeger <aj@suse.de>
5181
caae5a81
AJ
5182 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5183 it's not used in glibc.
5184 (__coshm1): Likewise.
5185 (__acosh1p): Likewise.
5186 (__sgn): Likewise.
5187
1bfb7291
AJ
5188 * manual/string.texi (Copying and Concatenation): Add missing
5189 variable in concat example.
5190 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5191
c044d724
L
51922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5193
144c5467 5194 [BZ #14103]
c044d724
L
5195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5196 __builtin_clzl with __builtin_clzll.
5197
2523c62b
L
51982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5199
5200 [BZ #14104]
5201 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5202 libc_freeres_ptr.
5203
d7bb4c42
LD
52042012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5205
5206 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5207 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5208 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5209 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5210
9dc4e1fb
MF
52112012-05-14 Mike Frysinger <vapier@gentoo.org>
5212
5213 * NEWS: Update ia64 info.
5214
c7df0112
AS
52152012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5216
5217 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5218 used as bcopy.
5219
dc70356c
TS
52202012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5221
5222 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5223 * sysdeps/unix/syscalls.list (dup3): Likewise.
5224 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5225 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5226
9fb1a21f
L
52272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5228
5229 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5230 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5231
4822a2a5
L
52322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5233
5234 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5235 thread pointer.
5236 (TLS_IE): Use mov/add instead of movq/addq to load thread
5237 pointer.
5238 (TLS_GD_PREFIX): New.
5239 (TLS_GD): Use it.
5240
842b81d6
DM
52412012-05-11 David S. Miller <davem@davemloft.net>
5242
5243 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5244 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5245 (_FPU_SETCW): Likewise.
5246
1cf463cd
L
52472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5248
5249 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5250 is 32-byte aligned.
5251
60cc4a18
AS
52522012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5253
5254 [BZ #11837]
5255 * iconvdata/gb18030.c: Update tables.
5256 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5257 characters specially.
5258 (BODY for TO_LOOP): Add encoding of missing ranges.
5259
febb44a4
TS
52602012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5261
5262 [BZ #13673]
5263 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5264 * sysdeps/mach/hurd/dup3.c: Likewise.
5265 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5266 * sysdeps/powerpc/memmove.c:: Likewise.
5267
0a10fb9e
L
52682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5269
5270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5271 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5272
df8a552f
L
52732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5274
5275 * elf/elf.h (R_X86_64_RELATIVE64): New.
5276 (R_X86_64_NUM): Updated.
5277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5278 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5279 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5280 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5281 tst-quad1pie tst-quad2pie
5282 (modules-names): Add tst-quadmod1 tst-quadmod2.
5283 ($(objpfx)tst-quad1): New dependency.
5284 ($(objpfx)tst-quad2): Likewise.
5285 ($(objpfx)tst-quad1pie): Likewise.
5286 ($(objpfx)tst-quad2pie): Likewise.
5287 * sysdeps/x86_64/tst-quad1.c: New file.
5288 * sysdeps/x86_64/tst-quad1pie.c: New file.
5289 * sysdeps/x86_64/tst-quad2.c: Likewise.
5290 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5291 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5292 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5293 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5294 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5295
f34d6f84
ST
52962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5297
f42d41d1
ST
5298 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5299 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5300 * streams/stropts.h (t_scalar_t): Define type.
5301
3c3571fc
ST
5302 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5303 (_PATH_PRESERVE): Set to "/var/lib".
5304 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5305
61f06bd3
ST
5306 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5307 instead of int.
5308
918d4d71
ST
5309 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5310 if __dir_mkfile succeeded.
5311
f34d6f84
ST
5312 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5313 checking for _hurd_dtablesize. Unlock it right after having
5314 finished _hurd_dtable allocation.
5315
10589b4a
TS
53162012-05-10 Thomas Schwinge <thomas@schwinge.name>
5317
674cdbc7
TS
5318 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5319 * sysdeps/mach/hurd/configure: Regenerated.
5320 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5321 special-casing to...
5322 * sysdeps/gnu/configure.in: ... this new file.
5323 * sysdeps/unix/sysv/linux/configure: Regenerated.
5324 * sysdeps/gnu/configure: New generated file.
5325
8e41b99f
TS
5326 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5327 for Linux: use nsec instead of usec, as well as:
5328 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5329 members of type struct timespec.
5330 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5331 New macros.
5332 (struct stat64): Likewise.
5333 (_STATBUF_ST_NSEC): New macro.
5334 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5335
10589b4a
TS
5336 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5337 __strtoul_internal rather than strtoul.
5338
63643c85
PT
53392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5340
5341 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5342 and reject them.
5343
3faebe6a
ST
53442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5345
5346 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5347 which preserves existing values.
5348 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5349
c6474b07
PT
53502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5351
5352 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5353 TIMEOUT values. Return EINVAL for NFDS values either negative or
5354 greater than FD_SETSIZE.
5355
1043890b
ST
53562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5357
5358 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5359 allocated, call __vm_protect to finish enabling the existing space, and
5360 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5361 allocate the remainder.
5362
37ed8b9b
PT
53632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5364
5365 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5366 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5367
db653660
ST
53682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5369
37ed8b9b
PT
5370 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5371 sysdeps/mach/hurd/readlink.c.
b29d4053 5372
db653660
ST
5373 * posix/tst-sysconf.c (posix_options): Only use
5374 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5375 _POSIX_SYNCHRONIZED_IO when they are defined
5376 * sysdeps/mach/hurd/bits/posix_opt.h:
5377 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5378 (_XOPEN_REALTIME): Undefine macro.
5379 (_XOPEN_REALTIME_THREADS): Undefine macro.
5380 (_XOPEN_SHM): Undefine macro.
5381 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5382 macro to -1.
5383 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5384 macro to -1.
5385 (_POSIX_ASYNC_IO): Undefine macro.
5386 (_POSIX_PRIORITIZED_IO): Undefine macro.
5387 (_POSIX_SPIN_LOCKS): Define macro to -1.
5388
ee16e894
ST
5389 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5390 SA_NODEFER, SA_RESETHAND.
5391 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5392 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5393 F_DUPFD_CLOEXEC.
5394
6103ae3b
TS
53952012-05-10 Thomas Schwinge <thomas@schwinge.name>
5396
5397 * elf/Makefile (pldd-modules): Define unconditionally.
5398
80b4e5f3
TS
53992012-05-10 Thomas Schwinge <thomas@schwinge.name>
5400
5401 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5402
edadcbd6
ST
54032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5404
5405 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5406 Return ENOENT when name is empty.
5407 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5408
80694780
TS
54092012-05-10 Thomas Schwinge <thomas@schwinge.name>
5410
1792c087
TS
5411 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5412
80694780
TS
5413 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5414
6b645f0d
ST
54152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5416
80694780
TS
5417 Fix mlock in all cases except non-readable pages.
5418 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5419 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 5420
6b645f0d
ST
5421 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5422 (__mkdir): When path is `/', just fail with EEXIST.
5423 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5424
e468f8a3
TS
54252012-05-10 Thomas Schwinge <thomas@schwinge.name>
5426
5427 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5428 <sys/uio.h> (for writev).
5429 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5430 and <sys/param.h> (for MIN).
5431
a4186cff
PT
54322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5433
5434 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5435 REQUESTED_TIME. Properly set the remaining time and return EINTR
5436 if interrupted.
5437
510bbf14
TS
54382012-05-10 Thomas Schwinge <thomas@schwinge.name>
5439
5440 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5441 Depend on against $(link-rpcuserlibs).
5442
5d5722e8
ST
54432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5444
a4186cff
PT
5445 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5446 (__libc_stack_end): Do not use attribute_relro.
5447 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5448 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 5449 to libthread-provided value.
a4186cff
PT
5450 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5451 attribute_relro.
5d5722e8 5452
37233df9
TS
54532012-05-10 Thomas Schwinge <thomas@schwinge.name>
5454
be971a2b
TS
5455 [BZ #3748]
5456 * bits/libc-lock.h (__libc_once_get): New macro.
5457 * sysdeps/mach/bits/libc-lock.h: Likewise.
5458 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5460 instead of using implementation details.
5461
37233df9
TS
5462 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5463 * libio/freopen.c: Likewise.
5464 * libio/freopen64.c: Likewise.
5465 * misc/syslog.c: Likewise.
5466 * nscd/connections.c: Likewise.
5467 * nscd/netgroupcache.c: Likewise.
5468 * sysdeps/posix/getcwd.c: Likewise.
5469
38de94a5
RM
54702012-05-10 Roland McGrath <roland@hack.frob.com>
5471
5472 * math/w_ilogbf.c: Add #include <limits.h>.
5473
67530489
ST
54742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5475
a4186cff 5476 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
5477 path instead of returning without unlocking.
5478
67530489
ST
5479 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5480 immediate-write ioctls.
5481 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5482
5aa3a74a
TS
54832012-05-10 Thomas Schwinge <thomas@schwinge.name>
5484
18bad2ae
TS
5485 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5486 __builtin_frame_address instead of making assumptions about the
5487 location of the return address relative to DATA. Force early load of
5488 the return address.
5489 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5490 __builtin_frame_address.
5491
5aa3a74a
TS
5492 dup3 for GNU Hurd.
5493 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5494 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5495 implement dup3 and do some further code clean-ups.
5496 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5497 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5498
ecd0de9a
ST
54992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5500
cd9fa985
ST
5501 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5502
a4186cff
PT
5503 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5504 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5505 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5506 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5507 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5508 d->port.lock.
802ca5a5 5509
a4186cff
PT
5510 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5511 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5512 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 5513
bcf55240
TS
55142012-05-10 Thomas Schwinge <thomas@schwinge.name>
5515
6960eb42
TS
5516 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5517 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5518 definitions.
5519
eb43375f
TS
5520 accept4 for GNU Hurd.
5521 * include/sys/socket.h (__libc_accept4): New prototype.
5522 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5523 to implement __libc_accept4.
5524 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5525 __libc_accept4.
5526 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5527
bcf55240
TS
5528 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5529 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5530 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5531 signal-defines.sym.
5532
6178c55b
ST
55332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5534
a4186cff 5535 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 5536
6f080c2f
TS
55372012-05-10 Thomas Schwinge <thomas@schwinge.name>
5538
5539 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5540 assertion on O_CLOEXEC flag.
5541 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5542 * hurd/intern-fd.c: Likewise.
5543 * hurd/port2fd.c: Likewise.
5544
bcfe3a54
ST
55452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5546
5547 [BZ #3906]
5548 * bits/in.h (IPV6_PKTINFO): Define new macro.
5549 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5550
89c9aa49
AZ
55512012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552
5553 [BZ #13954]
5554 [BZ #13955]
5555 [BZ #13956]
5556 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5557 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5558 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5559 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5561 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5562 * math/libm-test.inc (logb_test) : Additional logb tests.
5563
021db4be
AJ
55642012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5565 Andreas Jaeger <aj@suse.de>
5566
5567 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5568 * configure: Regenerated.
5569 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5570 * config.make.in (link-obsolete-rpc): New substituted variable.
5571 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5572 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5573 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5574 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5575 so that libc.a contains the symbols.
5576 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5577 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5578 * sunrpc/auth_none.c: Likewise.
5579 * sunrpc/auth_unix.c: Likewise.
5580 * sunrpc/authdes_prot.c: Likewise.
5581 * sunrpc/authuxprot.c: Likewise.
5582 * sunrpc/clnt_gen.c: Likewise.
5583 * sunrpc/clnt_perr.c: Likewise.
5584 * sunrpc/clnt_raw.c: Likewise.
5585 * sunrpc/clnt_simp.c: Likewise.
5586 * sunrpc/clnt_tcp.c: Likewise.
5587 * sunrpc/clnt_udp.c: Likewise.
5588 * sunrpc/clnt_unix.c: Likewise.
5589 * sunrpc/des_crypt.c: Likewise.
5590 * sunrpc/des_soft.c: Likewise.
5591 * sunrpc/get_myaddr.c: Likewise.
5592 * sunrpc/key_call.c: Likewise.
5593 * sunrpc/key_prot.c: Likewise.
5594 * sunrpc/netname.c: Likewise.
5595 * sunrpc/pm_getmaps.c: Likewise.
5596 * sunrpc/pm_getport.c: Likewise.
5597 * sunrpc/pmap_clnt.c: Likewise.
5598 * sunrpc/pmap_prot.c: Likewise.
5599 * sunrpc/pmap_prot2.c: Likewise.
5600 * sunrpc/pmap_rmt.c: Likewise.
5601 * sunrpc/publickey.c: Likewise.
5602 * sunrpc/rpc_cmsg.c: Likewise.
5603 * sunrpc/rpc_common.c: Likewise.
5604 * sunrpc/rpc_dtable.c: Likewise.
5605 * sunrpc/rpc_prot.c: Likewise.
5606 * sunrpc/rpc_thread.c: Likewise.
5607 * sunrpc/rtime.c: Likewise.
5608 * sunrpc/svc.c: Likewise.
5609 * sunrpc/svc_auth.c: Likewise.
5610 * sunrpc/svc_raw.c: Likewise.
5611 * sunrpc/svc_run.c: Likewise.
5612 * sunrpc/svc_tcp.c: Likewise.
5613 * sunrpc/svc_udp.c: Likewise.
5614 * sunrpc/svc_unix.c: Likewise.
5615 * sunrpc/svcauth_des.c: Likewise.
5616 * sunrpc/xcrypt.c: Likewise.
5617 * sunrpc/xdr.c: Likewise.
5618 * sunrpc/xdr_array.c: Likewise.
5619 * sunrpc/xdr_float.c: Likewise.
5620 * sunrpc/xdr_intXX_t.c: Likewise.
5621 * sunrpc/xdr_mem.c: Likewise.
5622 * sunrpc/xdr_rec.c: Likewise.
5623 * sunrpc/xdr_ref.c: Likewise.
5624 * sunrpc/xdr_sizeof.c: Likewise.
5625 * sunrpc/xdr_stdio.c: Likewise.
5626
b5c086a2
RM
56272012-05-10 Roland McGrath <roland@hack.frob.com>
5628
5629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5630 change. Update copyright years.
5631
6d74dd09
JM
56322012-05-10 Joseph Myers <joseph@codesourcery.com>
5633
5634 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5635
28e72501
MK
56362012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5637 Joseph Myers <joseph@codesourcery.com>
5638 Paul Pluzhnikov <ppluzhnikov@google.com>
5639
5640 [BZ #14012]
5641 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5642 requiring rpcgen.
5643 [cross-compiling] (extra-libs): Likewise.
5644 [cross-compiling] (extra-libs-others): Likewise.
5645 [cross-compiling] (librpcsvc-routines): Likewise.
5646 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5647 [cross-compiling] (omit-deps): Likewise.
5648 (sunrpc-CPPFLAGS): New variable.
5649 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5650 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5651 (cross-rpcgen-objs): New variable.
5652 (extra-objs): Append $(cross-rpcgen-objs).
5653 ($(cross-rpcgen-objs)): New rule.
5654 ($(objpfx)cross-rpcgen): Likewise.
5655 (rpcgen-cmd): Define to use $(built-program-file). Expand
5656 comment.
5657 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5658 ($(objpfx)x%.stmp): Likewise.
5659 * sunrpc/proto.h [IS_IN_build] (_): Define.
5660 [IS_IN_build] (_libc_intl_domainname): Likewise.
5661
c8c59454
L
56622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5663
5664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5665 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5666 and R_X86_64_TPOFF64.
5667
6f27cd16
JM
56682012-05-10 Joseph Myers <joseph@codesourcery.com>
5669
5670 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5671 sysdeps/unix/sysv/syscalls.list.
5672 (stime): Likewise.
5673 (utime): Likewise.
5674 * sysdeps/unix/sysv/syscalls.list: Remove file.
5675
02467e1c
PE
56762012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5677
5678 [BZ #3440]
5679 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5680 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5681 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5682 (__LC_IDENTIFICATION): Make these macros useful in #if
5683 expressions, as required by C99.
5684
da392631
AS
56852012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5686
5687 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5688 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5689 after this.
5690
8115f29b
L
56912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5692
5693 * stdlib/longlong.h: Updated from GCC.
5694
bdd74070
AJ
56952012-05-09 Andreas Jaeger <aj@suse.de>
5696
edfe0dbe
AJ
5697 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5698 default is first entry.
5699 (run_mode): Set type.
5700 (main): Remove informal message about syslog.
5701 (options): Fix typo.
5702
bcfe3a54
ST
5703 [BZ #14053]
5704 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 5705 to asm.
bcfe3a54
ST
5706 (lrint): Likewise.
5707 (llrintf): Likewise.
5708 (llrint): Likewise.
5709 (rint): Likewise.
5710 (rintf): Likewise.
5711 (nearbyint): Likewise.
5712 (nearbyintf): Likewise.
bdd74070 5713
91d8d69e
AJ
57142012-05-09 Andreas Jaeger <aj@suse.de>
5715 Pedro Alves <palves@redhat.com>
5716
5717 * nscd/nscd.c (run_mode): Use enum.
5718 (main): Cleanup coding style issue.
5719
bb90b80b
AJ
57202012-05-09 Alexandre Oliva <aoliva@redhat.com>
5721 Andreas Jaeger <aj@suse.de>
5722
bcfe3a54
ST
5723 * nscd/nscd.c (go_background): Replaced with...
5724 (run_mode): ... this.
bb90b80b 5725 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
5726 (options): Add -F --foreground.
5727 (main): Implement it.
5728 (parse_opt): Parse it.
bb90b80b 5729
1a4b75a1
AJ
57302012-05-09 Andreas Jaeger <aj@suse.de>
5731
5732 [BZ #14083]
5733 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5734 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5735 -Wconversion warning.
5736 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5737 Likewise.
5738
b1cc2472
JM
57392012-05-09 Joseph Myers <joseph@codesourcery.com>
5740
5741 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5742 == 0.
5743 (LC_ALL): Use macro-int-constant.
5744 (LC_COLLATE): Likewise.
5745 (LC_CTYPE): Likewise.
5746 (LC_MESSAGES): Likewise.
5747 (LC_MONETARY): Likewise.
5748 (LC_NUMERIC): Likewise.
5749 (LC_TIME): Likewise.
5750 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5751 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5753 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5754 Specify type.
5755 [C99-based standards] (float_t): Expect type.
5756 [C99-based standards] (double_t): Expect type.
5757 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5758 type.
5759 [C99-based standards] (HUGE_VALL): Likewise.
5760 [C99-based standards] (INFINITY): Likewise.
5761 [C99-based standards] (NAN): Likewise.
5762 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5763 [C99-based standards] (FP_NAN): Likewise.
5764 [C99-based standards] (FP_NORMAL): Likewise.
5765 [C99-based standards] (FP_SUBNORMAL): Likewise.
5766 [C99-based standards] (FP_ZERO): Likewise.
5767 [C99-based standards] (FP_FAST_FMA): Use
5768 optional-macro-int-constant. Specify type. Require == 1.
5769 [C99-based standards] (FP_FAST_FMAF): Likewise.
5770 [C99-based standards] (FP_FAST_FMAL): Likewise.
5771 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5772 [C99-based standards] (FP_ILOGBNAN): Likewise.
5773 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5774 Specify type.
5775 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5776 [C99-based standards] (math_errhandling): Specify type.
5777 [ISO99 || ISO11] (signgam): Do not allow.
5778 [non-C99-based standards] (copysignf): Do not allow.
5779 [non-C99-based standards] (exp2f): Likewise.
5780 [non-C99-based standards] (log2f): Likewise.
5781 [non-C99-based standards] (modff): Allow.
5782 [non-C99-based standards] (erff): Do not allow.
5783 [non-C99-based standards] (erfcf): Likewise.
5784 [non-C99-based standards] (gammaf): Likewise.
5785 [non-C99-based standards] (hypotf): Likewise.
5786 [non-C99-based standards] (j0f): Likewise.
5787 [non-C99-based standards] (j1f): Likewise.
5788 [non-C99-based standards] (jnf): Likewise.
5789 [non-C99-based standards] (lgammaf): Likewise.
5790 [non-C99-based standards] (tgammaf): Likewise.
5791 [non-C99-based standards] (y0f): Likewise.
5792 [non-C99-based standards] (y1f): Likewise.
5793 [non-C99-based standards] (ynf): Likewise.
5794 [non-C99-based standards] (isnanf): Likewise.
5795 [non-C99-based standards] (acoshf): Likewise.
5796 [non-C99-based standards] (asinhf): Likewise.
5797 [non-C99-based standards] (atanhf): Likewise.
5798 [non-C99-based standards] (cbrtf): Likewise.
5799 [non-C99-based standards] (expm1f): Likewise.
5800 [non-C99-based standards] (ilogbf): Likewise.
5801 [non-C99-based standards] (log1pf): Likewise.
5802 [non-C99-based standards] (logbf): Likewise.
5803 [non-C99-based standards] (nextafterf): Likewise.
5804 [non-C99-based standards] (remainderf): Likewise.
5805 [non-C99-based standards] (rintf): Likewise.
5806 [non-C99-based standards] (scalbf): Likewise.
5807 [non-C99-based standards] (copysignl): Likewise.
5808 [non-C99-based standards] (exp2l): Likewise.
5809 [non-C99-based standards] (log2l): Likewise.
5810 [non-C99-based standards] (modfl): Allow.
5811 [non-C99-based standards] (erfl): Do not allow.
5812 [non-C99-based standards] (erfcl): Likewise.
5813 [non-C99-based standards] (gammal): Likewise.
5814 [non-C99-based standards] (hypotl): Likewise.
5815 [non-C99-based standards] (j0l): Likewise.
5816 [non-C99-based standards] (j1l): Likewise.
5817 [non-C99-based standards] (jnl): Likewise.
5818 [non-C99-based standards] (lgammal): Likewise.
5819 [non-C99-based standards] (tgammal): Likewise.
5820 [non-C99-based standards] (y0l): Likewise.
5821 [non-C99-based standards] (y1l): Likewise.
5822 [non-C99-based standards] (ynl): Likewise.
5823 [non-C99-based standards] (isnanl): Likewise.
5824 [non-C99-based standards] (acoshl): Likewise.
5825 [non-C99-based standards] (asinhl): Likewise.
5826 [non-C99-based standards] (atanhl): Likewise.
5827 [non-C99-based standards] (cbrtl): Likewise.
5828 [non-C99-based standards] (expm1l): Likewise.
5829 [non-C99-based standards] (ilogbl): Likewise.
5830 [non-C99-based standards] (log1pl): Likewise.
5831 [non-C99-based standards] (logbl): Likewise.
5832 [non-C99-based standards] (nextafterl): Likewise.
5833 [non-C99-based standards] (remainderl): Likewise.
5834 [non-C99-based standards] (rintl): Likewise.
5835 [non-C99-based standards] (scalbl): Likewise.
5836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5837 [non-C99-based standards] (FP_*): Do not allow.
5838 [C99-based standards] (FP_*): Change to
5839 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5840 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5841 allow.
5842 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5843 (SIG_ERR): Likewise.
5844 [X/Open-based standards] (SIG_HOLD): Likewise.
5845 (SIG_IGN): Likewise.
5846 (SIGABRT): Use macro-int-constant. Specify type. Require
5847 positive value.
5848 (SIGFPE): Likewise.
5849 (SIGILL): Likewise.
5850 (SIGINT): Likewise.
5851 (SIGSEGV): Likewise.
5852 (SIGTER): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5854 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5855 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5859 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5860 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5861 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5862 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5867 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5868 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5869 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5870 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5871 [X/Open-based standards] (SIGTRAP): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5874 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5875 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5876 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5877 allow.
5878
b9f1922d
IW
58792012-05-08 Ian Wienand <ianw@vmware.com>
5880
5881 [BZ #14080]
5882 * time/tzset.c (__tzset_parse_tz): Update default rules for
5883 daylight time changes in the Energy Policy Act of 2005.
5884
1db86e88
AJ
58852012-05-09 Andreas Jaeger <aj@suse.de>
5886
5887 [BZ #13983]
5888 * elf/ldconfig.c (parse_conf): Change string to make clear that
5889 ldconfig only issued a warning if ld.so.conf does not exist.
5890
dee4a4e3
DM
58912012-05-08 David S. Miller <davem@davemloft.net>
5892
ee0db190
DM
5893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5894 movxtod instead of popping the value on the stack.
5895
dee4a4e3
DM
5896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5897
6a43ec98
CD
58982012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5899
5900 * config.h.in: Add HAVE_ARM_PCS_VFP.
5901
05c2c961
RMG
59022012-05-08 Roland Mc Grath <roland@hack.frob.com>
5903
bcfe3a54
ST
5904 [BZ #13979]
5905 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5906 checking but the checks are disabled for any reason.
05c2c961 5907
4b30f61a
L
59082012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5911 and ELF64_R_TYPE with ELFW(R_TYPE).
5912
eee2bc67
JM
59132012-05-08 Joseph Myers <joseph@codesourcery.com>
5914
7ea5391a
JM
5915 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5916 (ulimit): Likewise.
5917
eee2bc67
JM
5918 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5919 (settimeofday): Likewise.
5920
abb66a67
MF
59212012-05-08 Mike Frysinger <vapier@gentoo.org>
5922
5923 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5924 a struct th_u2 inside the union, and move tu_block/tu_code into
5925 a new th_u3 union of tu_block/tu_code inside of that. Move
5926 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5927 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5928 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5929 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5930 (th_stuff): Change to th_u1.tu_stuff.
5931 (th_data): Define.
5932 (th_msg): Change to th_u1.th_u2.tu_data.
5933
7f18b530
DM
59342012-05-07 David S. Miller <davem@davemloft.net>
5935
05760585
DM
5936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5937
7f18b530
DM
5938 [BZ #14074]
5939 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5940 (SETUP_PIC_REG): Use it.
5941 (SETUP_PIC_REG_LEAF): Use it.
5942
495fd99f
JM
59432012-05-07 Joseph Myers <joseph@codesourcery.com>
5944
5945 [BZ #13885]
5946 [BZ #13923]
5947 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5948 USE_AS_EXPM1L.
5949 (EXPL_FINITE): Likewise.
5950 (FLDLOG): Likewise.
5951 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5952 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5953 e_expl.S.
5954 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5955 USE_AS_EXPM1L.
5956 (EXPL_FINITE): Likewise.
5957 (FLDLOG): Likewise.
5958 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5959 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5960 e_expl.S.
5961 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5962 test of -max_value argument for long double.
5963 * sysdeps/i386/fpu/libm-test-ulps: Update.
5964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5965
6693d694
DM
59662012-05-06 David S. Miller <davem@davemloft.net>
5967
5968 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5969 quad soft-float symbols whose references which are compiler
5970 generated.
5971 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5972
6c23e11c
JM
59732012-05-06 Joseph Myers <joseph@codesourcery.com>
5974
d8b82cad
JM
5975 [BZ #13884]
5976 [BZ #13914]
5977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5978 USE_AS_EXP10L.
5979 (EXPL_FINITE): Likewise.
5980 (FLDLOG): Likewise.
5981 (c0): Likewise.
5982 (c1): Likewise.
5983 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5984 Adjust comments for base varying.
5985 (__expl_finite): Change alias to EXPL_FINITE.
5986 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5987 e_expl.S.
5988 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5989 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5990 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5991 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5992 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5993 USE_AS_EXP10L.
5994 (EXPL_FINITE): Likewise.
5995 (FLDLOG): Likewise.
5996 (c0): Likewise.
5997 (c1): Likewise.
5998 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5999 Adjust comments for base varying.
6000 (__expl_finite): Change alias to EXPL_FINITE.
6001 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
6002 tests for bugs.
6003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6004
6c23e11c
JM
6005 [BZ #14064]
6006 * math/libm-test.inc (check_float_internal): Correct ulp
6007 calculation for subnormal expected results.
6008
29ba805c
AJ
60092012-05-06 Andreas Jaeger <aj@suse.de>
6010
6011 * Makeconfig (+math-flags): New, set to -frounding-math.
6012 (+cflags): Add +math-flags so that all of glibc gets compiled with
6013 it.
6014
6015 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
6016
7b17aeda
JM
60172012-05-05 Joseph Myers <joseph@codesourcery.com>
6018
5779f134
JM
6019 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
6020 Disable one test.
6021
41498f4d
JM
6022 [BZ #13787]
6023 [BZ #13922]
6024 [BZ #14036]
6025 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
6026 (__ieee754_expl): Allow for and saturate large arguments.
6027 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
6028 (u_threshold): Likewise.
6029 (__exp): Call __ieee754_exp before checking for overflow and
6030 underflow.
6031 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
6032 (u_threshold): Likewise.
6033 (__expf): Call __ieee754_expf before checking for overflow and
6034 underflow.
6035 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
6036 (u_threshold): Likewise.
6037 (__expl): Call __ieee754_expl before checking for overflow and
6038 underflow.
6039 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
6040 (__ieee754_expl): Allow for and saturate large arguments.
6041 * math/libm-test.inc (exp_test): Add another test. Do not allow
6042 missing overflow exception on overflow.
6043 (expm1_test): Do not allow missing overflow exception on overflow.
6044
6698b8bf
JM
6045 * sysdeps/i386/fpu/e_expl.c: Move to ...
6046 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
6047 rather than using inline asm.
6048 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
6049 * sysdeps/x86_64/fpu/e_expl.S: Copy from
6050 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
6051
7b17aeda
JM
6052 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
6053 (nice): Likewise.
6054 (poll): Likewise.
6055 (signal): Likewise.
6056 (time): Likewise.
6057 (times): Likewise.
6058
f7c85819
JM
60592012-05-04 Joseph Myers <joseph@codesourcery.com>
6060
6061 * sysdeps/unix/syscalls.list (adjtime): Add entry from
6062 sysdeps/unix/common/syscalls.list.
6063 (fchmod): Likewise.
6064 (fchown): Likewise.
6065 (ftruncate): Likewise.
6066 (getrusage): Likewise.
6067 (gettimeofday): Likewise.
6068 (setpgid): Likewise.
6069 (setregid): Likewise.
6070 (setreuid): Likewise.
6071 (sigaction): Likewise.
6072 (truncate): Likewise.
6073 (vhangup): Likewise.
6074 * sysdeps/unix/common/syscalls.list: Remove file.
6075 * sysdeps/unix/bsd/Implies: Don't include unix/common.
6076 * sysdeps/unix/sysv/linux/Implies: Likewise.
6077
336270d0
L
60782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
6079
6080 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
6081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
6082 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6083 Moved to ...
6084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6085 Here.
6086 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
6087 to ...
6088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
6089 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
6090 to ...
6091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
6092 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
6093 to ...
6094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
6095 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
6096 to ...
6097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
6098 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
6099 to ...
6100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
6101 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
6102 to ...
6103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
6104 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
6105 to ...
6106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6107 Here.
6108 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
6109 to ...
6110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
6111 Here.
6112 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
6113 to ...
6114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
6115 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
6116 Moved to ...
6117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
6118 Here.
6119 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6120 to ...
6121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6122
d128e450
JM
61232012-05-04 Joseph Myers <joseph@codesourcery.com>
6124
fa8ee516
JM
6125 * sysdeps/unix/common/bits/dirent.h: Remove file.
6126 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6127
d128e450
JM
6128 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6129 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6130 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6131 * sysdeps/unix/bsd/isatty.c: Likewise.
6132 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6133 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6134 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6135
ff8faaf0 61362012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 6137
62881be4 6138 [BZ #13563]
31dc8730
AZ
6139 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6140 long double comparison inaccuracies.
6141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6143
6fef930c
AS
61442012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6145
6146 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6147 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6148
8f203e6c
JM
61492012-05-04 Joseph Myers <joseph@codesourcery.com>
6150
6151 [BZ #14049]
6152 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6153 nonzero digits before rounding a hex value.
6154 * stdlib/tst-strtod.c (tests): Add another test.
6155
5197d9c2
AK
61562012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6157
6158 * sysdeps/s390/fpu/libm-test-ulps: Update.
6159
f0c1dedf
AJ
61602012-05-03 Andreas Jaeger <aj@suse.de>
6161
6162 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6163 does not get optimized out.
6164 (malloc_opt_barrier): New.
6165
a65ef2ae 61662012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 6167 Roland McGrath <roland@hack.frob.com>
a65ef2ae 6168
2b942cb7 6169 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 6170 intermediate file deletion.
2b942cb7 6171 (generated): Add .symlist files.
a65ef2ae 6172
54b71e02
JM
61732012-05-03 Joseph Myers <joseph@codesourcery.com>
6174
6175 [BZ #13775]
6176 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6177 Redirect under this condition.
6178 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6179 [__USE_GNU] (__dprintf_chk): Not under this condition.
6180 [__USE_GNU] (__vdprintf_chk): Likewise.
6181 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6182 under this condition.
6183 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6184 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6185 [__USE_XOPEN2K8] (vdprintf): Likewise.
6186 [__USE_GNU] (__dprintf_chk): Not under this condition.
6187 [__USE_GNU] (__vdprintf_chk): Likewise.
6188 [__USE_GNU] (dprintf): Likewise.
6189 [__USE_GNU] (vdprintf): Likewise.
6190
d3dfcc41
RM
61912012-05-03 Roland McGrath <roland@hack.frob.com>
6192
6193 * elf/Makefile (common-generated): Set this instead of generated for
6194 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6195 $(all-built-dso)-derived lists.
6196
7ac30cc5
AJ
61972012-05-03 Andreas Jaeger <aj@suse.de>
6198
0c51e550
AJ
6199 * sysdeps/i386/fpu/libm-test-ulps: Update.
6200
7ac30cc5
AJ
6201 * FAQ: Removed.
6202 * FAQ.in: Likewise.
6203 * scripts/gen-FAQ.pl: Likewise.
6204 * manual/install.texi (Installation): Point to online location of
6205 FAQ.
6206 * Makefile (files-for-dist): Remove FAQ.
6207 (FAQ): Remove.
6208
d4c2917f
AM
62092012-05-02 Allan McRae <allan@archlinux.org>
6210
6211 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6212 (LDFLAGS-reldepmod5.so): Likewise.
6213 (LDFLAGS-reldep6mod1.so): Likewise.
6214 (LDFLAGS-reldep6mod4.so): Likewise.
6215 (LDFLAGS-reldep8mod3.so): Likewise.
6216 (LDFLAGS-unload4mod1.so): Likewise.
6217 (LDFLAGS-unload4mod2.so): Likewise.
6218 (LDFLAGS-tst-initorder): Likewise.
6219 (LDFLAGS-tst-initordera2.so): Likewise.
6220 (LDFLAGS-tst-initordera3.so): Likewise.
6221 (LDFLAGS-tst-initordera4.so): Likewise.
6222 (LDFLAGS-tst-initorderb2.so): Likewise.
6223 (LDFLAGS-noload): Likewise.
6224 (LDFLAGS-next): Likewise.
6225 (LDFLAGS-order2mod1.so): Likewise.
6226 (LDFLAGS-order2mod2.so): Likewise.
6227 (LDFLAGS-tst-initorder2): Likewise.
6228 (LDFLAGS-tst-initorder2a.so): Likewise.
6229 (LDFLAGS-tst-initorder2b.so): Likewise.
6230 (LDFLAGS-tst-initorder2c.so): Likewise.
6231 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6232
d77f993f
DM
62332012-05-02 David S. Miller <davem@davemloft.net>
6234
6235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6236
171a70b4
PP
62372012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6238
6239 [BZ #14055]
6240 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6241
0be196ad
AJ
62422012-05-02 Andreas Jaeger <aj@suse.de>
6243
6244 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6245 since we manipulate rounding mode.
6246 (CPPFLAGS-test-idouble.c): Likewise.
6247 (CPPFLAGS-test-ifloat.c): Likewise.
6248 (CFLAGS-test-ldouble.c): Likewise.
6249 (CFLAGS-test-double.c): Likewise.
6250 (CFLAGS-test-float.c): Likewise.
6251 (CFLAGS-test-misc.c): Likewise.
6252 (CFLAGS-test-test-fenv.c): Likewise.
6253
4f9d04aa
AZ
62542012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6255
2b942cb7
RM
6256 [BZ #2550]
6257 [BZ #2570]
6258 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6259 comparisons to determine direction to adjust input.
4f9d04aa 6260
82a79e7d
RM
62612012-05-01 Roland McGrath <roland@hack.frob.com>
6262
f5a01ca9
RM
6263 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6264 output to the target.
6265
90fe4186
RM
6266 * scripts/localplt.awk: New file.
6267 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6268 (check-localplt-CFLAGS): Variable removed.
6269 ($(all-built-dso:=.jmprel)): New static pattern rule.
6270 (generated): Add those targets.
6271 (localplt-built-dso): New variable.
6272 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6273
6274 * elf/check-localplt.c: File removed.
6275
82397ed6
RM
6276 * scripts/check-execstack.awk: New file.
6277 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6278 (check-execstack-CFLAGS): Variable removed.
6279 ($(objpfx)check-execstack.h): Target removed.
6280 ($(objpfx)execstack-default): New target.
6281 (generated): Add that instead of check-execstack.h.
6282 ($(all-built-dso:=.phdr)): New static pattern rule.
6283 (generated): Add those targets.
6284 * elf/check-execstack.c: File removed.
6285
82a79e7d
RM
6286 * scripts/check-textrel.awk: New file.
6287 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6288 (check-textrel-CFLAGS): Variable removed.
6289 (all-built-dso): Use := to define.o
6290 ($(all-built-dso:=.dyn)): New static pattern rule.
6291 (generated): Add those targets.
6292 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6293 * config.make.in (READELF): New substituted variable.
6294 * elf/check-textrel.c: File removed.
6295
62fde54f 62962012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 6297
615605c9
JM
6298 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6299 allow.
6300 * conform/data/ctype.h-data [C99-based standards] (isblank):
6301 Expect function.
6302 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6303 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6305 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6306 Specify type. Require positive value.
6307 (EILSEQ): Likewise.
6308 (ERANGE): Likewise.
6309 [ISO || POSIX] (EILSEQ): Do not expect.
6310 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6311 Specify type. Require positive value.
6312 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6313 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6314 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6315 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6316 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6317 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6318 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6319 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6320 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6321 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6322 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6323 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6324 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6325 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6326 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6327 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6328 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6329 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6330 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6331 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6332 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6333 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6334 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6335 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6336 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6337 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6338 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6339 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6340 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6341 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6342 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6343 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6344 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6345 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6346 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6347 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6348 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6349 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6350 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6351 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6352 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6353 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6354 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6355 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6356 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6357 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6358 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6359 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6360 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6361 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6362 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6363 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6364 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6365 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6366 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6367 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6368 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6369 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6370 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6371 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6372 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6373 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6374 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6375 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6376 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6377 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6378 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6379 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6380 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6381 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6382 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6383 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6384 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6385 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6386 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6387 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6388 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6389 Require >= 2.
6390 (FLT_ROUNDS): Expect as macro, not constant.
6391 (FLT_MANT_DIG): Use macro-int-constant.
6392 (DBL_MANT_DIG): Likewise.
6393 (LDBL_MANT_DIG): Likewise.
6394 (FLT_DIG): Likewise.
6395 (DBL_DIG): Likewise.
6396 (LDBL_DIG): Likewise.
6397 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6398 (DBL_MIN_EXP): Likewise.
6399 (LDBL_MIN_EXP): Likewise.
6400 (FLT_MAX_EXP): Use macro-int-constant.
6401 (DBL_MAX_EXP): Likewise.
6402 (LDBL_MAX_EXP): Likewise.
6403 (FLT_MAX_10_EXP): Likewise.
6404 (DBL_MAX_10_EXP): Likewise.
6405 (LDBL_MAX_10_EXP): Likewise.
6406 (FLT_MAX): Use macro-constant.
6407 (DBL_MAX): Likewise.
6408 (LDBL_MAX): Likewise.
6409 (FLT_EPSILON): Use macro-constant. Give upper bound.
6410 (DBL_EPSILON): Likewise.
6411 (LDBL_EPSILON): Likewise.
6412 (FLT_MIN): Likewise.
6413 (DBL_MIN): Likewise.
6414 (LDBL_MIN): Likewise.
6415 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6416 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6417 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6418 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6419 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6420 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6421 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6422 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6423 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6424 [ISO11] (FLT_TRUE_MIN): Likewise.
6425 [ISO11] (LDBL_TRUE_MIN): Likewise.
6426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6427 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6428 (SCHAR_MIN): Use macro-int-constant. Specify type.
6429 (SCHAR_MAX): Likewise.
6430 (UCHAR_MAX): Likewise.
6431 (CHAR_MIN): Likewise.
6432 (CHAR_MAX): Likewise.
6433 (MB_LEN_MAX): Use macro-int-constant.
6434 (SHRT_MIN): Use macro-int-constant. Specify type.
6435 (SHRT_MAX): Likewise.
6436 (USHRT_MAX): Likewise.
6437 (INT_MAX): Likewise.
6438 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6439 bound negative.
6440 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6441 bound with "U".
6442 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6443 bound with "L".
6444 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6445 bound negative. Suffix upper bound with "L".
6446 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6447 bound with "UL".
6448 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6449 Specify type.
6450 [C99-based standards] (LLONG_MAX): Likewise.
6451 [C99-based standards] (ULLONG_MAX): Likewise.
6452 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6453 == 0.
6454 [ISO11] (max_align_t): Require type.
6455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6456
c9140a62
JM
6457 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6458 from $CFLAGS, without defining away __attribute__ calls.
6459 (checknamespace): Use $CFLAGS_namespace.
6460
9af0bf29
JM
6461 * conform/conformtest.pl (@keywords): Only include C99 keywords
6462 for standards based on C99 or C11.
6463
343222a2
JM
6464 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6465 Disable tests.
6466 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6467 UNIX98]: Likewise.
6468
661f8cf0
JM
6469 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6470 usability of symbols in #if.
6471
ee74b9cb
JM
6472 * conform/conformtest.pl: If macro or constant types start
6473 "promoted:", expect the symbol to be of the following type
6474 promoted by the integer promotions.
62fde54f 6475
aafc49b3
JM
6476 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6477 in one place. Also handle "macro-constant".
6478
fefdf574
JM
6479 * conform/conformtest.pl: Only accept expected macro values with
6480 "==". Parse all "macro" lines in one place.
6481 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6482
f2d922fe
JM
6483 * conform/conformtest.pl: Handle braced types on "constant" lines
6484 instead of handling "typed-constant".
6485 * conform/data/signal.h-data: Use "constant" instead of
6486 "typed-constant".
6487
d22956c9
JM
6488 * conform/conformtest.pl: Handle "optional-" at start of lines in
6489 one place rather than duplicating several cases. Handle each
6490 format of "macro" line with initial "optional-".
6491
028e2e38
JM
6492 * conform/conformtest.pl: Only accept expected constant or
6493 optional-constant values with "==". Parse all "constant" lines in
6494 one place. Parse all "optional-constant" lines in one place.
6495 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6496 * conform/data/fmtmsg.h-data: Likewise.
6497 * conform/data/netinet/in.h-data: Likewise.
6498 * conform/data/tar.h-data: Likewise.
6499 * conform/data/limits.h-data: Use "==" form on "constant" and
6500 "optional-constant" lines.
6501
1b8f2850
JM
6502 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6503 Use -std=c99 for XOPEN2K.
6504 (@knownproblems): Remove.
6505 (newtoken): Don't check %isknown.
6506
a05a144b
JM
6507 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6508 Do not expect macro.
6509 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6521 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6522 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6539 [XPG3] (acosh): Likewise.
6540 [XPG3] (asinh): Likewise.
6541 [XPG3] (atanh): Likewise.
6542 [XPG3] (cbrt): Likewise.
6543 [XPG3] (expm1): Likewise.
6544 [XPG3] (ilogb): Likewise.
6545 [XPG3] (log1p): Likewise.
6546 [XPG3] (logb): Likewise.
6547 [XPG3] (nextafter): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6550 [XPG3] (remainder): Likewise.
6551 [XPG3] (rint): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6559 [UNIX98 || XOPEN2K] (scalb): Expect.
6560 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6561 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6566 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6568 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6574 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6575 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6577 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6578 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6579 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6580 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6581 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6582 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6583 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6584 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6585 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6586 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6587 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6588 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6589 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6590 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6591 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6592 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6593 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6594 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6595 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6596 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6597 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6598 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6599 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6601 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6602 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6603 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6604 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6605 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6606 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6607 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6608 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6610 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6611 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6612 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6613 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6614 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6615 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6617 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6618 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6619 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6620 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6621 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6622 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6623 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6624 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6626 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6627 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6628 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6629 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6630 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6631 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6632 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6633 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6634 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6635 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6636 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6637 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6638 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6639 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6640 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6642 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6643 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6644 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6645 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6646 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6647 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6648 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6649 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6651 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6652 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6653 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6654 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6655 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6656 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6657 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6658 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6659 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6660 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6661 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6662 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6663 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6664 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6665 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6666 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6667 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6668 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6669 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6670 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6671 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6672 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6673 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6674 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6675 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6676 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6677 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6678 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6679 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6680 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6681 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6682 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6683 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6684 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6685 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6686 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6687 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6688 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6689 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6690 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6691 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6692 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6693 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6694 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6695 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6696 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6697
73c5ebe3
JM
6698 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6699 _XOPEN_SOURCE_EXTENDED for XPG4.
6700
39c33b6c
JM
6701 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6702
62fde54f
JM
6703 * Makeconfig (localtime): Remove variable.
6704 (inst_localtime-file): Likewise.
6705
0741d64c
AS
67062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6707
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6709 Update.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6711 Update.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6713 Update.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6715 Update.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6717 Update.
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6719 Update.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6721 Update.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6723 Update.
6724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6725 Update.
6726
7cb029ee
JM
67272012-05-01 Joseph Myers <joseph@codesourcery.com>
6728
6729 [BZ #2550]
6730 [BZ #2570]
6731 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6732 comparisons to determine direction to adjust input.
6733 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6734 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6735 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6736 Likewise.
6737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6738 Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6740 Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6743 Likewise.
6744 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6745 Likewise.
6746 * math/libm-test.inc (nexttoward_test): Add more tests.
6747
412bd966
AS
67482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6749
6750 [BZ #14040]
6751 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6752 in version GLIBC_2.1, not GLIBC_2.0.
6753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6754 Likewise.
6755
9568c0c2
JM
67562012-04-30 Joseph Myers <joseph@codesourcery.com>
6757
adfbc8ac
JM
6758 [BZ #13942]
6759 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6760 (1 - x) * (1 + x).
6761 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6762 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6763 * math/libm-test.inc (acos_test): Add more tests.
6764 (asin_test): Likewise.
6765 * sysdeps/i386/fpu/libm-test-ulps: Update.
6766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6767
5ba3cc69
JM
6768 [BZ #14034]
6769 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6770 of square root.
6771 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6772 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6773 * math/libm-test.inc (acos_test_tonearest): New function.
6774 (acos_test_towardzero): Likewise.
6775 (acos_test_downward): Likewise.
6776 (acos_test_upward): Likewise.
6777 (asin_test_tonearest): Likewise.
6778 (asin_test_towardzero): Likewise.
6779 (asin_test_downward): Likewise.
6780 (asin_test_upward): Likewise.
6781 (main): Call the new functions.
6782 * sysdeps/i386/fpu/libm-test-ulps: Update.
6783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6784
9568c0c2
JM
6785 [BZ #13884]
6786 [BZ #13924]
6787 * math/e_exp10.c: Include <float.h>.
6788 (__ieee754_exp10): Handle underflow here rather than multiplying
6789 large negative argument by M_LN10.
6790 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6791 of __ieee754_expf.
6792 * math/e_exp10l.c: Include <float.h>.
6793 (__ieee754_exp10l): Handle underflow here rather than multiplying
6794 large negative argument by M_LN10l.
6795 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6796 spurious overflow exception on underflow.
6797
5ac3ea17
MP
67982012-04-29 Marek Polacek <polacek@redhat.com>
6799
6800 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6801 (__fortify_function): New macro.
6802 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6803 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6804 __extern_always_inline.
6805 * libio/bits/stdio2.h: Likewise.
6806 * libio/bits/stdio.h: Likewise.
6807 * string/string.h: Likewise.
6808 * string/bits/string3.h: Likewise.
6809 * include/stdio.h: Likewise.
6810 * stdlib/bits/stdlib.h: Likewise.
6811 * stdlib/stdlib.h: Likewise.
6812 * rt/bits/mqueue2.h: Likewise.
6813 * rt/mqueue.h: Likewise.
6814 * posix/bits/unistd.h: Likewise.
6815 * posix/unistd.h: Likewise.
6816 * io/bits/poll2.h: Likewise.
6817 * io/bits/fcntl2.h: Likewise.
6818 * io/fcntl.h: Likewise.
6819 * io/sys/poll.h: Likewise.
6820 * misc/bits/syslog.h: Likewise.
6821 * misc/bits/syslog-ldbl.h: Likewise.
6822 * misc/sys/syslog.h: Likewise.
6823 * socket/bits/socket2.h: Likewise.
6824 * socket/sys/socket.h: Likewise.
6825 * debug/tst-chk1.c: Likewise.
6826 * wcsmbs/bits/wchar2.h: Likewise.
6827 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6828 * wcsmbs/wchar.h: Likewise.
6829
ecf0ebfb
AJ
68302012-04-29 Andreas Jaeger <aj@suse.de>
6831
6832 * Makerules (tests): Remove enable-check-abi protection.
6833 (check-abi-warn): Remove.
6834 (check-abi-%): Remove check-abi-warn usage.
6835
6836 * configure.in: Remove check-abi configure option.
6837 * configure: Regenerated.
6838 * config.make.in (enable-check-abi): Remove.
6839
6d5c57fa
AS
68402012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6841
24c5d07e 6842 [BZ #14033]
ded5180a
AS
6843 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6844 double functions to double *_finite functions.
6845
7e0d315d
AS
6846 [BZ #13941]
6847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6848 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6849 LDBL_MIN_EXP.
6850 * stdio-common/Makefile (tests): Add tst-sprintf3.
6851 * stdio-common/tst-sprintf3.c: New file.
6852
6d5c57fa
AS
6853 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6854 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6855
0749ff8b
JM
68562012-04-28 Joseph Myers <joseph@codesourcery.com>
6857
6858 * conform/conformtest.pl: Remove duplicate typed-constant
6859 handling.
6860
8dbd5d7b
DM
68612012-04-28 David S. Miller <davem@davemloft.net>
6862
6863 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6864 (check-abi-%): Remove AWK script prerequisite and explicit
6865 abilist directory.
6866 (check-abi): Rewrite to just diff the symlist with the abilist.
6867 (config-tls, config-abi-config): Delete, no longer used.
6868 (update-abi-%): Remove AWK script and explicit abilist directory.
6869 (update-abi): Rewrite to simply compare and conditionally copy the
6870 symlist and the sysdep abilist file. Remove update-abi-config
6871 checks.
6872 * abilist/ld.abilist: Remove.
6873 * abilist/libBrokenLocale.abilist: Remove.
6874 * abilist/libanl.abilist: Remove.
6875 * abilist/libcrypt.abilist: Remove.
6876 * abilist/libdl.abilist: Remove.
6877 * abilist/librt.abilist: Remove.
6878 * abilist/libthread_db.abilist: Remove.
6879 * abilist/libutil.abilist: Remove.
6880 * scripts/extract-abilist.awk: Remove.
6881 * scripts/merge-abilist.awk: Remove.
6882 * sysdeps/generic/libcidn.abilist: New file.
6883 * sysdeps/generic/libnss_compat.abilist: New file.
6884 * sysdeps/generic/libnss_db.abilist: New file.
6885 * sysdeps/generic/libnss_dns.abilist: New file.
6886 * sysdeps/generic/libnss_files.abilist: New file.
6887 * sysdeps/generic/libnss_hesiod.abilist: New file.
6888 * sysdeps/generic/libnss_nis.abilist: New file.
6889 * sysdeps/generic/libnss_nisplus.abilist: New file.
6890 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6891 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6892 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6893 file.
6894 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6895 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6896 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6897 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6898 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6899 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6900 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6901 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6902 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6903 file.
6904 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6905 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6906 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6907 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6908 file.
6909 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6910 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6911 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6912 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6913 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6914 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6915 file.
6916 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6917 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6918 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6919 file.
6920 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6922 New file.
6923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6924 New file.
6925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6926 New file.
6927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6928 New file.
6929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6930 New file.
6931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6932 New file.
6933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6934 New file.
6935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6936 New file.
6937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6938 New file.
6939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6940 New file.
6941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6942 New file.
6943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6944 New file.
6945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6946 New file.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6948 file.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6950 New file.
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6952 New file.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6954 file.
6955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6956 New file.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6958 New file.
6959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6960 file.
6961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6962 New file.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6964 New file.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6966 New file.
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6968 New file.
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6970 New file.
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6972 New file.
6973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6975 file.
6976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6977 New file.
6978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6979 file.
6980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6981 file.
6982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6983 file.
6984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6985 file.
6986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6987 file.
6988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6989 New file.
6990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6991 file.
6992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6993 file.
6994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6995 New file.
6996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6997 file.
6998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
7000 file.
7001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7002 New file.
7003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
7004 file.
7005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
7006 file.
7007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
7008 file.
7009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
7010 file.
7011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
7012 file.
7013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7014 New file.
7015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
7016 file.
7017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
7018 file.
7019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7020 New file.
7021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
7022 file.
7023 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7024 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
7025 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
7026 file.
7027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
7028 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
7029 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
7030 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
7031 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
7032 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
7033 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
7034 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
7035 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
7036 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
7037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
7038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
7039 file.
7040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7041 New file.
7042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
7043 file.
7044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
7045 file.
7046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
7047 file.
7048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
7049 file.
7050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
7051 file.
7052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7053 New file.
7054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7055 New file.
7056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
7057 file.
7058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7059 New file.
7060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
7061 file.
7062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
7063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
7064 file.
7065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7066 New file.
7067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
7068 file.
7069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
7070 file.
7071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
7072 file.
7073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
7074 file.
7075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
7076 file.
7077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7078 New file.
7079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7080 New file.
7081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
7082 file.
7083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7084 New file.
7085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
7086 file.
7087
41d73a1b
JM
70882012-04-28 Joseph Myers <joseph@codesourcery.com>
7089
7090 * conform/conformtest.pl: Fix typo in handling typed-constant from
7091 allow-header.
7092
28aeeda4
JM
70932012-04-27 Joseph Myers <joseph@codesourcery.com>
7094
adae8f5e
JM
7095 * README: Cut down references to pre-2.6 Linux kernels and
7096 Linuxthreads. Update lists of configurations in libc and ports
7097 and sort alphabetically. Say "or newer" with Linux kernel version
7098 requirements.
7099
28aeeda4
JM
7100 * config.h.in [IS_IN_build]: Allow compiling without optimization.
7101
a462cb63
RA
71022012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7103
7104 [BZ #887]
7105 * math/libm-test.inc (logb_test_downward): New test to expose
7106 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
7107 rounding mode.
7108
6ad3493e
JM
71092012-04-27 Joseph Myers <joseph@codesourcery.com>
7110
7111 [BZ #14027]
7112 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
7113 to be done.
7114 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
7115 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
7116
2ce4f015
JM
71172012-04-26 Joseph Myers <joseph@codesourcery.com>
7118
5aeb141a
JM
7119 * sysdeps/unix/i386/brk.S: Remove file.
7120 * sysdeps/unix/i386/dl-brk.S: Likewise.
7121 * sysdeps/unix/i386/pipe.S: Likewise.
7122 * sysdeps/unix/i386/sigreturn.S: Likewise.
7123 * sysdeps/unix/i386/syscall.S: Likewise.
7124 * sysdeps/unix/i386/vfork.S: Likewise.
7125 * sysdeps/unix/i386/wait.S: Likewise.
7126
7143acae
JM
7127 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7128 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7129
2ce4f015
JM
7130 * configure.in (arm*-none*): Do not allow without
7131 --enable-hacker-mode.
7132 (netbsd*): Remove case setting base_os.
7133 (386bsd*): Likewise.
7134 (freebsd*): Likewise.
7135 (bsdi*): Likewise.
7136 (osf*): Likewise.
7137 (sunos*): Likewise.
7138 (ultrix*): Likewise.
7139 (newsos*): Likewise.
7140 (dynix*): Likewise.
7141 (*bsd*): Likewise.
7142 (sysv*): Likewise.
7143 (isc*): Likewise.
7144 (esix*): Likewise.
7145 (sco*): Likewise.
7146 (minix*): Likewise.
7147 (irix4*): Likewise.
7148 (irix6*): Likewise.
7149 (solaris[2-9]*): Likewise.
7150 (none): Likewise.
7151 * configure: Regenerated.
7152
0ac229c8
AZ
71532012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7154
7155 [BZ #11521]
7156 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7157 overflow or cancellation in calculating denominator.
7158 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7159 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7160 down expression to avoid unexpected rounding in newer GCCs.
7161 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7162
33f244f4
DM
71632012-04-26 David S. Miller <davem@davemloft.net>
7164
7165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7166 long-double compat symbols.
7167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7180
cfa1f3e8
DM
71812012-04-25 David S. Miller <davem@davemloft.net>
7182
7183 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7184 HWCAP_* values only after the memory barriers have been defined.
7185 (atomic_full_barrier): Define.
7186 (atomic_read_barrier): Define.
7187 (atomic_write_barrier): Define.
7188
6e236b92
SP
71892012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7190
7191 * shlib-versions: Add libgcc_s version information.
7192 * sysdeps/generic/libgcc_s.h: Remove.
7193 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7194 libgcc_s.h.
7195 * sysdeps/gnu/unwind-resume.c: Likewise.
7196 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7197
aab39a09
DM
71982012-04-25 David S. Miller <davem@davemloft.net>
7199
7200 * sysdeps/unix/sparc/brk.S: Delete.
7201 * sysdeps/unix/sparc/dl-brk.S: Delete.
7202 * sysdeps/unix/sparc/pipe.S: Delete.
7203 * sysdeps/unix/sparc/sysdep.S: Delete.
7204 * sysdeps/unix/sparc/sysdep.h: Delete.
7205 * sysdeps/unix/sparc/vfork.S: Delete.
7206 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7207 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7208 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7209 ret_ERRVAL, r0, r1, MOVE): Define.
7210 (JUMPTARGET): Remove.
7211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7212 sysdeps/unix/sparc/sysdep.h
7213 (ENTRY, END): Remove.
7214 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7215
a3cc4f48
JM
72162012-04-25 Joseph Myers <joseph@codesourcery.com>
7217
2ed8cda2
JM
7218 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7219 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7220 -DIS_IN_build.
7221
35d76d59
JM
7222 * timezone/README: Update upstream location and email address for
7223 tzcode and tzdata.
7224 * timezone/zdump.c: Update from tzcode 2012b.
7225 * timezone/zic.c: Likewise.
7226
a3cc4f48
JM
7227 * configure.in (libc_cv_as_needed): Remove test.
7228 * configure: Regenerated.
7229 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7230 conditional definition.
7231 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7232 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7233 * config.make.in (have-as-needed): Remove variable.
7234
ceab42c3
SP
72352012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7236 Paul Pluzhnikov <ppluzhnikov@google.com>
7237
7238 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7239 strings correctly.
7240
3ce2865f
CLT
72412012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7242
7243 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7244 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7245 * sysdeps/sh/strlen.S: Likewise.
7246
f37e0d68
JM
72472012-04-24 Joseph Myers <joseph@codesourcery.com>
7248
ae186e9a
JM
7249 * sysdeps/unix/fork.S: Remove file.
7250 * sysdeps/unix/i386/fork.S: Likewise.
7251 * sysdeps/unix/sparc/fork.S: Likewise.
7252
b96914af
JM
7253 * sysdeps/unix/system.c: Remove file.
7254 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7255
f37e0d68
JM
7256 * sysdeps/unix/getegid.S: Remove file.
7257 * sysdeps/unix/geteuid.S: Likewise.
7258
87ef29ca
RM
72592012-04-24 Roland McGrath <roland@hack.frob.com>
7260
83bcd236
RM
7261 * scripts/check-localplt.awk: New file.
7262 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7263 of diff.
7264 * scripts/data/localplt-generic.data: Add a comment.
7265
87ef29ca
RM
7266 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7267 NODE when __dir_mkfile failed.
7268 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7269 Reported by Ludovic Courtès <ludo@gnu.org>.
7270
e5a6e567
AJ
72712012-04-24 Andreas Jaeger <aj@suse.de>
7272
7273 * Makerules (common-clean): Also remove gen-as-const-headers
7274 files.
7275
c1820385
JM
72762012-04-24 Joseph Myers <joseph@codesourcery.com>
7277
7278 * Makerules (native-compile): Do not change working directory for
7279 build. Use $(OUTPUT_OPTION) in command.
7280 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7281
94e02fc4
AZ
72822012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7283
7284 [BZ #13886]
7285 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7286 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7287 * math/libm-test.inc (floor_test): Add more tests.
7288 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7289
3a533ca3
JM
72902012-04-24 Joseph Myers <joseph@codesourcery.com>
7291
940ab4b3
JM
7292 * sysdeps/unix/getdents.c: Remove file.
7293 * sysdeps/unix/sysv/getdents.c: Likewise.
7294 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7295
90e037bd
JM
7296 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7297 sysdeps/unix/mman/syscalls.list.
7298 (mmap): Likewise.
7299 (mprotect): Likewise.
7300 (msync): Likewise.
7301 (munmap): Likewise.
7302 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7303 * sysdeps/unix/mman/syscalls.list: Remove.
7304 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7305
3a533ca3
JM
7306 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7307 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7308 * configure: Regenerated.
7309 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7310 $(libgcc_s_suffix).
7311 * config.make.in (libgcc_s_suffix): Remove variable.
7312
1ad743de
JM
73132012-04-23 Joseph Myers <joseph@codesourcery.com>
7314
4ad451e2
JM
7315 * sysdeps/unix/sysv/gethostname.c: Move to ...
7316 * sysdeps/posix/gethostname.c: ... here.
7317
5e37ce39
JM
7318 * sysdeps/unix/execve.S: Remove file.
7319
1ad743de
JM
7320 * sysdeps/unix/_exit.S: Remove file.
7321
4e681b5b
AJ
73222012-04-23 Andreas Jaeger <aj@suse.de>
7323
7324 [BZ #13739]
7325 * manual/Makefile: Remove make dist support, there's no
7326 need for a stand-alone documentation tar ball.
7327 (TEXI2DVI): Define always, it's not in Makeconfig.
7328 (dist): Removed.
7329 (tar-it): Removed.
7330 (edition): Removed.
7331 (glibc-doc-$(edition).tar): Removed
7332 (%.Z): Removed.
7333 (%.gz): Removed.
7334 (%.uu): Removed.
7335 (ETAGS): Remove, it's in Makeconfig.
7336 (move-if-change): Remove, it's in Makeconfig.
7337
c0baea34
PE
73382013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7339
7340 [BZ #13970]
7341 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7342 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7343 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7344 (strtod_l, strtof_l, strtold_l): Remove __wur.
7345 It is not necessarily an error to ignore strtol's return value.
7346 One can reliably look at the stored endptr to decide whether
7347 the number had valid syntax.
7348
7c0616fa
AJ
73492012-04-21 Andreas Jaeger <aj@suse.de>
7350
803cb6b7 7351 [BZ #13739]
7c0616fa
AJ
7352 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7353
b0fe253f
JM
73542012-04-21 Joseph Myers <joseph@codesourcery.com>
7355
7356 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7357 * sysdeps/unix/sysv/Versions: Remove file.
7358
8280f22d
MT
73592012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7360
7361 [BZ #13927]
7362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7363
75ce411f 73642012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
7365
7366 [BZ #7064]
7367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7368 version from __vm86.
7369
097d59fa
JM
73702012-04-20 Joseph Myers <joseph@codesourcery.com>
7371
a90f3bcb
JM
7372 * sysdeps/unix/common/lxstat.c: Remove file.
7373 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7374
edc7ea78
JM
7375 * sysdeps/unix/sysv/Makefile: Remove file.
7376
cb78c221
JM
7377 * sysdeps/unix/sysv/direct.h: Remove file.
7378
efa6a45f
JM
7379 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7380 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7381 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7382 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7383 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7384 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7385 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7386
9c9f2d0c
JM
7387 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7388
4541c83b
JM
7389 * sysdeps/unix/xmknod.c: Remove file.
7390 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7391
f5d153a0
JM
7392 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7393
aa746595
JM
7394 * sysdeps/unix/sysv/i386/time.S: Remove file.
7395
cce5905e
JM
7396 * sysdeps/unix/fxstat.c: Remove file.
7397 * sysdeps/unix/xstat.c: Likewise.
7398 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7399
37fa3841
JM
7400 * sysdeps/unix/sysv/sigaction.c: Remove file.
7401
ff1962a3
JM
7402 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7403 (sysdep_headers): Remove variable.
7404 [termio.h not in sysdep_headers] (generated): Likewise.
7405 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7406 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7407 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7408 * sysdeps/unix/sysv/tcflow.c: Likewise.
7409 * sysdeps/unix/sysv/tcflush.c: Likewise.
7410 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7411 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7412 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7413 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7414 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7415
e7740d31
JM
7416 * sysdeps/unix/siglist.c: Remove file.
7417
ee06f18b
JM
7418 * sysdeps/unix/getppid.S: Remove file.
7419
097d59fa
JM
7420 * sysdeps/unix/mkdir.c: Remove file.
7421 * sysdeps/unix/rmdir.c: Likewise.
7422
ff3d51ec
AS
74232012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7424
7425 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7426 ERR_MAX value.
7427 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7428 errlist-compat value.
7429
50f81fd7
DM
74302012-04-18 David S. Miller <davem@davemloft.net>
7431
7432 * sysdeps/generic/memcopy.h (reg_char): Delete.
7433 * debug/strcat_chk.c: Use char, not reg_char.
7434 * debug/strcpy_chk.c: Likewise.
7435 * debug/strncat_chk.c: Likewise.
7436 * debug/strncpy_chk.c: Likewise.
7437 * string/memchr.c: Likewise.
7438 * string/memrchr.c: Likewise.
7439 * string/rawmemchr.c: Likewise.
7440 * string/strcat.c: Likewise.
7441 * string/strchr.c: Likewise.
7442 * string/strchrnul.c: Likewise.
7443 * string/strcmp.c: Likewise.
7444 * string/strcpy.c: Likewise.
7445 * string/strncat.c: Likewise.
7446 * string/strncmp.c: Likewise.
7447 * string/strncpy.c: Likewise.
7448
8ff41c46
WS
74492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7450
7451 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7452 __builtin_memcopy is called when src and dest ranges are known to not
7453 overlap.
7454
6b652f46
WS
74552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7456
7457 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7458 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7459 fwd_align_merge macro call.
7460 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7461 bwd_align_merge macro call.
7462 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7463
b282631e
WS
74642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7465
7466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7467 bwd_align_merge macros.
7468 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7469 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7470 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7471
95aa737c
DM
74722012-04-18 David S. Miller <davem@davemloft.net>
7473
7474 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7475
7a99a614
AJ
74762012-04-18 Andreas Jaeger <aj@suse.de>
7477
7478 [BZ# 6794]
7479 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7480 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7481 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7482
7483 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7484 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7485 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7486
7487 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7488 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7489 Adjust for changed ldbl-128 files.
7490
7491 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7492 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7493 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7494
e5270c23
DM
74952012-04-17 David S. Miller <davem@davemloft.net>
7496
7497 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7498
fb5e92c9
AS
74992012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7500
7501 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7502 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7503 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7504 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7505 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7506 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7507
76da7265
AZ
75082012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7509
7510 [BZ #6794]
7511 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7512 * math/libm-test.inc: Add ilogb errno and exception tests.
7513 * math/w_ilogb.c: New file: ilogb wrapper.
7514 * math/w_ilogbf.c: New file: ilogbf wrapper.
7515 * math/w_ilogbl.c: New file: ilogbl wrapper.
7516 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7517 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7518 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7519 exception being thrown with 0.0 as argument.
7520 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7521 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7522 exception being thrown with 0.0 as argument.
7523 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7524 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7525 exception being thrown with 0.0 as argument.
7526 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7527 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7528 exception being thrown with 0.0 as argument.
7529 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7530 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 7531 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
7532 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7533 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7534 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7535 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7536 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7537 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7538
0396e69d
PB
75392012-04-17 Petr Baudis <pasky@ucw.cz>
7540
7541 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7542 with altivec.
7543
750b5926
MP
75442012-04-16 Marek Polacek <polacek@redhat.com>
7545
7546 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7547
751728a1
MP
75482012-04-16 Marek Polacek <polacek@redhat.com>
7549
7550 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7551 operands of fdivp instruction.
7552
34a27407
L
75532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7554
7555 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7556 * elf/tst-auditmod3b.c: Likewise.
7557 * elf/tst-auditmod4b.c: Likewise.
7558 * elf/tst-auditmod5b.c: Likewise.
7559 * elf/tst-auditmod6b.c: Likewise.
7560 * elf/tst-auditmod6c.c: Likewise.
7561 * elf/tst-auditmod7b.c: Likewise.
7562 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7563 * sysdeps/x86_64/preconfigure.in: Likewise.
7564 * sysdeps/x86_64/preconfigure: Regenerated.
7565
7e73e17d
L
75662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7567
7568 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7569 __ILP32__.
7570
c7a6ab72
AB
75712012-04-13 Antoine Balestrat <merkil33@gmail.com>
7572
7573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7574 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7575
a9e8e0e0
CL
75762012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7577
7578 [BZ #13973]
7579 * locale/iso-639.def: Fix gl language name. Spotted by
7580 Yaron Shahrabani.
7581
ec98af7d
RM
75822012-04-12 Roland McGrath <roland@hack.frob.com>
7583
7584 [BZ #2074]
7585 * libio/libio.h (__io_write_fn): Update comment.
7586
247c3ede
PB
75872012-04-12 Petr Baudis <pasky@ucw.cz>
7588
7589 [BZ #2074]
7590 * stdio.texi (Hook Functions): The user provided writer function
7591 is not allowed to return -1.
7592
55939d6d
DM
75932012-04-11 David S. Miller <davem@davemloft.net>
7594
7595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7596
90020f5a
MF
75972012-04-11 Mike Frysinger <vapier@gentoo.org>
7598
7599 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7600 Add a leading slash to rtkaio.
7601
288f9098
JM
76022012-04-11 Jim Meyering <meyering@redhat.com>
7603
90020f5a
MF
7604 [BZ #11959]
7605 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7606 It is not necessarily an error to ignore fwrite's return
7607 value. One can reliably use ferror to test for errors after
7608 the fact.
288f9098 7609
4be2b570
L
76102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7611
7612 * bits/types.h (__snseconds_t): New type.
7613 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7614
7615 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7617 (__SNSECONDS_T_TYPE): Likewise.
7618 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7619 (__SNSECONDS_T_TYPE): Likewise.
7620 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7621 (__SNSECONDS_T_TYPE): Likewise.
7622
288f9098 76232012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
7624
7625 [BZ #2636]
7626 * manual/time.texi (Processor Time): Return type of times is
7627 elapsed real time since an arbitrary point in the past.
7628 (CPU Time): Move CLK_TCK from here...
7629 (Processor Time): ...to here. Correct description.
7630 * manual/conf.texi (Constants for Sysconf): Correct description of
7631 _SC_CLK_TCK.
7632
d7dd4413
DM
76332012-04-10 David S. Miller <davem@davemloft.net>
7634
7635 [BZ #13967]
7636 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7637 where the is a gap between DT_REL(A) and DT_JMPREL.
7638
b46068fc
L
76392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7640
7641 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7642 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7643 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7644
73d65cc3
SP
76452012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7646
7647 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7648 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7649 (dl_main): Handle --inhibit-cache.
7650 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7651 _dl_inhibit_cache.
7652 * elf/dl-load.c (_dl_map_object): Use it.
7653 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7654
bcc8d661
JM
76552012-04-09 Joseph Myers <joseph@codesourcery.com>
7656
8f9a2fae
JM
7657 [BZ #13872]
7658 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7659 (__ieee754_powl): Saturate large exponents rather than testing for
7660 overflow of y*log2(x).
7661 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7662 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7663 exceptions.
7664
bcc8d661
JM
7665 [BZ #11521]
7666 * math/s_ctan.c: Include <float.h>.
7667 (__ctan): Avoid internal overflow or cancellation in calculating
7668 denominator.
7669 * math/s_ctanf.c: Likewise.
7670 * math/s_ctanl.c: Likewise.
7671 * math/s_ctanh.c: Likewise.
7672 * math/s_ctanhf.c: Likewise.
7673 * math/s_ctanhl.c: Likewise.
7674 * math/libm-test.inc (ctan_test): Add more tests.
7675 (ctanh_test): Likewise.
7676 * sysdeps/i386/fpu/libm-test-ulps: Update.
7677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7678
823fbbb4
AJ
76792012-04-09 Andreas Jaeger <aj@suse.de>
7680
03879793
AJ
7681 [BZ #6894]
7682 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7683 is an optional BSD extension.
7684
823fbbb4
AJ
7685 [BZ #10254]
7686 * manual/stdio.texi (Opening Streams): Document additional fopen
7687 parameters.
7688
8de131cb
RM
76892012-04-09 Roland McGrath <roland@hack.frob.com>
7690
7691 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7692 %eax without telling the compiler.
7693
c0ed9d7d
CD
76942012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7695
7696 [BZ # 13963]
7697 * manual/install.texi: Use sourceware.org.
7698
c483f6b4
JM
76992012-04-09 Joseph Myers <joseph@codesourcery.com>
7700
d7dd9453
JM
7701 [BZ #13873]
7702 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7703 (__ieee754_pow): Generate overflow and underflow using huge*huge
7704 and tiny*tiny rather than just returning constant infinity or zero
7705 for large exponents.
7706 * math/libm-test.inc (pow_test): Require overflow exceptions for
7707 applicable cases of large exponents.
7708
c483f6b4
JM
7709 [BZ #706]
7710 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7711 (__ieee754_pow): Use iterative multiplication algorithm only for
7712 integer exponents with absolute value below 1024. Check for odd
7713 integer exponents when using algorithm for real exponents.
7714 * math/libm-test.inc (pow_test): Add more tests.
7715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7716
d2de7579
JM
77172012-04-08 Joseph Myers <joseph@codesourcery.com>
7718
7719 [BZ #13705]
7720 * math/libm-test.inc (exp_test): Do not allow overflow exception
7721 on underflow test.
7722
f77f1232
AJ
77232012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7724
7725 [BZ #13705]
7726 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7727 instead of __kernel_standard_f.
7728
3884932b
MF
77292012-04-08 Mike Frysinger <vapier@gentoo.org>
7730
7731 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7732 * sysdeps/x86_64/memset_chk.S: Likewise.
7733
54472e9c
AJ
77342012-04-08 Andreas Jaeger <aj@suse.de>
7735
6ab0fbfc
AJ
7736 [BZ #10153]
7737 * manual/startup.texi (Environment Access): Describe return value
7738 for putenv and setenv.
7739
61efba8c
AJ
7740 [BZ #6895]
7741 * manual/filesys.texi (Directory Entries): Add description for
7742 DT_LNK.
7743
95c3f29a
AJ
7744 [BZ #6890]
7745 * manual/filesys.texi (Directory Entries): Clarify that it's file
7746 system not operating system in the description of DT_UNKNOWN.
7747
54472e9c
AJ
7748 [BZ #6578]
7749 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7750
624254b1
SC
77512012-04-08 Stephen Compall <s11@member.fsf.org>
7752
7753 [BZ #6649]
7754 * manual/llio.texi (Opening and Closing Files): Add cross
7755 reference to explain mode argument.
7756
1e4920e0
MF
77572012-04-07 Mike Frysinger <vapier@gentoo.org>
7758
7759 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7760 * sysdeps/x86_64/memset_chk.S: Likewise.
7761
5ed848f3
DM
77622012-04-07 David S. Miller <davem@davemloft.net>
7763
7764 * elf/elf.h (R_SPARC_WDISP10): Define.
7765 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7766 R_SPARC_SIZE32.
7767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7768 R_SPARC_SIZE64 and R_SPARC_H34.
7769
96154cd8
CD
77702012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7771
7772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7773 conditions and remove no longer applicable assertion.
7774
9904dc47
L
77752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7776
7777 * bits/byteswap.h: Include <features.h>.
7778 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7779 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7780
f8887d0a
L
77812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7782
7783 * bits/byteswap.h (__bswap_16): Removed.
7784 Include <bits/byteswap-16.h> to get __bswap_16.
7785 * sysdeps/i386/bits/byteswap.h: Likewise.
7786 * sysdeps/s390/bits/byteswap.h: Likewise.
7787 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7788 * bits/byteswap-16.h: New file.
7789 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7790 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7791 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7792 * string/Makefile (headers): Add bits/byteswap-16.h.
7793
62470f60
PP
77942012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7795
7796 [BZ #13895]
7797 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7798 extra indirection.
7799 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7800 * nss/tst-nss-static.c: New.
7801
4dad7bab
RM
78022012-04-06 Robert Millan <rmh@gnu.org>
7803
7804 [BZ #6486]
7805 * manual/llio.texi (File Position Primitive): lseek
7806 refers to WHENCE when it really means OFFSET.
7807
e9142a17
AJ
78082012-04-06 Andreas Jaeger <aj@suse.de>
7809
2c040eff
AJ
7810 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7811 strncmp declarations.
7812
e9142a17
AJ
7813 * abilist/libc.abilist: Add __poll and __ppoll.
7814
ff9f1c5f
DM
78152012-04-05 David S. Miller <davem@davemloft.net>
7816
dcd2ae90
DM
7817 * scripts/check-local-headers.sh: Accept a host triplet in the
7818 path matched by the exclude regexp.
7819
993eb054
DM
7820 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7821 definition.
7822 * sysdeps/powerpc/powerpc32/dl-machine.h
7823 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7824 * sysdeps/s390/s390-32/dl-machine.h
7825 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7826 * sysdeps/sparc/sparc32/dl-machine.h
7827 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7828 * sysdeps/sparc/sparc64/dl-machine.h
7829 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7830
ff9f1c5f
DM
7831 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7832 lazy binding.
48e2e132 7833 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
7834 undefined symbol errors.
7835
48e2e132 7836 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
7837 DT_NEEDED entries.
7838
e80d6f94
MM
78392012-04-05 Michael Matz <matz@suse.de>
7840
7841 [BZ #13592]
7842 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7843
349fa79f
AJ
78442012-04-05 Andreas Jaeger <aj@suse.de>
7845
7846 [BZ #13908]
7847 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7848 comment.
7849
f402708f
KK
78502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7851
7852 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7853 which ROUND is no valid rounding mode.
7854
2ecccfc9
KK
78552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7856
7857 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7858 read again.
7859 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7860
8a53f50f
KK
78612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7862
7863 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7864 an exception using FPU order intentionally.
7865
78662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7867
7868 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7869 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7870 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7871 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7872
d653abb7
SJ
78732012-04-05 Simon Josefsson <simon@josefsson.org>
7874
7875 [BZ #12340]
7876 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7877 EINVAL when BUFLEN is too smal.
7878
c3b1bf7d
TS
78792012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7880
7881 [BZ #13553]
7882 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7883 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7884
b1aa60f3
AJ
78852012-04-03 Andreas Jaeger <aj@suse.de>
7886
c3b1bf7d 7887 [BZ #13938]
67f60a26
AJ
7888 * manual/setjmp.texi (System V contexts): Fix sentence.
7889
b1aa60f3
AJ
7890 [BZ #13926]
7891 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7892 New macro for this case.
7893 [!__GNUC__] (__bswap_64): New inline function for this case.
7894 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7895 * bits/byteswap.h: Likewise.
7896 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7897 ull, guard with __GLIBC_HAVE_LONG_LONG.
7898
7899 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7900 __GLIBC_HAVE_LONG_LONG.
7901
7902 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7903 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7904
39c59c35
TMQMF
79052012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7906
7907 [BZ #13691]
7908 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7909 inptr and inend, rather than using last_ch.
7910
135ffda8
DM
79112012-04-02 David S. Miller <davem@davemloft.net>
7912
7913 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7914 * stdio-common/printf-parse.h (read_int): Change return type to
7915 'int', return -1 on INT_MAX overflow.
7916 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7917 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7918 overflows INT_MAX. Check for overflow of in-format-string precision
7919 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7920 SIZE_MAX not INT_MAX for integer overflow test.
7921 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7922 skip the construct in the format string but do not record anything.
7923 * stdio-common/bug22.c: Adjust to test both width/prevision
7924 INT_MAX overflow as well as total length INT_MAX overflow. Check
7925 explicitly for proper errno values.
7926
228c019e
TS
79272012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7928
302cadd3
TS
7929 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7930 CHAR_MAX.
7931 * string/test-strcmp.c [! WIDE]: Likewise.
7932 * time/tst-mktime2.c: Likewise for INT_MAX.
7933 * string/test-string.h: #include <sys/param.h> for MIN.
7934
228c019e
TS
7935 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7936 * sysdeps/i386/init-first.c (init): Likewise.
7937 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7938 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7939 * sysdeps/sh/init-first.c (init): Likewise.
7940
cfa633f5
UD
79412012-04-01 Ulrich Drepper <drepper@gmail.com>
7942
7943 * po/ru.po: Update from translation team.
d1635ef8 7944 * po/vi.po: Likewise.
cfa633f5 7945
6cd0a5ea
SP
79462012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7947
7948 * resolv/nss_dns/dns-host.c: Merge copyright years.
7949
4b43400f
LD
79502012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7951
7952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7953 Optimize memcpy with prefetch if
7954 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7955 src, dst pointers have unequal 16 byte alignments.
7956
48c41d04
SP
79572012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7958
7959 [BZ #13928]
7960 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7961 from a CNAME entry and return the minimum ttl for the query.
7962 (gaih_getanswer_slice): Likewise.
7963
b8dc394d
JL
79642012-03-30 Jeff Law <law@redhat.com>
7965
7966 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7967 due to long keys.
7968 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7969 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7970
2f5a5ed0
JL
7971 * resolv/nss_dns/dns-host.c: Update copyright year.
7972
1d39e359
UD
79732012-03-30 Ulrich Drepper <drepper@gmail.com>
7974
c030f70c 7975 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 7976 requests to save a system call. Fix check that all bytes are sent.
c030f70c 7977
1d39e359
UD
7978 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7979 comments for sendmmsg.
7980
79812012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
7982
7983 [BZ #13691]
7984 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7985 with only 1 character between 0x0041 and 0x01b0.
7986 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7987 * wcsmbs/tst-mbsnrtowcs.c: New file.
7988
20fde227
DM
79892012-03-29 David S. Miller <davem@davemloft.net>
7990
7991 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7992 small copies by hand.
7993
984a4237
JL
79942012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7995
7996 [BZ #13761]
7997 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7998 _nss_compat_initgroups_dyn): Fall back to malloc/free
7999 for large group memberships.
8000
18c9d62b
DM
80012012-03-28 David S. Miller <davem@davemloft.net>
8002
88d85d4f
DM
8003 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
8004 that branches into memcpy.
8005 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8006 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8007 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8008 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
8010 bits.
8011 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
8012 implementation too.
8013 * sysdeps/sparc/mempcpy.S: New file.
8014
e5aa83e1
DM
8015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
8016 the IFUNC routine in the libc case.
8017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8018
88570753
DM
8019 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
8020 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
8021 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
8022 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
8023 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
8024 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
8025 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
8026 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
8027
249d7567
DM
8028 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
8029 loop to 256 bytes instead of 64 bytes and fix test signedness.
8030
18c9d62b
DM
8031 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
8032 * sysdeps/sparc/sparc32/Makefile: rather than here...
8033 * sysdeps/sparc/sparc64/Makefile: and here.
8034
05f3d1f6
UD
80352012-03-28 Ulrich Drepper <drepper@gmail.com>
8036
8037 * malloc/mallocbug.c: Avoid warnings about unused variables.
8038
86ae07a8
JL
80392012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8040
8041 [BZ #13760]
8042 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
8043 in the right place. Discard and retry query if response is
8044 larger than input buffer size.
8045
41bf21a1
JM
80462012-03-28 Joseph Myers <joseph@codesourcery.com>
8047
d6270972
JM
8048 [BZ #369]
8049 [BZ #2678]
8050 [BZ #3866]
8051 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
8052 x for large integer exponent.
8053 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8054 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
8055 sign of result as needed afterwards.
8056 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8057 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
8058 result for underflowing pow the same as for overflow.
8059 (__kernel_standard_l): Handle powl overflow and underflow here
8060 rather than calling __kernel_standard.
8061 * math/libm-test.inc (pow_test): Add more tests.
8062
414fca03 8063 [BZ #3868]
41bf21a1
JM
8064 [BZ #13879]
8065 [BZ #13910]
8066 [BZ #13911]
8067 [BZ #13912]
8068 [BZ #13913]
8069 [BZ #13915]
8070 [BZ #13916]
8071 [BZ #13917]
8072 [BZ #13918]
8073 [BZ #13919]
8074 [BZ #13920]
8075 [BZ #13921]
8076 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
8077 * sysdeps/ieee754/k_standard.c: Include <float.h>.
8078 (__kernel_standard_l): New function.
8079 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
8080 __kernel_standard.
8081 * math/w_acosl.c (__acosl): Likewise.
8082 * math/w_asinl.c (__asinl): Likewise.
8083 * math/w_atan2l.c (__atan2l): Likewise.
8084 * math/w_atanhl.c (__atanhl): Likewise.
8085 * math/w_coshl.c (__coshl): Likewise.
8086 * math/w_exp10l.c (__exp10l): Likewise.
8087 * math/w_exp2l.c (__exp2l): Likewise.
8088 * math/w_fmodl.c (__fmodl): Likewise.
8089 * math/w_hypotl.c (__hypotl): Likewise.
8090 * math/w_j0l.c (__j0l, __y0l): Likewise.
8091 * math/w_j1l.c (__j1l, __y1l): Likewise.
8092 * math/w_jnl.c (__jnl, __ynl): Likewise.
8093 * math/w_lgammal.c (__lgammal): Likewise.
8094 * math/w_log10l.c (__log10l): Likewise.
8095 * math/w_log2l.c (__log2l): Likewise.
8096 * math/w_logl.c (__logl): Likewise.
8097 * math/w_powl.c (__powl): Likewise.
8098 * math/w_remainderl.c (__remainderl): Likewise.
8099 * math/w_scalbl.c (sysv_scalbl): Likewise.
8100 * math/w_sinhl.c (__sinhl): Likewise.
8101 * math/w_sqrtl.c (__sqrtl): Likewise.
8102 * math/w_tgammal.c (__tgammal): Likewise.
8103 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
8104 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
8105 * math/libm-test.inc (acos_test): Add more tests.
8106 (acosh_test): Likewise.
8107 (asin_test): Likewise.
8108 (atanh_test): Likewise.
8109 (exp_test): Likewise.
8110 (exp10_test): Likewise.
8111 (exp2_test): Likewise.
8112 (expm1_test): Likewise.
8113 (lgamma_test): Likewise.
8114 (log_test): Likewise.
8115 (log10_test): Likewise.
8116 (log1p_test): Likewise.
8117 (log2_test): Likewise.
8118 (pow_test): Do not allow some spurious overflow exceptions.
8119 (sqrt_test): Add more tests.
8120 (tgamma_test): Likewise.
8121 (y0_test): Likewise.
8122 (y1_test): Likewise.
8123 (yn_test): Likewise.
8124
dd62fda6
AB
81252012-03-27 Anton Blanchard <anton@samba.org>
8126
8127 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8128 MAP_HUGETLB.
8129 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8130 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8131 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8132
1e3cdfda
AJ
81332012-03-27 David S. Miller <davem@davemloft.net>
8134
b855ab85
DM
8135 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8136
1e3cdfda
AJ
8137 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8138 have-as-vis3 check.
8139
81402012-03-27 Andreas Jaeger <aj@suse.de>
8141
8142 * sysdeps/x86_64/elf/configure.in: Moved to ...
8143 * sysdeps/x86_64/configure.in: ... here.
8144 * sysdeps/x86_64/elf/start.S: Moved to ...
8145 * sysdeps/x86_64/start.S: ... here.
8146 * sysdeps/x86_64/elf/configure: Delete.
8147
8148 * sysdeps/x86_64/configure.in: Merge contents from
8149 sysdeps/i386/configure.in (without i686 check).
8150
8151 * sysdeps/i386/elf/Versions: Merge into ...
8152 * sysdeps/i386/Versions: ... this.
8153 * sysdeps/i386/elf/Versions: Delete file.
8154 * sysdeps/i386/elf/start.S: Moved to ...
8155 * sysdeps/i386/start.S: ...here.
8156 * sysdeps/i386/elf/configure.in: Merge into...
8157 * sysdeps/i386/configure.in: ...here.
8158 * sysdeps/i386/elf/configure.in: Delete file.
8159 * sysdeps/i386/elf/configure: Delete file.
8160
8161 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8162 * debug/backtracesyms.c: ... here.
8163 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8164 * debug/backtracesymsfd.c: ... here.
8165 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8166 * sysdeps/generic/ifunc-sel.h: ... here.
8167
8168 * sysdeps/unix/i386/start.c: Delete file.
8169 * sysdeps/unix/sparc/start.c: Delete file.
8170 * sysdeps/unix/start.c: Delete file.
8171
8172 * sysdeps/sh/elf/configure.in: Moved to ...
8173 * sysdeps/sh/configure.in: ... here.
8174 * sysdeps/sh/elf/start.S: Moved to ...
8175 * sysdeps/sh/start.S: ... here.
8176 * sysdeps/sh/elf/configure: Delete file.
8177
8178 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8179 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8180 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8181 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8182 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8183 * sysdeps/powerpc/powerpc64/start.S: here.
8184 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8185 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8186 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8187 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8188 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8189
8190 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8191 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8192 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8193 * sysdeps/powerpc/powerpc32/start.S: ... here.
8194 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8195 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8196 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8197
8198 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8199 * sysdeps/powerpc/ifunc-sel.h: ... here.
8200 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8201 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8202
8203 * sysdeps/sparc/elf/configure.in: Moved to ...
8204 * sysdeps/sparc/configure.in: ... here.
8205 * sysdeps/sparc/elf/configure: Delete file.
8206 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8207 * sysdeps/sparc/sparc32/start.S: ... here.
8208 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8209 * sysdeps/sparc/sparc64/start.S: ... here.
8210 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8211 * sysdeps/sparc/sparc32/Makefile: ... this.
8212 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8213 * sysdeps/sparc/sparc64/Makefile: ... this.
8214
8215 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8216 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8217 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8218 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8219 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8220 * sysdeps/s390/s390-32/setjmp.S: ... here.
8221 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8222 * sysdeps/s390/s390-32/configure.in: ... here.
8223 * sysdeps/s390/s390-32/elf/configure: Delete file.
8224 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8225 * sysdeps/s390/s390-32/start.S: ... here.
8226
8227 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8228 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8229 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8230 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8231 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8232 * sysdeps/s390/s390-64/setjmp.S: ... here.
8233 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8234 * sysdeps/s390/s390-64/configure.in: ... here
8235 * sysdeps/s390/s390-64/elf/configure: Delete file.
8236 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8237 * sysdeps/s390/s390-64/start.S: ... here.
8238 * sysdeps/s390/s390-64/elf/configure: Delete.
8239
8240 * configure.in: Remove support for elf directories in sysdeps.
8241
8242 * configure: Regenerated.
8243 * sysdeps/i386/configure: Regenerated.
8244 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8245 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8246 * sysdeps/s390/s390-32/configure: Regenerated.
8247 * sysdeps/s390/s390-64/configure: Regenerated.
8248 * sysdeps/sh/configure: Regenerated.
8249 * sysdeps/sparc/configure: Regenerated.
8250 * sysdeps/x86_64/configure: Regenerated.
8251
a3f61311
AS
82522012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8253
c876e002
AS
8254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8255
a3f61311
AS
8256 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8257 denormal result into account.
8258
ac4c54f0
RM
82592012-03-25 Roland McGrath <roland@hack.frob.com>
8260
8261 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8262 Reported by Allan McRae <allan@archlinux.org>.
8263
6a9b9c02
JL
82642012-03-23 Jeff Law <law@redhat.com>
8265
8266 * nss/getnssent.c (__nss_getent): Fix typo.
8267
4c42a0c1
DM
82682012-03-23 David S. Miller <davem@davemloft.net>
8269
8270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8271
1532c7ac
L
82722012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8273
8274 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8275 to pad to uint64_t for each field.
8276 (dl_tls_index): Replace unsigned long with uint64_t.
8277
3ff42526
PP
82782012-03-23 Daniel Jacobowitz <dmj@google.com>
8279 Paul Pluzhnikov <ppluzhnikov@google.com>
8280
8281 [BZ #6528]
8282 * grp/Makefile (otherlibs): Don't set it.
8283 * inet/Makefile (otherlibs): Likewise.
8284 * login/Makefile (otherlibs): Likewise.
8285 * nscd/Makefile (otherlibs): Likewise.
8286 * posix/Makefile (otherlibs): Likewise.
8287 * pwd/Makefile (otherlibs): Likewise.
8288 * rt/Makefile (otherlibs): Likewise.
8289 * sunrpc/Makefile (otherlibs): Likewise.
8290 * nss/Makefile (otherlibs): Likewise.
8291 Add libnss_files to routines and static-only-routines.
8292 ($(objpfx)getent): Remove rule.
8293 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8294 static-only-routines.
8295
7c69cd14
JM
82962012-03-22 Joseph Myers <joseph@codesourcery.com>
8297
8298 [BZ #13892]
8299 * math/s_cexp.c: Include <float.h>.
8300 (__cexp): Handle exp result overflowing not necessarily
8301 overflowing both real and imaginary parts of result.
8302 * math/s_cexpf.c: Likewise.
8303 * math/s_cexpl.c: Likewise.
8304 * math/libm-test.inc (cexp_test): Add more tests.
8305 * sysdeps/i386/fpu/libm-test-ulps: Update.
8306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8307
81b035fe
L
83082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8309
8310 * include/link.h (ELFW): New macro.
8311 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8312 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8313
1da7940c
L
83142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8315
8316 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8317 with uint64_t.
8318
b749dbb9
L
83192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8320
8321 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8322 declaration.
8323 (struct La_x32_retval): Likewise.
8324
2ff87f3f
L
83252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8326
8327 * sysdeps/x86_64/preconfigure.in: New file.
8328 * sysdeps/x86_64/preconfigure: New generated file.
8329
c0df8e69
JM
83302012-03-22 Joseph Myers <joseph@codesourcery.com>
8331
48e44791
JM
8332 [BZ #13824]
8333 * math/e_exp2l.c: Include <float.h>.
8334 (__ieee754_exp2l): Handle overflow and underflow cases
8335 separately. Only pass fractional part of argument to
8336 __ieee754_expl.
8337 * math/libm-test.inc (exp2_test): Add more tests.
8338
c0df8e69
JM
8339 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8340 negating x to take absolute value.
8341 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8342 Likewise.
8343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8345 Likewise.
8346 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8347 computing low part if x was negated.
8348 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8349
c8e43ba7
L
83502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8351
8352 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8353 la_x32_gnu_pltexit.
8354 (pltexit): Cast int_retval to ptrdiff_t.
8355 * elf/tst-auditmod3b.c: Likewise.
8356 * elf/tst-auditmod4b.c: Likewise.
8357 * elf/tst-auditmod5b.c: Likewise.
8358 * elf/tst-auditmod6b.c: Likewise.
8359 * elf/tst-auditmod6c.c: Likewise.
8360 * elf/tst-auditmod7b.c: Likewise.
8361
8362 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8363 and x32_gnu_pltexit.
8364
8365 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8366 __ELF_NATIVE_CLASS.
8367 (La_x32_regs): New macro.
8368 (La_x32_retval): Likewise.
8369 (la_x32_gnu_pltenter): New function prototype.
8370 (la_x32_gnu_pltexit): Likewise.
8371
7998fa78
AS
83722012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8373
dcb33988
AS
8374 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8375 exponent.
8376
233fc563
AS
8377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8378
7998fa78
AS
8379 * configure.in (libc_cv_cc_nofma): Check for option to disable
8380 generation of FMA instructions.
8381 * configure: Regenerate.
8382 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8383 * sysdeps/ieee754/dbl-64/Makefile: New file.
8384 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8385 Remove brandred-fma4.
8386 (CFLAGS-brandred-fma4.c): Remove.
8387 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8388 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8389 define.
8390 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8391 define.
8392
8e95c99a
L
83932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8396 LLONG_MAX != LONG_MAX.
8397 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8398 (_fitoa_word): Likewise.
8399 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8400 LLONG_MAX != LONG_MAX.
8401 * stdio-common/_itowa.h: Include <_itoa.h>.
8402 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8403 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8404 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8405 only if not defined.
8406 (_ITOA_WORD_TYPE): Likewise.
8407 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8408 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8409
6f4db457
DM
84102012-03-21 David S. Miller <davem@davemloft.net>
8411
8412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8413
7785fe5a
L
84142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8415
8416 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8417 of x86_64 when setting libc_cv_slibdir, libdir and
8418 libc_cv_localedir.
8419 * sysdeps/unix/sysv/linux/configure: Regenerated.
8420
4535cd55
JM
84212012-03-21 Joseph Myers <joseph@codesourcery.com>
8422
8423 * manual/lang.texi (Old Varargs): Remove section.
8424 (How Variadic): Update menu.
8425 (va_start): Do not mention varargs.h.
8426
17228132
TS
84272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8428 Joseph Myers <joseph@codesourcery.com>
8429
8430 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8431 link test.
8432 * configure: Regenerated.
8433
8149f976
TS
84342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8435
05f3d1f6
UD
8436 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8437 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8438 conformtest.pl
8149f976 8439
1a4ac776
JM
84402012-03-21 Joseph Myers <joseph@codesourcery.com>
8441
be22ce65
JM
8442 * NOTES: Remove.
8443 * Makefile (files-for-dist): Remove NOTES.
8444 (NOTES): Remove rule.
8445 * README: Don't refer to NOTES.
8446 * manual/creature.texi: Don't include macros.texi.
8447 * manual/intro.texi (creature.texi): Remove comment referring to
8448 NOTES.
8449
40b601fb
JM
8450 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8451 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8452 * configure: Regenerated.
8453 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8454 LIBC_TRY_CC_OPTION.
8455 (libc_cv_as_i686): Likewise.
8456 (libc_cv_cc_avx): Likewise.
8457 (libc_cv_cc_sse2avx): Likewise.
8458 (libc_cv_cc_fma4): Likewise.
8459 (libc_cv_cc_novzeroupper): Likewise.
8460 * sysdeps/i386/configure: Regenerated.
8461
1a4ac776
JM
8462 [BZ #13883]
8463 * sysdeps/i386/fpu/s_cexp.S: Remove.
8464 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8465 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8466 * math/libm-test.inc (cexp_test): Add more tests.
8467 * sysdeps/i386/fpu/libm-test-ulps: Update.
8468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8469
a458e7fe
AM
84702012-03-21 Allan McRae <allan@archlinux.org>
8471
8472 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8473
0cb7efc5
JM
84742012-03-21 Joseph Myers <joseph@codesourcery.com>
8475
8476 [BZ #13871]
8477 * math/w_exp2.c: Do not include <float.h>.
8478 (o_threshold, u_threshold): Remove.
8479 (__exp2): Calculate result before checking finiteness and calling
8480 __kernel_standard.
8481 * math/w_exp2f.c: Likewise.
8482 * math/w_exp2l.c: Likewise.
8483 * math/libm-test.inc (exp2_test): Require overflow exception for
8484 1e6 input.
2460d3aa
JM
8485
8486 [BZ #3866]
8487 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8488 range of signed 64-bit integers before using fistpll. Remove
8489 checks for whether integers fit in mantissa bits.
8490 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8491 the range of signed 32-bit integers before using fistpl. Remove
8492 checks for whether integers fit in mantissa bits.
8493 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8494 (__ieee754_powl): Test for y outside the range of signed 64-bit
8495 integers before using fistpll. Reduce 64-bit values to 63-bit
8496 ones as needed.
8497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8498 divide-by-zero is raised for zero to large negative powers.
8499 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8500 (__ieee754_powl): Test for y outside the range of signed 64-bit
8501 integers before using fistpll. Reduce 64-bit values to 63-bit
8502 ones as needed.
8503 * math/libm-test.inc (pow_test): Add more tests.
8504
eb96ffb0
L
85052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8506
8507 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8508 <stdio-common/_itoa.h>.
8509 * debug/segfault.c: Likewise.
8510 * elf/dl-cache.c: Likewise.
8511 * elf/dl-minimal.c: Likewise.
8512 * elf/dl-misc.c: Likewise.
8513 * elf/dl-sysdep.c: Likewise.
8514 * elf/dl-version.c: Likewise.
8515 * elf/rtld.c: Likewise.
8516 * hurd/hurdsock.c: Likewise.
8517 * hurd/lookup-retry.c: Likewise.
8518 * malloc/malloc.c: Likewise.
8519 * malloc/mtrace.c: Likewise.
8520 * nscd/nscd_getgr_r.c: Likewise.
8521 * nscd/nscd_getpw_r.c: Likewise.
8522 * nscd/nscd_getserv_r.c: Likewise.
8523 * posix/getopt_init.c: Likewise.
8524 * posix/wordexp.c: Likewise.
8525 * stdio-common/_itoa.c: Likewise.
8526 * stdio-common/printf_fphex.c: Likewise.
8527 * stdio-common/vfprintf.c: Likewise.
8528 * string/_strerror.c: Likewise.
8529 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8530 * sysdeps/i386/i686/hp-timing.h: Likewise.
8531 * sysdeps/mach/_strerror.c: Likewise.
8532 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8533 * sysdeps/mach/hurd/sethostid.c: Likewise.
8534 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8535 * sysdeps/mach/xpg-strerror.c: Likewise.
8536 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8538 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8539 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8540 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8541 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8542 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8543 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8544 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8545 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8546 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8547 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8548 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8549 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8550 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8551 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8552 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8553 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8554 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8555 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8556 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8557
8558 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8559
8560 * stdio-common/_itoa.h: Moved to ...
8561 * sysdeps/generic/_itoa.h: Here.
8562
8563 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8564
8565 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8566 instead of "_itoa.h" and "_itowa.h".
8567 * stdio-common/vfprintf.: Likewise.
8568
d1af992d
L
85692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8570
8571 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8572 <bits/wordsize.h>.
8573 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8574 (__signbit): Likwise.
8575 (llrintf): Likwise.
8576 (llrint): Likwise.
8577
114883e0
L
85782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8581 __WORDSIZE != 64.
8582
c135cc1b
JM
85832012-03-20 Joseph Myers <joseph@codesourcery.com>
8584
8585 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8586 OVERFLOW_EXCEPTION_OK.
8587 * math/libm-test.inc ("Philosophy"): Update comment about
8588 exception testing.
8589 (OVERFLOW_EXCEPTION): Define.
8590 (OVERFLOW_EXCEPTION_OK): Likewise.
8591 (INVALID_EXCEPTION_OK): Renumber.
8592 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8593 (IGNORE_ZERO_INF_SIGN): Likewise.
8594 (test_exceptions): Handle FE_OVERFLOW.
8595 (exp10_test): Expect overflow exceptions.
8596 (exp2_test): Likewise.
8597 (expm1_test): Likewise.
8598 (nextafter_test): Likewise.
8599 (pow_test): Likewise.
8600 (scalbn_test): Likewise.
8601 (scalbln_test): Likewise.
8602
95443d88
L
86032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * sysdeps/x86_64/bits/atomic.h
8606 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8607 64bit integer.
8608 (atomic_exchange_acq): Likewise.
8609 (__arch_exchange_and_add_body): Likewise.
8610 (__arch_add_body): Likewise.
8611 (atomic_add_negative): Likewise.
8612 (atomic_add_zero): Likewise.
8613
490df6c4
L
86142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8615
c2722551 8616 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
8617 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8618
5e52b189
L
86192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8620
8621 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8622 Check __x86_64__ instead of __WORDSIZE.
8623
a9879d4c
L
86242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8625
8626 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8627
5df98260
DM
86282012-03-19 David S. Miller <davem@davemloft.net>
8629
e1497744
DM
8630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8631
5df98260
DM
8632 * sysdeps/sparc/fpu/fenv_private.h: New file.
8633 * sysdeps/sparc/fpu/math_private.h: Use it.
8634 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8635 Remove.
8636 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8637 (libc_feholdexcept_setroundl): Remove.
8638 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8639 Remove.
8640 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8641 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8642
b4c35121
L
86432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8644
8645 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8646 int64_t instead of long int.
8647 (INSERT_WORDS64): Likwise.
8648
56965fd7
L
86492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8650
8651 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8652 _Unwind_GetCFA return to _Unwind_Ptr first.
8653
83d1aec8
JM
86542012-03-19 Joseph Myers <joseph@codesourcery.com>
8655
1897ad44
JM
8656 [BZ #13629]
8657 * math/s_clog.c: Include <float.h>.
8658 (__clog): Scale large or subnormal inputs.
8659 * math/s_clogf.c: Likewise.
8660 * math/s_clogl.c: Likewise.
8661 * math/s_clog10.c: Include <float.h>.
8662 (M_LOG10_2): Define.
8663 (__clog10): Scale large or subnormal inputs.
8664 * math/s_clog10f.c: Likewise.
8665 * math/s_clog10l.c: Likewise.
8666 * math/libm-test.inc (clog_test): Add more tests.
8667 (clog10_test): Likewise.
8668 * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8670
7726d6a9
JM
8671 [BZ #11451]
8672 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8673 x and y.
8674 * math/libm-test.inc (atan2_test): Add another test.
8675
83d1aec8
JM
8676 * Makerules (common-objdir-compile): Remove.
8677 * sysdeps/unix/Makefile (config-generated): Do not add
8678 $(unix-generated) to variable.
8679 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8680 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8681 Remove rule.
8682 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8683 Likewise.
8684 [generic bits/local_lim.h] (before-compile): Do not append to
8685 variable.
8686 [generic bits/local_lim.h] (common-generated): Likewise.
8687 [generic sys/param.h] (before-compile): Do not append to variable.
8688 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8689 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8690 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8691 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8692 include.
8693 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8694 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8695 [generic sys/param.h] ($(addprefix
8696 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8697 [generic sys/param.h] (common-generated): Do not append to
8698 variable.
8699 [generic sys/param.h] (sysdep_headers): Likewise.
8700 [generic bits/errno.h] (before-compile): Do not append to
8701 variable.
8702 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8703 rule.
8704 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8705 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8706 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8707 [generic bits/errno.h] (common-generated): Do not append to
8708 variable.
8709 [generic bits/ioctls.h] (before-compile): Do not append to
8710 variable.
8711 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8712 rule.
8713 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8714 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8715 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8716 rule.
8717 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8718 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8719 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8720 [generic bits/ioctls.h] (common-generated): Do not append to
8721 variable.
8722 [generic sys/syscall.h] (syscall.h): Remove variable.
8723 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8724 rule.
8725 [generic sys/syscall.h] (before-compile): Do not append to
8726 variable.
8727 [generic sys/syscall.h] (common-generated): Likewise.
8728 * sysdeps/unix/errnos-tmpl.c: Remove file.
8729 * sysdeps/unix/errnos.awk: Likewise.
8730 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8731 * sysdeps/unix/ioctls.awk: Likewise.
8732 * sysdeps/unix/mk-local_lim.c: Likewise.
8733 * sysdeps/unix/snarf-ioctls: Likewise.
8734
4851a949
RH
87352012-03-19 Richard Henderson <rth@twiddle.net>
8736
bd37f2ee
RH
8737 * sysdeps/i386/fpu/fenv_private.h: New file.
8738 * sysdeps/i386/fpu/math_private.h: Use it.
8739 (math_opt_barrier, math_force_eval): Remove.
8740 (libc_feholdexcept_setround_53bit): Remove.
8741 (libc_feupdateenv_53bit): Remove.
8742 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8743 (math_opt_barrier, math_force_eval): Remove.
8744 (libc_feholdexcept): Remove.
8745 (libc_feholdexcept_setround): Remove.
8746 (libc_fetestexcept, libc_fesetenv): Remove.
8747 (libc_feupdateenv_test): Remove.
8748 (libc_feupdateenv, libc_feholdsetround): Remove.
8749 (libc_feresetround): Remove.
8750
d0adc922
RH
8751 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8752 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8753
0fe0f1f8
RH
8754 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8755 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8756 (libc_feupdateenv_testl): New.
8757 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8758 (libc_feupdateenv_testf): New.
8759 (libc_feupdateenv): Use libc_feupdateenv_test.
8760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8762
eb92c487
RH
8763 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8764 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8765 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8766 (libc_feresetround_noex): New.
8767 (libc_feresetround_noexf): New.
8768 (libc_feresetround_noexl): New.
8769 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8770 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8771 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8772 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8773 SET_RESTORE_ROUND.
8774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8776 (__cos): Likewise.
8777 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8778 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8779 SET_RESTORE_ROUND_NOEX.
8780 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8781 SET_RESTORE_ROUND_NOEXF.
8782 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8783 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8784 (libc_feholdsetroundf): New.
8785 (libc_feresetround, libc_feresetroundf): New.
8786
7d2e8012
RH
8787 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8788 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8789 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8790
b4dabbb4
RH
8791 * sysdeps/generic/math_private.h: Include <fenv.h>.
8792 (default_libc_feholdexcept): New.
8793 (default_libc_feholdexcept_setround): New.
8794 (default_libc_fesetenv, default_libc_feupdateenv): New.
8795 (libc_feholdexcept): Only define if undefined.
8796 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8797 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8798 (libc_feholdexcept_setroundl): Likewise.
8799 (libc_feholdexcept_setround_53bit): Likewise.
8800 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8801 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8802 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8803 (libc_feupdateenv_53bit): Likewise.
8804 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8805 (libc_feholdexcept): Convert from macro to inline function.
8806 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8807 (libc_fesetenv, libc_feupdateenv): Likewise.
8808
4851a949
RH
8809 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8810 not previously defined.
8811 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8812 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8813 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8814 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8815 * sysdeps/ieee754/flt-32/math_private.h: New file.
8816 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8817 math_private.h below SET_FLOAT_WORD.
8818 (__isnan, __isinf_ns, __finite): Remove.
8819 (__isnanf, __isinf_nsf, __finitef): Remove.
8820
e79d442e
AS
88212012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8822
8823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8824
90b80344
DM
88252012-03-17 David S. Miller <davem@davemloft.net>
8826
8827 [BZ #6471]
8828 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8829 for 2.16.
8830
edc21804
DM
88312012-03-16 David S. Miller <davem@davemloft.net>
8832
77e927af
DM
8833 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8834 warnings.
8835
374976dd
DM
8836 [BZ #6471]
8837 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8838 properly.
8839 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8840 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8841 sysdep_routines when subdir is sysvipc.
8842 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8843 __getshmlba helper.
8844
edc21804
DM
8845 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8846
473c3ef3
L
88472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8848
8849 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8850 [__LP64__].
8851
eb0f39b6
L
88522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8855 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8856 (__lround): Renamed to ...
8857 (__llround): This. Replace long int with long long int.
8858 Define lround functions as aliases of llround functions.
8859 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8860
6b6cd74b
L
88612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8864 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8865 adresses to uintptr_t. Replace "long int" and "unsigned long
8866 int" with "greg_t" on va_arg.
8867
f1a77b01
L
88682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8869
8870 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8871 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8872
8873 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8874 Move e_machine check before EI_CLASS check. Handle x32
8875 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8876 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8877 SKIP_EM_IA_64 and include
8878 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8879
8880 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8881 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8882 (add_system_dir): New macro.
8883
8884 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8885 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8886
11b90b9f
JM
88872012-03-16 Joseph Myers <joseph@codesourcery.com>
8888
c36e1d23
JM
8889 [BZ #2551]
8890 [BZ #2552]
8891 [BZ #2553]
8892 [BZ #2554]
8893 [BZ #2562]
8894 [BZ #2563]
8895 [BZ #2565]
8896 [BZ #2566]
8897 [BZ #2576]
8898 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8899 (y0): Likewise.
8900 * math/w_j0f.c (j0f): Likewise.
8901 (y0f): Likewise.
8902 * math/w_j0l.c (__j0l): Likewise.
8903 (__y0l): Likewise.
8904 * math/w_j1.c (j1): Likewise.
8905 (y1): Likewise.
8906 * math/w_j1f.c (j1f): Likewise.
8907 (y1f): Likewise.
8908 * math/w_j1l.c (__j1l): Likewise.
8909 (__y1l): Likewise.
8910 * math/w_jn.c (jn): Likewise.
8911 (yn): Likewise.
8912 * math/w_jnf.c (jnf): Likewise.
8913 (ynf): Likewise.
8914 * math/w_jnl.c (__jnl): Likewise.
8915 (__ynl): Likewise.
8916 * math/libm-test.inc (j0_test): Add more tests.
8917 (j1_test): Likewise.
8918 (jn_test): Likewise. Add trailing semicolon to existing test.
8919 (y0_test): Likewise.
8920 (y1_test): Likewise.
8921 * sysdeps/i386/fpu/libm-test-ulps: Update.
8922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8923
11b90b9f
JM
8924 [BZ #13851]
8925 [BZ #13854]
8926 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8927 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8928 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8929 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8930 (__tanl): Set errno for infinite argument.
8931 * sysdeps/i386/fpu/mptan.c: Remove.
8932 * sysdeps/i386/fpu/s_tan.S: Likewise.
8933 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8934 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8935 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8936 * math/libm-test.inc (tan_test): Add more tests and enable more
8937 tests for double and long double.
8938 * sysdeps/i386/fpu/libm-test-ulps: Update.
8939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8940
6a1bd2a1
JK
89412012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8942
8943 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8944 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8945
10a803e0
RM
89462012-03-16 Roland McGrath <roland@hack.frob.com>
8947
8948 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8949 * configure.in: Use it for both main tree and add-ons.
8950 * configure: Regenerated.
8951
f196c7f7
L
89522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8953
8954 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8955
8848d99d
JM
89562012-03-16 Joseph Myers <joseph@codesourcery.com>
8957
96cbe7f4
JM
8958 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8959 in comment.
8960
8848d99d
JM
8961 [BZ #13851]
8962 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8963 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8967 infinite argument.
8968 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8970 != 0 for prec == 2.
8971 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8972 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8973 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8974 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8975 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8976 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8977 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8978 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8979 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8980 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8981 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8982 * math/libm-test.inc (cos_test): Add more tests and enable more
8983 tests for long double.
8984 (sin_test): Likewise.
8985 (sincos_test): Likewise.
8986 * sysdeps/i386/fpu/libm-test-ulps: Update.
8987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988
dd7f4703
DM
89892012-03-16 David S. Miller <davem@davemloft.net>
8990
8991 * sysdeps/sparc/fpu/math_private.h: New file.
8992
006f1daa
DM
89932012-03-15 David S. Miller <davem@davemloft.net>
8994
c0c83bc8
DM
8995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8996 file.
e6a62e18 8997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
8998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8999 file.
e6a62e18
DM
9000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
9001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
9002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
9003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
9004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
9005 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
9006 sysdep routines.
9007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9008
88cb87d9
DM
9009 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
9010 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
9011
006f1daa 9012 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
9013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
9014 sparc-ifunc.h
006f1daa 9015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
9016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9017 Likewise.
9018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
9019 Likewise.
006f1daa
DM
9020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
9021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
9022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
9023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9024 Likewise.
006f1daa
DM
9025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
9029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
9030 Likewise.
9031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
9032 Likewise.
006f1daa
DM
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
9040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
9041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
9048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
9049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
9050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
9051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
9052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
9053 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
9054 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
9055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
9056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
9057
11e0098e
AS
90582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9059
9060 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
9061 scaling.
9062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9063
e85b09d0
AJ
90642012-03-15 Andreas Jaeger <aj@suse.de>
9065
9066 [BZ #13852]
9067 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
9068 ieee754/flt-32 implementation for sin, cos and sincos.
9069 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
9070 * sysdeps/i386/fpu/s_cosf.S: Likewise.
9071 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
9072 * sysdeps/i386/fpu/s_sinf.S: Likewise.
9073 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
9074 ieee754/flt-32 implementation for tan.
9075
9076 * math/libm-test.inc (cos_test): Enable some large input tests for
9077 float as well
9078 (sin_test): Likewise.
9079 (sincos_test): Likewise.
9080 (tan_test): Add tests for large input.
9081
9082 * sysdeps/i386/fpu/libm-test-ulps: Update.
9083
81c64153
AJ
90842012-03-15 Andreas Jaeger <aj@suse.de>
9085
9086 [BZ #13658]
9087 * math/libm-test.inc (cos_test): Add more test cases.
9088 (sin_test): Likewise.
9089 (sincos_test): Likewise.
9090
7bbfa5c6
AJ
90912012-03-15 Andreas Jaeger <aj@suse.de>
9092
9093 [BZ #13837]
9094 * math/libm-test.inc (cos_test): Add a test case for large input
9095 value.
9096 (sin_test): Likewise.
9097 (sincos_test): Likewise.
9098
90992012-03-15 Andreas Jaeger <aj@suse.de>,
9100 Joseph Myers <joseph@codesourcery.com>
9101
9102 [BZ #13658]
0671f479 9103 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
9104 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
9105 * sysdeps/i386/fpu/branred.c: Likewise.
9106 * sysdeps/i386/fpu/dosincos.c: Likewise.
9107 * sysdeps/i386/fpu/mpa.c: Likewise.
9108 * sysdeps/i386/fpu/s_cos.S: Likewise.
9109 * sysdeps/i386/fpu/s_sin.S: Likewise.
9110 * sysdeps/i386/fpu/s_sincos.S: Likewise.
9111 * sysdeps/i386/fpu/sincos32.c: Likewise.
9112
9113 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
9114 Define.
9115 (libc_feupdateenv_53bit): Define.
9116 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
9117 Define.
9118 (libc_feupdateenv_53bit): Define.
9119
9120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9121 53 bit (without extend i386 double precision).
9122
9123 * math/libm-test.inc (sincos_test): Add tests for large input.
9124 (sin): Likewise.
9125 (cos): Likewise.
9126
9127 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9128
9cad04ea
AS
91292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9130
9131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9132
f7062b9a
DM
91332012-03-15 David S. Miller <davem@davemloft.net>
9134
9135 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9136 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9137 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9138 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
9150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9151 file.
f7062b9a 9152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9154 file.
f7062b9a 9155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9157 file.
f7062b9a 9158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
9159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9160 file.
f7062b9a
DM
9161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9163 fmin/fmax sysdep routines.
9164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9165
7bd951ff
DM
91662012-03-14 David S. Miller <davem@davemloft.net>
9167
559398ab
DM
9168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9189 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9192 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9197 routines.
9198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9199 file.
559398ab 9200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
9201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9202 file.
559398ab 9203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
9204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9205 file.
559398ab 9206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
9207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9208 file.
559398ab 9209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
9210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9211 file.
559398ab 9212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
9213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9214 file.
9215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9216 file.
9217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9218 file.
9219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9220 file.
9221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9222 New file.
9223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9224 file.
9225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9226 file.
559398ab 9227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
9228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9229 file.
559398ab 9230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
9231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9232 file.
559398ab 9233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
9234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9235 file.
559398ab 9236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
9237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9238 VIS3 routines.
559398ab
DM
9239
9240 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9241 New file.
9242
5a1c1e32
DM
9243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9244
eae47a36
DM
9245 * sysdeps/sparc/configure.in: New file.
9246 * sysdeps/sparc/configure: Generate.
9247 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9248 * configure: Regenerate.
9249 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9250 * config.make.in (have-as-vis3): New.
9251 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9252 available use -Av9d instead of -Av9a.
9253 * sysdeps/sparc/sparc64/Makefile: Likewise.
9254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
9255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9256 New file.
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9258 file.
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9260 New file.
9261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9262 file.
eae47a36
DM
9263 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9264 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9268
c0c83bc8
DM
9269 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9270 fzeros/fnegs to load 0x80000000 into a float register instead of
9271 using the stack.
7bd951ff
DM
9272 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9273
bd951ccb
JM
92742012-03-14 Joseph Myers <joseph@codesourcery.com>
9275
9276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9277 bits/syscall.h.
9278 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9279 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9280 ($(inst_includedir)/bits/syscall.h): Remove rule.
9281 ($(objpfx)bits/syscall.d): Include instead of
9282 $(objpfx)syscall-list.d.
9283 (generated): Change syscall-list.h and syscall-list.d to
9284 bits/syscall.h and bits/syscall.d.
9285
bb4e6db2
RM
92862012-03-14 Roland McGrath <roland@hack.frob.com>
9287
9288 [BZ #13846]
9289 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9290
aa4a2ae1
JM
92912012-03-14 Joseph Myers <joseph@codesourcery.com>
9292
e456826d
JM
9293 [BZ #13841]
9294 * math/s_csqrt.c: Include <float.h>.
9295 (__csqrt): Scale large or subnormal inputs.
9296 * math/s_csqrtf.c: Likewise.
9297 * math/s_csqrtl.c: Likewise.
9298 * math/libm-test.inc (csqrt_test): Add more tests.
9299 * sysdeps/i386/fpu/libm-test-ulps: Update.
9300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9301
aa4a2ae1
JM
9302 [BZ #13840]
9303 * math/libm-test.inc (hypot_test): Add more tests.
9304
7c10fd35
DM
93052012-03-13 David S. Miller <davem@davemloft.net>
9306
9307 [BZ #13840]
9308 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9309 double-precision for the calculation instead of scaling.
9310
f453b98b
JM
93112012-03-13 Joseph Myers <joseph@codesourcery.com>
9312
9313 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9314 manipulate bits before adding and subtracting TWO52[sx].
9315 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9316 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9317 Likewise.
9318 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9319
09a3453f
DM
93202012-03-13 David S. Miller <davem@davemloft.net>
9321
8e59da90
DM
9322 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9323 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9325 rtld-global-offsets.h
9326 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9327
2a8ab7f2
DM
9328 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9329 large parameters.
9330
10f62770
DM
9331 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9332
5f0bdb18
DM
9333 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9334 'err' in the ifdef scope in which it is actually used.
9335
09a3453f
DM
9336 * nss/nss_db/db-init.c: Include string.h
9337
b4b2eb5e
DM
93382012-03-12 David S. Miller <davem@davemloft.net>
9339
98bb2f1c
DM
9340 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9341 masking out of the most significant byte of random value used.
9342 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9343 Fix coding style in previous change.
9344
b4b2eb5e
DM
9345 * sysdeps/unix/sysv/linux/kernel-features.h
9346 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9347 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9348 expression.
9349 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9350 later.
9351
6e226b09
DM
93522012-03-11 David S. Miller <davem@davemloft.net>
9353
a1bcbd40
DM
9354 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9355 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9356 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9357 for 'resultvar' otherwise things get truncated on 64-bit.
9358
cb9d6174
DM
9359 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9360 Fix masking out of the most significant byte of random value used.
9361
6e226b09
DM
9362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9363
058c132d
AS
93642012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9365
9366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9367
2d2cd515
DM
93682012-03-09 David S. Miller <davem@davemloft.net>
9369
9370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9371 variables with appropriate CPP guards.
9372 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9373 frame pointer, not the stack pointer. Correct layout comments. Fix test
9374 on resulting framesize and the management of the outregs buffer for pltexit.
9375 Preserve floating point return values across _dl_call_pltexit call.
9376 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9377 framesize and the management of the outregs buffer for pltexit.
9378 Preserve floating point return values across _dl_call_pltexit
9379 call.
9380 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9381 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9382 (print_exit): Fix format string for return register value.
9383
9a07f9d0
JM
93842012-03-10 Joseph Myers <joseph@codesourcery.com>
9385
9386 * sunrpc/Makefile (others): Add rpcgen.
9387 ($(objpfx)rpcgen): Remove special build rule and dependency on
9388 libc.
9389 * sunrpc/rpcgen.c: New file.
9390
547b5e30
PE
93912012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9392
c524201a
PE
9393 [BZ #13673]
9394 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9395 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9396 * sysdeps/i386/crti.S: Likewise.
9397 * sysdeps/i386/crtn.S: Likewise.
9398 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9399 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9400 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9401 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9402 * sysdeps/sh/crti.S: Likewise.
9403 * sysdeps/sh/crtn.S: Likewise.
9404 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9405
7b6235f2
PE
9406 [BZ #13673]
9407 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9408 with URL.
9409 * locale/programs/locfile-kw.gperf: Likewise.
9410 * locale/programs/charmap-kw.h: Regenerated.
9411 * locale/programs/locfile-kw.h: Likewise.
9412
547b5e30
PE
9413 [BZ #13673]
9414 * intl/plural.y: Replace FSF snail mail address with URL.
9415 * intl/plural.c: Regenerated.
9416
5f0a5dae
RH
94172012-03-09 Richard Henderson <rth@twiddle.net>
9418
9419 * include/math_private.h: Remove file.
9420 * math/math_private.h: Move file ...
9421 * sysdeps/generic/math_private.h: ... here.
9422
b8c03620
RH
9423 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9424 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9425 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9426
4e234f5d 9427 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
9428 and <math_private.h>.
9429 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9430 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9431 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9432 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9433 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9434 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9435 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9437 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9438 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9439 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9440 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9441 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9442 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9443 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9444 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9445 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9446 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9447 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9448 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9450 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9451 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9453 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9454 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9455 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9457 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9458 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9459 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9460 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9461 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9462 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9465 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9467 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9468 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9469 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9470 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9471 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9472 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9473 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9474 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9475 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9478 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9491 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9492 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9493 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9494 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9495 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9496 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9497 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9498 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9499 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9500 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9501 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9502 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9503 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9507 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9508 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9510 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9511 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9512 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9513 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9516 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9517 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9518 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9519 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9520 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9522 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9523 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9524 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9525 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9526 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9527 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9528 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9529 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9530 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9531 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9532 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9533 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9534 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9535 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9536 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9537 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9539 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9540 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9541 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9542 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9543 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9544 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9545 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9546 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9547 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9548 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9549 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9550 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9551 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9552 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9553 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9554 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9555 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9556 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9557 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9558 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9559 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9560 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9561 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9562 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9563 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9564 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9565 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9566 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9567 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9568 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9569 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9570 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9571 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9572 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9573 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9574 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9575 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9576 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9577 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9578 * sysdeps/ieee754/k_standard.c: Likewise.
9579 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9581 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9583 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9586 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9588 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9589 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9593 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9606 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9607 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9608 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9610 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9656 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9666 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9670 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9671 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9672 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9677 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9678 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9694 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9697 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9701 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9702 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9703 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9704 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9705 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9706 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9707 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9708 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9709 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9710 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9711 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9712 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9718 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9719 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9727 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9728 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9729 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9739 * sysdeps/ieee754/s_lib_version.c: Likewise.
9740 * sysdeps/ieee754/s_matherr.c: Likewise.
9741 * sysdeps/ieee754/s_signgam.c: Likewise.
9742 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9743 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9744 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9745 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9746 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9747 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9748 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9749 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9750 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9751 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9752 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9753 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9754 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9755 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9756 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9757 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9758 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9759 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9760 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9761 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9762 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 9763
1991fa03
JM
97642012-03-09 Joseph Myers <joseph@codesourcery.com>
9765
9766 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9767 * sunrpc/rpc_main.c: Likewise.
9768 * sunrpc/rpc_svcout.c: Likewise.
9769
60d6f5a6
DM
97702012-03-09 David S. Miller <davem@davemloft.net>
9771
9772 * include/math_private.h: New file.
9773
4962050e
JM
97742012-03-09 Joseph Myers <joseph@codesourcery.com>
9775
02a6f887
JM
9776 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9777 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9778 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9779 from <bits/socket_type.h>.
9780 (enum __socket_type): Don't define here.
9781 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9783 bits/socket_type.h.
9784
c6e013c1
JM
9785 [BZ #13566]
9786 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9787 checking __USE_GNU.
9788
4962050e
JM
9789 * Makerules ($(inst_includedir)/%.h): New rule.
9790 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9791 (install-others): Remove variable setting.
9792 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9793
38842f45
RH
97942012-03-08 Richard Henderson <rth@twiddle.net>
9795
67bb6da6
RH
9796 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9797 from macro to inline function; merge with the
9798 !__LIBC_INTERNAL_MATH_INLINES version.
9799 (__ieee754_sqrtf): Likewise.
9800
15194b4b
RH
9801 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9802 to inline function.
9803 (__rintf, __floor, __floorf): Likewise.
9804
64e21ede
RH
9805 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9806 macro to inline function.
9807 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9808
38842f45
RH
9809 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9810 not <math/math_private.h>.
9811
c64bf5fe
DM
98122012-03-08 David S. Miller <davem@davemloft.net>
9813
9814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9815 copyright year.
9816 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9817
82d86f28
TS
98182012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9819
9820 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9821 normalization.
9822 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9823 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9824
aea5d727
UD
98252012-03-08 Ulrich Drepper <drepper@gmail.com>
9826
9827 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9828 be defined individually, they must be defined as a block. Define
9829 S for printing a string instead of hidint the different by using a
9830 macro for adding the 'l'.
9831 * stdio-common/tst-fphex-wide.c: Adjust.
9832
70bca0a3
MP
98332012-03-07 Marek Polacek <polacek@redhat.com>
9834
9835 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9836
65b81130
MP
98372012-03-08 Marek Polacek <polacek@redhat.com>
9838
9839 [BZ #13806]
9840 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9841 * stdio-common/tst-fphex.c: Define a few macros to make the
9842 test reusable. Use them.
9843 * stdio-common/tst-fphex-wide.c: New file.
9844
07037eeb
JM
98452012-03-08 Joseph Myers <joseph@codesourcery.com>
9846
a7a93d50
JM
9847 [BZ #6911]
9848 * manual/macros.texi (gnusystems): New macro.
9849 (nongnusystems): Likewise.
9850 (gnulinuxhurdsystems): Likewise.
9851 (gnuhurdsystems): Likewise..
9852 (gnulinuxsystems): Likewise.
9853 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9854 variants of the GNU system, not "GNU system".
9855 * manual/conf.texi: Likewise.
9856 * manual/errno.texi: Likewise. Update example of errno macro
9857 expansion.
9858 * manual/filesys.texi: Likewise.
9859 (getumask): Document as specific to GNU/Hurd.
9860 * manual/install.texi: Likewise. Reword some references to
9861 GNU/Linux.
9862 * manual/intro.texi: Likewise.
9863 * manual/io.texi: Likewise.
9864 (File Name Portability): Detail which constraints are inapplicable
9865 to all GNU systems and which are only inapplicable to GNU/Hurd.
9866 * manual/job.texi: Likewise.
9867 * manual/llio.texi: Likewise.
9868 (O_NOCTTY): Document as present on GNU/Linux.
9869 * manual/maint.texi: Likewise.
9870 * manual/memory.texi: Likewise.
9871 * manual/pattern.texi: Likewise.
9872 * manual/pipe.texi: Likewise.
9873 * manual/process.texi: Likewise.
9874 * manual/resource.texi: Likewise.
9875 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9876 child on GNU/Hurd.
9877 * manual/setjmp.texi: Likewise.
9878 * manual/signal.texi: Likewise.
9879 * manual/startup.texi: Likewise.
9880 * manual/stdio.texi: Likewise.
9881 * manual/terminal.texi: Likewise.
9882 (ONLCR): Document as POSIX.
9883 (OXTABS): Document availability on GNU/Linux as XTABS.
9884 (ONOEOT): Document availability separately from other bits.
9885 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9886 * manual/time.texi: Likewise.
9887 * manual/users.texi: Likewise.
9888 * INSTALL: Regenerated.
9889 * sysdeps/gnu/errlist.c: Regenerated.
9890
07037eeb
JM
9891 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9892 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9893 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9894 puts.
9895 * configure: Regenerated.
9896
d1d3431a
JM
98972012-03-07 Joseph Myers <joseph@codesourcery.com>
9898
af6a1e37
JM
9899 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9900 default includes instead of AC_HEADER_CHECK.
9901 * sysdeps/i386/configure: Regenerated.
9902
d1d3431a
JM
9903 [BZ #10716]
9904 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9905 * math/s_cacoshf.c (__cacoshf): Likewise.
9906 * math/s_cacoshl.c (__cacoshl): Likewise.
9907 * math/s_casinh.c (__casinh): Set signs of result from argument.
9908 * math/s_casinhf.c (__casinhf): Likewise.
9909 * math/s_casinhl.c (__casinhl): Likewise.
9910 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9911 (casinh_test): Add more tests.
9912 * sysdeps/i386/fpu/libm-test-ulps: Update.
9913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9914
482ff4da
UD
99152012-03-07 Ulrich Drepper <drepper@gmail.com>
9916
872fda05
UD
9917 * po/zh_TW.po: Update from translation team.
9918
a4300c7a
UD
9919 * login/Makefile (distribute): Remove variable.
9920 * catgets/Makefile: Likewise.
9921 * mach/Makefile: Likewise.
9922 * malloc/Makefile: Likewise.
9923 * misc/Makefile: Likewise.
9924 * iconv/Makefile: Likewise.
9925 * nscd/Makefile: Likewise.
9926 * hurd/Makefile: Likewise.
9927 * manual/Makefile: Likewise.
9928 * locale/Makefile: Likewise.
9929 * intl/Makefile: Likewise.
9930 * conform/Makefile: Likewise.
9931 * nss/Makefile: Likewise.
9932 * time/Makefile: Likewise.
9933 * soft-fp/Makefile: Likewise.
9934 * dirent/Makefile: Likewise.
9935 * gmon/Makefile: Likewise.
9936 * po/Makefile: Likewise.
9937 * rt/Makefile: Likewise.
9938 * socket/Makefile: Likewise.
9939 * math/Makefile: Likewise.
9940 * signal/Makefile: Likewise.
9941 * debug/Makefile: Likewise.
9942 * elf/Makefile: Likewise.
9943 * timezone/Makefile: Likewise.
9944 * stdlib/Makefile: Likewise.
9945 * iconvdata/Makefile: Likewise.
9946 * sunrpc/Makefile: Likewise.
9947 * io/Makefile: Likewise.
9948 * argp/Makefile: Likewise.
9949 * inet/Makefile: Likewise.
9950 * hesiod/Makefile: Likewise.
9951 * grp/Makefile: Likewise.
9952 * csu/Makefile: Likewise.
9953 * wctype/Makefile: Likewise.
9954 * crypt/Makefile: Likewise.
9955 * libio/Makefile: Likewise.
9956 * string/Makefile: Likewise.
9957 * nis/Makefile: Likewise.
9958 * resolv/Makefile: Likewise.
9959 * stdio-common/Makefile: Likewise.
9960 * wcsmbs/Makefile: Likewise.
9961 * dlfcn/Makefile: Likewise.
9962 * posix/Makefile: Likewise.
9963
3b7c4e74 9964 [BZ #6959]
482ff4da
UD
9965 * timezone/Makefile: Don't install timezone files, just the programs
9966 and scripts.
9967
f72ed77d
UD
99682012-03-06 Ulrich Drepper <drepper@gmail.com>
9969
a000466f
UD
9970 * nss/databases.def: Add missing gshadow entry.
9971
f72ed77d
UD
9972 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9973
a53b7a4e
MP
99742012-03-06 Marek Polacek <polacek@redhat.com>
9975
9976 [BZ #13726]
9977 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9978 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9979 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9980 * stdio-common/tst-long-dbl-fphex.c: New file.
9981
e9258400
DM
99822012-03-06 David S. Miller <davem@davemloft.net>
9983
9984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9985 (set_obp_int): New function.
9986 (get_obp_int): New function.
9987 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
9988 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9989 Avoid unused variable warnings on 'val' and use builtin_expect.
9990 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9991 __builtin_expect.
e9258400
DM
9992 (INLINE_CLONE_SYSCALL): Likewise.
9993
3bd2c723
DM
99942012-03-05 David S. Miller <davem@davemloft.net>
9995
9996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9997
bbb78d03
AS
99982012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9999
884c5db4
AS
10000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10001
bbb78d03
AS
10002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
10003 only for |x| >= 40.
10004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10005
1c9f702a 100062012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
10007
10008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
10009 Replace gettimeofday with __vdso_gettimeofday.
10010
7be16f82
RM
10011 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10012 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
10013 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
10014
10015 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
10016 time with __vdso_time.
10017
ed58a00f
JM
100182012-03-05 Joseph Myers <joseph@codesourcery.com>
10019
10020 * manual/lang.texi (size_t): Note types to which size_t may be
10021 equivalent with the GNU C Library, but do not describe when
10022 differences between them are significant.
10023
30ee4ced
AJ
100242012-03-05 Andreas Jaeger <aj@suse.de>
10025
10026 * sysdeps/i386/fpu/libm-test-ulps: Update.
10027
b7cd39e8
JM
100282012-03-05 Joseph Myers <joseph@codesourcery.com>
10029
10030 [BZ #3976]
10031 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
10032 (__ieee754_pow): Save and restore rounding mode and use
10033 round-to-nearest for main computations.
10034 * math/libm-test.inc (pow_test_tonearest): New function.
10035 (pow_test_towardzero): Likewise.
10036 (pow_test_downward): Likewise.
10037 (pow_test_upward): Likewise.
10038 (main): Call the new functions.
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
10041
10042 [BZ #3976]
10043 * math/libm-test.inc (cosh_test_tonearest): New function.
10044 (cosh_test_towardzero): Likewise.
10045 (cosh_test_downward): Likewise.
10046 (cosh_test_upward): Likewise.
10047 (sinh_test_tonearest): Likewise.
10048 (sinh_test_towardzero): Likewise.
10049 (sinh_test_downward): Likewise.
10050 (sinh_test_upward): Likewise.
10051 (main): Call the new functions.
10052 * sysdeps/i386/fpu/libm-test-ulps: Update.
10053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10054
6c6a98c9
TV
100552012-03-05 Tom de Vries <tom@codesourcery.com>
10056
10057 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
10058 default stack guard is set in last bytes.
10059 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
10060
21bb2d2e 100612012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 10062
21bb2d2e 10063 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 10064
21bb2d2e
AJ
10065 [BZ #13656]
10066 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
10067 possibly allocate from heap instead of stack.
10068 * stdio-common/bug-vfprintf-nargs.c: New file.
10069 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 10070
c6922934
AS
100712012-03-03 Andreas Schwab <schwab@linux-m68k.org>
10072
10073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10074
bc957d53
MP
100752012-03-03 Marek Polacek <polacek@redhat.com>
10076
10077 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
10078 * math/math_private.h: Likewise.
10079 * stdlib/tst-strtod.c: Likewise.
10080 * sysdeps/i386/i486/bits/atomic.h: Likewise.
10081 * sysdeps/x86_64/bits/atomic.h: Likewise.
10082
6358490d
DM
100832012-03-02 David S. Miller <davem@davemloft.net>
10084
10085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
10086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
10087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
10088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
10089 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
10090 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
10091 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
10092 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
10093
01ae168d
RM
100942012-03-02 Roland McGrath <roland@hack.frob.com>
10095
d9a17c07
RM
10096 [BZ #13792]
10097 * manual/examples/README: New file, says the example source files
10098 can be used under GPL>=2.
10099 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
10100 line containing just "*/".
10101 * manual/examples/add.c: Add copyright header (GPL>=2).
10102 * manual/examples/argp-ex1.c: Likewise.
10103 * manual/examples/argp-ex2.c: Likewise.
10104 * manual/examples/argp-ex3.c: Likewise.
10105 * manual/examples/argp-ex4.c: Likewise.
10106 * manual/examples/atexit.c: Likewise.
10107 * manual/examples/db.c: Likewise.
10108 * manual/examples/dir.c: Likewise.
10109 * manual/examples/dir2.c: Likewise.
10110 * manual/examples/execinfo.c: Likewise.
10111 * manual/examples/filecli.c: Likewise.
10112 * manual/examples/filesrv.c: Likewise.
10113 * manual/examples/fmtmsgexpl.c: Likewise.
10114 * manual/examples/genpass.c: Likewise.
10115 * manual/examples/inetcli.c: Likewise.
10116 * manual/examples/inetsrv.c: Likewise.
10117 * manual/examples/isockad.c: Likewise.
10118 * manual/examples/longopt.c: Likewise.
10119 * manual/examples/memopen.c: Likewise.
10120 * manual/examples/memstrm.c: Likewise.
10121 * manual/examples/mkfsock.c: Likewise.
10122 * manual/examples/mkisock.c: Likewise.
10123 * manual/examples/mygetpass.c: Likewise.
10124 * manual/examples/pipe.c: Likewise.
10125 * manual/examples/popen.c: Likewise.
10126 * manual/examples/rprintf.c: Likewise.
10127 * manual/examples/search.c: Likewise.
10128 * manual/examples/select.c: Likewise.
10129 * manual/examples/setjmp.c: Likewise.
10130 * manual/examples/sigh1.c: Likewise.
10131 * manual/examples/sigusr.c: Likewise.
10132 * manual/examples/stpcpy.c: Likewise.
10133 * manual/examples/strdupa.c: Likewise.
10134 * manual/examples/strftim.c: Likewise.
10135 * manual/examples/strncat.c: Likewise.
10136 * manual/examples/subopt.c: Likewise.
10137 * manual/examples/swapcontext.c: Likewise.
10138 * manual/examples/termios.c: Likewise.
10139 * manual/examples/testopt.c: Likewise.
10140 * manual/examples/testpass.c: Likewise.
10141 * manual/examples/timeval_subtract.c: Likewise.
10142
01ae168d
RM
10143 [BZ #13792]
10144 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10145 function to ...
10146 * manual/timeval_subtract.c.texi: ... here, new file.
10147
49efa33d
DM
101482012-03-02 David S. Miller <davem@davemloft.net>
10149
10150 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10151
28afd92d
JM
101522012-03-02 Joseph Myers <joseph@codesourcery.com>
10153
804360ed
JM
10154 [BZ #3976]
10155 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10156 (__sin): Save and restore rounding mode and use round-to-nearest
10157 for all computations.
10158 (__cos): Save and restore rounding mode and use round-to-nearest
10159 for all computations.
10160 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10161 <fenv.h>.
10162 (tan): Save and restore rounding mode and use round-to-nearest for
10163 all computations.
10164 * math/libm-test.inc (cos_test_tonearest): New function.
10165 (cos_test_towardzero): Likewise.
10166 (cos_test_downward): Likewise.
10167 (cos_test_upward): Likewise.
10168 (sin_test_tonearest): Likewise.
10169 (sin_test_towardzero): Likewise.
10170 (sin_test_downward): Likewise.
10171 (sin_test_upward): Likewise.
10172 (tan_test_tonearest): Likewise.
10173 (tan_test_towardzero): Likewise.
10174 (tan_test_downward): Likewise.
10175 (tan_test_upward): Likewise.
10176 (main): Call the new functions.
10177 * sysdeps/i386/fpu/libm-test-ulps: Update.
10178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10179
a6d06d7b
JM
10180 [BZ #10135]
10181 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10182 small n, then large n, before computing and testing k+n.
10183 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10185 Likewise.
10186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10187 Likewise.
10188 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10189 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10190 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10191 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10192 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10193 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10195 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10196 * math/libm-test.inc (scalbn_test): Add more tests.
10197 (scalbln_test): Likewise.
10198
07e12bb3
JM
10199 * manual/filesys.texi (mode_t): Describe constraints on size and
10200 signedness, not exact equivalence to a particular type.
10201 (ino_t): Likewise.
10202 (ino64_t): Likewise.
10203 (dev_t): Likewise.
10204 (nlink_t): Likewise.
10205 (blkcnt_t): Likewise.
10206 (blkcnt64_t): Likewise.
10207 * manual/llio.texi (off_t): Likewise.
10208
28afd92d
JM
10209 [BZ #3976]
10210 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10211 (__ieee754_exp): Save and restore rounding mode and use
10212 round-to-nearest for all computations.
10213 * math/libm-test.inc (exp_test_tonearest): New function.
10214 (exp_test_towardzero): Likewise.
10215 (exp_test_downward): Likewise.
10216 (exp_test_upward): Likewise.
10217 (main): Call the new functions.
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10220
b1eeb65d
CD
102212012-03-01 Chris Demetriou <cgd@google.com>
10222
10223 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10224 have predictable order.
10225
53362a4b
DM
102262012-03-01 David S. Miller <davem@davemloft.net>
10227
3c969083
DM
10228 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10229
759707de
DM
10230 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10231 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10232 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10233 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10234
dfdb8ff2
DM
10235 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10236 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10237 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10239 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10240 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10241 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10242 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10243 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10244
ead89f96
DM
10245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10246
7f66bd07
DM
10247 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10248 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10249 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10250
53362a4b
DM
10251 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10252 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10253 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10254 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10255 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10256 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10258 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10259 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10260 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10261 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10262 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10263 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10265 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10267 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10268 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10269 * sysdeps/sparc/elf/configure: Regenerated.
10270
7b1902cb
JM
102712012-03-01 Joseph Myers <joseph@codesourcery.com>
10272
bec039bc
JM
10273 * configure.in (AS, LD): Require binutils 2.20 or later.
10274 * configure: Regenerated.
10275 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10276 as required minimum version.
10277 * INSTALL: Regenerated.
10278
7b1902cb
JM
10279 [BZ #2541]
10280 [BZ #4108]
10281 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10282 before squaring exponent.
10283 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10284 bottom long double and 27 bits of top long double before squaring
10285 exponent.
10286 * math/libm-test.inc (erfc_test): Add more tests.
10287 * sysdeps/i386/fpu/libm-test-ulps: Update.
10288 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10290
f775c276
KT
102912012-03-01 Kai Tietz <ktietz@redhat.com>
10292
10293 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10294 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10295 containing bit-fields.
10296 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10297 * soft-fp/single.h (_FP_UNION_S): Likewise.
10298 * soft-fp/double.h (_FP_UNION_D): Likewise.
10299
5b8a4d4a
JM
103002012-02-29 Joseph Myers <joseph@codesourcery.com>
10301
0bab47b6
JM
10302 [BZ #13786]
10303 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10304 not include ../strcmp.S.
10305 [USE_AS_STRNCASECMP_L]: Likewise.
10306 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10307 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10308 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10309 (__strncasecmp_l_ia32): Define as alias to
10310 __strncasecmp_l_nonascii.
10311
0fcad3e2
JM
10312 [BZ #5794]
10313 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10314 * sysdeps/i386/fpu/libm-test-ulps: Update.
10315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10316
5b8a4d4a
JM
10317 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10319
8fdceb2e
JL
103202012-02-29 Jeff Law <law@redhat.com>
10321
10322 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10323 out of bounds read.
10324
1f393a11
MP
103252012-02-29 Marek Polacek <polacek@redhat.com>
10326
10327 [BZ #13706]
10328 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10329 * elf/Makefile: Add rules to run tst-unused-dep.out.
10330
8847f037
DM
103312012-02-28 David S. Miller <davem@davemloft.net>
10332
10333 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10334 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10335 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10336 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10337 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10338 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10339
169d7f11
JM
103402012-02-29 Joseph Myers <joseph@codesourcery.com>
10341
10342 * math/libm-test.inc (llround_test): Move one test from
10343 lround_test. Use TEST_f_L in moved test.
10344 (lround_test): Move misplaced test to llround_test. Add testcase
10345 from bug 2561.
10346
39adf059
UD
103472012-02-28 Ulrich Drepper <drepper@gmail.com>
10348
10349 * sysdeps/x86_64/fpu/e_expf.S: New file.
10350 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10351
71b5d1c5
SB
103522012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10353
10354 [BZ #13637]
10355 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10356 of remain_len that may cause incomplete multi-byte character and
10357 false match.
10358 * posix/bug-regex33.c: New file.
10359 * posix/Makefile (tests): Add bug-regex33.
10360
1f77f049
JM
103612012-02-28 Joseph Myers <joseph@codesourcery.com>
10362
10363 * manual/macros.texi: New file.
10364 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10365 * manual/libc.texinfo: Include macros.texi.
10366 * manual/creatute.texi: Likewise.
10367 * manual/install.texi: Likewise.
10368 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10369 @glibcadj{} in references to the GNU C Library.
10370 * manual/charset.texi: Likewise.
10371 * manual/conf.texi: Likewise.
10372 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10373 when not using those macros.
10374 * manual/creature.texi: Likewise.
10375 * manual/crypt.texi: Likewise.
10376 * manual/errno.texi: Likewise.
10377 * manual/filesys.texi: Likewise.
10378 * manual/header.texi: Likewise.
10379 * manual/install.texi: Likewise.
10380 * manual/intro.texi: Likewise.
10381 * manual/io.texi: Likewise.
10382 * manual/job.texi: Likewise.
10383 * manual/lang.texi: Likewise.
10384 * manual/libc.texiinfo: Likewise.
10385 * manual/llio.texi: Likewise.
10386 * manual/locale.texi: Likewise.
10387 * manual/maint.texi: Likewise.
10388 * manual/math.texi: Likewise.
10389 * manual/memory.texi: Likewise.
10390 * manual/message.texi: Likewise.
10391 * manual/nss.texi: Likewise.
10392 * manual/pattern.texi: Likewise.
10393 * manual/process.texi: Likewise.
10394 * manual/resource.texi: Likewise.
10395 * manual/search.texi: Likewise.
10396 * manual/setjmp.texi: Likewise.
10397 * manual/signal.texi: Likewise.
10398 * manual/socket.texi: Likewise.
10399 * manual/startup.texi: Likewise.
10400 * manual/stdio.texi: Likewise.
10401 * manual/string.texi: Likewise.
10402 * manual/sysinfo.texi: Likewise.
10403 * manual/syslog.texi: Likewise.
10404 * manual/terminal.texi: Likewise.
10405 * manual/time.texi: Likewise.
10406 * manual/users.texi: Likewise.
10407 * INSTALL: Regenerated.
10408 * NOTES: Regenerated.
d40c5d54 10409 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 10410
450bf206
AS
104112012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10412
10413 * include/dirent.h: Include <dirstream.h> before
10414 <dirent/dirent.h>.
10415
741a235b
DM
104162012-02-28 David S. Miller <davem@davemloft.net>
10417
10418 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10419 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10420 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10421 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10422
d6b5aa58
DM
104232012-02-27 David S. Miller <davem@davemloft.net>
10424
1aff59a3
DM
10425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10427 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10428 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10429
d6b5aa58
DM
10430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10431 frame pointer instead of stack pointer relative arg slot.
10432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10433 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10434 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10435
433f48bf
CD
104362012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10437
10438 [BZ #3992]
10439 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10440
d674b76d
DM
104412012-02-27 David S. Miller <davem@davemloft.net>
10442
10443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10447 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10448 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10449 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10450 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10451
0e7727f7
JM
104522012-02-27 Joseph Myers <joseph@codesourcery.com>
10453
10454 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10455 later. Allow versions 5-9.
43be4ca2 10456 * configure: Regenerated.
0e7727f7
JM
10457 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10458 required minimum version and 4.6 as recommended version. Do not
10459 mention bugs in GCC 2.7 and 2.8.
43be4ca2 10460 * INSTALL: Regenerated.
0e7727f7 10461
a78bc654
DM
104622012-02-27 David S. Miller <davem@davemloft.net>
10463
428d5830
DM
10464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10468 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10469 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10470 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10471 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10472
a78bc654
DM
10473 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10474 manipulate bits before adding and subtracting TWO112[sx].
10475 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10476
4579f81c
RM
104772012-02-27 Roland McGrath <roland@hack.frob.com>
10478
36c8acb4
RM
10479 [BZ #13775]
10480 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10481 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10482 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10483 being in POSIX, because they are in 1003.1-2008.
10484
84ad622b
RM
10485 * rt/tst-aio.c: Include <fcntl.h>.
10486 * rt/tst-aio7.c: Likewise.
10487 * rt/tst-aio64.c: Likewise.
10488
4579f81c
RM
10489 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10490
abd923db
JM
104912012-02-27 Joseph Myers <joseph@codesourcery.com>
10492
10493 * manual/install.texi (--with-headers): Describe headers as
10494 interface headers, not private headers.
10495 (Specific advice for GNU/Linux systems): Describe use of headers
10496 from "make headers_install", not private headers from older
10497 kernels.
43be4ca2 10498 * INSTALL: Regenerated.
abd923db
JM
10499 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10500 Change to 2.6.19.
10501 * sysdeps/unix/sysv/linux/configure: Regenerated.
10502
6664049b
JM
10503 * manual/llio.texi (fclean): Remove documentation.
10504
bb8b6697
JM
10505 * manual/Makefile (libc-texi-generated): New variable. Include
10506 version.texi.
10507 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10508 $(libc-texi-generated), not duplicated list of files.
10509 (version.texi, stamp-version): New rules.
10510 (realclean): Remove $(libc-texi-generated), not individual files
10511 from that list. Do not remove dir-add.texinfo.
10512 * manual/libc.texinfo: Comment out uses of edition numbers and
10513 references to printed manual. Remove last-updated dates.
10514 (EDITION): Comment out.
10515 (ISBN): Likewise.
10516 (VERSION, UPDATED): Remove.
10517 (version.texi): Include.
10518
12e5c3b9
AS
105192012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10520
10521 * sysdeps/posix/spawni.c: Include <signal.h>.
10522 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10523 * sysdeps/pthread/aio_fsync.c: Likewise.
10524
4efeffc1 105252012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 10526
ba63ba08
UD
10527 * conform/Makefile (tests): Run only when not cross-compiling and
10528 when fast-check is not defined.
10529
d94a4670
UD
10530 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10531 * conform/data/limits.h-data: Fixes for POSIX2008.
10532 * conform/run-conformtest.sh: Run all tests.
10533 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10534 headers.
10535 * include/bits/dlfcn.h: Likewise.
10536 * include/langinfo.h: Likewise.
10537 * include/monetary.h: Likewise.
10538 * include/sys/poll.h: Likewise.
10539
10540 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10541 for __USE_GNU.
10542 * posix/spawn.h: Define __need_sigset_t.
10543 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10544 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10545 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10546 to get sigevent_t only.
10547 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10548 only for __USE_GNU.
10549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10550 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10551 process_vm_writev only for __USE_GNU.
10552 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
10553
10554 * conform/Makefile: For now ignore errors from run-conformtest.
10555 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10556 POSIX to avoid namespace pollution. Don't prepend headers.
10557 * conform/data/aio.h-data: Fixes for POSIX testing.
10558 * conform/data/fcntl.h-data: Likewise.
10559 * conform/data/glob.h-data: Likewise.
10560 * conform/data/grp.h-data: Likewise.
10561 * conform/data/pthread.h-data: Likewise.
10562 * conform/data/pwd.h-data: Likewise.
10563 * conform/data/signal.h-data: Likewise.
10564 * conform/data/spawn.h-data: Likewise.
10565 * conform/data/stdio.h-data: Likewise.
10566 * conform/data/stdlib.h-data: Likewise.
10567 * conform/data/stropts.h-data: Likewise.
10568 * conform/data/sys/mman.h-data: Likewise.
10569 * conform/data/sys/stat.h-data: Likewise.
10570 * conform/data/sys/types.h-data: Likewise.
10571 * conform/data/sys/wait.h-data: Likewise.
10572 * conform/data/time.h-data: Likewise.
10573 * conform/data/unistd.h-data: Likewise.
10574 * conform/data/utime.h-data: Likewise.
10575
10576 * io/sys/stat.h: fchmod was always in POSIX.
10577 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10578 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10579 * rt/aio.h: Define __need_timespec before including <time.h>.
10580 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10581 struct. Add forward declaration of pthread_attr_t and use it in
10582 sigevent.
10583 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10585 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10586 always remove CLK_TCK definition.
10587
c20105c3
AS
105882012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10589
10590 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10591
7a270350
UD
105922012-02-25 Ulrich Drepper <drepper@gmail.com>
10593
31341567
UD
10594 * conform/run-conformtest.sh: New file.
10595 * conform/Makefile: Run run-conformtest for tests.
10596 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10597 support.
10598
10599 * conform/data/uchar.h-data: New file.
10600 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10601 * conform/data/arpa/inet.h-data: Likewise.
10602 * conform/data/assert.h-data: Likewise.
10603 * conform/data/complex.h-data: Likewise.
10604 * conform/data/cpio.h-data: Likewise.
10605 * conform/data/ctype.h-data: Likewise.
10606 * conform/data/dirent.h-data: Likewise.
10607 * conform/data/dlfcn.h-data: Likewise.
10608 * conform/data/errno.h-data: Likewise.
10609 * conform/data/fcntl.h-data: Likewise.
10610 * conform/data/float.h-data: Likewise.
10611 * conform/data/fmtmsg.h-data: Likewise.
10612 * conform/data/fnmatch.h-data: Likewise.
10613 * conform/data/ftw.h-data: Likewise.
10614 * conform/data/glob.h-data: Likewise.
10615 * conform/data/grp.h-data: Likewise.
10616 * conform/data/iconv.h-data: Likewise.
10617 * conform/data/inttypes.h-data: Likewise.
10618 * conform/data/langinfo.h-data: Likewise.
10619 * conform/data/libgen.h-data: Likewise.
10620 * conform/data/limits.h-data: Likewise.
10621 * conform/data/locale.h-data: Likewise.
10622 * conform/data/math.h-data: Likewise.
10623 * conform/data/monetary.h-data: Likewise.
10624 * conform/data/mqueue.h-data: Likewise.
10625 * conform/data/ndbm.h-data: Likewise.
10626 * conform/data/net/if.h-data: Likewise.
10627 * conform/data/netdb.h-data: Likewise.
10628 * conform/data/netinet/in.h-data: Likewise.
10629 * conform/data/nl_types.h-data: Likewise.
10630 * conform/data/poll.h-data: Likewise.
10631 * conform/data/pthread.h-data: Likewise.
10632 * conform/data/pwd.h-data: Likewise.
10633 * conform/data/regex.h-data: Likewise.
10634 * conform/data/sched.h-data: Likewise.
10635 * conform/data/search.h-data: Likewise.
10636 * conform/data/semaphore.h-data: Likewise.
10637 * conform/data/setjmp.h-data: Likewise.
10638 * conform/data/signal.h-data: Likewise.
10639 * conform/data/spawn.h-data: Likewise.
10640 * conform/data/stdarg.h-data: Likewise.
10641 * conform/data/stdio.h-data: Likewise.
10642 * conform/data/stdlib.h-data: Likewise.
10643 * conform/data/string.h-data: Likewise.
10644 * conform/data/strings.h-data: Likewise.
10645 * conform/data/stropts.h-data: Likewise.
10646 * conform/data/sys/ipc.h-data: Likewise.
10647 * conform/data/sys/mman.h-data: Likewise.
10648 * conform/data/sys/msg.h-data: Likewise.
10649 * conform/data/sys/resource.h-data: Likewise.
10650 * conform/data/sys/select.h-data: Likewise.
10651 * conform/data/sys/sem.h-data: Likewise.
10652 * conform/data/sys/shm.h-data: Likewise.
10653 * conform/data/sys/socket.h-data: Likewise.
10654 * conform/data/sys/stat.h-data: Likewise.
10655 * conform/data/sys/statvfs.h-data: Likewise.
10656 * conform/data/sys/time.h-data: Likewise.
10657 * conform/data/sys/timeb.h-data: Likewise.
10658 * conform/data/sys/times.h-data: Likewise.
10659 * conform/data/sys/types.h-data: Likewise.
10660 * conform/data/sys/uio.h-data: Likewise.
10661 * conform/data/sys/un.h-data: Likewise.
10662 * conform/data/sys/utsname.h-data: Likewise.
10663 * conform/data/sys/wait.h-data: Likewise.
10664 * conform/data/syslog.h-data: Likewise.
10665 * conform/data/tar.h-data: Likewise.
10666 * conform/data/termios.h-data: Likewise.
10667 * conform/data/utime.h-data: Likewise.
10668 * conform/data/utmpx.h-data: Likewise.
10669 * conform/data/varargs.h-data: Likewise.
10670 * conform/data/wchar.h-data: Likewise.
10671 * conform/data/wctype.h-data: Likewise.
10672 * conform/data/wordexp.h-data: Likewise.
10673
10674 * include/stropts.h: New file.
10675 * include/uchar.h: New file.
10676 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10677 * include/assert.h: Likewise.
10678 * include/ctype.h: Likewise.
10679 * include/dirent.h: Likewise.
10680 * include/dlfcn.h: Likewise.
10681 * include/fcntl.h: Likewise.
10682 * include/fnmatch.h: Likewise.
10683 * include/glob.h: Likewise.
10684 * include/grp.h: Likewise.
10685 * include/libio.h: Likewise.
10686 * include/locale.h: Likewise.
10687 * include/math.h: Likewise.
10688 * include/net/if.h: Likewise.
10689 * include/netdb.h: Likewise.
10690 * include/netinet/in.h: Likewise.
10691 * include/pthread.h: Likewise.
10692 * include/pwd.h: Likewise.
10693 * include/regex.h: Likewise.
10694 * include/sched.h: Likewise.
10695 * include/search.h: Likewise.
10696 * include/setjmp.h: Likewise.
10697 * include/signal.h: Likewise.
10698 * include/stdio.h: Likewise.
10699 * include/stdlib.h: Likewise.
10700 * include/string.h: Likewise.
10701 * include/sys/cdefs.h: Likewise.
10702 * include/sys/mman.h: Likewise.
10703 * include/sys/msg.h: Likewise.
10704 * include/sys/resource.h: Likewise.
10705 * include/sys/select.h: Likewise.
10706 * include/sys/socket.h: Likewise.
10707 * include/sys/stat.h: Likewise.
10708 * include/sys/statvfs.h: Likewise.
10709 * include/sys/time.h: Likewise.
10710 * include/sys/times.h: Likewise.
10711 * include/sys/uio.h: Likewise.
10712 * include/sys/utsname.h: Likewise.
10713 * include/sys/wait.h: Likewise.
10714 * include/termios.h: Likewise.
10715 * include/time.h: Likewise.
10716 * include/ulimit.h: Likewise.
10717 * include/unistd.h: Likewise.
10718 * include/utime.h: Likewise.
10719 * include/wchar.h: Likewise.
10720 * include/wctype.h: Likewise.
10721 * include/wordexp.h: Likewise.
10722
10723 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10724
7a270350
UD
10725 * time/time.h: TIME_UTC must be a macro.
10726 Make timespec_get available for ISO C11 only as well.
10727
7724defc
UD
107282012-02-24 Ulrich Drepper <drepper@gmail.com>
10729
10730 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10731 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10732
6b1d1d46
JM
107332012-02-24 Joseph Myers <joseph@codesourcery.com>
10734
10735 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 10736
0f8bbd69
JM
107372012-02-24 Joseph Myers <joseph@codesourcery.com>
10738
10739 * manual/texinfo.tex: Update to version 2012-01-19.16.
10740
66ab80bc
JM
107412012-02-24 Joseph Myers <joseph@codesourcery.com>
10742
10743 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10744
74981cc5
RM
107452012-02-24 Roland McGrath <roland@hack.frob.com>
10746
ee968201
RM
10747 [BZ #13738]
10748 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10749 * manual/fdl-1.3.texi: New file.
10750 * manual/fdl-1.1.texi: File removed.
10751
74981cc5
RM
10752 [BZ #13738]
10753 * manual/libc.texinfo (FDL_VERSION): New @set.
10754 Use it for mention of FDL in cover text.
10755 (Documentation License): Use it in @include file name.
10756
7bb764bc
JM
107572012-02-22 Joseph Myers <joseph@codesourcery.com>
10758 Roland McGrath <roland@hack.frob.com>
10759
10760 [BZ #5461]
10761 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10762 not LONG_LONG_MAX and LONG_LONG_MIN.
10763 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10764 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10765 name.
10766 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10767
6cbeae47
JM
107682012-02-22 Joseph Myers <joseph@codesourcery.com>
10769
10770 [BZ #2547]
10771 [BZ #11365]
10772 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10773 manipulate bits before adding and subtracting TWO23[sx].
10774 * math/libm-test.inc (nearbyint_test): Add more tests.
10775
fe45ce09
JM
107762012-02-22 Joseph Myers <joseph@codesourcery.com>
10777
10778 [BZ #2548]
10779 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10780 bits before adding and subtracting TWO23[sx].
10781 * math/libm-test.inc (rint_test): Add more tests.
10782 (rint_test_tonearest): Likewise.
10783 (rint_test_towardzero): Likewise.
10784 (rint_test_downward): Likewise.
10785 (rint_test_upward: Likewise.
10786
ff3b3d82
JM
107872012-02-22 Joseph Myers <joseph@codesourcery.com>
10788
10789 [BZ #10110]
10790 * include/stdc-predef.h: New file. Extracted from features.h.
10791 * include/features.h: Include stdc-predef.h.
10792 * Makefile (headers): Add stdc-predef.h.
10793 * CONFORMANCE (Compiler limitations): Update.
10794
ef0aab35
JM
107952012-02-22 Joseph Myers <joseph@codesourcery.com>
10796
10797 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10798
58639409
DM
107992012-02-21 David S. Miller <davem@davemloft.net>
10800
10801 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10802 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10803
c0e70b25
DM
108042012-02-20 David S. Miller <davem@davemloft.net>
10805
10806 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10807 using a normal save/restore sequence, rather than allocating a
10808 dummy stack frame just to store a frame pointer and restore.
10809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10810
fb06851d
JM
108112012-02-21 Joseph Myers <joseph@codesourcery.com>
10812
10813 * manual/install.texi: Fix stray word in line-wrapped comment.
10814
7a8b71c3
DM
108152012-02-20 David S. Miller <davem@davemloft.net>
10816
d510c123
DM
10817 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10818 both binutils and gcc support GOTDATA.
10819
0722d7c2
DM
10820 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10821 "rd %pc" in the PIC register setup sequences.
10822
3d2b3019
DM
10823 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10824 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10825 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10826 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10827 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10829 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10830 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10832 (SYSCALL_ERROR_HANDLER): Likewise.
10833 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10834 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10835 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10836 (SYSCALL_ERROR_HANDLER): Likewise.
10837
c80098a9
DM
10838 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10839 (HAVE_GCC_GOTDATA): New.
10840 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10841 relocation support in both binutils and gcc.
10842 * sysdeps/sparc/elf/configure: Regenerate.
10843
3a2545a0
DM
10844 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10845 * sysdeps/sparc/sparc32/elf/configure: Delete.
10846 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10847 * sysdeps/sparc/sparc64/elf/configure: Delete.
10848 * sysdeps/sparc/elf/configure.in: New file.
10849 * sysdeps/sparc/elf/configure: Generate.
10850
7a8b71c3
DM
10851 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10852 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10853 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10854 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10855 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10856
f1e86fca
JM
108572012-02-21 Joseph Myers <joseph@codesourcery.com>
10858
10859 * manual/install.texi: Do not mention specific glibc version
10860 numbers.
10861 * manual/libc.texinfo (VERSION, UPDATED): Update.
10862 (@copying): Use @copyright{} and range of years.
10863
0e7dfaef
JM
108642012-02-21 Joseph Myers <joseph@codesourcery.com>
10865
10866 [BZ #13695]
10867 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10868 [crti.S not in sysdirs] (generated): Do not append.
10869 [crti.S not in sysdirs] (omit-deps): Likewise.
10870 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10871 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10872 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10873 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10874 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10875 Likewise.
10876 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10877 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10878 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10879 * csu/defs.awk: Remove file.
10880 * sysdeps/generic/initfini.c: Likewise.
10881 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10882 variable.
10883 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10884 Likewise.
10885
599af3ca
JM
108862012-02-20 Joseph Myers <joseph@codesourcery.com>
10887
10888 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10889 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10890 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10891 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10892 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10893 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10894 <bits/epoll.h>.
10895 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10896 (__EPOLL_PACKED): Define to empty if not defined by
10897 <bits/epoll.h>.
10898 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10900 bits/epoll.h.
10901
0e499750
JM
109022012-02-20 Joseph Myers <joseph@codesourcery.com>
10903
10904 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10905 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10906 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10907 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10908 <bits/timerfd.h>.
10909 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10911 bits/timerfd.h.
10912
5ad91f6e
JM
109132012-02-20 Joseph Myers <joseph@codesourcery.com>
10914
10915 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10916 in C locale.
10917 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10918 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921
06b99b02
AJ
109222012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10923
10924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10925 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10926
7638c0fd
AS
109272012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10928
10929 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10930 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10931 defined.
10932 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10933 Likewise.
10934 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10935 entry for 2.16.
10936
92221550
AJ
109372012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10938
10939 * math/w_acos.c: Use non-signaling floating-point comparisons.
10940 * math/w_acosf.c: Likewise.
10941 * math/w_acosh.c: Likewise.
10942 * math/w_acoshf.c: Likewise.
10943 * math/w_acoshl.c: Likewise.
10944 * math/w_acosl.c: Likewise.
10945 * math/w_asin.c: Likewise.
10946 * math/w_asinf.c: Likewise.
10947 * math/w_asinl.c: Likewise.
10948 * math/w_atanh.c: Likewise.
10949 * math/w_atanhf.c: Likewise.
10950 * math/w_atanhl.c: Likewise.
10951 * math/w_exp2.c: Likewise.
10952 * math/w_exp2f.c: Likewise.
10953 * math/w_exp2l.c: Likewise.
10954 * math/w_j0.c: Likewise.
10955 * math/w_j0f.c: Likewise.
10956 * math/w_j0l.c: Likewise.
10957 * math/w_j1.c: Likewise.
10958 * math/w_j1f.c: Likewise.
10959 * math/w_j1l.c: Likewise.
10960 * math/w_jn.c: Likewise.
10961 * math/w_jnf.c: Likewise.
10962 * math/w_log.c: Likewise.
10963 * math/w_log10.c: Likewise.
10964 * math/w_log10f.c: Likewise.
10965 * math/w_log10l.c: Likewise.
10966 * math/w_log2.c: Likewise.
10967 * math/w_log2f.c: Likewise.
10968 * math/w_log2l.c: Likewise.
10969 * math/w_logf.c: Likewise.
10970 * math/w_logl.c: Likewise.
10971 * math/w_sqrt.c: Likewise.
10972 * math/w_sqrtf.c: Likewise.
10973 * math/w_sqrtl.c: Likewise.
10974 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10975 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10976 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10978 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10979
ebaf36eb
JM
109802012-02-19 Joseph Myers <joseph@codesourcery.com>
10981
10982 [BZ #9739]
10983 * manual/string.texi (strnlen): Use correct parameter name in
10984 equivalent expression.
10985
71c254a6
JM
109862012-02-19 Joseph Myers <joseph@codesourcery.com>
10987
10988 [BZ #11174]
10989 * manual/users.texi (seteuid): Consistently use neweuid for
10990 argument name.
10991
16d2c631
JM
109922012-02-19 Joseph Myers <joseph@codesourcery.com>
10993
10994 [BZ #13704]
10995 * manual/nss.texi (Services in the NSS configuration): Correct
10996 list of services in example configuration file.
10997
cd837b09
NB
109982012-02-19 Nick Bowler <nbowler@draconx.ca>
10999
11000 [BZ #11322]
11001 * manual/arith.texi: Remove statements about negative zero
11002 behaving identically to zero.
11003
02c4bbad
JM
110042012-02-18 Joseph Myers <joseph@codesourcery.com>
11005
11006 [BZ #5993]
11007 * manual/install.texi: Do not document upgrading from libc5.
11008
366842e7
JM
110092012-02-18 Joseph Myers <joseph@codesourcery.com>
11010
11011 [BZ #4596]
11012 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
11013
dd54084d
DM
110142012-02-18 David S. Miller <davem@davemloft.net>
11015
11016 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
11017 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
11018 %o7 across the call.
11019 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
11020 instead.
11021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
11022 SETUP_PIC_REG_LEAF.
11023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11024 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
11025 * sysdeps/sparc/crtn.S: Likewise.
11026
2bcc53a3
UD
110272012-02-17 Ulrich Drepper <drepper@gmail.com>
11028
11029 * aout/Makefile: Remove.
11030
09c093b5
RK
110312012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
11032
11033 [BZ #13058]
11034 * manual/examples/argp-ex1.c (main): Format definition in GNU
11035 style.
11036 * manual/examples/argp-ex2.c (main): Likewise.
11037 * manual/examples/argp-ex3.c (main): Likewise.
11038 * manual/examples/argp-ex4.c (main): Likewise.
11039 * manual/examples/longopt.c (main): Use new-style prototype
11040 definition.
11041 * manual/examples/strncat.c (main): Specify return type and use
11042 (void) for arguments.
11043 * manual/examples/subopt.c (main): Use char **argv argument.
11044
2ee633a2
JM
110452012-02-17 Joseph Myers <joseph@codesourcery.com>
11046
11047 [BZ #5077]
11048 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
11049 rounding modes.
11050
0520adde
FB
110512012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
11052
11053 [BZ #6907]
11054 * manual/string.texi (strchr): Change when strchrnul is
11055 recommended.
11056
3f4081cd
DGM
110572012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
11058
11059 [BZ #174]
11060 * manual/locale.texi (setlocale): Document LOCPATH.
11061
d1b10e78
JM
110622012-02-17 Joseph Myers <joseph@codesourcery.com>
11063
11064 [BZ #10210]
11065 * manual/process.texi (execle): Move @dots{} before last argument.
11066
79c6869c
PB
110672012-02-17 Paul Bolle <pebolle@tiscali.nl>
11068
11069 [BZ #12047]
11070 * manual/charset.texi (Generic Charset Conversion): Fix typo
11071 (LC_TYPE -> LC_CTYPE).
11072
cc6e48bc
NB
110732012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
11074
11075 [BZ #5805]
11076 * manual/arith.texi (scalbn): Use @var{} on parameter names.
11077 (scalbnf): Likewise.
11078 (scalbnl): Likewise.
11079 (scalbln): Likewise.
11080 (scalblnf): Likewise.
11081 (scalblnl): Likewise.
11082 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
11083 (vwarnx): Likewise.
11084 (verr): Likewise.
11085 (verrx): Likewise.
11086 * manual/filesys.texi (telldir): Use braces around return type.
11087 * manual/llio.texi (mmap): Add space after comma.
11088 (mmap64): Likewise.
11089 * manual/math.texi (jn): Use @var{} on parameter names.
11090 (jnf): Likewise.
11091 (jnl): Likewise.
11092 (yn): Likewise.
11093 (ynf): Likewise.
11094 (ynl): Likewise.
11095 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
11096 line.
11097 * manual/resource.texi (ulimit): Use @dots{} instead of literal
11098 "...".
11099 (sched_get_priority_min): Remove semicolon on @deftypefun line.
11100 (sched_get_priority_max): Likewise.
11101 * manual/signal.texi (sigvec): Add space after comma.
11102 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
11103 names.
11104 (if_indextoname): Likewise.
11105 (if_freenameindex): Likewise.
11106 (sendto): Use ',' instead of '.' in prototype.
11107 * manual/startup.texi (syscall): Use @dots{} instead of literal
11108 "...".
11109 * manual/stdio.texi (__fpending): Separate initial words of
11110 paragraph from @deftypefun line.
11111 * manual/syslog.texi (syslog): Use @dots{} instead of literal
11112 "...".
11113 (vsyslog): Use @var{} on parameter names.
11114 * manual/terminal.texi (stty): Use @var{} on parameter names.
11115 * manual/users.texi (getutmp): Use @var{} on parameter names.
11116 (getutmpx): Likewise.
11117
5b23062f
JM
111182012-02-17 Joseph Myers <joseph@codesourcery.com>
11119
11120 [BZ #6884]
11121 * manual/stdio.texi (fopen): Fix typos in description of
11122 ",ccs=STRING".
11123
8dee4833
AJ
111242012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11125
11126 [BZ #4026]
11127 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11128 get clock_id definition.
11129
9078ce93
TS
111302012-02-17 Thomas Schwinge <thomas@schwinge.name>
11131
11132 [BZ #4822]
11133 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11134 (madvise): Cast every argument to void on its own.
11135
3835c55f
JM
111362012-02-17 Joseph Myers <joseph@codesourcery.com>
11137
11138 [BZ #9902]
11139 * manual/startup.texi (Exit Status): Fix typo.
11140
35c47e37
JM
111412012-02-17 Joseph Myers <joseph@codesourcery.com>
11142
11143 [BZ #10140]
11144 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11145 * manual/examples/argp-ex2.c: Likewise.
11146 * manual/examples/argp-ex3.c: Likewise.
11147
e3b69ca7
RH
111482012-02-16 Richard Henderson <rth@redhat.com>
11149
11150 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11151 * sysdeps/s390/s390-32/initfini.c: Remove.
11152 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11153 * sysdeps/s390/s390-64/initfini.c: Remove.
11154
df83af67
KK
111552012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11156
11157 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11158 compiler output for sysdeps/generic/initfini.c.
11159 * sysdeps/sh/elf/initfini.c: Remove file.
11160
f63f3380
DM
111612012-02-16 David S. Miller <davem@davemloft.net>
11162
fb59b3a4
DM
11163 [BZ #11494]
11164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11165
f63f3380
DM
11166 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11167 * sysdeps/sparc/crti.S: New file.
11168 * sysdeps/sparc/crtn.S: New file.
11169 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11170 * sysdeps/sparc/sparc64/Makefile: Likewise.
11171
df6a4a4a
MF
111722012-02-15 Mike Frysinger <vapier@gentoo.org>
11173
6dd8f3dc 11174 [BZ #3335]
df6a4a4a
MF
11175 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11176
1cac7236
RM
111772012-02-15 Roland McGrath <roland@hack.frob.com>
11178
d2c736f8
RM
11179 [BZ #4822]
11180 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11181
1cac7236
RM
11182 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11183 (write, read, close): Likewise.
11184 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11185
8e475601
JM
111862012-02-15 Joseph Myers <joseph@codesourcery.com>
11187
11188 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11189 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11190 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11191 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11192 <bits/signalfd.h>.
11193 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11195 bits/signalfd.h.
11196
ed656b40
MP
111972012-02-14 Marek Polacek <polacek@redhat.com>
11198
11199 * sysdeps/x86_64/crti.S: New file.
11200 * sysdeps/x86_64/crtn.S: New file.
11201 * sysdeps/x86_64/elf/initfini.c: Remove file.
11202
2a979d3a
JM
112032012-02-13 Joseph Myers <joseph@codesourcery.com>
11204
11205 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11206 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11207 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11208 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11209 <bits/inotify.h>.
11210 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11212 bits/inotify.h.
11213
2a418ac3
JM
112142012-02-13 Joseph Myers <joseph@codesourcery.com>
11215
11216 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11217 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11218 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11219 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11220 <bits/eventfd.h>.
11221 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11223 bits/eventfd.h.
11224
fb779be7
TS
112252012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11226
e19e83c5
RM
11227 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11228 __feraiseexcept instead of feraiseexcept.
7c35ffed 11229
fb779be7
TS
11230 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11231 nanosleep invocations.
11232 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11233 strings, and add error checking for a nanosleep invocations.
11234
59ba27a6
PE
112352012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11236
11237 Replace FSF snail mail address with URLs, as per GNU coding standards.
11238 Most of the snail mail addresses were wrong anyway, and omitting
11239 them makes the source code easier to maintain. Almost all of the
11240 changes are to license notices and to locale LC_IDENTIFICATION
11241 addresses, except for this one:
11242 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11243 not its snail mail address.
11244
57b957eb
RH
112452012-02-09 Richard Henderson <rth@twiddle.net>
11246
af850b1c
RH
11247 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11248 of kernel-features.h.
11249
57b957eb
RH
11250 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11251
6b73181a
MP
112522012-02-08 Marek Polacek <polacek@redhat.com>
11253
11254 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11255 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11256 * sysdeps/gnu/_G_config.h: Likewise.
11257 * sysdeps/generic/_G_config.h: Likewise.
11258
26ecc33a
AS
112592012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11260
6c6dbc63
AS
11261 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11262 tests.
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11264
e216c012
AS
11265 * sysdeps/powerpc/powerpc32/crti.S: New file.
11266 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11267 * sysdeps/powerpc/powerpc64/crti.S: New file.
11268 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11269
26ecc33a
AS
11270 * Makeconfig (have-initfini): Don't set.
11271 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11272 * configure.in (nopic_initfini): Don't substitute.
11273 * config.h.in (HAVE_INITFINI): Don't #undef.
11274 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11275 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11276
3add8e13
JM
112772012-02-08 Joseph Myers <joseph@codesourcery.com>
11278
11279 Support crti.S and crtn.S provided directly by architectures.
11280 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11281 [crti.S in sysdirs] (omit-deps): Likewise.
11282 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11283 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11284 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11285 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11286 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11287 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11288 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11289 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11290 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11291 compiler output for sysdeps/generic/initfini.c.
11292 * sysdeps/i386/elf/Makefile: Remove file.
11293 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11294
a22f12b4
MP
112952012-02-07 Marek Polacek <polacek@redhat.com>
11296
11297 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11298 * sysdeps/gnu/_G_config.h: Likewise.
11299 * sysdeps/mach/hurd/_G_config.h: Likewise.
11300
148cf100
MP
113012012-02-07 Marek Polacek <polacek@redhat.com>
11302
11303 * math/Makefile (tests): Add tst-CMPLX2.
11304 * math/tst-CMPLX2.c: New file.
11305
cfdc0dd7
AS
113062012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11307
84ba42c4
AS
11308 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11309
cfdc0dd7
AS
11310 * math/libm-test.inc (jn_test): Add missing L suffix.
11311
622c86f4
MP
113122012-02-06 Marek Polacek <polacek@redhat.com>
11313
11314 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11315 * sysdeps/i386/fpu/e_powf.S: Likewise.
11316 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11317 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11318 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11319 * sysdeps/i386/fpu/e_pow.S: Likewise.
11320 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11321 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11322 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11323 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11324 * sysdeps/i386/fpu/e_log2.S: Likewise.
11325 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11326 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11327 * sysdeps/i386/fpu/e_powl.S: Likewise.
11328 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11329 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11330 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11331 * sysdeps/i386/fpu/e_logl.S: Likewise.
11332 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11333 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11334 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11335 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11336 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11337 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11338 * sysdeps/i386/fpu/e_log.S: Likewise.
11339 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11340 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11341 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11342 * sysdeps/i386/fpu/e_logf.S: Likewise.
11343 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11344 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11345 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11346 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11347 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11348 * sysdeps/i386/fpu/e_log10.S: Likewise.
11349 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11350 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11351 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11352 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11353 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11354 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11355 * sysdeps/i386/asm-syntax.h: Likewise.
11356 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11357 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11358 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11359 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11360 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11361 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11362 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11363 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11365 * sysdeps/powerpc/sysdep.h: Likewise.
11366 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11367 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11368
d4a54ac6
JM
113692012-02-06 Joseph Myers <joseph@codesourcery.com>
11370
11371 [BZ #411]
11372 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11373
314054ea
JM
113742012-02-06 Joseph Myers <joseph@codesourcery.com>
11375
11376 * sysdeps/i386/sysdep.h: Include <features.h>.
11377 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11378 version.
11379
d8e0ca50
JM
113802012-02-05 Joseph Myers <joseph@codesourcery.com>
11381
11382 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11383 Define.
11384 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11385 LOAD_PIC_REG_STR.
11386
b1da7dd9
JM
113872012-02-03 Joseph Myers <joseph@codesourcery.com>
11388
11389 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11390 (SETUP_PIC_REG): Use GET_PC_THUNK.
11391 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11392 macro.
11393
9a1d9254
JM
113942012-02-03 Joseph Myers <joseph@codesourcery.com>
11395
11396 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11397 for non-PIC compilation.
11398 (SETUP_PIC_REG): Add .p2align directive.
11399 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11400 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11401 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11402 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11403 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11404 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11405 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11406 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11407 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11408 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11409 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11410 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11411 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11412 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11413 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11414 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11415 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11416 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11417 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11418 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11419 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11420 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11421 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11422 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11423 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11425 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11426 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11427 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11428 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11429 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11430 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11431 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11432 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11433 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11434 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11435 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11436 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11437 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11438 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11439 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11440
65dc3b75
JM
114412012-02-03 Joseph Myers <joseph@codesourcery.com>
11442
11443 * math/tst-CMPLX.c: Include <stdio.h>.
11444
d55bf177
JM
114452012-01-31 Joseph Myers <joseph@codesourcery.com>
11446
11447 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11448 float.
11449 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11450 * sysdeps/sparc/bits/mathdef.h: Likewise.
11451
69db4f8f
MP
114522012-01-31 Marek Polacek <polacek@redhat.com>
11453
11454 * libio/libio.h: Don't define _PARAMS.
11455 * locale/programs/config.h: Don't define PARAMS.
11456 * stdlib/strtol_l.c: Likewise.
11457 (__strtol_l): Remove PARAMS from the prototype.
11458
41b81892
UD
114592012-01-31 Ulrich Drepper <drepper@gmail.com>
11460
3b49edc0
UD
11461 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11462 names. Just use the correct names. Remove unnecessary wrapper
11463 functions.
11464 * malloc/arena.c: Likewise.
11465 * malloc/hooks.c: Likewise.
11466
41b81892
UD
11467 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11468 ARENA_TEST says not to. Simplify test for creation of a new arena.
11469 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11470
27a25b6e
UD
114712012-01-30 Ulrich Drepper <drepper@gmail.com>
11472
11473 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11474 into tail calls.
11475 (update_get_addr): New function.
11476 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11477 GET_ADDR_MODULE parameter.
11478
c8a89e7d
JM
114792012-01-30 Joseph Myers <joseph@codesourcery.com>
11480
11481 * crypt/cert.c: Remove __STDC__ conditionals.
11482 * crypt/crypt-entry.c: Likewise.
11483 * crypt/crypt_util.c: Likewise.
11484 * libio/filedoalloc.c: Likewise.
11485 * libio/fileops.c: Likewise.
11486 * libio/genops.c: Likewise.
11487 * libio/iofclose.c: Likewise.
11488 * libio/iofdopen.c: Likewise.
11489 * libio/iofopen.c: Likewise.
11490 * libio/iofopen64.c: Likewise.
11491 * libio/iogetdelim.c: Likewise.
11492 * libio/iopopen.c: Likewise.
11493 * libio/obprintf.c: Likewise.
11494 * libio/oldfileops.c: Likewise.
11495 * libio/oldiofclose.c: Likewise.
11496 * libio/oldiofdopen.c: Likewise.
11497 * libio/oldiofopen.c: Likewise.
11498 * libio/oldiopopen.c: Likewise.
11499 * libio/wfiledoalloc.c: Likewise.
11500 * libio/wgenops.c: Likewise.
11501 * locale/programs/xmalloc.c: Likewise.
11502 * misc/syslog.c: Likewise.
11503 * stdio-common/xbug.c: Likewise.
11504 * string/memchr.c: Likewise.
11505 * string/memcmp.c: Likewise.
11506 * string/memrchr.c: Likewise.
11507 * string/rawmemchr.c: Likewise.
11508 * sysdeps/posix/getcwd.c: Likewise.
11509 * time/strftime_l.c: Likewise.
11510
3b100462
JM
115112012-01-30 Joseph Myers <joseph@codesourcery.com>
11512
11513 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
11514 * config.make.in (config-cflags-sse2avx): Define.
11515 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11516 Fix typo.
11517
607998af
CM
115182012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11519
11520 * scripts/config.guess: Update from upstream config git repository.
11521 * scripts/config.sub: Likewise.
11522
3601428f
CM
115232012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11524
3ac8b282
CM
11525 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11526 (EM_NUM): Update.
11527 (R_TILEPRO_*, R_TILEGX_*): New macros.
11528
e034841e
CM
11529 * scripts/firstversions.awk: Fix bug in version range handling.
11530
540d7568
CM
11531 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11532
3601428f
CM
11533 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11534
463de862
CM
11535 * include/sys/epoll.h: New file.
11536 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11537 libc_hidden_def.
11538
73139a76
UD
115392012-01-28 Ulrich Drepper <drepper@gmail.com>
11540
96bc5b45
UD
11541 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11542 Avoid unnecessary __WORDSIZE == 64 test.
11543 (fmaxf): Use VEX format if possible.
11544 (fmax): Likewise.
11545 (fminf): Likewise.
11546 (fmin): Likewise.
11547
56f6f6a2
UD
11548 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11549 * math/math_private.h: Remove libc_fegetround* and
11550 libc_fesetround*.
11551 * sysdeps/i386/configure.in: Check for -msse2avx.
11552 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11553 also if SSE2AVX is defined.
11554 Remove libc_fegetround* and libc_fesetround*.
11555 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11556 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11557 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11558 of HAS_YMM_USABLE.
11559 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11560 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11561 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11562 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11563 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11564
73139a76
UD
11565 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11566
d73f93a4
AZ
115672012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11568
11569 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11570 size is not set.
11571 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11572
6ee65ed6
UD
115732012-01-27 Ulrich Drepper <drepper@gmail.com>
11574
11575 [BZ #13618]
11576 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11577 relocation.
11578 * Makeconfig (libm): Define.
11579 * elf/Makefile: Add rules to build and run tst-relsort1.
11580 * elf/tst-relsort1.c: New file.
11581 * elf/tst-relsort1mod1.c: New file.
11582 * elf/tst-relsort1mod2.c: New file.
11583
8db21882
JM
115842012-01-27 Joseph Myers <joseph@codesourcery.com>
11585
11586 * math/s_ldexp.c: Remove __STDC__ conditionals.
11587 * math/s_ldexpf.c: Likewise.
11588 * math/s_ldexpl.c: Likewise.
11589 * math/s_nextafter.c: Likewise.
11590 * math/s_nexttowardf.c: Likewise.
11591 * math/s_significand.c: Likewise.
11592 * math/s_significandf.c: Likewise.
11593 * math/s_significandl.c: Likewise.
11594 * math/w_jnl.c: Likewise.
11595 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11596 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11597 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11598 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11599 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11600 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11601 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11602 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11603 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11604 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11605 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11606 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11607 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11608 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11609 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11610 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11611 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11614 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11615 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11617 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11618 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11619 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11620 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11621 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11622 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11623 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11624 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11625 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11626 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11627 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11628 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11629 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11630 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11631 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11632 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11633 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11634 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11635 * sysdeps/ieee754/k_standard.c: Likewise.
11636 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11637 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11639 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11640 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11641 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11642 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11643 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11644 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11645 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11646 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11647 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11648 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11649 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11650 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11653 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11654 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11655 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11689 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11697 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11702 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11710 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11711 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11712 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11713 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11714 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11715 * sysdeps/ieee754/s_matherr.c: Likewise.
11716 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11717 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11719 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11720
965a54a4
JM
117212012-01-26 Joseph Myers <joseph@codesourcery.com>
11722
11723 * crypt/md5.h: Remove __STDC__ conditionals.
11724 * libio/libioP.h: Likewise.
11725 * locale/programs/config.h: Likewise.
11726 * sysdeps/generic/sysdep.h: Likewise.
11727 * sysdeps/i386/asm-syntax.h: Likewise.
11728 * sysdeps/s390/asm-syntax.h: Likewise.
11729 * sysdeps/unix/sysdep.h: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11732
7071ad79
JM
117332012-01-26 Joseph Myers <joseph@codesourcery.com>
11734
11735 * libio/libio.h: Remove __STDC__ conditionals.
11736 * malloc/obstack.h: Likewise.
11737 * math/complex.h: Likewise.
11738 * math/math.h: Likewise.
11739 * sysdeps/generic/_G_config.h: Likewise.
11740 * sysdeps/gnu/_G_config.h: Likewise.
11741 * sysdeps/mach/hurd/_G_config.h: Likewise.
11742 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11743 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11744 * sysdeps/sparc/bits/mathdef.h: Likewise.
11745
afc5ed09
UD
117462012-01-26 Ulrich Drepper <drepper@gmail.com>
11747
11748 [BZ #13583]
11749 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 11750 Clean up HAS_* macros.
afc5ed09 11751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
11752 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11753 possible.
11754 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11755 HAS_AVX.
11756 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11757 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11758 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11759 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11760 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 11761
bdb6de1d
JM
117622012-01-25 Joseph Myers <joseph@codesourcery.com>
11763
11764 * elf/tst-unique3.cc (gets): Remove declaration.
11765 * elf/tst-unique3lib.cc (gets): Likewise.
11766 * elf/tst-unique3lib2.cc (gets): Likewise.
11767 * elf/tst-unique4.cc (gets): Likewise.
11768
b15549e6
UD
117692012-01-24 Ulrich Drepper <drepper@gmail.com>
11770
11771 * include/stdio.h: Add C++ protection. Add gets declarations and
11772 definitions.
11773 * debug/tst-chk1.c: Don't declare gets here.
11774 * stdio-common/tst-gets.c: Likewise.
11775
a037381f
JM
117762012-01-24 Joseph Myers <joseph@codesourcery.com>
11777
11778 * posix/glob: Remove directory.
11779
f1d4aa75
JM
117802012-01-24 Joseph Myers <joseph@codesourcery.com>
11781
11782 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11783
81c0c964
PT
117842012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11785
11786 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11787 of the non-standard EPFNOSUPPORT.
11788
0ea698ae
ST
117892011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11790
11791 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11792 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11793 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11794
d220b117
UD
117952012-01-21 Ulrich Drepper <drepper@gmail.com>
11796
11797 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11798
3e1aa84e
UD
117992012-01-20 Ulrich Drepper <drepper@gmail.com>
11800
11801 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11802 transient errors.
11803 * nscd/grpcache.c (cache_addgr): Likewise.
11804 * nscd/hstcache.c (cache_addhst): Likewise.
11805 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11806 * nscd/pwdcache.c (cache_addpw): Likewise.
11807 * nscd/servicescache.c (cache_addserv): Likewise.
11808
400aa020
UD
118092012-01-16 Ulrich Drepper <drepper@gmail.com>
11810
d77e7869
UD
11811 * malloc/malloc.c: Various cleanups.
11812 * malloc/hooks.c: Likewise.
11813
400aa020
UD
11814 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11815 * stdlib/bug-fmtmsg1.c: New file.
11816
11817 * stdlib/fmtmsg.c (init): Add missing unlock.
11818 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11819
e0a309cf
MP
118202012-01-12 Marek Polacek <polacek@redhat.com>
11821
11822 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11823 and _GNU_SOURCE.
11824
929d11c7
WS
118252012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11826
11827 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11828 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11829 macro to ensure uniqueness of label name.
11830 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11831 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11832
41d0e869
UD
118332012-01-11 Ulrich Drepper <drepper@gmail.com>
11834
0cc5ed3b
UD
11835 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11836
41d0e869
UD
11837 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11838 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11841
a47a831a
UD
118422012-01-10 Ulrich Drepper <drepper@gmail.com>
11843
daa891c0
UD
11844 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11845
11846 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11847 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11848 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11849
e58ef0f2
UD
11850 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11851
a47a831a 11852 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
11853 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11854 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 11855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
11856
11857 * math/bits/math-finite.h: Add ldexp support.
11858
a0bfc9c7
MP
118592012-01-10 Marek Polacek <polacek@redhat.com>
11860
11861 * locale/programs/localedef.h (show_archive_content): Add noreturn
11862 attribute.
11863
d6e97a1d
UD
118642012-01-09 Ulrich Drepper <drepper@gmail.com>
11865
11866 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11867
d5835c26
UD
118682012-01-08 Ulrich Drepper <drepper@gmail.com>
11869
e5f484c6
UD
11870 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11871
d5835c26
UD
11872 * io/Makefile (headers): Add bits/poll2.h.
11873
d1f741e9
WS
118742011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11875
11876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11877 typo #include statement.
11878
ec09c1c4
UD
118792012-01-08 Ulrich Drepper <drepper@gmail.com>
11880
11881 * include/sys/cdefs.h: Define __attribute_alloc_size.
11882 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11883 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11884 * elf/pldd.c: Likewise.
11885 * iconv/iconv_charmap.c: Likewise.
11886 * iconv/iconvconfig.c: Likewise.
11887 * iconv/strtab.c: Likewise.
11888 * locale/programs/locale.c: Likewise.
11889 * locale/programs/localedef.h: Likewise.
11890 * locale/programs/simple-hash.c: Likewise.
11891 * nscd/nscd.h: Likewise.
11892 * nss/makedb.c: Likewise.
11893 * sysdeps/generic/ldconfig.h: Likewise.
11894 * locale/programs/localedef.c: Remove xmalloc prototype.
11895 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11896
20b38e03
PP
118972012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11898
11899 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11900 appropriate.
11901
a0da5fe1
UD
119022012-01-08 Ulrich Drepper <drepper@gmail.com>
11903
1d5a644a 11904 * math/Makefile (tests): Add tst-CMPLX.
669704fd 11905 * math/tst-CMPLX.c: New file.
1d5a644a 11906
8784a6db
UD
11907 * math/complex.h (CMPLXL): Fix typo.
11908
d9a216c0
UD
11909 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11910 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11911 GLIBC_2.16.
11912 * debug/tst-chk1.c: Add poll and ppoll tests.
11913 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11914 * include/sys/poll.h: Add hidden proto for ppoll.
11915 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11916 * sysdeps/mach/hurd/ppoll.c: Likewise.
11917 * io/ppoll.c: Likewise.
11918 * debug/poll_chk.c: New file.
11919 * debug/ppoll_chk.c: New file.
11920 * include/bits/poll2.h: New file.
11921 * io/bits/poll2.h: New file.
11922
ac097f5c
UD
11923 [BZ #1350]
11924 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11925
2119dcfa
UD
11926 * configure.in: static is always set to yes. Remove.
11927 * config.make.in: Don't set build-static.
11928 * Makeconfig: Remove use of build-static.
11929 * dlfcn/Makefile: Likewise.
11930 * elf/Makefile: Likewise.
11931 * math/Makefile: Likewise.
11932 * misc/Makefile: Likewise.
11933 * nptl/Makefile: Likewise.
11934 * sysdeps/mach/hurd/Makefile: Likewise.
11935
121766a9
UD
11936 * configure.in: PWD_P is not used anymore.
11937 * config.make.in: Remove PWD_P entry.
11938
51a1d39c 11939 * configure.in: Remove last remnants of RANLIB.
8720d066 11940 No need to check for signed size_t anymore.
215f4bdc
UD
11941 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11942 and IA-64.
3857022a 11943 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
11944 * aclocal.m4: Likewise.
11945
d3ed7225
UD
11946 * wcsmbs/mbrtoc16.c: Implement using towc function.
11947 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11948 * wcsmbs/wcsmbsload.c: Likewise.
11949 * iconv/gconv_simple.c: Likewise.
11950 * iconv/gconv_int.h: Likewise.
11951 * iconv/gconv_builtin.h: Likewise.
11952 * iconv/iconv_prog.c: Remove CHAR16 handling.
11953
11954 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11955
11956 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11957
a0da5fe1
UD
11958 * configure.in: Remove --with-elf and --enable-bounded options.
11959 Dont set base_machine for ia64. More non-ELF conditions removed.
11960 Remove testing and setting of leading underscore information.
11961 * config.make.in (build-bounded): Set to no.
11962 * config.h.in: Remove NO_UNDERSCORES entry.
11963 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11964 them.
11965 * csu/start.c: Remove !NO_UNDERSCORE code.
11966 * locale/localeinfo.h: Likewise.
11967 * sysdeps/generic/machine-gmon.h: Likewise.
11968 * sysdeps/generic/sysdep.h: Likewise.
11969 * sysdeps/i386/sysdep.h: Likewise.
11970 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11971 * sysdeps/mach/sysdep.h: Likewise.
11972 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11973 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11974 * sysdeps/sh/sysdep.h: Likewise.
11975 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11976 * sysdeps/unix/i386/sysdep.S: Likewise.
11977 * sysdeps/unix/sparc/start.c: Likewise.
11978 * sysdeps/unix/sparc/sysdep.S: Likewise.
11979 * sysdeps/unix/sparc/sysdep.h: Likewise.
11980 * sysdeps/unix/start.c: Likewise.
11981 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11982 * sysdeps/x86_64/sysdep.h: Likewise.
11983
df78418a
UD
119842012-01-07 Ulrich Drepper <drepper@gmail.com>
11985
a784e502
UD
11986 [BZ #13553]
11987 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11988 for non-gcc.
11989 * argp/argp-fmtstream.h: Use const instead __const.
11990 * argp/argp.h: Likewise.
11991 * assert/assert.h: Likewise.
11992 * bits/fenv.h: Likewise.
11993 * bits/sched.h: Likewise.
11994 * bits/sigset.h: Likewise.
11995 * bits/sigthread.h: Likewise.
11996 * catgets/nl_types.h: Likewise.
11997 * conform/data/pthread.h-data: Likewise.
11998 * crypt/crypt-private.h: Likewise.
11999 * crypt/crypt.h: Likewise.
12000 * crypt/crypt_util.c: Likewise.
12001 * ctype/ctype.h: Likewise.
12002 * debug/execinfo.h: Likewise.
12003 * debug/mbsnrtowcs_chk.c: Likewise.
12004 * debug/mbsrtowcs_chk.c: Likewise.
12005 * debug/wcsnrtombs_chk.c: Likewise.
12006 * debug/wcsrtombs_chk.c: Likewise.
12007 * debug/wcstombs_chk.c: Likewise.
12008 * dirent/dirent.h: Likewise.
12009 * dlfcn/dlfcn.h: Likewise.
12010 * elf/neededtest4.c: Likewise.
12011 * grp/grp.h: Likewise.
12012 * gshadow/gshadow.h: Likewise.
12013 * iconv/gconv.h: Likewise.
12014 * iconv/gconv_int.h: Likewise.
12015 * iconv/gconv_simple.c: Likewise.
12016 * iconv/iconv.h: Likewise.
12017 * iconv/loop.c: Likewise.
12018 * iconv/skeleton.c: Likewise.
12019 * include/aio.h: Likewise.
12020 * include/aliases.h: Likewise.
12021 * include/argz.h: Likewise.
12022 * include/arpa/inet.h: Likewise.
12023 * include/assert.h: Likewise.
12024 * include/dirent.h: Likewise.
12025 * include/dlfcn.h: Likewise.
12026 * include/execinfo.h: Likewise.
12027 * include/fcntl.h: Likewise.
12028 * include/fenv.h: Likewise.
12029 * include/glob.h: Likewise.
12030 * include/grp.h: Likewise.
12031 * include/libintl.h: Likewise.
12032 * include/mntent.h: Likewise.
12033 * include/netdb.h: Likewise.
12034 * include/pwd.h: Likewise.
12035 * include/rpc/netdb.h: Likewise.
12036 * include/sched.h: Likewise.
12037 * include/search.h: Likewise.
12038 * include/shadow.h: Likewise.
12039 * include/signal.h: Likewise.
12040 * include/stdio.h: Likewise.
12041 * include/stdlib.h: Likewise.
12042 * include/string.h: Likewise.
12043 * include/sys/socket.h: Likewise.
12044 * include/sys/stat.h: Likewise.
12045 * include/sys/statfs.h: Likewise.
12046 * include/sys/statvfs.h: Likewise.
12047 * include/sys/syslog.h: Likewise.
12048 * include/sys/time.h: Likewise.
12049 * include/sys/uio.h: Likewise.
12050 * include/time.h: Likewise.
12051 * include/unistd.h: Likewise.
12052 * include/utmp.h: Likewise.
12053 * include/wchar.h: Likewise.
12054 * include/wctype.h: Likewise.
12055 * inet/aliases.h: Likewise.
12056 * inet/arpa/inet.h: Likewise.
12057 * inet/netinet/ether.h: Likewise.
12058 * inet/netinet/in.h: Likewise.
12059 * intl/libintl.h: Likewise.
12060 * io/bits/fcntl2.h: Likewise.
12061 * io/fcntl.h: Likewise.
12062 * io/ftw.h: Likewise.
12063 * io/sys/poll.h: Likewise.
12064 * io/sys/stat.h: Likewise.
12065 * io/sys/statfs.h: Likewise.
12066 * io/sys/statvfs.h: Likewise.
12067 * io/utime.h: Likewise.
12068 * libio/bits/stdio.h: Likewise.
12069 * libio/bits/stdio2.h: Likewise.
12070 * libio/libio.h: Likewise.
12071 * libio/libioP.h: Likewise.
12072 * libio/stdio.h: Likewise.
12073 * locale/lc-ctype.c: Likewise.
12074 * locale/locale.h: Likewise.
12075 * login/utmp.h: Likewise.
12076 * malloc/arena.c: Likewise.
12077 * malloc/malloc.c: Likewise.
12078 * malloc/malloc.h: Likewise.
12079 * malloc/mcheck.c: Likewise.
12080 * malloc/mtrace.c: Likewise.
12081 * math/bits/mathcalls.h: Likewise.
12082 * math/fenv.h: Likewise.
12083 * math/math_private.h: Likewise.
12084 * misc/bits/error.h: Likewise.
12085 * misc/bits/syslog.h: Likewise.
12086 * misc/err.h: Likewise.
12087 * misc/error.h: Likewise.
12088 * misc/fstab.h: Likewise.
12089 * misc/mntent.h: Likewise.
12090 * misc/regexp.h: Likewise.
12091 * misc/search.h: Likewise.
12092 * misc/sgtty.h: Likewise.
12093 * misc/sys/mman.h: Likewise.
12094 * misc/sys/syslog.h: Likewise.
12095 * misc/sys/uio.h: Likewise.
12096 * misc/sys/xattr.h: Likewise.
12097 * misc/ttyent.h: Likewise.
12098 * nis/rpcsvc/ypclnt.h: Likewise.
12099 * nss/nss.h: Likewise.
12100 * posix/bits/unistd.h: Likewise.
12101 * posix/fnmatch.h: Likewise.
12102 * posix/glob.h: Likewise.
12103 * posix/sched.h: Likewise.
12104 * posix/spawn.h: Likewise.
12105 * posix/sys/wait.h: Likewise.
12106 * posix/unistd.h: Likewise.
12107 * posix/wordexp.h: Likewise.
12108 * pwd/pwd.h: Likewise.
12109 * resolv/netdb.h: Likewise.
12110 * resource/sys/resource.h: Likewise.
12111 * rt/aio.h: Likewise.
12112 * rt/bits/mqueue2.h: Likewise.
12113 * rt/mqueue.h: Likewise.
12114 * shadow/shadow.h: Likewise.
12115 * signal/signal.h: Likewise.
12116 * socket/send.c: Likewise.
12117 * socket/sendto.c: Likewise.
12118 * socket/sys/socket.h: Likewise.
12119 * stdio-common/printf.h: Likewise.
12120 * stdlib/bits/stdlib.h: Likewise.
12121 * stdlib/fmtmsg.h: Likewise.
12122 * stdlib/monetary.h: Likewise.
12123 * stdlib/stdlib.h: Likewise.
12124 * stdlib/ucontext.h: Likewise.
12125 * streams/stropts.h: Likewise.
12126 * string/argz.h: Likewise.
12127 * string/bits/string2.h: Likewise.
12128 * string/string.h: Likewise.
12129 * string/strings.h: Likewise.
12130 * sunrpc/rpc/auth.h: Likewise.
12131 * sunrpc/rpc/auth_des.h: Likewise.
12132 * sunrpc/rpc/clnt.h: Likewise.
12133 * sunrpc/rpc/netdb.h: Likewise.
12134 * sunrpc/rpc/pmap_clnt.h: Likewise.
12135 * sunrpc/rpc/xdr.h: Likewise.
12136 * sysdeps/generic/inttypes.h: Likewise.
12137 * sysdeps/generic/net/if.h: Likewise.
12138 * sysdeps/generic/sys/swap.h: Likewise.
12139 * sysdeps/gnu/net/if.h: Likewise.
12140 * sysdeps/gnu/utmpx.h: Likewise.
12141 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12142 * sysdeps/i386/i486/bits/string.h: Likewise.
12143 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12144 * sysdeps/s390/bits/string.h: Likewise.
12145 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12146 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12147 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12148 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12149 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12150 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12151 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12152 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12153 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12154 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12155 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12156 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12157 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12158 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12159 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12160 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12161 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12163 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12164 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12167 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12168 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12169 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12170 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12171 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12172 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12173 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12174 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12175 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12176 * sysvipc/sys/ipc.h: Likewise.
12177 * sysvipc/sys/msg.h: Likewise.
12178 * sysvipc/sys/sem.h: Likewise.
12179 * sysvipc/sys/shm.h: Likewise.
12180 * termios/termios.h: Likewise.
12181 * time/sys/time.h: Likewise.
12182 * time/time.h: Likewise.
12183 * wcsmbs/bits/wchar2.h: Likewise.
12184 * wcsmbs/uchar.h: Likewise.
12185 * wcsmbs/wchar.h: Likewise.
12186 * wctype/wctype.h: Likewise.
12187
0269750c
UD
12188 [BZ #13551]
12189 * Makeconfig: Remove all but ELF support including AIX support.
12190 * Makerules: Likewise.
12191 * config.h.in: Likewise.
12192 * config.make.in: Likewise.
12193 * configure: Likewise.
12194 * configure.in: Likewise.
12195 * csu/Makefile: Likewise.
12196 * csu/version.c: Likewise.
12197 * debug/Makefile: Likewise.
12198 * dlfcn/Makefile: Likewise.
12199 * elf/Makefile: Likewise.
12200 * extra-lib.mk: Likewise.
12201 * iconv/Makefile: Likewise.
12202 * include/libc-symbols.h: Likewise.
12203 * include/shlib-compat.h: Likewise.
12204 * resolv/Makefile: Likewise.
12205 * resolv/res_libc.c: Likewise.
12206 * rt/Makefile: Likewise.
12207 * sysdeps/i386/asm-syntax.h: Likewise.
12208 * sysdeps/i386/sysdep.h: Likewise.
12209 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12210 * sysdeps/mach/sysdep.h: Likewise.
12211 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12212 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12213 * sysdeps/s390/asm-syntax.h: Likewise.
12214 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12215 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12216 * sysdeps/sh/sysdep.h: Likewise.
12217 * sysdeps/unix/sparc/sysdep.h: Likewise.
12218 * sysdeps/wordsize-32/divdi3.c: Likewise.
12219 * sysdeps/x86_64/sysdep.h: Likewise.
12220
00bbd29b
UD
12221 * argp/Versions: Remove _argp_unlock_xxx.
12222
12223 [BZ #13559]
12224 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12225 * abilist/libBrokenLocale.abilist: Likewise.
12226 * abilist/libanl.abilist: Likewise.
12227 * abilist/libc.abilist: Likewise.
12228 * abilist/libcrypt.abilist: Likewise.
12229 * abilist/libdl.abilist: Likewise.
12230 * abilist/libm.abilist: Likewise.
12231 * abilist/libnsl.abilist: Likewise.
12232 * abilist/libpthread.abilist: Likewise.
12233 * abilist/libresolv.abilist: Likewise.
12234 * abilist/librt.abilist: Likewise.
12235 * abilist/libthread_db.abilist: Likewise.
12236 * abilist/libutil.abilist: Likewise.
12237 * abilist/libnss_db.abilist: New file.
12238
12239 * scripts/abilist.awk: Add support for indirect functions.
12240
a2693a0e
UD
12241 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12242
3f05895f
UD
12243 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12244
ecb6fb48
UD
12245 * shlib-versions: Remove entries for ports architectures.
12246
664f8cb9
UD
12247 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12248 files in ports.
12249 * elf/stackguard-macros.h: Remove support for IA-64.
12250 * elf/tst-auditmod1.c: Likewise.
12251 * sysdeps/generic/ldsodefs.h: Likewise.
12252
7ae81d88
UD
12253 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12254 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12255 configure files.
12256
bdeba135
UD
12257 [BZ #13552]
12258 * configure.in: Remove --enable-omitfp support.
12259 * FAQ.in: Adjust.
12260 * config.make.in: Likewise.
12261 * Makeconfig: Likewise.
12262 * manual/install.texi: Likewise.
12263
d75a0a62
UD
12264 In case anyone cares, the IA-64 architecture could move to ports.
12265 * sysdeps/ia64/*: Removed.
12266 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 12267 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 12268
dcc9756b
UD
12269 [BZ #13555]
12270 * configure.in: Remove entries for unsupported architectures.
12271
d3761ebc 12272 [BZ #13533]
9954432e
UD
12273 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12274 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12275 routines.
12276 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12277 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12278 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12279 fall back to using wcrtomb.
12280 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12281 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12282 renaming.
12283 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12284 * wcsmbs/tst-c16c32-1.c: New file.
12285
12286 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12287 local variable.
12288
c3a87236
UD
12289 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12290
28926a1b
UD
12291 * elf/tst-unique3.cc: Add explicit declaration of gets.
12292 * elf/tst-unique3lib.cc: Likewise.
12293 * elf/tst-unique3lib2.cc: Likewise.
12294 * elf/tst-unique4.cc: Likewise.
12295
df78418a
UD
12296 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12297
8ecd6b2a
JM
122982012-01-06 Joseph Myers <joseph@codesourcery.com>
12299
12300 [BZ #13566]
12301 * assert/assert.h (static_assert): Don't define for C++.
12302 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12303 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12304
9f115170
UD
123052012-01-03 Ulrich Drepper <drepper@gmail.com>
12306
5e0d0300
UD
12307 * iconv/loop.c (single loop): Fix assertion in storing of
12308 remaining bytes.
12309
9f115170
UD
12310 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12311
81fb02b0
UD
123122012-01-01 Ulrich Drepper <drepper@gmail.com>
12313
12314 * posix/getconf.c: Update copyright year.
12315 * nss/getent.c: Likewise.
a316c1f6 12316 * nss/makedb.c: Likewise.
81fb02b0
UD
12317 * iconv/iconvconfig.c: Likewise.
12318 * iconv/iconv_prog.c: Likewise.
12319 * elf/ldconfig.c: Likewise.
a316c1f6
UD
12320 * elf/pldd.c: Likewise.
12321 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
12322 * catgets/gencat.c: Likewise.
12323 * csu/version.c: Likewise.
12324 * elf/ldd.bash.in: Likewise.
12325 * elf/sprof.c (print_version): Likewise.
12326 * locale/programs/locale.c: Likewise.
12327 * locale/programs/localedef.c: Likewise.
a316c1f6 12328 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
12329 * nscd/nscd.c (print_version): Likewise.
12330 * debug/xtrace.sh: Likewise.
12331 * malloc/memusage.sh: Likewise.
12332 * malloc/mtrace.pl: Likewise.
12333 * debug/catchsegv.sh: Likewise.
12334
2ba92745
JJ
123352011-12-30 Jakub Jelinek <jakub@redhat.com>
12336
12337 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12338 pure attribute.
12339
dadebdae
UD
123402011-12-24 Ulrich Drepper <drepper@gmail.com>
12341
d3761ebc 12342 [BZ #13533]
db6af3eb
UD
12343 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12344 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12345 transformations.
12346 * iconv/gconv_int.h: Likewise.
12347 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12348 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12349 from libc for GLIBC_2.16.
12350 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12351 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12352 * wcsmbs/uchar.h: Really define mbstate_t.
12353 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12354 * wcsmbs/c16rtomb.c: New file.
12355 * wcsmbs/mbrtoc16.c: New file.
12356 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12357 for C/POSIX locale.
12358 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12359 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12360
dadebdae
UD
12361 * wcsmbs/wchar.h: Add missing __restrict.
12362
67371b56
UD
123632011-12-23 Ulrich Drepper <drepper@gmail.com>
12364
74033a25
UD
12365 [BZ #13532]
12366 * time/Makefile (routines): Add timespec_get.
12367 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12368 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12369 timespec for ISO C11.
12370 * time/timespec_get.c: New file.
12371 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12372 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12373
380d7e87
UD
12374 [BZ #13531]
12375 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12376 * stdlib/stdlib.h: Declare aligned_alloc.
12377 * Versions.def: Add GLIBC_2.16 for libc.
12378 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12379
4e9e7a35
UD
12380 [BZ 13527]
12381 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12382 ISO C11.
12383
380d7e87 12384 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
12385 code.
12386
03a71829
UD
12387 [BZ #13528]
12388 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12389
839e283e
UD
12390 [BZ #13529]
12391 * assert/assert.h (static_assert): Define.
12392
ce5294e2 12393 * version.h: Update for 2.16 development version.
90fa7312 12394
8d44e150 12395 [BZ #13526]
d7809905
UD
12396 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12397 _ISOC11_SOURCE.
12398
c0da14cd
UD
12399 * version.h (RELEASE): Bump for 2.15 release.
12400 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12401
530a3249
MP
12402 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12403 Patch by Marek Polacek <mpolacek@redhat.com>.
12404
67371b56
UD
12405 * bits/byteswap.h: Protect long long constants with __extension__.
12406 * sysdeps/i386/bits/byteswap.h: Likewise.
12407 * sysdeps/ia64/bits/byteswap.h: Likewise.
12408 * sysdeps/s390/bits/byteswap.h: Likewise.
12409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12410
15db4de1
LD
124112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12412
12413 [BZ #13540]
bbe315ea
LD
12414 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12415 destination buffer.
15db4de1
LD
12416 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12417
2b2596b1
MP
124182011-12-23 Marek Polacek <polacek@redhat.com>
12419
12420 * elf/dl-addr.c (determine_info): Add inline keyword.
12421 * elf/tst-auditmod4b.c (check_avx): Likewise.
12422 * elf/tst-auditmod6b.c (check_avx): Likewise.
12423 * elf/tst-auditmod6c.c (check_avx): Likewise.
12424 * elf/tst-auditmod7b.c (check_avx): Likewise.
12425
70c6c246
UD
124262011-12-23 Ulrich Drepper <drepper@gmail.com>
12427
12428 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12429 !__SSE_MATH__.
12430
c044cf14
LD
124312011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12432
15db4de1 12433 [BZ #13540]
c044cf14
LD
12434 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12435 processing for last bytes.
12436
6b13d9d9
BH
124372011-08-06 Bruno Haible <bruno@clisp.org>
12438
d455f537
BH
12439 [BZ #13061]
12440 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12441 U+0385, not to U+1FEE.
12442
6b13d9d9
BH
12443 [BZ #13062]
12444 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12445 entry for U+00A5 U+0301.
12446
db910efd
UD
124472011-12-22 Ulrich Drepper <drepper@gmail.com>
12448
27deeafc
UD
12449 [BZ #13166]
12450 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12451 buffer for the output is too small.
12452
aed9d171
UD
12453 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12454 optimization.
12455
db910efd
UD
12456 [BZ #13185]
12457 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12458 SSE flags if possible.
12459
2bd779ae
LD
124602011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12461
e7f9dac3 12462 [BZ #13540]
2bd779ae
LD
12463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12464 processing for last bytes.
12465
154bfc16
JM
124662011-12-22 Joseph Myers <joseph@codesourcery.com>
12467
12468 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12469 (syscall-list-default-options, syscall-list-default-condition)
12470 (syscall-list-includes): Define.
12471 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12472 list of ABIs and options and #if conditions for each ABI. Do not
12473 handle common syscalls between ABIs specially.
12474 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12475 Remove.
12476 (syscall-list-variants, syscall-list-32bit-options)
12477 (syscall-list-32bit-condition, syscall-list-64bit-options)
12478 (syscall-list-64bit-condition): Define.
12479 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12480 (syscall-list-variants, syscall-list-32bit-options)
12481 (syscall-list-32bit-condition, syscall-list-64bit-options)
12482 (syscall-list-64bit-condition): Define.
12483 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12484 Remove.
12485 (syscall-list-variants, syscall-list-32bit-options)
12486 (syscall-list-32bit-condition, syscall-list-64bit-options)
12487 (syscall-list-64bit-condition): Define.
12488 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12489 Remove.
12490 (syscall-list-variants, syscall-list-32bit-options)
12491 (syscall-list-32bit-condition, syscall-list-64bit-options)
12492 (syscall-list-64bit-condition): Define.
12493
21eaf3a5
UD
124942011-12-22 Ulrich Drepper <drepper@gmail.com>
12495
16c6f992
UD
12496 * locale/iso-639.def: Add brx entry.
12497
41043168
UD
12498 [BZ #13328]
12499 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12500 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12501
21eaf3a5
UD
12502 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12503 __feraiseexcept_renamed.
12504
e3a851a2
UD
125052011-12-21 Ulrich Drepper <drepper@gmail.com>
12506
4920765e
UD
12507 [BZ #13538]
12508 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12509 EPOLLET with unsigned values.
12510 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12511 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12512
e3a851a2
UD
12513 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12514 to large cancellation.
12515 * math/s_cacoshf.c: Likewise.
12516 * math/s_cacoshl.c: Likewise.
12517
b27e24b8
RK
125182011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12519
12520 [BZ #13305]
aebefeee 12521 [BZ #12786]
b27e24b8
RK
12522 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12523 * math/s_cacoshf.c: Likewise.
12524 * math/s_cacoshl.c: Likewise.
12525
ee190f67
UD
125262011-12-21 Ulrich Drepper <drepper@gmail.com>
12527
12528 [BZ #13439]
12529 * iconv/gconv.h: Define __GCONV_SWAP.
12530 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12531 * iconvdata/utf-16.c: Likewise.
12532 * iconvdata/utf-32.c: Likewise.
12533
707f25df
AS
125342011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12535
12536 [BZ #13524]
12537 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12538 numerator after shifting it by one limb.
12539
d2daaa1e
RÁE
125402011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12541
12542 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12543 under [__USE_EXTERN_INLINES].
12544
a4647e72
UD
125452011-12-17 Ulrich Drepper <drepper@gmail.com>
12546
12547 [BZ #13446]
12548 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12549
f0b264f1
AZ
125502011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12551
12552 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12553 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12554 optimized code.
12555 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12556 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12557 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12558 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12559 for strncasecmp/strncasecmp_l compilation.
12560 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12561 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12562
8ef4f244
MP
125632011-12-08 Marek Polacek <mpolacek@redhat.com>
12564
12565 [BZ #13484]
12566 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12567 of __asm__.
12568
97ac2654
UD
125692011-12-17 Ulrich Drepper <drepper@gmail.com>
12570
12571 [BZ #13506]
12572 * time/tzfile.c (__tzfile_read): Check values from file header.
12573
91d2a845
WS
125742011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12575
12576 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12577 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12578 * powerpc/powerpc32/dl-start.S: Likewise.
12579 * powerpc/powerpc32/elf/start.S: Likewise.
12580 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12581 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12582 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12583 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12584 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12585 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12586 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12587 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12588 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12589 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12590 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12591 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12592 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12593 * powerpc/powerpc32/memset.S: Likewise.
12594 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12595 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12596 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12597 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12598 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12599 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12600 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12601 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12602 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12603 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12604 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12605 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12606 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12607
a1267ba1
AZ
126082011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12609
12610 * math/libm-test.inc: Added more nearbyint tests.
12611 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12612 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12614 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12615
ad8ac1bd
RL
126162011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12617
12618 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12619 FD_CLOEXEC.
12620
1d3e4b61
UD
126212011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12622
12623 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12624 Add wcscpy-ssse3 wcscpy-c.
12625 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12626 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12627 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12628 * sysdeps/x86_64/wcschr.S: New file.
12629 * sysdeps/x86_64/wcsrchr.S: New file.
12630 * string/test-strcmp.c: Remove checking of wcscmp function for
12631 wrong alignments.
12632 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12633 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12634 wcsrchr-sse2 wcsrchr-c.
12635 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12636 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12637 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12638 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12639 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12640 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12641 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12642 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12643 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12644 * wcsmbc/wcschr.c (WCSCHR): New macro.
12645
5b330a2d
UD
126462011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12647
12648 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12649 * wcsmbs/test-wcsrchr.c: New file.
12650 * string/test-strrchr.c: Add wcsrchr support.
12651 (WIDE): New macro.
12652 * wcsmbs/test-wcscpy.c: New file.
12653 * string/test-strcpy.c: Add wcscpy support.
12654 (WIDE): New macro.
26428b7c 12655
f039c043
UD
126562011-12-10 Ulrich Drepper <drepper@gmail.com>
12657
12658 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12659 the inner loop.
12660
850fb039
AS
126612011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12662
12663 [BZ #13472]
12664 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12665
4efbd5cb
UD
126662011-12-04 Ulrich Drepper <drepper@gmail.com>
12667
52ff5dd0 12668 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 12669 Minor optimizations.
52ff5dd0 12670
4efbd5cb
UD
12671 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12672 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12673 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12674
8a426e12
UD
126752011-12-03 Ulrich Drepper <drepper@gmail.com>
12676
aff2453d
UD
12677 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12678 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12679 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12680 for gcc to avoid warnings.
12681 * inet/Makefile (tests): Add tst-checks.
12682 * inet/tst-checks.c: New file.
12683
12684 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12685 warning.
12686
12687 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12688 __wmemcmp_sse2.
12689
12690 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12691 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12692
8a426e12
UD
12693 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12694
9bea3473
UD
126952011-12-02 Ulrich Drepper <drepper@gmail.com>
12696
3a965496
UD
12697 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12698 problem.
12699
9bea3473
UD
12700 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12701
f101631b
UD
127022011-11-29 Joseph Myers <joseph@codesourcery.com>
12703
12704 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12705 conditional on GCC version.
12706 (__arch_compare_and_exchange_val_8_acq)
12707 (__arch_compare_and_exchange_val_16_acq)
12708 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12709 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12710 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12711
a98275aa
UD
127122011-12-02 Joseph Myers <joseph@codesourcery.com>
12713
12714 * sysdeps/sh/backtrace.c: New file.
12715
d4cc29a2
AS
127162011-12-02 Andreas Schwab <schwab@redhat.com>
12717
12718 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12719 parenthesis.
12720
6257af2d
AS
127212011-12-01 Andreas Schwab <schwab@redhat.com>
12722
12723 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12724 falling back to utime.
12725
b5f44c1a
AS
127262011-11-30 Andreas Schwab <schwab@redhat.com>
12727
12728 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12729 expectations for float.
12730
f3a6cc0a
AS
127312011-11-29 Andreas Schwab <schwab@redhat.com>
12732
12733 * locale/weight.h (findidx): Add parameter len.
12734 * locale/weightwc.h (findidx): Likewise.
12735 * posix/fnmatch_loop.c (FCT): Adjust caller.
12736 * posix/regcomp.c (build_equiv_class): Likewise.
12737 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12738 * posix/regexec.c (check_node_accept_bytes): Likewise.
12739 * string/strcoll_l.c (STRCOLL): Likewise.
12740 * string/strxfrm_l.c (STRXFRM): Likewise.
12741
9d65ea3a
UD
127422011-11-17 Ulrich Drepper <drepper@gmail.com>
12743
12744 * Makefile.in: Remove CVSOPT handling.
12745 * configure.in: Remove use of AC_REVISION.
12746 * iconvdata/Makefile (distribute): No need to filter out CVS.
12747 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12748 handling.
12749
5583a086
AS
127502011-11-16 Andreas Schwab <schwab@redhat.com>
12751
12752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12753 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12754 [USE_AS_STRNCASECMP_L]: Likewise.
12755 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12756 NO_TLS_DIRECT_SEG_REFS.
12757 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12758 Fix argument offsets for non-PIC.
12759 [USE_AS_STRNCASECMP_L]: Likewise.
12760 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12761 NO_TLS_DIRECT_SEG_REFS.
12762
d62a8200
UD
127632011-11-15 Ulrich Drepper <drepper@gmail.com>
12764
9d65ea3a 12765 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
12766 O_CLOEXEC.
12767 * locale/loadlocale.c (_nl_load_locale): Likewise.
12768
09f93bd3
AS
127692011-11-15 Andreas Schwab <schwab@redhat.com>
12770
446514f9
AS
12771 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12772 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12773 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12774 (SYSCALL_GETTIME): Set errno on error.
12775
09f93bd3
AS
12776 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12777 count references to noai6ai_cached.
12778
312be3f9
UD
127792011-11-15 Ulrich Drepper <drepper@gmail.com>
12780
12781 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12782
12783 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12784 FD_CLOEXEC for /proc/self/maps.
12785
12786 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12787 FD_CLOEXEC for /proc/meminfo.
12788
12789 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12790 gai.conf.
12791
12792 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12793 FD_CLOEXEC for given file.
12794
12795 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12796
12797 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12798 FD_CLOEXEC for /etc/hosts.
12799 (_gethtent): Likewise.
12800
12801 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12802
12803 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12804 cancellation and set FD_CLOEXEC for /etc/netgroup.
12805
12806 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12807 reading /etc/publickey.
12808
12809 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12810 allow cancellation when reading /etc/group.
12811
12812 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12813 cancellation.
12814 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12815
12816 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12817 when using data file.
12818
12819 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12820
12821 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12822 (write_nis_obj): Use "c" and "e" in fopen.
12823
12824 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12825
12826 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12827
12828 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12829
12830 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12831
12832 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12833 locale.alias.
12834
12835 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12836
12837 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12838
12839 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12840
12841 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12842 file parsing and set FD_CLOEXEC.
12843
82af0fa8
UD
128442011-11-14 Ulrich Drepper <drepper@gmail.com>
12845
12846 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12847
a5fb313c
AS
128482011-11-14 Andreas Schwab <schwab@redhat.com>
12849
12850 * malloc/arena.c (arena_get2): Don't call reused_arena when
12851 _int_new_arena failed.
12852
6abf3465
UD
128532011-11-14 Ulrich Drepper <drepper@gmail.com>
12854
12855 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12856 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12857 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12858 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12861 to compile strcasecmp and strncasecmp.
12862 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12863 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12864
12865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12866
76e3966e
UD
128672011-11-13 Ulrich Drepper <drepper@gmail.com>
12868
12869 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12870 locale-defines.sym to gen-as-const-headers.
12871 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12872 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12874 to compile strcasecmp and strncasecmp.
12875 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12876 strcasecmp_l and strncasecmp_l.
12877 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12878 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12879 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12880 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12881 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12882 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12883 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12884 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12885 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12886 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12887 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12888
ab26144e
UD
128892011-11-12 Ulrich Drepper <drepper@gmail.com>
12890
7edb22ef
UD
12891 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12892 result of SYSDEP_GETTIME_CPU to retval.
12893 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12894 parameter list to macro. Remove trailing semicolon. Adjust users.
12895
9694fc44
UD
12896 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12897 variable.
12898
8ad89ef8
UD
12899 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12900 mantissa words.
12901 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12902
0c822ef9
UD
12903 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12904 from unused variable.
12905
874e0564
UD
12906 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12907 DWARF definitions.
12908 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12909 for assembling.
12910
3a2edc79
UD
12911 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12912 over namespaces.
12913
f3c2577f
UD
12914 * sunrpc/rpc_prot.c (rejected): Fix case value.
12915
294ce126
UD
12916 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12917 unsigned long long int to avoid warnings in shift.
12918
5e2b63c6
UD
12919 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12920 of use of trans.
12921 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12922 variable tmp.
12923
e7f4b08e
UD
12924 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12925 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12926 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12927
ab26144e
UD
12928 * nis/nis_table.c (nis_list): Use variable of correct type for
12929 result of __follow_path call.
12930
8a6d5255
AZ
129312011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12932
12933 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12934 of math functions ceil, trunc, floor, round, and sqrt, when
12935 avaliable on the platform.
12936 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12937 name clash.
12938 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12939 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12940 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12941
aaddc98c
MP
129422011-10-30 Marek Polacek <mpolacek@redhat.com>
12943
12944 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12945 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12946
95b7042b
RM
129472011-11-11 Roland McGrath <roland@hack.frob.com>
12948
12949 * include/unistd.h: Fix __readlink return type.
12950 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12951
57769839
UD
129522011-11-11 Ulrich Drepper <drepper@gmail.com>
12953
12954 * stdlib/ucontext.h: Undo last change for makecontext.
12955
edc5984d
AS
129562011-11-11 Andreas Schwab <schwab@redhat.com>
12957
98591e58
AS
12958 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12959
edc5984d
AS
12960 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12961 * setjmp/setjmp.h: Mark functions as non-leaf.
12962 * setjmp/bits/setjmp2.h: Likewise.
12963 * stdlib/ucontext.h: Likewise.
12964
77cdc054
AS
129652011-11-10 Andreas Schwab <schwab@redhat.com>
12966
12967 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12968 (reused_arena): Don't check arena limit.
12969 (arena_get2): Atomically check arena limit.
12970
fe72eebd
UD
129712011-11-08 Ulrich Drepper <drepper@gmail.com>
12972
5f078c32
UD
12973 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12974 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12975
fe72eebd
UD
12976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12977 instructions.
12978
ae1bc2fa
AS
129792011-11-07 Andreas Schwab <schwab@redhat.com>
12980
7583a88d
AS
12981 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12982 handler when locking.
12983
ae1bc2fa
AS
12984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12985 Fix size of allocated buffer.
12986
10fb0bfa
AS
129872011-11-04 Andreas Schwab <schwab@redhat.com>
12988
998832a4
AS
12989 [BZ #10103]
12990 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12991 declarations for long double functions.
12992 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12993
10fb0bfa
AS
12994 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12995
3d7ba52b
AS
129962011-11-03 Andreas Schwab <schwab@redhat.com>
12997
a9ae54a1
AS
12998 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12999 installed.
13000
3d7ba52b
AS
13001 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
13002 is disabled.
13003
bc8db248
ST
130042011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13005
13006 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
13007
45b96dd6
AS
130082011-11-01 Andreas Schwab <schwab@linux-m68k.org>
13009
647776f6
AS
13010 * include/alloca.h (stackinfo_alloca_round): Define.
13011 (extend_alloca): Use it.
13012 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
13013 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
13014 here.
13015
d91a8b93
AS
13016 * scripts/check-local-headers.sh: Ignore libaudit.h.
13017
45b96dd6
AS
13018 * nscd/Makefile (extra-objs): Make recursively expanded.
13019
432d41ce
UD
130202011-11-01 Ulrich Drepper <drepper@gmail.com>
13021
34372fc6
UD
13022 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
13023 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13024
fadb59f8
UD
13025 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
13026 * posix/tst-rfc3484-2.c: Likewise.
13027 * posix/tst-rfc3484-3.c: Likewise.
13028
78239589
UD
13029 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13030 process_vm_writev.
13031 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
13032 process_vm_writev.
13033 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
13034 process_vm_writev from libc using GLIBC_2.15 version.
13035
432d41ce
UD
13036 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
13037
02f9c6cf
PP
130382011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13039
13040 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
13041 stack usage.
13042
3a2c0242
UD
130432011-10-31 Ulrich Drepper <drepper@gmail.com>
13044
f4ec4833
UD
13045 [BZ #13367]
13046 * nss/getent.c (initgroups_keys): Show error message in case no group
13047 names are given.
13048
3a2c0242
UD
13049 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
13050 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
13051 __bump_nl_timestamp.
13052 * nscd/connections (nscd_init): When host database is served open
13053 netlink socket and request notification about configuration changes.
13054 (main_loop_poll): Track netlink file descriptor and bump timestamp
13055 in case data becomes available.
13056 (main_loop_epoll): Likewise.
13057 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
13058 (database_pers_head): Add extra_data fileds.
13059 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
13060 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
13061 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
13062 Adjust caller.
13063 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
13064 in6ai data, call __free_in6ai.
13065 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
13066 Add -DHAVE_NETLINK.
13067 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
13068 interface information. Reuse previous data if netlink timestamp
13069 is not changed.
13070 (__bump_nl_timestamp): New function.
13071 (__free_in6ai): New function.
13072
636064eb
UD
130732011-10-30 Ulrich Drepper <drepper@gmail.com>
13074
13075 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
13076 close_not_cancel_no_status here.
13077 (__check_pf): Reorganize code a bit to not call close twice if OOM.
13078
9beb2334
UD
130792011-10-29 Ulrich Drepper <drepper@gmail.com>
13080
6ef76f3b
UD
13081 [BZ #13276]
13082 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
13083 return value.
13084
0ffc4f3e 13085 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
13086 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
13087 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
13088
cb95113e
UD
130892011-07-03 Andreas Jaeger <aj@suse.de>
13090
13091 [BZ #10709]
13092 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
13093 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
13094 * math/libm-test.inc (sin_test): Add test case.
13095
a1b560ff
UD
130962011-10-29 Ulrich Drepper <drepper@gmail.com>
13097
c9aaface
UD
13098 [BZ #13337]
13099 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
13100 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13101
d272e7f1
UD
13102 * elf/chroot_canon.c (chroot_canon): Cleanups.
13103
1bc33071
UD
13104 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
13105
1760874d
TJ
13106 [BZ #13335]
13107 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
13108 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
13109
51d91b18
UD
13110 * string/test-strchr.c: Make usable for strchrnul testing.
13111 * string/test-strchrnul.c: New file.
13112 * string/Makefile (strop-tests): Add strchrnul.
13113
a1b560ff 13114 * po/it.po: Update from translation team.
b611fb81 13115 * po/es.po: Likewise.
a1b560ff 13116
a5b81e1f
UD
131172011-10-28 Ulrich Drepper <drepper@gmail.com>
13118
fd52bc6d
UD
13119 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13120 the three constants needed as parameters. Drop the others.
13121 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13122 __m128i_strloadu_tolower.
52e4b9eb
UD
13123 Create and initialize variable zero and use it in all the places
13124 where _mm_setzero_si128 was used.
fd52bc6d 13125
a5b81e1f
UD
13126 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13127 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13128 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13129 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13130 anymore.
13131 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13132 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13133 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13134 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13135 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13136 __mpranred, __mptan.
13137 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13138 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13139 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13140 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13141 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13142 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13143 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13144 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13145 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13146
b4343346
AS
131472011-10-28 Andreas Schwab <schwab@redhat.com>
13148
0c92d8a8
AS
13149 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13150 redefine if SHARED.
13151 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13152
b4343346
AS
13153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13154 wide char related routines to wcsmbs subdir.
13155
3871f58f
AS
131562011-10-27 Andreas Schwab <schwab@redhat.com>
13157
13158 [BZ #13344]
13159 * misc/sys/cdefs.h (__THROWNL): Define.
13160 * posix/unistd.h: Use __THREADNL instead of __THREAD
13161 for memory synchronization functions.
13162
94d44d9f
RM
131632011-10-26 Roland McGrath <roland@hack.frob.com>
13164
21b64b15 13165 [BZ #13349]
94d44d9f
RM
13166 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13167 doesn't exist.
13168 * manual/stdio.texi (Obstack Streams): Node removed.
13169
f6ce9294
AS
131702011-10-26 Andreas Schwab <schwab@redhat.com>
13171
80479147
AS
13172 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13173 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13174 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13175
f6ce9294
AS
13176 * math/math_private.h (math_force_eval): Allow non-addressable
13177 arguments.
13178 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13179
618280a1
UD
131802011-10-25 Ulrich Drepper <drepper@gmail.com>
13181
e0016b11
UD
13182 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13183 file is not needed.
13184
13185 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13186 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13187 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13188 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13189 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13190 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13191 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13192 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13193 Add AVX variants.
13194 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13195 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13196 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13197 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13198 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13199 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13200 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13201 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13202 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13203 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13204 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13205 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13206 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13207 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13208 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13209 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13210 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13211 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13212 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13213
13214 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13215 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13216
618280a1
UD
13217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13218 place. Use VEX encoding when compiling for AVX.
13219
37822576
AS
132202011-10-25 Andreas Schwab <schwab@redhat.com>
13221
1f1e1947
AS
13222 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13223 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13224
37822576
AS
13225 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13226
31ea014d
UD
132272011-10-25 Ulrich Drepper <drepper@gmail.com>
13228
d7826aa1 13229 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 13230 useless if() expression.
d7826aa1
UD
13231 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13240 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13241 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13242 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13243 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13245 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13246 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13247 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13248 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13249 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13250
31ea014d
UD
13251 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13252
16437fec
AS
132532011-10-25 Andreas Schwab <schwab@redhat.com>
13254
13255 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13256 condition.
13257 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13258
31d3cc00
UD
132592011-10-25 Ulrich Drepper <drepper@gmail.com>
13260
13261 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13262 .text section. Avoid duplicate constants.
13263 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13265 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13269 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13271 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13272 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13273 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13275 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13276 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13277 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13278 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13279 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13280 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13286 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13287 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13288 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13289 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13290 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13291 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13292 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13293 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13294 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13295 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13296 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13297 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13298 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13299 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13300 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13301 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13302 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13303 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13304 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13305 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13306 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13307 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13308
58985aa9
UD
133092011-10-24 Ulrich Drepper <drepper@gmail.com>
13310
202c9deb
UD
13311 * sysdeps/x86_64/dla.h: Move to ...
13312 * sysdeps/x86_64/fpu/dla.h: ...here.
13313 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13314 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 13315
af968f62
UD
13316 * config.make.in: Add have-mfma4 entry.
13317 * configure.in: Substitute libc_cv_cc_fma4.
13318 * math/Makefile (dbl-only-routines): Add sincostab.
13319 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13320 Use __sincostab not sincos.
13321 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13322 name is a macro.
13323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13327 using __copysign.
13328 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13329 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13330 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13331 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13332 and __inv.
13333 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13334 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13335 __copysign.
13336 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13337 define aliases when function name is a macro.
13338 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13339 sysdeps/ieee754/dbl-64/sincos.tbl.
13340 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13341 fma4-enabled routines.
13342 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13343 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13344 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13345 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13346 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13347 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13348 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13349 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13350 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13351 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13352 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13353 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13354 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13355 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13356 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13357 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13358 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13359 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13360 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13361 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13362 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13363 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13364 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13365 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13366 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13367 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13368 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13369 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13370 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13371 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13372
58985aa9
UD
13373 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13374 rename.
13375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13383
a201fbcf
AS
133842011-10-24 Andreas Schwab <schwab@redhat.com>
13385
13386 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13387
fc2ee42a
LD
133882011-10-23 Ulrich Drepper <drepper@gmail.com>
13389
bb3129bd
UD
13390 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13391
0275fff8
UD
13392 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13393 prediction.
13394 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13395
2fa2ae85
UD
13396 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13397 Remove unused variable magic_bits.
13398 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13399
fc2ee42a
LD
13400 * string/strnlen.c: Define and use STRNLEN macro.
13401 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13402 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13403 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13404 * wcsmbs/wcslen.c: Define and use WCSLEN.
13405 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13406 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13407 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13408 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13409 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13410 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13411 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13412
ce7dd29f
LD
134132011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13414
13415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13416 strnlen-sse2-no-bsf.
13417 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13418 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13419 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13420 Add strnlen support.
13421 (USE_AS_STRNLEN): New macro.
13422 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13423 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13424 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13425 * sysdeps/x86_64/wcslen.S: New file.
13426
979c70a3
MZ
134272011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13428
13429 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13430 XMM-moves are used for copying on small sizes.
13431
2d09f82f
LD
134322011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13433
13434 * wcsmbs/Makefile (strop-tests): Add wcschr.
13435 * wcsmbs/test-wcschr.c: New file.
13436 * string/test-strchr.c: Update.
13437 Add wcschr support.
13438 (WIDE): New macro.
13439
619fccca
LD
134402011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13441
2d09f82f 13442 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
13443 * wcsmbs/test-wcslen.c: New file.
13444 * string/test-strlen.c: Update.
13445 Add wcslen support.
13446 (WIDE): New macro.
13447
09f699ea
UD
134482011-10-23 Ulrich Drepper <drepper@gmail.com>
13449
13450 * po/it.po: Update from translation team.
13451
95584d3b
LD
134522011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13453
13454 * sysdeps/x86_64/wcscmp.S: Update.
13455 Fix wrong comparison semantics.
13456 wcscmp shall use signed comparison not unsigned.
13457 Don't use substraction to avoid overflow bug.
13458 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13459 * wcsmbc/wcscmp.c: Likewise.
13460 * string/test-strcmp.c: Likewise.
13461 Add new tests to check cases with negative values.
13462
c8b3296b
UD
134632011-10-23 Ulrich Drepper <drepper@gmail.com>
13464
13465 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13466 * sysdeps/x86_64/dla.h: ...here. New file.
13467 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13476
246ad57a
AS
134772011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13478
13479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13480 __ynl_finite aliases.
13481
a1a87169
UD
134822011-10-22 Ulrich Drepper <drepper@gmail.com>
13483
0d355eb7
UD
13484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13485
a1a87169
UD
13486 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13487 define DLA_FMA.
13488 [DLA_FMA] (EMULV): Use DLA_FMA.
13489 [DLA_FMA] (MUL12): Use EMULV.
13490 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13491 that are not needed.
13492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13499
ee2aafe0
AS
135002011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13501
13502 * math/s_nan.c: Undef __nan.
13503 * math/s_nanf.c: Undef __nanf.
13504 * math/s_nanl.c: Undef __nanl.
13505 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13506 "math_private.h".
13507
bc62c2fb
UD
135082011-10-22 Ulrich Drepper <drepper@gmail.com>
13509
77425c63
UD
13510 * math/s_catan.c: Add branch predictions.
13511 * math/s_catanf.c: Likewise.
13512 * math/s_catanh.c: Likewise.
13513 * math/s_catanhf.c: Likewise.
13514 * math/s_catanhl.c: Likewise.
13515 * math/s_catanl.c: Likewise.
13516 * math/s_cexp.c: Likewise.
13517 * math/s_cexpf.c: Likewise.
13518 * math/s_cexpl.c: Likewise.
13519 * math/s_clog.c: Likewise.
13520 * math/s_clog10.c: Likewise.
13521 * math/s_clog10f.c: Likewise.
13522 * math/s_clog10l.c: Likewise.
13523 * math/s_clogf.c: Likewise.
13524 * math/s_clogl.c: Likewise.
13525 * math/s_csqrt.c: Likewise.
13526 * math/s_csqrtf.c: Likewise.
13527 * math/s_csqrtl.c: Likewise.
13528 * math/s_ctanf.c: Likewise.
13529 * math/s_ctanh.c: Likewise.
13530 * math/s_ctanhf.c: Likewise.
13531 * math/s_ctanhl.c: Likewise.
13532 * math/s_ctanl.c: Likewise.
13533
bc62c2fb
UD
13534 * math/math_private.h: Define __nan, __nanf, __nanl.
13535 * math/s_cacosh.c: Include <math_private.h>.
13536 * math/s_cacoshl.c: Likewise.
13537 * math/s_casinh.c: Likewise.
13538 * math/s_casinhf.c: Likewise.
13539 * math/s_casinhl.c: Likewise.
13540 * math/s_ccos.c: Rely entire on ccosh.
13541 * math/s_ccosf.c: Rely entire on ccoshf.
13542 * math/s_ccosl.c: Rely entirely on ccoshl.
13543 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13544 Remove tests for FE_INVALID.
13545 * math/s_ccoshf.c: Likewise.
13546 * math/s_ccoshl.c: Likewise.
13547 * math/s_csin.c: Likewise.
13548 * math/s_csinf.c: Likewise.
13549 * math/s_csinh.c Likewise.
13550 * math/s_csinhf.c: Likewise.
13551 * math/s_csinhl.c: Likewise.
13552 * math/s_csinl.c: Likewise.
13553 * math/s_ctan.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13555 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13556 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13557
8ec250a4
UD
135582011-10-21 Ulrich Drepper <drepper@gmail.com>
13559
c196fed8
UD
13560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13561 compilation problems.
13562
8ec250a4
UD
13563 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13564 __builtin_expect.
13565
8d4f46c6
UD
135662011-10-20 Ulrich Drepper <drepper@gmail.com>
13567
ed72b654
UD
13568 * sysdeps/i386/configure.in: Test for -mfma4 option.
13569 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13570 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13571 COMMON_CPUID_INDEX_80000001.
13572 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13573 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13574 use it if FMA3 is not supported.
13575 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13576
8d4f46c6
UD
13577 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13578 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13579
d45c60c2
AS
135802011-10-20 Andreas Schwab <schwab@redhat.com>
13581
13582 [BZ #12892]
13583 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13584 it would create a cycle with a link time dependency.
13585
d9a4d2ab
UD
135862011-10-19 Ulrich Drepper <drepper@gmail.com>
13587
855d1560
UD
13588 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13589 instruction.
13590 * string/Makefile (strop-tests): Add rawmemchr.
13591 * string/test-rawmemchr.c: New file.
13592
d9a4d2ab
UD
13593 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13594 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13595 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13596 when compiling str{,n}casecmp and when AVX is available. Hook up
13597 new optimized code in initializers.
13598
8f3b1ffe
AS
135992011-10-19 Andreas Schwab <schwab@redhat.com>
13600
13601 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13602 __feraiseexcept instead of feraiseexcept.
13603
d38f1dba
UD
136042011-10-18 Ulrich Drepper <drepper@gmail.com>
13605
d9a8d0ab
UD
13606 * math/math_private.h: Define defaults for libc_fetestexcept and
13607 libc_feupdateenv.
13608 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13609 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13610 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13611 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13612 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13613 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13614 libc_fetestexcept and libc_feupdateenv.
13615
4855e3dd
UD
13616 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13617 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13618 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13619 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13620 libc_feholdexcept_setround.
13621
581d30e3
UD
13622 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13623 Add s_nearbyint-c and s_nearbyintf-c.
13624 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13625 nearbyintf inlines.
13626 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13627 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13628 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13629 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13630
d38f1dba
UD
13631 * math/math_private.h: Define defaults for libc_fegetround,
13632 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13633 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13634 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13635 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13636 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13637 standard functions.
13638 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13639 Remove comments and hacks for old compiler versions.
13640 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13641 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13642 libc_feholdexceptl.
13643
caa6c9d8
AS
136442011-10-18 Andreas Schwab <schwab@redhat.com>
13645
13646 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
13647 (__feraiseexcept_renamed): Add __NTH.
13648 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
13649 namespace violations.
13650
97c066e6
UD
136512011-10-17 Ulrich Drepper <drepper@gmail.com>
13652
99ce7b04
UD
13653 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13654
1004d182
UD
13655 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13656
228a984d
UD
13657 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13658 recently added interfaces.
13659 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13660
c8553a6a
UD
13661 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13662 about macro parameter expansion.
13663
ed22dcf6
UD
13664 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13665 __NO_MATH_INLINES is defined. Cleanups.
13666
13667 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13668 and __floorf is target has SSE4.1.
13669 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13670 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13671 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13672 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13673
b171c137
UD
13674 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13675 name.
13676 (floorf): Likewise.
13677
97c066e6
UD
13678 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13679
629f62ef
AS
136802011-10-17 Andreas Schwab <schwab@redhat.com>
13681
49a43d80
AS
13682 * misc/sys/cdefs.h: Fix last change.
13683
629f62ef
AS
13684 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13685 database lookup.
13686
e453f6cd
UD
136872011-10-16 Ulrich Drepper <drepper@gmail.com>
13688
aa78043a
UD
13689 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13690
ad0f5cad
UD
13691 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13692 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13697 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13699 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13700 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13701 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13702 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13703 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13704 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13705 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13706 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13707 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13708 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13709 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13710 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13711 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13712 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13713
13714 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13715 ceil, ceilf, floor, floorf.
13716
13717 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13718 Perform IRELATIVE relocations last.
13719
e453f6cd
UD
13720 * elf/do-rel.h: Add another parameter nrelative, replacing the
13721 local variable with the same name. Change name of the function
13722 to end in Rel or Rela (uppercase).
13723 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13724 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13725 elf_dynamic_do_##reloc function.
13726
fd5bdc09
UD
137272011-10-15 Ulrich Drepper <drepper@gmail.com>
13728
79b195b5
UD
13729 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13730 is sufficient, at least on modern CPUs.
13731
d4a28569
UD
13732 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13733
b61099b5
UD
13734 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13735 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13736
bcf01e6d
UD
13737 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13738 __expl_finite.
13739 * math/bits/math-finite.h: Add entries for exp.
13740 * math/e_expl.c: Add __*_finite alias.
13741 * sysdeps/i386/fpu/e_exp.S: Likewise.
13742 * sysdeps/i386/fpu/e_expf.S: Likewise.
13743 * sysdeps/i386/fpu/e_expl.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13745 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13749 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13750 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13751
ba1a0d59
UD
13752 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13753 is sufficient, at least on modern CPUs.
13754
fd5bdc09
UD
13755 * ctype/ctype-info.c (__ctype_init): Define.
13756 * include/ctype.h (__ctype_init): Declare.
13757 (__ctype_b_loc): The variable is always initialized.
13758 (__ctype_toupper_loc): Likewise.
13759 (__ctype_tolower_loc): Likewise.
13760 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13761 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13762
7872cfb0
AS
137632011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13764
b468825a
AS
13765 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13766
7872cfb0
AS
13767 * configure.in: Also look in $cxxmachine/include for C++ system
13768 headers.
13769
be13f7bf
LD
137702011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13771
13772 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13773 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13774 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13775 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13776 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13777 (USE_AS_WMEMCMP): New macro.
13778 Fixing indents.
13779 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13780 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13781 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13782 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13784 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13785 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13786 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13787 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13788 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13789 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13790 (USE_AS_WMEMCMP): New macro.
13791 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13792 * sysdeps/string/test-memcmp.c: Update.
13793 Fix simple_wmemcmp.
13794 Add new tests.
13795 * wcsmbs/wmemcmp.c: Update.
13796 (WMEMCMP): New macro.
13797 Fix overflow bug.
13798
556a2007
AJ
137992011-10-12 Andreas Jaeger <aj@suse.de>
13800
13801 [BZ #13268]
13802 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13803
538faaa7
UD
138042011-10-15 Ulrich Drepper <drepper@gmail.com>
13805
ab6737ff
UD
13806 * libio/iofwide.c (do_length): Avoid warning.
13807
538faaa7
UD
13808 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13809
396a21b1
UD
138102011-10-14 Ulrich Drepper <drepper@gmail.com>
13811
cdf2901f
UD
13812 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13813
38ad40ce
UD
13814 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13815 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13816 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13817 * sysdeps/i386/i686/fpu/e_log.S: New file.
13818 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13819 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13820
396a21b1
UD
13821 * ctype/ctype.h: Add support for inlined isXXX functions when
13822 compiling C++ code.
13823
6b1f68c9
AS
138242011-10-14 Andreas Schwab <schwab@redhat.com>
13825
349290c0
AS
13826 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13827
6b1f68c9
AS
13828 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13829
f2282d42
RM
138302011-10-13 Roland McGrath <roland@hack.frob.com>
13831
13832 [BZ #13291]
13833 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13834
5298ffa8
AS
138352011-10-13 Andreas Schwab <schwab@redhat.com>
13836
714fad23
AS
13837 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13838 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13839 feraiseexcept.
13840
81dcc7fb
AS
13841 * sysdeps/x86_64/memrchr.S: Check for zero size.
13842
5298ffa8
AS
13843 * string/stratcliff.c: Add memrchr tests.
13844
951fbcec
LD
138452011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13846
13847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13848 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13849 rawmemchr-sse2 rawmemchr-sse2-bsf.
13850 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13851 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13852 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13853 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13854 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13855 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13856 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13857 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13858 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13859 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13860 * string/memrchr.c (MEMRCHR): New macro.
13861
0ac5ae23
UD
138622011-10-12 Ulrich Drepper <drepper@gmail.com>
13863
13864 Add integration with gcc's -ffinite-math-only and optimize wrapper
13865 functions in libm.
13866 * Versions.def: Define GLIBC_2.15 version for libm.
13867 * math/Makefile (headers): Add bits/math-finite.h.
13868 * math/bits/math-finite.h: New file.
13869 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13870 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13871 * math/e_acoshl.c: Add __*_finite alias.
13872 * math/e_acosl.c: Likewise.
13873 * math/e_asinl.c: Likewise.
13874 * math/e_atan2l.c: Likewise.
13875 * math/e_atanhl.c: Likewise.
13876 * math/e_coshl.c: Likewise.
13877 * math/e_exp10.c: Likewise.
13878 * math/e_exp10f.c: Likewise.
13879 * math/e_exp10l.c: Likewise.
13880 * math/e_exp2l.c: Likewise.
13881 * math/e_fmodl.c: Likewise.
13882 * math/e_gammal_r.c: Likewise.
13883 * math/e_hypotl.c: Likewise.
13884 * math/e_j0l.c: Likewise.
13885 * math/e_j1l.c: Likewise.
13886 * math/e_jnl.c: Likewise.
13887 * math/e_lgammal_r.c: Likewise.
13888 * math/e_log10l.c: Likewise.
13889 * math/e_log2l.c: Likewise.
13890 * math/e_logl.c: Likewise.
13891 * math/e_powl.c: Likewise.
13892 * math/e_sinhl.c: Likewise.
13893 * math/e_sqrtl.c: Likewise.
13894 * math/e_scalb.c: Completely rewritten and optimized.
13895 * math/e_scalbf.c: Likewise.
13896 * math/e_scalbl.c: Likewise.
13897 * math/w_acos.c: Likewise.
13898 * math/w_acosf.c: Likewise.
13899 * math/w_acosl.c: Likewise.
13900 * math/w_acosh.c: Likewise.
13901 * math/w_acoshf.c: Likewise.
13902 * math/w_acoshl.c: Likewise.
13903 * math/w_asin.c: Likewise.
13904 * math/w_asinf.c: Likewise.
13905 * math/w_asinl.c: Likewise.
13906 * math/w_atan2.c: Likewise.
13907 * math/w_atan2f.c: Likewise.
13908 * math/w_atan2l.c: Likewise.
13909 * math/w_atanh.c: Likewise.
13910 * math/w_atanhf.c: Likewise.
13911 * math/w_atanhl.c: Likewise.
13912 * math/w_exp10.c: Likewise.
13913 * math/w_exp10f.c: Likewise.
13914 * math/w_exp10l.c: Likewise.
13915 * math/w_fmod.c: Likewise.
13916 * math/w_fmodf.c: Likewise.
13917 * math/w_fmodl.c: Likewise.
13918 * math/w_j0.c: Likewise.
13919 * math/w_j0f.c: Likewise.
13920 * math/w_j0l.c: Likewise.
13921 * math/w_j1.c: Likewise.
13922 * math/w_j1f.c: Likewise.
13923 * math/w_j1l.c: Likewise.
13924 * math/w_jn.c: Likewise.
13925 * math/w_jnf.c: Likewise.
13926 * math/w_log.c: Likewise.
13927 * math/w_logf.c: Likewise.
13928 * math/w_logl.c: Likewise.
13929 * math/w_log10.c: Likewise.
13930 * math/w_log10f.c: Likewise.
13931 * math/w_log10l.c: Likewise.
13932 * math/w_log2.c: Likewise.
13933 * math/w_log2f.c: Likewise.
13934 * math/w_log2l.c: Likewise.
13935 * math/w_pow.c: Likewise.
13936 * math/w_powf.c: Likewise.
13937 * math/w_powl.c: Likewise.
13938 * math/w_remainder.c: Likewise.
13939 * math/w_remainderf.c: Likewise.
13940 * math/w_remainderl.c: Likewise.
13941 * math/w_scalb.c: Likewise.
13942 * math/w_scalbf.c: Likewise.
13943 * math/w_scalbl.c: Likewise.
13944 * math/w_sqrt.c: Likewise.
13945 * math/w_sqrtf.c: Likewise.
13946 * math/w_sqrtl.c: Likewise.
13947 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13948 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13949 used.
13950 * math/math_private.h: Declare __kernel_standard_f.
13951 * math/w_cosh.c: Remove cruft and optimize a bit.
13952 * math/w_coshf.c: Likewise.
13953 * math/w_coshl.c: Likewise.
13954 * math/w_exp2.c: Likewise.
13955 * math/w_exp2f.c: Likewise.
13956 * math/w_exp2l.c: Likewise.
13957 * math/w_hypot.c: Likewise.
13958 * math/w_hypotf.c: Likewise.
13959 * math/w_hypotl.c: Likewise.
13960 * math/w_lgamma.c: Likewise.
13961 * math/w_lgamma_r.c: Likewise.
13962 * math/w_lgammaf.c: Likewise.
13963 * math/w_lgammaf_r.c: Likewise.
13964 * math/w_lgammal.c: Likewise.
13965 * math/w_lgammal_r.c: Likewise.
13966 * math/w_sinh.c: Likewise.
13967 * math/w_sinhf.c: Likewise.
13968 * math/w_sinhl.c: Likewise.
13969 * math/w_tgamma.c: Likewise.
13970 * math/w_tgammaf.c: Likewise.
13971 * math/w_tgammal.c: Likewise.
13972 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13973 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13974 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13975 Minor optimizations. Pretty printing. Remove cruft.
13976 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13977 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13979 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13980 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13981 * sysdeps/i386/fpu/e_asin.S: Likewise.
13982 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13983 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13984 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13985 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13986 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13987 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13988 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13989 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13990 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13991 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13992 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13993 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13994 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13995 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13996 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13997 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13998 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13999 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
14000 * sysdeps/i386/fpu/e_log.S: Likewise.
14001 * sysdeps/i386/fpu/e_log10.S: Likewise.
14002 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14003 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14004 * sysdeps/i386/fpu/e_log2.S: Likewise.
14005 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14006 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14007 * sysdeps/i386/fpu/e_logf.S: Likewise.
14008 * sysdeps/i386/fpu/e_logl.S: Likewise.
14009 * sysdeps/i386/fpu/e_pow.S: Likewise.
14010 * sysdeps/i386/fpu/e_powf.S: Likewise.
14011 * sysdeps/i386/fpu/e_powl.S: Likewise.
14012 * sysdeps/i386/fpu/e_remainder.S: Likewise.
14013 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
14014 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
14015 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14016 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14017 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14018 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
14019 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
14020 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14042 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14043 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14044 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14045 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14046 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14047 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14048 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14049 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14050 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14051 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14052 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14053 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14054 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14055 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14056 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14057 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14058 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14059 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14060 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14061 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14062 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14064 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14065 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14066 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14067 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14068 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14074 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14075 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14076 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14077 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14078 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14080 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14081 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14082 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14083 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14084 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14085 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14086 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14087 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14092 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14093 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14097 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14098 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14099 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14100 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14101 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14102 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14103 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14104 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14106 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14107 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14108 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14109 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14110 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14111 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14112 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14114 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14115 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14116 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14117 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14118 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
14119 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14120 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14121 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14122 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14123 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14124 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14125 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14126 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14127 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14128 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14129 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14130 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14131 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14132 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14133 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14134 (__isnanf): Likewise.
14135 (__isinf_ns): Likewise.
14136 (__isinf_nsf): Likewise.
14137 (__finite): Likewise.
14138 (__finitef): Likewise.
14139 (__ieee754_sqrt): Define as macro.
14140 (__ieee754_sqrtf): Define as macro.
14141 (__ieee754_sqrtl): Define as macro.
14142 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14143 inlined copy.
14144 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14145 __FINITE_MATH_ONLY__ consistent.
14146 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14147
12cc2fcd
AS
141482011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14149
a843a204
AS
14150 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14151 of rawmemchr.
14152
12cc2fcd
AS
14153 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14154
c853acd5
UD
141552011-10-09 Ulrich Drepper <drepper@gmail.com>
14156
14157 * po/ja.po: Update from translation team.
14158
c658d255
RM
141592011-10-08 Roland McGrath <roland@hack.frob.com>
14160
110946e4
RM
14161 * locale/programs/locarchive.c (prepare_address_space): New function.
14162 (create_archive, enlarge_archive, open_archive): Use it.
14163
50604220
RM
14164 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14165 inside [SHARED], where it is used.
14166
c658d255
RM
14167 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14168
14169 * nss/getent.c (netgroup_keys): Remove unused variable.
14170 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14171
6a621eb7
UD
141722011-10-08 Ulrich Drepper <drepper@gmail.com>
14173
7edb55ce
UD
14174 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14175 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14177 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14178 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14179 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14180 * math/Makefile (libm-calls): Add s_isinf_ns.
14181 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14182 * math/multc3.c: Likewise.
14183 * math/s_casin.c: Likewise.
14184 * math/s_casinf.c: Likewise.
14185 * math/s_casinl.c: Likewise.
14186 * math/s_ccos.c: Likewise.
14187 * math/s_ccosf.c: Likewise.
14188 * math/s_ccosl.c: Likewise.
14189 * math/s_ctan.c: Likewise.
14190 * math/s_ctanf.c: Likewise.
14191 * math/s_ctanh.c: Likewise.
14192 * math/s_ctanhf.c: Likewise.
14193 * math/s_ctanhl.c: Likewise.
14194 * math/s_ctanl.c: Likewise.
14195 * math/w_fmod.c: Likewise.
14196 * math/w_fmodf.c: Likewise.
14197 * math/w_fmodl.c: Likewise.
14198 * math/w_remainder.c: Likewise.
14199 * math/w_remainderf.c: Likewise.
14200 * math/w_remainderl.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14202 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14203 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14205 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14206 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14207 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14208 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14209
187da0ae
UD
14210 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14211 of the number.
14212 * stdio-common/printf_fphex.c: Likewise.
14213 * stdio-common/printf_size.c: Likewise.
14214
9277c064
UD
14215 * math/e_exp10.c: Include math_private.h using <...> not "...".
14216 * math/e_exp10f.c: Likewise.
14217 * math/e_exp10l.c: Likewise.
14218 * math/e_exp2l.c: Likewise.
14219 * math/e_j0l.c: Likewise.
14220 * math/e_j1l.c: Likewise.
14221 * math/e_jnl.c: Likewise.
14222 * math/e_lgammal_r.c: Likewise.
14223 * math/e_rem_pio2l.c: Likewise.
14224 * math/e_scalb.c: Likewise.
14225 * math/e_scalbf.c: Likewise.
14226 * math/e_scalbl.c: Likewise.
14227 * math/k_cosl.c: Likewise.
14228 * math/k_sinl.c: Likewise.
14229 * math/k_tanl.c: Likewise.
14230 * math/s_cacoshf.c: Likewise.
14231 * math/s_catan.c: Likewise.
14232 * math/s_catanf.c: Likewise.
14233 * math/s_catanh.c: Likewise.
14234 * math/s_catanhf.c: Likewise.
14235 * math/s_catanhl.c: Likewise.
14236 * math/s_catanl.c: Likewise.
14237 * math/s_ccosh.c: Likewise.
14238 * math/s_ccoshf.c: Likewise.
14239 * math/s_ccoshl.c: Likewise.
14240 * math/s_cexp.c: Likewise.
14241 * math/s_cexpf.c: Likewise.
14242 * math/s_cexpl.c: Likewise.
14243 * math/s_clog.c: Likewise.
14244 * math/s_clog10.c: Likewise.
14245 * math/s_clog10f.c: Likewise.
14246 * math/s_clog10l.c: Likewise.
14247 * math/s_clogf.c: Likewise.
14248 * math/s_clogl.c: Likewise.
14249 * math/s_csin.c: Likewise.
14250 * math/s_csinf.c: Likewise.
14251 * math/s_csinh.c: Likewise.
14252 * math/s_csinhf.c: Likewise.
14253 * math/s_csinhl.c: Likewise.
14254 * math/s_csinl.c: Likewise.
14255 * math/s_csqrt.c: Likewise.
14256 * math/s_csqrtf.c: Likewise.
14257 * math/s_csqrtl.c: Likewise.
14258 * math/s_ctan.c: Likewise.
14259 * math/s_ctanf.c: Likewise.
14260 * math/s_ctanh.c: Likewise.
14261 * math/s_ctanhf.c: Likewise.
14262 * math/s_ctanhl.c: Likewise.
14263 * math/s_ctanl.c: Likewise.
14264 * math/s_ldexp.c: Likewise.
14265 * math/s_ldexpf.c: Likewise.
14266 * math/s_ldexpl.c: Likewise.
14267 * math/s_significand.c: Likewise.
14268 * math/s_significandf.c: Likewise.
14269 * math/s_significandl.c: Likewise.
14270 * math/w_acos.c: Likewise.
14271 * math/w_acosf.c: Likewise.
14272 * math/w_acosh.c: Likewise.
14273 * math/w_acoshf.c: Likewise.
14274 * math/w_acoshl.c: Likewise.
14275 * math/w_acosl.c: Likewise.
14276 * math/w_asin.c: Likewise.
14277 * math/w_asinf.c: Likewise.
14278 * math/w_asinl.c: Likewise.
14279 * math/w_atan2.c: Likewise.
14280 * math/w_atan2f.c: Likewise.
14281 * math/w_atan2l.c: Likewise.
14282 * math/w_atanh.c: Likewise.
14283 * math/w_atanhf.c: Likewise.
14284 * math/w_atanhl.c: Likewise.
14285 * math/w_cosh.c: Likewise.
14286 * math/w_coshf.c: Likewise.
14287 * math/w_coshl.c: Likewise.
14288 * math/w_dremf.c: Likewise.
14289 * math/w_exp10.c: Likewise.
14290 * math/w_exp10f.c: Likewise.
14291 * math/w_exp10l.c: Likewise.
14292 * math/w_exp2.c: Likewise.
14293 * math/w_exp2f.c: Likewise.
14294 * math/w_fmod.c: Likewise.
14295 * math/w_fmodf.c: Likewise.
14296 * math/w_fmodl.c: Likewise.
14297 * math/w_hypot.c: Likewise.
14298 * math/w_hypotf.c: Likewise.
14299 * math/w_hypotl.c: Likewise.
14300 * math/w_j0.c: Likewise.
14301 * math/w_j0f.c: Likewise.
14302 * math/w_j0l.c: Likewise.
14303 * math/w_j1.c: Likewise.
14304 * math/w_j1f.c: Likewise.
14305 * math/w_j1l.c: Likewise.
14306 * math/w_jn.c: Likewise.
14307 * math/w_jnf.c: Likewise.
14308 * math/w_jnl.c: Likewise.
14309 * math/w_lgamma.c: Likewise.
14310 * math/w_lgamma_r.c: Likewise.
14311 * math/w_lgammaf.c: Likewise.
14312 * math/w_lgammaf_r.c: Likewise.
14313 * math/w_lgammal.c: Likewise.
14314 * math/w_lgammal_r.c: Likewise.
14315 * math/w_log.c: Likewise.
14316 * math/w_log10.c: Likewise.
14317 * math/w_log10f.c: Likewise.
14318 * math/w_log10l.c: Likewise.
14319 * math/w_log2.c: Likewise.
14320 * math/w_log2f.c: Likewise.
14321 * math/w_log2l.c: Likewise.
14322 * math/w_logf.c: Likewise.
14323 * math/w_logl.c: Likewise.
14324 * math/w_pow.c: Likewise.
14325 * math/w_powf.c: Likewise.
14326 * math/w_powl.c: Likewise.
14327 * math/w_remainder.c: Likewise.
14328 * math/w_remainderf.c: Likewise.
14329 * math/w_remainderl.c: Likewise.
14330 * math/w_scalb.c: Likewise.
14331 * math/w_scalbf.c: Likewise.
14332 * math/w_scalbl.c: Likewise.
14333 * math/w_sinh.c: Likewise.
14334 * math/w_sinhf.c: Likewise.
14335 * math/w_sinhl.c: Likewise.
14336 * math/w_sqrt.c: Likewise.
14337 * math/w_sqrtf.c: Likewise.
14338 * math/w_sqrtl.c: Likewise.
14339 * math/w_tgamma.c: Likewise.
14340 * math/w_tgammaf.c: Likewise.
14341 * math/w_tgammal.c: Likewise.
14342
6a621eb7
UD
14343 * po/ja.po: Update from translation team.
14344
bf582445
AJ
143452011-09-29 Andreas Jaeger <aj@suse.de>
14346
f9efbf3a
AJ
14347 [BZ #13179]
14348 * sunrpc/netname.c (netname2host): Fix logic.
14349
bf582445
AJ
14350 [BZ #6779]
14351 [BZ #6783]
14352 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14353 correctly.
14354 * math/w_remainder.c (__remainder): Likewise.
14355 * math/w_remainderf.c (__remainderf): Likewise.
14356 * math/libm-test.inc (remainder_test): Add test cases.
14357
48693bea
AK
143582011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14359
14360 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14361 sdiv_qrnnd.
14362
42622229
LD
143632011-10-07 Ulrich Drepper <drepper@gmail.com>
14364
14365 * string/test-memcmp.c: Avoid unncessary #defines.
14366 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14367
093ecf92
LD
143682011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14369
14370 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14371 Use new sse2 version for core i3 - i7 as it's faster
14372 than sse42 version.
14373 (bit_Prefer_PMINUB_for_stringop): New.
14374 * sysdeps/x86_64/rawmemchr.S: Update.
14375 Replace with faster SSE2 version.
14376 * sysdeps/x86_64/memrchr.S: New file.
14377 * sysdeps/x86_64/memchr.S: Update.
14378 Replace with faster SSE2 version.
14379
fde56e5c
MP
143802011-09-12 Marek Polacek <mpolacek@redhat.com>
14381
14382 * elf/dl-load.c (lose): Add cast to avoid warning.
14383
21fd49a9
UD
143842011-10-07 Ulrich Drepper <drepper@gmail.com>
14385
5a06e643
UD
14386 * po/ca.po: Update from translation team.
14387
684ae515
UD
14388 * inet/getnetgrent_r.c: Hook up nscd.
14389 * nscd/Makefile (routines): Add nscd_netgroup.
14390 (nscd-modules): Add netgroupcache.
14391 (CFLAGS-netgroupcache.c): Define.
14392 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14393 (cache_search): Add const to second parameter.
14394 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14395 INNETGR.
14396 (dbs): Add netgrdb entry.
14397 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14398 (verify_persistent_db): Handle netgrdb.
14399 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14400 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14401 GETFDNETGR.
14402 (netgroup_response_header): Define.
14403 (innetgroup_response_header): Define.
14404 (datahead): Add netgroup_response_header and innetgroup_response_header
14405 elements.
14406 * nscd/nscd.conf: Add entries for netgroup cache.
14407 * nscd/nscd.h (dbtype): Add netgrdb.
14408 (_PATH_NSCD_NETGROUP_DB): Define.
14409 (netgroup_iov_disabled): Declare.
14410 (xmalloc, xcalloc, xrealloc): Move declarations here.
14411 (cache_search): Adjust prototype.
14412 Add netgroup-related prototypes.
14413 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14414 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14415 (__nscd_innetgr): Declare.
14416 * nscd/selinux.c (perms): Use access_vector_t as element type and
14417 add netgroup-related initializers.
14418 * nscd/netgroupcache.c: New file.
14419 * nscd/nscd_netgroup.c: New file.
14420 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14421 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14422 For four parameters use innetgr.
14423 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14424 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14425 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14426 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14427
21fd49a9
UD
14428 * nscd/connections.c (register_traced_file): Don't register file
14429 for disabled databases.
14430
054c0457
UD
144312011-10-06 Ulrich Drepper <drepper@gmail.com>
14432
32b63198
UD
14433 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14434
054c0457
UD
14435 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14436 from tree and freeing node.
14437
64031225
JO
144382011-09-25 Jiri Olsa <jolsa@redhat.com>
14439
14440 * nss/nsswitch.c (__nss_database_lookup): Handle
14441 nss_parse_service_list out of memory case.
14442
0490345c
JO
144432011-09-15 Jiri Olsa <jolsa@redhat.com>
14444
14445 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14446 out of memory case.
14447
3a62d00d
AS
144482011-10-04 Andreas Schwab <schwab@redhat.com>
14449
14450 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14451 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14452 pass it down.
14453 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14454 elf_machine_rela, elf_machine_lazy_rel.
14455 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14456 (ELF_DYNAMIC_DO_REL): Likewise.
14457 (ELF_DYNAMIC_DO_RELA): Likewise.
14458 (ELF_DYNAMIC_RELOCATE): Likewise.
14459 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14460 to ELF_DYNAMIC_DO_REL.
14461 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14462 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14463 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14464 elf_machine_rela.
14465 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14466 skip_ifunc, don't call ifunc function if non-zero.
14467 (elf_machine_rela): Likewise.
14468 (elf_machine_lazy_rel): Likewise.
14469 (elf_machine_lazy_rela): Likewise.
14470 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14471 (elf_machine_lazy_rel): Likewise.
14472 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14473 Likewise.
14474 (elf_machine_lazy_rel): Likewise.
14475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14476 Likewise.
14477 (elf_machine_lazy_rel): Likewise.
14478 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14479 (elf_machine_lazy_rel): Likewise.
14480 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14481 (elf_machine_lazy_rel): Likewise.
14482 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14483 (elf_machine_lazy_rel): Likewise.
14484 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14485 (elf_machine_lazy_rel): Likewise.
14486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14487 (elf_machine_lazy_rel): Likewise.
14488 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14489 (elf_machine_lazy_rel): Likewise.
14490
68577918
UD
144912011-09-28 Ulrich Drepper <drepper@gmail.com>
14492
14493 * nss/nss_files/files-init.c (_nss_files_init): Use static
14494 initialization for all the *_traced_file variables.
14495
68822d74
AS
144962011-09-28 Andreas Schwab <schwab@redhat.com>
14497
14498 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14499
2056100b
RM
145002011-09-27 Roland McGrath <roland@hack.frob.com>
14501
14502 [BZ #13226]
14503 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14504
32c76b63
AS
145052011-09-27 Andreas Schwab <schwab@redhat.com>
14506
14507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14508 Reread the line before reparsing it.
14509
bf972c9d
AS
145102011-09-26 Andreas Schwab <schwab@redhat.com>
14511
14512 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14513
e057a1b5
JM
145142011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14515 Maxim Kuvyrkov <maxim@codesourcery.com>
14516 Joseph Myers <joseph@codesourcery.com>
14517
14518 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14519 if needed for __stack_chk_guard.
14520
bc7e1c36
RM
145212011-09-19 Roland McGrath <roland@hack.frob.com>
14522
ecb1482f
RM
14523 * sysdeps/posix/spawni.c (script_execute): Always define it.
14524 It will be optimized away if unused.
14525 (maybe_script_execute): New function.
14526 (__spawni): Call it.
14527
bc7e1c36
RM
14528 * Makerules: Don't include tls.make.
14529 (config-tls): Always set to thread.
14530 * tls.make.c: File removed.
14531
1c3b002b
MF
145322011-09-19 Mike Frysinger <vapier@gentoo.org>
14533
14534 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14535 * config.make.in (CPPFLAGS-config): New substituted variable.
14536
2840865d
UD
145372011-09-15 Ulrich Drepper <drepper@gmail.com>
14538
88738eb6
UD
14539 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14540
cbf645a6 14541 [BZ #13192]
2840865d
UD
14542 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14543 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14544
b402e91a
RM
145452011-09-15 Roland McGrath <roland@hack.frob.com>
14546
14547 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14548 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14549 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14550 (CALL_FAIL): Likewise.
14551 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14552 (CALL_FAIL): Macro removed.
14553 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14554
4c1a1f71
UD
145552011-09-15 Ulrich Drepper <drepper@gmail.com>
14556
14557 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14558 for __FINITE_MATH_ONLY__ == 1.
14559
edc121be
AS
145602011-09-15 Andreas Schwab <schwab@redhat.com>
14561
14562 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14563 __ieee754_sqrt instead of sqrt.
14564 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14565 __ieee754_sqrtf instead of sqrtf.
14566 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14567 __floorf instead of floorf.
14568 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14569 __floorf, __truncf instead of floorf, truncf.
14570
cd205654
UD
145712011-09-14 Ulrich Drepper <drepper@gmail.com>
14572
ee4d0315
UD
14573 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14574
cd205654
UD
14575 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14576 __extern_always_inline.
14577 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14578 32-bit.
14579
48b67d71
AS
145802011-09-14 Andreas Schwab <schwab@redhat.com>
14581
14582 * elf/rtld.c (dl_main): Also relocate in dependency order when
14583 doing symbol dependency testing.
14584
1ae12c75
AS
145852011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14586
14587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14588 Always define `refsym'.
14589
995a80df
AS
145902011-09-13 Andreas Schwab <schwab@redhat.com>
14591
e529793b
AS
14592 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14593 (__FD_ELT): Renamed from __FDELT.
14594 * misc/bits/select2.h (__FD_ELT): Likewise.
14595 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14596 __FD_MASK instead of __FDELT, __FDMASK.
14597 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14598 Likewise.
14599 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14600 Likewise.
14601
52d4fef8
AS
14602 * elf/Makefile (gen-ldd): Fix pattern.
14603
995a80df
AS
14604 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14605 (init_tls): Likewise.
14606
8682f8b0
UD
146072011-09-12 Ulrich Drepper <drepper@gmail.com>
14608
14609 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14610
de82006d
AS
146112011-09-12 Andreas Schwab <schwab@redhat.com>
14612
a7c8e6a1
AS
14613 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14614 `struct cmsghdr *' instead of `void *'.
14615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14616 Likewise.
14617
0f31fe77
AS
146182011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14619
14620 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14621 if non-absolute.
14622 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14623 ldd_rewrite_script.
0f31fe77 14624
32b4c839
UD
146252011-09-11 Ulrich Drepper <drepper@gmail.com>
14626
83cd1420
UD
14627 * configure.in: Remove --with-tls option.
14628 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14629 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14630 out in case it is missing.
14631 * sysdeps/ia64/elf/configure.in: Likewise.
14632 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14633 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14634 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14635 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14636 * sysdeps/sh/elf/configure.in: Likewise.
14637 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14638 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14639 * sysdeps/x86_64/elf/configure.in: Likewise.
14640 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14641 * sysdeps/mach/hurd/tls.h: Likewise.
14642
633f745d
UD
14643 [BZ #13067]
14644 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14645
f318beb8
UD
14646 [BZ #13090]
14647 * configure.in: Fix use of AC_INIT.
14648
32b4c839
UD
14649 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14650
3ce1f295
UD
146512011-09-10 Ulrich Drepper <drepper@gmail.com>
14652
bb016596
UD
14653 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14654 __set_errno.
8e58439c
UD
14655 * malloc/hooks.c: Likewise.
14656
aebae053 14657 [BZ #11929]
02d46fc4
UD
14658 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14659 variables statically.
14660 (narenas): Initialize.
14661 (list_lock): Initialize.
bb016596
UD
14662 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14663 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
14664 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14665 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14666 Add initializers to main_arena and mp_.
14667 (malloc_state): Remove pagesize member. Change all users to use
14668 GLRO(dl_pagesize).
14669
14670 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14671 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14672 is always initialized.
14673
22a89187
UD
14674 * malloc/malloc.c: Removed unused configurations and dead code.
14675 * malloc/arena.c: Likewise.
14676 * malloc/hooks.c: Likewise.
02d46fc4 14677 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 14678
d063d164
UD
14679 * include/tls.h: Removed. USE___THREAD must always be defined.
14680 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14681 * elf/dl-libc.c: Likewise.
14682 * elf/dl-tsd.c: Likewise.
14683 * include/errno.h: Likewise.
14684 * include/netdb.h: Likewise.
14685 * include/resolv.h: Likewise.
14686 * inet/herrno-loc.c: Likewise.
14687 * inet/herrno.c: Likewise.
14688 * malloc/arena.c: Likewise.
14689 * malloc/hooks.c: Likewise.
14690 * malloc/malloc.c: Likewise.
14691 * resolv/res-state.c: Likewise.
14692 * resolv/res_libc.c: Likewise.
14693 * sysdeps/i386/dl-machine.h: Likewise.
14694 * sysdeps/ia64/dl-machine.h: Likewise.
14695 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14696 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14697 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14698 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14699 * sysdeps/sh/dl-machine.h: Likewise.
14700 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14701 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14702 * sysdeps/unix/i386/sysdep.S: Likewise.
14703 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14704 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14707 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14708 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14709 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14713 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14714 * sysdeps/x86_64/dl-machine.h: Likewise.
14715 * tls.make.c: Likewise.
14716
3ce1f295
UD
14717 * configure.in: Remove --with-__thread option. Make tests for
14718 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14719 tls_model attribute fail if no support is available. Remove
14720 USE_IN_LIBIO.
14721 * Makeconfig: Adjust for dropped configure option. All features are
14722 now mandatory.
14723 * Makerules: Likewise.
14724 * Versions.def: Likewise.
14725 * argp/argp-fmtstream.c: Likewise.
14726 * argp/argp-fmtstream.h: Likewise.
14727 * argp/argp-help.c: Likewise.
14728 * assert/assert.c: Likewise.
14729 * config.h.in: Likewise.
14730 * config.make.in: Likewise.
14731 * configure: Likewise.
14732 * configure.in: Likewise.
14733 * csu/Versions: Likewise.
14734 * csu/init.c: Likewise.
14735 * elf/tst-audit2.c: Likewise.
14736 * elf/tst-tls10.c: Likewise.
14737 * elf/tst-tls10.h: Likewise.
14738 * elf/tst-tls11.c: Likewise.
14739 * elf/tst-tls12.c: Likewise.
14740 * elf/tst-tls14.c: Likewise.
14741 * elf/tst-tlsmod11.c: Likewise.
14742 * elf/tst-tlsmod12.c: Likewise.
14743 * elf/tst-tlsmod13.c: Likewise.
14744 * elf/tst-tlsmod13a.c: Likewise.
14745 * elf/tst-tlsmod14a.c: Likewise.
14746 * elf/tst-tlsmod15b.c: Likewise.
14747 * elf/tst-tlsmod16a.c: Likewise.
14748 * elf/tst-tlsmod16b.c: Likewise.
14749 * elf/tst-tlsmod7.c: Likewise.
14750 * elf/tst-tlsmod8.c: Likewise.
14751 * elf/tst-tlsmod9.c: Likewise.
14752 * gmon/gmon.c: Likewise.
14753 * grp/fgetgrent_r.c: Likewise.
14754 * grp/putgrent.c: Likewise.
14755 * hurd/fopenport.c: Likewise.
14756 * include/libc-symbols.h: Likewise.
14757 * include/tls.h: Likewise.
14758 * intl/gettextP.h: Likewise.
14759 * intl/loadinfo.h: Likewise.
14760 * locale/global-locale.c: Likewise.
14761 * locale/localeinfo.h: Likewise.
14762 * mach/devstream.c: Likewise.
14763 * malloc/arena.c: Likewise.
14764 * malloc/set-freeres.c: Likewise.
14765 * misc/err.c: Likewise.
14766 * misc/getttyent.c: Likewise.
14767 * misc/mntent_r.c: Likewise.
14768 * posix/getopt.c: Likewise.
14769 * posix/wordexp.c: Likewise.
14770 * pwd/fgetpwent_r.c: Likewise.
14771 * resolv/Versions: Likewise.
14772 * resolv/res_hconf.c: Likewise.
14773 * shadow/fgetspent_r.c: Likewise.
14774 * shadow/putspent.c: Likewise.
14775 * stdio-common/printf_fphex.c: Likewise.
14776 * stdio-common/tmpfile.c: Likewise.
14777 * stdlib/abort.c: Likewise.
14778 * stdlib/fmtmsg.c: Likewise.
14779 * sunrpc/auth_unix.c: Likewise.
14780 * sunrpc/clnt_perr.c: Likewise.
14781 * sunrpc/clnt_tcp.c: Likewise.
14782 * sunrpc/clnt_udp.c: Likewise.
14783 * sunrpc/clnt_unix.c: Likewise.
14784 * sunrpc/openchild.c: Likewise.
14785 * sunrpc/svc_simple.c: Likewise.
14786 * sunrpc/svc_tcp.c: Likewise.
14787 * sunrpc/svc_udp.c: Likewise.
14788 * sunrpc/svc_unix.c: Likewise.
14789 * sunrpc/xdr.c: Likewise.
14790 * sunrpc/xdr_array.c: Likewise.
14791 * sunrpc/xdr_rec.c: Likewise.
14792 * sunrpc/xdr_ref.c: Likewise.
14793 * sunrpc/xdr_stdio.c: Likewise.
14794
1248c1c4
PB
147952011-09-09 Ulrich Drepper <drepper@gmail.com>
14796
14797 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14798
147992011-07-03 Andreas Jaeger <aj@suse.de>
14800
14801 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14802 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14803 regenerate with gen-libm-tests.pl.
14804
148052010-05-12 Petr Baudis <pasky@suse.cz>
14806
14807 [BZ #11589]
14808 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14809 around j0() zero points by switching to j1().
14810 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14814
f22e1074
UD
148152011-09-09 Ulrich Drepper <drepper@gmail.com>
14816
f19009c1
UD
14817 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14818 instead of 0.
14819 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14820 instead of 0. .
14821 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14822 Patch in part by Pavel Roskin <proski@gnu.org>.
14823
3f8cc204
UD
14824 [BZ #13138]
14825 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14826 realloc.
14827 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14828 Free memory block if necessary.
14829
f22e1074
UD
14830 [BZ #12847]
14831 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14832 be NULL. Don't lock in this case.
14833
0a2349f9
RM
148342011-09-09 Roland McGrath <roland@hack.frob.com>
14835
14836 * elf/elf.h (ELFOSABI_GNU): New macro.
14837 (ELFOSABI_LINUX): Define to that.
14838
f3cdd467
DZ
148392011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14840
14841 * string/strncat.c (strncat): Undef the symbol in case it has been
14842 defined in bits/string.h.
14843
74718d13
UD
148442011-09-09 Ulrich Drepper <drepper@gmail.com>
14845
633e9e0f
UD
14846 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14847
0a2349f9 14848 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
14849 link map.
14850
f9924780
AJ
148512011-08-17 Andreas Jaeger <aj@suse.de>
14852
14853 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14854
7f5517aa
PP
148552011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14856 Ian Lance Taylor <iant@google.com>
14857
14858 * math/libm-test.inc (lround_test): New testcase.
14859 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14860
762011fe
UD
148612011-09-08 Ulrich Drepper <drepper@gmail.com>
14862
92963737
UD
14863 * Makefile: Remove support for automatic cvs check-ins.
14864 * Makerules: Likewise.
14865 * config.make.in: Likewise.
14866 * configure.in: Likewise.
14867 * intl/Makefile: Likewise.
14868 * locale/Makefile: Likewise.
14869 * po/Makefile: Likewise.
14870 * posix/Makefile: Likewise.
14871 * sysdeps/gnu/Makefile: Likewise.
14872 * sysdeps/mach/hurd/Makefile: Likewise.
14873 * sysdeps/sparc/sparc32/Makefile: Likewise.
14874
b0727fd8
JS
14875 [BZ #13118]
14876 * posix/Makefile (bug-regex32-ENV): Define.
14877 Patch by John Stanley <jpsinthemix@verizon.net>.
14878
a0f33f99
UD
14879 * misc/Makefile (headers): Add bits/select2.h.
14880 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14881 * misc/bits/select2.h: New file.
14882 * include/bits/select2.h: New file.
14883 * debug/Makefile (routines): Add fdelt_chk.
14884 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14885 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14886 FD_ISSET.
14887 * debug/fdelt_chk.c: New file.
14888
762011fe
UD
14889 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14890 * wcsmbs/test-wmemcmp.c: Likewise.
14891 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 14892 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
14893
148942011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14895
14896 * string/Makefile (strop-tests): Add memcmp.
14897 * string/test-wmemcmp.c: New file.
14898 * string/test-memcmp.c: Add wmemcmp support.
14899
7f513ec8
RM
149002011-09-08 Roland McGrath <roland@hack.frob.com>
14901
0442afb4
RM
14902 [BZ #13153]
14903 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14904 2011-07-19 change.
14905
7f513ec8
RM
14906 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14907 garbage value in a __mach_port_mod_refs call in the cases of the
14908 task-self and thread-self ports.
14909
a12b2239
ST
149102011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14911
14912 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14913
610f9ab4
AS
149142011-09-08 Andreas Schwab <schwab@redhat.com>
14915
7f513ec8 14916 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14917
48882a1a
LD
149182011-09-07 Ulrich Drepper <drepper@gmail.com>
14919
b49865be
UD
14920 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14921
fdc86bc9
UD
14922 * elf/dl-libc.c (dlerror_run): Pass back error code from
14923 dl_catch_error.
14924
c966526a
UD
14925 [BZ #13123]
14926 * elf/dl-load.c (lose): Free l_origin if it is valid.
14927
48882a1a
LD
14928 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14929 names.
14930 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14931 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14933 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14934 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14935 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14936
77a2a8b4
AZ
149372011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14938
14939 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14940 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14941 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14942 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14943 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14944 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14945 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14946 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14947 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14948 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14949
24f579d8
AM
149502011-08-15 Alan Modra <amodra@gmail.com>
14951
14952 [BZ #13092]
14953 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14954 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14955 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14956 ppc_mcount to static-only-routines.
14957 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14958 __mcount_internal.
14959 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14960 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14961
3d4837df
UD
149622011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14963
14964 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14965 for finite and infinity parameters.
14966
22700377
WS
149672011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14968
14969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14970 and add nop instructions for throughput optimization.
14971 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14972
5025581e
WS
149732011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14974
14975 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14976 aligned copy for power7 with vector-scalar instructions.
14977 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14978
08a300c9
L
149792011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14980
14981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14982 AVX check.
14983
59178ef9
AS
149842011-09-07 Andreas Schwab <schwab@redhat.com>
14985
14986 [BZ #13144]
14987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14988 last change.
14989
e38ba7ab
UD
149902011-09-07 Ulrich Drepper <drepper@gmail.com>
14991
14992 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14993 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14994 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14995 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14996 clock_gettime.
14997
d53a73ac
UD
149982011-09-06 Ulrich Drepper <drepper@gmail.com>
14999
fc8bffcc
UD
15000 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
15001 Forgot to demangle the pointer.
15002
ceaa0c5d
UD
15003 * sysdeps/i386/sysdep.h: Define atom_text_section.
15004 * sysdeps/x86_64/sysdep.h: Likewise.
15005 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
15006 section with atom_text_section.
15007 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15008 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15009 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15010 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15011 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
15012
a77d3c17
UD
15013 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
15014 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
15015 already be defined. Change to take two parameters and don't assign
15016 result to variable. Adjust all users.
15017 Define INTERNAL_GETTIME if not already defined.
15018 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
15019 call.
15020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
15021 HAVE_CLOCK_GETTIME_VSYSCALL.
15022 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
15023
d53a73ac
UD
15024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
15025 gettimeofday vsyscall, just use time.
15026
a8f84144
AS
150272011-09-06 Andreas Schwab <schwab@redhat.com>
15028
15029 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
15030 <errno.h>.
15031
ef606249
UD
150322011-09-06 Ulrich Drepper <drepper@gmail.com>
15033
15034 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
15035 syscall on x86-64.
15036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
15037 syscall.
15038 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15039 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
15040 syscall if possible.
15041
6585cb60
UD
150422011-09-05 Ulrich Drepper <drepper@gmail.com>
15043
15044 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
15045 e_ident. Don't pass to find_mapsXX.
15046 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
15047
a5f524e4
LD
150482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15049
15050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15051 strchr-sse2-no-bsf strrchr-sse2-no-bsf
15052 * sysdeps/x86_64/multiarch/strchr.S: Update.
15053 Check bit_slow_BSF bit.
15054 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15055 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
15056 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
15057
554881ef
UD
150582011-09-05 Ulrich Drepper <drepper@gmail.com>
15059
d96de963
UD
15060 [BZ #13134]
15061 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
15062 before glibc 2.15.
15063 (tryshell): Define.
15064 (__spawni): Change last parameter to be flag. Test
15065 SPAWN_XFLAGS_USE_PATH flag to use path or not.
15066 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
15067 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
15068 * posix/spawni.c: Likewise.
15069 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
15070 * posix/spawnp.c: Likewise. Change normal version to use
15071 SPAWN_XFLAGS_USE_PATH.
15072 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
15073 SPAWN_XFLAGS_TRY_SHELL.
15074
d48e5868
UD
15075 [BZ #13150]
15076 * posix/glob.h: Remove gcc 1.x support.
15077
554881ef
UD
15078 [BZ #13068]
15079 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
15080
693fb948
LD
150812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15082
15083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15084 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
15085 strrchr-sse2-bsf
15086 * sysdeps/i386/i686/multiarch/strchr.S: New file.
15087 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
15088 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
15089 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
15090 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
15091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
15092
1b48c537
UD
150932011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15094
49d42c37
UD
15095 * sysdeps/x86_64/wcscmp.S: New file.
15096
1b48c537
UD
15097 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
15098 wcscmp-c wcscmp-sse2
15099 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
15100 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
15101 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
15102 * wcsmbs/wcscmp.c: Allow renaming.
15103
15c95c5d
DM
151042011-09-05 David S. Miller <davem@davemloft.net>
15105
15106 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
15107 stack slot, rather than the struct return pointer slot.
15108 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
15109 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
15110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
15111 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
15112
2f0ad8f3
UD
151132011-09-05 Ulrich Drepper <drepper@gmail.com>
15114
d88ae418
UD
15115 * po/ja.po: Update from translation team.
15116
2f0ad8f3
UD
15117 [BZ #13144]
15118 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
15119 kernel in 64-bit binaries.
15120
5f4318d1
DM
151212011-09-01 David S. Miller <davem@davemloft.net>
15122
15123 * elf/elf.h (HWCAP_SPARC_*): Move to..
15124 * sysdeps/sparc/sysdep.h: this new file and add new values.
15125 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15126 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15127 _DL_HWCAP_COUNT to 24.
15128 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15129 entries.
15130 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15131 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15132 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15134 instead of magic constants.
15135 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15136
3ba57516
DM
151372011-08-31 David S. Miller <davem@davemloft.net>
15138
15139 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15141 Reimplement to do errno handling inline.
15142 (SYSCALL_ERROR_HANDLER): New macro.
15143 (__SYSCALL_STRING): Do not do errno handling in asm.
15144 (__CLONE_SYSCALL_STRING): Delete.
15145 (__INTERNAL_SYSCALL_STRING): Delete.
15146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15147 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15148 (PSEUDO): Reimplement to do errno handling inline.
15149 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15150 (SYSCALL_ERROR_HANDLER): New macro.
15151 (__SYSCALL_STRING): Do not do errno handling in asm.
15152 (__CLONE_SYSCALL_STRING): Delete.
15153 (__INTERNAL_SYSCALL_STRING): Delete.
15154 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15155 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15156 i386.
15157 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15158 (inline_syscall*): Add 'err' argument.
15159 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15160 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15161 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15162 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15163
15164 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15165 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15166
2bc17433
AS
151672011-08-30 Andreas Schwab <schwab@redhat.com>
15168
15169 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15170
fbeb5f4d
JO
151712011-08-29 Jiri Olsa <jolsa@redhat.com>
15172
15173 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15174 directive.
15175
ad69cc26
DM
151762011-08-24 David S. Miller <davem@davemloft.net>
15177
15178 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15179
39dd69df
AS
151802011-08-24 Andreas Schwab <schwab@redhat.com>
15181
15182 * elf/Makefile: Add rules to build and run unload8 test.
15183 * elf/unload8.c: New file.
15184 * elf/unload8mod1.c: New file.
15185 * elf/unload8mod1x.c: New file.
15186 * elf/unload8mod2.c: New file.
15187 * elf/unload8mod3.c: New file.
15188
15189 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15190 it wasn't used.
15191
2c0b250a
DM
151922011-08-23 David S. Miller <davem@davemloft.net>
15193
15194 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15195 subtract stack bias.
15196 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15197 %sp not %fp in calculations.
15198 (_JMPBUF_UNWINDS_ADJ): Likewise.
15199
22044b48
DM
15200 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15201 (aio_suspend): Call it to force an exception region around the
15202 AIO_MISC_WAIT() invocation.
15203
2cae4995
AS
152042011-08-23 Andreas Schwab <schwab@redhat.com>
15205
15206 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15207 backslash.
15208
873a772e
AJ
152092011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15210
15211 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15212 protection macro.
15213 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15214 and <dl-machine.h>.
15215 (Elf64_FuncDesc): Remove.
15216
25ad0df1
DM
152172011-08-22 David S. Miller <davem@davemloft.net>
15218
15219 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15220 sigaltstack check, add missing cfi directives.
15221 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15222 missing cfi directives, and sigaltstack handling.
15223
e888bcbe
AS
152242011-08-16 Andreas Schwab <schwab@redhat.com>
15225
15226 [BZ #11724]
15227 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15228 object is seen twice.
15229 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15230
15231 * elf/Makefile (distribute): Add tst-initorder2.c.
15232 (tests): Add tst-initorder2.
15233 (modules-names): Add tst-initorder2a tst-initorder2b
15234 tst-initorder2c tst-initorder2d. Add rules to build them.
15235 ($(objpfx)tst-initorder2.out): New rule.
15236 * elf/tst-initorder2.c: New file.
15237 * elf/tst-initorder2.exp: New file.
15238
87162f46
AS
152392011-08-22 Andreas Schwab <schwab@redhat.com>
15240
70538b7f
AS
15241 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15242
f55ffe58
AS
15243 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15244 dependencies back to end of function.
15245
87162f46
AS
15246 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15247 $(elfobjdir)/ld.so.
15248
91b392a4
UD
152492011-08-21 Ulrich Drepper <drepper@gmail.com>
15250
15251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15252 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15253 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15254 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15255 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15256 of __vdso_gettimeofday.
15257 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15258 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15259 attribute_hidden.
15260 (_libc_vdso_platform_setup): Remove initialization of
15261 __vdso_gettimeofday and __vdso_time.
15262
5c43483f
UD
152632011-08-20 Ulrich Drepper <drepper@gmail.com>
15264
775a77e7
UD
15265 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15266 and fgetc_unlocked.
15267 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15268 getc_unlocked.
89f447ed 15269
49c74ba9
UD
15270 * elf/dl-open.c (add_to_global): Report additions to the global scope
15271 for LD_DEBUG=scopes.
15272 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 15273 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 15274
5c43483f
UD
15275 [BZ #13114]
15276 * stdio-common/Makefile (tests): Add bug24.
15277 * stdio-common/bug24.c: New file.
15278
a101b025
AJ
152792011-08-19 Andreas Jaeger <aj@suse.de>
15280
15281 [BZ #13114]
15282 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15283 non-existant file when using close-on-exec mode.
15284
c88f1766
UD
152852011-08-20 Ulrich Drepper <drepper@gmail.com>
15286
0276a718
UD
15287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15288 the very first instruction.
15289
c88f1766
UD
15290 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15291 the CFI state in the end.
15292 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15293 inclusion of dl-trampoline.h.
15294 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15295
51ccffa0
AS
152962011-08-19 Andreas Schwab <schwab@redhat.com>
15297
94d7165f
AS
15298 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15299 expectations for long double.
15300
51ccffa0
AS
15301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15302 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15303
fd708658 153042011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
15305
15306 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15307 artificual limit depends upon the system page size.
15308
44f0a71e
UD
153092011-08-17 Ulrich Drepper <drepper@gmail.com>
15310
15311 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15312 * resolv/Makefile: Define CFLAGS-libresolv.
15313
8de79a24
AS
153142011-08-17 Andreas Schwab <schwab@redhat.com>
15315
15316 * nss/makedb.c (compute_tables): Make variables used in nested
15317 function static.
15318
27724598
UD
153192011-08-17 Ulrich Drepper <drepper@gmail.com>
15320
c5305d88
UD
15321 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15322 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15323 if buffer was too small.
15324
27724598
UD
15325 * elf/pldd.c (main): Attach to all threads in the process.
15326 Rewrite /proc handling to use *at functions.
15327
076fe015
UD
153282011-08-16 Ulrich Drepper <drepper@gmail.com>
15329
174baab3
UD
15330 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15331 specifies first scope to show.
15332 (dl_open_worker): Update callers. Move printing scope of new
15333 object to before the relocation.
44f0a71e 15334 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
15335 * sysdeps/generic/ldsodefs.h: Update declaration.
15336
076fe015
UD
15337 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15338 string for the scope number.
15339
a60df2c3
UD
153402011-08-14 Ulrich Drepper <drepper@gmail.com>
15341
15342 * nscd/servicescache.c (cache_addserv): Make sure written is always
15343 initialized.
15344
5e4287d1
RM
153452011-08-14 Roland McGrath <roland@hack.frob.com>
15346
85ae0589
RM
15347 * sysdeps/i386/i486/bits/atomic.h
15348 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15349 statement expression, so as to suppress "set but not used" warning.
15350 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15351
69f63097
RM
15352 * string/strncat.c (STRNCAT): Use prototype definition.
15353
675456ef
RM
15354 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15355 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15356 -Iprograms here.
15357 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15358 (localedef-modules): Add localedef.
15359 (locale-modules): Add locale.
15360
5e4287d1
RM
15361 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15362 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15363 to avoid a warning.
15364
9c96ff23
DM
153652011-08-14 David S. Miller <davem@davemloft.net>
15366
15367 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15368 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15369
f9ddf089
UD
153702011-08-13 Ulrich Drepper <drepper@gmail.com>
15371
44f0a71e 15372 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
15373 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15374 * elf/rtld.c (dl_main): Set l_name of vDSO.
15375 Call _dl_show_scope when DL_DEBUG_SCOPES.
15376 (process_dl_debug): Recognize scopes flag and also set it for all.
15377 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15378 Declare _dl_show_scope.
15379
1dc27704
UD
15380 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15381 (do_dlopen): Pass caller_dlopen to dl_open.
15382 (__libc_dlopen_mode): Initialize caller_dlopen.
15383
f9ddf089
UD
15384 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15385 of libc. Make tolower call locale-independent. Optimize a bit by
15386 using isdigit instead of isalnum.
15387 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15388
9ac533d3
UD
153892011-08-12 Ulrich Drepper <drepper@gmail.com>
15390
15391 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15392 was a dependency or dynamically loaded.
15393
89edf2e9
UD
153942011-08-11 Ulrich Drepper <drepper@gmail.com>
15395
8e999d29
UD
15396 * intl/l10nflist.c: Allow architecture-specific pop function.
15397 * sysdeps/x86_64/l10nflist.c: New file.
15398
89edf2e9
UD
15399 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15400 classification.
15401
14d96785
AS
154022011-08-10 Andreas Schwab <schwab@redhat.com>
15403
15404 * include/dirent.h: Add libc_hidden_proto for scandirat and
15405 scandirat64. Don't declare __scandirat64.
15406 * dirent/scandirat.c: Add libc_hidden_def.
15407 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15408 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15409
6761ac04
DM
154102011-08-10 David S. Miller <davem@davemloft.net>
15411
15412 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15413 enum.
15414 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15415 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15416 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15417
c55fbd1e
UD
154182011-08-09 Ulrich Drepper <drepper@gmail.com>
15419
15420 * Versions.def [libc]: Add GLIBC_2.15.
15421 * dirent/Makefile (routines): Add scandirat and scandirat64.
15422 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15423 GLIBC_2.15.
15424 * dirent/dirent.h: Declare scandirat and scandirat64.
15425 * dirent/scandirat.c: New file.
15426 * dirent/scandirat64.c: New file.
15427 * sysdeps/wordsize-64/scandirat.c: New file.
15428 * sysdeps/wordsize-64/scandirat64.c: New file.
15429 * dirent/opendir.c: Define opendirat.
15430 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15431 using scandirat.
15432 * dirent/scandir64.c: Adjust for scandir.c change.
15433 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15434 __scandirat64, and __scandir_cancel_handler.
15435 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15436 additional parameter and use openat instead of open (outside of ld.so).
15437 Add new __opendir as wrapper around __opendirat.
15438 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15439 here without requiring old scandirat implementation.
15440
879165f2
UD
154412011-08-08 Ulrich Drepper <drepper@gmail.com>
15442
15443 * dirent/scandir.c (cancel_handler): Renamed to
15444 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15445 defined. Adjust users.
15446 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15447 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15448
cb7e923b
UD
154492011-08-04 Ulrich Drepper <drepper@gmail.com>
15450
16292edd
UD
15451 * string/test-string.h (IMPL): Use __STRING to expand name and then
15452 stringify it.
15453
cb7e923b
UD
15454 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15455 of cleanups.
15456
cff82933
LD
154572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15458
15459 * string/Makefile: Update.
15460 (strop-tests): Append strncat.
15461 * string/test-wcscmp.c: New file.
15462 New comprehensive test for wcscmp.
15463 * string/test-strcmp.c: Update.
15464 (WIDE): New define.
15465
9be9bfcc
AS
154662011-07-22 Andreas Schwab <schwab@redhat.com>
15467
15468 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15469 line.
15470
2e96f1c7
AS
154712011-07-26 Andreas Schwab <schwab@redhat.com>
15472
15473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15474 encoding to ACE if AI_IDN.
15475
85188888
JJ
154762011-08-01 Jakub Jelinek <jakub@redhat.com>
15477
15478 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15479 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15480
5fa16e9b
LD
154812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15482
15483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15484 Fix overflow bug in strncat.
15485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15486
15487 * string/test-strncat.c: Update.
15488 Add new tests for checking overflow bugs.
15489
154902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15491
15492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15493 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15494 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15495 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15496 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15497 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15498 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15499 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15500 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15501
15502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15503 (USE_AS_STRCAT): Define.
15504 Add strcat and strncat support.
15505 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15506
8c1a459f
AS
155072011-07-25 Andreas Schwab <schwab@redhat.com>
15508
15509 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15510 __n bigger than INT_MAX+1.
15511 (__strncmp_g): Likewise.
15512
bba33c28
UD
155132011-07-23 Ulrich Drepper <drepper@gmail.com>
15514
798be72d
UD
15515 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15516 * libio/stido.h: Likewise.
15517
8accd4dc
UD
15518 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15519 (AF_NFC): Define.
15520 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15521 (AF_NFC): Define.
15522
cbff0d96
UD
15523 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15525 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15526 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15528
9191c04a
UD
15529 [BZ #13021]
15530 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15531 installed.
15532
bba33c28
UD
15533 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15534 typo.
15535 (_dl_x86_64_save_sse): Likewise.
15536
90f139dd
UD
155372011-07-22 Ulrich Drepper <drepper@gmail.com>
15538
1aae088a
UD
15539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15540 OSXSAVE.
15541 (_dl_x86_64_save_sse): Likewise.
15542
8e2045f5
UD
15543 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15544
90f139dd
UD
15545 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15546
1d002f25
AS
155472011-07-21 Andreas Schwab <schwab@redhat.com>
15548
15549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15550 change.
15551 (_dl_x86_64_save_sse): Use correct AVX check.
15552
21137f89
UD
155532011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15554
15555 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15556 bug in strncpy/strncat.
15557 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15558
a65c0b7a
UD
155592011-07-21 Ulrich Drepper <drepper@gmail.com>
15560
15561 * string/tester.c (test_strcat): Add tests for different alignments
15562 of source and destination.
15563 (test_strncat): Likewise.
15564
6986b98a
UD
155652011-07-20 Ulrich Drepper <drepper@gmail.com>
15566
90bb2039
UD
15567 [BZ #12852]
15568 * posix/glob.c (glob): Check passed in values before using them in
15569 expressions to avoid some overflows.
15570 (glob_in_dir): Likewise.
15571
5644ef54
UD
15572 [BZ #13007]
15573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15574 check for AVX enablement so that we don't crash with old kernels and
15575 new hardware.
15576 * elf/tst-audit4.c: Add same checks here.
15577 * elf/tst-audit6.c: Likewise.
15578
15579 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 15580
bfc9dc9b
AS
155812011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15582
15583 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15584
702e64bb
UD
155852011-07-20 Ulrich Drepper <drepper@gmail.com>
15586
15587 * po/cs.po: Update from translation team.
15588 * po/bg.po: Likewise.
15589
295e904f
MP
155902011-07-12 Marek Polacek <mpolacek@redhat.com>
15591
15592 * misc/sys/cdefs.h: Add support for const attribute.
15593 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15594 to gnu_dev_{major,minor,makedev} functions.
15595
3ff94596
MP
155962011-07-20 Marek Polacek <mpolacek@redhat.com>
15597
15598 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15599
28b59fca
AS
156002011-07-20 Andreas Schwab <schwab@redhat.com>
15601
15602 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15603 strlen results.
15604
19df733e
AK
156052011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15606
15607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15608 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15609 register in order to avoid conflicts with the soft frame pointer
15610 being held in r11 when necessary.
15611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15612 (INTERNAL_VSYSCALL_NCS): Likewise.
15613
c8835729
MP
156142011-07-14 Marek Polacek <mpolacek@redhat.com>
15615
15616 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15617 * elf/dl-fini.c (_dl_fini): Adjust caller.
15618 * elf/dl-close.c (_dl_close_worker): Likewise.
15619 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15620
b902330c
MP
156212011-07-15 Marek Polacek <mpolacek@redhat.com>
15622
8991e135
MP
15623 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15624 "aux_cache->nlibs < 0".
15625
b902330c
MP
15626 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15627 in the reload-count case.
15628
99710781
LD
156292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15630
15631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15632 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15633 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15634 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15635 * sysdeps/x86_64/multiarch/strcat.S: New file.
15636 * sysdeps/x86_64/multiarch/strncat.S: New file.
15637 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15638 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15639 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15640 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15641 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15642 (USE_AS_STRCAT): Define.
15643 Add strcat and strncat support.
15644 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15645 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15646 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15647 * string/strncat.c: Update.
15648 (USE_AS_STRNCAT): Define.
15649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15650 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15651 and i7.
15652 * sysdeps/x86_64/multiarch/init-arch.h
15653 (bit_Prefer_PMINUB_for_stringop): New.
15654 (index_Prefer_PMINUB_for_stringop): Likewise.
15655 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15656 bit_Prefer_PMINUB_for_stringop.
15657
7dc6bd90
UD
156582011-07-19 Ulrich Drepper <drepper@gmail.com>
15659
15660 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15661 buffer64.
15662 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15663 of casting of buffer.
15664 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15665 buffer32 and buffer64.
15666 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15667 writes instead of casting of buffer.
15668 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15669 buffer32.
15670 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15671 casting of buffer.
15672
e0e72284
AS
156732011-07-19 Andreas Schwab <schwab@redhat.com>
15674
15675 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15676
feb1eb0b
UD
156772011-07-19 Ulrich Drepper <drepper@gmail.com>
15678
15679 * nscd/nscd.c (termination_handler): Don't do anything for a database
15680 if it has not yet been initialized.
15681
298711ff
UD
156822011-07-18 Ulrich Drepper <drepper@gmail.com>
15683
15684 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15685
156862011-07-15 Marek Polacek <mpolacek@redhat.com>
15687
15688 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15689
f9d68389
UD
156902011-07-18 Ulrich Drepper <drepper@gmail.com>
15691
15692 * po/nl.po: Update from translation team.
15693 * po/sv.po: Likewise.
15694
db290cf5
RM
156952011-07-16 Roland McGrath <roland@hack.frob.com>
15696
15697 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15698 now disallowed by GCC.
5c550700 15699
fd5e21c7
RM
15700 * configure.in (use-default-link): Default to yes if a test -shared
15701 link meets our qualifications.
15702 * configure: Regenerated.
15703
5c550700
RM
15704 * config.make.in (output-format): New variable.
15705 * configure.in: Check for ld --print-output-format support.
15706 * configure: Regenerated.
15707 * Makerules ($(common-objpfx)format.lds)
15708 [$(output-format) != unknown]: Just use $(output-format),
15709 instead of the linker-script munging.
15710
9fa2c032
RM
157112011-07-14 Roland McGrath <roland@hack.frob.com>
15712
a6928d51
RM
15713 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15714 of $(common-objpfx)shlib.lds.
15715 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15716
661607b3
RM
15717 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15718 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15719
9fa2c032
RM
15720 * configure.in (-z relro check): Adjust test code to add a large
15721 writable data section after it.
15722 * configure: Regenerated.
15723
defe9061
RM
157242011-07-11 Roland McGrath <roland@hack.frob.com>
15725
15726 * configure.in (-z relro check): Fix test code to make the variable
15727 truly const.
15728 * configure: Regenerated.
15729
319b9ad4
UD
157302011-07-11 Ulrich Drepper <drepper@gmail.com>
15731
15732 * nscd/nscd.h (struct traced_file): Define.
15733 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15734 elements. Add traced_files.
15735 (inotify_fd): Declare.
15736 (register_traced_file): Declare.
15737 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15738 (inotify_fd): Export.
15739 (resolv_conf_descr): Remove.
15740 (nscd_init): Move inotify descriptor creation to main.
15741 Don't register files for notification here.
15742 (register_traced_file): New function.
15743 (invalidate_cache): Don't use reset_res to determine whether to call
15744 res_init, go through the list of registered files.
15745 (main_loop_poll): The inotify descriptors are now stored in the
15746 structures for the traced files.
15747 (main_loop_epoll): Likewise
15748 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15749 to __nss_disable_nscd.
15750 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15751 for a database anymore. Check the records for all the registered
15752 files instead.
15753 * nss/Makefile (libnss_files-routines): Add files-init.
15754 (libnss_db-routines): Add db-init.
15755 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15756 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15757 * nss/nss_db/db-init.c: New file.
15758 * nss/nss_files/files-init.c: New file.
15759 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15760 __nss_lookup_function.
15761 (__nss_lookup_function): Call nss_load_library.
15762 (nss_load_all_libraries): New function.
15763 (__nss_disable_nscd): Take parameter with callback function for files
15764 to register. Set is_nscd. Load all the DSOs for the NSS modules
15765 used for the cached services.
15766 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15767 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15768 options for features to all the files in nscd.
15769
15770 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15771
23bee3e8
RM
157722011-07-10 Roland McGrath <roland@hack.frob.com>
15773
15774 * csu/elf-init.c (__libc_csu_init): Comment typo.
15775
46a5b7f0
UD
157762011-07-09 Ulrich Drepper <drepper@gmail.com>
15777
15778 * po/pl.po: Update from translation team.
15779 * po/ja.po: Likewise.
15780 * po/ru.po: Likewise.
15781 * po/ko.po: Likewise.
15782 * po/fr.po: Likewise.
15783
d30cf5bb
RM
157842011-07-09 Roland McGrath <roland@hack.frob.com>
15785
113ddea4
RM
15786 * configure.in (.ctors/.dtors header and trailer check):
15787 Use an empirical test on a built program.
15788 * configure: Regenerated.
15789
574920b4
RM
15790 * configure.in (-z relro check): Use an empirical test on a built DSO.
15791 Detect, but do not require, on ia64.
15792 * configure: Regenerated.
15793
d30cf5bb
RM
15794 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15795 Update tests that use readelf to use $READELF instead.
15796 * configure: Regenerated.
15797
8538fdb3
UD
157982011-07-08 Ulrich Drepper <drepper@gmail.com>
15799
15800 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15801 if the result is not used.
15802
04d08991
AJ
158032011-07-05 Andreas Jaeger <aj@suse.de>
15804
15805 [BZ#9696]
15806 * stdlib/tst-strtod.c: Add testcase.
15807
de283087
AD
158082011-07-07 Ulrich Drepper <drepper@gmail.com>
15809
4e5f31c8 15810 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 15811 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
15812 The latter has a higher limit. Take additional parameter to pass to
15813 the new function.
15814 (__pathconf): Pass file to __statfs_link_max.
15815 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15816 __statfs_link_max.
15817 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15818 __statfs_link_max.
15819
de283087
AD
15820 [BZ #12868]
15821 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15822 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15823 Handle Lustre.
15824 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15825 (__statfs_filesize_max): Likewise.
15826 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15827
c75fa153
AJ
158282011-07-05 Andreas Jaeger <aj@suse.de>
15829
15830 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15831
1a544854
UD
158322011-07-06 Marek Polacek <mpolacek@redhat.com>
15833
15834 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15835 `status' variable.
15836 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15837 Likewise.
15838
6f0eec67
UD
158392011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15840
15841 * Makefile (strop-tests): Add strncat.
15842 * string/test-strncat.c: New file.
15843
aae30307
UD
158442011-06-30 Marek Polacek <mpolacek@redhat.com>
15845
15846 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15847
c0cfb5eb
UD
158482011-06-21 Andreas Jaeger <aj@suse.de>
15849
15850 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15851 Copy rule from iconvdata/Makefile.
15852
01636b21
UD
158532011-07-06 Ulrich Drepper <drepper@gmail.com>
15854
15855 [BZ #12922]
15856 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15857 but no long options are defined, just return 'W'.
15858
9895c8bc
UD
158592011-06-22 Marek Polacek <mpolacek@redhat.com>
15860
15861 [BZ #9696]
15862 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15863
5d4cf042
UD
158642011-07-06 Ulrich Drepper <drepper@gmail.com>
15865
15866 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15867 netgroups to read.
960e5535 15868 (innetgr): Likewise.
5d4cf042 15869
751eb97e
RM
158702011-07-05 Roland McGrath <roland@hack.frob.com>
15871
15872 * config.make.in (install_root): Default to $(DESTDIR).
15873
f15f1e45
UD
158742011-07-05 Ulrich Drepper <drepper@gmail.com>
15875
15876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15877
4e34ac6a
RM
158782011-07-02 Roland McGrath <roland@hack.frob.com>
15879
5e9b6af4
RM
15880 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15881
84f9ea0f
RM
15882 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15883 containing directory rather than embedding absolute directory names.
15884
ea5ee9f7
RM
15885 * scripts/check-local-headers.sh: Rewritten using awk.
15886 Match by word, not by line. Print error messages for matches.
15887 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15888
1b74661a
RM
15889 * Makerules [shlib-lds-flags empty]:
15890 ($(common-objpfx)libc_pic.opts): New target.
15891 ($(common-objpfx)libc_pic.os.clean): New target.
15892 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15893
15894 * config.make.in (OBJCOPY): New variable.
15895 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15896 * configure: Regenerated.
15897
f781ef40
RM
15898 * config.make.in (use-default-link): New variable.
15899 * configure.in (use_default_link): Grok --with-default-link to set it.
15900 * configure: Regenerated.
15901 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15902 (shlib-lds, shlib-lds-flags): Define to empty.
15903
2d4fa81e
RM
15904 * Makerules (shlib-lds): New variable.
15905 (shlib-lds-flags): New variable.
15906 (build-shlib, build-moduile, build-module-asneeded): Use it.
15907 ($(common-objpfx)libc.so): Use $(shlib-lds).
15908 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15909 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15910
31fffa6b
RM
15911 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15912 DT_FLAGS/DT_FLAGS_1 with zero flags.
15913
4e34ac6a
RM
15914 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15915 linker script munging.
15916
fcfc776b
UD
159172011-07-02 Ulrich Drepper <drepper@gmail.com>
15918
15919 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15920 as 128-bit value.
15921 * crypt/sha512.c (sha512_process_block): Perform total addition using
15922 128-bit if possible.
15923 (__sha512_finish_ctx): Likewise.
15924 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15925 as 64-bit value.
15926 * crypt/sha256.c (SWAP64): Define.
15927 (sha256_process_block): Perform total addition using 64-bit if
15928 possible.
15929 (__sha256_finish_ctx): Likewise.
15930
99231d9a
UD
159312011-07-01 Ulrich Drepper <drepper@gmail.com>
15932
15933 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15934 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15935 * nscd/hstcache.c (cache_addhst): Likewise.
15936 * nscd/grpcache.c (cache_addgr): Likewise.
15937 * nscd/aicache.c (addhstaiX): Likewise
15938 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15939
445b4a53
TK
159402011-07-01 Thorsten Kukuk <kukuk@suse.de>
15941
15942 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15944 * nscd/hstcache.c (cache_addhst): Likewise.
15945 * nscd/grpcache.c (cache_addgr): Likewise.
15946 * nscd/aicache.c (addhstaiX): Likewise
15947
6d4d8e8e
AS
159482011-07-01 Andreas Schwab <schwab@redhat.com>
15949
15950 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15951 domain only when needed.
15952
89f654c5
AS
159532011-06-30 Andreas Schwab <schwab@redhat.com>
15954
15955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15956 is always restored.
15957
cf3b23ff
UD
159582011-06-29 Ulrich Drepper <drepper@gmail.com>
15959
15960 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15961 are re-adding the entry.
15962 * nscd/servicescache.c (cache_addserv): Likewise.
15963
751626f9
AJ
159642011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15965
15966 * sysdeps/generic/dl-irel.h: fix protection against multiple
15967 inclusions.
15968 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15969
9113ea1f
UD
159702011-06-28 Ulrich Drepper <drepper@gmail.com>
15971
5c0b8d90
UD
15972 [BZ #12935]
15973 * malloc/memusage.sh: Fix quoting in message.
15974 * debug/xtrace.sh: Likewise.
15975
9113ea1f
UD
15976 * configure.in: Remove support for --experimental-malloc option, make
15977 it the default.
15978 * config.make.in: Likewise.
15979 * malloc/Makefile: Likewise.
15980
a4172181
AS
159812011-06-27 Andreas Schwab <schwab@redhat.com>
15982
15983 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15984 two-byte characters.
15985
78a7eee7
RM
159862011-06-27 Roland McGrath <roland@hack.frob.com>
15987
62bede13
RM
15988 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15989 AC_CACHE_CHECK invocation.
15990 * configure: Regenerated.
15991
78a7eee7
RM
15992 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15993
5ce33a62
UD
159942011-06-27 Ulrich Drepper <drepper@gmail.com>
15995
034807a9
UD
15996 [BZ #12350]
15997 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15998 bit from old_res_options.
15999
4902da17
UD
16000 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
16001
5ce33a62
UD
16002 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
16003 value type for setfct.
16004
c2344f56
L
160052011-06-23 H.J. Lu <hongjiu.lu@intel.com>
16006
16007 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16008 __gettimeofday instead of gettimeofday.
16009
68468076
UD
160102011-06-26 Ulrich Drepper <drepper@gmail.com>
16011
16012 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
16013
acb0d739
L
160142011-06-24 H.J. Lu <hongjiu.lu@intel.com>
16015
16016 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
16017
16018 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
16019 info.
16020
8912479f
L
160212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16022
16023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16024 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16025 strcpy-sse2-unaligned strncpy-sse2-unaligned
16026 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
16027 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
16028 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
16029 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
16030 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
16031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
16032 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
16033 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
16034 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
16035 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
16036 (STRCPY): Support SSE2 and SSSE3 versions.
16037
d5495a11
UD
160382011-06-24 Ulrich Drepper <drepper@gmail.com>
16039
16040 [BZ #12874]
16041 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
16042 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
16043 kernels which artificially limit size of requests.
16044
0b1cbaae
L
160452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
16046
16047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16048 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
16049 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
16050 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
16051 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
16052 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
16053 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
16054 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
16055 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
16056 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
16057 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
16058 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
16059 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
16060 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
16061 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
16062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16063 Enable unaligned load optimization for Intel Core i3, i5 and i7
16064 processors.
16065 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
16066 Define.
16067 (index_Fast_Unaligned_Load): Define.
16068 (HAS_FAST_UNALIGNED_LOAD): Define.
16069
07f494a0
MP
160702011-06-23 Marek Polacek <mpolacek@redhat.com>
16071
16072 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
16073
fa3fc0fe
UD
160742011-06-22 Ulrich Drepper <drepper@gmail.com>
16075
16076 [BZ #12907]
16077 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
16078 until it is clear that the information is realy needed.
16079 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
16080
e12df166
AS
160812011-06-22 Andreas Schwab <schwab@redhat.com>
16082
16083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
16084
852eb34d
UD
160852011-06-22 Ulrich Drepper <drepper@gmail.com>
16086
84e2a551
UD
16087 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
16088 /sys/devices/system/cpu/online if it is usable.
16089
852eb34d
UD
16090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
16091 reading the information from the /proc filesystem to once a second.
16092
6e502e19
UD
160932011-06-21 Andreas Jaeger <aj@suse.de>
16094
16095 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
16096 NULL after inclusion of kernel headers.
16097
75d39ff2
UD
160982011-06-21 Ulrich Drepper <drepper@gmail.com>
16099
51f9aa6a
UD
16100 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
16101 calls to internal_setent.
16102
c0244a9d
UD
16103 [BZ #12885]
16104 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
16105 addresses using gethostbyname4_r ignore IPv4 addresses.
16106
c5e3c2ae
UD
16107 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
16108 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
16109
75d39ff2
UD
16110 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
16111
42675c6f
DM
161122011-06-20 David S. Miller <davem@davemloft.net>
16113
16114 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
16115 inclusions.
16116 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
16117
16118 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
16119 (elf_irel): Use it.
16120 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16121 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16122 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16123 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16124 * sysdeps/x86_64/dl-irel.h: Likewise.
16125
16126 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16127 * elf/dl-sym.c: Likewise.
16128
57912a71
UD
161292011-06-15 Ulrich Drepper <drepper@gmail.com>
16130
16131 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16132 need to dereference resplen2.
16133
ee22793d
AS
161342011-06-14 Andreas Schwab <schwab@redhat.com>
16135
16136 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16137
a9e836b0
UD
161382011-06-15 Ulrich Drepper <drepper@gmail.com>
16139
77fb9117
UD
16140 * Makeconfig: Define vardbdir and inst_vardbdir.
16141 * nss/Makefile: Add rules to install db-Makefile.
16142
40c1b22c
UD
16143 * nss/nss_db/db-XXX.c: Cleanup.
16144
9f2da732
UD
16145 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16146 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16147 GLIBC_PRIVATE.
16148 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16149 * nss/makedb.c: Implement -g option to specify that value strings
16150 are generated and should not be added to table iterated over for
16151 get*ent calls.
16152 * nss/nss_db/db-initgroups.c: New file.
16153
82e9a1f7
UD
16154 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16155 interface.
16156
c41af17e
UD
16157 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16158 (internal_getgrouplist): Adjust to name change.
16159 Update use_initgroups_entry if this is not the first call.
16160 * nss/databases.def: Add initgroups entry.
16161
a9e836b0
UD
16162 * nss/makedb.c (compute_tables): Check result of multiple hash table
16163 sizes to minimize maximum chain length.
16164
2666d441
UD
161652011-06-14 Ulrich Drepper <drepper@gmail.com>
16166
16167 * Versions.def: Add entry for libnss_db.
16168 * shlib-versions: Likewise.
16169 * nss/Makefile: Add rules to build libnss_db.
16170 * nss/Versions: Add libnss_db information. Organize libnss_files
16171 entries better.
16172 * nss/db-Makefile: Add gshadow support. Change rules for the new
16173 makedb progra. Some minor improvements to generate smaller files.
16174 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16175 here from...
16176 * nss/makedb.c: ...here.
16177 Improve database format to be smaller and require less memory at
16178 runtime.
16179 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16180 db anymore.
16181 * nss/nss_db/db-netgrp.c: Likewise.
16182 * nss/nss_db/db-open.c: Likewise.
16183 * nss/nss_files/flies-XXX.x: Adjust comments.
16184 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16185 * nss/nss_files/files-grp.c: Likewise.
16186 * nss/nss_files/files-hosts.c: Likewise.
16187 * nss/nss_files/files-network.c: Likewise.
16188 * nss/nss_files/files-proto.c: Likewise.
16189 * nss/nss_files/files-pwd.c: Likewise.
16190 * nss/nss_files/files-rpc.c: Likewise.
16191 * nss/nss_files/files-service.c: Likewise.
16192 * nss/nss_files/files-sgrp.c: Likewise.
16193 * nss/nss_files/files-spwd.c: Likewise.
16194 * nss/nss_db/db-alias.c: Removed.
16195 * nss/nss_db/dummy-db.h: Removed.
16196
9ee76b5a
UD
161972011-06-02 Ulrich Drepper <drepper@gmail.com>
16198
16199 * nss/makedb.c: Rewritten to not use database library.
16200 * nss/Makefile: Update to build new makedb program.
16201
c71ca1f8
AJ
162022011-06-14 Andreas Jaeger <aj@suse.de>
16203
16204 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16205 memset declaration.
16206
3154bfb8
UD
162072011-06-10 Andreas Schwab <schwab@redhat.com>
16208
16209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16210 tmpbuf.
16211
b350afab
RM
162122011-06-10 Roland McGrath <roland@hack.frob.com>
16213
decd4e50
RM
16214 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16215 * elf/Makefile ($(objpfx)ld.so): Likewise.
16216
5615eaf2
RM
16217 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16218 Don't list ld.so twice in dependencies.
16219
16220 * posix/bug-regex31.c: Include <stdlib.h>.
16221
16222 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16223
16224 * nis/nss_compat/compat-spwd.c
16225 (getspent_next_nss_netgr): Remove unused variable.
16226 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16227
16228 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16229 nonmembers" output to use the right array.
16230
16231 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16232
16233 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16234
16235 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16236 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16237 * catgets/gencat.c (read_input_file): Likewise.
16238 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16239
16240 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16241 variable definition inside #if's controlling its use.
16242
16243 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16244
16245 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16246
16247 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16248
16249 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16250 unreachable code.
16251
16252 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16253
b68e08db
RM
16254 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16255 * configure: Regenerated.
16256
b350afab
RM
16257 * Makerules: Revert last change.
16258 * elf/Makefile: Likewise.
16259
28368601
RM
162602011-06-09 Roland McGrath <roland@hack.frob.com>
16261
16262 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16263 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16264 (reloc-link): Likewise.
16265
11988f8f
UD
162662011-06-09 Ulrich Drepper <drepper@gmail.com>
16267
16268 * elf/Makefile: Add rules to build pldd.
16269 * elf/pldd.c: New file.
16270 * elf/pldd-xx.c: New file.
16271
e80fab37
UD
162722011-06-07 Ulrich Drepper <drepper@gmail.com>
16273
16274 * version.h: Update for 2.15 development version.
16275
9b849836
DM
162762011-06-07 David S. Miller <davem@davemloft.net>
16277
16278 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16279 ifuncs.
16280 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16281 elf_machine_lazy_rel): Likewise.
16282 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16283 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16284 elf_machine_lazy_rel): Likewise.
16285 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16286 dl_hwcap via passed in argument.
16287 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16288 Likewise.
16289
5a31b283
AK
162902011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16291
16292 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16293
069e52f8
RM
162942011-06-06 Roland McGrath <roland@hack.frob.com>
16295
16296 [BZ #12849]
16297 * manual/fdl-1.1.texi: New file, verbatim from:
16298 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16299 * manual/lgpl-2.1.texi: New file, verbatim from:
16300 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16301 * manual/Makefile (licenses): New variable, list those new file names.
16302 (texis): Use it.
16303 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16304
16305 * manual/fdl.texi: File removed.
16306 * manual/lesser.texi: File removed.
16307 * manual/libc.texinfo (Copying, Documentation License):
16308 Use new @include file names, put @appendix directive before @include.
16309
f16846a5
JJ
163102011-06-04 Jakub Jelinek <jakub@redhat.com>
16311
16312 [BZ #12841]
16313 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16314 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16315 (mq_open): Add __NTH.
16316
3d29045b
L
163172011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16318
16319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16320 Assume Intel Core i3/i5/i7 processor if AVX is available.
16321
8c297311
UD
163222011-05-31 Ulrich Drepper <drepper@gmail.com>
16323
16324 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16325 typo.
16326
c8fc0c91
UD
163272011-05-31 Andreas Schwab <schwab@redhat.com>
16328
16329 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16330 memory. Use alloca_account. Fix memory leak when retrying.
16331
5b27a807
UD
163322011-05-31 Ulrich Drepper <drepper@gmail.com>
16333
356f8bc6
UD
16334 * version.h (RELEASE): Bump for 2.14 release.
16335 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16336
5b27a807
UD
16337 * config.make.in (RANLIB): Remove entry.
16338
01f16ab0
UD
163392011-05-30 Ulrich Drepper <drepper@gmail.com>
16340
41fce8bd
UD
16341 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16342 (libc.pot): Work around missing support for .ksh extension in xgettext.
16343
4769ae77
UD
16344 [BZ #12684]
16345 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16346 if both request failed.
16347 (send_dg): In case of server errors clear resplen or *resplen2.
16348
6b1e7d19
UD
16349 [BZ #12454]
16350 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16351 when there are multiple maps.
16352 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16353 (_dl_fini): Remove test here.
16354
01f16ab0
UD
16355 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16356
b1ebd700
UD
163572011-05-29 Ulrich Drepper <drepper@gmail.com>
16358
7ae22829
UD
16359 [BZ #12350]
16360 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16361 bit from old_res_options.
16362 (gaih_inet): Likewise.
16363
553149f6 16364 [BZ #11099]
18a84741 16365 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
16366 as signed.
16367
652ffab1
UD
16368 * resolv/res_init.c (res_setoptions): Make the code more compact.
16369
16985fd0
UD
16370 [BZ #11558]
16371 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16372 set RES_USEVC.
16373
0464f746
UD
16374 [BZ #11634]
16375 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16376
7d17596c
UD
16377 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16378
cf6bbbd7
UD
16379 [BZ #11781]
16380 * malloc/malloc.h: Declare malloc hook variables as volatile.
16381
13f1ab36
UD
16382 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16383 in last patch.
16384
b1ebd700
UD
16385 [BZ #11799]
16386 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 16387 raise in the comment.
80e2212d
UD
16388 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16389 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16390 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 16391
ce67228d
UD
163922011-05-28 Ulrich Drepper <drepper@gmail.com>
16393
8887a920
UD
16394 [BZ #12811]
16395 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16396 grow the buffers more if it already has to be sufficient.
16397 (build_wcs_upper_buffer): Likewise.
16398 * posix/regexec.c (check_matching): Likewise.
16399 (clean_state_log_if_needed): Likewise.
16400 (extend_buffers): Don't enlarge buffers beyond size of the input
16401 buffer.
16402 Patches mostly by Emil Wojak <emil@wojak.eu>.
16403 * posix/bug-regex32.c: New file.
16404 * posix/Makefile (tests): Add bug-regex32.
16405
4f031072
UD
16406 * locale/findlocale.c (_nl_find_locale): Return right away if
16407 _nl_explode_name failed.
16408 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16409
d0478f0c
UD
16410 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16411
de81b246
UD
16412 * debug/xtrace.sh: Unify messages.
16413 * malloc/memusage.sh: Likewise.
16414
c738465a
UD
16415 [BZ #12813]
16416 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16417 time symbol from vDSO. Substitute with vsyscall if not available.
16418 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16419 __vdso_time.
16420
f1f929d7
UD
16421 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16422 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16423 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16424 Add sendmmsg and internal_sendmmsg.
16425 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16426 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16427 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16428
ce67228d
UD
16429 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16430 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16431 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16432
e57420c6
UD
164332011-05-27 Ulrich Drepper <drepper@gmail.com>
16434
a8509ca5
UD
16435 [BZ #12813]
16436 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16437 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16438 available.
16439 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16440 __vdso_getcpu.
16441
e57420c6
UD
16442 [BZ #12814]
16443 * iconvdata/Makefile (tests): Add bug-iconv9.
16444 * iconvdata/bug-iconv9.c: New file.
16445
4d07db15
AS
164462011-05-27 Andreas Schwab <schwab@redhat.com>
16447
16448 [BZ #12814]
16449 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16450
ea486f69
JJ
164512011-05-25 Jakub Jelinek <jakub@redhat.com>
16452
16453 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16454 (struct user_regs_struct): Change intcs field back to cs.
16455
6f038433
UD
164562011-05-25 Ulrich Drepper <drepper@gmail.com>
16457
16458 * po/ja.po: Update from translation team.
16459
67f86a25
UD
164602011-05-23 Ulrich Drepper <drepper@gmail.com>
16461
16462 [BZ #12795]
16463 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16464 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16465
def7fbd6
AS
164662011-05-20 Andreas Schwab <schwab@redhat.com>
16467
16468 * stdlib/longlong.h: Update from GCC.
16469
f50ef8f1
AS
164702011-05-23 Andreas Schwab <schwab@redhat.com>
16471
16472 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16473 parameter name.
16474 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16475 Add parameter name.
16476 (__sysconf): Pass it down.
16477
de7ce8f1
UD
164782011-05-22 Ulrich Drepper <drepper@gmail.com>
16479
f2962a71
UD
16480 [BZ #12671]
16481 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16482 some situations.
16483 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16484 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16485 add in in __libc_use_alloca calls. Adjust callers.
16486 (glob): Use malloc in some situations.
16487
de7ce8f1
UD
16488 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16489 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16490 pltexit.
16491
aec84f53
UD
164922011-05-21 Ulrich Drepper <drepper@gmail.com>
16493
05bb4a68
UD
16494 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16495 and CLOCK_BOOTTIME_ALARM.
16496
7ea72f99
UD
16497 [BZ #12782]
16498 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16499 is returned.
16500
7e4afad5
UD
16501 * string/_strerror.c (__strerror_r): Print negative errors as signed
16502 numbers.
16503
8e211fec
UD
16504 [BZ #12777]
16505 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16506 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16507 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16508
f7d82dc9
UD
16509 * configure.in: Fix typo in redirection and correct removal of test
16510 files in two cases.
16511
cc9e536d
UD
16512 [BZ #12788]
16513 * locale/setlocale.c (new_composite_name): Fix test to check for
16514 identical name of all categories.
16515
aec84f53
UD
16516 [BZ #12792]
16517 * libio/filedoalloc.c (local_isatty): New function.
16518 (_IO_file_doallocate): Use local_isatty.
16519 * stdio-common/perror.c (perror): In case a new stream is used
16520 forward the stream error.
16521 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16522 error flag.
16523
78e64fdc
RT
165242011-05-20 Ulrich Drepper <drepper@gmail.com>
16525
34a9094f
UD
16526 [BZ #11869]
16527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16528 alloca.
16529 * include/alloca.h (extend_alloca_account): Define.
16530
78e64fdc
RT
16531 [BZ #11857]
16532 * posix/regex.h: Fix comments with documentation of user-accessible
16533 fields after compilation and describe correct free'ing of pattern
16534 after re_compile_pattern.
16535 Patch by Reuben Thomas <rrt@sc3d.org>.
16536
457bddfc
RA
165372011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16538
16539 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16540 and -mno-altivec to prevent the compiler from using Altivec and/or
16541 VSX instructions when the corresponding registers are not available.
16542
a4527b51
AS
165432011-05-19 Andreas Schwab <schwab@redhat.com>
16544
16545 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16546
ed690b2f
UD
165472011-05-19 Ulrich Drepper <drepper@gmail.com>
16548
16549 * libio/freopen.c (freopen): Use __dup2, not dup2.
16550 * libio/freopen64.c (freopen64): Likewise.
16551
8db73634
L
165522011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16553
16554 [BZ #12775]
16555 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16556 * math/Makefile (tests): Add test-powl.
16557 (CFLAGS-test-powl.c): Define.
16558 * math/test-powl.c: New file.
16559
0a197a9d
L
165602011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16561
16562 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16563
ee30c380
UD
165642011-05-17 Ulrich Drepper <drepper@gmail.com>
16565
16566 [BZ #11837]
16567 * iconvdata/gb18030.c: Update to GB18020-2005.
16568
6ce75379
UD
165692011-05-16 Ulrich Drepper <drepper@gmail.com>
16570
a4b89fd8
AR
16571 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16572 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16573 Patch by Aharon Robbins <arnold@skeeve.com>.
16574
ea389b12
UD
16575 [BZ #11892]
16576 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16577 on the stack.
16578
68a3f91f
UD
16579 [BZ #11895]
16580 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16581 through underflows.
16582
15cc7dd1
UD
16583 [BZ #12766]
16584 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16585 point to strings before performing equality test for error_one_per_line
16586 mode.
16587
f3799213
UD
16588 [BZ #11697]
16589 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16590
d79a9c94
UD
16591 [BZ #11820]
16592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16593 (struct user_fpregs_struct): Avoid __uint*_t types.
16594
56e5eb46
UD
16595 [BZ #6420]
16596 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16597 symbol info. Use it instead of calling _dl_addr locally.
16598 (lock_and_info): New function.
16599 (tr_freehook): Call lock_and_info and pass symbol info as additional
16600 parameter to tr_where.
16601 (tr_mallochook): Likewise.
16602 (tr_reallochook): Likewise.
16603 (tr_memalignhook): Likewise.
16604
6ce75379
UD
16605 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16606 used and couldn't be at all thread-safe.
16607
f8a3b5bf
UD
166082011-05-15 Ulrich Drepper <drepper@gmail.com>
16609
94b7cc37
UD
16610 * libio/freopen.c (freopen): Don't close old file descriptor
16611 before the new one is opened. Instead dup the new file descriptor
16612 to the old one after the new stream is created.
16613 * libio/freopen64.c (freopen64): Likewise.
16614 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16615 * libio/fileops.c (_IO_new_file_close_it): Handle new
16616 _IO_FLAGS2_NOCLOSE flag.
16617 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16618 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16619 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16620 _IO_FLAGS2_NOCLOSE flag.
16621 * include/unistd.h: Add hidden_proto for dup3.
16622 Define __have_dup3.
16623 * io/dup3.c: Define hidden symbol.
16624 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16625
bd25564e
UD
16626 [BZ #7101]
16627 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16628 when an incomplete long option is used.
16629 * posix/tst-getopt_long1.c: New file.
16630 * posix/Makefile (tests): Add tst-getopt_long1.
16631
c84cfef4
UD
16632 [BZ #10138]
16633 * scripts/config.guess: Update from autoconf-2.68.
16634 * scripts/config.sub: Likewise.
16635
3b85df27
UD
16636 [BZ #10157]
16637 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16638 tests into ...
16639 (has_cpuclock): ...this. New function.
16640 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16641 macro here based on has_cpuclock code.
16642
15a856b1
UD
16643 [BZ #10149]
16644 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16645 First byte (not low byte) is now always NUL.
16646 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16647
05f399e6
UD
16648 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16649 Use non-cancelable interfaces.
16650
10a52685 16651 [BZ #9809]
94ecc67d
UD
16652 * locale/iso-639.def: Add entry for Sorani.
16653
f8a3b5bf
UD
16654 [BZ #11901]
16655 * include/stdlib.h: Move include protection to the right place.
16656 Define abort_msg_s. Declare __abort_msg with it.
16657 * stdlib/abort.c (__abort_msg): Adjust type.
16658 * assert/assert.c (__assert_fail_base): New function. Majority
16659 of code from __assert_fail. Allocate memory for __abort_msg with
16660 mmap.
16661 (__assert_fail): Now call __assert_fail_base.
16662 * assert/assert-perr.c: Remove bulk of implementation. Use
16663 __assert_fail_base.
16664 * include/assert.hL Declare __assert_fail_base.
16665 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16666 mmap.
16667 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16668
1af4e298
UD
166692011-05-14 Ulrich Drepper <drepper@gmail.com>
16670
f8a3b5bf 16671 [BZ #11952]
d26dfc60
MG
16672 [BZ #12453]
16673 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16674 until all modules are registered in the DTV.
16675 * elf/Makefile: Add rules to build and run tst-tls19.
16676 * elf/tst-tls19.c: New file.
16677 * elf/tst-tls19mod1.c: New file.
16678 * elf/tst-tls19mod2.c: New file.
16679 * elf/tst-tls19mod3.c: New file.
16680 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16681
2fc54d6f
UD
16682 [BZ #12083]
16683 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16684 correctly.
16685
98d76b46
UD
16686 [BZ #12601]
16687 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16688 two-byte sequence errors.
16689 * iconvdata/Makefile (tests): Add bug-iconv8.
16690 * iconvdata/bug-iconv8.c: New file.
16691
da3c19ef
UD
16692 [BZ #12626]
16693 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16694 buf2 definition.
16695
ca408c15
UD
16696 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16697
d6f67f7d
UD
16698 [BZ #12432]
16699 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16700 (dummy_getcfa): New function.
16701 (init): Get _Unwind_GetCFA address, use dummy if not found.
16702 (backtrace_helper): In recursion check, also check whether CFA changes.
16703 (__backtrace): Completely initialize arg.
16704
1af4e298 16705 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
16706 storing incomplete byte sequence in state object. Avoid testing for
16707 guaranteed too small input if we know there is enough data available.
1af4e298 16708
da62f81b
AS
167092011-05-11 Andreas Schwab <schwab@redhat.com>
16710
16711 * Makeconfig (+link-pie): Indent.
16712 * Rules (binaries-pie): Define if $(have-fpie) and
16713 $(build-shared).
16714 (binaries-shared): Also filter out $(binaries-pie).
16715 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16716 * nscd/Makefile (others-pie): Add nscd.
16717 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16718 ($(objpfx)nscd): Remove command override.
16719 * login/Makefile (others-pie): Add pt_chown.
16720 ($(objpfx)pt_chown): Remove command override.
16721 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16722 remove command overrides.
16723
fcabc0f8
UD
167242011-05-13 Ulrich Drepper <drepper@gmail.com>
16725
20030ae6
UD
16726 * libio/tst_putwc.c: Fix error messages.
16727
fcabc0f8
UD
16728 [BZ #12724]
16729 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16730 currently writing and seek to current position when not.
16731 * libio/Makefile (tests): Add bug-fclose1.
16732 * libio/bug-fclose1.c: New file.
16733
320a5dc0
PB
167342011-05-12 Ulrich Drepper <drepper@gmail.com>
16735
16736 [BZ #12511]
16737 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16738 don't set DF_1_NODELETE here.
16739 (do_lookup_x): When entering new entry test for copy relocation
16740 and if necessary set DF_1_NODELETE flag.
16741 * elf/tst-unique4.cc: New file.
16742 * elf/tst-unique4.h: New file.
16743 * elf/tst-unique4lib.cc: New file.
16744 * elf/Makefile: Add rules to build and run tst-unique4.
16745 Patch by Piotr Bury <pbury@goahead.com>.
16746
22836f52
UD
167472011-05-11 Ulrich Drepper <drepper@gmail.com>
16748
f574184a
UD
16749 [BZ #12052]
16750 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16751
e1fb097f
UD
16752 [BZ #12625]
16753 * misc/mntent_r.c (addmntent): Flush the stream after the output
16754
22836f52
UD
16755 [BZ #12393]
16756 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16757 (is_trusted_path_normalize): Skip initial colon. Append slash
16758 to empty buffer. Duplicate is_trusted_path code but allow
16759 constructed patch to be prefix.
16760 (is_dst): Allow $ORIGIN followed by /.
16761 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16762 Correct testing of result of is_trusted_path_normalize
16763 (decompose_rpath): Fix warning.
16764
7b3b0b2a
UD
167652011-05-10 Ulrich Drepper <drepper@gmail.com>
16766
16767 [BZ #11257]
16768 * grp/initgroups.c (internal_getgrouplist): When we found the service
16769 list through the initgroups entry in nsswitch.conf do not always
16770 continue on a successful lookup. Don't always use the
eac80ce2 16771 __nss_group_database value if it is set.
7b3b0b2a
UD
16772 * nss/nsswitch.conf (initgroups): Change action for successful db
16773 lookup to continue for compatibility.
16774
2a81eaa5
UD
167752011-05-09 Ulrich Drepper <drepper@gmail.com>
16776
be97a69e
UD
16777 [BZ #11532]
16778 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16779 and CP774 modules.
16780 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16781 and CP774 modules.
16782 * iconvdata/tst-tables.sh: Likewise.
16783 * iconvdata/cp770.c: New file.
16784 * iconvdata/cp771.c: New file.
16785 * iconvdata/cp772.c: New file.
16786 * iconvdata/cp773.c: New file.
16787 * iconvdata/cp774.c: New file.
16788 * iconvdata/testdata/CP770: New file.
16789 * iconvdata/testdata/CP770..UTF8: New file.
16790 * iconvdata/testdata/CP771: New file.
16791 * iconvdata/testdata/CP771..UTF8: New file.
16792 * iconvdata/testdata/CP772: New file.
16793 * iconvdata/testdata/CP772..UTF8: New file.
16794 * iconvdata/testdata/CP773: New file.
16795 * iconvdata/testdata/CP773..UTF8: New file.
16796 * iconvdata/testdata/CP774: New file.
16797 * iconvdata/testdata/CP774..UTF8: New file.
16798
16799 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16800 END CHARMAP line.
16801 * iconvdata/gen-8bit-gap.sh: Likewise.
16802 * iconvdata/gen-8bit.sh: Likewise.
16803
c1e9e399
UD
16804 * locale/iso-639.def: Add ary entry.
16805
24c55fb3 16806 [BZ #11258]
96b4b1b0
UD
16807 * locale/C-translit.h.in: Add U20A1 transliteration.
16808
bdc2f971
KB
16809 [BZ #12178]
16810 * locale/iso-639.def: Add wae entry.
16811 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16812
2952b117
UD
16813 [BZ #12545]
16814 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16815 for n.
16816
2a81eaa5
UD
16817 [BZ #12711]
16818 * locale/C-translit.h.in: Add entry for U20B9.
16819 Patch by pravin.d.s@gmail.com.
16820
28377d1b
UD
168212011-05-08 Ulrich Drepper <drepper@gmail.com>
16822
7fb90fb8
UD
16823 [BZ #12713]
16824 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16825 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
16826 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16827 in rtld. Use *stat64.
7fb90fb8 16828 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 16829 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 16830 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
16831 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16832 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16833 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16834 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16835 __fstatat64 macros.
7fb90fb8
UD
16836 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16837 * dirent/rewinddir.c: Add libc_hidden_def.
16838 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 16839 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 16840
28377d1b
UD
16841 * include/dirent.h (__alloc_dir): Add flags parameter.
16842 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16843 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16844 __alloc_dir.
16845 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16846 from fdopendir if O_CLOEXEC is already set.
16847
66bdbaa4
AM
168482011-03-15 Alan Modra <amodra@gmail.com>
16849
16850 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16851 l_tls_firstbyte_offset non-zero. Save padding offset in
16852 l_tls_firstbyte_offset for later use.
16853 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16854 freeing static tls block.
16855
95721191
JN
168562011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16857
16858 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16859 where #ifdef was intended. The intent is to prevent ARG_MAX from
16860 being defined by the kernel headers.
16861
f87dfb1f
UD
168622011-05-07 Ulrich Drepper <drepper@gmail.com>
16863
16864 [BZ #12734]
16865 * resolv/resolv.h: Define RES_NOTLDQUERY.
16866 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16867 no-tld-query and set RES_NOTLDQUERY.
16868 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16869 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16870 modern BIND to search name as TLD unless forbidden.
16871
47c3cd7a
UD
168722011-05-07 Petr Baudis <pasky@suse.cz>
16873 Ulrich Drepper <drepper@gmail.com>
16874
16875 [BZ #12393]
16876 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16877 (is_trusted_path): ...to here.
c1e9ea35 16878 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 16879 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 16880 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 16881
8a35c912
PP
168822011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16883
16884 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16885 __BEGIN/__END_DECLS.
16886
acd41f47
UD
168872011-05-06 Ulrich Drepper <drepper@gmail.com>
16888
16889 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16890 NSS_STATUS_NOTFOUND if no record was found.
16891
597df647
AS
168922011-05-05 Andreas Schwab <schwab@redhat.com>
16893
16894 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16895 (headers-not-in-tirpc): Remove rpc/netdb.h
16896 * resolv/netdb.h: Revert last change.
16897
b9af1301
PP
168982011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16899
16900 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16901 circular dependency between libgcc.a and libc.a.
16902
4e34d5f5
AS
169032011-05-05 Andreas Schwab <schwab@redhat.com>
16904
16905 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16906 * nis/Makefile: Don't install rpcsvc/*.
16907 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16908 instead of <rpc/types.h>.
16909 (MAXHOSTNAMELEN): Define.
16910
00ee369c
AS
169112011-05-03 Andreas Schwab <schwab@redhat.com>
16912
16913 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16914
0b592a30
MB
169152011-04-28 Maciej Babinski <mbabinski@google.com>
16916
16917 [BZ #12714]
16918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16919 gethostbyname4_r when IPv6 results are possible.
16920
6e04cbbe
UD
169212011-05-02 Ulrich Drepper <drepper@gmail.com>
16922
16923 [BZ #12723]
16924 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16925 _PC_PIPE_BUF handling.
16926
e4ecafe0
BH
169272011-04-30 Bruno Haible <bruno@clisp.org>
16928
16929 [BZ #12717]
16930 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16931 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16932 to 'int'.
16933 * inet/getnameinfo.c (getnameinfo): Likewise.
16934
125ee683
UD
169352011-04-29 Ulrich Drepper <drepper@gmail.com>
16936
16937 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16938 to groups setting in database lookup.
16939 * nss/nsswitch.conf: Add initgroups entry.
16940
b722481a
EB
169412011-04-22 Ulrich Drepper <drepper@gmail.com>
16942
16943 [BZ #12685]
16944 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16945 mode string.
16946 Patch by Eric Blake <eblake@redhat.com>.
16947
4df46dbd
L
169482011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16949
16950 * sunrpc/Makefile (need-export-routines): Add svc_run.
16951 (routines): Remove svc_run.
16952 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16953 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16954 * sunrpc/svc_run.c (svc_run): Likewise.
16955 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16956
e84142d2
UD
169572011-04-21 Ulrich Drepper <drepper@gmail.com>
16958
16959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16960 problem in reallocation in last patch.
16961
877175d8
UD
169622011-04-20 Ulrich Drepper <drepper@gmail.com>
16963
16964 * sunrpc/Makefile: Move inclusion of Rules.
16965
ab8eed78
UD
169662011-04-19 Ulrich Drepper <drepper@gmail.com>
16967
16968 * nss/nss_files/files-initgroups.c: New file.
16969 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16970 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16971 _nss_files_initgroups_dyn.
16972
e3d8f584
RS
169732011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16974
16975 * elf/elf.h (R_ARM_IRELATIVE): Define.
16976
af190f45
UD
169772011-04-19 Ulrich Drepper <drepper@gmail.com>
16978
16979 * po/ru.po: Update from translation team.
16980
53cf59ef
UD
169812011-04-17 Ulrich Drepper <drepper@gmail.com>
16982
16983 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16984 dependencies.
16985
4c559bcd
MF
169862011-02-06 Mike Frysinger <vapier@gentoo.org>
16987
16988 [BZ #12653]
16989 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16990 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16991 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16992 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16994
4420675c
AS
169952011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16996
16997 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16998 differing bytes.
16999 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17000 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17001 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17002
75ea32ab
UD
170032011-04-17 Ulrich Drepper <drepper@gmail.com>
17004
17005 [BZ #12420]
17006 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
17007 storing it.
17008 * stdlib/bug-getcontext.c: New file.
17009 * stdlib/Makefile: Add rules to build and run bug-getcontext.
17010
27390476
AK
170112011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17012
17013 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
17014 instructions into .machine "z9-109".
17015 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17016 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17017
10442705
AK
170182011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17019
17020 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
17021 between environment variables and auxiliary vector.
17022
7b57bfe5
UD
170232011-04-16 Ulrich Drepper <drepper@gmail.com>
17024
17025 * Makefile: Add rules to build linkobj/libc.so.
17026 * include/libc-symbols.h: Define libc_hidden_nolink.
17027 * include/rpc/auth.h: Mark functions which are to be hidden.
17028 * include/rpc/auth_des.h: Likewise.
17029 * include/rpc/auth_unix.h: Likewise.
17030 * include/rpc/clnt.h: Likewise.
17031 * include/rpc/des_crypt.h: Likewise.
17032 * include/rpc/key_prot.h: Likewise.
17033 * include/rpc/pmap_clnt.h: Likewise.
17034 * include/rpc/pmap_prot.h: Likewise.
17035 * include/rpc/pmap_rmt.h: Likewise.
17036 * include/rpc/rpc_msg.h: Likewise.
17037 * include/rpc/svc.h: Likewise.
17038 * include/rpc/svc_auth.h: Likewise.
17039 * include/rpc/xdr.h: Likewise.
17040 * nis/Makefile: Link all DSOs against linkobj/libc.so.
17041 * nss/Makefile: Likewise.
17042 * sunrpc/Makefile: Don't install headers. Build library with normal
17043 entry points. Don't build rpcinfo. Link RPC tests appropriately.
17044 * sunrpc/auth_des.c: Hide exported symbols by default, export some
17045 for the compat linking library. Remove use of INTDEF/INTUSE.
17046 * sunrpc/auth_none.c: Likewise.
17047 * sunrpc/auth_unix.c: Likewise.
17048 * sunrpc/authdes_prot.c: Likewise.
17049 * sunrpc/authuxprot.c: Likewise.
17050 * sunrpc/clnt_gen.c: Likewise.
17051 * sunrpc/clnt_perr.c: Likewise.
17052 * sunrpc/clnt_raw.c: Likewise.
17053 * sunrpc/clnt_simp.c: Likewise.
17054 * sunrpc/clnt_tcp.c: Likewise.
17055 * sunrpc/clnt_udp.c: Likewise.
17056 * sunrpc/clnt_unix.c: Likewise.
17057 * sunrpc/des_crypt.c: Likewise.
17058 * sunrpc/des_soft.c: Likewise.
17059 * sunrpc/get_myaddr.c: Likewise.
17060 * sunrpc/key_call.c: Likewise.
17061 * sunrpc/key_prot.c: Likewise.
17062 * sunrpc/netname.c: Likewise.
17063 * sunrpc/pm_getmaps.c: Likewise.
17064 * sunrpc/pm_getport.c: Likewise.
17065 * sunrpc/pmap_clnt.c: Likewise.
17066 * sunrpc/pmap_prot.c: Likewise.
17067 * sunrpc/pmap_prot2.c: Likewise.
17068 * sunrpc/pmap_rmt.c: Likewise.
17069 * sunrpc/publickey.c: Likewise.
17070 * sunrpc/rpc_cmsg.c: Likewise.
17071 * sunrpc/rpc_common.c: Likewise.
17072 * sunrpc/rpc_dtable.c: Likewise.
17073 * sunrpc/rpc_prot.c: Likewise.
17074 * sunrpc/rpc_thread.c: Likewise.
17075 * sunrpc/rtime.c: Likewise.
17076 * sunrpc/svc.c: Likewise.
17077 * sunrpc/svc_auth.c: Likewise.
17078 * sunrpc/svc_authux.c: Likewise.
17079 * sunrpc/svc_raw.c: Likewise.
17080 * sunrpc/svc_run.c: Likewise.
17081 * sunrpc/svc_simple.c: Likewise.
17082 * sunrpc/svc_tcp.c: Likewise.
17083 * sunrpc/svc_udp.c: Likewise.
17084 * sunrpc/svc_unix.c: Likewise.
17085 * sunrpc/svcauth_des.c: Likewise.
17086 * sunrpc/xcrypt.c: Likewise.
17087 * sunrpc/xdr.c: Likewise.
17088 * sunrpc/xdr_array.c: Likewise.
17089 * sunrpc/xdr_float.c: Likewise.
17090 * sunrpc/xdr_intXX_t.c: Likewise.
17091 * sunrpc/xdr_mem.c: Likewise.
17092 * sunrpc/xdr_rec.c: Likewise.
17093 * sunrpc/xdr_ref.c: Likewise.
17094 * sunrpc/xdr_sizeof.c: Likewise.
17095 * sunrpc/xdr_stdio.c: Likewise.
17096
e6c61494
UD
170972011-04-10 Ulrich Drepper <drepper@gmail.com>
17098
17099 [BZ #12650]
17100 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
17101 * sysdeps/ia64/dl-tls.h: Likewise.
17102 * sysdeps/powerpc/dl-tls.h: Likewise.
17103 * sysdeps/s390/dl-tls.h: Likewise.
17104 * sysdeps/sh/dl-tls.h: Likewise.
17105 * sysdeps/sparc/dl-tls.h: Likewise.
17106 * sysdeps/x86_64/dl-tls.h: Likewise.
17107 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
17108
34fe483e
AS
171092011-03-14 Andreas Schwab <schwab@redhat.com>
17110
17111 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
17112 rpath element also skip the following colon.
17113 (expand_dynamic_string_token): Add is_path parameter and pass
17114 down to DL_DST_REQUIRED and _dl_dst_substitute.
17115 (decompose_rpath): Call expand_dynamic_string_token with
17116 non-zero is_path. Ignore empty rpaths.
17117 (_dl_map_object_from_fd): Call expand_dynamic_string_token
17118 with zero is_path.
17119
f12a32e6
AS
171202011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17121
17122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17123 Make cancelable.
17124
38a7d692
UD
171252011-04-09 Ulrich Drepper <drepper@gmail.com>
17126
17127 [BZ #12655]
17128 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17129 Patch by Filipe David Manana <fdmanana@apache.org>.
17130
e451d22b
AS
171312011-04-07 Andreas Schwab <schwab@redhat.com>
17132
17133 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17134 Maintain aligned stack.
17135 (CHECK_RSP): Remove unused macro.
17136
dedc7c7b
UD
171372011-04-03 Ulrich Drepper <drepper@gmail.com>
17138
17139 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17140 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17141
94521213
UD
171422011-04-02 Ulrich Drepper <drepper@gmail.com>
17143
17144 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17145
8cb700c0 17146 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 17147
0354e355
L
171482011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17149
17150 [BZ #12518]
17151 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17152 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17153 * sysdeps/x86_64/memmove.c: New file.
17154 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17155 (memcpy): Renamed to ...
17156 (__new_memcpy): This.
17157 (memcpy): Provide GLIBC_2_14 memcpy.
17158 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17159 (memcpy): Provide GLIBC_2_2_5 memcpy.
17160
8593482f
UD
171612011-04-01 Ulrich Drepper <drepper@gmail.com>
17162
17163 [BZ #12631]
17164 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17165
81a5726b
AS
171662011-03-30 Andreas Schwab <schwab@redhat.com>
17167
17168 * misc/syncfs.c: New file.
17169 * misc/Makefile (routines): Add syncfs.
17170 * posix/unistd.h: Declare syncfs.
17171 * sysdeps/unix/syscalls.list: Add syncfs.
17172
00e5419f
AS
171732011-04-01 Andreas Schwab <schwab@redhat.com>
17174
17175 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17176 open_by_handle_at.
17177 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17178 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17180 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17182 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17184
748876bf
UD
171852011-04-01 Ulrich Drepper <drepper@gmail.com>
17186
658e451d
UD
17187 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17188 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17189 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17191 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17193 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17194
748876bf
UD
17195 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17196 sync_file_range.c with -fexceptions.
17197 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17198 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17199 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17200 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17201 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17202 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17203 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
17204 sync_file_range as cancellation point
17205 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17206 now a wrapper around __call_sync_file_range with cancellation handling.
17207 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17208 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17209 function name to __call_sync_file_range.
17210 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17211 Add call_sync_file_range.
748876bf 17212
6e63d5e1
AS
172132011-04-01 Andreas Schwab <schwab@redhat.com>
17214
17215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 17216 bits/timex.h.
6e63d5e1 17217
46998f74
UD
172182011-04-01 Ulrich Drepper <drepper@gmail.com>
17219
4c1423ed
UD
17220 * iconv/iconv.h: Fix typo in comment.
17221 * io/fcntl.h: Likewise.
17222 * libio/stdio.h: Likewise.
17223 * posix/spawn.h: Likewise.
17224 * posix/unistd.h: Likewise.
17225 * stdlib/stdlib.h: Likewise.
17226 * time/time.h: Likewise.
17227 * wcsmbs/wchar.h: Likewise.
17228
158648c0
UD
17229 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17230 open_by_handle): Add.
17231 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17232 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17233 Augment a few comments.
17234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17236 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17238 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17239 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17240 open_by_handle.
17241
46998f74
UD
17242 * io/fcntl.h (AT_EMPTY_PATH): Define.
17243
83fe108b
UD
172442011-03-30 Ulrich Drepper <drepper@gmail.com>
17245
17246 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17247 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17248 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17249 to...
17250 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
17251 * Versions.def: Add GLIBC_2.14.
17252 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17253 Export.
83fe108b 17254
bb242059
UD
172552011-03-22 Ulrich Drepper <drepper@gmail.com>
17256
17257 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17258 round counter.
17259 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17260
c97a1282
L
172612011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17262
17263 [BZ #12597]
17264 * string/test-strncmp.c (do_page_test): New function.
17265 (check2): Likewise.
17266 (test_main): Call check2.
17267 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17268
2a115601
UD
172692011-03-20 Ulrich Drepper <drepper@gmail.com>
17270
17271 [BZ #12587]
17272 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17273 Handle cache information in CPU leaf 4.
17274 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17275
8126d904
UD
172762011-03-18 Ulrich Drepper <drepper@gmail.com>
17277
042c49c6 17278 [BZ #12583]
8126d904
UD
17279 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17280 character representation.
17281 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17282
ccfe366e
RA
172832011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17284
17285 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17286 END(__isnan) to END(__isnanf) to match function entry point/label
17287 EALIGN(__isnanf,...).
17288
c6e13027
JJ
172892011-03-10 Jakub Jelinek <jakub@redhat.com>
17290
17291 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17292
33f85a3f
UD
172932011-03-10 Ulrich Drepper <drepper@gmail.com>
17294
028478fa
UD
17295 [BZ #12510]
17296 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17297 copy from the symbol referenced in the relocation to initialize the
17298 used variable.
17299 Patch by Piotr Bury <pbury@goahead.com>.
17300 * elf/Makefile: Add rules to build and tst-unique3.
17301 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17302 * elf/tst-unique3.cc: New file.
17303 * elf/tst-unique3.h: New file.
17304 * elf/tst-unique3lib.cc: New file.
17305 * elf/tst-unique3lib2.cc: New file.
17306
33f85a3f
UD
17307 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17308
03592fc7
MF
173092011-03-10 Mike Frysinger <vapier@gentoo.org>
17310
17311 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17312 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17313 to _start.
03592fc7 17314
6a5ee102
UD
173152011-03-06 Ulrich Drepper <drepper@gmail.com>
17316
17317 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17318 to-be-loaded object along a path to loader is ld.so.
17319
7e4ba49c
HJ
173202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17321 Ulrich Drepper <drepper@gmail.com>
17322
17323 * sysdeps/x86_64/memset.S: After aligning destination, code
17324 branches to different locations depending on the value of
17325 misalignment, when multiarch is enabled. Fix this.
17326
173272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17328
17329 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17330 Set _x86_64_preferred_memory_instruction for AMD processsors.
17331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17332 Set bit_Prefer_SSE_for_memop for AMD processors.
17333
13a804de
UD
173342011-03-04 Ulrich Drepper <drepper@gmail.com>
17335
17336 * libio/fmemopen.c (fmemopen): Optimize a bit.
17337
9d25c392
AS
173382011-03-03 Andreas Schwab <schwab@redhat.com>
17339
17340 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17341
a5543c6a
RM
173422011-03-03 Roland McGrath <roland@redhat.com>
17343
17344 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17345
012d35f7
DM
173462011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17347
7e4ba49c 17348 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
17349 __bzero_ultra1 instead of __memset_ultra1.
17350
4bff6e01
AS
173512011-02-23 Andreas Schwab <schwab@redhat.com>
17352 Ulrich Drepper <drepper@gmail.com>
17353
17354 [BZ #12509]
17355 * include/link.h (struct link_map): Add l_orig_initfini.
17356 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17357 returning unsuccessfully.
17358 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17359 close of a file loaded at startup, restore the original l_initfini
17360 list.
17361 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17362 list, store the pointer.
17363 * elf/Makefile ($(objpfx)noload-mem): New rule.
17364 (noload-ENV): Define.
17365 (tests): Add $(objpfx)noload-mem.
17366 * elf/noload.c: Include <memcheck.h>.
17367 (main): Call mtrace. Close all opened handles.
17368
f2092faf
AS
173692011-02-17 Andreas Schwab <schwab@redhat.com>
17370
17371 [BZ #12454]
17372 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17373 dependencies are missing.
17374
6c8a2e88
ST
173752011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17376
f2092faf 17377 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
17378 Hurd needs munmap.
17379 * sysdeps/mach/hurd/ifreq.h: New file.
17380
84a42118
PB
173812011-01-27 Petr Baudis <pasky@suse.cz>
17382 Ulrich Drepper <drepper@gmail.com>
17383
071f805e 17384 [BZ 12445]#
84a42118
PB
17385 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17386 to extend_alloca().
17387 * stdio-common/bug23.c: New file.
17388 * stdio-common/Makefile (tests): Add bug23.
17389
e23fe25b
AS
173902010-09-28 Andreas Schwab <schwab@redhat.com>
17391 Ulrich Drepper <drepper@gmail.com>
17392
17393 [BZ #12489]
17394 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17395 before performing relro protection. At old place add assertion
17396 to make sure nothing changed.
17397
d3f02e10
NS
173982011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17399 Glauber de Oliveira Costa <glommer@gmail.com>
17400
17401 * elf/elf.h: Add new ARM TLS relocs.
17402
d55fd7a5
RA
174032011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17404
17405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17406 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17407 cast from r3.
17408 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17409 'tests' variable.
17410 * sysdeps/wordsize-64/tst-writev.c: New file.
17411
2206397e
RA
174122011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17413
17414 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17415 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17416 insns in _dl_start to prevent a TOC reference before relocs are
17417 resolved.
17418
e9433893
UD
174192011-02-15 Ulrich Drepper <drepper@gmail.com>
17420
17421 [BZ #12469]
17422 * Makeconfig: Remove RANLIB definition.
17423 * Makerules: Don't use RANLIB.
17424 * aclocal.m4: Remove ranlib test.
17425 * configure.in: No need to check for ranlib.
17426 * elf/rtld-Rules: Don't use RANLIB.
17427
f75286c6
ST
174282011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17429
8e31c82d
ST
17430 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17431 protection macro.
17432 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17433 inclusion protection macro.
17434
f75286c6
ST
17435 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17436 SIGRTMIN and SIGRTMAX and print information in that case only when
17437 SIGRTMIN is defined.
17438
c1d0e639
JJ
174392011-02-11 Jakub Jelinek <jakub@redhat.com>
17440
17441 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17442 arginfo fn returning -1.
17443
17444 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17445 and thousands string is zero terminated.
17446
edf9294e
AS
174472011-02-03 Andreas Schwab <schwab@redhat.com>
17448
17449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17450 sysdeps/unix/sysv/linux/bits/socket.h.
17451
2b7e92df
ST
174522011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17453
edf9294e
AS
17454 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17455 (__CPU_COUNT): Remove old macros.
17456 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17457 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17458 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
17459 (__sched_cpualloc, __sched_cpufree): Add declarations.
17460
a4c7ea7b
UD
174612011-02-05 Ulrich Drepper <drepper@gmail.com>
17462
17463 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17464 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17465 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17466 (readdhstai): Return value of addhstaiX call.
17467 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17468 (addgrbyX): Return value returned by cache_addgr.
17469 (readdgrbyname): Return value returned by addgrbyX.
17470 (readdgrbygid): Likewise.
17471 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17472 (addpwbyX): Return value returned by cache_addpw.
17473 (readdpwbyname): Return value returned by addhstbyX.
17474 (readdpwbyuid): Likewise.
17475 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17476 (addservbyX): Return value returned by cache_addserv.
17477 (readdservbyname): Return value returned by addservbyX:
17478 (readdservbyport): Likewise.
17479 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17480 (addhstbyX): Return value returned by cache_addhst.
17481 (readdhstbyname): Return value returned by addhstbyX.
17482 (readdhstbyaddr): Likewise.
17483 (readdhstbynamev6): Likewise.
17484 (readdhstbyaddrv6): Likewise.
17485 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17486 (readdinitgroups): Return value returned by addinitgroupsX.
17487 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17488 (prune_cache): Keep track of timeout value of re-added entries.
17489 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17490 * nscd/nscd.h: Adjust prototypes of readd* functions.
17491
a0bf67cc
RM
174922011-02-04 Roland McGrath <roland@redhat.com>
17493
17494 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17495 (nis_stats): Likewise.
17496 * nis/nis_modify.c (nis_modify): Likewise.
17497 * nis/nis_remove.c (nis_remove): Likewise.
17498 * nis/nis_add.c (nis_add): Likewise.
17499
17500 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17501
17502 * posix/fnmatch_loop.c: Add some consts.
17503
17504 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17505
435b95eb
L
175062011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17507
17508 [BZ #12460]
17509 * config.make.in (config-cflags-novzeroupper): Define.
17510 * configure.in: Substitute libc_cv_cc_novzeroupper.
17511 * elf/Makefile (AVX-CFLAGS): Define.
17512 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17513 (CFLAGS-tst-auditmod4a.c): Likewise.
17514 (CFLAGS-tst-auditmod4b.c): Likewise.
17515 (CFLAGS-tst-auditmod6b.c): Likewise.
17516 (CFLAGS-tst-auditmod6c.c): Likewise.
17517 (CFLAGS-tst-auditmod7b.c): Likewise.
17518 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17519
8517b15e
UD
175202011-02-02 Ulrich Drepper <drepper@gmail.com>
17521
17522 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17523 function to the callback.
17524 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17525
10a656fe
AS
175262011-02-02 Andreas Schwab <schwab@redhat.com>
17527
17528 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17529 of errno.
17530
968dad0a
UD
175312011-01-19 Ulrich Drepper <drepper@gmail.com>
17532
9f94d2ea 17533 [BZ #11724]
968dad0a
UD
17534 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17535 of constructors.
17536 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17537 of destructors.
17538 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17539
17540 [BZ #11724]
17541 * elf/Makefile: Add rules to build and run new test.
17542 * elf/tst-initorder.c: New file.
17543 * elf/tst-initorder.exp: New file.
17544 * elf/tst-initordera1.c: New file.
17545 * elf/tst-initordera2.c: New file.
17546 * elf/tst-initordera3.c: New file.
17547 * elf/tst-initordera4.c: New file.
17548 * elf/tst-initorderb1.c: New file.
17549 * elf/tst-initorderb2.c: New file.
17550 * elf/tst-order-a1.c: New file.
17551 * elf/tst-order-a2.c: New file.
17552 * elf/tst-order-a3.c: New file.
17553 * elf/tst-order-a4.c: New file.
17554 * elf/tst-order-b1.c: New file.
17555 * elf/tst-order-b2.c: New file.
17556 * elf/tst-order-main.c: New file.
17557 New test case by George Gensure <werkt0@gmail.com>.
17558
86e92359
UD
175592010-10-01 Andreas Schwab <schwab@redhat.com>
17560
17561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17562 decoding ACE if AI_CANONIDN.
17563
5d5732b0
UD
175642011-01-18 Ulrich Drepper <drepper@gmail.com>
17565
17566 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17567
a77e8cbc
UD
175682011-01-17 Ulrich Drepper <drepper@gmail.com>
17569
6392473f
UD
17570 * version.h (RELEASE): Bump for 2.13 release.
17571 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17572
620a0529
UD
17573 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17574
18ba70a5
UD
17575 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17576 MADV_NOHUGEPAGE.
32465c3e
UD
17577 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17578 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17579 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17580 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17581 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17582 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17583
c0dafcf1
UD
17584 * posix/getconf.c: Update copyright year.
17585 * catgets/gencat.c: Likewise.
17586 * csu/version.c: Likewise.
17587 * debug/catchsegv.sh: Likewise.
17588 * debug/xtrace.sh: Likewise.
17589 * elf/ldconfig.c: Likewise.
17590 * elf/ldd.bash.in: Likewise.
17591 * elf/sprof.c (print_version): Likewise.
17592 * iconv/iconv_prog.c: Likewise.
17593 * iconv/iconvconfig.c: Likewise.
17594 * locale/programs/locale.c: Likewise.
17595 * locale/programs/localedef.c: Likewise.
17596 * malloc/memusage.sh: Likewise.
17597 * malloc/mtrace.pl: Likewise.
17598 * nscd/nscd.c (print_version): Likewise.
17599 * nss/getent.c: Likewise.
17600
a77e8cbc
UD
17601 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17602 PF_CAIF, and PF_ALG.
17603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17604
77e8bddf
AS
176052011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17606
1f20b93a
AS
17607 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17608 (modules-names): Use them.
17609 (ifunc-test-modules, ifunc-pie-tests): Define.
17610 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17611 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17612 (test-extras): Likewise.
17613 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17614 $(compile-command.c).
17615 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17616 (all-built-dso): Define.
17617 (check-textrel.out, check-execstack.out): Depend on it.
17618
77e8bddf
AS
17619 * configure.in: Don't override --enable-multi-arch.
17620
bc425b33
UD
176212011-01-15 Ulrich Drepper <drepper@gmail.com>
17622
17623 [BZ #6812]
17624 * nscd/hstcache.c (tryagain): Define.
17625 (cache_addhst): Return tryagain not notfound for temporary errors.
17626 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17627 failed.
17628
794c3ad3
UD
176292011-01-14 Ulrich Drepper <drepper@gmail.com>
17630
70181fdd
UD
17631 [BZ #10563]
17632 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17633 to make the syscall.
17634 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17635
794c3ad3
UD
17636 [BZ #12378]
17637 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17638 and fall back to matching as normal character if the string ends before
17639 the matching ']' is found. This is what POSIX requires.
17640 * posix/testfnm.c: Adjust test result.
17641 * posix/globtest.sh: Adjust test result. Add new test.
17642 * posix/tst-fnmatch.input: Likewise.
17643 * posix/tst-fnmatch2.c: Add new test.
17644
68dc9497
AS
176452010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17646
17647 * elf/Makefile (check-execstack): Revert last change. Depend on
17648 check-execstack.h.
17649 (check-execstack.h): New target.
17650 (generated): Add check-execstack.h.
17651 * elf/check-execstack.c: Include "check-execstack.h".
17652 (main): Revert last change.
17653 (handle_file): Return zero if GNU_STACK is absent and
17654 DEFAULT_STACK_PERMS doesn't include PF_X.
17655
451f001b
UD
176562011-01-13 Ulrich Drepper <drepper@gmail.com>
17657
cfa28e56
UD
17658 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17659 in child fails because the descriptor is already closed.
8cf8ce17
UD
17660 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17661 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17662 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 17663
1086d70d
UD
17664 [BZ #12397]
17665 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17666 syscall.
17667
451f001b
UD
17668 [BZ #10484]
17669 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17670 temporary buffer used to handle multi lookups locally.
a85b5cb4 17671 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 17672
08769175
UD
176732011-01-12 Ulrich Drepper <drepper@gmail.com>
17674
17675 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17676 loader is ld.so.
17677
5e49c52e
UD
176782011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17679
17680 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17681 alignment for SSE2.
17682
60522a5f
UD
176832011-01-12 Ulrich Drepper <drepper@gmail.com>
17684
17685 [BZ #12394]
17686 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17687 characters. When rounding increased number of integer digits recompute
17688 number of groups.
17689 * stdio-common/tst-grouping.c: New file.
17690 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17691
f257bbd7
UD
176922011-01-09 Ulrich Drepper <drepper@gmail.com>
17693
17694 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17695 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17696
17697 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17698 void.
17699 * bits/select.h: Likewise.
17700
fa9c15cb
UD
177012011-01-08 Ulrich Drepper <drepper@gmail.com>
17702
17703 * po/ja.po: Update from translation team.
17704
16c2895f
DM
177052011-01-04 David S. Miller <davem@sunset.davemloft.net>
17706
17707 [BZ #11155]
17708 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17709 implementation just like for lxstat, fxstatat, et al.
17710
2543fef2
JM
177112010-12-27 Jim Meyering <meyering@redhat.com>
17712
17713 [BZ #12348]
17714 * posix/regexec.c (build_trtable): Return failure indication upon
17715 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17716
98727dbe
UD
177172010-12-25 Ulrich Drepper <drepper@gmail.com>
17718
5bd6dc5c
UD
17719 [BZ #12201]
17720 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17721 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17722 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17723 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17724
97983464
UD
17725 [BZ #12207]
17726 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17727
98727dbe
UD
17728 [BZ #12204]
17729 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17730 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17731
4a531bb0
L
177322010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17733
17734 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17735 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17736 script has SORT_BY_INIT_PRIORITY.
17737 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17738 NO_CTORS_DTORS_SECTIONS is defined.
17739 * elf/soinit.c: Likewise.
17740 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17741 NO_CTORS_DTORS_SECTIONS is defined.
17742 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17743 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17744 * sysdeps/sh/init-first.c: Likewise.
17745 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17746
07eb4b71
UD
177472010-12-24 Ulrich Drepper <drepper@gmail.com>
17748
17749 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17750 always use the slow path.
17751
30950a5f
RA
177522010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17753
17754 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17755 similar rule which adds the sysdep directories to the header search in
17756 order to pick up the correct platform stackinfo.h.
17757 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17758 perform test if it is, otherwise return successfully without testing.
17759 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17760 DEFAULT_STACK_PERMS define in stackinfo.h.
17761 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17762 defined in stackinfo.h.
17763 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17764 DEFAULT_STACK_PERMS defined in stackinfo.h.
17765 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17766 * sysdeps/ia64/stackinfo.h: Likewise.
17767 * sysdeps/s390/stackinfo.h: Likewise.
17768 * sysdeps/sh/stackinfo.h: Likewise.
17769 * sysdeps/sparc/stackinfo.h: Likewise.
17770 * sysdeps/x86_64/stackinfo.h: Likewise.
17771 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17772 PF_X for powerpc64. Retain PF_X for powerpc32.
17773
db753e2c
UD
177742010-12-19 Ulrich Drepper <drepper@gmail.com>
17775
14b697f7
UD
17776 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17777 accurately.
db753e2c
UD
17778 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17779 GETDENTS_64BIT_ALIGNED.
17780
28300719
UD
177812010-12-14 Ulrich Drepper <dreper@gmail.com>
17782
14b697f7 17783 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 17784
4f197237
AS
177852010-12-10 Andreas Schwab <schwab@redhat.com>
17786
dbb0472f
AS
17787 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17788 _GNU_SOURCE.
17789
4f197237
AS
17790 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17791 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17792 Remove __restrict.
17793 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17794 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17795
fb88ac72
UD
177962010-12-09 Ulrich Drepper <drepper@gmail.com>
17797
17798 [BZ #11655]
17799 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17800 are initialized.
17801
42acbb92
JJ
178022010-12-09 Jakub Jelinek <jakub@redhat.com>
17803
17804 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17805
c038d98d
UD
178062010-12-03 Ulrich Drepper <drepper@gmail.com>
17807
17808 * po/it.po: Update from translation team.
17809
3a4a2499
L
178102010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17811
17812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17813 unused codes.
17814
1e24cf6e
UD
178152010-11-30 Ulrich Drepper <drepper@gmail.com>
17816
17817 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17818
a7690819
AS
178192010-11-24 Andreas Schwab <schwab@redhat.com>
17820
17821 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17822 specially.
17823 (gaih_getanswer_slice): Likewise.
17824
3bf8d1b1
JJ
178252010-10-20 Jakub Jelinek <jakub@redhat.com>
17826
17827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17828
6db52fbb
PB
178292010-05-31 Petr Baudis <pasky@suse.cz>
17830
17831 [BZ #11149]
17832 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17833 silently even in the chroot mode.
17834
eaca7569
UD
178352010-11-22 Ulrich Drepper <drepper@gmail.com>
17836
17837 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17838 last patch a bit. Pretty printing
17839
3056dcdb
UD
178402010-05-31 Petr Baudis <pasky@suse.cz>
17841
17842 [BZ #10085]
17843 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17844 initialization of skip_initgroups_dyn.
17845
cf7c9078
UD
178462010-11-19 Ulrich Drepper <drepper@gmail.com>
17847
17848 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17849 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17850
a1fb5e3e
UD
178512010-11-16 Ulrich Drepper <drepper@gmail.com>
17852
17853 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17854
3540d66b
AS
178552010-11-11 Andreas Schwab <schwab@redhat.com>
17856
17857 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17858 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17859 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17860 ($(objpfx)tst-fnmatch-mem): New rule.
17861 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17862 * posix/tst-fnmatch.c (main): Call mtrace.
17863
13b69574
L
178642010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17865
17866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17867 Support Intel processor model 6 and model 0x2c.
17868
da93d214
LM
178692010-11-10 Luis Machado <luisgpm@br.ibm.com>
17870
17871 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17872 signed comparison.
17873
8ca52c6e
L
178742010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 [BZ #12205]
17877 * string/test-strncasecmp.c (check_result): New function.
17878 (do_one_test): Use it.
17879 (check1): New function.
17880 (test_main): Use it.
17881 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17882 Support strcasecmp and strncasecmp.
17883
69da074d
UD
178842010-11-08 Ulrich Drepper <drepper@gmail.com>
17885
17886 [BZ #12194]
17887 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17888 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17889
ff02d528
L
178902010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17891
17892 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17893 IFUNC support.
17894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17895 memset-x86-64.
17896 * sysdeps/x86_64/multiarch/bzero.S: New file.
17897 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17898 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17899 * sysdeps/x86_64/multiarch/memset.S: New file.
17900 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17902 Set bit_Prefer_SSE_for_memop for Intel processors.
17903 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17904 Define.
17905 (index_Prefer_SSE_for_memop): Define.
17906 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17907
344d0b54
LM
179082010-11-04 Luis Machado <luisgpm@br.ibm.com>
17909
17910 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17911 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17912
c0dde15b
UD
179132010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17914
17915 [BZ #12191]
17916 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17917 (__x86_64_raw_data_cache_size_half): Likewise.
17918 (__x86_64_raw_shared_cache_size): Likewise.
17919 (__x86_64_raw_shared_cache_size_half): Likewise.
17920
17921 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17922 (__x86_64_raw_data_cache_size_half): Likewise.
17923 (__x86_64_raw_shared_cache_size): Likewise.
17924 (__x86_64_raw_shared_cache_size_half): Likewise.
17925 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17926 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17927 and __x86_64_raw_shared_cache_size_half. Round
17928 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17929 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17930 to multiple of 256 bytes.
17931
0e516e0e
MS
179322010-11-03 Ulrich Drepper <drepper@gmail.com>
17933
17934 [BZ #12167]
17935 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17936 of inacessible symlinks. Verify result of symlink before returning it.
17937 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17938 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17939
0e012e87
ER
179402010-10-28 Erich Ritz <erichritz@gmail.com>
17941
17942 * math/math.h (isinf): Fix typo in comment.
17943
de0ff7bc
UD
179442010-11-01 Ulrich Drepper <drepper@gmail.com>
17945
17946 * po/da.po: Update from translation team.
17947
fa41c84d
UD
179482010-10-26 Ulrich Drepper <drepper@gmail.com>
17949
17950 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17951 is added to the list.
17952
f0967738
AK
179532010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17954 Ulrich Drepper <drepper@gmail.com>
17955
17956 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17957 the global list here. Move code to...
17958 (_dl_add_to_namespace_list): ...here. New function.
17959 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17960 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17961 * elf/dl-load.c (lose): Don't remove the element from the list.
17962 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17963 (_dl_map_object): Likewise.
17964
179652010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
17966
17967 [BZ #12159]
17968 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17969 into all bytes of SSE register.
17970 Patch by Richard Li <richardpku@gmail.com>.
17971
f0967738 179722010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
17973
17974 [BZ #12140]
17975 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17976 perturbing.
17977
d0b9e94f
MB
179782010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17979
17980 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17981 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17982 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17983 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17985 submachine.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17987
8e9f92e9
AS
179882010-10-22 Andreas Schwab <schwab@redhat.com>
17989
17990 * include/dlfcn.h (__RTLD_SECURE): Define.
17991 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17992 mode & __RTLD_SECURE instead.
17993 (open_path): Rename preloaded parameter to secure.
17994 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17995 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17996 * elf/dl-deps.c (openaux): Likewise.
17997 * elf/rtld.c (struct map_args): Remove is_preloaded.
17998 (map_doit): Don't use it.
17999 (dl_main): Likewise.
18000 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
18001 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
18002
bc96fbda
AS
180032010-09-09 Andreas Schwab <schwab@redhat.com>
18004
18005 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
18006 (sysd-rules-targets): Remove duplicates.
18007 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
18008 rtld-%.$o dependency.
18009
22cd1c9b
AS
180102010-10-18 Andreas Schwab <schwab@redhat.com>
18011
18012 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
18013 _dl_map_object do it.
18014
18edac48
UD
180152010-10-19 Ulrich Drepper <drepper@gmail.com>
18016
18017 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
18018 fast fma builtins, define the macros in the C99 standard.
18019 (FP_FAST_FMAF): Likewise.
18020 (FP_FAST_FMAL): Likewise.
18021 * sysdeps/x86_64/bits/mathdef.h: Likewise.
18022
18023 * bits/mathdef.h: Update copyright year.
18024 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18025
d2050124
MM
180262010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
18027
18028 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
18029 builtins, define the macros in the C99 standard.
18030 (FP_FAST_FMAF): Likewise.
18031 (FP_FAST_FMAL): Likewise.
18032 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
18033 multiply/add.
18034 (FP_FAST_FMAF): Likewise.
18035
475facd1
JJ
180362010-10-15 Jakub Jelinek <jakub@redhat.com>
18037
18038 [BZ #3268]
18039 * math/libm-test.inc (fma_test): Some new testcases.
18040 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
18041 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
18042 y and infinite z. Do multiplication by C already in long double.
18043 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
18044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
18045 y and infinite z. Do bitwise or of inexact bit into u.d.
18046 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
18047 * sysdeps/i386/fpu/s_fmaf.S: Removed.
18048 * sysdeps/i386/fpu/s_fma.S: Removed.
18049 * sysdeps/i386/fpu/s_fmal.S: Removed.
18050
7c08a05c
JJ
180512010-10-16 Jakub Jelinek <jakub@redhat.com>
18052
18053 [BZ #3268]
18054 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
18055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
18056 computation is not scheduled after fetestexcept. Fix value
18057 of minimum denormal long double.
18058
f3f7372d
JJ
180592010-10-14 Jakub Jelinek <jakub@redhat.com>
18060
18061 [BZ #3268]
18062 * math/libm-test.inc (fma_test): Add some more tests.
18063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
18064 correctly.
18065
14d43591
AS
180662010-10-15 Andreas Schwab <schwab@redhat.com>
18067
18068 * scripts/data/localplt-s390-linux-gnu.data: New file.
18069 * scripts/data/localplt-s390x-linux-gnu.data: New file.
18070
5e908464
JJ
180712010-10-13 Jakub Jelinek <jakub@redhat.com>
18072
18073 [BZ #3268]
18074 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
18075 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
18076 instead of dbl-64.
18077 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
18078 inlines.
18079 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
18080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
18081 if one of x and y is very large and the other is subnormal.
18082 * sysdeps/s390/fpu/s_fmaf.c: New file.
18083 * sysdeps/s390/fpu/s_fma.c: New file.
18084 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
18085 * sysdeps/powerpc/fpu/s_fma.S: New file.
18086 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
18087 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
18088 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
18089
180902010-10-12 Jakub Jelinek <jakub@redhat.com>
18091
18092 [BZ #3268]
18093 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
18094 fma tests.
18095 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
18096 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
18097 * sysdeps/i386/i686/multiarch/s_fma.c: Include
18098 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
18099 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
18100 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
18102
b833d51f
UD
181032010-10-12 Ulrich Drepper <drepper@redhat.com>
18104
18105 [BZ #12078]
18106 * posix/regcomp.c (parse_branch): One more memory leak plugged.
18107 * posix/bug-regex31.input: Add test case.
18108
1751705d
UD
181092010-10-11 Ulrich Drepper <drepper@gmail.com>
18110
e9b9cbf5
UD
18111 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
18112 * posix/bug-regex31.input: New file.
18113
18114 [BZ #12078]
18115 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
18116 (parse_sub_exp): Fix last change, use postorder.
18117
ef06edbe
UD
18118 * posix/bug-regex31.c: New file.
18119 * posix/Makefile: Add rules to build and run bug-regex31.
18120
a129c80d
UD
18121 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18122
18123 [BZ #12078]
18124 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18125
b76b818e
UD
18126 [BZ #12108]
18127 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18128 to have entries in sys_siglist.
18129
1751705d
UD
18130 [BZ #12093]
18131 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18132 be NULL.
18133
9ff8d36f
JJ
181342010-10-07 Jakub Jelinek <jakub@redhat.com>
18135
18136 [BZ #3268]
18137 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18138 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18139 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18140 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18141 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18142 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18143 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18144 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18145 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18146 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18147 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18148 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18149 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18150 * math/ftestexcept.c (fetestexcept): Likewise.
18151 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18152 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18153 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18154 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18155 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18156 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18157 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18158
af325969
UD
181592010-10-11 Ulrich Drepper <drepper@gmail.com>
18160
c579b202 18161 [BZ #12107]
af325969
UD
18162 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18163 newline.
18164
67a67b95
UD
181652010-10-06 Ulrich Drepper <drepper@gmail.com>
18166
18167 * string/bug-strstr1.c: New file.
18168 * string/Makefile: Add rules to build and run bug-strstr1.
18169
5fb308bc
EB
181702010-10-05 Eric Blake <eblake@redhat.com>
18171
18172 [BZ #12092]
18173 * string/str-two-way.h (two_way_long_needle): Always clear memory
18174 when skipping input due to the shift table.
18175
45db99c7
UD
181762010-10-03 Ulrich Drepper <drepper@gmail.com>
18177
3b111893
UD
18178 [BZ #12005]
18179 * malloc/mcheck.c: Handle large requests.
18180
45db99c7
UD
18181 [BZ #12077]
18182 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18183 for strncmp and strncasecmp.
18184 * string/stratcliff.c: Add tests for strcmp and strncmp.
18185 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18186
cf7a1eb8
NI
181872010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18188
18189 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18190 __set_fpscr.
18191
6484ba5e
AJ
181922010-09-30 Andreas Jaeger <aj@suse.de>
18193
18194 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18195 (CGROUP_SUPER_MAGIC): Define.
18196 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18197 Handle btrfs and cgroup file systems.
18198 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18199 Likewise.
18200
91c42559
LM
182012010-09-27 Luis Machado <luisgpm@br.ibm.com>
18202
18203 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18204 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18205
87a97932
AK
182062010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18207
18208 [BZ #12067]
18209 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18210 trying to locate the ELF header.
18211
c21cc9bc
AS
182122010-09-27 Andreas Schwab <schwab@redhat.com>
18213
18214 [BZ #11611]
18215 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18216 Mask out sign-bit copies when constructing f_fsid.
18217
315970f6
PB
182182010-09-24 Petr Baudis <pasky@suse.cz>
18219
18220 * debug/stack_chk_fail_local.c: Add missing licence exception.
18221 * debug/warning-nop.c: Likewise.
18222
1ac7a2c7
JM
182232010-09-15 Joseph Myers <joseph@codesourcery.com>
18224
18225 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18226 implementing getdents64 using getdents syscall, set d_type if
18227 __ASSUME_GETDENTS32_D_TYPE.
18228
56801c50
AS
182292010-09-16 Andreas Schwab <schwab@redhat.com>
18230
18231 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18232 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18233
dda51327
UD
182342010-09-21 Ulrich Drepper <drepper@redhat.com>
18235
18236 [BZ #12037]
18237 * posix/unistd.h: Undo change of feature selection for ftruncate from
18238 2010-01-11.
18239
8ffcee4a
UD
182402010-09-20 Ulrich Drepper <drepper@redhat.com>
18241
a545ecd9 18242 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
18243 detection.
18244
e24f0a8b
AS
182452010-09-20 Andreas Schwab <schwab@redhat.com>
18246
18247 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18248 fanotify_mark.
18249 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18250
7291c56f
AS
182512010-09-14 Andreas Schwab <schwab@redhat.com>
18252
18253 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18254 variables after CHECK_SP call.
18255 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18256
bc5fb037
AS
182572010-09-13 Andreas Schwab <schwab@redhat.com>
18258 Ulrich Drepper <drepper@redhat.com>
18259
18260 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18261 re-relocationg ld.so.
18262 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18263 _dl_init_paths call.
18264 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18265 here anymore.
18266
e66e7419
UD
182672010-09-14 Ulrich Drepper <drepper@redhat.com>
18268
18269 * resolv/res_init.c (__res_vinit): Count the default server we added.
18270
c044aa75
CLT
182712010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18272 Ulrich Drepper <drepper@redhat.com>
18273
18274 [BZ #11968]
18275 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18276 (____longjmp_chk): Use %ebx for saving value across system call.
18277 Add unwind info.
18278
32cf4069
AS
182792010-09-06 Andreas Schwab <schwab@redhat.com>
18280
18281 * manual/Makefile: Don't mix pattern rules with normal rules.
18282
817328ee
AS
182832010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18284
18285 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18286 operation.
18287 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18288 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18289 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18290 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18291 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18292 Likewise.
18293
29fddf61
UD
182942010-09-04 Ulrich Drepper <drepper@redhat.com>
18295
18296 [BZ #11979]
18297 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18298 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18299
0959ffc9
UD
183002010-09-02 Ulrich Drepper <drepper@redhat.com>
18301
18302 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18303 * sysdeps/x86_64/addmul_1.S: Likewise.
18304 * sysdeps/x86_64/lshift.S: Likewise.
18305 * sysdeps/x86_64/mul_1.S: Likewise.
18306 * sysdeps/x86_64/rshift.S: Likewise.
18307 * sysdeps/x86_64/sub_n.S: Likewise.
18308 * sysdeps/x86_64/submul_1.S: Likewise.
18309
ece29840
ST
183102010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18311
0959ffc9
UD
18312 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18313 Define __sched_param instead of SCHED_* and sched_param when
ece29840 18314 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 18315 * bits/sched.h [__need_schedparam]
ece29840 18316 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
18317 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18318 (__defined_schedparam): Define to 1.
ece29840
ST
18319 (__sched_param): New structure, identical to sched_param.
18320 (__need_schedparam): Undefine.
18321
e53a31fe
MF
183222010-08-31 Mike Frysinger <vapier@gentoo.org>
18323
fdc0c10d
MF
18324 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18325 (epoll_create1): Declare.
18326
e53a31fe
MF
18327 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18328
a726d796
AS
183292010-08-31 Andreas Schwab <schwab@redhat.com>
18330
18331 [BZ #7066]
18332 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18333 shifting retval into place.
18334
2f3e3dc7
UD
183352010-09-01 Ulrich Drepper <drepper@redhat.com>
18336
f2933da9
UD
18337 * nis/rpcsvc/nis.h: Update copyright notice.
18338 * nis/rpcsvc/nis.x: Likewise.
18339 * nis/rpcsvc/nis_callback.h: Likewise.
18340 * nis/rpcsvc/nis_callback.x: Likewise.
18341 * nis/rpcsvc/nis_object.x: Likewise.
18342 * nis/rpcsvc/nis_tags.h: Likewise.
18343 * nis/rpcsvc/yp.h: Likewise.
18344 * nis/rpcsvc/yp.x: Likewise.
18345 * nis/rpcsvc/ypupd.h: Likewise.
18346 * nis/yp_xdr.c: Likewise.
18347 * nis/ypupdate_xdr.c: Likewise.
18348
2f3e3dc7
UD
18349 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18350 mainly the body of pmap_getport. Add parameters to specify timeouts.
18351 (pmap_getport): Use __libc_rpc_getport.
18352 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18353 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18354 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18355
f3dcc2f9
AS
183562010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18357
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18359 fanotify_mark.
18360
6d34eb5b
RM
183612010-08-27 Roland McGrath <roland@redhat.com>
18362
18363 * sysdeps/i386/i686/multiarch/Makefile
18364 (CFLAGS-varshift.c): New variable.
18365
9ea3de11
UD
183662010-08-27 Ulrich Drepper <drepper@redhat.com>
18367
c96d23fc
UD
18368 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18369 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18370
9ea3de11
UD
18371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18372
18373 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18374
623aac7f
L
183752010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18376
18377 * sysdeps/x86_64/strlen.S: Unroll the loop.
18378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18379 strlen-sse2 strlen-sse2-bsf.
18380 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18381 __strlen_no_bsf if bit_Slow_BSF is set.
18382 (__strlen_sse42): Removed.
18383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18384 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18385
8b2b7715
RM
183862010-08-25 Roland McGrath <roland@redhat.com>
18387
18388 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18389 * sysdeps/x86_64/multiarch/varshift.c: New file.
18390 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18391 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18392 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18393 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18394
e73015f2
L
183952010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18396
18397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18398 strlen-sse2 strlen-sse2-bsf.
18399 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18400 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18401 (__strlen_sse2): Removed.
18402 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18403 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18405 bit_Slow_BSF for Atom.
18406 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18407 (index_Slow_BSF): Define.
18408 (HAS_SLOW_BSF): Define.
18409
df24a73e
UD
184102010-08-25 Ulrich Drepper <drepper@redhat.com>
18411
18412 [BZ #10851]
18413 * resolv/res_init.c (__res_vinit): When no server address at all
18414 is given default to loopback.
18415
f2ac4868
RM
184162010-08-24 Roland McGrath <roland@redhat.com>
18417
09055553
RM
18418 * configure.in: Remove config-name.h generation.
18419 * configure: Regenerated.
18420 * config-name.in: File removed.
18421 * scripts/config-uname.sh: New file.
18422 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18423 ($(objdir)config-name.h): New target.
18424
f2ac4868
RM
18425 * sunrpc/rpc_parse.h: Avoid nested comment.
18426
73f27d5e
RH
184272010-08-24 Richard Henderson <rth@redhat.com>
18428 Ulrich Drepper <drepper@redhat.com>
18429 H.J. Lu <hongjiu.lu@intel.com>
18430
18431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18433 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18434 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18435 _mm_alignr_epi8 with _mm_loadu_si128.
18436 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18437 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18438 (__m128i_shift_right): Removed.
18439 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18440 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18441 * sysdeps/x86_64/multiarch/varshift.h: New file.
18442 * sysdeps/x86_64/multiarch/varshift.S: New file.
18443
84b9230c
MF
184442010-08-21 Mike Frysinger <vapier@gentoo.org>
18445
18446 * configure.in: Move assembler checks to before sysdep dir checking.
18447
9bbd0ddc
PB
184482010-08-20 Petr Baudis <pasky@suse.cz>
18449
18450 * LICENSES: Sync the sunrpc license.
18451
9da4bb31
UD
184522010-08-19 Ulrich Drepper <drepper@redhat.com>
18453
a7ab6ec8
UD
18454 * sunrpc/auth_des.c: Update copyright notice once again.
18455 * sunrpc/auth_none.c: Likewise.
18456 * sunrpc/auth_unix.c: Likewise.
18457 * sunrpc/authdes_prot.c: Likewise.
18458 * sunrpc/authuxprot.c: Likewise.
18459 * sunrpc/bindrsvprt.c: Likewise.
18460 * sunrpc/clnt_gen.c: Likewise.
18461 * sunrpc/clnt_perr.c: Likewise.
18462 * sunrpc/clnt_raw.c: Likewise.
18463 * sunrpc/clnt_simp.c: Likewise.
18464 * sunrpc/clnt_tcp.c: Likewise.
18465 * sunrpc/clnt_udp.c: Likewise.
18466 * sunrpc/clnt_unix.c: Likewise.
18467 * sunrpc/des_crypt.c: Likewise.
18468 * sunrpc/des_soft.c: Likewise.
18469 * sunrpc/get_myaddr.c: Likewise.
18470 * sunrpc/getrpcport.c: Likewise.
18471 * sunrpc/key_call.c: Likewise.
18472 * sunrpc/key_prot.c: Likewise.
18473 * sunrpc/openchild.c: Likewise.
18474 * sunrpc/pm_getmaps.c: Likewise.
18475 * sunrpc/pm_getport.c: Likewise.
18476 * sunrpc/pmap_clnt.c: Likewise.
18477 * sunrpc/pmap_prot.c: Likewise.
18478 * sunrpc/pmap_prot2.c: Likewise.
18479 * sunrpc/pmap_rmt.c: Likewise.
18480 * sunrpc/rpc/auth.h: Likewise.
18481 * sunrpc/rpc/auth_unix.h: Likewise.
18482 * sunrpc/rpc/clnt.h: Likewise.
18483 * sunrpc/rpc/des_crypt.h: Likewise.
18484 * sunrpc/rpc/key_prot.h: Likewise.
18485 * sunrpc/rpc/netdb.h: Likewise.
18486 * sunrpc/rpc/pmap_clnt.h: Likewise.
18487 * sunrpc/rpc/pmap_prot.h: Likewise.
18488 * sunrpc/rpc/pmap_rmt.h: Likewise.
18489 * sunrpc/rpc/rpc.h: Likewise.
18490 * sunrpc/rpc/rpc_des.h: Likewise.
18491 * sunrpc/rpc/rpc_msg.h: Likewise.
18492 * sunrpc/rpc/svc.h: Likewise.
18493 * sunrpc/rpc/svc_auth.h: Likewise.
18494 * sunrpc/rpc/types.h: Likewise.
18495 * sunrpc/rpc/xdr.h: Likewise.
18496 * sunrpc/rpc_clntout.c: Likewise.
18497 * sunrpc/rpc_cmsg.c: Likewise.
18498 * sunrpc/rpc_common.c: Likewise.
18499 * sunrpc/rpc_cout.c: Likewise.
18500 * sunrpc/rpc_dtable.c: Likewise.
18501 * sunrpc/rpc_hout.c: Likewise.
18502 * sunrpc/rpc_main.c: Likewise.
18503 * sunrpc/rpc_parse.c: Likewise.
18504 * sunrpc/rpc_parse.h: Likewise.
18505 * sunrpc/rpc_prot.c: Likewise.
18506 * sunrpc/rpc_sample.c: Likewise.
18507 * sunrpc/rpc_scan.c: Likewise.
18508 * sunrpc/rpc_scan.h: Likewise.
18509 * sunrpc/rpc_svcout.c: Likewise.
18510 * sunrpc/rpc_tblout.c: Likewise.
18511 * sunrpc/rpc_util.c: Likewise.
18512 * sunrpc/rpc_util.h: Likewise.
18513 * sunrpc/rpcinfo.c: Likewise.
18514 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18515 * sunrpc/rpcsvc/key_prot.x: Likewise.
18516 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18517 * sunrpc/rpcsvc/mount.x: Likewise.
18518 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18519 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18520 * sunrpc/rpcsvc/rex.x: Likewise.
18521 * sunrpc/rpcsvc/rstat.x: Likewise.
18522 * sunrpc/rpcsvc/rusers.x: Likewise.
18523 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18524 * sunrpc/rpcsvc/spray.x: Likewise.
18525 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18526 * sunrpc/rtime.c: Likewise.
18527 * sunrpc/svc.c: Likewise.
18528 * sunrpc/svc_auth.c: Likewise.
18529 * sunrpc/svc_authux.c: Likewise.
18530 * sunrpc/svc_raw.c: Likewise.
18531 * sunrpc/svc_run.c: Likewise.
18532 * sunrpc/svc_simple.c: Likewise.
18533 * sunrpc/svc_tcp.c: Likewise.
18534 * sunrpc/svc_udp.c: Likewise.
18535 * sunrpc/svc_unix.c: Likewise.
18536 * sunrpc/svcauth_des.c: Likewise.
18537 * sunrpc/xcrypt.c: Likewise.
18538 * sunrpc/xdr.c: Likewise.
18539 * sunrpc/xdr_array.c: Likewise.
18540 * sunrpc/xdr_float.c: Likewise.
18541 * sunrpc/xdr_mem.c: Likewise.
18542 * sunrpc/xdr_rec.c: Likewise.
18543 * sunrpc/xdr_ref.c: Likewise.
18544 * sunrpc/xdr_sizeof.c: Likewise.
18545 * sunrpc/xdr_stdio.c: Likewise.
18546
9da4bb31
UD
18547 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18548 handling.
18549
bdaa77bc
AS
185502010-08-19 Andreas Schwab <schwab@redhat.com>
18551
18552 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18553
fe2f79db
LM
185542010-08-19 Luis Machado <luisgpm@br.ibm.com>
18555
18556 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18557 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18558 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18559 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18560 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18561 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18562 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18563 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18564 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18565 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18566 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18567 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18568 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18569 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18570
b9b42ee0
AB
185712010-07-26 Anton Blanchard <anton@samba.org>
18572
18573 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18574 * malloc/arena.c (heap_trim): Likewise.
18575
1c06ba31
UD
185762010-08-16 Ulrich Drepper <drepper@redhat.com>
18577
18578 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18579 here. Not...
18580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18581 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18582
f8392f40
L
185832010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18584
18585 * sysdeps/i386/elf/Makefile: New file.
18586
3162f12e
AS
185872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18588
18589 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18590 from fanotify_init.
18591 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18593
28c90b2c
UD
185942010-08-15 Ulrich Drepper <drepper@redhat.com>
18595
18596 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18597 of strncasecmp_l.
1feccb6c 18598 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 18599
ca6bb004
UD
186002010-08-14 Ulrich Drepper <drepper@redhat.com>
18601
e9f82e0d
UD
18602 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18603 strncase_l-nonascii.
18604 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18605 Add strncase_l-ssse3.
18606 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18607 * sysdeps/x86_64/strcmp.S: Likewise.
18608 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18609 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18610 * sysdeps/x86_64/strncase.S: New file.
18611 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18612 * sysdeps/x86_64/strncase_l.S: New file.
18613 * string/Makefile (strop-tests): Add strncasecmp.
18614 * string/test-strncasecmp.c: New file.
18615
18616 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18617 warning.
18618
ca6bb004
UD
18619 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18620 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18621
052fa7b3
AS
186222010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18623
18624 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18625
962dba78
UD
186262010-08-12 Ulrich Drepper <drepper@redhat.com>
18627
18628 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18629 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18630 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18631
bebff237
AM
186322010-05-01 Alan Modra <amodra@gmail.com>
18633
18634 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18635 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18636 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18637 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18638 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18639 tidying. Don't tail-call __sigjmp_save for static lib.
18640 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18641 save location.
18642 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18643 (CALL_MCOUNT): Add eh info, and nop after bl.
18644 (TAIL_CALL_SYSCALL_ERROR): New macro.
18645 (PSEUDO_RET): Use it.
18646 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18647 Correct save location of integer regs and cr.
18648 (_dl_profile_resolve): Correct cr save location. Delete nops
18649 after bl when SHARED. Reduce cfi size a little by better
18650 placement of cfi directives.
18651 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18652 make a stack frame. Instead use parm save area as a temp.
18653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18654 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18656 Don't make a stack frame for parent, use parm save area.
18657 Increase child stack frame to 112 bytes. Don't save unused reg,
18658 and adjust reg usage. Set up cfi on error recovery and
18659 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18661 (__makecontext): Add dummy nop after jump to exit.
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18663 Use correct parm save area and cr save, reduce stack frame.
18664 Correct cfi for possible PSEUDO_RET frame setup.
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18666 Branch to local label emitted by PSEUDO_RET rather than
18667 __syscall_error.
18668
02637374
AS
186692010-08-12 Andreas Schwab <schwab@redhat.com>
18670
18671 [BZ #11904]
18672 * locale/programs/locale.c (print_assignment): New function.
18673 (show_locale_vars): Use it.
18674
c3e2f19b
UD
186752010-08-11 Ulrich Drepper <drepper@redhat.com>
18676
3cdaa6ad
UD
18677 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18678 field.
18679 (struct statfs64): Likewise.
18680 (_STATFS_F_FLAGS): Define.
18681 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18682 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18683 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18684 (ST_VALID): Define locally.
18685 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18686 __statvfs_getflags, use the provided value.
18687 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18688 __ASSUME_STATFS_F_FLAGS.
18689
754f7da3
UD
18690 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18691
10b3bedc
UD
18692 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18693 Add sys/fanotify.h.
18694 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18695 fanotify_mask for GLIBC_2.13.
18696 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18697 fanotify_init and fanotify_mark.
18698 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18699 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18700
c08fb0d7
UD
18701 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18702 Add prlimit.
18703 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18704 prlimit64 for GLIBC_2.13.
18705 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18706 prlimit64.
18707 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18708 syscall.
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18710 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18711 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18712 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18713 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18714 add prlimit alias.
18715 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18716
15bac72b
UD
18717 [BZ #11903]
18718 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18719 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18720
c3e2f19b
UD
18721 * nss/Makefile: Add rules to build and run tst-nss-test1.
18722 * shlib-versions: Add entry for libnss_test1.
18723 * nss/nss_test1.c: New file.
18724 * nss/tst-nss-test1.c: New file.
18725
18726 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18727 (__nss_configure_lookup): Set appropriate entry in
18728 __nss_configure_lookup to true.
18729 * nss/nsswitch.h: Define enum with indeces of databases in
18730 databases and __nss_database_custom arrays. Declare
18731 __nss_database_custom.
18732 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18733 to avoid using nscd when custom rules are installed.
18734 * nss/getXXbyYY_r.c: Likewise.
18735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18736
18737 * nss/nss_files/files-parse.c: Whitespace fixes.
18738
f15ce4d8
UD
187392010-08-09 Ulrich Drepper <drepper@redhat.com>
18740
18741 [BZ #11883]
18742 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18743 * posix/fnmatch_loop.c: Likewise.
18744
d22e4cc9
AK
187452010-07-17 Andi Kleen <ak@linux.intel.com>
18746
18747 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18748 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18749 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18750 * Versions.def [GLIBC_2.13]: Add.
18751
805bc17d
UD
187522010-08-06 Ulrich Drepper <drepper@redhat.com>
18753
18754 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18755 Also fail if tpwd after pwuid call is NULL.
18756
5a42321d
ST
187572010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18758
18759 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18760 when converting to ms.
18761
fd3ebeda
ST
187622010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18763
18764 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18765 EOPNOTSUPP errors with ENOTTY.
18766 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18767 EOPNOTSUPP errors with ENOTTY.
18768
73507d3a
UD
187692010-07-31 Ulrich Drepper <drepper@redhat.com>
18770
18771 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18772 Add strcasecmp_l-ssse3.
18773 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18774 strcasecmp.
18775 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18776 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18777 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18778
fe36dd02
UD
187792010-07-30 Ulrich Drepper <drepper@redhat.com>
18780
66f6765a
UD
18781 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18782
42e08a54
UD
18783 * string/Makefile (strop-tests): Add strcasecmp.
18784 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18785 strcasecmp_l-nonascii.
18786 (gen-as-const-headers): Add locale-defines.sym.
18787 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18788 * sysdeps/x86_64/strcasecmp.S: New file.
18789 * sysdeps/x86_64/strcasecmp_l.S: New file.
18790 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18791 * sysdeps/x86_64/locale-defines.sym: New file.
18792 * string/test-strcasecmp.c: New file.
18793
fe36dd02
UD
18794 * string/test-strcasestr.c: Test both ends of the range of characters.
18795 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18796
48cbc0d6
RM
187972010-07-29 Roland McGrath <roland@redhat.com>
18798
76e6d6bc 18799 [BZ #11856]
48cbc0d6
RM
18800 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18801
880113d9
UD
188022010-07-27 Ulrich Drepper <drepper@redhat.com>
18803
18804 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18805 for ld.so.
18806
deb9cabb
AS
188072010-07-27 Andreas Schwab <schwab@redhat.com>
18808
18809 * manual/memory.texi (Malloc Tunable Parameters): Document
18810 M_PERTURB.
18811
1c7570ff
RM
188122010-07-26 Roland McGrath <roland@redhat.com>
18813
18814 [BZ #11840]
18815 * configure.in (-fgnu89-inline check): Set and substitute
18816 gnu89_inline, not libc_cv_gnu89_inline.
18817 * configure: Regenerated.
18818 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18819
24fb0f88
UD
188202010-07-26 Ulrich Drepper <drepper@redhat.com>
18821
18822 * string/test-strnlen.c: New file.
18823 * string/Makefile (strop-tests): Add strnlen.
18824 * string/tester.c (test_strnlen): Add a few more test cases.
18825 * string/tst-strlen.c: Better error reporting.
18826
18827 * sysdeps/x86_64/strnlen.S: New file.
18828
8e96b93a
UD
188292010-07-24 Ulrich Drepper <drepper@redhat.com>
18830
18831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18832 lower-latency instructions.
18833
dbc676d4
UD
188342010-07-23 Ulrich Drepper <drepper@redhat.com>
18835
18836 * string/test-strcasestr.c: New file.
18837 * string/test-strstr.c: New file.
18838 * string/Makefile (strop-tests): Add strstr and strcasestr.
18839 * string/str-two-way.h: Don't undefine MAX.
18840 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18841
f6a31e0e
AS
188422010-07-21 Andreas Schwab <schwab@redhat.com>
18843
18844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18845 strcasestr-nonascii.
18846 (CFLAGS-strcasestr-nonascii.c): Define.
18847 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18849 Remove unused attribute.
18850
5dbc3b6c
RM
188512010-07-20 Roland McGrath <roland@redhat.com>
18852
18853 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18854 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18855 ld.so.cache was broken. With it, there is no way to disable dsocaps
18856 like LD_HWCAP_MASK can disable hwcaps.
18857
23d101d8
EPM
188582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18859
18860 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18861
cc9f2e47
UD
188622010-07-16 Ulrich Drepper <drepper@redhat.com>
18863
18864 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18865 call in strcasestr.
18866 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18867 __strcasestr_sse42_nonascii.
18868 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18869 strcasestr-nonascii.c.
18870 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18871
77c1b069
LM
188722010-06-15 Luis Machado <luisgpm@br.ibm.com>
18873
18874 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18875 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18876 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18877 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18878
440566c3
UD
188792010-07-09 Ulrich Drepper <drepper@redhat.com>
18880
18881 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18882 fcntl.
18883
5be9d05d
AS
188842010-07-06 Andreas Schwab <schwab@redhat.com>
18885
c30b7ee2 18886 [BZ #11577]
5be9d05d
AS
18887 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18888 dl_signal_cerror.
18889
8a492a67
UD
188902010-07-06 Ulrich Drepper <drepper@redhat.com>
18891
18892 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18893 _PC_PIPE_BUF using F_GETPIPE_SZ.
18894
713df3d5
RM
188952010-07-05 Roland McGrath <roland@redhat.com>
18896
18897 * manual/arith.texi (Rounding Functions): Fix rint description
18898 implicit in round description.
18899
702e8f14
UD
189002010-07-02 Ulrich Drepper <drepper@redhat.com>
18901
18902 * elf/Makefile: Fix linking for a few tests to make recent linker
18903 happy.
18904
52ed8be9
AS
189052010-06-30 Andreas Schwab <schwab@redhat.com>
18906
18907 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18908 $(common-objpfx)libc_nonshared.a.
18909
f47c9a11
LM
189102010-06-21 Luis Machado <luisgpm@br.ibm.com>
18911
18912 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18913 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18914 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18915 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18916 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18917 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18918 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18919 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18934 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18935 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18936 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18937 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18938 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18939 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18940 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18941 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18942 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18943 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18944 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18945 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18960
6fb8cbcb
L
189612010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18962
18963 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18964 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18965 * string/memmove.c (memmove): Renamed to ...
18966 (MEMMOVE): ...this. Default to memmove.
18967 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18968 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18969 (END_CHK): Define.
18970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18971 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18972 mempcpy-ssse3-back memmove-ssse3-back.
18973 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18975 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18976 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18977 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18978 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18979 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18980 * sysdeps/x86_64/multiarch/memmove.c: New file.
18981 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18982 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18983 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18984 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18985 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18987 Define.
18988 (index_Fast_Copy_Backward): Define.
18989 (HAS_ARCH_FEATURE): Define.
18990 (HAS_FAST_REP_STRING): Define.
18991 (HAS_FAST_COPY_BACKWARD): Define.
18992
4e733bac 189932010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
18994
18995 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18996 Restore proper fallback handling.
18997
63c4ed22
UD
189982010-06-19 Ulrich Drepper <drepper@redhat.com>
18999
ac2b484c
UD
19000 [BZ #11701]
19001 * posix/group_member.c (__group_member): Correct checking loop.
19002
63c4ed22
UD
19003 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
19004 OOM in getpwuid_r correctly. Return error number when the caller
19005 should return, otherwise -1.
19006 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
19007 call returning > 0 value.
19008 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
19009
765ade4b
AS
190102010-06-07 Andreas Schwab <schwab@redhat.com>
19011
19012 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
19013 libc_nonshared.a from targets in modules-names.
19014
80da2e09
KS
190152010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
19016
19017 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
19018 requires it.
19019
158db122
LM
190202010-06-10 Luis Machado <luisgpm@br.ibm.com>
19021
19022 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
19023 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
19024 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
19025 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
19026
caa78cf8
AS
190272010-06-02 Andreas Schwab <schwab@redhat.com>
19028
19029 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
19030
b2ef2c01
UD
190312010-06-14 Ulrich Drepper <drepper@redhat.com>
19032
19033 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
19034 and F_GETPIPE_SZ.
19035 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19036 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19039 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19040 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
19041
fbd643b6
RM
190422010-06-14 Roland McGrath <roland@redhat.com>
19043
19044 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
19045
f32f2869
JJ
190462010-06-07 Jakub Jelinek <jakub@redhat.com>
19047
19048 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
19049 __REDIRECT followed by __THROW.
19050 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
19051 * posix/getopt.h (getopt): Likewise.
19052
2a50c078
EPM
190532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19054
19055 * hurd/lookup-at.c (__file_name_lookup_at): Accept
19056 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
19057 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
19058 in AT_FLAGS.
19059 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
19060 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
19061
eb5ad2eb
LM
190622010-05-28 Luis Machado <luisgpm@br.ibm.com>
19063
19064 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
19065
3c88fe1e
L
190662010-05-26 H.J. Lu <hongjiu.lu@intel.com>
19067
19068 [BZ #11640]
19069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19070 Properly check family and model.
19071
d2f73151
TY
190722010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
19073
19074 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
19075
ebd2e13d
LM
190762010-05-24 Luis Machado <luisgpm@br.ibm.com>
19077
19078 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
19079
b32b8b45
UD
190802010-05-21 Ulrich Drepper <drepper@redhat.com>
19081
19082 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
19083 symbol reference.
19084
9acbe24d
AS
190852010-05-19 Andreas Schwab <schwab@redhat.com>
19086
19087 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
19088 symbol reference.
19089
f0ccf6ea
AS
190902010-05-21 Andreas Schwab <schwab@redhat.com>
19091
3d04ff3a
AS
19092 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
19093 and internal_recvmmsg.
19094 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
19095 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
19096 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
19097 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
19098
f0ccf6ea
AS
19099 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
19100 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19101 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19102
5b08ac57
AS
191032010-05-20 Andreas Schwab <schwab@redhat.com>
19104
19105 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
19106
4828935d
LM
191072010-05-17 Luis Machado <luisgpm@br.ibm.com>
19108
19109 POWER7 optimizations.
19110 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
19111 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
19112
373d545e
UD
191132010-05-19 Ulrich Drepper <drepper@redhat.com>
19114
19115 * version.h: Update for 2.13 development version.
19116
21a2b1ae
AS
191172010-05-12 Andrew Stubbs <ams@codesourcery.com>
19118
19119 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19120 exceptions. Return 0.
19121
3f7dcb2b
RM
191222010-05-07 Roland McGrath <roland@redhat.com>
19123
19124 * elf/ldconfig.c (main): Add a const.
19125
5f24d53a 191262010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 19127
a160f8d8
UD
19128 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19129 (args_options): Add no-idn option.
19130 (ahosts_keys_int): Add idn_flags to ai_flags.
19131 (parse_option): Handle 'i' option to clear idn_flags.
19132
5f24d53a
UD
19133 * malloc/malloc.c (_int_free): Possible race in the most recently
19134 added check. Only act on the data if no current modification
19135 happened.
265bb1ce
UD
19136
19137See ChangeLog.17 for earlier changes.